/* Hradiská – vzhľad: pergamen, drevo, zlato */
:root {
  --bg: #e7d8b6;
  --card: #f9f1de;
  --card2: #f0e3c4;
  --ink: #2b1d10;
  --ink2: #6e5739;
  --line: #cdb48b;
  --accent: #a83c22;
  --accent2: #852c16;
  --accent-ink: #fff4dc;
  --green: #3f6b33;
  --gold: #c08a1e;
  --blue: #2f5f8a;
  --danger: #b3261e;
  --wood1: #6e462a;
  --wood2: #45291a;
  --wood-ink: #fbefd5;
  --chip: #fbf1d9;
  --chip-ink: #2b1d10;
  --shadow: 0 3px 10px rgba(60, 40, 15, .16);
  --radius: 14px;
  --font: 'Alegreya Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Cinzel', Georgia, serif;
  --paper: radial-gradient(circle at 18% 12%, rgba(255, 255, 255, .35), transparent 40%), radial-gradient(circle at 85% 80%, rgba(120, 80, 30, .12), transparent 45%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a130d; --card: #2a1f15; --card2: #33261a; --ink: #f2e5cb; --ink2: #bfa98a; --line: #4d3a27;
    --accent: #c9573a; --accent2: #9c3c22; --accent-ink: #fff4dc; --green: #8bbd6f; --gold: #e2b14a; --blue: #84b1db; --danger: #ff6b5e;
    --wood1: #4a2f1c; --wood2: #2b1a0f; --chip: #2f2318; --chip-ink: #f2e5cb;
    --shadow: 0 3px 12px rgba(0, 0, 0, .5); --paper: radial-gradient(circle at 18% 12%, rgba(255, 220, 160, .05), transparent 40%);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1a130d; --card: #2a1f15; --card2: #33261a; --ink: #f2e5cb; --ink2: #bfa98a; --line: #4d3a27;
  --accent: #c9573a; --accent2: #9c3c22; --accent-ink: #fff4dc; --green: #8bbd6f; --gold: #e2b14a; --blue: #84b1db; --danger: #ff6b5e;
  --wood1: #4a2f1c; --wood2: #2b1a0f; --chip: #2f2318; --chip-ink: #f2e5cb;
  --shadow: 0 3px 12px rgba(0, 0, 0, .5); --paper: radial-gradient(circle at 18% 12%, rgba(255, 220, 160, .05), transparent 40%);
  color-scheme: dark;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--paper), var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.35;
  overscroll-behavior: none;
  touch-action: manipulation;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: .02em; }
