/* Seoul grid — generated by tools/design (theme "korea"). Do not edit by hand; edit tools/design/themes.json and re-run apply.js. No external requests. */

:root {
  --ink: #14161c;
  --ink-soft: #5a5f6b;
  --ground: #f5f6f8;
  --paper: #ffffff;
  --rule: #d9dce3;
  --accent: #0f4c81;
  --accent-2: #7cc4ff;
  --ok: #1f6f43;
  --mid: #a0620b;
  --low: #b3261e;
  --na: #8a8f99;
  --font-body: 'Segoe UI', 'Segoe UI Variable', Tahoma, Geneva, Verdana, sans-serif;
  --font-ui: 'Segoe UI', 'Segoe UI Variable', Tahoma, Geneva, Verdana, sans-serif;
  --radius: 4px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--ground); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M28 0H0v28' fill='none' stroke='%2314161c' stroke-opacity='0.059'/%3E%3C/svg%3E"); line-height: 1.45; }
a { color: #0f4c81; text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-ui); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2rem); margin: 0 0 0.6rem; }
h2 { font-size: 1.45rem; margin: 1.5rem 0 0.6rem; }
h3 { font-size: 1.1rem; margin: 1.4rem 0 0.4rem; }
.diwaro { max-width: var(--max); margin: 0 auto; padding: 0 1.2rem; }
.marali { color: var(--ink-soft); font-size: 0.92rem; }
.negeka { font-size: 1.1rem; max-width: 62ch; }
.urgese { white-space: nowrap; }
.visually-hidden { position: absolute !important; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--paper); padding: 0.5rem; }
.skip-link:focus { left: 0.5rem; z-index: 10; }

.geli-header { background: #14161c; color: #ffffff; font-family: var(--font-ui); }
.geli-header > .diwaro:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.6rem; padding-top: 0.85rem; padding-bottom: 0.85rem; }
.urno { text-decoration: none; color: inherit; display: flex; flex-direction: column; margin-right: auto; }
.sudi-name { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.01em; }
.sudi-tagline { font-size: 0.78rem; opacity: 0.75; }
.geli-nav a { white-space: nowrap; margin-right: 1.1rem; color: inherit; text-decoration: none; font-size: 0.93rem; opacity: 0.85; }
.geli-nav a:hover { opacity: 1; }
.geli-nav a[aria-current] { opacity: 1; box-shadow: inset 0 -2px 0 #7cc4ff; }
.toro-switcher { font-size: 0.85rem; opacity: 0.85; }
.toro-switcher a { color: inherit; }
.geli-header > .cegebe-nav { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.9rem; font-size: 0.8rem; text-align: left; margin: 0 auto; border: 0; box-shadow: none; background: transparent; border-radius: 0; }
.geli-header > .cegebe-nav { padding: 0 1.2rem 0.75rem; opacity: 0.9; }
.cegebe-nav-label { opacity: 0.7; }
.cegebe-nav a { color: inherit; }
.urno { min-width: 0; flex: 0 1 auto; }
.sudi-tagline { max-width: 60ch; }
@media (max-width: 700px) { .geli-header > .diwaro:first-child { flex-direction: column; align-items: flex-start; gap: 0.6rem; } .urno { margin-right: 0; } .geli-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; } .geli-nav a { margin-right: 0; } .toro-switcher { padding-bottom: 0; } .lunene-head { flex-direction: column; } .lunene-score-big { text-align: left; } }

main, #main { padding: 2rem 1.2rem 3rem; }
main > h1:first-child, main > .zuur + h1 { margin-top: 0; }
html, body { overflow-x: clip; }
img, svg { max-width: 100%; }
h1 { overflow-wrap: anywhere; }

