/* Shared planner components use the Carbon & Chartreuse foundation roles. */
.tz-page {
    --tz-midnight: var(--ink);
    --tz-working: var(--surface);
    --tz-outside: var(--surface-soft);
    --tz-night: var(--border);
    padding-bottom: var(--space-12);
}
:root[data-theme='dark'] .tz-page {
    --tz-midnight: var(--muted);
    --tz-working: var(--surface-soft);
    --tz-outside: var(--surface);
    --tz-night: var(--bg);
}
@media (prefers-color-scheme: dark) {
    :root:not([data-theme='light']) .tz-page {
        --tz-midnight: var(--muted);
        --tz-working: var(--surface-soft);
        --tz-outside: var(--surface);
        --tz-night: var(--bg);
    }
}
.tz-intro {
    padding-top: var(--space-12);
    margin-bottom: var(--space-6);
}
.tz-intro .eyebrow {
    margin-bottom: var(--space-3);
}
.tz-intro h1 {
    margin-bottom: var(--space-3);
}
.tz-intro > p:last-child {
    color: var(--muted);
}
.tz-planner {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    padding: var(--space-6);
}
.tz-toolbar,
.tz-date-controls,
.tz-actions,
.tz-search-row,
.tz-share-row {
    display: flex;
    gap: var(--space-2);
    align-items: center;
    flex-wrap: wrap;
}
.tz-planner-controls {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: var(--space-4);
}
.tz-toolbar {
    gap: 8px 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 16;
}
.tz-planner .btn,
.tz-options .btn {
    padding-inline: 16px;
    gap: 8px;
}
.tz-icon {
    width: 46px;
    padding-inline: 0 !important;
    flex-shrink: 0;
    font-size: 22px;
}
.tz-page input:not([type='checkbox']):not([type='radio']),
.tz-page select,
.tz-page textarea {
    border: 1px solid var(--input-border);
    border-radius: var(--control-radius);
    background: var(--bg);
    min-height: 48px;
    padding: 10px 12px;
    font-size: 0.9rem;
    max-width: 100%;
}
.tz-page input[type='date'] {
    min-width: 180px;
}
.tz-page input[type='time'],
.tz-page input[type='number'] {
    font-family: var(--font-mono);
    width: 148px;
}
.tz-page textarea {
    display: block;
    width: 100%;
}
.tz-field {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}
.tz-field label {
    font-size: 0.85rem;
}
.tz-search-row {
    flex: 1;
    min-width: 240px;
}
.tz-search {
    position: relative;
    width: 100%;
    max-width: 100%;
}
.tz-search input {
    width: 100%;
}
.tz-search-results {
    position: absolute;
    z-index: 15;
    top: calc(100% + 4px);
    left: 0;
    width: min(520px, 100% + 160px);
    max-height: 370px;
    overflow-y: auto;
    border: 1px solid var(--input-border);
    border-radius: var(--control-radius);
    background: var(--surface);
    padding: 4px;
    box-shadow: 0 6px 20px #0002;
}
.tz-search-results button {
    display: flex;
    width: 100%;
    flex-direction: column;
    text-align: left;
    padding: 12px;
    border: 0;
    border-radius: 4px;
    min-height: 48px;
}
.tz-search-results button:hover {
    background: var(--surface-soft);
}
.tz-search-results button span {
    color: var(--muted);
    font-size: 12px;
}
.tz-search-results p {
    padding: 12px;
    margin: 0;
    font-size: 0.85rem;
}
#location-count {
    flex: 1;
}
.tz-note {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
    min-width: 0;
    overflow-wrap: anywhere;
}
.tz-meeting-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
    padding-block: var(--space-4);
}
.tz-outcome {
    flex: 1;
    min-width: 200px;
}
.tz-outcome strong {
    font-size: 20px;
    letter-spacing: -0.02em;
}
.tz-outcome p {
    margin: 4px 0 0;
}
.tz-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.85rem;
}
.tz-suggestions > span {
    margin-right: 12px;
    color: var(--muted);
}
.tz-suggestions button {
    min-height: 44px;
    border-color: var(--input-border);
    border-radius: var(--control-radius);
    padding: 8px 16px;
    font-size: 0.85rem;
}
.tz-suggestions p {
    margin: 0;
    color: var(--muted);
}
.tz-notice {
    border-left: 3px solid var(--accent);
    background: var(--surface-soft);
    padding: 12px 16px;
    font-size: 0.85rem;
    white-space: pre-line;
}
.tz-text-action,
.tz-clear-selection,
.tz-time-settings > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px;
    border: 0;
    border-radius: var(--control-radius);
    background: transparent;
    color: var(--ink);
    font: 500 13px/1.4 var(--font-sans);
    min-width: 44px;
    cursor: pointer;
    white-space: nowrap;
}
.tz-text-action:hover,
.tz-clear-selection:hover,
.tz-time-settings > summary:hover {
    background: var(--surface-soft);
}
.tz-clear-selection { color: var(--muted); }
.tz-time-settings { position: relative; }
.tz-time-settings > summary::after { content: '⌄'; margin-left: 8px; }
.tz-time-settings[open] > summary::after { content: '⌃'; }
.tz-time-settings > summary::-webkit-details-marker { display: none; }
.tz-settings-panel {
    position: absolute;
    z-index: 20;
    right: 0;
    top: calc(100% + 8px);
    width: 348px;
    max-width: calc(100vw - 74px);
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--input-border);
    border-radius: var(--radius);
    box-shadow: 0 6px 20px #0002;
}
.tz-settings-panel .tz-meeting-controls { padding: 0 0 16px; gap: 12px; }
.tz-settings-panel .tz-field { flex: 1; min-width: 0; }
.tz-settings-panel input { width: 100% !important; }
.tz-settings-panel #occurrence-field { flex-basis: 100%; }
.tz-settings-panel .tz-actions { font-size: 13px; }
.tz-settings-panel p { margin-bottom: 0; }
.tz-statebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px 24px;
    min-height: 88px;
    padding-block: 12px;
}
.tz-state-context { display: grid; gap: 3px; min-width: 0; }
#browse-context { font-size: 17px; font-weight: 600; }
#selection-duration { font-size: 22px; line-height: 1.2; color: var(--accent); }
#selection-context { font-size: 13px; line-height: 1.4; }
.tz-planner:not(.has-selection) :is(#selection-duration, #selection-context) { display: none; }
.has-selection :is(#browse-context, .tz-browse-tip) { display: none; }
.tz-selection-actions { display: flex; align-items: center; gap: 4px; }
.tz-browse-tip { color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 300px; }
.tz-selection-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 12px;
    font-size: 13px;
    margin-block: 8px;
}
.tz-selection-summary p { margin: 0; font-size: 13px; }
.tz-planner:not(.has-selection) .tz-selection-summary { display: none; }
.tz-suggestions-panel { border-top: 1px solid var(--border); margin-top: 12px; }
.tz-legend {
    display: flex;
    gap: 12px 24px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 12px;
    color: var(--muted);
    padding-block: 0 12px;
}
.tz-legend > span:not(.tz-scroll-hint) {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.tz-legend > :where(span:not(.tz-scroll-hint))::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 1px solid var(--input-border);
    background: var(--tz-working);
}
.tz-legend .tz-key-outside::before {
    background: var(--tz-outside);
}
.tz-legend .tz-key-night::before {
    background: var(--tz-night);
}
.tz-legend .tz-key-now::before {
    background: color-mix(in srgb, var(--ink) 8%, transparent);
    border-color: transparent;
}
.tz-scroll-hint {
    margin-left: auto;
}
.tz-selected-instructions,
.has-selection .tz-browse-instructions {
    display: none;
}
.has-selection .tz-selected-instructions {
    display: inline;
}
.tz-timeline-scroll {
    padding-bottom: 16px;
    --tz-pinned: 232px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-color: var(--input-border) var(--surface-soft);
    scroll-padding-inline-start: var(--tz-pinned);
}
.tz-timeline-canvas {
    position: relative;
    width: max-content;
    isolation: isolate;
}
.tz-timeline {
    border-spacing: 0;
    border-collapse: separate;
    table-layout: fixed;
    width: max-content;
    margin: 0;
}
.tz-timeline th {
    box-sizing: border-box;
    position: sticky;
    left: 0;
    width: var(--tz-pinned);
    min-width: var(--tz-pinned);
    max-width: var(--tz-pinned);
    background: var(--surface);
    padding: 4px 16px 4px 4px;
    font-weight: 400;
    text-align: left;
    z-index: 8;
}
.tz-timeline tbody th,
.tz-timeline tbody td {
    height: 96px;
    border: 0;
    vertical-align: middle;
}
.tz-city-heading {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-right: 40px;
}
.tz-remove-city {
    position: absolute;
    right: 4px;
    top: 4px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: var(--control-radius);
    color: var(--muted);
    background: transparent;
    font-size: 20px;
}
.tz-remove-city:hover:not(:disabled) {
    color: var(--ink);
    background: var(--surface-soft);
}
.tz-remove-city:disabled {
    opacity: 0.35;
    cursor: default;
}
.tz-city-name {
    display: block;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tz-city-details {
    display: block;
    font-size: 12px;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tz-city-time {
    display: none;
    font-variant-numeric: tabular-nums;
    font-size: 17px;
    line-height: 1.3;
    white-space: nowrap;
    margin-top: 3px;
}
.has-selection .tz-city-time { display: block; }
.has-selection .tz-clock,
.has-selection .tz-clock-date { display: none; }
.tz-range-date {
    display: block;
    white-space: normal;
    text-wrap: balance;
}
.tz-city-time .tz-range-date {
    font: 400 12px/1.4 var(--font-sans);
    margin-top: 2px;
}
.tz-city-time small {
    font: 400 10px/1.3 var(--font-sans);
    color: var(--muted);
}
.tz-range-offset {
    display: block;
    white-space: normal;
    font: 400 10px/1.3 var(--font-mono);
    color: var(--muted);
}
.tz-clock {
    display: block;
    font-size: 18px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
    margin-top: 3px;
    white-space: nowrap;
}
.tz-clock-date {
    display: block;
    font-size: 12px;
    line-height: 1.4;
    color: var(--muted);
}
.tz-timeline td {
    padding: 0;
    position: relative;
    cursor: crosshair;
}
.tz-track {
    position: relative;
    height: 96px;
}
.tz-day-rail {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.tz-day-segment {
    box-sizing: border-box;
    position: absolute;
    top: 32px;
    height: 48px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.tz-hour {
    box-sizing: border-box;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 48px;
    border: 0;
    border-right: 1px solid var(--border);
    border-radius: 0;
    background: var(--tz-outside);
    font: 400 14px/1.3 var(--font-mono);
    padding: 0;
    user-select: none;
    cursor: crosshair;
    top: 32px;
}
.tz-hour.is-selected {
    cursor: grab;
}
.tz-hour:active {
    cursor: grabbing;
}
.tz-hour.is-working {
    background: var(--tz-working);
}
.tz-work-span {
    position: absolute;
    top: 0;
    bottom: 0;
    background: var(--tz-working);
    pointer-events: none;
}
.tz-hour > span,
.tz-hour > small {
    position: relative;
    z-index: 6;
}
.has-selection .tz-hour:not(.is-selected) > :is(span, small) {
    opacity: 0.65;
}
.has-selection .tz-hour:not(.is-selected).is-day-start > :is(span, small) {
    opacity: 1;
}
.tz-hour .tz-period {
    display: inline;
    position: static;
    font: 400 9px/1 var(--font-mono);
    margin-left: 1px;
}
.tz-hour.is-night {
    background: var(--tz-night);
}
.tz-hour.is-weekend {
    border-bottom: 2px dashed var(--input-border);
}
.tz-hour small {
    position: absolute;
    bottom: 2px;
    font: 400 9px/1.2 var(--font-sans);
}
.tz-hour:focus-visible {
    outline-offset: -3px;
}
.tz-hour.is-fragment .tz-hour-label {
    font-size: 10px;
}
.tz-hour.is-clipped > span,
.tz-hour.is-clipped > small {
    visibility: hidden;
}
.tz-hour.is-day-start::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background: var(--tz-midnight);
    border-radius: inherit;
    box-shadow: inset 2px 0 var(--surface);
}
.has-selection .tz-hour.is-day-start:not(.is-selected)::before {
    background: color-mix(in srgb, var(--tz-midnight) 75%, var(--surface));
}
.tz-hour.is-day-start {
    border-radius: var(--radius) 0 0 var(--radius);
    background: var(--tz-midnight);
    color: var(--surface);
    box-shadow: inset 2px 0 var(--surface);
    border-right: 0;
}
.tz-hour.is-day-end {
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: inset -2px 0 var(--surface);
}
.tz-hour > .tz-date-weekday {
    position: absolute;
    top: -18px;
    left: 0;
    width: 100%;
    color: var(--muted);
    font: 500 11px/16px var(--font-sans);
    text-transform: uppercase;
    white-space: nowrap;
}
.tz-hour > .tz-date-month {
    font: 500 10px/14px var(--font-sans);
    text-transform: uppercase;
}
.tz-hour > .tz-date-number {
    font: 500 18px/22px var(--font-sans);
}
.tz-preview,
.tz-selection,
.tz-dim,
.tz-now {
    box-sizing: border-box;
    position: absolute;
    top: 26px;
    bottom: 10px;
    pointer-events: none;
}
.tz-preview,
.tz-selection {
    border-radius: 8px;
}
.tz-preview {
    border: 2px solid var(--ink);
    z-index: 5;
}
.tz-preview::before {
    content: '';
    position: absolute;
    top: 8px;
    left: -2px;
    right: -2px;
    height: 26px;
    background-image: radial-gradient(circle, var(--surface) 1px, transparent 1px),
        radial-gradient(circle, var(--surface) 1px, transparent 1px);
    background-position: left top, right top;
    background-size: 2px 5px;
    background-repeat: repeat-y;
}
.tz-preview::after {
    content: '';
    position: absolute;
    inset-block: 4px;
    left: 50%;
    border-left: 1px dotted color-mix(in srgb, var(--ink) 18%, transparent);
}
.tz-preview.is-moving {
    transition: transform 120ms ease-in-out, width 120ms ease-in-out;
}
@media (prefers-reduced-motion: reduce) {
    .tz-preview.is-moving { transition: none; }
}
.tz-selection {
    border: 2px solid var(--accent);
    z-index: 4;
}
.tz-dim {
    background: color-mix(in srgb, var(--surface) 50%, transparent);
    z-index: 2;
}
.tz-now {
    top: 32px;
    bottom: 16px;
    background: color-mix(in srgb, var(--ink) 8%, transparent);
    z-index: 3;
}
.tz-edge {
    --tz-hit-half: 12px;
    --tz-edge-shift: max(0px, calc(var(--tz-hit-half) - var(--tz-edge-offset, 0px)));
    position: absolute;
    top: 20px;
    height: 40px;
    width: 24px;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 3px;
    cursor: ew-resize;
    z-index: 6;
    transform: translateX(calc(-50% + var(--tz-edge-shift)));
    touch-action: none;
}
.tz-edge::after {
    content: '';
    position: absolute;
    top: 16px;
    height: 26px;
    left: calc(12px - var(--tz-edge-shift));
    width: 2px;
    background: radial-gradient(circle, var(--surface) 1px, transparent 1px) center top / 2px 5px repeat-y;
}
.tz-edge[data-edge='end']::after {
    margin-left: -2px;
}
.tz-edge:focus-visible {
    outline-offset: 0;
}
.tz-hover {
    min-height: 44px;
    margin: 8px 0;
    font-size: 12px;
    overflow-wrap: anywhere;
}
.tz-hover:empty::before {
    content: 'All rows show the same moment. Hover or focus an hour to compare local times.';
}
.has-selection .tz-hover:empty::before {
    content: 'Click another hour to start a fresh selection. Drag inside the range to move it, or its edges to resize.';
}
.tz-timeline-navigation,
.tz-location-undo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}
.tz-location-undo {
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--surface-soft);
    font-size: 0.85rem;
}
.tz-location-undo > span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.tz-location-undo > button {
    flex-shrink: 0;
}
.tz-help > summary {
    cursor: pointer;
    min-height: 44px;
    padding-block: 10px;
    font-size: 0.85rem;
    color: var(--muted);
}
.tz-help p:last-child {
    font-size: 0.85rem;
    color: var(--muted);
}
.tz-instructions {
    margin-bottom: 4px;
}
.tz-touch-instructions {
    display: none;
}
.tz-share-row {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    gap: 12px;
}
.tz-meeting-summary {
    flex: 1;
    min-width: 250px;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}
.tz-meeting-summary p {
    margin: 4px 0 0;
}
.tz-status {
    margin: 12px 0 0;
    min-height: 0;
    overflow-wrap: anywhere;
}
.tz-status:empty {
    display: none;
}
.tz-mobile-summary {
    display: none;
}
.tz-options {
    margin-top: 24px;
}
.tz-options details {
    border-bottom: 1px solid var(--border);
    padding-block: 8px;
}
.tz-options summary {
    min-height: 44px;
    padding-block: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}
.tz-options details[open] > summary {
    margin-bottom: 12px;
}
.tz-options h2 {
    font-size: 22px;
    margin-top: 20px;
}
.tz-detail-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.tz-options .tz-actions {
    margin-bottom: 16px;
}
.tz-event {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.tz-event pre {
    white-space: pre-wrap;
    font: 14px/1.8 var(--font-mono);
}
.tz-faq {
    max-width: var(--content-narrow);
    padding-top: 48px;
}
.tz-faq article {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    margin-top: 20px;
}
.tz-faq h3 {
    font-size: 20px;
    line-height: 1.3;
}
.tz-faq p {
    color: var(--muted);
}
.tz-fallback {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.tz-fallback table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.tz-fallback th,
.tz-fallback td {
    padding: 12px;
    border-bottom: 1px solid var(--border);
}
.tz-fallback caption {
    text-align: left;
    font-weight: 600;
    margin-bottom: 12px;
}
@media (max-width: 900px) {
    .tz-toolbar {
        gap: 16px;
    }
    .tz-meeting-controls #find-times {
        width: 100%;
    }
}
@media (max-width: 700px) {
    .tz-planner-controls {
        display: block;
    }
    .tz-toolbar { gap: 4px 8px; padding-bottom: 8px; }
    .tz-toolbar .tz-search-row { flex-basis: 100%; padding-bottom: 8px; }
    .tz-toolbar .tz-date-controls { margin-bottom: 0; }
    .tz-time-settings { margin-left: auto; }
    .tz-statebar {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(72px, auto) 44px;
        min-height: 140px;
        gap: 0;
    }
    .tz-state-context { align-content: center; }
    #selection-duration { font-size: 20px; }
    #selection-context { font-size: 12px; }
    .tz-selection-actions { justify-content: space-between; gap: 0; }
    .tz-selection-actions > button { padding-inline: 5px; font-size: 12px; }
    .tz-browse-tip { font-size: 12px; max-width: none; }
    .tz-intro {
        padding-top: 24px;
        margin-bottom: 16px;
    }
    .tz-intro > p:last-child {
        font-size: 14.4px;
        line-height: 1.5;
    }
    .tz-intro h1 {
        font-size: 40px;
    }
    .tz-planner {
        padding: 16px;
    }
    .tz-date-controls {
        width: 100%;
        gap: 6px;
    }
    .tz-page input[type='date'] {
        flex: 1;
        width: 150px;
        min-width: 130px;
        font-size: 14px;
    }
    .tz-date-controls .tz-icon {
        width: 44px;
    }
    .tz-toolbar > .tz-actions {
        gap: 6px;
    }
    .tz-toolbar .btn,
    .tz-toolbar select {
        font-size: 12px;
        padding-inline: 10px;
    }
    /* Avoid iOS focus zoom while preserving larger user text settings. */
    .tz-page input:not([type='checkbox']):not([type='radio']),
    .tz-page select,
    .tz-page textarea {
        font-size: max(1rem, 16px);
    }
    .tz-search {
        width: 100%;
    }
    .tz-search-results {
        width: 100%;
    }
    .tz-search-row {
        gap: 8px;
    }
    #location-count {
        flex-basis: 100%;
        order: 5;
    }
    .tz-meeting-controls {
        gap: 12px;
    }
    .tz-meeting-controls > .tz-field {
        flex: 1;
        min-width: 148px;
    }
    .tz-meeting-controls input {
        width: 100% !important;
    }
    .tz-outcome {
        flex-basis: 100%;
    }
    .tz-legend {
        gap: 12px;
    }
    .tz-scroll-hint {
        margin-left: 0;
    }
    .tz-mobile-summary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px 8px;
        padding-block: 12px 20px;
    }
    .tz-mobile-summary div {
        border-left: 2px solid var(--border);
        padding-left: 8px;
    }
    .tz-mobile-summary strong {
        display: block;
        font-size: 13px;
    }
    .tz-mobile-summary span {
        display: block;
        font: 12px/1.6 var(--font-mono);
    }
    .tz-mobile-summary small {
        display: block;
        font-size: 11px;
        color: var(--muted);
    }
    .tz-timeline-scroll {
        --tz-pinned: 128px;
    }
    .tz-timeline tbody th {
        padding-right: 8px;
    }
    .tz-city-heading {
        min-height: 34px;
        gap: 4px;
        padding-right: 36px;
        flex-wrap: wrap;
    }
    .tz-city-name {
        font-size: 14.4px;
        white-space: normal;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
    .tz-city-time {
        font-size: 11px;
        white-space: normal;
    }
    .tz-city-details {
        display: none;
    }
    .tz-clock { font-size: 17px; }
    .tz-clock-date { font-size: 12px; }

    .tz-share-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .tz-meeting-summary {
        grid-column: 1 / -1;
        min-width: 0;
        margin-bottom: 8px;
    }
    .tz-share-row .btn {
        padding-inline: 8px;
        font-size: 13px;
    }
    .tz-detail-fields {
        grid-template-columns: 1fr;
    }
    .tz-faq {
        padding-top: 32px;
    }
    .tz-faq h2 {
        font-size: 29px;
    }
    .tz-fallback {
        padding: 16px;
    }
}
@media print {
    .tz-toolbar,
    .tz-search-row,
    .tz-meeting-controls,
    .tz-suggestions,
    .tz-legend,
    .tz-timeline-scroll,
    .tz-hover,
    .tz-instructions,
    .tz-share-row,
    .tz-options,
    .tz-status {
        display: none;
    }
    .tz-mobile-summary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .tz-mobile-summary span,
    .tz-mobile-summary small {
        display: block;
    }
    .tz-planner {
        break-inside: avoid;
    }
}
.tz-timeline-toggle {
    display: none;
}
@media (max-width: 700px) {
    .tz-intro h1 {
        font-size: 34.4px;
        line-height: 1.13;
    }
    .tz-mobile-summary {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .tz-mobile-summary .tz-local-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(118px, 0.85fr);
        gap: 12px;
        padding: 12px 0;
        border: 0;
        border-top: 1px solid var(--border);
    }
    .tz-mobile-summary .tz-local-row > div {
        border: 0;
        padding: 0;
    }
    .tz-mobile-summary strong {
        font-size: 14.4px;
    }
    .tz-mobile-summary span {
        font-size: 13px;
    }
    .tz-mobile-summary small {
        font-size: 12px;
    }
    .tz-timeline-toggle {
        display: flex;
        width: 100%;
        margin-bottom: 16px;
    }
    .tz-planner:not(.is-timeline-open) .tz-timeline-scroll,
    .tz-planner:not(.is-timeline-open) .tz-timeline-navigation,
    .tz-planner:not(.is-timeline-open) .tz-legend,
    .tz-planner:not(.is-timeline-open) .tz-hover,
    .tz-planner:not(.is-timeline-open) .tz-instructions {
        display: none;
    }
}
.tz-page input[type='search'] {
    box-sizing: border-box;
}
.tz-icon {
    line-height: 1;
    height: 48px;
}


@media (max-width: 700px) {
    .tz-planner.is-timeline-open .tz-mobile-summary {
        display: none;
    }
    .tz-city-time {
        font-size: 13px;
    }
    .tz-timeline-navigation {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 4px;
    }
    .tz-timeline-navigation .btn {
        min-height: 44px;
        padding: 8px 6px;
        font-size: 11px;
    }
    .tz-hover {
        min-height: 60px;
    }
    .tz-legend {
        font-size: 11px;
    }
    .tz-legend > span:not(.tz-scroll-hint) {
        gap: 5px;
    }
}

.tz-location-search {
    margin-bottom: 12px;
}
.tz-location-search > summary {
    display: list-item;
    cursor: pointer;
    width: fit-content;
    min-height: 44px;
    padding-block: 10px;
    font-size: 14px;
}
.tz-location-search .tz-search-row {
    padding-top: 0;
    border: 0;
}
.tz-find-times {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 20px;
}
.tz-find-times > button {
    flex-shrink: 0;
}
.tz-find-times .tz-suggestions {
    margin: 0;
}
@media (max-width: 700px) {
    .tz-toolbar {
        gap: 8px;
    }
    .tz-toolbar > .tz-actions {
        width: 100%;
    }
    .tz-toolbar > .tz-actions > * {
        flex: 1;
    }
    .tz-location-search {
        border-block: 1px solid var(--border);
        margin-top: 12px;
    }
    .tz-location-search > summary {
        display: list-item;
        cursor: pointer;
        min-height: 44px;
        padding-block: 10px;
        font-size: 14px;
    }
    .tz-location-search .tz-search-row {
        padding-top: 0;
        border: 0;
    }
    .tz-legend {
        gap: 8px 12px;
        padding-top: 0;
    }
    .tz-legend #selected-label {
        display: none;
    }
    .tz-scroll-hint {
        flex-basis: 100%;
    }
    .tz-timeline-toggle {
        min-height: 36px;
        margin-bottom: 12px;
        padding-block: 6px;
        font-size: 12px;
    }
    .tz-find-times {
        display: block;
    }
    .tz-find-times > button {
        width: 100%;
        margin-bottom: 12px;
    }
}

.tz-working-description {
    margin: 0;
}
@media (max-width: 700px) {
    .tz-meeting-controls {
        padding-block: 12px;
    }
    .tz-outcome strong {
        font-size: 16px;
    }
}

/* Separate the hit targets when a short interval is narrower than two handles. */
.is-short-selection .tz-edge {
    height: 24px;
}
.is-short-selection .tz-edge[data-edge='end'] {
    top: 44px;
}
.is-short-selection .tz-edge::after {
    top: 4px;
    height: 16px;
}

@media (pointer: coarse) {
    .tz-hover:empty {
        display: none;
    }
    .tz-pointer-instructions {
        display: none;
    }
    .tz-touch-instructions {
        display: inline;
    }
    .tz-edge,
    .is-short-selection .tz-edge {
        --tz-hit-half: 22px;
        width: 44px;
        height: 44px;
    }
    .tz-edge::after,
    .is-short-selection .tz-edge::after {
        left: calc(22px - var(--tz-edge-shift));
        top: 16px;
        height: 26px;
    }
    .is-touch-short .tz-edge[data-edge='end'] {
        top: 64px;
    }
}

@media print {
    .tz-timeline-navigation,
    .tz-location-search,
    .tz-location-undo,
    .tz-help,
    .tz-find-times,
    .tz-timeline-toggle {
        display: none !important;
    }
    .tz-planner.is-timeline-open .tz-mobile-summary {
        display: grid;
    }
}