a { color: var(--accent); }
.hidden { display: none !important; }
.muted { color: var(--ink2); }
.small { font-size: 13px; }
.danger { color: var(--danger); }
.ok { color: var(--green); }
.row { display: flex; align-items: center; gap: 8px; }
.row.wrap { flex-wrap: wrap; }
.spread { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.grow { flex: 1; min-width: 0; }
.ic { width: 1.2em; height: 1.2em; vertical-align: -0.24em; flex: none; }
.ic.big { width: 28px; height: 28px; }
.emo { display: inline-flex; align-items: center; justify-content: center; font-size: 1.05em; line-height: 1; }

/* ---------- rozloženie */
#app { height: 100dvh; display: flex; flex-direction: column; max-width: 720px; margin: 0 auto; position: relative; }
header.top {
  padding: calc(env(safe-area-inset-top) + 8px) 10px 8px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 74px), linear-gradient(180deg, var(--wood1), var(--wood2));
  border-bottom: 2px solid #c9962b;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .35);
  color: var(--wood-ink);
  z-index: 5;
}
.vname { display: flex; align-items: center; gap: 6px; background: none; border: 0; padding: 2px 0; min-width: 0; color: var(--wood-ink); }
.vname h1 { font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 0 rgba(0, 0, 0, .5); }
.vname .muted { color: #d9c19a; }
.vname .chev { color: #e8c97a; font-size: 11px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 800; background: rgba(251, 239, 213, .16); border: 1px solid rgba(251, 239, 213, .35); white-space: nowrap; }
main .badge, #sheet .badge { background: var(--card2); border-color: var(--line); color: var(--ink); }
.badge.red { background: var(--danger) !important; color: #fff !important; border-color: #7a1410 !important; }
.badge.green { background: #3f7a35 !important; color: #fff !important; border-color: #234a1c !important; }
.badge.gold { background: #e2b14a !important; color: #2c2116 !important; border-color: #8a6416 !important; }
.resbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 6px; }
.res { background: var(--chip); color: var(--chip-ink); border: 1px solid #2b1a0d; border-radius: 10px; padding: 3px 5px 4px; min-width: 0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 1px 2px rgba(0, 0, 0, .3); }
.res .v { display: flex; align-items: center; gap: 3px; font-weight: 800; font-size: 15px; font-variant-numeric: tabular-nums; }
.res .v .ic { width: 20px; height: 20px; }
.res .p { font-size: 11px; color: var(--ink2); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res .bar { height: 3px; background: rgba(0, 0, 0, .15); border-radius: 2px; margin-top: 2px; overflow: hidden; }
.res .bar i { display: block; height: 100%; background: linear-gradient(90deg, #5b9a3c, #8cc157); }
.res .bar i.full { background: linear-gradient(90deg, #c0392b, #ff6b4a); }
.res.neg .p { color: var(--danger); font-weight: 800; }
.alertline { margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: linear-gradient(180deg, #c0392b, #8e2219); color: #fff; font-weight: 800; font-size: 14px; display: flex; gap: 6px; align-items: center; border: 1px solid #5a120c; animation: pulse 2s infinite; }
@keyframes pulse { 50% { filter: brightness(1.18); } }
.infoline { margin-top: 6px; padding: 6px 10px; border-radius: 10px; background: var(--card2); border: 1px solid var(--line); font-size: 13px; display: flex; gap: 6px; align-items: center; color: var(--ink); }

main { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 10px 10px 20px; }
main.mapmode { padding: 0; overflow: hidden; position: relative; }

nav.tabs {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 74px), linear-gradient(180deg, var(--wood1), var(--wood2));
  border-top: 2px solid #c9962b;
  padding-bottom: env(safe-area-inset-bottom);
  z-index: 5;
}
nav.tabs button {
  background: none; border: 0; padding: 7px 0 6px; display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: 12px; color: #d9c19a; position: relative; font-weight: 700;
}
nav.tabs button svg { width: 25px; height: 25px; }
nav.tabs button.on { color: #ffd76a; text-shadow: 0 0 8px rgba(255, 200, 80, .45); }
nav.tabs button.on::before { content: ''; position: absolute; top: -2px; left: 22%; right: 22%; height: 3px; border-radius: 0 0 3px 3px; background: #ffd76a; }
nav.tabs .dot { position: absolute; top: 3px; left: 56%; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: #d93a26; color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; border: 1.5px solid #3b1a0c; }

/* ---------- karty a prvky */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), transparent 40%), var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), var(--shadow);
}
.card h2 { font-size: 16px; margin-bottom: 8px; padding-bottom: 5px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; }
.card h2::before { content: '❖'; color: var(--gold); font-size: 12px; }
.card .spread h2 { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }
.card h3 { font-size: 14px; margin: 10px 0 6px; color: var(--ink2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(180deg, #c14d2e, var(--accent2)); color: var(--accent-ink); border: 1px solid #5a1a0b; border-radius: 11px;
  padding: 10px 14px; font-weight: 800; min-height: 44px; text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 2px 0 #4a1408, 0 3px 6px rgba(0, 0, 0, .2);
}
.btn:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 0 #4a1408; }
.btn:disabled { opacity: .45; filter: grayscale(.4); }
.btn.sec { background: linear-gradient(180deg, var(--card), var(--card2)); color: var(--ink); border: 1px solid var(--line); text-shadow: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 0 rgba(90, 60, 25, .25); }
.btn.green { background: linear-gradient(180deg, #4e8a3e, #2f5f26); border-color: #1d3d16; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 2px 0 #183312; }
.btn.small { min-height: 34px; padding: 6px 10px; font-size: 14px; border-radius: 9px; }
.btn.full { width: 100%; }
.btn.ghost { background: none; border: 1px solid var(--line); color: var(--ink); box-shadow: none; text-shadow: none; }
input[type=text], input[type=number], input[type=password], input[type=tel], select, textarea {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; font-size: 16px; width: 100%;
  box-shadow: inset 0 1px 3px rgba(60, 40, 15, .15);
}
textarea { min-height: 90px; resize: vertical; }
label.f { display: block; font-size: 13px; color: var(--ink2); margin: 8px 0 4px; font-weight: 700; }
.cost { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; font-variant-numeric: tabular-nums; font-weight: 700; }
.cost span { display: inline-flex; align-items: center; gap: 3px; }
.cost span.no { color: var(--danger); }
.list { display: flex; flex-direction: column; gap: 8px; }
.item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--card2); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); }
.item.unread { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.item.unread .t { font-weight: 800; }
.item .t { font-weight: 700; }
.item .s { font-size: 13px; color: var(--ink2); }
.pill { display: inline-flex; align-items: center; gap: 4px; background: var(--card2); border: 1px solid var(--line); border-radius: 99px; padding: 3px 9px; font-size: 14px; font-variant-numeric: tabular-nums; }
.units { display: flex; flex-wrap: wrap; gap: 6px; }
.empty { text-align: center; color: var(--ink2); padding: 18px 6px; }
.seg { display: flex; background: var(--card2); border: 1px solid var(--line); border-radius: 12px; padding: 3px; margin-bottom: 12px; }
.seg button { flex: 1; border: 0; background: none; padding: 8px; border-radius: 9px; font-weight: 800; color: var(--ink2); }
.seg button.on { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.progress { height: 8px; background: rgba(0, 0, 0, .12); border-radius: 4px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, #c08a1e, #f0c75a); }
.progress.hp i { background: linear-gradient(90deg, #3f7a35, #7cc05c); }
table.t { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
table.t th, table.t td { padding: 6px 4px; border-bottom: 1px solid var(--line); text-align: left; }
table.t th { font-size: 12px; color: var(--ink2); font-weight: 800; }
table.t td.n, table.t th.n { text-align: right; }
table.t tr.me td { font-weight: 800; color: var(--accent); }

/* ---------- scény */
.scene {
  position: relative; width: 100%; max-width: 460px; margin: 0 auto 12px;
  border-radius: 18px; overflow: hidden; border: 3px solid #4a2c17;
  box-shadow: 0 0 0 2px #c9962b, 0 6px 18px rgba(40, 25, 10, .35);
  background: #7fa64a;
}
.scene svg { width: 100%; height: auto; display: block; }
.scene .tap { cursor: pointer; }
.scene .tap:active { filter: brightness(1.15); }
.lvt { font: 800 12px var(--font); fill: #2b1a0d; }
.scn-label { font: 700 11px var(--display); fill: #fbefd5; letter-spacing: .04em; }
.questpill { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: var(--card); border: 1px solid var(--gold); margin-bottom: 10px; box-shadow: var(--shadow); width: 100%; text-align: left; color: var(--ink); }
.questpill.done { background: linear-gradient(180deg, #f6d36a, #e2ad33); color: #2c2116; border-color: #8a6416; animation: pulse 2s infinite; }

/* ---------- spodný panel */
#sheet-bg { position: fixed; inset: 0; background: rgba(20, 12, 4, .5); z-index: 20; opacity: 0; transition: opacity .18s; }
#sheet-bg.on { opacity: 1; }
#sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 21; max-width: 720px; margin: 0 auto;
  background: var(--paper), var(--bg); border-radius: 18px 18px 0 0; max-height: 88dvh; display: flex; flex-direction: column;
  transform: translateY(105%); transition: transform .22s ease-out; box-shadow: 0 -6px 30px rgba(0, 0, 0, .35);
  overflow: hidden;
}
#sheet.on { transform: none; }
#sheet .grab { width: 44px; height: 5px; border-radius: 3px; background: #c9962b; margin: 0 auto; position: absolute; left: 0; right: 0; top: 6px; z-index: 2; }
#sheet .shead {
  display: flex; align-items: center; gap: 10px; padding: 16px 14px 10px; flex: none; color: var(--wood-ink);
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 74px), linear-gradient(180deg, var(--wood1), var(--wood2));
  border-bottom: 2px solid #c9962b;
}
#sheet .shead h2 { font-size: 18px; flex: 1; min-width: 0; text-shadow: 0 1px 0 rgba(0, 0, 0, .5); }
#sheet .shead .muted { color: #d9c19a; }
#sheet .x { background: rgba(251, 239, 213, .15); border: 1px solid rgba(251, 239, 213, .4); color: var(--wood-ink); width: 36px; height: 36px; border-radius: 50%; font-size: 18px; line-height: 1; }
#sheet .sbody { overflow-y: auto; padding: 12px 14px calc(16px + env(safe-area-inset-bottom)); }

#toast { position: fixed; left: 50%; top: calc(env(safe-area-inset-top) + 12px); transform: translate(-50%, -160%); z-index: 40; background: linear-gradient(180deg, #4a2c17, #2b1a0d); color: #fbefd5; padding: 10px 16px; border-radius: 12px; font-weight: 800; max-width: 92vw; box-shadow: 0 4px 16px rgba(0, 0, 0, .4); transition: transform .2s; text-align: center; border: 1px solid #c9962b; }
#toast.on { transform: translate(-50%, 0); }
#toast.err { background: linear-gradient(180deg, #c0392b, #8e2219); color: #fff; border-color: #5a120c; }

/* ---------- mapa */
#map { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; display: block; background: #3b2f22; }
.mapctl { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; gap: 8px; z-index: 3; }
.mapctl button { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(180deg, var(--wood1), var(--wood2)); color: var(--wood-ink); border: 1px solid #c9962b; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); font-size: 22px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mapgo { position: absolute; left: 10px; top: 10px; z-index: 3; display: flex; gap: 6px; background: linear-gradient(180deg, var(--wood1), var(--wood2)); border: 1px solid #c9962b; border-radius: 12px; padding: 5px; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); align-items: center; }
.mapgo input { width: 56px; padding: 6px; text-align: center; background: var(--chip); color: var(--chip-ink); }
.maplegend { position: absolute; left: 10px; bottom: 10px; z-index: 3; background: rgba(43, 26, 13, .82); color: #fbefd5; border: 1px solid #c9962b; border-radius: 10px; padding: 5px 9px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; max-width: calc(100% - 100px); }
.maplegend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 3px; vertical-align: -1px; border: 1px solid rgba(0, 0, 0, .4); }

/* ---------- prihlásenie */
.login { min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: calc(env(safe-area-inset-top) + 16px) 16px 24px; max-width: 460px; margin: 0 auto; }
.login .logo { text-align: center; margin-bottom: 14px; }
.login .logo h1 { font-size: 40px; color: var(--accent); text-shadow: 0 2px 0 rgba(0, 0, 0, .12); }
.login .logo p { margin: 4px 0 0; color: var(--ink2); }
.login-art { border-radius: 18px; overflow: hidden; border: 3px solid #4a2c17; box-shadow: 0 0 0 2px #c9962b, 0 6px 18px rgba(40, 25, 10, .35); margin-bottom: 12px; }
.login-art svg { display: block; width: 100%; height: auto; }
.tribes { display: grid; gap: 8px; }
.tribe { display: flex; gap: 10px; align-items: center; text-align: left; background: var(--card2); border: 2px solid var(--line); border-radius: 12px; padding: 8px 10px; color: var(--ink); }
.tribe.on { border-color: var(--accent); background: var(--card); box-shadow: 0 0 0 3px rgba(168, 60, 34, .15); }
.tribe b { display: block; font-family: var(--display); }
.tribe .uico { width: 46px; height: 46px; }
.quad { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.quad button { padding: 9px; border-radius: 10px; border: 2px solid var(--line); background: var(--card2); font-weight: 800; color: var(--ink); }
.quad button.on { border-color: var(--accent); background: var(--card); }

/* ---------- jednotky a stavby */
.unitcard { padding: 10px; background: var(--card2); border: 1px solid var(--line); border-radius: 12px; }
.unitcard + .unitcard { margin-top: 8px; }
.unitcard .stats { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--ink2); margin: 4px 0; font-weight: 700; }
.trainrow { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.trainrow input { width: 90px; text-align: center; }
.uico { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex: none; }
.uico svg, .uico .ic { width: 100%; height: 100%; }
.uico .emo { font-size: 26px; }
.uport { filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .3)); }
.uchip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 9px 2px 2px; border-radius: 99px; background: var(--card2); border: 1px solid var(--line); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; }
.uchip svg, .uchip .emo { width: 24px; height: 24px; }
.bico { border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; background: radial-gradient(circle at 50% 70%, #b9d77f, #84ad4c 70%); border: 1px solid #5d7f34; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35); }
.bico svg { width: 112%; height: 112%; margin-top: -4%; }
.sendrow { display: grid; grid-template-columns: 40px 1fr 84px 52px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.sendrow input { text-align: center; padding: 7px 4px; }
.rep-side { border: 1px solid var(--line); border-radius: 12px; padding: 8px; margin-bottom: 8px; background: var(--card2); }
.rep-grid { display: grid; gap: 2px; font-size: 13px; font-variant-numeric: tabular-nums; overflow-x: auto; align-items: center; }
.rep-grid div { text-align: center; padding: 2px 1px; font-weight: 700; }
.rep-grid .h { color: var(--ink2); text-align: left; }
.rep-grid svg, .rep-grid .emo { width: 26px; height: 26px; }
.chat { display: flex; flex-direction: column; gap: 6px; max-height: 320px; overflow-y: auto; margin-bottom: 8px; }
.chat .m { background: var(--card2); border: 1px solid var(--line); border-radius: 10px; padding: 6px 9px; }
.chat .m b { font-size: 13px; }
.hero-top { display: flex; gap: 12px; align-items: center; }
.hero-top svg.portrait { width: 84px; height: 84px; flex: none; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.ptsrow { display: grid; grid-template-columns: 1fr auto 40px auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.ptsrow button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-weight: 800; font-size: 18px; }
.help p { margin: 6px 0; }
.help h3 { margin-top: 14px; }

@media (min-width: 560px) {
  main { padding: 16px; }
  .resbar { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .alertline, .questpill.done { animation: none; }
}

/* ---------- appka na ploche, upozornenia */
.installcard { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 10px; border-radius: 14px; color: #fbefd5;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 74px), linear-gradient(180deg, var(--wood1), var(--wood2));
  border: 1px solid #c9962b; box-shadow: var(--shadow); }
.installcard img { width: 46px; height: 46px; border-radius: 11px; flex: none; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.installcard .small { color: #e8d4ad; }
.installcard .bell { font-size: 30px; flex: none; }
.installcard .ic { color: #ffd76a; }
#sheet .installcard { margin: 0; }
.x-mini { position: absolute; top: -8px; right: -6px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid #c9962b; background: var(--wood2); color: #fbefd5; font-size: 13px; line-height: 1; }
.checkrow { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.checkrow input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
