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

:root {
  --ink: #1f1a1a;
  --ink-soft: #5e5350;
  --ground: #fbf6f0;
  --paper: #ffffff;
  --rule: #e4d8c9;
  --accent: #8b1e3f;
  --accent-2: #d4a017;
  --ok: #2f6b3a;
  --mid: #9a6b12;
  --low: #9a3412;
  --na: #8c8780;
  --font-body: Georgia, 'Times New Roman', Times, serif;
  --font-ui: Tahoma, Geneva, 'Segoe UI', Verdana, sans-serif;
  --radius: 0;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { font-size: 17px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--ground); background-image: none; line-height: 1.55; }
a { color: #1f1a1a; text-decoration-color: #8b1e3f; text-decoration-thickness: 2px; text-underline-offset: 2px; } a:hover { color: #8b1e3f; }
h1, h2, h3 { font-family: var(--font-body); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2rem); margin: 0 0 0.6rem; }
main { counter-reset: h2; } h2 { font-size: 1.35rem; margin: 2rem 0 0.6rem; padding-top: 0.9rem; border-top: 1px solid #e4d8c9; } h2::before { counter-increment: h2; content: counter(h2, upper-roman) '. '; color: #8b1e3f; font-weight: 400; }
h3 { font-size: 1.1rem; margin: 1.4rem 0 0.4rem; }
.peju { max-width: var(--max); margin: 0 auto; padding: 0 1.2rem; }
.nexesu { color: var(--ink-soft); font-size: 0.92rem; }
.ursuce { font-size: 1.1rem; max-width: 62ch; }
.kase { 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; }

.moma-header { background: #1f1a1a; color: #ffffff; font-family: var(--font-ui); }
.moma-header > .peju:first-child { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.6rem; padding-top: 0.85rem; padding-bottom: 0.85rem; }
.gelura { text-decoration: none; color: inherit; display: flex; flex-direction: column; margin-right: auto; }
.bero-name { font-weight: 800; font-size: 1.2rem; letter-spacing: 0.01em; }
.bero-tagline { font-size: 0.78rem; opacity: 0.75; }
.moma-nav a { white-space: nowrap; margin-right: 1.1rem; color: inherit; text-decoration: none; font-size: 0.93rem; opacity: 0.85; }
.moma-nav a:hover { opacity: 1; }
.moma-nav a[aria-current] { opacity: 1; box-shadow: inset 0 -2px 0 #d4a017; }
.beol-switcher { font-size: 0.85rem; opacity: 0.85; }
.beol-switcher a { color: inherit; }
.moma-header > .firane-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; }
.moma-header > .firane-nav { padding: 0 1.2rem 0.75rem; opacity: 0.9; }
.firane-nav-label { opacity: 0.7; }
.firane-nav a { color: inherit; }
.gelura { min-width: 0; flex: 0 1 auto; }
.bero-tagline { max-width: 60ch; }
@media (max-width: 700px) { .moma-header > .peju:first-child { flex-direction: column; align-items: flex-start; gap: 0.6rem; } .gelura { margin-right: 0; } .moma-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; } .moma-nav a { margin-right: 0; } .beol-switcher { padding-bottom: 0; } .nekoce-head { flex-direction: column; } .nekoce-score-big { text-align: left; } }

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

.raju { 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 #e4d8c9; }
.raju h1 { grid-column: 1; font-size: clamp(1.7rem, 1.1rem + 2.5vw, 2.4rem); margin: 0; }
.raju .ursuce { grid-column: 1; margin: 0.4rem 0 0; }
.raju .pexe-links, .raju .nexesu { grid-column: 2; margin: 0; font-size: 0.9rem; padding-left: 1.2rem; border-left: 1px solid #e4d8c9; }
.raju .pexe-links { grid-row: 1; padding-top: 0.5rem; }
.raju .nexesu { grid-row: 2; align-self: start; }
@media (max-width: 760px) { .raju { grid-template-columns: 1fr; gap: 0.3rem 0; } .raju .pexe-links, .raju .nexesu { grid-column: 1; grid-row: auto; padding-left: 0; border-left: 0; } .raju .ursuce { margin-top: 0.6rem; } }
.pexe-links { font-family: var(--font-ui); }

.raro-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
th, td { text-align: left; vertical-align: top; padding: 0.45rem 0.5rem; }
.wahani { text-align: right; font-variant-numeric: tabular-nums; }
.kovili-table .mara-cell { width: 2.5rem; font-variant-numeric: tabular-nums; }
.kovili-table .zuhali-cell a { color: #1f1a1a; font-weight: 600; text-decoration: none; }
.kovili-table .zuhali-cell a:hover { text-decoration: underline; text-decoration-color: #8b1e3f; }
.kovili-table .june-cell, .kovili-table .urbeni-cell { white-space: nowrap; }
.urbeni-head { font-variant-numeric: tabular-nums; }
.urwa-sub { font-size: 0.7rem; margin-left: 0.15rem; }
.raro-note, .raro-legend { max-width: 80ch; }
.raro-filter { margin: 0.6rem 0; }
.raro-filter input { font: inherit; padding: 0.45rem 0.7rem; border: 1px solid #e4d8c9; border-radius: var(--radius); width: min(100%, 22rem); background: #ffffff; color: #1f1a1a; }
.raro-filter input:focus { outline: 2px solid #8b1e3f; outline-offset: 1px; }
tr[hidden] { display: none; }
th, td { border: 0; }
thead th { font-family: var(--font-ui); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: #ffffff; background: #8b1e3f; }
thead th:first-child { border-radius: var(--radius) 0 0 0; } thead th:last-child { border-radius: 0 var(--radius) 0 0; }
tbody tr:nth-child(even) { background: rgba(31, 26, 26, 0.04); }
tbody tr:hover { background: rgba(139, 30, 63, 0.08); }
.june-badge { display: inline-block; min-width: 2.7rem; text-align: center; padding: 0.12rem 0.5rem; font-family: var(--font-ui); font-weight: 700; font-variant-numeric: tabular-nums; border: 2px solid currentColor; border-radius: 0; background: #ffffff; }
.june-high { color: #2f6b3a; } .june-mid { color: #9a6b12; } .june-low { color: #9a3412; }
.june-na { color: #8c8780; font-weight: 500; font-size: 0.8rem; border-width: 1px; }
.status-pill { display: inline-block; padding: 0.1rem 0.55rem; font-family: var(--font-ui); font-size: 0.8rem; border: 1px solid #e4d8c9; border-radius: 0; color: #5e5350; background: #ffffff; }
.zudase-mark { margin-left: 0.3rem; color: #9a3412; }
.zuur { font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.05em; padding: 0.05rem 0.35rem; border: 1px solid #e4d8c9; border-radius: 0; }
.bevi-official { border-color: #2f6b3a; color: #2f6b3a; }
.bevi-secondary { color: #5e5350; }
.bevi-unverified, .bevi-na { color: #8c8780; }
.negewa { margin-top: 0.15rem; }
.vefima { display: inline-block; font-family: var(--font-ui); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #ffffff; background: #2f6b3a; border: 1px solid #2f6b3a; border-radius: 0; padding: 0 0.4rem; margin-right: 0.3rem; }
.mape-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.mape-list .vefima { font-size: 0.8rem; }

.ceurma { display: inline-flex; gap: 1px; vertical-align: middle; align-items: flex-end; }
.ceurma i { display: inline-block; width: 4px; background: rgba(31, 26, 26, 0.15); }
.ceurma i:nth-child(1) { height: 5px; } .ceurma i:nth-child(2) { height: 7px; } .ceurma i:nth-child(3) { height: 9px; } .ceurma i:nth-child(4) { height: 11px; } .ceurma i:nth-child(5) { height: 13px; }
.ceurma i.on { background: #1f1a1a; }
.momo-null, .momo-na { font-family: var(--font-ui); font-size: 0.85rem; color: var(--ink-soft); display: inline-block; min-width: 1.2rem; text-align: center; }

.firane-list { columns: 2; padding-left: 1.2rem; }
.rary-table th { width: 30%; font-weight: 600; }
.ryviur { 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); }
.ryviur h2 { border: 0; margin-top: 0; padding-top: 0; }
.ryviur h2::before { content: none; }

.haju { font-family: var(--font-ui); font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.nekoce-head { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: flex-start; justify-content: space-between; padding-bottom: 1.2rem; border-bottom: 2px solid var(--ink); }
.nekoce-headline { max-width: 62ch; }
.nekoce-score-big { text-align: center; }
.nekoce-score-big .june-badge { font-size: 2rem; padding: 0.3rem 0.8rem; line-height: 1.2; }
.june-of { font-family: var(--font-ui); color: var(--ink-soft); margin-left: 0.2rem; }
.tool-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; } .firane-list { columns: 1; } }

.ceneli-table .urbeni-id { width: 3rem; font-family: var(--font-ui); font-weight: 700;  }
.ceneli-table .urbeni-rubric { font-size: 0.9rem; }
.ceneli-table .urbeni-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.2rem; }
.ceneli-table .urbeni-val, .ceneli-table .urbeni-flag, .ceneli-table .urbeni-w, .ceneli-table .urbeni-date { white-space: nowrap; }
.urbeni-null .urbeni-rubric { color: var(--ink-soft); font-style: italic; }
.urbeni-na .urbeni-rubric { color: var(--na); }
.vifibe { margin: 0.5rem 0 0; padding: 0.45rem 0.85rem; border-left: 3px solid var(--rule); background: rgba(139, 30, 63, 0.05); font-size: 0.9rem; border-radius: 0 var(--radius) var(--radius) 0; }
.vifibe footer { font-family: var(--font-ui); font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.2rem; }
.zudase-list, .kazu-list, .jugeve-list, .firane-status, .roce-checks { padding-left: 1.2rem; }
.zudase-text { font-size: 0.9rem; color: var(--ink-soft); }
.kazu-H3 { color: var(--ink-soft); }
.moseda-yes { color: var(--ok); }
.moseda-no { color: var(--low); }
.moseda-unverified { color: var(--ink-soft); }
.nobe-ref { font-family: var(--font-ui); font-size: 0.75rem; text-decoration: none; color: var(--accent); }
.nobe-id { font-family: var(--font-ui); font-weight: 700; white-space: nowrap; }
.nobe-manual { color: var(--ink-soft); font-size: 0.8rem; }
.urseta-cta { margin-top: 2rem; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.urseta-cta h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.urseta-cta h2::before { content: none; }
.urseta-cta p:last-child { margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.urseta-cta .davita { margin: 0; }
.davita { 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.5rem 1.1rem; border: 2px solid #8b1e3f; color: #8b1e3f; background: #ffffff; border-radius: var(--radius); text-decoration: none; cursor: pointer; font-size: 0.95rem; } .davita:hover { background: #8b1e3f; color: #ffffff; } .btn-secondary { border-color: #e4d8c9; color: #1f1a1a; } .btn-secondary:hover { background: #fbf6f0; color: #1f1a1a; }

.urseta-form { max-width: 44rem; }
.olluka-row { margin: 0.8rem 0; }
.olluka-row label { display: block; font-family: var(--font-ui); font-size: 0.88rem; font-weight: 600; margin-bottom: 0.25rem; }
.olluka-row input, .olluka-row select, .olluka-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); }
.olluka-row input:focus, .olluka-row select:focus, .olluka-row textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.rodase-fieldset { border: 1px solid var(--rule); border-radius: var(--radius); padding: 0.6rem 1rem 0.8rem; margin: 1rem 0; }
.rodase-fieldset legend { font-family: var(--font-ui); font-weight: 600; font-size: 0.9rem; padding: 0 0.3rem; }
.peol-hint { margin-top: 0; }
.sepeol { color: var(--low); }
.suwase-label { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9rem; }
.suwase-label input { width: auto; margin-top: 0.25rem; }
.seur-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.olluka-error { color: var(--low); font-size: 0.9rem; }
.olluka-status { font-family: var(--font-ui); font-size: 0.92rem; }
.olluka-status[data-state="ok"] { color: var(--ok); }
.olluka-status[data-state="error"] { color: var(--low); }

.sufi-table td, .mahave-table td, .suce-table td, .vipe-table td { font-size: 0.9rem; }
.suce-table td:last-child, .mahave-table td:first-child, .ceneli-table .urbeni-date { white-space: nowrap; }
.suce-table a { overflow-wrap: anywhere; }
.peceni { 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); }
.seve-section .firane-list a { font-weight: 600; }
.mopeno-note { font-size: 0.9rem; }
.moma-footer { margin: 3rem 0 2rem; padding: 0 1.2rem; } .moma-footer .peju { max-width: calc(var(--max) - 2.4rem); border: 1px solid #e4d8c9; background: #ffffff; padding: 1.2rem 1.4rem; border-radius: var(--radius); font-size: 0.88rem; } .moma-footer p { max-width: 80ch; color: #5e5350; }
