.tz-page { min-height: 100vh; background: var(--bg, #f4f7fb); color: var(--text, #18212f); }
.tz-topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid rgba(39,56,82,.10); background: rgba(255,255,255,.92); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 30; }
.tz-top-actions { display:flex; align-items:center; gap:10px; }
.tz-layout { display:grid; grid-template-columns: 240px minmax(0,1fr); min-height: calc(100vh - 72px); }
.tz-sidebar { position: sticky; top:72px; height: calc(100vh - 72px); overflow:auto; }
.tz-main { width:min(1180px,100%); margin:0 auto; padding:38px 34px 110px; }
.tz-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; margin-bottom:24px; }
.tz-heading h1 { margin:4px 0 8px; font-size:clamp(28px,3vw,42px); letter-spacing:-.03em; }
.tz-heading > div > p:last-child { max-width:760px; margin:0; color:#69778c; line-height:1.65; }
.tz-live-pill { display:inline-flex; align-items:center; gap:7px; padding:8px 12px; border-radius:999px; background:#eef9f3; color:#1c7b4a; font-weight:700; font-size:13px; }
.tz-live-pill span { width:7px; height:7px; border-radius:50%; background:#24a865; box-shadow:0 0 0 5px rgba(36,168,101,.12); }
.tz-converter-card,.tz-result-card,.tz-popular,.tz-notes { background:rgba(255,255,255,.95); border:1px solid rgba(39,56,82,.09); border-radius:24px; box-shadow:0 18px 50px rgba(33,52,84,.07); }
.tz-converter-card { padding:28px; }
.tz-card-header,.tz-section-heading,.tz-result-topline { display:flex; justify-content:space-between; align-items:flex-start; gap:18px; }
.tz-card-header h2,.tz-result-topline h2,.tz-section-heading h2 { margin:4px 0 0; font-size:24px; letter-spacing:-.02em; }
.tz-header-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:flex-end; }
.swap-button { border:0; min-height:44px; padding:0 16px; border-radius:13px; background:#182b4f; color:#fff; font-weight:800; cursor:pointer; box-shadow:0 8px 24px rgba(24,43,79,.18); }
.swap-button:hover { transform:translateY(-1px); }
.tz-panels { display:grid; grid-template-columns:minmax(0,1fr) 58px minmax(0,1fr); align-items:center; gap:12px; margin-top:24px; }
.tz-zone-panel { min-width:0; }
.tz-panel-label { display:flex; align-items:center; gap:9px; font-size:12px; letter-spacing:.13em; font-weight:900; color:#78879c; margin-bottom:10px; }
.step-dot { width:24px; height:24px; display:grid; place-items:center; border-radius:50%; background:#edf2f8; color:#27426d; letter-spacing:0; }
.tz-picker { position:relative; }
.tz-picker-search { display:flex; align-items:center; gap:10px; padding:0 14px; height:46px; border:1px solid rgba(39,56,82,.12); border-radius:13px 13px 0 0; background:#fbfcfe; color:#7a8798; }
.tz-picker-search input { width:100%; border:0; outline:0; background:transparent; color:inherit; font:inherit; }
.tz-selected { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:78px; padding:15px 16px; border:1px solid rgba(39,56,82,.12); border-top:0; background:#fff; cursor:pointer; }
.tz-selected-main { display:flex; flex-direction:column; gap:5px; min-width:0; }
.tz-selected-main strong { font-size:20px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tz-selected-main span { color:#728198; font-size:13px; }
.chevron { color:#78879c; font-size:18px; }
.tz-zone-code { padding:9px 16px 11px; border:1px solid rgba(39,56,82,.12); border-top:0; border-radius:0 0 13px 13px; color:#68758a; font:600 12px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; background:#fafbfd; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tz-option-list { position:absolute; left:0; right:0; top:calc(100% + 8px); max-height:390px; overflow:auto; display:none; padding:7px; background:#fff; border:1px solid rgba(39,56,82,.10); border-radius:16px; box-shadow:0 18px 42px rgba(22,36,58,.16); z-index:50; }
.tz-option-list.is-open { display:block; }
.tz-option { width:100%; display:flex; align-items:center; justify-content:space-between; gap:14px; text-align:left; padding:11px 12px; background:#fff; border:0; border-radius:11px; cursor:pointer; }
.tz-option:hover,.tz-option.is-selected { background:#f0f5fb; }
.tz-option-main { display:flex; flex-direction:column; gap:3px; min-width:0; }
.tz-option-main strong { font-size:14px; color:#23324a; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.tz-option-main small { color:#76849a; font-size:12px; }
.tz-option-main em { font-style:normal; font-size:10px; padding:2px 6px; border-radius:999px; background:#eef3f9; color:#526783; }
.tz-option-zone { flex:none; font:600 10px ui-monospace,SFMono-Regular,Menlo,monospace; color:#7e8ca0; }
.tz-no-results { padding:22px 14px; text-align:center; color:#77869a; font-size:13px; }
.tz-bridge { display:grid; place-items:center; gap:8px; }
.tz-bridge-line { width:1px; height:58px; background:linear-gradient(to bottom,transparent,#d5deea,transparent); }
.tz-bridge-icon { width:46px; height:46px; display:grid; place-items:center; border-radius:15px; background:#eef4fb; color:#234b7f; font-size:22px; font-weight:800; box-shadow:inset 0 0 0 1px rgba(39,86,143,.08); }
.tz-date-bar { display:grid; grid-template-columns:200px 200px 1fr; gap:14px; margin-top:22px; padding:16px; border-radius:17px; background:#f6f8fb; border:1px solid rgba(39,56,82,.07); }
.tz-date-bar label { display:flex; flex-direction:column; gap:7px; font-size:12px; font-weight:800; color:#718095; }
.tz-date-bar input { height:44px; border:1px solid rgba(39,56,82,.12); border-radius:11px; padding:0 12px; background:#fff; color:#1f2b40; font:600 14px inherit; }
.input-hint { display:flex; align-items:flex-end; height:100%; padding:0 4px 5px; color:#78869a; font-size:12px; line-height:1.5; }
.tz-result-card { margin-top:20px; padding:30px; background:linear-gradient(180deg,#fff,#f8fbff); }
.tz-result-direction { padding:8px 11px; border-radius:999px; background:#eef4fb; color:#45617f; font-size:12px; font-weight:800; }
.tz-result-time-wrap { display:flex; justify-content:center; align-items:baseline; gap:10px; margin-top:18px; }
.tz-result-time { font-size:clamp(50px,7vw,92px); line-height:1; font-weight:900; letter-spacing:-.055em; color:#192841; }
.tz-result-period { font-size:20px; font-weight:900; color:#38516f; }
.tz-result-date { text-align:center; margin-top:11px; color:#6f7e94; font-size:14px; font-weight:700; }
.tz-difference { width:fit-content; margin:18px auto 24px; padding:10px 14px; border-radius:12px; background:#e9f6ff; color:#145b89; font-weight:800; font-size:13px; }
.tz-compare-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.tz-compare-panel { padding:18px; border-radius:18px; border:1px solid rgba(39,56,82,.09); background:#fff; }
.tz-compare-panel.is-accent { border-color:rgba(53,105,181,.18); background:#f6f9fd; }
.tz-compare-heading { display:flex; justify-content:space-between; gap:12px; align-items:center; margin-bottom:13px; }
.tz-compare-heading span { color:#7a889c; font-size:11px; font-weight:900; letter-spacing:.12em; }
.tz-compare-heading strong { font-size:16px; color:#28364b; }
.tz-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.tz-stat-grid > div { padding:12px; border-radius:13px; background:#f6f8fb; }
.tz-stat-grid span { display:block; color:#8591a2; font-size:11px; margin-bottom:5px; }
.tz-stat-grid strong { display:block; color:#2e3d55; font-size:12px; word-break:break-word; }
.tz-stat-grid strong.is-dst { color:#ae6b1f; }
.tz-popular { margin-top:20px; padding:26px; }
.tz-section-heading > span { color:#7b899c; font-size:12px; padding-top:8px; }
.tz-popular-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:11px; margin-top:18px; }
.tz-popular-item { text-align:left; padding:15px; border:1px solid rgba(39,56,82,.08); border-radius:15px; background:#fff; cursor:pointer; transition:.16s ease; }
.tz-popular-item:hover { transform:translateY(-2px); border-color:rgba(53,105,181,.22); box-shadow:0 10px 24px rgba(35,56,86,.08); }
.tz-popular-city { display:block; font-weight:900; color:#26354c; }
.tz-popular-meta { display:block; margin-top:6px; color:#78869a; font-size:11px; line-height:1.45; }
.tz-notes { display:flex; gap:12px; align-items:flex-start; margin-top:20px; padding:15px 17px; background:#fbfcfe; box-shadow:none; }
.tz-note-icon { width:22px; height:22px; display:grid; place-items:center; flex:none; border-radius:50%; background:#eef4fb; color:#40658b; font-size:12px; font-weight:900; }
.tz-notes p { margin:0; color:#758398; font-size:12px; line-height:1.65; }
.tz-mobile-nav { z-index:60; }

@media (max-width: 1050px) {
  .tz-layout { grid-template-columns:1fr; }
  .tz-sidebar { display:none; }
  .tz-main { padding:28px 20px 100px; }
  .tz-mobile-nav { display:flex; }
  .tz-popular-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 760px) {
  .tz-topbar { height:64px; padding:0 14px; }
  .tz-layout { min-height:calc(100vh - 64px); }
  .tz-heading,.tz-card-header,.tz-section-heading,.tz-result-topline { flex-direction:column; }
  .tz-heading { gap:10px; }
  .tz-header-actions { width:100%; justify-content:flex-start; }
  .tz-panels { grid-template-columns:1fr; }
  .tz-bridge { grid-template-columns:1fr auto 1fr; gap:10px; }
  .tz-bridge-line { width:100%; height:1px; }
  .tz-date-bar { grid-template-columns:1fr 1fr; }
  .tz-date-actions { grid-column:1 / -1; }
  .input-hint { align-items:center; padding:4px; }
  .tz-compare-grid { grid-template-columns:1fr; }
  .tz-stat-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 520px) {
  .tz-main { padding:20px 12px 96px; }
  .tz-converter-card,.tz-result-card,.tz-popular { padding:18px; border-radius:18px; }
  .tz-date-bar { grid-template-columns:1fr; }
  .tz-date-actions { grid-column:auto; }
  .tz-popular-grid { grid-template-columns:1fr; }
  .tz-result-time { font-size:54px; }
  .tz-result-period { font-size:16px; }
  .tz-stat-grid { grid-template-columns:1fr; }
}

.tz-multi-compare { margin-top:22px; padding:22px; border-radius:20px; background:linear-gradient(180deg,#f8fbff,#f3f7fc); border:1px solid rgba(39,56,82,.08); }
.tz-multi-compare-head { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; }
.tz-multi-compare-head h3 { margin:4px 0 5px; font-size:22px; letter-spacing:-.02em; }
.tz-compare-help { margin:0; color:#738197; font-size:12px; line-height:1.55; max-width:720px; }
.tz-compare-count { display:inline-flex; flex:none; padding:8px 11px; border-radius:999px; background:#e9f2fb; color:#31567f; font-size:12px; font-weight:900; }
.tz-compare-picker { position:relative; margin-top:16px; }
.tz-compare-picker .tz-picker-search { border-radius:13px; background:#fff; }
.tz-compare-selected { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; min-height:34px; }
.tz-compare-chip { display:inline-flex; align-items:center; gap:8px; padding:8px 10px 8px 12px; border:1px solid rgba(53,105,181,.14); border-radius:999px; background:#fff; color:#2d4868; font-size:12px; font-weight:800; cursor:pointer; }
.tz-compare-chip:hover { background:#eef5fd; }
.tz-compare-chip strong { color:#7a879a; font-size:15px; line-height:1; }
.tz-compare-table-wrap { margin-top:14px; overflow:auto; border:1px solid rgba(39,56,82,.08); border-radius:16px; background:#fff; }
.tz-compare-table { width:100%; min-width:760px; border-collapse:collapse; }
.tz-compare-table th,.tz-compare-table td { padding:12px 14px; text-align:left; border-bottom:1px solid rgba(39,56,82,.07); vertical-align:middle; }
.tz-compare-table th { background:#f7f9fc; color:#77859a; font-size:10px; text-transform:uppercase; letter-spacing:.08em; font-weight:900; white-space:nowrap; }
.tz-compare-table td { color:#36475f; font-size:12px; }
.tz-compare-table tbody tr:last-child td { border-bottom:0; }
.tz-compare-table td:first-child { min-width:170px; }
.tz-compare-table td:first-child strong,.tz-compare-table td:first-child span,.tz-compare-table td:nth-child(2) strong,.tz-compare-table td:nth-child(2) span { display:block; }
.tz-compare-table td:first-child strong { color:#26384f; font-size:13px; }
.tz-compare-table td:first-child span { margin-top:3px; color:#8792a2; font-size:11px; }
.tz-compare-rollover { margin-top:3px; color:#af6d28; font-size:10px; font-weight:800; }
.tz-base-badge { display:inline-flex; padding:5px 8px; border-radius:999px; background:#eaf6ee; color:#2d7b4c; font-size:10px; font-weight:900; }
.tz-day-state,.tz-dst-state { display:inline-flex; padding:5px 8px; border-radius:999px; background:#f0f4f8; color:#5b6a7f; font-size:10px; font-weight:900; }
.tz-dst-state.is-dst { background:#fff3df; color:#ae6b1f; }
@media (max-width: 760px) {
  .tz-multi-compare-head { flex-direction:column; }
  .tz-compare-count { align-self:flex-start; }
}


/* Compare Local Time — dedicated layout */
.tz-multi-compare-primary { margin-top:0; padding:28px; }
.tz-compare-base-grid { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr); gap:14px; margin-top:18px; }
.tz-compare-base-panel,.tz-compare-date-panel { padding:16px; border:1px solid rgba(39,56,82,.08); border-radius:16px; background:#fff; }
.tz-compare-date-panel { display:flex; flex-direction:column; justify-content:space-between; gap:12px; }
.tz-date-bar-inline { margin-top:0; padding:0; background:transparent; border:0; grid-template-columns:1fr 1fr; }
.tz-date-bar-inline input { width:100%; box-sizing:border-box; }
.tz-now-button { align-self:flex-start; }
.tz-timezone-cell { font:600 11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace; color:#586b84; white-space:nowrap; }
.tz-compare-table { min-width:900px; }
@media (max-width:760px) {
  .tz-compare-base-grid { grid-template-columns:1fr; }
  .tz-date-bar-inline { grid-template-columns:1fr 1fr; }
}
@media (max-width:520px) {
  .tz-multi-compare-primary { padding:18px; }
  .tz-date-bar-inline { grid-template-columns:1fr; }
}


/* Unified 602-location picker */
.tz-unified-option { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 11px; border-radius:11px; background:#fff; }
.tz-unified-option:hover,.tz-unified-option.is-base { background:#f0f5fb; }
.tz-unified-option-info { min-width:0; flex:1; display:flex; align-items:center; justify-content:space-between; gap:14px; }
.tz-unified-option-actions { display:flex; align-items:center; gap:6px; flex:none; }
.tz-option-action { min-height:30px; border:1px solid rgba(39,56,82,.10); border-radius:9px; background:#fff; color:#49627f; font-size:10px; font-weight:900; cursor:pointer; padding:0 8px; }
.tz-option-action:hover { background:#eef5fd; border-color:rgba(53,105,181,.22); }
.tz-option-action:disabled { cursor:default; opacity:1; background:#eaf6ee; border-color:rgba(45,123,76,.12); color:#2d7b4c; }
.tz-option-action-add { width:30px; padding:0; font-size:16px; line-height:1; }
.tz-day-state.state-day { background:#fff3d9; color:#9b6714; }
.tz-day-state.state-twilight { background:#ecebff; color:#615b9a; }
.tz-day-state.state-night { background:#e9edf4; color:#56647a; }
