* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #e8ece9; color: var(--color-ink); font-family: var(--font-latin); }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 99; top: -80px; left: 12px; padding: 12px 18px; background: white; color: var(--color-ink); }
.skip-link:focus { top: 12px; }
.lab-header { min-height: 72px; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--color-ink); color: white; }
.lab-brand { display: flex; align-items: center; gap: 10px; }
.lab-brand img { background: var(--color-mist); border-radius: 5px; }
.lab-brand strong, .lab-brand span { display: block; }
.lab-brand strong { font-size: 15px; letter-spacing: -.02em; }
.lab-brand span { font-size: 12px; opacity: .72; }
.lab-top-actions { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }
.lab-top-actions a { text-underline-offset: 4px; }
.lab-layout { display: grid; grid-template-columns: 230px minmax(0,1fr); min-height: calc(100vh - 72px); }
.lab-sidebar { padding: 24px 14px; color: white; background: #213c44; }
.lab-sidebar-head { padding: 0 10px 20px; }
.lab-sidebar h1 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.04em; }
.lab-sidebar p { margin: 0; color: #bfd0d0; font-size: 13px; line-height: 1.5; }
.screen-list { display: grid; }
.screen-list p { margin: 18px 10px 5px; color: #91adb0; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.screen-list a { min-height: 34px; padding: 8px 10px; border-left: 2px solid transparent; border-radius: 0 4px 4px 0; font-size: 13px; text-decoration: none; }
.screen-list a:hover, .screen-list a.active { background: #31525a; border-left-color: #e57759; }
.lab-screen-note, .lab-state-controls { margin: 28px 10px 0; padding-top: 16px; border-top: 1px solid #48626a; }
.lab-screen-note h2, .lab-state-controls h2 { margin: 0 0 10px; font-size: 12px; letter-spacing: .03em; }
.lab-state-controls label { display: flex; align-items: center; min-height: 35px; gap: 8px; font-size: 13px; }
.lab-state-controls input { accent-color: #e57759; width: 16px; height: 16px; }
.lab-main { min-width: 0; padding: 16px clamp(12px,2vw,28px) 28px; }
.lab-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.lab-control-group { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid #bac7c4; border-radius: 6px; background: white; }
.lab-control-group button { min-height: 36px; padding: 6px 12px; border: 0; border-radius: 4px; background: transparent; color: #365158; cursor: pointer; font-size: 12px; font-weight: 700; }
.lab-control-group button[aria-pressed="true"] { background: var(--color-ink); color: white; }
.lab-sample { margin-left: auto; color: #536269; font-size: 12px; }
.lab-stage { overflow: auto; display: flex; justify-content: center; min-height: 650px; padding: 0 0 12px; }
.product-frame { flex: none; container-type: inline-size; container-name: preview; background: var(--color-mist); overflow: clip; box-shadow: 0 10px 38px #18323b19; }
.product-frame.compact { width: 320px; }
.product-frame.phone { width: 390px; }
.product-frame.desktop { width: min(100%, 1220px); }
.lab-footer-note { max-width: 900px; margin: 14px auto 0; color: #536269; font-size: 12px; line-height: 1.5; text-align: center; }
.noscript { padding: 24px; background: white; }

/* Product */
.product-shell { --gutter: 16px; min-height: 690px; color: var(--color-ink); background: var(--color-mist); font-family: var(--font-latin); font-size: 16px; line-height: 1.5; }
.product-shell[lang="te"] { font-family: var(--font-telugu); line-height: 1.65; }
.product-shell h1, .product-shell h2, .product-shell h3, .product-shell p, .product-shell figure { margin-top: 0; }
.product-shell h1, .product-shell h2, .product-shell h3 { line-height: 1.18; letter-spacing: -.045em; }
.product-shell[lang="te"] h1, .product-shell[lang="te"] h2, .product-shell[lang="te"] h3 { line-height: 1.44; letter-spacing: 0; }
.product-shell h1 { font-size: clamp(32px, 5vw, 64px); font-weight: 800; }
.product-shell h2 { font-size: clamp(23px, 3vw, 36px); }
.product-shell h3 { font-size: 20px; }
.product-shell p { color: #42575e; }
.product-shell img { max-width: 100%; }
.product-header { min-height: 72px; display: flex; align-items: center; gap: 28px; padding: 8px var(--gutter); border-bottom: 1px solid var(--color-line); background: var(--color-mist); }
.product-logo { display: inline-flex; align-items: center; gap: 8px; flex: none; text-decoration: none; white-space: nowrap; }
.product-logo strong { font-size: 19px; font-weight: 800; letter-spacing: -.05em; }
.product-shell[lang="te"] .product-logo strong { letter-spacing: 0; }
.product-primary-nav { display: flex; align-items: center; gap: clamp(14px,2vw,30px); margin-left: auto; }
.product-primary-nav a { display: flex; align-items: center; min-height: 44px; color: #41565d; font-size: 13px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.product-primary-nav a[aria-current] { color: var(--color-coral); box-shadow: inset 0 -2px var(--color-coral); }
.product-utilities { display: flex; align-items: center; gap: 8px; }
.product-sample-ribbon { padding: 6px var(--gutter); background: #e1e9e5; color: #526369; font-size: 10px; line-height: 1.5; text-align: center; }
.utility-link { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--color-line); border-radius: 5px; font-size: 12px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.search-glyph { width: 14px; height: 14px; border: 2px solid currentColor; border-radius: 50%; position: relative; flex: none; }
.search-glyph:after { content: ""; position: absolute; width: 6px; height: 2px; right: -5px; bottom: -2px; background: currentColor; transform: rotate(45deg); }
.town-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--color-coral); }
.product-main { min-height: 520px; }
.product-main > :not(.home-hero) { max-width: 1140px; margin-left: auto; margin-right: auto; }
.product-footer { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; align-items: start; padding: 35px var(--gutter); margin-top: 64px; background: var(--color-ink); color: white; }
.product-footer p { max-width: 420px; margin: 0; color: #c8d6d6; font-size: 12px; }
.product-footer div:last-child { display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.product-footer a { color: white; text-underline-offset: 4px; }
.footer-brand { font-size: 19px; font-weight: 800; letter-spacing: -.04em; }
.product-bottom-nav { display: none; }
.eyebrow { display: inline-block; color: var(--color-coral); font-family: var(--font-latin); font-size: 10px; font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.product-shell[lang="te"] .eyebrow { font-family: var(--font-telugu); font-size: 12px; letter-spacing: 0; }
.text-link, .quiet-link { display: inline-flex; align-items: center; gap: 5px; color: var(--color-ink); font-size: 13px; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.title-link { color: inherit; text-decoration: none; }
.title-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.button-link, .primary-action { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid var(--color-coral); border-radius: 5px; background: var(--color-coral); color: white; cursor: pointer; font-size: 14px; font-weight: 800; text-align: center; text-decoration: none; }
.secondary-action { min-height: 48px; padding: 11px 20px; border: 1px solid var(--color-ink); border-radius: 5px; background: transparent; color: var(--color-ink); cursor: pointer; font-size: 14px; font-weight: 800; }
.source-line { display: flex; flex-wrap: wrap; gap: 4px 16px; color: #59696d; font-size: 11px; line-height: 1.5; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 16px; }
.section-heading h2 { margin: 0; font-size: clamp(22px,2.8vw,34px); }
.section-heading .eyebrow { margin-bottom: 8px; }
.editorial-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.image-link { display: block; overflow: hidden; }
.image-link img { transition: transform 220ms ease; }
.image-link:hover img { transform: scale(1.02); }
.page-intro { max-width: 760px; padding: 46px 0 28px; }
.page-intro h1 { max-width: 720px; margin: 10px 0 14px; }
.page-intro p { max-width: 610px; margin: 0; font-size: 18px; }
.back-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 25px; font-size: 12px; font-weight: 800; text-decoration: none; }
.sample-tag { font-size: 10px; }

/* Home */
.home-hero { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; min-height: 390px; background: var(--color-ink); color: white; }
.home-hero > div:first-child { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(28px,4vw,60px); }
.home-hero .eyebrow { color: #ff9a7b; }
.home-hero h1 { max-width: 520px; margin: 16px 0; font-size: clamp(38px,4.6vw,68px); }
.home-hero p { max-width: 470px; color: #d4e0df; font-size: 18px; }
.home-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 14px; }
.home-hero .quiet-link { color: white; }
.home-photo { min-height: 320px; overflow: hidden; }
.home-photo img { width: 100%; height: 100%; object-fit: cover; }
.home-feed { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px 40px; padding: 50px var(--gutter) 0; }
.feed-lead { grid-column: 1; }
.feed-categories { grid-column: 1 / -1; }
.feed-guide { grid-column: 1 / -1; }
.feed-story { grid-column: 1 / -1; }
.feed-place { grid-column: 2; grid-row: 1; padding-top: 22px; }
.lead-update { padding: 26px 30px 24px; border-top: 4px solid var(--color-coral); background: white; }
.lead-update h2 { margin: 10px 0 12px; font-size: clamp(28px,3vw,43px); }
.lead-update p { max-width: 630px; font-size: 17px; }
.card-action { margin-top: 22px; }
.category-scroll { display: flex; gap: 10px; overflow-x: auto; margin: 0; padding: 0 0 8px; list-style: none; scrollbar-color: #aab9b7 transparent; }
.category-scroll li { flex: 1 0 210px; }
.category-chip { min-width: 210px; min-height: 72px; flex: 1; display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--color-line); background: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.category-chip span:last-child { margin-left: auto; }
.category-num { align-self: flex-start; color: var(--color-coral); font-family: var(--font-latin); font-size: 11px; }
.guide-feature { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(260px,.85fr); min-height: 280px; background: #e1e9e5; }
.guide-feature .image-link { height: 100%; min-height: 280px; }
.guide-feature > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(20px,4vw,44px); }
.guide-feature h2 { margin: 8px 0 12px; }
.guide-feature p { max-width: 420px; }
.guide-feature .text-link { margin-top: 10px; }
.story-feature { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; align-items: center; }
.story-feature .image-link { aspect-ratio: 1.5; }
.story-feature h2 { margin: 8px 0 12px; max-width: 560px; }
.story-feature .source-line { margin: 20px 0 14px; }
.story-feature-copy { padding: 20px 0; }
.place-row { display: grid; grid-template-columns: 34px minmax(0,1fr) 25px; gap: 12px; align-items: start; padding: 18px 0; border-top: 1px solid var(--color-line); }
.place-row:last-child { border-bottom: 1px solid var(--color-line); }
.place-row h3 { margin: 5px 0 7px; }
.place-row p { margin: 0 0 12px; font-size: 14px; }
.place-number, .brief-index { padding-top: 3px; color: var(--color-coral); font-family: var(--font-latin); font-size: 11px; font-weight: 800; }
.place-arrow, .row-arrow { display: flex; align-items: center; justify-content: center; width: 28px; height: 44px; font-size: 18px; text-decoration: none; }

/* Explore, search and category */
.explore-header, .explore-categories, .explore-split, .search-page, .category-page, .updates-layout, .stories-head, .story-feature-lead, .story-list, .town-page, .correction-page, .empty-coverage { padding-left: var(--gutter); padding-right: var(--gutter); }
.explore-header { padding-bottom: 30px; background: #e1e9e5; }
.explore-header .page-intro { padding-bottom: 25px; }
.search-form { display: flex; max-width: 680px; gap: 7px; }
.search-form input { min-width: 0; flex: 1; min-height: 52px; padding: 11px 15px; border: 1px solid #8da09f; border-radius: 5px; background: white; color: var(--color-ink); font-size: 15px; }
.search-form button { min-height: 52px; min-width: 90px; padding: 10px 16px; border: 0; border-radius: 5px; background: var(--color-coral); color: white; cursor: pointer; font-weight: 800; }
.explore-categories { padding-top: 34px; padding-bottom: 32px; }
.explore-split, .category-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,.8fr); gap: 48px; }
.explore-aside .guide-feature, .category-layout .guide-feature { display: block; min-height: 0; }
.explore-aside .guide-feature .image-link, .category-layout .guide-feature .image-link { aspect-ratio: 1.5; min-height: 0; }
.explore-aside .guide-feature > div, .category-layout .guide-feature > div { display: block; padding: 22px; }
.explore-aside .guide-feature h2, .category-layout .guide-feature h2 { font-size: 24px; }
.search-page .page-intro { padding-bottom: 20px; }
.query-caption { margin: 28px 0 12px; color: #526369; font-size: 13px; font-weight: 800; }
.search-results { display: grid; gap: 28px; }
.search-results section { padding: 22px 0; border-top: 1px solid var(--color-line); }
.search-results h2 { margin-bottom: 16px; font-size: 24px; }
.search-results .guide-feature { max-width: 700px; min-height: 0; }
.search-results .guide-feature .image-link { min-height: 200px; }
.search-results .guide-feature h2 { font-size: 24px; }
.search-editorial { display: grid; gap: 15px; max-width: 700px; font-size: 18px; font-weight: 700; }
.empty-search, .empty-coverage { max-width: 620px; padding-top: 75px; padding-bottom: 75px; }
.empty-search h2 { font-size: 27px; }
.category-page .page-intro { padding-top: 10px; }
.category-layout { padding-top: 18px; }

/* Updates and stories */
.updates-layout { display: grid; grid-template-columns: minmax(0,2fr) minmax(210px,.7fr); gap: 65px; }
.updates-layout .page-intro { padding-bottom: 35px; }
.brief-row { display: grid; grid-template-columns: 38px minmax(0,1fr) 30px; gap: 10px; padding: 26px 0; border-top: 1px solid var(--color-line); }
.brief-row h2 { max-width: 660px; margin: 6px 0 11px; font-size: clamp(22px,2.5vw,29px); }
.brief-row p { max-width: 620px; margin-bottom: 13px; font-size: 15px; }
.correction-flag { display: inline-block; margin-bottom: 10px; padding: 4px 7px; border-left: 2px solid var(--color-coral); background: #f1e4dc; font-size: 11px; font-weight: 800; }
.updates-aside { padding-top: 106px; }
.aside-rule { padding: 20px; border-top: 3px solid var(--color-ink); background: #e1e9e5; }
.aside-rule h2 { margin: 8px 0 10px; font-size: 23px; }
.aside-rule p { font-size: 14px; }
.stories-head { border-bottom: 1px solid var(--color-line); }
.story-feature-lead { padding-top: 30px; padding-bottom: 40px; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); }
.story-feature-lead .image-link { aspect-ratio: 1.3; }
.story-feature-lead h2 { font-size: clamp(30px,3.6vw,50px); }
.story-list { max-width: 1140px; padding-top: 25px; }
.secondary-story { max-width: 730px; padding: 24px 0; border-top: 1px solid var(--color-line); }
.secondary-story h2 { margin: 8px 0; font-size: 26px; }

/* Details */
.detail-page { padding: 0 var(--gutter); }
.detail-page > .back-link { margin-bottom: 25px; }
.place-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 42px; align-items: center; }
.place-hero h1 { margin: 13px 0 16px; }
.detail-deck { max-width: 670px; color: #3a5159; font-size: clamp(18px,2vw,23px); line-height: 1.5; }
.place-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.place-image { min-height: 290px; height: 340px; background: #e1e9e5; }
.place-image img { width: 100%; height: 100%; object-fit: cover; }
.photo-empty { height: 100%; display: grid; place-items: center; padding: 30px; color: #52656a; font-size: 13px; text-align: center; }
.closed-banner { display: inline-block; margin: 10px 0 0; padding: 6px 9px; border: 1px solid var(--color-coral); color: #9b402b !important; font-size: 12px; font-weight: 800; }
.state-message { margin: 20px 0 0; padding: 12px 16px; border-left: 3px solid var(--color-coral); background: #f1e4dc; font-size: 14px; }
.detail-columns { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(260px,.6fr); gap: 70px; margin-top: 54px; }
.text-section { padding: 25px 0; border-top: 1px solid var(--color-line); }
.text-section h2 { margin: 6px 0 9px; font-size: 27px; }
.text-section p { max-width: 640px; }
.fact-panel { align-self: start; padding: 24px; background: #e1e9e5; }
.fact-panel h2 { font-size: 23px; }
.fact-panel dl, .compare-grid dl { margin: 0; }
.fact-panel dl > div, .compare-grid dl > div { display: grid; grid-template-columns: minmax(110px,.45fr) minmax(0,1fr); gap: 10px; padding: 12px 0; border-top: 1px solid #bfd0ce; }
.fact-panel dt, .compare-grid dt { color: #536269; font-size: 12px; font-weight: 800; }
.fact-panel dd, .compare-grid dd { margin: 0; font-size: 13px; }
.fact-panel .source-line { margin: 18px 0; }
.fact-panel .text-link { margin-top: 5px; }
.guide-hero { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 32px; align-items: center; }
.guide-hero h1 { margin: 12px 0 15px; }
.guide-hero > img { width: 100%; height: 330px; object-fit: cover; }
.guide-note { max-width: 520px; font-size: 13px; }
.guide-layout { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(250px,.6fr); gap: 52px; margin: 48px 0 24px; }
.map-panel { align-self: start; padding: 18px; border: 1px solid var(--color-line); background: white; }
.map-panel p { margin: 12px 0 0; font-size: 12px; }
.map-art { position: relative; height: 250px; margin-top: 12px; overflow: hidden; background-color: #e1e9e5; background-image: linear-gradient(100deg,transparent 48%,#c4d1cb 49%,#c4d1cb 52%,transparent 53%),linear-gradient(15deg,transparent 44%,#d0dad5 45%,#d0dad5 48%,transparent 49%),linear-gradient(155deg,transparent 55%,#d0dad5 56%,#d0dad5 59%,transparent 60%); }
.map-line { position: absolute; top: 46%; left: 15%; width: 70%; height: 3px; background: var(--color-coral); transform: rotate(-25deg); }
.map-pin { position: absolute; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--color-ink); color: white; font: 800 12px var(--font-latin); }
.pin-one { left: 18%; top: 58%; }.pin-two { left: 49%; top: 42%; }.pin-three { left: 75%; top: 24%; }
.map-failed { display: grid; place-items: center; min-height: 210px; margin-top: 12px; padding: 20px; border: 1px dashed #9fb2ad; background: #e1e9e5; font-size: 14px; text-align: center; }
.compare-page .page-intro { padding-top: 0; }
.compare-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.compare-grid article { padding: 26px; border-top: 4px solid var(--color-ink); background: white; }
.compare-grid article:nth-child(2) { border-color: var(--color-coral); }
.compare-id { color: var(--color-coral); font: 800 11px var(--font-latin); letter-spacing: .1em; }
.compare-grid h2 { min-height: 75px; margin: 13px 0 10px; font-size: clamp(23px,3vw,32px); }
.compare-grid .button-link { margin-top: 22px; }
.comparison-take { max-width: 760px; margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--color-coral); background: #e1e9e5; }
.comparison-take p { margin: 8px 0 0; }
.article-page > header { max-width: 800px; padding-bottom: 27px; }
.article-page > header h1 { margin: 10px 0 15px; }
.article-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(230px,.5fr); gap: 80px; }
.article-body { max-width: 690px; }
.article-body > p { margin-bottom: 24px; color: #2e454e; font-size: 18px; line-height: 1.7; }
.article-body > .article-lead { font-size: 20px; font-weight: 700; }
.correction-box { margin: 35px 0; padding: 20px 22px; border-left: 3px solid var(--color-coral); background: #f1e4dc; }
.correction-box h2, .article-source h2 { font-size: 19px; }
.correction-box p { margin: 0; font-size: 14px; }
.article-source { margin-top: 35px; padding-top: 18px; border-top: 1px solid var(--color-line); }
.article-source p { margin-bottom: 6px; font-size: 13px; }
.article-aside { align-self: start; padding-top: 18px; border-top: 3px solid var(--color-ink); }
.article-aside h2 { margin: 10px 0; font-size: 23px; }
.aside-divider { height: 1px; margin: 26px 0; background: var(--color-line); }
.story-page figure { margin: 0 0 35px; }
.story-page figure img { display: block; width: 100%; max-height: 520px; object-fit: cover; object-position: 50% 44%; }
.story-page figcaption { margin-top: 6px; color: #536269; font-size: 11px; }
.story-byline { display: flex; flex-wrap: wrap; gap: 5px 22px; font-size: 12px; font-weight: 700; }
.share-button { min-height: 44px; padding: 8px 12px; border: 1px solid var(--color-ink); border-radius: 5px; background: transparent; color: var(--color-ink); cursor: pointer; font-size: 13px; font-weight: 800; }

/* Town and contribution */
.town-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.town-card { min-height: 150px; display: grid; grid-template-columns: 1fr auto; align-content: space-between; gap: 2px; padding: 17px; border: 1px solid var(--color-line); background: white; color: var(--color-ink); cursor: pointer; text-align: left; }
.town-card[aria-pressed="true"] { border: 2px solid var(--color-coral); }
.town-card span:first-child { grid-column: 1 / -1; color: var(--color-coral); font: 800 11px var(--font-latin); }
.town-card strong { grid-column: 1 / -1; font-size: 22px; }
.town-card small { align-self: end; color: #526369; font-size: 11px; }
.town-card span:last-child { align-self: end; }
.correction-page .page-intro { padding-top: 5px; }
.correction-form { max-width: 740px; padding: 24px; background: white; }
.form-context { display: flex; gap: 10px; justify-content: space-between; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid var(--color-line); font-size: 13px; }
.correction-form label { display: block; margin-bottom: 5px; font-size: 14px; font-weight: 800; }
.correction-form p { margin-bottom: 12px; font-size: 12px; }
.correction-form textarea, .correction-form input { width: 100%; min-height: 45px; padding: 10px; border: 1px solid #8da09f; border-radius: 4px; background: white; color: var(--color-ink); }
.correction-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; margin: 20px 0; }
.method-page { max-width: 1140px; padding: 0 var(--gutter); }
.method-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(250px,.65fr); gap: 55px; }
.method-rule { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 13px; padding: 23px 0; border-top: 1px solid var(--color-line); }
.method-rule h2 { margin: 0 0 8px; font-size: 25px; }
.method-rule p { max-width: 600px; margin: 0; }
.method-example { align-self: start; padding: 23px; border-top: 3px solid var(--color-coral); background: white; }
.method-example h2 { margin: 10px 0 16px; font-size: 23px; }
.method-example p { margin: 18px 0; padding-top: 15px; border-top: 1px solid var(--color-line); font-size: 13px; }
.method-status { margin-top: 40px; }
.method-status h2 { margin-bottom: 18px; font-size: 24px; }
.method-status > div { display: grid; grid-template-columns: minmax(160px,.3fr) minmax(0,1fr); gap: 14px; padding: 12px 0; border-top: 1px solid var(--color-line); }
.method-status span { font-size: 13px; font-weight: 800; }
.method-status p { margin: 0; font-size: 13px; }
.toast { position: fixed; z-index: 50; right: 18px; bottom: 18px; max-width: min(350px,calc(100vw - 36px)); padding: 12px 16px; border-left: 4px solid var(--color-coral); background: var(--color-ink); color: white; box-shadow: 0 6px 25px #18323b44; font-size: 13px; }

@media (max-width: 950px) {
  .lab-layout { grid-template-columns: 190px minmax(0,1fr); }
}
@container preview (max-width: 950px) {
  .product-primary-nav { gap: 10px; }
  .product-header { gap: 15px; }
  .product-logo strong { font-size: 16px; }
  .utility-label { display: none; }
  .home-feed { gap: 34px 24px; }
  .explore-split, .category-layout, .guide-layout { gap: 25px; }
}
@media (max-width: 680px) {
  .lab-header { padding: 10px 14px; }
  .lab-layout { display: block; }
  .lab-sidebar { padding: 15px 10px; }
  .lab-sidebar-head { padding-bottom: 6px; }
  .lab-sidebar-head p, .lab-screen-note { display: none; }
  .screen-list { display: flex; overflow-x: auto; gap: 4px; }
  .screen-list p { display: none; }
  .screen-list a { flex: none; white-space: nowrap; }
  .lab-state-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 3px 12px; margin: 9px 4px 0; padding-top: 6px; }
  .lab-state-controls h2 { margin: 0; }
  .lab-main { padding: 12px 8px 25px; }
  .lab-stage { justify-content: flex-start; }
  .lab-sample { flex-basis: 100%; margin-left: 0; }
}
@container preview (max-width: 700px) {
  .product-shell { --gutter: 16px; }
  .product-header { min-height: 60px; justify-content: space-between; }
  .product-logo img { width: 28px; height: 28px; }
  .product-logo strong { font-size: 18px; }
  .product-primary-nav { display: none; }
  .utility-link { padding: 6px 8px; }
  .product-bottom-nav { position: sticky; z-index: 20; bottom: 0; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--color-line); background: #fff; }
  .product-bottom-nav a { min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: #526269; font-size: 10px; font-weight: 800; text-decoration: none; }
  .product-bottom-nav a span { font: 700 20px var(--font-latin); line-height: 1; }
  .product-bottom-nav a[aria-current] { color: var(--color-coral); box-shadow: inset 0 3px var(--color-coral); }
  .product-footer { display: block; margin-top: 40px; padding: 24px var(--gutter); }
  .product-footer p { margin: 10px 0 16px; }
  .product-footer div:last-child { flex-direction: row; gap: 18px; }
  .page-intro { padding: 33px 0 23px; }
  .page-intro h1 { font-size: 34px; }
  .page-intro p { font-size: 16px; }
  .home-hero { display: flex; flex-direction: column-reverse; }
  .home-photo { min-height: 170px; height: 190px; }
  .home-hero > div:first-child { padding: 25px var(--gutter) 28px; }
  .home-hero h1 { margin: 8px 0 10px; font-size: 36px; }
  .home-hero p { margin-bottom: 0; font-size: 15px; }
  .home-hero-actions { margin-top: 18px; }
  .home-feed { display: block; padding-top: 30px; }
  .home-feed > section { margin-bottom: 35px; }
  .feed-place { padding-top: 0; }
  .lead-update { padding: 18px; }
  .lead-update h2 { font-size: 27px; }
  .lead-update p { font-size: 15px; }
  .category-chip { min-width: 170px; min-height: 65px; }
  .category-scroll li { flex-basis: 170px; }
  .guide-feature { display: block; }
  .guide-feature .image-link { aspect-ratio: 1.5; min-height: 0; }
  .guide-feature > div { padding: 20px; }
  .guide-feature h2 { font-size: 25px; }
  .story-feature, .story-feature-lead { display: block; padding-top: 0; }
  .story-feature-copy { padding: 17px 0 0; }
  .story-feature h2 { font-size: 26px; }
  .explore-header { padding-bottom: 24px; }
  .search-form input { min-height: 48px; }
  .search-form button { min-height: 48px; min-width: 70px; }
  .explore-split, .category-layout, .updates-layout, .place-hero, .detail-columns, .guide-hero, .guide-layout, .article-layout { display: block; }
  .explore-aside, .category-layout aside { margin-top: 32px; }
  .updates-aside { padding-top: 25px; }
  .brief-row { grid-template-columns: 25px minmax(0,1fr) 25px; }
  .brief-row h2 { font-size: 23px; }
  .place-hero { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 24px; }
  .place-image { height: 220px; min-height: 0; }
  .place-hero h1 { font-size: 35px; }
  .detail-deck { font-size: 17px; }
  .detail-columns { margin-top: 32px; }
  .fact-panel { margin-top: 20px; }
  .guide-hero { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 20px; }
  .guide-hero > img { height: 220px; }
  .guide-hero h1 { font-size: 34px; }
  .guide-layout { margin-top: 32px; }
  .map-panel { margin-top: 25px; }
  .map-art { height: 190px; }
  .compare-grid { gap: 10px; }
  .compare-grid article { padding: 15px; }
  .compare-grid h2 { min-height: 75px; font-size: 21px; }
  .compare-grid dl > div { display: block; }
  .compare-grid dd { margin-top: 4px; }
  .article-page > header h1 { font-size: 36px; }
  .article-body > p { font-size: 17px; }
  .article-aside { margin-top: 30px; }
  .story-page figure img { max-height: 310px; }
  .town-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .town-card { min-height: 135px; padding: 13px; }
  .town-card strong { font-size: 19px; overflow-wrap: anywhere; }
  .form-row { grid-template-columns: 1fr; }
  .method-grid { display: block; }
  .method-example { margin-top: 25px; }
  .method-status > div { grid-template-columns: 1fr; gap: 4px; }
}
@container preview (max-width: 365px) {
  .product-logo strong { font-size: 16px; }
  .product-utilities { gap: 4px; }
  .utility-link { padding: 6px; font-size: 11px; }
  .home-hero h1 { font-size: 34px; }
  .section-heading h2 { font-size: 22px; }
  .compare-grid { display: block; }
  .compare-grid article + article { margin-top: 12px; }
  .compare-grid h2 { min-height: 0; }
  .search-form button { min-width: 65px; padding: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .image-link img { transition: none; }
}