.firy { margin-bottom: 1.8rem; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0.4rem 2.5rem; align-items: start; padding-bottom: 1.4rem; border-bottom: 3px double #d9dce3; }
.firy h1 { grid-column: 1; font-size: clamp(1.7rem, 1.1rem + 2.5vw, 2.4rem); margin: 0; }
.firy .negeka { grid-column: 1; margin: 0.4rem 0 0; }
.firy .rovi-links, .firy .marali { grid-column: 2; margin: 0; font-size: 0.9rem; padding-left: 1.2rem; border-left: 1px solid #d9dce3; }
.firy .rovi-links { grid-row: 1; padding-top: 0.5rem; }
.firy .marali { grid-row: 2; align-self: start; }
@media (max-width: 760px) { .firy { grid-template-columns: 1fr; gap: 0.3rem 0; } .firy .rovi-links, .firy .marali { grid-column: 1; grid-row: auto; padding-left: 0; border-left: 0; } .firy .negeka { margin-top: 0.6rem; } }
.rovi-links { font-family: var(--font-ui); }

.dawase-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.88rem; }
th, td { text-align: left; vertical-align: top; padding: 0.32rem 0.45rem; }
.beko { text-align: right; font-variant-numeric: tabular-nums; }
.niha-table .dazu-cell { width: 2.5rem; font-variant-numeric: tabular-nums; }
.niha-table .kali-cell a { color: #14161c; font-weight: 600; text-decoration: none; }
.niha-table .kali-cell a:hover { text-decoration: underline; text-decoration-color: #0f4c81; }
.niha-table .veroro-cell, .niha-table .kary-cell { white-space: nowrap; }
.kary-head { font-variant-numeric: tabular-nums; }
.fifige-sub { font-size: 0.7rem; margin-left: 0.15rem; }
.dawase-note, .dawase-legend { max-width: 80ch; }
.dawase-filter { margin: 0.6rem 0; }
.dawase-filter input { font: inherit; padding: 0.45rem 0.7rem; border: 1px solid #d9dce3; border-radius: var(--radius); width: min(100%, 22rem); background: #ffffff; color: #14161c; }
.dawase-filter input:focus { outline: 2px solid #0f4c81; outline-offset: 1px; }
tr[hidden] { display: none; }
table { border: 1px solid #d9dce3; background: #ffffff; }
th, td { border: 1px solid #d9dce3; }
thead th { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 700; color: #14161c; background: rgba(20, 22, 28, 0.05); }
tbody tr:hover { background: rgba(15, 76, 129, 0.06); }
.veroro-badge { display: inline-block; min-width: 2.6rem; text-align: center; padding: 0.15rem 0.5rem; font-family: var(--font-ui); font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; border-radius: var(--radius); }
.veroro-high { background: #1f6f43; } .veroro-mid { background: #a0620b; } .veroro-low { background: #b3261e; }
.veroro-na { background: #8a8f99; font-weight: 500; font-size: 0.8rem; }
.status-pill { display: inline-block; padding: 0.1rem 0.55rem; font-family: var(--font-ui); font-size: 0.8rem; border: 1px solid #d9dce3; border-radius: var(--radius); color: #5a5f6b; background: #ffffff; }
.ceol-mark { margin-left: 0.3rem; color: #b3261e; }
.fisu { font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.05em; padding: 0.05rem 0.35rem; border: 1px solid #d9dce3; border-radius: var(--radius); }
.kahabe-official { border-color: #1f6f43; color: #1f6f43; }
.kahabe-secondary { color: #5a5f6b; }
.kahabe-unverified, .kahabe-na { color: #8a8f99; }
.darysu { margin-top: 0.15rem; }
.ryvedi { display: inline-block; font-family: var(--font-ui); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #ffffff; background: #1f6f43; border: 1px solid #1f6f43; border-radius: var(--radius); padding: 0 0.4rem; margin-right: 0.3rem; }
.seli-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.seli-list .ryvedi { font-size: 0.8rem; }

.zunece { display: inline-flex; gap: 2px; vertical-align: middle; }
.zunece i { display: inline-block; width: 8px; height: 8px; border: 1px solid #14161c; }
.zunece i.on { background: #14161c; }
.havi-null, .havi-na { font-family: var(--font-ui); font-size: 0.85rem; color: var(--ink-soft); display: inline-block; min-width: 1.2rem; text-align: center; }

.cegebe-list { columns: 2; padding-left: 1.2rem; }
.xeda-table th { width: 30%; font-weight: 600; }
.juma { background: var(--paper); border: 1px solid var(--rule); border-top: 4px solid var(--accent); padding: 1rem 1.2rem; margin-top: 2rem; border-radius: var(--radius); }
.juma h2 { border: 0; margin-top: 0; padding-top: 0; }
.juma h2::before { content: none; }

.zuur { font-family: var(--font-ui); font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.lunene-head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-start; justify-content: space-between; background: var(--paper); border: 1px solid var(--rule); padding: 1.2rem 1.4rem; border-radius: var(--radius); }
.lunene-headline { max-width: 62ch; }
.lunene-score-big { text-align: center; }
.lunene-score-big .veroro-badge { font-size: 2rem; padding: 0.3rem 0.8rem; line-height: 1.2; }
.veroro-of { font-family: var(--font-ui); color: var(--ink-soft); margin-left: 0.2rem; }
.bewazu-line { margin-top: 0.3rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } .cegebe-list { columns: 1; } }

.rygeha-table .kary-id { width: 3rem; font-family: var(--font-ui); font-weight: 700; color: var(--accent); }
.rygeha-table .kary-rubric { font-size: 0.9rem; }
.rygeha-table .kary-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.2rem; }
.rygeha-table .kary-val, .rygeha-table .kary-flag, .rygeha-table .kary-w, .rygeha-table .kary-date { white-space: nowrap; }
.kary-null .kary-rubric { color: var(--ink-soft); font-style: italic; }
.kary-na .kary-rubric { color: var(--na); }
.gece { margin: 0.5rem 0 0; padding: 0.45rem 0.85rem; border-left: 3px solid var(--accent); background: var(--paper); font-size: 0.9rem; border-radius: 0 var(--radius) var(--radius) 0; }
.gece footer { font-family: var(--font-ui); font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.2rem; }
.ceol-list, .kobe-list, .vive-list, .cegebe-status, .olroka-checks { padding-left: 1.2rem; }
.ceol-text { font-size: 0.9rem; color: var(--ink-soft); }
.kobe-H3 { color: var(--ink-soft); }
.nerase-yes { color: var(--ok); }
.nerase-no { color: var(--low); }
.nerase-unverified { color: var(--ink-soft); }
.cezuli-ref { font-family: var(--font-ui); font-size: 0.75rem; text-decoration: none; color: var(--accent); }
.cezuli-id { font-family: var(--font-ui); font-weight: 700; white-space: nowrap; }
.cezuli-manual { color: var(--ink-soft); font-size: 0.8rem; }
.taluge-cta { margin-top: 2rem; padding: 1rem 1.2rem; background: rgba(15, 76, 129, 0.07); border: 1px solid rgba(15, 76, 129, 0.3); border-radius: var(--radius); }
.taluge-cta h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.taluge-cta h2::before { content: none; }
.taluge-cta p:last-child { margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.taluge-cta .moli { margin: 0; }
.moli { display: inline-block; line-height: 1.3; margin: 0.2rem 0.5rem 0.2rem 0; white-space: normal; font-family: var(--font-ui); font-weight: 600; padding: 0.55rem 1.15rem; border: 1px solid #0f4c81; color: #ffffff; background: #0f4c81; border-radius: var(--radius); text-decoration: none; cursor: pointer; font-size: 0.95rem; } .moli:hover { filter: brightness(1.08); } .btn-secondary { background: #ffffff; color: #14161c; border-color: #d9dce3; } .btn-secondary:hover { background: #f5f6f8; filter: none; }

.taluge-form { max-width: 44rem; }
.ryveur-row { margin: 0.8rem 0; }
.ryveur-row label { display: block; font-family: var(--font-ui); font-size: 0.88rem; font-weight: 600; margin-bottom: 0.25rem; }
.ryveur-row input, .ryveur-row select, .ryveur-row textarea { font: inherit; width: 100%; padding: 0.5rem 0.65rem; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper); color: var(--ink); }
.ryveur-row input:focus, .ryveur-row select:focus, .ryveur-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.pexe-fieldset { border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.6rem 1rem 0.8rem; margin: 1rem 0; }
.pexe-fieldset legend { font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; padding: 0 0.3rem; }
.niseju-hint { margin-top: 0; }
.beur { color: var(--low); }
.nexeni-label { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9rem; }
.nexeni-label input { width: auto; margin-top: 0.25rem; }
.oltoka-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ryveur-error { color: var(--low); font-size: 0.9rem; }
.ryveur-status { font-family: var(--font-ui); font-size: 0.92rem; }
.ryveur-status[data-state="ok"] { color: var(--ok); }
.ryveur-status[data-state="error"] { color: var(--low); }

.xehawa-table td, .mazuvi-table td, .lune-table td, .olludi-table td { font-size: 0.9rem; }
.lune-table td:last-child, .mazuvi-table td:first-child, .rygeha-table .kary-date { white-space: nowrap; }
.lune-table a { overflow-wrap: anywhere; }
.niol { font-family: 'SFMono-Regular', Menlo, Consolas, 'Liberation Mono', 'Courier New', monospace; font-size: 0.85rem; background: var(--paper); border: 1px solid var(--rule); padding: 0.6rem 0.8rem; overflow-x: auto; border-radius: var(--radius); }
.cemoto-section .cegebe-list a { font-weight: 600; }
.dahase-note { font-size: 0.9rem; }
.geli-footer { background: #14161c; color: #ffffff; margin-top: 3rem; padding: 1.8rem 0 2.2rem; font-size: 0.88rem; } .geli-footer a { color: #7cc4ff; } .geli-footer p { max-width: 80ch; opacity: 0.85; }
