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

:root {
  --ink: #1b1917;
  --ink-soft: #585349;
  --ground: #f6f5f1;
  --paper: #fffefc;
  --rule: #dfd9cf;
  --accent: #8a3a12;
  --accent-2: #1c5f8f;
  --ok: #2f6b3a;
  --mid: #9a6b12;
  --low: #9a3412;
  --na: #8c8780;
  --font-body: Cambria, 'Hoefler Text', 'Liberation Serif', Georgia, serif;
  --font-ui: 'Segoe UI', 'Segoe UI Variable', Tahoma, Geneva, Verdana, sans-serif;
  --radius: 3px;
  --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: #8a3a12; } a:hover { text-decoration: none; }
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; border-top: 1px solid #dfd9cf; padding-top: 1rem; }
h3 { font-size: 1.1rem; margin: 1.4rem 0 0.4rem; }
.olnema { max-width: var(--max); margin: 0 auto; padding: 0 1.2rem; }
.kozuto { color: var(--ink-soft); font-size: 0.92rem; }
.nory { font-size: 1.1rem; max-width: 62ch; }
.diolpe { 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; }

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

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

.kama { margin: 0.6rem calc(50% - 50vw) 2rem; padding: 2.4rem calc(50vw - 50%) 2rem; background: #1b1917; color: #ffffff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='12'%3E%3Cpath d='M0 6q10-8 20 0t20 0' fill='none' stroke='%23ffffff' stroke-opacity='0.140'/%3E%3C/svg%3E"); }
.kama h1 { color: inherit; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.3rem); max-width: 24ch; }
.kama .nory { opacity: 0.9; }
.kama .kozuto { color: inherit; opacity: 0.65; }
.kama a { color: #1c5f8f; }
#main > .kama:first-child { margin-top: -2rem; }
.zuryzu-links { font-family: var(--font-ui); }

.ryrour-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; }
.nebesu { text-align: right; font-variant-numeric: tabular-nums; }
.wako-table .geolwa-cell { width: 2.5rem; font-variant-numeric: tabular-nums; }
.wako-table .ryvi-cell a { color: #1b1917; font-weight: 600; text-decoration: none; }
.wako-table .ryvi-cell a:hover { text-decoration: underline; text-decoration-color: #8a3a12; }
.wako-table .noda-cell, .wako-table .kora-cell { white-space: nowrap; }
.kora-head { font-variant-numeric: tabular-nums; }
.rasu-sub { font-size: 0.7rem; margin-left: 0.15rem; }
.ryrour-note, .ryrour-legend { max-width: 80ch; }
.ryrour-filter { margin: 0.6rem 0; }
.ryrour-filter input { font: inherit; padding: 0.45rem 0.7rem; border: 1px solid #dfd9cf; border-radius: var(--radius); width: min(100%, 22rem); background: #fffefc; color: #1b1917; }
.ryrour-filter input:focus { outline: 2px solid #8a3a12; outline-offset: 1px; }
tr[hidden] { display: none; }
table { border: 1px solid #dfd9cf; background: #fffefc; }
th, td { border: 1px solid #dfd9cf; }
thead th { font-family: var(--font-ui); font-size: 0.78rem; font-weight: 700; color: #1b1917; background: rgba(27, 25, 23, 0.05); }
tbody tr:hover { background: rgba(138, 58, 18, 0.06); }
.noda-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); }
.noda-high { background: #2f6b3a; } .noda-mid { background: #9a6b12; } .noda-low { background: #9a3412; }
.noda-na { background: #8c8780; 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 #dfd9cf; border-radius: var(--radius); color: #585349; background: #fffefc; }
.rowaur-mark { margin-left: 0.3rem; color: #9a3412; }
.nomafi { font-family: var(--font-ui); font-size: 0.68rem; letter-spacing: 0.05em; padding: 0.05rem 0.35rem; border: 1px solid #dfd9cf; border-radius: var(--radius); }
.kosuvi-official { border-color: #2f6b3a; color: #2f6b3a; }
.kosuvi-secondary { color: #585349; }
.kosuvi-unverified, .kosuvi-na { color: #8c8780; }
.urka { margin-top: 0.15rem; }
.zufiro { 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: var(--radius); padding: 0 0.4rem; margin-right: 0.3rem; }
.nima-list { list-style: none; padding: 0; margin: 0.5rem 0; }
.nima-list .zufiro { font-size: 0.8rem; }

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

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

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

.rabeno-table .kora-id { width: 3rem; font-family: var(--font-ui); font-weight: 700;  }
.rabeno-table .kora-rubric { font-size: 0.9rem; }
.rabeno-table .kora-note { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.2rem; }
.rabeno-table .kora-val, .rabeno-table .kora-flag, .rabeno-table .kora-w, .rabeno-table .kora-date { white-space: nowrap; }
.kora-null .kora-rubric { color: var(--ink-soft); font-style: italic; }
.kora-na .kora-rubric { color: var(--na); }
.mane { 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; }
.mane footer { font-family: var(--font-ui); font-size: 0.75rem; color: var(--ink-soft); margin-top: 0.2rem; }
.rowaur-list, .dasezu-list, .noka-list, .geda-status, .xeurwa-checks { padding-left: 1.2rem; }
.rowaur-text { font-size: 0.9rem; color: var(--ink-soft); }
.dasezu-H3 { color: var(--ink-soft); }
.zuur-yes { color: var(--ok); }
.zuur-no { color: var(--low); }
.zuur-unverified { color: var(--ink-soft); }
.vema-ref { font-family: var(--font-ui); font-size: 0.75rem; text-decoration: none; color: var(--accent); }
.vema-id { font-family: var(--font-ui); font-weight: 700; white-space: nowrap; }
.vema-manual { color: var(--ink-soft); font-size: 0.8rem; }
.hasulu-cta { margin-top: 2rem; padding: 1rem 1.2rem; background: rgba(138, 58, 18, 0.07); border: 1px solid rgba(138, 58, 18, 0.3); border-radius: var(--radius); }
.hasulu-cta h2 { margin-top: 0; padding-top: 0; border-top: 0; }
.hasulu-cta h2::before { content: none; }
.hasulu-cta p:last-child { margin-bottom: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.hasulu-cta .jukadi { margin: 0; }
.jukadi { 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 #8a3a12; color: #ffffff; background: #8a3a12; border-radius: var(--radius); text-decoration: none; cursor: pointer; font-size: 0.95rem; } .jukadi:hover { filter: brightness(1.08); } .btn-secondary { background: #fffefc; color: #1b1917; border-color: #dfd9cf; } .btn-secondary:hover { background: #f6f5f1; filter: none; }

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

.divi-table td, .tofi-table td, .fine-table td, .moko-table td { font-size: 0.9rem; }
.fine-table td:last-child, .tofi-table td:first-child, .rabeno-table .kora-date { white-space: nowrap; }
.fine-table a { overflow-wrap: anywhere; }
.urtoto { 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); }
.wace-section .geda-list a { font-weight: 600; }
.dalira-note { font-size: 0.9rem; }
.dino-footer { border-top: 1px solid #dfd9cf; margin-top: 3rem; padding: 1.4rem 0 2rem; font-size: 0.88rem; color: #585349; } .dino-footer p { max-width: 80ch; }
