/* Reading hierarchy shared by the atlas, news and constituency pages.
   Header, navigation and phone map rules live in ui.css (loaded after this file). */
.seat-jump-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 20px}
.seat-jump-nav a{min-height:44px;display:flex;align-items:center;padding:8px 14px;background:#fff;border:1px solid #dce5e7;border-radius:24px;font-size:13px;color:#173b49}
.seat-jump-nav a:hover{background:#eaf4f6}
.seat-page-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.result-context{font-size:12px;color:#526872;line-height:1.8;margin:8px 0}
.result-context summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}
.result-context summary::after{content:'+';margin-left:auto}
.result-context[open] summary::after{content:'−'}
.result-context p{margin:0 0 12px}
#seat-results,#seat-voters,#seat-news,#past-winners{scroll-margin-top:20px}
@media(max-width:700px){
  .container{padding-inline:16px}
  .simple-hero{padding-block:22px 12px}
  .simple-hero h1{font-size:25px;letter-spacing:-.7px;margin:0}
  .simple-hero>p:last-child{font-size:13px;margin:7px 0 0;color:#526872}
  .atlas-search{gap:8px}
  .atlas-search .search-box{background:#fff;border-color:#c8d9df;border-radius:10px}
  .favorites-panel{border:0;background:transparent;margin:6px 0 0;padding:0}
  .favorites-panel>summary{font-size:12px;padding:8px 0;min-height:40px}
  .favorites-panel[open]{background:#fff;border:1px solid #dce5e7;border-radius:10px;padding:0 12px;margin-bottom:10px}
  .mobile-map-guide{display:none}
  .atlas-shell{border:1px solid #cbdfe5;border-radius:14px;overflow:hidden;box-shadow:0 3px 12px #173b4906}
  .map-header{padding:14px 14px 0;min-height:40px;gap:6px}
  .map-header h2{font-size:13px}.map-badge{font-size:9px}
  .map-bottom{padding:10px 14px;min-height:44px}
  .map-bottom button{min-height:44px;font-size:11px}
  .atlas-caption{margin-bottom:16px;font-size:10px}.atlas-caption>span:last-child{display:none}
  .overview-shell{border:1px solid #dce5e7;border-radius:12px 12px 0 0;padding:18px 16px;gap:18px}
  .overview-total h2{color:#526872}.overview-total>strong{font-size:28px;color:#173b49}
  .overview-top{border-top:1px solid #e3eaec;padding-top:14px}
  .overview-top h3{font-size:13px}.ranked-seat{min-height:56px}
  .distribution-details{border:1px solid #dce5e7;border-top:0;border-radius:0 0 12px 12px}
  .news-section{margin:22px 0;border-top:0;border-radius:12px;padding:18px 16px;background:#fff;border:1px solid #dce5e7}
  .news-section h2{font-size:19px}.news-section>header>a{font-size:12px}.news-empty{font-size:13px;padding:14px 0 0;margin-bottom:0}
  .news-meta{font-size:11px;gap:4px 10px}.news-row h3{font-size:16px;line-height:1.55}.news-row:last-child{border:0;padding-bottom:0}
  .news-tags{gap:4px;font-size:11px}.news-tags a{min-height:44px}
  .home-offers{padding:16px;border:1px solid #dce5e7;border-radius:12px;background:#fff}.home-offers h2{font-size:18px}
  .archive-page{padding-top:14px}.archive-breadcrumb{min-height:36px;font-size:12px}
  .archive-hero{padding:14px 0 18px;margin-bottom:14px;border-bottom:0}
  .archive-hero h1{font-size:32px;letter-spacing:-.8px}.archive-hero .eyebrow{font-size:10px;margin-bottom:8px}
  .archive-hero>div>p:last-child:not(.eyebrow){margin:8px 0 0}
  .seat-page-hero{display:block}.seat-page-hero .eyebrow{display:none}.seat-page-actions{margin-top:14px;gap:8px}
  .seat-page-actions .outline-button{min-height:44px;padding:9px 12px;font-size:12px;border-radius:8px;background:#fff}
  .seat-page-actions .share-actions{margin:0;gap:8px}.seat-page-actions .share-copy{display:none}
  .seat-jump-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:16px}
  .seat-jump-nav a{justify-content:center;padding:8px 4px;font-size:12px;border-radius:8px}
  .archive-card,.archive-main{background:#fff;border:1px solid #dce5e7;border-radius:12px;padding:18px 16px;box-shadow:none}
  .archive-card h2{font-size:19px;margin:0 0 12px}.archive-card .eyebrow{margin:0 0 8px}
  .archive-main .results-explainer{font-size:12px;margin:10px 0;color:#526872}
  .result-summary{background:#edf4f6;border-radius:8px;padding:10px 12px;margin:12px 0;font-size:12px;justify-content:space-between}
  .result-summary strong{color:#173b49;font-size:15px}
  .result-table>.result-line{min-height:82px}.result-table .candidate-portrait{width:40px;height:50px}
  .result-columns,.result-line{grid-template-columns:minmax(0,1fr) 46px 62px;gap:8px}
  .result-columns{font-size:11px}.result-name{font-size:13px;line-height:1.4}.result-votes>strong{font-size:18px}
  .result-party .candidate-emblem img{width:30px;height:22px}
  .seat-sheet{height:96dvh;max-height:96dvh;background:#fff;border-radius:20px 20px 0 0}
  .seat-sheet-header{padding:6px 16px 12px;background:#eef6f8;border-bottom:1px solid #d6e6ec}
  .seat-sheet-header h2{font-size:24px;margin:0}.seat-sheet-header button{font-size:12px}
  .sheet-voters{margin-top:8px}.seat-sheet-content{padding:0 16px calc(24px + env(safe-area-inset-bottom))}
  #seat-sheet .parliament-line{padding-top:10px;font-size:12px}
  .seat-section-tabs{padding:10px 0 0;gap:0;border-bottom:1px solid #dce5e7}
  .seat-section-tabs button{font-size:14px;min-height:44px}.seat-section-tabs [aria-selected=true]{border-color:#d8ac00;background:transparent}
  #seat-sheet .map-history{margin:16px 0 0}#seat-sheet .map-history h4{font-size:17px;margin:0 0 6px}
  #seat-sheet .result-summary{background:#edf4f6;margin:10px 0;padding:10px 12px;font-size:12px}
  #seat-sheet .seat-tools{padding:12px 0;margin:0;display:flex;gap:8px;border-top:1px solid #dce5e7}
  #seat-sheet .seat-tools button{min-height:44px;font-size:12px;border-radius:8px}
  #seat-sheet #seat-history-panel>.share-actions{display:none}
  #seat-sheet .seat-permalink{border-color:#c8d9df;background:#eef6f8;border-radius:8px;color:#173b49}
  #seat-sheet .candidate-section{margin-top:12px}#seat-sheet .seat-preference-actions{margin-top:12px}
  .seat-winners{margin-top:14px}.seat-winners>summary{font-size:14px;min-height:48px}
  .archive-aside{gap:16px}.voter-reference>strong{font-size:32px}
  .site-footer{margin-top:32px;border-top:1px solid #dce5e7;padding-top:24px;padding-bottom:24px}
  .footer-top{gap:16px}.footer-top>div{gap:4px 16px}.footer-top a,.footer-top button{min-height:44px;display:inline-flex;align-items:center}
  .account-panel{margin-top:12px;padding:22px 18px;border:1px solid #dce5e7;border-radius:14px}
}
@media(max-width:359px){.result-table .candidate-portrait{width:32px;height:42px}.result-person{gap:6px}}
