/* Feature pages: time zones now, event links, countdown creator, widgets. Uses the theme tokens only. */
.ft { max-width: 1100px; }
.ft-hero { padding: 20px 0 8px; }
.ft-hero h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.02; margin: 0 0 8px; }
.ft-hero p { font-size: 18px; color: var(--ink-soft); margin: 0; max-width: 62ch; }
.ft-now { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 28px; margin: 22px 0 6px; }
.ft-time { font-size: clamp(64px, 15vw, 176px); font-weight: 800; line-height: 0.88; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ft-time small { font-size: 0.24em; letter-spacing: 0; margin-left: 0.3em; font-weight: 700; }
.ft-time .sec { color: var(--accent); }
.ft-bar { height: 10px; width: min(240px, 40%); background: var(--accent); margin: 22px 0 16px; }
.ft-state { font-size: 20px; font-weight: 600; margin: 0; }
.ft-sub { font-size: 17px; color: var(--ink-soft); margin: 6px 0 0; }
.ft-sec { border-top: 6px solid var(--ink); margin-top: 40px; padding-top: 20px; }
.ft-sec h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.08; margin: 0 0 12px; }
.ft-sec h3 { font-size: 19px; margin: 20px 0 6px; }
.ft-sec p, .ft-sec li { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: 72ch; }
.ft-sec ul { padding-left: 20px; margin: 8px 0; }
.ft-sec a, .ft-hero a { color: var(--accent-deep); }
.ft-src li { font-size: 15px; }
.ft-facts { width: 100%; border-collapse: collapse; margin: 6px 0; }
.ft-facts th, .ft-facts td { text-align: left; vertical-align: top; padding: 12px 14px 12px 0; border-bottom: 2px solid var(--ink); font-size: 17px; line-height: 1.5; }
.ft-facts th { width: 30%; font-weight: 700; color: var(--ink); }
.ft-facts td { color: var(--ink-soft); }
.ft-scroll { overflow-x: auto; }
.ft-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.ft-table th, .ft-table td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.45; vertical-align: top; }
.ft-table thead th { border-bottom: 3px solid var(--ink); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.ft-table td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.ft-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 40px; list-style: none; padding: 0 !important; margin: 0; }
.ft-links li { border-bottom: 2px solid var(--ink); max-width: none; }
.ft-links a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; font-weight: 700; font-size: 18px; color: var(--ink) !important; text-decoration: none; min-height: 44px; align-items: center; }
.ft-links a:hover { color: var(--accent) !important; }
.ft-links a span { font-weight: 500; color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ft-zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 28px; margin-top: 18px; }
.ft-zones a { display: block; border-top: 6px solid var(--ink); padding: 12px 0 18px; text-decoration: none; color: var(--ink) !important; }
.ft-zones a b { display: block; font-size: 15px; }
.ft-zones a span { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ft-zones a i { font-style: normal; font-size: 14px; color: var(--ink-soft); }
.ft-map { background: #ffffff; border: 2px solid var(--ink); padding: 12px; margin-top: 8px; }
.ft-map svg { display: block; width: 100%; height: auto; }
.ft-map path { stroke: #ffffff; stroke-width: 1.2; }
.ft-map path.lt { stroke: #111111; stroke-width: 1; }
.ft-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0 !important; margin: 12px 0 0; }
.ft-legend li { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--ink); }
.ft-legend i { width: 22px; height: 16px; display: inline-block; border: 1px solid #111111; }
.ft-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 20px; max-width: 860px; }
.ft-form .wide { grid-column: 1 / -1; }
.ft-form label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.ft-form input, .ft-form select, .ft-form textarea { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 17px; }
.ft-form textarea { min-height: 120px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.45; }
.ft-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.ft-row .btn { min-height: 48px; }
.ft-out { margin-top: 18px; max-width: 860px; }
.ft-out input { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 16px; }
.ft-msg { font-size: 16px; font-weight: 600; color: var(--accent-deep); min-height: 24px; margin: 10px 0 0; }
.ft-count { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 20px 0 8px; }
.ft-count div { border-top: 6px solid var(--ink); padding-top: 10px; min-width: 2.6ch; flex: 0 1 auto; }
.ft-count b { display: block; font-size: clamp(40px, 10vw, 120px); min-width: 1.25em; font-weight: 800; line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.ft-count div:last-child b { color: var(--accent); }
.ft-count span { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.ft-preview { border: 2px solid var(--ink); padding: 16px; margin-top: 14px; background: var(--bg-elev); overflow-x: auto; }
.ft-preview iframe { display: block; border: 0; max-width: 100%; background: transparent; }
.ft-tabs { display: flex; flex-wrap: wrap; gap: 0; margin: 14px 0 20px; border-bottom: 3px solid var(--ink); }
.ft-tabs button { font: inherit; font-weight: 700; font-size: 17px; padding: 12px 20px; min-height: 48px; background: none; border: none; border-bottom: 5px solid transparent; margin-bottom: -4px; color: var(--ink); cursor: pointer; }
.ft-tabs button[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
[hidden] { display: none !important; }
@media (max-width: 640px) {
  .ft-time { font-size: clamp(72px, 24vw, 150px); }
  .ft-facts th, .ft-facts td { display: block; width: auto; padding: 8px 0; }
  .ft-facts th { border-bottom: none; padding-bottom: 0; }
  .ft-count { gap: 12px 16px; }
  .ft-sec { margin-top: 32px; }
}

/* holiday countdown pages */
.ft-stats { display: flex; flex-wrap: wrap; gap: 6px 26px; list-style: none; padding: 0 !important; margin: 14px 0 6px; }
.ft-stats li { font-size: 16px; color: var(--ink-soft); }
.ft-stats b { font-size: 20px; color: var(--ink); font-variant-numeric: tabular-nums; }
.ft-sec h3 + .ft-scroll { margin-bottom: 18px; }
.ft-cols5 { table-layout: fixed; min-width: 640px; }
.ft-cols5 th:nth-child(1) { width: 15%; } .ft-cols5 th:nth-child(2) { width: 14%; } .ft-cols5 th:nth-child(3) { width: 27%; } .ft-cols5 th:nth-child(4) { width: 14%; }
.ft-cols5 td:first-child { white-space: normal; }
.ft-zones a span:empty::before { content: '\2013'; }

/* calendar pages */
.cal { width: 100%; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.cal th { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 4px; border-bottom: 3px solid var(--ink); text-align: left; color: var(--ink); }
.cal th.wk { width: 44px; color: var(--ink-muted); font-weight: 600; }
.cal tbody th.wk { border-bottom: 1px solid var(--line); border-right: 2px solid var(--ink); font-size: 14px; text-transform: none; letter-spacing: 0; vertical-align: top; }
.cal td { border: 1px solid var(--line); vertical-align: top; padding: 6px 8px; color: var(--ink); }
.cal td b { font-weight: 800; }
.cal td.we { background: var(--bg-elev); }
.cal td.out { background: none; border-color: var(--line-soft); }
.cal td.fed b, .cal td.fed .ev { color: var(--accent-deep); }
.cal td.today { outline: 3px solid var(--accent); outline-offset: -3px; }
.cal-big td { height: 104px; }
.cal-big td b { font-size: 22px; display: block; line-height: 1.1; }
.cal-big .ev { display: block; font-size: 12.5px; line-height: 1.25; margin-top: 4px; font-weight: 600; color: var(--ink-soft); overflow-wrap: anywhere; }
.cal-mini th { font-size: 11px; padding: 4px 2px; border-bottom-width: 2px; }
.cal-mini th.wk { width: 28px; }
.cal-mini tbody th.wk { font-size: 11px; border-right-width: 1px; }
.cal-mini td { padding: 5px 2px; text-align: center; font-size: 15px; border-color: var(--line-soft); }
.cal-mini td b { font-weight: 600; }
.cal-mini td.hol b { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.cal-mini td.fed b { font-weight: 800; }
.cal-year { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 30px 36px; margin-top: 8px; }
.cal-year h3 { margin: 0 0 6px; font-size: 20px; border-top: 6px solid var(--ink); padding-top: 10px; }
.cal-year h3 a { color: var(--ink) !important; text-decoration: none; }
.cal-year h3 a:hover { color: var(--accent) !important; }
.cal-tools { margin: 14px 0 10px; }
.cal-tools span { font-weight: 700; }
.cal-tools .btn { min-height: 44px; padding: 8px 16px; }
.cal-tools .btn[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.cal-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 16px 0 0; font-weight: 700; }
.cal-nav a { color: var(--accent-deep); min-height: 44px; display: inline-flex; align-items: center; }
.cal-key { font-size: 14px !important; margin-top: 8px !important; }
@media (max-width: 640px) {
  .cal-big td { height: 64px; padding: 4px 3px; }
  .cal-big td b { font-size: 17px; }
  .cal-big .ev { display: none; }
  .cal-big td.hol b::after, .cal-big td.fed b::after { content: ""; display: block; margin-top: 4px; height: 6px; width: 6px; border-radius: 50% !important; background: var(--ink-soft); }
  .cal-big td.fed b::after { background: var(--accent); }
  .cal th.wk { width: 26px; } .cal th { font-size: 11px; padding: 6px 2px; }
}
@media print {
  .topbar, footer, .mobile-tools-nav, .cal-tools, .cal-nav, .ft-sec, .ft-hero p, .install-prompt { display: none !important; }
  main { padding: 0 !important; } .container { max-width: none !important; padding: 0 !important; }
  .ft-hero { padding: 0 0 6px !important; } .ft-hero h1 { font-size: 26pt !important; margin: 0 !important; }
  body, .cal td, .cal th { color: #000 !important; background: #fff !important; }
  .cal td.we { background: #f0f0f0 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .cal-big td { height: 30mm; border-color: #000; } .cal td.today { outline: none; }
  .cal-year { grid-template-columns: repeat(3, 1fr); gap: 5mm 6mm; } .cal-year h3 { font-size: 12pt; border-top-width: 2px; padding-top: 3px; }
  .cal-mini td { font-size: 9pt; padding: 2px 1px; } .cal-mini th { font-size: 7pt; }
  .ft-sec.print-keep { display: block !important; border-top: none; margin-top: 4mm; padding-top: 0; }
  .ft-sec.print-keep h2 { font-size: 11pt; } .ft-sec.print-keep li, .ft-sec.print-keep p { font-size: 9pt; }
  @page { size: landscape; margin: 10mm; }
}

/* clock pages */
.cw-stage { --cw-bg: var(--bg); --cw-fg: var(--ink); --cw-ac: var(--accent); background: var(--cw-bg); color: var(--cw-fg); border-top: 6px solid var(--ink); border-bottom: 6px solid var(--ink); padding: 28px 0 22px; margin: 18px 0 0; text-align: left; }
.cw-stage[data-cw-theme="black"] { --cw-bg: #0b0b0b; --cw-fg: #ffffff; --cw-ac: #ff5263; }
.cw-stage[data-cw-theme="red"] { --cw-bg: #c8102e; --cw-fg: #ffffff; --cw-ac: #ffffff; }
.cw-stage[data-cw-theme="night"] { --cw-bg: #000000; --cw-fg: #ff5263; --cw-ac: #ff5263; }
.cw-stage[data-cw-theme="black"], .cw-stage[data-cw-theme="red"], .cw-stage[data-cw-theme="night"] { padding-left: clamp(16px, 3vw, 36px); padding-right: clamp(16px, 3vw, 36px); border-color: var(--cw-bg); }
.cw-digits { font-size: clamp(72px, 19vw, 236px); font-weight: 800; line-height: 0.88; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--cw-fg); }
.cw-digits small { font-size: 0.24em; letter-spacing: 0; margin-left: 0.3em; font-weight: 700; }
.cw-digits .sec { color: var(--cw-ac); }
.cw-digits .sec:not(:empty) { margin-right: 0.35em; }
.cw-analog svg { display: block; width: min(100%, 440px); height: auto; color: var(--cw-fg); }
.cw-analog #cwSh { color: var(--cw-ac); }
.cw-stage .cw-date { max-width: none; font-size: clamp(18px, 2.4vw, 26px); font-weight: 700; margin: 18px 0 0; color: var(--cw-fg); }
.cw-stage .cw-tz { max-width: none; font-size: 16px; font-weight: 600; margin: 4px 0 0; color: var(--cw-fg); }
.cw-stage .cw-hint { display: none; max-width: none; font-size: 15px; font-weight: 600; margin: 3vh 0 0; color: var(--cw-fg); }
.cw-stage:fullscreen, .cw-stage.cw-fs { display: flex; flex-direction: column; justify-content: center; padding: 4vw 5vw; margin: 0; border: 0; cursor: pointer; background: var(--cw-bg); }
.cw-stage.cw-fs { position: fixed; inset: 0; z-index: 9999; }
.cw-stage:fullscreen .cw-digits, .cw-stage.cw-fs .cw-digits { font-size: min(25vw, 56vh); }
.cw-stage:fullscreen .cw-analog svg, .cw-stage.cw-fs .cw-analog svg { width: min(86vw, 68vh); }
.cw-stage:fullscreen .cw-date, .cw-stage.cw-fs .cw-date { font-size: clamp(20px, 3.4vw, 44px); margin-top: 4vh; }
.cw-stage:fullscreen .cw-hint, .cw-stage.cw-fs .cw-hint { display: block; }
html.cw-lock, html.cw-lock body { overflow: hidden; }
.cw-ctl { display: flex; flex-wrap: wrap; gap: 14px 26px; margin: 18px 0 0; text-align: left; }
.cw-grp { display: flex; align-items: center; flex-wrap: wrap; }
.cw-grp > span { font-size: 14px; font-weight: 700; color: var(--ink); margin-right: 10px; }
.cw-ctl button { font: inherit; font-size: 15px; font-weight: 700; min-height: 44px; padding: 8px 14px; background: var(--bg); color: var(--ink); border: 2px solid var(--ink); margin: 0 -2px 0 0; cursor: pointer; box-shadow: none; }
.cw-ctl button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.cw-ctl button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; position: relative; }
.cw-ctl .cw-gap { margin-right: 10px; }
.cw-msg, .cw-sync, .ft-hero .cw-msg, .ft-hero .cw-sync { max-width: none; font-size: 16px; font-weight: 600; color: var(--ink-soft); min-height: 24px; margin: 12px 0 0; text-align: left; }
.cw-sync[data-state="fast"], .cw-sync[data-state="slow"] { color: var(--accent-deep); }
.cw-sync a, .cw-more a { color: var(--accent-deep); font-weight: 700; }
.cw-more, .ft-hero .cw-more { font-size: 16px; margin: 10px 0 0; text-align: left; max-width: none; color: var(--ink-soft); }
.cw-legacy-hide { display: none !important; }
.ac-big { font-size: clamp(52px, 12vw, 148px); font-weight: 800; line-height: 0.92; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; margin: 18px 0 0; color: var(--ink); }
.ac-big[data-state="fast"], .ac-big[data-state="slow"] { color: var(--accent); }
.ac-line { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; margin: 14px 0 0; color: var(--ink); max-width: 60ch; }
@media (max-width: 640px) {
  .cw-stage { padding: 20px 0 16px; }
  .cw-digits { font-size: clamp(64px, 23vw, 150px); }
  .cw-ctl { gap: 12px 18px; }
  .cw-grp > span { width: 100%; margin: 0 0 6px; }
  .cw-ctl button { padding: 8px 12px; }
}
@media print { .cw-ctl, .cw-msg { display: none !important; } }

/* meeting planner */
.mp { --mp-work: var(--bg); --mp-work-fg: var(--ink); --mp-sh: #e2e2e2; --mp-sh-fg: #111111; --mp-ni: #111111; --mp-ni-fg: #ffffff; }
[data-theme="dark"] .mp { --mp-work: #f4f4f4; --mp-work-fg: #111111; --mp-sh: #4a4a4a; --mp-sh-fg: #ffffff; --mp-ni: #0b0b0b; --mp-ni-fg: #c9c9c9; }
.mp-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0 !important; margin: 14px 0 0 !important; }
.mp-chips li { display: flex; align-items: stretch; border: 2px solid var(--ink); font-size: 16px !important; font-weight: 700; color: var(--ink) !important; max-width: none; }
.mp-chips li span { padding: 9px 12px; display: flex; align-items: center; }
.mp-chips li.base span::after { content: "base"; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; margin-left: 8px; color: var(--accent-deep); }
.mp-chips button { font: inherit; font-size: 14px; font-weight: 700; min-width: 44px; min-height: 44px; padding: 0 10px; background: var(--bg); color: var(--ink); border: 0; border-left: 2px solid var(--ink); cursor: pointer; }
.mp-chips button:hover, .mp-sug button:hover { background: var(--ink); color: var(--bg); }
.mp-add { position: relative; max-width: 460px; margin-top: 16px; }
.mp-add label, .mp-lab { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.mp-add input { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 17px; }
.mp-sug { list-style: none; padding: 0 !important; margin: 0 !important; border: 2px solid var(--ink); border-top: 0; background: var(--bg); position: absolute; left: 0; right: 0; z-index: 5; }
.mp-sug:empty { display: none; }
.mp-sug li { margin: 0; max-width: none; }
.mp-sug button { display: block; width: 100%; text-align: left; font: inherit; font-size: 16px; min-height: 44px; padding: 8px 12px; background: var(--bg); color: var(--ink); border: 0; border-top: 1px solid var(--ink); cursor: pointer; }
.mp-sug button small { font-size: 13px; opacity: 1; margin-left: 6px; font-weight: 400; }
.mp-grid { border-collapse: separate; border-spacing: 0; margin: 0; user-select: none; -webkit-user-select: none; }
.mp-grid th, .mp-grid td { padding: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-align: center; }
.mp-grid thead th { border-bottom: 3px solid var(--ink); background: var(--bg); }
.mp-grid .mp-city { position: sticky; left: 0; z-index: 2; background: var(--bg); text-align: left; padding: 8px 12px 8px 0; min-width: 132px; max-width: 170px; border-right: 3px solid var(--ink); font-size: 16px; line-height: 1.25; color: var(--ink); }
.mp-grid .mp-city small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); margin-top: 2px; white-space: nowrap; }
.mp-grid thead .mp-city { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: bottom; padding-bottom: 8px; white-space: normal; }
.mp-fit { font: inherit; font-size: 13px; font-weight: 700; width: 50px; min-height: 44px; padding: 0; background: var(--bg); color: var(--ink); border: 0; cursor: pointer; display: block; }
.mp-fit.all { background: var(--accent); color: #ffffff; }
[data-theme="dark"] .mp-fit.all { color: #0b0b0b; }
.mp-fit:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.mp-grid td { width: 50px; min-width: 50px; height: 54px; cursor: pointer; font-variant-numeric: tabular-nums; vertical-align: middle; background: var(--mp-ni); color: var(--mp-ni-fg); }
.mp-grid td b { display: block; font-size: 15px; line-height: 1.1; font-weight: 600; }
.mp-grid td small { display: block; font-size: 11px; line-height: 1.2; font-weight: 600; }
.mp-grid td.sh { background: var(--mp-sh); color: var(--mp-sh-fg); }
.mp-grid td.wk { background: var(--mp-work); color: var(--mp-work-fg); }
.mp-grid td.wk b { font-weight: 800; }
.mp-grid td.we { background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(200, 16, 46, 0.34) 6px 8px); }
.mp-grid td.nd { border-left: 3px solid var(--accent); }
.mp-grid td.sel { outline: 4px solid var(--accent); outline-offset: -4px; }
.mp-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0 !important; margin: 14px 0 0 !important; }
.mp-legend li { display: flex; align-items: center; gap: 8px; font-size: 14.5px !important; color: var(--ink) !important; }
.mp-legend i { width: 26px; height: 18px; border: 1px solid var(--ink); display: inline-block; flex: none; }
.mp-legend .l-wk { background: var(--mp-work); } .mp-legend .l-sh { background: var(--mp-sh); } .mp-legend .l-ni { background: var(--mp-ni); }
.mp-legend .l-we { background: var(--mp-sh) repeating-linear-gradient(135deg, transparent 0 6px, rgba(200, 16, 46, 0.5) 6px 8px); }
.mp-legend .l-nd { border-left: 4px solid var(--accent); } .mp-legend .l-sel { outline: 3px solid var(--accent); outline-offset: -3px; }
.mp-fitline { font-size: 18px !important; font-weight: 700; color: var(--ink) !important; margin: 16px 0 0 !important; }
.mp-sum td:first-child { font-weight: 700; color: var(--ink); }
.mp-sum .warn { color: var(--accent-deep); font-weight: 700; }
.mp-out input { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 15px; margin-top: 14px; }
@media (max-width: 640px) {
  .mp-grid .mp-city { min-width: 104px; max-width: 112px; font-size: 14.5px; padding-right: 6px; overflow-wrap: anywhere; }
  .mp-grid .mp-city small { font-size: 11.5px; white-space: normal; }
}
@media print { .mp-chips button, .mp-add, .mp-out .ft-row { display: none !important; } }

/* time zone changes */
.tc-check { list-style: none; padding: 0 !important; margin: 14px 0 0 !important; border-top: 3px solid var(--ink); }
.tc-check li { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--ink); font-size: 17px !important; max-width: none !important; color: var(--ink) !important; }
.tc-check li b { font-weight: 700; }
.tc-check li span { font-weight: 700; }
.tc-check li[data-state="bad"] span { color: var(--accent-deep); }
.tc-sum { font-size: clamp(20px, 2.6vw, 28px) !important; font-weight: 800; line-height: 1.2 !important; color: var(--ink) !important; margin: 0 !important; max-width: 46ch !important; }
.tc-sum[data-state="bad"] { color: var(--accent-deep) !important; }
.tc-now { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.tc-entry { border-top: 3px solid var(--ink); margin-top: 28px; padding-top: 6px; }
.tc-entry h3 { font-size: clamp(22px, 2.8vw, 28px) !important; margin: 12px 0 8px !important; }
.tc-jump { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0 !important; margin: 12px 0 0 !important; }
.tc-jump li { font-size: 16px !important; }
.tc-jump a { font-weight: 700; display: inline-flex; min-height: 44px; align-items: center; }

/* eclipse pages */
.ec-table td, .ec-table th { white-space: nowrap; font-variant-numeric: tabular-nums; }
.ec-table td:first-child { white-space: normal; min-width: 130px; font-weight: 700; color: var(--ink); }
.ec-edge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent-deep); margin-left: 4px; }
.ec-big { font-size: clamp(40px, 8.4vw, 104px); font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; margin: 16px 0 0; color: var(--ink); }
.ec-big small { display: block; font-size: clamp(16px, 2vw, 22px); letter-spacing: 0; font-weight: 700; margin-top: 12px; line-height: 1.3; }
.ec-kind { display: inline-block; font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; background: var(--ink); color: var(--bg); margin-top: 14px; }
.ec-kind.partial { background: var(--bg); color: var(--ink); outline: 2px solid var(--ink); outline-offset: -2px; }
.ec-calc output { display: block; margin-top: 16px; }
.ec-calc .ft-facts th { width: 38%; }
.ec-res-h { font-size: clamp(22px, 3vw, 30px) !important; font-weight: 800; color: var(--ink) !important; line-height: 1.15 !important; margin: 18px 0 6px !important; }
.ec-res-h[data-kind="total"] { color: var(--accent) !important; }

/* event pages */
.ev-table td, .ev-table th { font-variant-numeric: tabular-nums; }
.ev-table td.t { white-space: nowrap; }
.ev-table td:first-child { white-space: nowrap; }
.ev-table tr.stage th { text-align: left; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; padding: 22px 0 8px; border-bottom: 3px solid var(--ink); background: var(--bg); }
.ev-table tr.next td { background: var(--ink); color: var(--bg); }
.ev-table tr.next td a { color: var(--bg); }
.ev-table tr.done td { color: var(--ink-soft); }
.ev-table .mine { font-weight: 700; color: var(--ink); }
.ev-table tr.next .mine { color: var(--bg); }
.ev-big { font-size: clamp(38px, 8vw, 100px); font-weight: 800; line-height: 0.95; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; margin: 16px 0 0; color: var(--ink); }
.ev-big small { display: block; font-size: clamp(16px, 2vw, 22px); letter-spacing: 0; font-weight: 700; margin-top: 12px; line-height: 1.3; }
.ev-warn { border: 3px solid var(--accent); padding: 14px 16px; margin: 18px 0 0; font-size: 17px !important; font-weight: 600; color: var(--ink) !important; max-width: 72ch; }
.ev-mine { font-size: clamp(20px, 2.6vw, 28px) !important; font-weight: 800; color: var(--ink) !important; line-height: 1.2 !important; margin: 14px 0 0 !important; }
.ev-filter { max-width: 420px; margin: 4px 0 16px; }
.ev-filter label { display: block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.ev-filter select { width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 17px; }
