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

:root {
  --ink: #241d15;
  --ink-soft: #6a5f52;
  --ground: #fdf8f1;
  --paper: #fffdf9;
  --rule: #e7d9c4;
  --accent: #b4451f;
  --accent-2: #2a9d8f;
  --ok: #2a7a4b;
  --mid: #a86a0f;
  --low: #b4451f;
  --na: #948b7f;
  --font-body: Cambria, 'Hoefler Text', 'Liberation Serif', Georgia, serif;
  --font-ui: Verdana, Geneva, 'DejaVu Sans', sans-serif;
  --radius: 6px;
  --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: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Ccircle cx='2' cy='2' r='1.1' fill='%23241d15' fill-opacity='0.099'/%3E%3C/svg%3E"); line-height: 1.55; }
a { color: #241d15; text-decoration-color: #b4451f; text-decoration-thickness: 2px; text-underline-offset: 2px; } a:hover { color: #b4451f; }
h1, h2, h3 { font-family: var(--font-ui); 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; }
h2 { font-size: 1.35rem; margin: 2rem 0 0.6rem; padding-left: 0.7rem; border-left: 5px solid #b4451f; }
h3 { font-size: 1.1rem; margin: 1.4rem 0 0.4rem; }
.cevito { max-width: var(--max); margin: 0 auto; padding: 0 1.2rem; }
.moro { color: var(--ink-soft); font-size: 0.92rem; }
.rajuce { font-size: 1.1rem; max-width: 62ch; }
.kaur { 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; }

.towa-header { background: #fdf8f1; font-family: var(--font-ui); padding: 0.9rem 1.2rem 0; }
.towa-header > .cevito:first-child { max-width: calc(var(--max) - 2.4rem); display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.5rem; padding: 0.8rem 1.2rem; background: #fffdf9; border: 1px solid #e7d9c4; border-radius: var(--radius); box-shadow: 0 1px 0 rgba(36, 29, 21, 0.06); }
.vita { text-decoration: none; color: #241d15; display: flex; flex-direction: column; margin-right: auto; }
.hatoju-name { font-weight: 700; font-size: 1.15rem; }
.hatoju-name::before { content: ''; display: inline-block; width: 0.65em; height: 0.65em; background: #b4451f; border-radius: 50%; margin-right: 0.45em; vertical-align: 0.02em; }
.hatoju-tagline { font-size: 0.78rem; color: #6a5f52; }
.towa-nav a { white-space: nowrap; margin-right: 0.35rem; color: #241d15; text-decoration: none; font-size: 0.9rem; padding: 0.3rem 0.65rem; border-radius: var(--radius); }
.towa-nav a:hover { background: rgba(180, 69, 31, 0.08); }
.towa-nav a[aria-current] { background: #b4451f; color: #ffffff; }
.xema-switcher { font-size: 0.85rem; }
.towa-header > .sece-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; }
.towa-header > .sece-nav { gap: 0.3rem 0.8rem; padding: 0.6rem 0 0.5rem; max-width: calc(var(--max) - 2.4rem); }
.sece-nav-label { color: #6a5f52; }
.sece-nav a { color: #241d15; }
.vita { min-width: 0; flex: 0 1 auto; }
.hatoju-tagline { max-width: 60ch; }
@media (max-width: 700px) { .towa-header > .cevito:first-child { flex-direction: column; align-items: flex-start; gap: 0.6rem; } .vita { margin-right: 0; } .towa-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 0.9rem; } .towa-nav a { margin-right: 0; } .xema-switcher { padding-bottom: 0; } .liju-head { flex-direction: column; } .liju-score-big { text-align: left; } }

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

.viju { margin-bottom: 1.8rem; padding: 1.4rem 1.6rem; border: 1px solid #e7d9c4; border-left: 6px solid #b4451f; background: #fffdf9; border-radius: var(--radius); }
.viju h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2rem); }
.firazu-links { font-family: var(--font-ui); }

.zuma-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; }
.tasese { text-align: right; font-variant-numeric: tabular-nums; }
.luha-table .sucewa-cell { width: 2.5rem; font-variant-numeric: tabular-nums; }
.luha-table .xedi-cell a { color: #241d15; font-weight: 600; text-decoration: none; }
.luha-table .xedi-cell a:hover { text-decoration: underline; text-decoration-color: #b4451f; }
.luha-table .xefi-cell, .luha-table .waro-cell { white-space: nowrap; }
.waro-head { font-variant-numeric: tabular-nums; }
.raurzu-sub { font-size: 0.7rem; margin-left: 0.15rem; }
.zuma-note, .zuma-legend { max-width: 80ch; }
.zuma-filter { margin: 0.6rem 0; }
.zuma-filter input { font: inherit; padding: 0.45rem 0.7rem; border: 1px solid #e7d9c4; border-radius: var(--radius); width: min(100%, 22rem); background: #fffdf9; color: #241d15; }
.zuma-filter input:focus { outline: 2px solid #b4451f; outline-offset: 1px; }
tr[hidden] { display: none; }
table { border-spacing: 0 0.35rem; border-collapse: separate; }
th, td { border: 0; }
thead th { font-family: var(--font-ui); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.06em; color: #6a5f52; padding-bottom: 0.2rem; }
tbody > tr > td, tbody > tr > th { background: #fffdf9; border-top: 1px solid #e7d9c4; border-bottom: 1px solid #e7d9c4; }
tbody > tr > :first-child { border-left: 1px solid #e7d9c4; border-radius: var(--radius) 0 0 var(--radius); }
tbody > tr > :last-child { border-right: 1px solid #e7d9c4; border-radius: 0 var(--radius) var(--radius) 0; }
.luha-table tbody > tr > :first-child { border-left: 4px solid #b4451f; }
tbody > tr:hover > td, tbody > tr:hover > th { background: rgba(180, 69, 31, 0.05); }
.xefi-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); }
.xefi-high { background: #2a7a4b; } .xefi-mid { background: #a86a0f; } .xefi-low { background: #b4451f; }
.xefi-na { background: #948b7f; 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 #e7d9c4; border-radius: var(--radius); color: #6a5f52; background: #fffdf9; }
.urbemo-mark { margin-left: 0.3rem; color: #b4451f; }
.sudini { font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.05em; padding: 0.05rem 0.35rem; border: 1px solid #e7d9c4; border-radius: var(--radius); }
.magedi-official { border-color: #2a7a4b; color: #2a7a4b; }
.magedi-secondary { color: #6a5f52; }
.magedi-unverified, .magedi-na { color: #948b7f; }
.warose { margin-top: 0.15rem; }
.kaurka { display: inline-block; font-family: var(--font-ui); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: #ffffff; background: #2a7a4b; border: 1px solid #2a7a4b; border-radius: var(--radius); padding: 0 0.4rem; margin-right: 0.3rem; }
.bedi-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.bedi-list .kaurka { font-size: 0.8rem; }

.olvi { display: inline-flex; gap: 2px; vertical-align: middle; align-items: flex-end; }
.olvi i { display: inline-block; width: 5px; height: 12px; background: rgba(180, 69, 31, 0.18); }
.olvi i.on { background: #b4451f; }
.tota-null, .tota-na { font-family: var(--font-ui); font-size: 0.85rem; color: var(--ink-soft); display: inline-block; min-width: 1.2rem; text-align: center; }

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

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

.zube-table .waro-id { width: 3rem; font-family: var(--font-ui); font-weight: 700;  }
.zube-table .waro-rubric { font-size: 0.9rem; }
.zube-table .waro-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.2rem; }
.zube-table .waro-val, .zube-table .waro-flag, .zube-table .waro-w, .zube-table .waro-date { white-space: nowrap; }
.waro-null .waro-rubric { color: var(--ink-soft); font-style: italic; }
.waro-na .waro-rubric { color: var(--na); }
.vefi { 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; }
.vefi footer { font-family: var(--font-ui); font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.2rem; }
.urbemo-list, .juli-list, .juluvi-list, .sece-status, .filiur-checks { padding-left: 1.2rem; }
.urbemo-text { font-size: 0.9rem; color: var(--ink-soft); }
.juli-H3 { color: var(--ink-soft); }
.seradi-yes { color: var(--ok); }
.seradi-no { color: var(--low); }
.seradi-unverified { color: var(--ink-soft); }
.noma-ref { font-family: var(--font-ui); font-size: 0.75rem; text-decoration: none; color: var(--accent); }
.noma-id { font-family: var(--font-ui); font-weight: 700; white-space: nowrap; }
.noma-manual { color: var(--ink-soft); font-size: 0.8rem; }
.kovisu-cta { margin-top: 2rem; padding: 1rem 1.2rem; background: rgba(180, 69, 31, 0.07); border: 1px solid rgba(180, 69, 31, 0.3); border-radius: var(--radius); }
.kovisu-cta h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.kovisu-cta h2::before { content: none; }
.kovisu-cta p:last-child { margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.kovisu-cta .nozu { margin: 0; }
.nozu { 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 #b4451f; color: #ffffff; background: #b4451f; border-radius: var(--radius); text-decoration: none; cursor: pointer; font-size: 0.95rem; } .nozu:hover { filter: brightness(1.08); } .btn-secondary { background: #fffdf9; color: #241d15; border-color: #e7d9c4; } .btn-secondary:hover { background: #fdf8f1; filter: none; }

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

.line-table td, .nilu-table td, .rodini-table td, .suneto-table td { font-size: 0.9rem; }
.rodini-table td:last-child, .nilu-table td:first-child, .zube-table .waro-date { white-space: nowrap; }
.rodini-table a { overflow-wrap: anywhere; }
.tone { 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); }
.hajuno-section .sece-list a { font-weight: 600; }
.danory-note { font-size: 0.9rem; }
.towa-footer { border-top: 1px solid #e7d9c4; margin-top: 3rem; padding: 1.4rem 0 2rem; font-size: 0.88rem; color: #6a5f52; } .towa-footer p { max-width: 80ch; }
