:root {
  color-scheme: light;
  --ink: #172b27;
  --muted: #485e56;
  --faint: #587168;
  --line: #dce7e0;
  --control-line: #718779;
  --surface: #fff;
  --soft: #f3f8f5;
  --accent: #17634d;
  --accent-hover: #104b3a;
  --accent-light: #e6f3ed;
  --success: #255d27;
  --success-light: #eaf5df;
  --map-bg: #e9f1ee;
  --header: 70px;
  font-family: Pretendard, "Noto Sans KR", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--surface);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { min-width: 320px; min-height: 100dvh; margin: 0; }
h1, h2, h3, p, ul, dl, dd { margin: 0; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .48; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, [tabindex]:focus-visible { outline: 3px solid #378f74; outline-offset: 3px; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap; clip-path: inset(50%); }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 999; border-radius: 7px; padding: 10px 14px; background: var(--ink); color: white; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 22px; height: var(--header); padding: 0 clamp(20px, 5.5vw, 84px); border-bottom: 1px solid var(--line); background: var(--surface); }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; font-size: 1.22rem; font-weight: 800; letter-spacing: -.062em; }
.brand-mark { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); }
.brand-mark span { display: block; width: 3px; height: 14px; border-radius: 1px; background: #e1fae8; }
.brand-mark span:nth-child(2) { width: 7px; height: 3px; border-radius: 0; }
.top-nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 32px); }
.top-nav a { flex: none; padding: 8px 2px; font-size: .91rem; color: var(--muted); font-weight: 680; }
.top-nav a:hover, .top-nav [aria-current="page"] { color: var(--accent); }
#watch-link { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.watch-badge { display: inline-grid; place-items: center; min-width: 1.35em; padding: 2px 4px; border-radius: 99px; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 780; line-height: 1.2; font-variant-numeric: tabular-nums; }

