/* España decide · lenguaje visual iOS con la identidad cálida de Sunsetly. */
@media screen {
  :root {
    --bg: #0b0b10;
    --panel: #1b1a22;
    --panel2: #26232e;
    --ink: #f5f5f7;
    --muted: #b9b7c4;
    --line: rgba(255,255,255,.12);
    --amber: #f7c38b;
    --coral: #ff9b89;
    --radius: 28px;
    --glass: rgba(29,28,35,.86);
    --surface: linear-gradient(145deg,rgba(43,39,51,.93),rgba(25,24,32,.96));
    --shadow: 0 18px 50px -30px #000b, inset 0 1px rgba(255,255,255,.07);
    background: var(--bg);
    overflow-x: clip;
    scroll-padding-top: 115px;
  }
  body {
    background: radial-gradient(ellipse 70% 600px at 90% 2%,#b86a3420,transparent),radial-gradient(ellipse 65% 800px at 5% 14%,#7c40711a,transparent),var(--bg);
    font-family: Inter,-apple-system,BlinkMacSystemFont,'SF Pro Display','Segoe UI',sans-serif;
    font-feature-settings: 'cv05' 1,'cv08' 1,'cv11' 1,'ss03' 1,'calt' 1;
    -webkit-font-smoothing: antialiased;
    padding-top: 16px;
  }
  h1,h2,h3,h4 { font-weight: 650; letter-spacing: -.045em; }
  h1 { font-weight: 740; }
  section { scroll-margin-top: 0; }
  a,button,input,select,summary { -webkit-tap-highlight-color: transparent; }
  button,.quiet,.primary,select { min-height: 44px; }
  input { font-size: 16px!important; }
  button,.quiet,.primary { transition: transform .18s ease,background .18s ease,border-color .18s ease; }
  button:active,.quiet:active,.primary:active { transform: scale(.98); }
  .primary:hover,.party-card:hover { transform: none; }
  .primary { background: linear-gradient(115deg,#f7cc97,#ff9b89); color: #2a160f; box-shadow: 0 6px 25px -10px #ef9b5866,inset 0 1px #fff6; }
  .quiet { background: #ffffff05; border-color: #ffffff20; }
  .eyebrow { letter-spacing: .13em; font-size: 11px; }
  .header {
    width: min(1320px,calc(100% - 48px)); height: 74px; margin: 0 auto;
    top: 16px; padding: 0 20px; border: 1px solid var(--line); border-radius: 26px;
    background: #1c1c22; box-shadow: var(--shadow); gap: 18px;
  }
  @supports(backdrop-filter:blur(1px)) {
    .header,.mobile-dock { background: var(--glass); backdrop-filter: blur(28px) saturate(165%); -webkit-backdrop-filter: blur(28px) saturate(165%); }
  }
  .brand-mark { width: 42px; height: 42px; border-radius: 14px; box-shadow: inset 0 1px #fff8; }
  .brand { font-size: 16px; }
  .brand-sub { font-size: 9px; letter-spacing: .13em; }
  .header nav { gap: 3px; }
  .header nav a { display: flex; align-items: center; padding: 10px 15px; min-height: 44px; border-radius: 16px; transition: background .18s ease; }
  .header nav a[aria-current="location"] { background: #ffffff0e; color: var(--ink); }
  .reading-progress { position: absolute; height: 2px; left: 28px; right: 28px; bottom: -1px; overflow: hidden; border-radius: 2px; pointer-events: none; }
  .reading-progress span { display: block; width: 100%; height: 100%; transform: scaleX(var(--progress,0)); transform-origin: left; background: linear-gradient(90deg,var(--amber),var(--coral)); }
  .header-guide { padding: 10px 18px; font-size: 12px; white-space: nowrap; }
  .hero { padding-top: 72px; padding-bottom: 62px; min-height: 655px; }
  .hero h1 { font-size: clamp(68px,6.7vw,100px); font-weight: 740; letter-spacing: -.065em; line-height: 1.04; }
  .hero .eyebrow { display: inline-flex; align-items: center; padding: 9px 12px; border-radius: 999px; border: 1px solid #f7c38b28; background: #f7c38b07; font-size: 10px; letter-spacing: .09em; }
  .hero-intro { font-size: 17px; line-height: 1.7; max-width: 445px; }
  .hero-actions { font-size: 14px; }
  .hero-meta { gap: 8px; }
  .hero-meta span { padding: 7px 11px; border-radius: 10px; background: #ffffff06; font-size: 11px; border: 1px solid #ffffff08; }
  .hero-meta span+span:before { content: none; }
  .hero-visual { --light-x: 50%; --light-y: 48%; background: radial-gradient(ellipse at var(--light-x) var(--light-y),#eeb07027,transparent 67%); border-radius: 42px; }
  .floating-card { background: linear-gradient(150deg,#38313ef5,#211d2cf5); border-radius: 28px; box-shadow: 0 25px 65px #0008,inset 0 1px #ffffff13; border-color: #ffe1b72e; }
  .floating-card strong { font-weight: 620; font-size: 27px; }
  .floating-card .mini-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: #f7c38b10; border: 1px solid #f7c38b15; margin-bottom: 13px; }
  .floating-card .mini-icon svg { width: 26px; height: 26px; }
  .floating-card:hover { transform: translateY(-10px) rotate(0)!important; }
  .card-number { font-size: 9px; letter-spacing: .08em; }
  .visual-caption { top: -8px; font-size: 9px; letter-spacing: .17em; }
  .visual-foot { font-size: 11px; }
  .provenance { border-radius: 24px; padding: 23px 26px; background: linear-gradient(115deg,#f7c38b0c,#f7c38b03); border-color: #f7c38b27; }
  .provenance-badge { font-size: 10px; }
  .provenance p { line-height: 1.7; }
  .quick-nav { gap: 10px; margin-top: 18px; }
  .quick-nav a { padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #ffffff03; font-size: 13px; }
  .quick-nav span { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 9px; background: #f7c38b12; margin-right: 5px; font-size: 10px; }
  .section { padding-top: 96px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-weight: 650; line-height: 1.08; }
  .section-head p { line-height: 1.7; }
  .system-card,.party-card,.compare-card,.time-card,.requirements,.downloads,.faq-item,.guide-transcript,.source-intro article {
    background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow);
  }
  .system-card { padding: 32px; }
  .system-number { font-weight: 650; }
  .system-card h3 { font-size: 28px; }
  .paper-chip { border-radius: 10px; }
  .government-flow { background: #ffffff03; border-radius: 24px; }
  .segmented { padding: 4px; border-radius: 16px; background: #ffffff07; border-color: #ffffff08; gap: 3px; }
  .segmented button { border-radius: 12px; padding: 9px 17px; font-size: 13px; }
  .segmented button.active { background: linear-gradient(135deg,#4b3d42,#38313d); border: 1px solid #ffffff19; box-shadow: 0 3px 10px #0004,inset 0 1px #fff1; }
  .toolbar { padding: 14px; border-radius: 24px; background: #ffffff04; border: 1px solid var(--line); }
  .search { border-radius: 15px; background: #09090d66; padding: 12px 15px; min-height: 48px; border-color: #ffffff16; }
  .territory-filter select { background: #09090d66; border-radius: 15px; font-size: 14px; min-height: 48px; }
  .scope-filters { padding: 3px; border-radius: 15px; background: #ffffff05; gap: 2px; }
  .scope-filters button { border-radius: 12px; padding: 9px 12px; }
  .scope-filters button.active { background: #ffffff0c; }
  .party-grid { gap: 18px; }
  .party-card { padding: 27px; }
  .party-card:before { left: 28px; width: 34px; height: 3px; opacity: .9; }
  .party-card:hover { border-color: #ffffff30; }
  .party-logo { border-radius: 15px; width: 82px; height: 62px; padding: 9px 10px; box-shadow: 0 3px 9px #0002; }
  .party-name { font-size: 28px; font-weight: 650; }
  .party-scope { font-size: 12px; }
  .party-card p { font-size: 14px; line-height: 1.75; }
  .card-tags { gap: 6px; }
  .card-tags span { background: #ffffff04; border-color: #ffffff12; border-radius: 8px; padding: 5px 8px; font-size: 11px; }
  .party-reference { font-size: 11px; }
  .party-card-actions { gap: 8px; }
  .card-link { min-height: 44px; font-size: 13px; }
  .add-compare { min-height: 44px; padding: 8px 12px; font-size: 11px; border-radius: 13px; background: #f7c38b09; border-color: #f7c38b1e; }
  .map-help,.map-shell { border-radius: 24px; }
  .map-pin { min-height: 44px; min-width: 44px; border-radius: 12px; }
  .compare-section { border-block: 0; background: radial-gradient(ellipse 60% 550px at 100% 0,#b76e3520,transparent),linear-gradient(135deg,#19151fb3,#111116); padding-block: 72px; margin-top: 76px; }
  .comparison-slots { gap: 12px; }
  .comparison-slot { padding: 20px 20px 16px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); gap: 8px 12px; min-height: 124px; }
  .comparison-slot:before { content: ''; position: absolute; top: 0; left: 22px; width: 26px; height: 2px; border-radius: 2px; background: var(--party,var(--amber)); }
  .comparison-slot .party-logo { border-radius: 12px; height: 50px; width: 60px; grid-row: 1; }
  .slot-number { top: 10px; right: 15px; font-size: 10px; }
  .slot-name { align-self: center; padding-right: 4px; }
  .slot-name strong { font-size: 17px; font-weight: 650; }
  .slot-name small { font-size: 10px; line-height: 1.4; }
  .slot-change { grid-column: 1/3; border-radius: 10px; background: #ffffff05; padding: 0 14px; font-size: 12px; min-height: 44px; }
  .slot-remove { bottom: 15px; right: 10px; width: 44px; height: 44px; font-size: 23px; }
  .empty-slot { min-height: 124px; border-style: dashed; box-shadow: none; background: #ffffff03; }
  .selection-status { margin-block: 15px 24px; }
  .compare-tools { max-width: 370px; }
  .compare-tools .quiet { font-size: 12px; }
  .comparison-toolbar { padding-bottom: 24px; }
  .comparison-layout { grid-template-columns: 190px minmax(0,1fr); gap: 22px; }
  .topic-sidebar { top: 116px; padding: 16px 10px; border: 1px solid var(--line); border-radius: 24px; background: #ffffff03; }
  .topic-sidebar>.eyebrow { padding-inline: 6px; font-size: 9px; }
  .topic-tabs { gap: 4px; }
  .topic-button { padding: 12px 10px; border-radius: 14px; font-size: 12px; gap: 10px; min-height: 48px; }
  .topic-button.active,.topic-button.active:hover { background: linear-gradient(120deg,#f7c38b,#ffa48d); color: #29160f; box-shadow: inset 0 1px #fff5; }
  .topic-button svg { width: 20px; height: 20px; }
  .topic-context { padding: 24px; border-radius: 25px; border: 1px solid var(--line); background: #ffffff03; }
  .topic-context h3 { font-size: 30px; font-weight: 620; }
  .topic-context .eyebrow { margin-bottom: 13px; }
  .topic-context p { font-size: 14px; }
  .competence { padding: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; margin-top: 16px; }
  .competence summary { padding-top: 15px; min-height: 44px; font-size: 13px; }
  .legend { flex-wrap: wrap; gap: 8px 12px; }
  .legend span { border: 1px solid #ffffff0d; border-radius: 9px; background: #ffffff04; padding: 6px 8px; font-size: 10px; }
  .comparison { gap: 12px; }
  .compare-card { padding: 22px 17px; border-radius: 23px; position: relative; }
  .compare-card:before { content: ''; position: absolute; top: 0; left: 21px; width: 32px; height: 3px; border-radius: 2px; background: var(--party); }
  .compare-card h4 { font-weight: 650; font-size: 22px; }
  .compare-party { display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; min-height: 82px; padding-bottom: 12px; margin-bottom: 0; }
  .compare-party .party-logo { width: 56px; height: 46px; border-radius: 12px; padding: 7px; }
  .base-label { font-size: 11px; line-height: 1.4; }
  .compare-row-label { font-size: 9px; padding-block: 12px; margin-bottom: 0; }
  .compare-card .measure-text { font-size: 14px; line-height: 1.75; min-height: 145px; color: var(--ink); margin-bottom: 12px; }
  .measure-tags { gap: 5px; align-content: start; padding-bottom: 12px; margin-bottom: 0; }
  .measure-tags span { border-radius: 8px; font-size: 10px; padding: 5px 7px; }
  .mechanism { border-top: 1px solid var(--line); padding-block: 12px; }
  .mechanism summary { min-height: 44px; font-size: 12px; line-height: 1.6; display: list-item; }
  .mechanism p { font-size: 13px; line-height: 1.7; }
  .compare-source { gap: 12px; padding-top: 14px; }
  .compare-source>a { font-size: 11px; line-height: 1.6; display: block; overflow-wrap: anywhere; }
  .compare-source button { font-size: 12px; }
  .table-scroll { border-radius: 24px; border-color: var(--line); scrollbar-color: #665361 #191720; }
  #matrix thead th { background: #26222e; }
  #matrix th:first-child { background: #1c1923; }
  #matrix th,#matrix td { padding: 22px; }
  #matrix .measure-text { font-size: 14px; line-height: 1.75; }
  .method-note { border-radius: 20px; line-height: 1.8; }
  .time-card { padding: 25px; }
  .time-card .date { font-size: 24px; font-weight: 600; }
  .time-card h3 { font-size: 17px; line-height: 1.4; }
  .time-card p { font-size: 14px; }
  .time-card a { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
  .info-line { border-radius: 18px; padding: 20px 24px; line-height: 1.8; background: #ffffff04; }
  .requirements { padding: 30px; }
  .requirements strong { font-size: 17px; line-height: 1.5; font-weight: 600; }
  .requirements p { font-size: 14px; line-height: 1.7; }
  .vote-steps { padding: 6px 0; }
  .vote-steps article { padding: 24px 8px; }
  .vote-steps article>b { border-radius: 14px; width: 44px; height: 44px; background: #f7c38b10; border-color: #f7c38b22; font-weight: 500; }
  .vote-steps h3 { font-size: 22px; font-weight: 600; }
  .vote-steps p { font-size: 15px; line-height: 1.75; }
  .envelope { border-radius: 24px; }
  .mail-deadlines>div { border-radius: 24px; }
  .mail-deadlines strong { font-weight: 600; }
  .guide-nav { gap: 8px; }
  .guide-nav button { border-radius: 14px; min-height: 48px; }
  .guide-nav button.active { background: #44343a; border-color: #f7c38b44; color: var(--ink); }
  .guide-stage { border-radius: 26px; box-shadow: var(--shadow); background: #17151d; }
  .guide-stage-controls { padding: 18px; }
  .guide-transcript { padding: 24px; margin-top: 16px; }
  .guide-transcript summary,.all-sources summary { min-height: 44px; align-content: center; font-size: 16px; }
  .faq-item { padding: 22px 25px; }
  .faq-item summary { min-height: 44px; font-size: 17px; font-weight: 500; line-height: 1.5; align-content: center; }
  .faq-item[open] { border-color: #f7c38b33; }
  .faq-item p { font-size: 15px; line-height: 1.8; }
  .glossary-list article { padding: 24px; border: 1px solid var(--line); border-radius: 24px; background: #ffffff03; }
  .glossary-list h3 { font-size: 23px; }
  .glossary-list p { font-size: 14px; line-height: 1.75; }
  .source-intro article { padding: 26px; }
  .source-intro h3 { font-size: 23px; }
  .source-intro p { font-size: 14px; line-height: 1.8; }
  .all-sources { border-radius: 23px; padding: 20px 24px; background: #ffffff03; }
  .source-row { padding-block: 19px; }
  .downloads { padding: 30px; }
  .download-actions .quiet { min-height: 44px; font-size: 12px; }
  dialog { background: #1b1923; border-radius: 32px; border-color: #ffffff26; padding: 40px; box-shadow: 0 40px 160px #000c,inset 0 1px #fff1; max-height: 90dvh; }
  dialog::backdrop { background: #050508aa; backdrop-filter: blur(12px); }
  .dialog-close { position: sticky; float: right; top: 0; right: auto; margin: -18px -18px -44px 0; width: 44px; height: 44px; background: #2e2a35; border-color: #ffffff12; font-size: 25px; z-index: 2; }
  .modal-header h2 { color: var(--ink); font-weight: 650; }
  .modal-identity .party-logo { border-radius: 21px; }
  .document-badge { border-radius: 10px; }
  .modal-summary { font-size: 17px; line-height: 1.8; }
  .modal-two { gap: 18px; }
  .modal-two>div { border: 1px solid var(--line); border-radius: 23px; padding: 24px; background: #ffffff03; }
  .modal-two h3 { font-size: 18px; font-weight: 600; line-height: 1.3; }
  .modal-two ol,.modal-two p { font-size: 14px; line-height: 1.8; }
  .modal-section-title { font-size: 25px; font-weight: 600; }
  .modal-measures article { padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: #ffffff03; }
  .modal-measures h4 { font-size: 16px; line-height: 1.4; }
  .modal-measures p { font-size: 14px; line-height: 1.8; }
  .modal-footnote { padding: 22px; border-radius: 22px; background: #ffffff03; font-size: 13px; line-height: 1.8; }
  .select-option { border-radius: 19px; padding: 15px; background: #ffffff04; min-height: 94px; }
  .select-option:hover { border-color: #ffffff40; background: #ffffff08; }
  .select-option .party-logo { border-radius: 13px; }
  .select-option strong { font-weight: 600; }
  .select-check { font-size: 10px; }
  #select-dialog .eyebrow { padding-right: 45px; }
  #select-dialog h2 { font-weight: 650; font-size: 34px; }
  .mobile-dock { display: none; }
}
@media screen and (max-width:1050px) {
  .header { width: calc(100% - 32px); padding-inline: 16px; gap: 8px; }
  .header nav a { padding-inline: 10px; font-size: 12px; }
  .header-guide { display: none; }
  .compare-party .party-logo { width: 57px; height: 45px; }
  .comparison-layout { grid-template-columns: 170px minmax(0,1fr); gap: 16px; }
  .compare-card { padding-inline: 14px; }
  .quick-nav { grid-template-columns: repeat(3,1fr); }
}
@media screen and (min-width:761px) and (max-width:1050px) {
  .comparison { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .comparison-slot .party-logo { width: 47px; height: 42px; }
  .comparison-slot { padding-inline: 13px; gap: 8px; }
  .slot-name strong { font-size: 15px; }
  .slot-change { padding-inline: 10px; }
  .slot-remove { right: 3px; }
}
@media screen and (max-width:760px) {
  :root { scroll-padding-top: 88px; }
  body { padding-top: 10px; padding-bottom: calc(95px + env(safe-area-inset-bottom)); }
  .header { height: 62px; top: 10px; width: calc(100% - 24px); padding-inline: 13px; border-radius: 21px; }
  .brand { font-size: 14px; gap: 10px; }
  .brand-mark { width: 37px; height: 37px; border-radius: 12px; }
  .brand-sub { font-size: 8px; }
  .header .menu-toggle { display: inline-flex; min-height: 44px; padding: 8px 15px; font-size: 12px; background: #ffffff07; }
  .header nav.open { top: 71px; right: 0; left: 0; padding: 10px; border-radius: 23px; background: #211e29; border: 1px solid var(--line); box-shadow: 0 20px 60px #0009; }
  .header nav.open a { padding: 12px 15px; font-size: 14px; }
  .reading-progress { left: 21px; right: 21px; }
  .hero { min-height: 0; padding-top: 40px; padding-bottom: 32px; }
  .hero .eyebrow { font-size: 8px; letter-spacing: .07em; padding: 9px 10px; margin-bottom: 23px; }
  .hero h1 { font-size: clamp(58px,16.8vw,78px); line-height: 1.04; letter-spacing: -.065em; }
  .hero-intro { font-size: 16px; line-height: 1.75; margin-top: 23px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 25px; font-size: 14px; }
  .hero-actions a { min-height: 50px; }
  .hero-meta { margin-top: 20px; gap: 6px; }
  .hero-meta span { font-size: 10px; padding: 7px 9px; }
  .hero-visual { margin-top: 20px; height: 405px; width: 112%; margin-left: -6%; transform: scale(.75); transform-origin: center; }
  .fc1 { top: 54px; left: 0; }
  .fc2 { top: 20px; left: 30%; }
  .fc3 { top: 143px; left: 48%; }
  .ballot-object { bottom: 15px; left: 21%; }
  .visual-foot { bottom: -35px; left: 21%; }
  .visual-caption { top: -20px; left: 13%; }
  .provenance { display: block; padding: 23px; border-radius: 23px; }
  .provenance-badge { display: block; margin-bottom: 11px; }
  .provenance p { font-size: 14px; }
  .quick-nav { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .quick-nav a { font-size: 12px; padding: 13px; border-radius: 16px; }
  .quick-nav span { width: 24px; height: 24px; margin-right: 3px; }
  .section { padding-top: 72px; }
  .section-head h2 { font-size: 36px; }
  .section-head p { font-size: 15px; }
  .section-head .segmented { width: 100%; display: flex; margin-top: 22px; }
  .section-head .segmented button { flex: 1; }
  .system-grid { gap: 14px; }
  .system-card { padding: 25px; }
  .system-card h3 { font-size: 27px; }
  .government-flow { padding: 20px; border-radius: 23px; }
  .toolbar { padding: 12px; gap: 12px; border-radius: 23px; }
  .search { max-width: none; width: 100%; }
  .territory-filter { gap: 12px; width: 100%; font-size: 12px; }
  .territory-filter select { flex: 1; min-width: 0; }
  .scope-filters { width: 100%; }
  .scope-filters button { flex: 1; }
  .party-grid { grid-template-columns: 1fr; gap: 14px; }
  .party-card { padding: 25px; min-height: 0; }
  .party-card .party-top { gap: 17px; }
  .party-name { font-size: 30px; }
  .party-card p { font-size: 15px; }
  .party-card .party-logo { width: 83px; height: 63px; }
  .party-card-actions { gap: 10px; }
  .add-compare { font-size: 12px; padding-inline: 12px; }
  .card-link { font-size: 14px; }
  .map-pin { font-size: 10px; padding: 5px 7px; }
  .compare-section { padding-block: 50px; margin-top: 40px; }
  .compare-tools { justify-content: flex-start; margin-top: 20px; gap: 6px; }
  .compare-tools .quiet { padding: 9px 13px; font-size: 11px; }
  .comparison-slots { gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .comparison-slot { padding: 20px 14px 14px; gap: 10px 8px; border-radius: 21px; min-height: 139px; }
  .comparison-slot .party-logo { width: 48px; height: 42px; padding: 6px; }
  .slot-number { font-size: 9px; top: 7px; right: 12px; }
  .slot-name strong { font-size: 15px; }
  .slot-name small { font-size: 9px; }
  .slot-change { min-height: 44px; padding-inline: 12px; font-size: 12px; }
  .slot-remove { right: 4px; bottom: 13px; }
  .selection-status { font-size: 12px; line-height: 1.7; }
  .comparison-toolbar { align-items: stretch; flex-direction: column; gap: 12px; margin-bottom: 20px; }
  .comparison-toolbar .segmented button { flex: 1; }
  .comparison-toolbar .text-link { align-self: flex-end; font-size: 12px; }
  .comparison-layout { display: block; }
  .topic-sidebar { position: static; border: 0; background: none; padding: 0; margin-bottom: 20px; }
  .topic-sidebar>.eyebrow { display: none; }
  .topic-tabs { display: flex; flex-direction: row; overflow-x: auto; padding: 3px 0 12px; gap: 7px; scrollbar-width: thin; }
  .topic-button { flex: 0 0 auto; width: auto; white-space: nowrap; min-height: 48px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 15px; font-size: 12px; background: #ffffff04; }
  .topic-context { padding: 22px; margin-bottom: 18px; border-radius: 23px; }
  .topic-context h3 { font-size: 26px; }
  .topic-context p { font-size: 14px; }
  .competence summary { font-size: 13px; }
  .legend { gap: 7px; margin-bottom: 18px; }
  .legend span { font-size: 10px; padding: 5px 7px; }
  .comparison { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 12px; padding-bottom: 15px; scroll-snap-type: x proximity; scrollbar-width: thin; }
  .compare-card { flex: 0 0 86%; display: flex; flex-direction: column; padding: 25px; border-radius: 26px; scroll-snap-align: start; }
  .compare-party { flex-wrap: nowrap; padding-bottom: 22px; }
  .compare-card h4 { font-size: 27px; }
  .compare-party .party-logo { width: 73px; height: 55px; }
  .compare-card .measure-text { font-size: 15px; min-height: 0; line-height: 1.8; }
  .compare-card .measure-tags { min-height: 65px; }
  .compare-source>a { font-size: 12px; }
  .compare-source button { font-size: 13px; }
  .mechanism { margin-top: auto; }
  .mechanism summary { font-size: 13px; }
  .method-note { padding: 20px; font-size: 13px; }
  .time-card { padding: 23px; border-radius: 23px; }
  .time-card h3 { font-size: 17px; }
  .time-card .date { font-size: 23px; }
  .info-line { padding: 21px; font-size: 14px; }
  .requirements { padding: 25px; border-radius: 25px; }
  .requirements strong { font-size: 16px; }
  .vote-steps article { padding: 24px 0; gap: 17px; }
  .vote-steps h3 { font-size: 23px; }
  .vote-steps p { font-size: 15px; }
  .senate-note { font-size: 14px; line-height: 1.75; }
  .mail-deadlines>div { padding: 23px 20px; }
  .mail-deadlines strong { font-size: 25px; }
  .guide-stage { border-radius: 21px; }
  .guide-stage-controls { padding: 13px; }
  .guide-stage-controls button { min-height: 44px; }
  .guide-nav button { font-size: 12px; }
  .guide-transcript { padding: 22px; border-radius: 23px; }
  .faq-item { padding: 20px 23px; border-radius: 23px; }
  .glossary-list { grid-template-columns: 1fr; gap: 12px; }
  .glossary-list article { padding: 23px; }
  .source-intro { gap: 12px; }
  .source-intro article { padding: 25px; }
  .downloads { padding: 25px; }
  dialog { margin: auto auto 0; width: 100%; max-height: 92vh; max-height: 92dvh; border-radius: 30px 30px 0 0; padding: 40px 24px calc(28px + env(safe-area-inset-bottom)); border-bottom: 0; }
  dialog:before { content: ''; position: absolute; top: 12px; left: calc(50% - 19px); width: 38px; height: 5px; border-radius: 5px; background: #ffffff25; pointer-events: none; }
  .dialog-close { top: 0; margin: -12px -6px -44px 0; }
  .modal-header h2 { font-size: 40px; }
  .modal-header { padding-right: 28px; }
  .modal-identity { gap: 14px; }
  .modal-identity .party-logo { width: 77px; height: 65px; border-radius: 17px; }
  .modal-summary { font-size: 16px; }
  .modal-two>div { padding: 23px; }
  .modal-measures article { padding: 22px; }
  .modal-measures h4 { font-size: 17px; }
  .modal-measures p { font-size: 15px; }
  .select-options { gap: 9px; }
  .select-option { padding: 16px; }
  .select-option>span:nth-child(2) { min-width: 0; }
  .select-check { font-size: 0; width: 22px; flex: 0 0 22px; }
  .select-check:after { content: '→'; font-size: 19px; color: var(--amber); }
  .select-check.checked:after { content: '✓'; }
  #select-dialog h2 { font-size: 30px; }
  #select-dialog .eyebrow { font-size: 9px; }
  #deck-dialog { padding: 37px 14px 25px; }
  .mobile-dock { display: grid; grid-template-columns: repeat(5,1fr); gap: 3px; position: fixed; z-index: 25; bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; right: 12px; padding: 7px; border: 1px solid #ffffff24; border-radius: 25px; background: #1c1c22; box-shadow: 0 10px 50px #000a,inset 0 1px #ffffff13; }
  .mobile-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 56px; border-radius: 18px; font-size: 10px; font-weight: 500; color: #c2bdcc; transition: background .18s ease; }
  .mobile-dock svg { width: 21px; height: 21px; }
  .mobile-dock a[aria-current="location"] { color: var(--amber); background: #f7c38b12; }
  .mobile-dock a:active { transform: scale(.97); }
  .footer { padding-bottom: 25px; }
}
@media screen and (max-width:360px) {
  .hero h1 { font-size: 58px; }
  .hero-meta span { font-size: 9px; padding-inline: 7px; }
  .comparison-slot { grid-template-columns: 1fr; }
  .comparison-slot .party-logo { display: none; }
  .slot-change { grid-column: 1; }
  .slot-remove { right: 4px; }
}
@media screen and (prefers-reduced-motion:reduce) {
  .floating-card:hover { transform: none!important; }
  button:active,.quiet:active,.primary:active,.mobile-dock a:active { transform: none; }
}
@media print { .mobile-dock,.reading-progress { display: none!important; } }
