/* RGN — build-sheet theme. Light only. See DESIGN.md. */
@font-face{font-family:"Russo One";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/russo-one-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Russo One";font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/russo-one-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sofia Sans Semi Condensed";font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/sofia-semi-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sofia Sans Semi Condensed";font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/sofia-semi-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Sofia Sans Semi Condensed";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/sofia-semi-italic-latin-ext.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Sofia Sans Semi Condensed";font-style:italic;font-weight:400;font-display:swap;src:url(/fonts/sofia-semi-italic-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

:root{
  --bg:#f7f8fa;
  --card:#ffffff;
  --ink:#15181d;
  --ink-2:#3a414b;
  --muted:#5b636e;
  --steel:#dfe3e8;
  --panel:#eceff3;
  --lime:#7aa61a;
  --lime-ink:#4a6610;
  --lime-tint:#eef4df;
  --radius:12px;
  --shadow:0 1px 2px rgba(21,24,29,.05),0 14px 34px -18px rgba(21,24,29,.22);
  --display:"Russo One",system-ui,sans-serif;
  --body:"Sofia Sans Semi Condensed",system-ui,-apple-system,"Segoe UI",sans-serif;
  color-scheme:light;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:16px}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--body);font-size:1.0625rem;line-height:1.55;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
h1,h2,h3{font-family:var(--display);font-weight:400;letter-spacing:0;line-height:1.12;margin:0}
.vh{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:8px 12px;border-radius:6px;z-index:10}
.skip:focus{left:8px}
:focus-visible{outline:2px solid var(--lime-ink);outline-offset:2px}

.wrap{max-width:1200px;margin:0 auto;padding:0 16px}
.wrap-narrow{max-width:760px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}
@media (min-width:700px){.wrap{padding:0 28px}}

/* masthead */
.masthead{background:var(--card);border-bottom:1px solid var(--steel)}
.masthead-in{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:64px;flex-wrap:wrap}
.wordmark{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-family:var(--display);font-size:1.6rem;line-height:1;color:var(--ink)}
.wordmark .chip{color:var(--ink);flex:none}
.nav{display:flex;gap:4px 20px;flex-wrap:wrap}
.nav a{text-decoration:none;font-weight:600;font-size:1rem;color:var(--ink-2);padding:6px 0;border-bottom:1px solid transparent}
.nav a:hover,.nav a[aria-current]{color:var(--ink);border-bottom-color:var(--ink)}
@media (max-width:520px){.masthead-in{padding-top:10px;padding-bottom:10px}.nav{gap:2px 16px}.nav a{font-size:.95rem}}

/* build sheet hero */
.sheet-hero{padding:40px 0 56px}
.sheet-grid{display:grid;gap:32px}
@media (min-width:1000px){.sheet-grid{grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:48px;align-items:start}}
.sheet-intro h1{font-size:clamp(2.1rem,4.2vw,3rem)}
.lead{font-size:1.2rem;line-height:1.5;color:var(--ink-2);margin:14px 0 0;max-width:46ch}
.lead em{font-style:italic}
.sheet-photo{margin:26px 0 0;border-radius:var(--radius);overflow:hidden;border:1px solid var(--steel);background:var(--panel)}
.sheet-photo img{aspect-ratio:3/2;object-fit:cover;width:100%}
@media (max-width:999px){.sheet-photo{display:none}}