.home { min-height: calc(100dvh - var(--header)); display: flex; flex-direction: column; }
.home-hero { isolation: isolate; position: relative; display: grid; flex: 1; min-height: min(600px, 70vh); place-items: center; overflow: clip; padding: clamp(66px, 10vh, 108px) 20px clamp(98px, 16vh, 172px); background: linear-gradient(180deg, #fff 22%, #fcfefc 57%, #f0f8f3 100%); }
.hero-geometry { position: absolute; z-index: -1; inset: 43% -17% -42%; border-radius: 50%; background: repeating-radial-gradient(ellipse at 50% 92%, transparent 0 33px, #79a99732 34px, transparent 35px 50px); mask-image: linear-gradient(180deg, transparent 0%, #000 30% 65%, transparent 92%); pointer-events: none; }
.hero-content { width: min(100%, 680px); text-align: center; }
.hero-content h1 { font-size: clamp(2.07rem, 5vw, 4.35rem); line-height: 1.19; letter-spacing: -.083em; font-weight: 820; word-break: keep-all; }
.hero-content h1 span { color: var(--accent); }
.home-subtitle { margin: 22px auto 36px; font-size: clamp(.94rem, 1.85vw, 1.12rem); line-height: 1.7; color: var(--muted); word-break: keep-all; }
.search-form { display: flex; align-items: center; gap: 12px; width: 100%; padding: 5px 5px 5px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.search-form:focus-within { border-color: #69a58b; box-shadow: 0 0 0 3px #286a4d19; }
.home-search { min-height: 66px; margin-inline: auto; padding-left: 20px; border-radius: 17px; box-shadow: 0 9px 29px #204e3513, 0 2px 6px #204e350a; }
.search-form input { min-width: 0; flex: 1; height: 44px; padding: 0; border: 0; background: transparent; appearance: none; }
.search-form input:focus-visible { outline: none; }
.search-form input::placeholder { color: var(--faint); opacity: 1; }
.search-icon { position: relative; display: inline-block; flex: 0 0 16px; width: 16px; height: 16px; margin-right: 3px; border: 2px solid currentColor; border-radius: 50%; color: var(--accent); }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; border-radius: 1px; background: currentColor; top: 11px; left: 10px; transform: rotate(45deg); transform-origin: 0 50%; }
.primary-button { min-height: 44px; padding: 0 19px; border: 1px solid transparent; border-radius: 10px; background: var(--accent); color: #fff; font-size: .92rem; font-weight: 700; white-space: nowrap; }
.primary-button:hover { background: var(--accent-hover); }
.home-search .primary-button { min-height: 54px; padding-inline: clamp(16px, 4vw, 30px); border-radius: 12px; }
.home-examples { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 7px; margin-top: 19px; }
.home-examples:empty { margin-top: 0; }
.example-button { display: inline-flex; align-items: center; min-height: 40px; max-width: 100%; padding: 5px 13px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); color: var(--muted); font-size: .88rem; line-height: 1.2; font-weight: 650; }
.example-button:hover { border-color: #a6ccba; background: var(--accent-light); color: var(--accent); }

.workspace { display: grid; grid-template-columns: minmax(325px, 425px) minmax(0, 1fr); height: calc(100dvh - var(--header)); min-height: 440px; }
.sidebar { position: relative; z-index: 2; min-width: 0; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); background: var(--surface); }
.sidebar-header { flex: none; padding: 18px 18px 0; border-bottom: 1px solid var(--line); }
.workspace-search { background: var(--soft); }
.workspace-search input { font-size: .94rem; }
.dataset-tabs { display: flex; gap: 22px; margin-top: 8px; }
.dataset-tabs a { position: relative; display: grid; min-height: 48px; align-items: center; color: var(--muted); font-size: .94rem; font-weight: 680; }
.dataset-tabs a[aria-current="page"] { color: var(--accent); }
.dataset-tabs a[aria-current="page"]::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; border-radius: 2px 2px 0 0; background: var(--accent); }
.list-view, .detail-view { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.results-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 19px 18px 12px; }
.results-top h2 { text-wrap: pretty; overflow-wrap: anywhere; font-size: 1.22rem; letter-spacing: -.055em; line-height: 1.36; }
.notes { margin-top: 3px; color: var(--faint); font-size: .84rem; }
.list-context { margin: 0 18px 7px; padding: 9px 11px; border-radius: 7px; background: var(--soft); color: var(--muted); font-size: .81rem; line-height: 1.55; word-break: keep-all; }
.list-sources { margin: 0 18px 9px; color: var(--faint); font-size: .8rem; }
.list-sources summary { width: fit-content; padding-block: 5px; cursor: pointer; font-weight: 650; }
.list-sources ul { padding: 2px 0 5px 18px; }
.listing-filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 10px; margin: 0 18px 13px; padding: 12px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); }
.listing-filters label { display: grid; min-width: 0; gap: 3px; font-size: .84rem; color: var(--muted); }
.listing-filters input[type="number"], .listing-filters select { width: 100%; min-width: 0; min-height: 42px; padding: 4px 7px; border: 1px solid var(--control-line); border-radius: 7px; color: var(--ink); background: var(--surface); font-size: .86rem; }
.listing-filters select { appearance: none; padding-right: 22px; background-image: linear-gradient(45deg, transparent 50%, #5a7194 50%), linear-gradient(135deg, #5a7194 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.listing-sort, .listing-filter-actions { grid-column: 1 / -1; }
.listing-filters:has(#listing-area-filter:not([hidden])) .listing-sort { grid-column: auto; }
.listing-filter-actions { display: flex; justify-content: space-between; align-items: center; gap: 4px; }
.listing-filter-actions .filter-checkbox { display: inline-flex; min-height: 40px; align-items: center; gap: 6px; }
.filter-checkbox input { width: 15px; height: 15px; margin: 0; accent-color: var(--accent); }
.search-results { list-style: none; padding: 0 9px; }
.search-results > li { border-bottom: 1px solid var(--line); }
.result-card { display: block; width: 100%; min-height: 108px; padding: 13px 10px; border: 0; border-radius: 8px; background: transparent; text-align: start; }
.result-card:hover { background: var(--soft); }
.result-card-name { display: block; overflow-wrap: anywhere; font-size: 1rem; font-weight: 770; letter-spacing: -.034em; }
.result-card-address { display: block; margin-top: 2px; color: var(--muted); font-size: .86rem; word-break: keep-all; overflow-wrap: anywhere; }
.result-card-data { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 22px; margin-top: 7px; color: var(--muted); font-size: .87rem; }
.result-card-data strong { color: var(--ink); font-weight: 770; }
.tag { display: inline-block; width: fit-content; padding: 3px 6px; border-radius: 5px; background: var(--success-light); color: var(--success); font-size: .76rem; font-weight: 700; }
.occupancy-tag { display: inline-block; color: var(--muted); font-size: .8rem; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 17px 10px 22px; color: var(--muted); font-size: .85rem; }
.outline-button, .text-button { min-height: 40px; padding: 4px 10px; border-radius: 8px; font-size: .87rem; font-weight: 680; }
.outline-button { border: 1px solid var(--line); background: var(--surface); }
.text-button { border: 0; color: var(--accent); background: transparent; }
.listing-manage { display: inline-flex; align-items: center; flex: none; margin-left: auto; }
.outline-button:not(:disabled):hover, .text-button:not(:disabled):hover { background: var(--accent-light); }
.feedback { display: grid; justify-items: start; gap: 9px; margin: 15px 18px; padding: 20px 14px; border-radius: 10px; background: var(--soft); color: var(--muted); word-break: keep-all; }
.feedback strong { color: var(--ink); }

.detail-view { padding: 9px 18px 22px; }
.detail-back { margin: 0 0 4px -9px; }
.detail-view h2 { overflow-wrap: anywhere; font-size: 1.53rem; letter-spacing: -.05em; line-height: 1.28; }
.detail-view h3 { font-size: 1.03rem; line-height: 1.35; letter-spacing: -.035em; }
.detail-address { margin-top: 4px; color: var(--muted); font-size: .92rem; overflow-wrap: anywhere; }
.detail-section { margin-top: 22px; }
.detail-section-title { display: flex; align-items: center; justify-content: space-between; gap: 5px 8px; flex-wrap: wrap; margin-bottom: 8px; }
.metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; padding: 13px; border-radius: 10px; background: var(--soft); }
.metrics dt { color: var(--muted); font-size: .84rem; }
.metrics dd { font-size: .95rem; font-weight: 730; overflow-wrap: anywhere; }
.price-review { padding: 14px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); }
.price-review h3 { font-size: 1.13rem; }
.price-review-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.price-review-field { display: grid; align-content: start; min-width: 0; gap: 4px; color: var(--muted); font-size: .84rem; }
.price-review-field input, .price-review-field select, .share-link { width: 100%; min-height: 44px; min-width: 0; padding: 5px 7px; border: 1px solid var(--control-line); border-radius: 7px; color: var(--ink); background: var(--surface); font-size: .89rem; }
.price-review-field select { appearance: none; padding-right: 22px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 7px) 50%; background-size: 5px 5px; background-repeat: no-repeat; text-overflow: ellipsis; }
.price-review-reference { grid-column: 1 / -1; display: grid; gap: 2px; padding: 9px 0; border-block: 1px solid var(--line); }
.price-review-reference strong { font-size: .95rem; }
.price-review-actions { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; grid-column: 1 / -1; }
.price-review-actions .primary-button { padding-inline: 13px; }
.price-review-status { grid-column: 1 / -1; }
.price-review-status:empty { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.price-review-result:not(:empty) { margin-top: 13px; padding-top: 9px; border-top: 1px solid var(--line); }
.price-evidence .metrics { margin-top: 7px; padding: 7px 0; background: transparent; }
.price-delta { margin-top: 4px; color: var(--ink); font-size: 1rem; font-weight: 760; overflow-wrap: anywhere; }
.price-delta.below { color: var(--accent); }
.comparison-shortage { margin: 7px 0; color: var(--ink); font-size: .92rem; }
.price-band { margin-block: 9px; }
.price-dot-plot { position: relative; height: 51px; overflow: clip; }
.price-dot-plot::before { content: ""; position: absolute; inset: 26px 0 auto; height: 1px; background: #aabcb3; }
.price-dot { position: absolute; left: var(--x); width: 7px; height: 7px; top: calc(17px + 8px * var(--lane)); transform: translate(-50%, -50%); border-radius: 50%; background: #718981; }
.price-dot-median, .price-dot-offer { width: 10px; height: 10px; transform: translate(-50%, -50%) rotate(45deg); top: 10px; border-radius: 1px; background: var(--ink); }
.price-dot-offer { transform: translate(-50%, -50%); top: 42px; background: #25825f; }
.price-dot-scale { display: flex; justify-content: space-between; gap: 6px; color: var(--muted); font-size: .78rem; }
.price-dot-legend { display: flex; flex-wrap: wrap; column-gap: 8px; row-gap: 3px; padding-top: 7px; color: var(--muted); font-size: .78rem; }
.price-dot-legend span { display: inline-flex; gap: 4px; align-items: center; }
.price-dot-legend span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #718981; }
.price-dot-legend .price-legend-median::before { transform: rotate(45deg); border-radius: 1px; background: var(--ink); }
.price-dot-legend .price-legend-offer::before { border-radius: 1px; background: #25825f; }
.transaction-table { width: 100%; border-collapse: collapse; font-size: .83rem; font-variant-numeric: tabular-nums; }
.transaction-table th, .transaction-table td { padding: 8px 3px; border-bottom: 1px solid var(--line); text-align: start; white-space: nowrap; }
.transaction-table th { color: var(--faint); font-weight: 650; }
.transaction-table td:last-child, .transaction-table th:last-child { text-align: right; }
.transaction-table td:last-child { font-weight: 720; }
.detail-card-list { padding: 0; list-style: none; }
.detail-card-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.detail-card-list strong { overflow-wrap: anywhere; font-size: .92rem; }
.detail-card-list .text-button { min-height: 0; padding: 3px 0; border-radius: 4px; text-align: start; }
.call-link, .listing-link { display: inline-flex; align-items: center; min-height: 40px; padding: 5px 9px; border-radius: 7px; color: var(--accent); background: var(--accent-light); font-weight: 650; font-size: .89rem; }
.call-link:hover, .listing-link:hover { background: #d7eee1; }
.listing-link { margin-top: 6px; }
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.benchmark-records { margin-top: 7px; }
.benchmark-records summary { width: fit-content; color: var(--accent); font-size: .87rem; font-weight: 700; cursor: pointer; }
.result-card-meta { width: 100%; color: var(--muted); font-size: .82rem; }
.sale-price-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 8px; margin-bottom: 6px; }
.sale-price { font-size: 1.48rem; font-weight: 780; letter-spacing: -.04em; }
.sale-status { padding: 3px 7px; border-radius: 5px; background: var(--soft); color: var(--muted); font-size: .84rem; font-weight: 680; }
.sale-inactive { margin-inline: 0; }
.sale-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-block: 14px 6px; }
.sale-footer a { display: inline-flex; align-items: center; }
.sale-footer > p { flex-basis: 100%; }
.sale-footer > p:empty { display: none; }
.price-history { list-style: none; padding: 0; }
.price-history li { display: flex; justify-content: space-between; gap: 9px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }

.watch-page { width: min(100%, 1060px); margin-inline: auto; padding: clamp(24px, 6vw, 65px) clamp(14px, 4vw, 42px) 45px; }
.watch-header { display: grid; gap: 6px; margin-bottom: 25px; }
.watch-header h1 { font-size: clamp(1.65rem, 4vw, 2.48rem); letter-spacing: -.055em; line-height: 1.25; }
.watch-header p { color: var(--muted); word-break: keep-all; }
.watch-columns { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.watch-section { min-width: 0; padding: clamp(12px, 2.1vw, 22px); border: 1px solid var(--line); border-radius: 14px; }
.watch-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-bottom: 12px; }
.watch-section h2 { font-size: 1.17rem; letter-spacing: -.04em; }
.watch-find, .watch-saved-link { display: inline-flex; align-items: center; }
.watch-list { display: grid; gap: 7px; list-style: none; padding: 0; }
.watch-card { display: grid; min-width: 0; gap: 4px; padding: 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.watch-card.unread, .watch-empty, .watch-message { background: var(--soft); }
.watch-card.unread { border-left: 3px solid var(--accent); padding-left: 9px; }
.watch-card-top, .watch-card-foot, .watch-prices { display: flex; flex-wrap: wrap; gap: 3px 8px; align-items: center; justify-content: space-between; }
.watch-card-foot > .notes { flex: 1; }
.watch-kind { font-size: .85rem; font-weight: 760; }
.watch-read-state { padding: 1px 5px; border-radius: 4px; color: var(--muted); background: var(--soft); font-size: .77rem; font-weight: 650; }
.watch-card.unread .watch-read-state { color: var(--accent); background: var(--accent-light); }
.watch-item-link, .watch-item-title { width: fit-content; color: var(--ink); font-weight: 780; overflow-wrap: anywhere; }
.watch-item-link:hover { color: var(--accent); text-decoration: underline; }
.watch-prices { justify-content: flex-start; }
.watch-prices .notes { margin: 0; }
.watch-condition .text-button { margin-left: auto; }
.watch-empty, .watch-message { padding: 11px; border-radius: 8px; color: var(--muted); font-size: .9rem; word-break: keep-all; }
.watch-message, #watch-retry { margin-bottom: 9px; }
.watch-save { margin-top: 13px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 9px; }
.watch-save summary { width: fit-content; min-height: 28px; color: var(--accent); font-size: .94rem; font-weight: 740; cursor: pointer; }
.watch-save-description { margin-top: 5px; word-break: keep-all; }
.watch-save-form .price-review-field:has([name="occupancy"]) { grid-column: 1 / -1; }

.map-pane { isolation: isolate; position: relative; min-width: 0; min-height: 0; overflow: hidden; background: var(--map-bg); }
.map-canvas { width: 100%; height: 100%; background: var(--map-bg); }
.map-top { position: absolute; z-index: 1000; display: flex; justify-content: center; flex-wrap: wrap; gap: 7px; top: 14px; right: 57px; left: 12px; pointer-events: none; }
.map-button { pointer-events: auto; display: inline-flex; gap: 7px; align-items: center; min-height: 43px; padding: 5px 11px; border: 1px solid #dbe5f2; border-radius: 9px; color: #294069; background: var(--surface); box-shadow: 0 2px 7px #15355f19; font-size: .86rem; font-weight: 700; }
.map-button:hover { background: var(--soft); }
.map-button .search-icon { width: 13px; height: 13px; margin-right: 3px; flex-basis: 13px; }
.map-button .search-icon::after { width: 5px; left: 8px; top: 8px; }
.map-caption, .map-warning { position: absolute; z-index: 1000; left: 10px; bottom: 24px; max-width: min(360px, calc(100% - 20px)); padding: 5px 8px; border-radius: 6px; background: #fffffff5; color: #304c71; font-size: .78rem; box-shadow: 0 2px 7px #15355f19; }
.map-warning { top: 67px; left: 12px; bottom: auto; font-size: .85rem; }
.map-marker { width: 23px; height: 23px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 2px 7px #162f6859; text-align: center; color: #fff; font-size: 12px; font-weight: 800; line-height: 19px; }
.map-marker.offices { background: #365879; }
.map-marker.listings { background: #866528; }
.map-marker.selected { width: 29px; height: 29px; background: #122e26; line-height: 25px; }
.map-marker:hover { outline: 2px solid var(--accent); outline-offset: 1px; }
.leaflet-marker-icon.map-marker { display: grid; place-items: center; }
.leaflet-container { font-family: inherit; }
.mobile-mode { display: none; }

@media (max-width: 740px) {
  :root { --header: 59px; }
  .topbar { gap: 13px; padding-inline: 13px; }
  .brand { gap: 6px; font-size: 1.04rem; }
  .brand-mark { width: 29px; height: 29px; }
  .top-nav { gap: 8px; }
  .top-nav a { font-size: .82rem; }
  .home-hero { min-height: 438px; padding-inline: 15px; }
  .home-subtitle { margin: 17px auto 25px; }
  .search-form { gap: 9px; padding-left: 12px; }
  .home-search .primary-button { min-height: 48px; }
  .home-search { min-height: 60px; }
  .workspace { position: relative; display: block; min-height: 360px; }
  .sidebar, .map-pane { height: 100%; border: 0; }
  .workspace[data-mode="map"] .sidebar, .workspace:not([data-mode="map"]) .map-pane { display: none; }
  .map-top { right: 49px; }
  .map-fit { display: none; }
  .results-top { padding-top: 16px; }
  .list-view, .detail-view { padding-bottom: 72px; scrollbar-gutter: auto; }
  .mobile-mode { position: absolute; z-index: 1100; bottom: max(10px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); display: flex; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 99px; background: var(--surface); box-shadow: 0 4px 18px #243a6d26; }
  .mobile-mode button { min-width: 65px; min-height: 44px; padding: 4px 9px; border: 0; border-radius: 99px; background: transparent; color: var(--muted); font-size: .87rem; font-weight: 700; }
  .mobile-mode [aria-pressed="true"] { background: var(--accent); color: white; }
  .watch-columns { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 440px) {
  :root { --header: 87px; }
  .topbar { display: grid; grid-template-rows: 38px 1fr; justify-content: stretch; padding-inline: 13px; gap: 0; }
  .brand { font-size: .94rem; }
  .brand-mark { width: 25px; height: 25px; }
  .top-nav { justify-content: space-between; gap: 8px; align-self: stretch; }
  .top-nav a { padding-inline: 2px; font-size: .84rem; }
}
