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

:root {
  --ink: #1a160e;
  --ink-soft: #585040;
  --ground: #f8f5ec;
  --paper: #fffdf7;
  --rule: #e6dfc8;
  --accent: #7a5a10;
  --accent-2: #1d5c4a;
  --ok: #2f6b3a;
  --mid: #9a6b12;
  --low: #9a3412;
  --na: #8c8780;
  --font-body: Constantia, 'Charter', 'Bitstream Charter', 'Iowan Old Style', Georgia, serif;
  --font-ui: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --radius: 0;
  --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: none; line-height: 1.45; }
a { color: #1a160e; text-decoration-color: #7a5a10; text-decoration-thickness: 2px; text-underline-offset: 2px; } a:hover { color: #7a5a10; }
h1, h2, h3 { font-family: var(--font-body); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2rem); margin: 0 0 0.6rem; }
h2 { font-size: 1.05rem; margin: 1.5rem 0 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: #585040; }
h3 { font-size: 1.1rem; margin: 1.4rem 0 0.4rem; }
.tojupe { max-width: var(--max); margin: 0 auto; padding: 0 1.2rem; }
.cevini { color: var(--ink-soft); font-size: 0.92rem; }
.rogeju { font-size: 1.1rem; max-width: 62ch; }
.wali { 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; }

.juniry-header { background: #fffdf7; border-bottom: 1px solid #e6dfc8; font-family: var(--font-ui); text-align: center; }
.juniry-header > .tojupe:first-child { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding-top: 1.3rem; padding-bottom: 0.6rem; }
@media (max-width: 700px) { .juniry-header > .tojupe:first-child { align-items: center; } .juniry-nav { justify-content: center; } }
.luviry { text-decoration: none; color: #1a160e; display: flex; flex-direction: column; align-items: center; }
.nilixe-name { font-family: var(--font-body); font-weight: 700; font-size: 1.6rem; letter-spacing: 0.02em; }
.nilixe-tagline { font-size: 0.78rem; color: #585040; text-transform: uppercase; letter-spacing: 0.14em; margin-top: 0.15rem; }
.juniry-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 1.4rem; border-top: 1px solid #e6dfc8; padding-top: 0.5rem; margin-top: 0.3rem; width: 100%; }
.juniry-nav a { white-space: nowrap; color: #1a160e; text-decoration: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0; }
.juniry-nav a[aria-current] { color: #7a5a10; border-bottom: 2px solid #7a5a10; }
.urrool-switcher { font-size: 0.82rem; }
.juniry-header > .nemodi-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; }
.juniry-header > .nemodi-nav { justify-content: center; padding: 0.15rem 1.2rem 0.7rem; }
.nemodi-nav-label { color: #585040; }
.nemodi-nav a { color: #1a160e; }
.luviry { min-width: 0; flex: 0 1 auto; }
.nilixe-tagline { max-width: 60ch; }
@media (max-width: 700px) { .juniry-header > .tojupe:first-child { flex-direction: column; align-items: flex-start; gap: 0.6rem; } .luviry { margin-right: 0; } .juniry-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; } .juniry-nav a { margin-right: 0; } .urrool-switcher { padding-bottom: 0; } .urtoto-head { flex-direction: column; } .urtoto-score-big { text-align: left; } }

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

.kosuma { margin-bottom: 1.8rem; padding: 1.4rem 1.6rem; border: 1px solid #e6dfc8; border-left: 6px solid #7a5a10; background: #fffdf7; border-radius: var(--radius); }
.kosuma h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2rem); }
.wace-links { font-family: var(--font-ui); }

.lusu-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; }
.vewa { text-align: right; font-variant-numeric: tabular-nums; }
.xewa-table .nolufi-cell { width: 2.5rem; font-variant-numeric: tabular-nums; }
.xewa-table .luxeni-cell a { color: #1a160e; font-weight: 600; text-decoration: none; }
.xewa-table .luxeni-cell a:hover { text-decoration: underline; text-decoration-color: #7a5a10; }
.xewa-table .waroge-cell, .xewa-table .dive-cell { white-space: nowrap; }
.dive-head { font-variant-numeric: tabular-nums; }
.fifiju-sub { font-size: 0.7rem; margin-left: 0.15rem; }
.lusu-note, .lusu-legend { max-width: 80ch; }
.lusu-filter { margin: 0.6rem 0; }
.lusu-filter input { font: inherit; padding: 0.45rem 0.7rem; border: 1px solid #e6dfc8; border-radius: var(--radius); width: min(100%, 22rem); background: #fffdf7; color: #1a160e; }
.lusu-filter input:focus { outline: 2px solid #7a5a10; outline-offset: 1px; }
tr[hidden] { display: none; }
th, td { border-bottom: 1px solid #e6dfc8; }
thead th { font-family: var(--font-ui); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: #585040; border-bottom: 2px solid #1a160e; }
.waroge-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: #fffdf7; }
.waroge-high { color: #2f6b3a; } .waroge-mid { color: #9a6b12; } .waroge-low { color: #9a3412; }
.waroge-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 #e6dfc8; border-radius: 0; color: #585040; background: #fffdf7; }
.tatary-mark { margin-left: 0.3rem; color: #9a3412; }
.tovege { font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.05em; padding: 0.05rem 0.35rem; border: 1px solid #e6dfc8; border-radius: 0; }
.tanine-official { border-color: #2f6b3a; color: #2f6b3a; }
.tanine-secondary { color: #585040; }
.tanine-unverified, .tanine-na { color: #8c8780; }
.five { margin-top: 0.15rem; }
.tano { display: inline-block; font-family: var(--font-ui); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #2f6b3a; background: transparent; border: 1px solid #2f6b3a; border-radius: 0; padding: 0 0.4rem; margin-right: 0.3rem; }
.vezu-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.vezu-list .tano { font-size: 0.8rem; }

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

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

.kovi { font-family: var(--font-ui); font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.urtoto-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); }
.urtoto-headline { max-width: 62ch; }
.urtoto-score-big { text-align: center; }
.urtoto-score-big .waroge-badge { font-size: 2rem; padding: 0.3rem 0.8rem; line-height: 1.2; }
.waroge-of { font-family: var(--font-ui); color: var(--ink-soft); margin-left: 0.2rem; }
.urxeve-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; } .nemodi-list { columns: 1; } }

.cesuvi-table .dive-id { width: 3rem; font-family: var(--font-ui); font-weight: 700;  }
.cesuvi-table .dive-rubric { font-size: 0.9rem; }
.cesuvi-table .dive-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.2rem; }
.cesuvi-table .dive-val, .cesuvi-table .dive-flag, .cesuvi-table .dive-w, .cesuvi-table .dive-date { white-space: nowrap; }
.dive-null .dive-rubric { color: var(--ink-soft); font-style: italic; }
.dive-na .dive-rubric { color: var(--na); }
.sera { margin: 0.5rem 0 0; padding: 0.45rem 0.85rem; border-left: 3px solid var(--rule); background: var(--paper); font-size: 0.9rem; border-radius: 0 var(--radius) var(--radius) 0; }
.sera footer { font-family: var(--font-ui); font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.2rem; }
.tatary-list, .livi-list, .nomoli-list, .nemodi-status, .vivi-checks { padding-left: 1.2rem; }
.tatary-text { font-size: 0.9rem; color: var(--ink-soft); }
.livi-H3 { color: var(--ink-soft); }
.wara-yes { color: var(--ok); }
.wara-no { color: var(--low); }
.wara-unverified { color: var(--ink-soft); }
.vesese-ref { font-family: var(--font-ui); font-size: 0.75rem; text-decoration: none; color: var(--accent); }
.vesese-id { font-family: var(--font-ui); font-weight: 700; white-space: nowrap; }
.vesese-manual { color: var(--ink-soft); font-size: 0.8rem; }
.geko-cta { margin-top: 2rem; padding: 1rem 1.2rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.geko-cta h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.geko-cta h2::before { content: none; }
.geko-cta p:last-child { margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.geko-cta .viro { margin: 0; }
.viro { 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 #7a5a10; color: #ffffff; background: #7a5a10; border-radius: var(--radius); text-decoration: none; cursor: pointer; font-size: 0.95rem; } .viro:hover { filter: brightness(1.08); } .btn-secondary { background: #fffdf7; color: #1a160e; border-color: #e6dfc8; } .btn-secondary:hover { background: #f8f5ec; filter: none; }

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

.dita-table td, .dalu-table td, .kanomo-table td, .nopewa-table td { font-size: 0.9rem; }
.kanomo-table td:last-child, .dalu-table td:first-child, .cesuvi-table .dive-date { white-space: nowrap; }
.kanomo-table a { overflow-wrap: anywhere; }
.vidadi { 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); }
.neko-section .nemodi-list a { font-weight: 600; }
.kapebe-note { font-size: 0.9rem; }
.juniry-footer { border-top: 1px solid #e6dfc8; margin-top: 3rem; padding: 1.4rem 0 2rem; font-size: 0.88rem; color: #585040; } .juniry-footer p { max-width: 80ch; }