.sheet{background:var(--card);border:1px solid var(--steel);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px;background:var(--panel);border-bottom:1px solid var(--steel)}
.tab{appearance:none;border:1px solid transparent;background:transparent;border-radius:8px;padding:10px 12px;text-align:left;cursor:pointer;color:var(--ink-2);font:inherit;display:flex;flex-direction:column;gap:2px;min-width:0}
.tab:hover{background:rgba(255,255,255,.7)}
.tab-name{font-family:var(--display);font-size:1.15rem;color:var(--ink);display:flex;align-items:center;gap:8px}
.tab-target{font-size:.88rem;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tab[aria-selected="true"]{background:var(--card);border-color:var(--steel);box-shadow:0 1px 3px rgba(21,24,29,.08)}
.tab[aria-selected="true"] .tab-name::after{content:"";width:8px;height:8px;border-radius:2px;background:var(--lime)}
@media (max-width:520px){.tab{padding:8px}.tab-name{font-size:1rem}.tab-target{font-size:.78rem;white-space:normal}}

.sheet-table{width:100%;border-collapse:collapse}
.sheet-table thead th{font-size:.85rem;font-weight:600;color:var(--muted);text-align:left;padding:12px 20px 8px}
.sheet-table tbody tr{border-top:1px solid var(--steel)}
.sheet-table th,.sheet-table td{vertical-align:top}
.c-part{text-align:left;padding:14px 12px 14px 20px;width:150px}
.part-short{display:block;font-family:var(--display);font-weight:400;font-size:1.1rem}
.part-long{display:block;font-size:.85rem;font-weight:500;color:var(--muted)}
.c-class{padding:14px 12px}
.c-class strong{display:block;font-size:1.08rem;font-weight:700;line-height:1.3}
.tv-note{display:block;color:var(--muted);font-size:.95rem;margin-top:2px}
.c-link{padding:14px 20px 14px 8px;text-align:right;white-space:nowrap}
.c-link a{font-weight:600;font-size:.95rem;color:var(--lime-ink);text-decoration:none}
.c-link a:hover{text-decoration:underline}
.tv{display:none}
.sheet[data-tier="belepo"] .tv[data-for="belepo"],
.sheet[data-tier="kozep"] .tv[data-for="kozep"],
.sheet[data-tier="csucs"] .tv[data-for="csucs"]{display:block}
.balance{display:flex;gap:14px;align-items:baseline;padding:16px 20px 18px;background:var(--lime-tint);border-top:1px solid var(--steel)}
.balance-h{font-family:var(--display);font-size:.95rem;color:var(--lime-ink);flex:none}
.balance p{margin:0;color:var(--ink-2)}
@media (max-width:640px){
  .sheet-table thead{display:none}
  .sheet-table,.sheet-table tbody{display:block}
  .sheet-table tbody tr{display:grid;grid-template-columns:1fr auto;padding:12px 16px;gap:4px 12px}
  .c-part,.c-class,.c-link{display:block;padding:0;width:auto}
  .c-part{display:flex;align-items:baseline;gap:8px}
  .c-class{grid-column:1 / -1;grid-row:2}
  .c-link{grid-column:2;grid-row:1}
  .balance{flex-direction:column;gap:4px;padding:14px 16px}
}

/* bottleneck */
.bottleneck{background:var(--panel);border-top:1px solid var(--steel);border-bottom:1px solid var(--steel);padding:48px 0}
.bn-grid{display:grid;gap:28px}
@media (min-width:900px){.bn-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:56px;align-items:center}}
.bn-text h2{font-size:clamp(1.8rem,3vw,2.3rem)}
.bn-text p{margin:12px 0 0;max-width:56ch;color:var(--ink-2)}
.more{font-weight:700;color:var(--lime-ink);text-decoration:none}
.more:hover{text-decoration:underline}
.bn-visual{background:var(--card);border:1px solid var(--steel);border-radius:var(--radius);padding:20px 22px}
.bn-case + .bn-case{margin-top:18px;padding-top:18px;border-top:1px solid var(--steel)}
.bn-case-h{margin:0 0 10px;font-weight:700}
.bar{display:grid;grid-template-columns:44px 1fr;align-items:center;gap:10px;margin-top:8px}
.bar-l{font-family:var(--display);font-size:.9rem}
.bar-t{height:14px;background:var(--steel);border-radius:3px;overflow:hidden}
.bar-f{display:block;height:100%;background:var(--ink-2);border-radius:3px}
.bar-f.is-hot{background:var(--lime)}
.bn-foot{margin:16px 0 0;font-size:.9rem;color:var(--muted)}

/* grouped article list */
.articles{padding:56px 0 24px}
.articles-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:24px}
.articles-head h2{font-size:clamp(1.6rem,2.6vw,2.1rem)}
.groups{display:grid;gap:28px 48px}
@media (min-width:860px){.groups{grid-template-columns:1fr 1fr}}
.group-title{font-size:1.15rem;display:flex;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--ink)}
.group-count{font-family:var(--body);font-weight:700;font-size:.8rem;min-width:24px;height:22px;padding:0 6px;display:inline-grid;place-items:center;border-radius:6px;background:var(--card);border:1px solid var(--steel);color:var(--muted)}
.group-list{list-style:none;margin:0;padding:0}
.group-list li{border-bottom:1px solid var(--steel)}
.row-link{display:grid;grid-template-columns:auto 1fr;gap:2px 12px;padding:14px 0;text-decoration:none}
.row-area{grid-row:1 / span 2;align-self:start;margin-top:2px;font-size:.8rem;font-weight:700;color:var(--ink-2);border:1px solid var(--steel);background:var(--card);border-radius:6px;padding:2px 7px;min-width:64px;text-align:center}
.row-title{font-weight:700;font-size:1.12rem;line-height:1.3}
.row-desc{color:var(--muted);font-size:.98rem;line-height:1.45}
.row-date{grid-column:2;font-size:.85rem;color:var(--muted);margin-top:2px}
.row-link:hover .row-title{text-decoration:underline;text-decoration-color:var(--lime);text-underline-offset:3px}
.group-archiv .group-title{border-bottom-color:var(--steel)}
.group-archiv .row-area{background:transparent}

/* desk band */
.desk{padding:48px 0 72px}
.desk-grid{display:grid;gap:28px;align-items:center}
@media (min-width:900px){.desk-grid{grid-template-columns:1fr 1fr;gap:56px}}
.desk-grid img{border-radius:var(--radius);border:1px solid var(--steel)}
.desk-text h2{font-size:clamp(1.6rem,2.6vw,2.1rem)}
.desk-text p{color:var(--ink-2);margin:12px 0 0}
.desk-text a{color:var(--lime-ink);font-weight:700}

/* list page */
.listpage{padding:40px 0 64px}
.list-head{margin-bottom:32px}
.list-head h1{font-size:clamp(2rem,4vw,2.8rem)}

/* article */
.art{padding:36px 0 64px}
.specrow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0 0 28px;background:var(--card);border:1px solid var(--steel);border-radius:10px;overflow:hidden}
.specrow > div{padding:10px 14px;border-right:1px solid var(--steel);border-bottom:1px solid var(--steel);min-width:0}
.specrow > div:nth-child(2n){border-right:0}
.specrow > div:nth-last-child(-n+2){border-bottom:0}
@media (min-width:700px){
  .specrow{grid-template-columns:1fr 1fr 1.6fr 1.2fr}
  .specrow > div{border-bottom:0;border-right:1px solid var(--steel)}
  .specrow > div:nth-child(2n){border-right:1px solid var(--steel)}
  .specrow > div:last-child{border-right:0}
}
.specrow dt{font-size:.8rem;color:var(--muted);font-weight:600}
.specrow dd{margin:2px 0 0;font-weight:700}
.chips{display:flex;flex-wrap:wrap;gap:4px}
.chip-tier{font-size:.8rem;font-weight:700;padding:1px 7px;border-radius:5px;border:1px solid var(--steel);color:#8a929c;background:var(--bg)}
.chip-tier.is-on{color:var(--lime-ink);border-color:#c5d99a;background:var(--lime-tint)}
.art-head h1{font-size:clamp(1.9rem,4vw,2.7rem)}
.art-lead{font-size:1.22rem;line-height:1.5;color:var(--ink-2);margin:14px 0 0}
.art-fig{margin-top:28px;margin-bottom:0}
.art-fig img{border-radius:var(--radius);border:1px solid var(--steel)}
.prose{margin-top:28px;font-size:1.15rem;line-height:1.66}
.prose h2{font-size:1.5rem;margin:2em 0 .5em}
.prose h3{font-size:1.18rem;margin:1.6em 0 .4em}
.prose p,.prose ul,.prose ol{margin:0 0 1em}
.prose li{margin:.3em 0}
.prose a{color:var(--lime-ink);text-decoration-thickness:1px;text-underline-offset:3px}
.prose strong{font-weight:700}
.prose table{width:100%;border-collapse:collapse;margin:1.2em 0 1.6em;font-size:1rem;background:var(--card);border:1px solid var(--steel);border-radius:10px;overflow:hidden;display:block;overflow-x:auto}
.prose th,.prose td{text-align:left;padding:9px 12px;border-bottom:1px solid var(--steel);vertical-align:top}
.prose thead th{background:var(--panel);font-weight:700}
.prose tr:last-child td{border-bottom:0}
.prose blockquote{margin:1.4em 0;padding:14px 18px;background:var(--panel);border-radius:10px;color:var(--ink-2)}
.prose blockquote p:last-child{margin-bottom:0}
.checklist{margin-top:36px}
.checklist{background:var(--card);border:1px solid var(--steel);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px 24px;max-width:728px}
@media (max-width:792px){.checklist{margin-left:16px;margin-right:16px}}
.checklist h2{font-size:1.25rem;margin-bottom:12px}
.checklist ul{list-style:none;margin:0;padding:0}
.checklist li{position:relative;padding:8px 0 8px 30px;border-top:1px solid var(--steel)}
.checklist li:first-child{border-top:0}
.checklist li::before{content:"";position:absolute;left:0;top:12px;width:16px;height:16px;border:1.5px solid var(--ink);border-radius:4px;background:var(--card)}
.art-back{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:36px;font-weight:700}
.art-back a{color:var(--lime-ink);text-decoration:none}
.art-back a:hover{text-decoration:underline}
.art-page .prose{margin-top:20px}

/* footer (single dark surface) */
.foot{background:var(--ink);color:#c9ced5;padding:40px 0 32px}
.foot-in{display:grid;gap:20px}
@media (min-width:860px){.foot-in{grid-template-columns:1.4fr 1fr;align-items:start}}
.wordmark-foot{color:#fff;font-size:1.4rem}
.wordmark-foot .chip{color:#dfe3e8}
.foot-id p{margin:12px 0 0;max-width:52ch}
.foot-nav{display:flex;flex-wrap:wrap;gap:8px 20px}
.foot-nav a{color:#fff;text-decoration:none;font-weight:600}
.foot-nav a:hover{text-decoration:underline}
.foot-copy{margin:0;font-size:.9rem;color:#8f97a1;grid-column:1 / -1;padding-top:16px;border-top:1px solid #2b3038}
