@font-face { font-family: "Atkinson"; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson"; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson"; font-weight: 400; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson"; font-weight: 700; font-display: swap; src: url(fonts/atkinson-hyperlegible-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --pine: #1E3B2F; --pine-2: #2B5442; --page: #EDF1EE; --surface: #FFFFFF; --surface-2: #F6F8F6;
  --ink: #15231C; --muted: #56675E; --line: #C9D5CD; --signal: #F2B705; --signal-ink: #3A2C00;
  --error: #B3261E; --error-bg: #FBE4DF; --ok: #2F6B4F; --ok-bg: #E2F0E6; --info-bg: #E8EEF6;
  --t-ceteh: #2F6B4F; --t-free: #5E8C3A; --t-secret: #6B3F8A; --t-challenge: #8A6A12; --t-scene: #A2432F;
  --t-tour: #2E5C8A; --t-tpl: #2F7F86; --t-custom: #6B6B6B; --t-meal: #7A5C9E;
  --r: 8px; --gap: 12px; color-scheme: light;
  --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);   /* výřez a systémové lišty; v Android aplikaci je odsazuje aplikace sama (html.in-app) */
}
html.in-app { --sat: 0px; --sab: 0px; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --pine: #9FD3B8; --pine-2: #7FBFA0; --page: #121A16; --surface: #1A2520; --surface-2: #213029;
    --ink: #E6EEE9; --muted: #9DB0A6; --line: #34463D; --signal: #F2B705; --signal-ink: #1E1600;
    --error: #FF8A80; --error-bg: #3A1E1B; --ok: #8FD3AE; --ok-bg: #1C3328; --info-bg: #1D2836; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --pine: #9FD3B8; --pine-2: #7FBFA0; --page: #121A16; --surface: #1A2520; --surface-2: #213029;
  --ink: #E6EEE9; --muted: #9DB0A6; --line: #34463D; --signal: #F2B705; --signal-ink: #1E1600;
  --error: #FF8A80; --error-bg: #3A1E1B; --ok: #8FD3AE; --ok-bg: #1C3328; --info-bg: #1D2836; color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font: 16px/1.45 "Atkinson", system-ui, sans-serif; background: var(--page); color: var(--ink); }
:root { padding-top: var(--sat); padding-bottom: var(--sab); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 8px; }
h1 { font-size: 26px; } h2 { font-size: 21px; } h3 { font-size: 18px; } h4 { font-size: 16px; }
p { margin: 0 0 10px; }
a { color: var(--pine-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.row { display: flex; gap: var(--gap); align-items: center; flex-wrap: wrap; }
.row.nowrap { flex-wrap: nowrap; }
.row > .grow { width: auto; min-width: 0; flex: 1 1 auto; }
.check.block { display: flex; min-height: 36px; }
.grow { flex: 1 1 auto; }
.stack > * + * { margin-top: var(--gap); }
.hide { display: none !important; }

/* controls */
.btn { min-height: 44px; padding: 8px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.btn:hover { border-color: var(--pine-2); }
.btn.primary { background: var(--pine); color: var(--surface); border-color: var(--pine); }
.btn.danger { color: var(--error); }
.btn.small { min-height: 34px; padding: 4px 10px; font-size: 14px; }
.btn:disabled { opacity: .5; cursor: default; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field > span { font-size: 14px; font-weight: 700; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=number], input:not([type]), select, textarea {
  min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); width: 100%;
}
textarea { min-height: 120px; resize: vertical; }
input.bad { border-color: var(--error); background: var(--error-bg); }
input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--pine); }
.check { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; cursor: pointer; }

/* shell */
.top { position: sticky; top: var(--sat); z-index: 20; background: var(--pine); color: var(--surface); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: var(--sat); z-index: 30; background: var(--pine); }
.top-inner { display: flex; align-items: center; gap: 16px; padding: 8px 16px; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 18px; white-space: nowrap; cursor: pointer; }
.brand small { font-weight: 400; opacity: .8; margin-left: 8px; }
.tabs { display: flex; gap: 2px; overflow-x: auto; }
.tabs button { background: transparent; border: 0; color: inherit; padding: 10px 12px; border-radius: 6px; cursor: pointer; font-weight: 700; opacity: .8; white-space: nowrap; min-height: 44px; }
.tabs button.on { opacity: 1; background: rgba(255,255,255,.16); box-shadow: inset 0 -3px 0 var(--signal); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .top { color: var(--page); } }
.wrap { padding: 16px; max-width: 1500px; margin: 0 auto; }
.narrow { max-width: 760px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.toast { position: fixed; left: 50%; bottom: calc(80px + var(--sab)); transform: translateX(-50%); background: var(--ink); color: var(--page); padding: 10px 16px; border-radius: var(--r); z-index: 100; max-width: 90vw; }
.toast.err { background: var(--error); color: #fff; }
.sync { font-size: 13px; opacity: .85; margin-left: auto; }

/* type badge: color + code, never color alone */
.tb { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; height: 20px; padding: 0 4px; border-radius: 4px; font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .02em; flex: none; }
.tb.ceteh { background: var(--t-ceteh); } .tb.free { background: var(--t-free); } .tb.secret { background: var(--t-secret); }
.tb.challenge { background: var(--t-challenge); } .tb.scene { background: var(--t-scene); } .tb.tour { background: var(--t-tour); }
.tb.tpl { background: var(--t-tpl); } .tb.custom { background: var(--t-custom); } .tb.meal { background: var(--t-meal); }

/* plan grid */
.plan { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.plan.nolib { grid-template-columns: 1fr; }
.lib { position: sticky; top: 76px; max-height: calc(100vh - 92px); display: flex; flex-direction: column; gap: 8px; }
.lib-list { overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: 4px; padding-right: 4px; }
.lib-item { display: flex; gap: 8px; align-items: center; padding: 6px 8px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); cursor: grab; }
.lib-item:hover { border-color: var(--pine-2); }
.lib-item .meta { font-size: 12px; color: var(--muted); }
.lib-item.used { opacity: .6; }
.grid-wrap { overflow-x: auto; }
table.grid { border-collapse: separate; border-spacing: 0; width: 100%; min-width: 1460px; }
table.grid th { position: sticky; top: 0; background: var(--page); text-align: left; font-size: 14px; color: var(--muted); padding: 6px 8px; z-index: 2; }
table.grid td { vertical-align: top; border-top: 1px solid var(--line); padding: 6px; }
td.daycell { width: 112px; position: sticky; left: 0; background: var(--page); z-index: 1; }
.daynum { font-size: 30px; font-weight: 700; line-height: 1; color: var(--pine); }
.daynum small { font-size: 13px; font-weight: 400; color: var(--muted); display: block; margin-top: 2px; }
.dayflag { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--signal); color: var(--signal-ink); margin-top: 4px; }
.cell { min-height: 54px; border-radius: 6px; padding: 3px; display: flex; flex-direction: column; gap: 4px; transition: background .1s; }
.cell.over { background: color-mix(in srgb, var(--signal) 22%, transparent); outline: 2px dashed var(--signal); }
.cell .empty { font-size: 13px; color: var(--muted); padding: 6px; }
.chip { position: relative; display: flex; gap: 6px; align-items: flex-start; padding: 6px 8px; background: var(--surface); border: 1px solid var(--line); border-left-width: 4px; border-radius: 6px; cursor: pointer; font-size: 14px; }
.chip.ceteh { border-left-color: var(--t-ceteh); } .chip.free { border-left-color: var(--t-free); } .chip.secret { border-left-color: var(--t-secret); }
.chip.challenge { border-left-color: var(--t-challenge); } .chip.scene { border-left-color: var(--t-scene); } .chip.tour { border-left-color: var(--t-tour); }
.chip.tpl { border-left-color: var(--t-tpl); } .chip.custom { border-left-color: var(--t-custom); }
.chip.proposed { border-style: dashed; background: var(--surface-2); }
.chip.done { opacity: .55; } .chip.done .ct { text-decoration: line-through; }
.chip.postponed { display: none; }
.chip.sel { box-shadow: 0 0 0 2px var(--pine-2); }
.chip .ct { font-weight: 700; }
.chip .cs { font-size: 12px; color: var(--muted); }
.chip.dragging { opacity: .35; }
.chip.drop-before::before, .chip.drop-after::after { content: ""; position: absolute; left: -4px; right: 0; height: 4px; background: var(--signal); border-radius: 2px; }
.chip.drop-before::before { top: -5px; } .chip.drop-after::after { bottom: -5px; }
.drop-label { position: absolute; right: 6px; top: -10px; font-size: 11px; font-weight: 700; background: var(--signal); color: var(--signal-ink); padding: 0 6px; border-radius: 4px; z-index: 3; }
.chip.drop-after .drop-label { top: auto; bottom: -10px; }

/* side drawer */
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--surface); z-index: 41; overflow-y: auto; padding: calc(16px + var(--sat)) 18px calc(24px + var(--sab)); box-shadow: -8px 0 24px rgba(0,0,0,.18); }
.drawer.wide { width: min(980px, 100vw); }
.drawer-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.drawer-head h2 { flex: 1; }
.x { width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; cursor: pointer; color: var(--muted); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
@media (max-width: 640px) { .grid2, .grid3 { grid-template-columns: 1fr; } }
.posrow { display: grid; grid-template-columns: 26px 1fr 1fr 170px 84px; gap: 6px; align-items: center; }
.preprow { display: grid; grid-template-columns: 1fr 200px 44px; gap: 6px; align-items: center; }
@media (max-width: 640px) { .posrow { grid-template-columns: 26px 1fr 84px; } .posrow .pp, .posrow select { grid-column: 2 / 3; } .preprow { grid-template-columns: 1fr 44px; } .preprow select { grid-column: 1 / 2; } }
.rules { white-space: pre-wrap; font-size: 15px; line-height: 1.55; background: var(--surface-2); border-radius: var(--r); padding: 12px; max-height: 50vh; overflow: auto; }
.rules.md { white-space: normal; }
.rules h3, .rules h4 { margin-top: 10px; }
.rules ul { padding-left: 20px; margin: 4px 0 8px; }
.toolbar { display: flex; gap: 4px; flex-wrap: wrap; }
.note { padding: 10px 12px; border-radius: var(--r); background: var(--info-bg); font-size: 14px; }
.note.warn { background: var(--error-bg); }
.pw-ok { color: var(--ok); font-weight: 700; } .pw-bad { color: var(--error); font-weight: 700; }

/* co kdo */
.leaders-load { display: flex; flex-wrap: wrap; gap: 6px; }
.load { font-size: 13px; padding: 4px 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.load b { color: var(--pine); }
.load.heavy { border-color: var(--error); }
.group { margin-top: 18px; }
.group h3 { display: flex; gap: 8px; align-items: baseline; }
.group h3 small { color: var(--muted); font-weight: 400; font-size: 14px; }
.task { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.task.done .tt { text-decoration: line-through; opacity: .6; }
.task.unassigned .tt::after { content: " · nepřiřazeno"; color: var(--error); font-weight: 400; font-size: 13px; }
.tt { font-weight: 700; }
.tn { font-size: 14px; color: var(--muted); }
.lchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.lchip { min-height: 36px; padding: 4px 12px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14px; }
.lchip.on { background: var(--pine); color: var(--surface); border-color: var(--pine); font-weight: 700; }
.lchip.def { border-style: dashed; }
.menu-btn { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); cursor: pointer; }

/* meals */
table.meals { border-collapse: collapse; width: 100%; min-width: 900px; }
table.meals td, table.meals th { padding: 4px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
table.meals th { font-size: 14px; color: var(--muted); }
.peel { font-size: 13px; display: flex; gap: 4px; align-items: center; margin-top: 2px; }
.peel.suggest { color: var(--t-challenge); font-weight: 700; }

/* today */
.tl { display: flex; flex-direction: column; }
.tl-item { display: grid; grid-template-columns: 92px 1fr auto; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: center; }
.tl-item.reg { color: var(--muted); font-size: 14px; padding: 4px 0; }
.tl-time { font-weight: 700; font-variant-numeric: tabular-nums; }
.bigcheck { width: 34px !important; height: 34px !important; }

/* issues */
.issue { display: grid; grid-template-columns: 86px 1fr; gap: 10px; padding: 10px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); cursor: pointer; }
.issue + .issue { margin-top: 6px; }
.sev { white-space: nowrap; font-size: 12px; font-weight: 700; padding: 2px 6px; border-radius: 4px; text-align: center; align-self: start; }
.sev.error { background: var(--error); color: #fff; } .sev.warn { background: var(--signal); color: var(--signal-ink); }
.sev.task { background: var(--t-tour); color: #fff; } .sev.info { background: var(--line); color: var(--ink); }

/* camps / wizard */
.camps { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.campcard { text-align: left; cursor: pointer; }
.campcard h3 { margin-bottom: 4px; }
.login { max-width: 380px; margin: 12vh auto; }
.login h1 { font-size: 32px; color: var(--pine); }

/* mobile bottom nav */
.bnav { display: none; }
@media (max-width: 1000px) {
  .top .tabs { display: none; }
  .top-inner { flex-wrap: nowrap; gap: 8px; padding: 8px 12px; }
  .brand { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .brand small { display: block; margin: 0; }
  .sync { display: none; }
  .bnav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; background: var(--surface); border-top: 1px solid var(--line); z-index: 25; padding-bottom: var(--sab); }
  .bnav button { min-height: 58px; border: 0; background: transparent; font-weight: 700; font-size: 13px; color: var(--muted); }
  .bnav button.on { color: var(--pine); box-shadow: inset 0 3px 0 var(--signal); }
  .wrap { padding: 12px 12px 90px; }
  .plan { grid-template-columns: 1fr; }
  .lib { position: static; max-height: none; }
  .lib-list { max-height: 40vh; }
}

/* print */
.print-only { display: none; }
@media print {
  body { background: #fff; color: #000; font-size: 11pt; }
  .top, .bnav, .noprint, .toast { display: none !important; }
  .wrap { padding: 0; max-width: none; }
  .panel { border: 0; padding: 0; }
  .print-only { display: block; }
  .pday { break-before: page; }
  table.ptab { border-collapse: collapse; width: 100%; font-size: 9pt; }
  table.ptab td, table.ptab th { border: 1px solid #999; padding: 3px 4px; vertical-align: top; }
  .tb { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rules { max-height: none; background: none; padding: 0; }
}
table.ptab { border-collapse: collapse; width: 100%; font-size: 14px; }
table.ptab td, table.ptab th { border: 1px solid var(--line); padding: 4px 6px; vertical-align: top; text-align: left; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

.lib .grid2 { grid-template-columns: 1fr; }
.top-inner > .btn { margin-left: auto; flex: none; }
fieldset.rofs { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.rofs:disabled input, fieldset.rofs:disabled select, fieldset.rofs:disabled textarea { background: var(--surface-2); color: var(--ink); opacity: 1; }
fieldset.rofs:disabled .btn, fieldset.rofs:disabled .lchip:not(.on) { opacity: .45; }
fieldset.rofs:disabled .lchip.on { opacity: 1; }

.chip.ghost { background: color-mix(in srgb, var(--surface) 55%, transparent); border-style: dotted; border-left-style: solid; padding: 4px 8px; }

.badge { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--error); color: #fff; font-size: 12px; line-height: 18px; text-align: center; }

.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumb { margin: 0; width: 160px; }
.thumb img { width: 160px; height: 120px; object-fit: contain; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; display: block; }
.thumb figcaption { display: flex; gap: 4px; align-items: center; margin-top: 4px; overflow: hidden; }
.thumb figcaption span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chipimgs { display: flex; gap: 4px; margin-top: 4px; }
.chipimgs img { height: 34px; max-width: 60px; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); }
.printimgs img { max-width: 100%; max-height: 9cm; margin: 6px 6px 0 0; border: 1px solid #999; }
@media print { .printimgs img { break-inside: avoid; } }

.duty { color: var(--t-secret); font-weight: 700; }
.duty.none { color: var(--error); }
.task.draft { background: color-mix(in srgb, var(--t-tour) 7%, transparent); border-radius: 6px; padding-left: 6px; padding-right: 6px; }
@media (min-width: 821px) {
  .top-inner { flex-wrap: nowrap; }
  .tabs { flex: 1 1 auto; min-width: 0; scrollbar-width: thin; }
  .tabs button { padding: 10px 9px; }
}
.sev.ok { background: var(--ok); color: #fff; }
.sync { white-space: nowrap; flex: none; }

.menu-group { position: relative; }
.menu-drop { position: absolute; top: calc(100% + 4px); left: 0; z-index: 30; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 8px 24px rgba(0,0,0,.18); min-width: 190px; padding: 6px; display: flex; flex-direction: column; }
.menu-drop button { text-align: left; color: var(--ink) !important; opacity: 1 !important; border-radius: 6px; padding: 10px 12px; background: transparent; border: 0; cursor: pointer; font-weight: 700; }
.menu-drop button:hover, .menu-drop button.on { background: var(--surface-2); box-shadow: inset 3px 0 0 var(--signal); }
@media (min-width: 821px) { .tabs { overflow: visible; } }

.btn.save { background: var(--signal); color: var(--signal-ink); border-color: #c99600; box-shadow: 0 2px 0 #c99600; }
.btn.save:hover { filter: brightness(1.05); }
.task .editing, .task:has(.btn.save) { background: color-mix(in srgb, var(--signal) 10%, transparent); border-radius: 6px; }
.planned-tag { font-size: 12px; font-weight: 700; color: var(--ok); }
.lib-item.used { opacity: .7; background: var(--surface-2); }

.hero { background: var(--pine); color: #fff; border-radius: var(--r); padding: 18px 22px; }
.hero .muted { color: rgba(255,255,255,.75) !important; }
.hero-big { font-size: 22px; font-weight: 800; margin-top: 6px; color: var(--signal); }
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 4px; position: relative; transition: transform .08s, box-shadow .08s; }
.step-card:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.step-card b { font-size: 17px; }
.step-n { position: absolute; top: 10px; right: 12px; font-weight: 800; color: var(--muted); font-size: 13px; }
.step-go { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--pine); }
@media (prefers-color-scheme: dark) { .step-go { color: var(--signal); } }
.chapter { font-style: italic; color: var(--t-scene); font-weight: 700; }

.meal-row { display: flex; gap: 10px; align-items: flex-start; border-bottom: 1px solid var(--line); padding: 10px 4px; flex-wrap: wrap; }
.meal-row.missing { box-shadow: inset 4px 0 0 var(--t-tour); padding-left: 10px; }
.assigned { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-weight: 700; border-radius: 6px; padding: 3px 8px; }

@media (max-width: 1420px) { .top-inner .sync { display: none; } }
@media (min-width: 821px) and (max-width: 1250px) { .tabs button { padding: 10px 6px; font-size: 14px; } .brand small { display: none; } }

.rules-card { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; background: var(--surface); display: flex; flex-direction: column; gap: 10px; line-height: 1.55; }
.rules-card.big { font-size: 19px; }
.rc-head { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rc-chip { background: var(--surface-2); border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: 13px; }
.rc-chip.warn { background: color-mix(in srgb, var(--t-tour) 18%, transparent); }
.rc-box { background: color-mix(in srgb, var(--signal) 14%, transparent); border-radius: 8px; padding: 8px 12px; }
.rc-facts { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0; }
.rc-facts dt { color: var(--muted); font-weight: 700; }
.rc-facts dd { margin: 0; }
.rc-sec h4 { margin: 6px 0 4px; font-size: 1.05em; border-bottom: 2px solid var(--line); padding-bottom: 2px; }
.rc-sec p { margin: 0 0 6px; }
.rc-sec ul, .rc-sec ol { margin: 0 0 6px; padding-left: 22px; }

.scene-box { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; background: var(--surface); }
.chip-x { border: 0; background: transparent; color: inherit; font-weight: 800; margin-left: 6px; cursor: pointer; padding: 0 2px; }
.lchip.absent { opacity: .55; text-decoration: line-through; }
.leader-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 12px; width: 100%; background: var(--surface-2); border-radius: 8px; padding: 10px; }
.tb.sys { background: #5b6770; color: #fff; }
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; flex: none; background: color-mix(in srgb, var(--pine) 18%, var(--surface)); color: var(--pine); font-weight: 800; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- mobile ---------- */
.daypill { min-width: 38px; height: 38px; border-radius: 19px; border: 1px solid var(--line); background: var(--surface); font-weight: 800; flex: none; cursor: pointer; }
.daypill.on { background: var(--pine); color: #fff; border-color: var(--pine); }
.daypill.today { box-shadow: 0 0 0 2px var(--signal); }
.mslot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 10px; display: flex; flex-direction: column; gap: 6px; }
.mslot-head { display: flex; align-items: center; gap: 8px; }
.more-sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-radius: 16px 16px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.25); max-height: 82vh; overflow-y: auto; padding: 6px 14px calc(70px + var(--sab)); }
.more-grab { width: 40px; height: 5px; border-radius: 3px; background: var(--line); margin: 4px auto 6px; }
.more-group { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin: 10px 2px 4px; }
.more-items { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.more-items button { min-height: 46px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 10px; font-weight: 700; text-align: left; padding: 6px 10px; color: var(--ink); }
.more-items button.on { border-color: var(--pine); box-shadow: inset 3px 0 0 var(--signal); }
@media (max-width: 1000px) {
  html { -webkit-text-size-adjust: 100%; }
  input, select, textarea { font-size: 16px; }         /* iOS does not zoom into fields */
  h1 { font-size: 23px; }
  h2 { font-size: 19px; }
  .panel { padding: 12px; }
  .grid2, .grid3, .leader-form, .steps { grid-template-columns: 1fr !important; }
  .leader-form .field[style*="span"] { grid-column: auto !important; }
  .row { flex-wrap: wrap; }
  .row.nowrap { flex-wrap: nowrap; }
  [role="tablist"] { flex-wrap: nowrap !important; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  [role="tablist"]::-webkit-scrollbar { display: none; }
  [role="tablist"] .btn { flex: none; white-space: nowrap; }
  .grid-wrap { margin-left: -12px; margin-right: -12px; padding: 0 12px; }
  table.ptab { font-size: 13px; }
  .drawer { width: 100vw !important; max-width: 100vw !important; padding-bottom: calc(80px + var(--sab)); }
  .lib.mob-lib { position: fixed !important; inset: auto 0 0 0; z-index: 41; max-height: 85vh; overflow-y: auto; border-radius: 16px 16px 0 0; padding-bottom: calc(80px + var(--sab)); }
  .lib.mob-lib .lib-list { max-height: none; }
  .btn { min-height: 42px; }
  .btn.small { min-height: 36px; }
  .task { grid-template-columns: 30px 1fr auto; }
  .hero { padding: 14px 16px; }
  .hero-big { font-size: 19px; }
  /* tables that read better as cards on a phone */
  table.cards-m thead { display: none; }
  table.cards-m, table.cards-m tbody, table.cards-m tr, table.cards-m td { display: block; width: auto !important; border: 0; }
  table.cards-m tr { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; background: var(--surface); }
  table.cards-m td { padding: 2px 0; }
  table.cards-m { min-width: 0 !important; }
}
@media (max-width: 1000px) { table.cards-m td[data-label]::before { content: attr(data-label) ": "; color: var(--muted); font-weight: 700; font-size: 12px; } }
/* nothing may make the page wider than the phone (it moved the bottom menu off screen) */
.plan > *, .stack > *, .grid2 > *, .grid3 > *, .steps > * { min-width: 0; }
@media (max-width: 1000px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  table.ptab:not(.cards-m) { display: block; overflow-x: auto; max-width: 100%; }
  .daypill { min-width: 36px; }
}
.poll-opt { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--surface); }
.poll-opt.on { border-color: var(--pine); box-shadow: inset 3px 0 0 var(--signal); }
.poll-opt.win { border-color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--surface)); }
.poll-mark { font-size: 20px; line-height: 1; color: var(--pine); }
.poll-bar { height: 6px; background: var(--surface-2); border-radius: 3px; margin-top: 4px; overflow: hidden; }
.poll-bar span { display: block; height: 100%; background: var(--pine); border-radius: 3px; }
.poll.voted { border-left: 4px solid var(--ok); }
.btn.yn { min-width: 90px; font-size: 17px; }
.btn.yn.on.yn-ano { background: var(--ok); color: #fff; border-color: var(--ok); }
.btn.yn.on.yn-ne { background: var(--error); color: #fff; border-color: var(--error); }
.btn.yn.on.yn-možná { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.pub { min-height: 100vh; background: var(--bg, #eef1ec); padding: 24px 14px 60px; }
.pub-card { max-width: 640px; margin: 0 auto; background: var(--surface); border-radius: 16px; padding: 24px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.35); }
.pub-card h1 { margin: 2px 0 4px; }
.pay-parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.qr svg { width: 100%; height: 100%; display: block; }
.qr { background: #fff; border-radius: 8px; }
.regst { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 13px; font-weight: 700; background: var(--surface-2); }
.regst.new { background: color-mix(in srgb, var(--signal) 35%, var(--surface)); }
.regst.approved { background: color-mix(in srgb, var(--ok) 25%, var(--surface)); color: var(--ok); }
.regst.waitlist { background: color-mix(in srgb, var(--t-tour) 20%, var(--surface)); }
.regst.cancelled { text-decoration: line-through; }
.regfield { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; }
.regfield.off { opacity: .55; }
.scorerow { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 8px; padding: 8px 10px; }
.scorerow.ok { border-left-color: var(--ok); }
.scorerow.late { border-left-color: var(--error); }
.scorecell { display: inline-flex; gap: 4px; align-items: center; }
.scorechip { background: var(--pine); color: #fff; border-radius: 10px; padding: 1px 8px; font-weight: 700; }
.scorechip a { color: #fff; margin-left: 4px; text-decoration: none; }
.drawer.song-drawer { width: min(1280px, 96vw); }
.song-edit { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.song-text { font-family: ui-monospace, Consolas, monospace; font-size: 15px; line-height: 1.45; min-height: 68vh; white-space: pre; overflow: auto; tab-size: 4; }
.song-preview { font-family: ui-monospace, Consolas, monospace; font-size: 15px; line-height: 1.45; white-space: pre; overflow: auto; min-height: 68vh; max-height: 68vh; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.song-preview .ch { color: var(--t-tour); font-weight: 700; }
@media (max-width: 900px) { .song-edit { grid-template-columns: 1fr; } .song-preview { min-height: 0; max-height: 40vh; } .song-text { min-height: 50vh; } }
.pub-sec { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 10px; }
.pub-sec h2 { margin: 0; font-size: 20px; }
.docrow { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.newsitem { background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.checkbar { font-size: 18px; }
.checkbar .bar { height: 10px; background: var(--surface-2); border-radius: 6px; overflow: hidden; margin-top: 4px; }
.checkbar .bar span { display: block; height: 100%; background: var(--ok); transition: width .3s; }
.checkrow { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.checkrow.ok { opacity: .72; }
.chip { display: inline-block; margin: 3px 6px 0 0; padding: 1px 7px; border-radius: 9px; background: var(--surface-2); color: var(--muted); }
.chip.on { background: color-mix(in srgb, var(--ok) 18%, var(--surface)); color: var(--ok); font-weight: 700; }
.chip-check { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; min-height: 44px; }
.pocketrow { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; min-height: 52px; }
.pocketrow.on, .pocketrow:hover { background: var(--surface-2); }
.chip.bad { background: color-mix(in srgb, var(--error) 16%, var(--surface)); color: var(--error); font-weight: 700; }
.statchip { border: 1px solid var(--line); cursor: pointer; font: inherit; font-size: 14px; padding: 6px 10px; min-height: 40px; }
.statchip.on { border-color: var(--pine); box-shadow: 0 0 0 2px var(--pine) inset; }
.checkrow.station { display: flex; align-items: center; gap: 10px; }
.checkrow.bad { border-color: var(--error); background: color-mix(in srgb, var(--error) 6%, var(--surface)); }
.bigtick { width: 56px; height: 56px; border-radius: 12px; border: 2px solid var(--line); background: var(--surface); font-size: 26px; line-height: 1; cursor: pointer; color: var(--muted); }
.bigtick.small { width: 44px; height: 40px; font-size: 18px; }
.bigtick.on { background: var(--ok); border-color: var(--ok); color: #fff; }
.bigtick.warn.on { background: var(--error); border-color: var(--error); color: #fff; }
.todo-row { display: flex; gap: 12px; align-items: center; width: 100%; text-align: left; font: inherit; background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; min-height: 52px; cursor: pointer; color: var(--ink); }
.todo-row:hover { border-color: var(--pine); }
.todo-row.bad { border-color: var(--error); }
.todo-n { font-size: 22px; min-width: 44px; text-align: center; color: var(--pine); }
.todo-row.bad .todo-n { color: var(--error); }
.docpaper { background: #fff; color: #111; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 8px 24px -16px rgba(0,0,0,.5); padding: 28px 34px; font-family: Arial, sans-serif; font-size: 13px; line-height: 1.45; max-height: 80vh; overflow: auto; }
.docpaper h1 { text-align: center; font-size: 18px; color: #111; } .docpaper table { border-collapse: collapse; width: 100%; margin: 8px 0; }
.docpaper th, .docpaper td { border: 1px solid #555; padding: 4px 6px; text-align: left; vertical-align: top; color: #111; } .docpaper th { background: #e7eee9; } .docpaper table.sig td { border: 0; text-align: center; padding-top: 30px; }
input.miss { border-color: var(--error); }

/* barevné motivy organizace */
:root[data-color="lake"] { --pine: #1D3E5C; --pine-2: #2A5578; --page: #ECF1F6; --surface-2: #F5F8FB; --line: #C7D4E0; --ok: #2A6A8A; --ok-bg: #E0EEF5; }
:root[data-color="berry"] { --pine: #3E2A5C; --pine-2: #573E7C; --page: #F0EDF5; --surface-2: #F7F5FA; --line: #D3CBE0; --ok: #5A4690; --ok-bg: #ECE6F5; }
:root[data-color="sunset"] { --pine: #6B2E22; --pine-2: #8A4232; --page: #F6EEEB; --surface-2: #FBF6F4; --line: #E0CFC8; --ok: #2F6B4F; --ok-bg: #E2F0E6; }
:root[data-color="slate"] { --pine: #2E3A46; --pine-2: #44525F; --page: #EEF0F2; --surface-2: #F6F7F8; --line: #CDD3D8; --ok: #2F6B4F; --ok-bg: #E2F0E6; }
:root[data-color="sand"] { --pine: #4A3A24; --pine-2: #665034; --page: #F4F0E8; --surface-2: #FAF7F1; --line: #DDD3C2; --ok: #4F6B2F; --ok-bg: #EAF0E0; }
@media (prefers-color-scheme: dark) {
  :root[data-color="lake"]:not([data-theme="light"]) { --pine: #9CC4E4; --pine-2: #7DAFD8; --page: #111820; --surface: #19232D; --surface-2: #202C38; --line: #33424F; }
  :root[data-color="berry"]:not([data-theme="light"]) { --pine: #C3AEE4; --pine-2: #AB92D8; --page: #16121C; --surface: #201A28; --surface-2: #282132; --line: #3E3450; }
  :root[data-color="sunset"]:not([data-theme="light"]) { --pine: #E8AE9E; --pine-2: #DA9482; --page: #1C1412; --surface: #261C19; --surface-2: #2F2420; --line: #4A3730; }
  :root[data-color="slate"]:not([data-theme="light"]) { --pine: #B4C2D0; --pine-2: #9AABBC; --page: #13171B; --surface: #1C2227; --surface-2: #232A30; --line: #36404A; }
  :root[data-color="sand"]:not([data-theme="light"]) { --pine: #DCC59E; --pine-2: #CBB083; --page: #18150F; --surface: #221E16; --surface-2: #2A251C; --line: #443B2D; }
}
.brand-logo { height: 26px; width: auto; max-width: 90px; object-fit: contain; vertical-align: middle; margin-right: 8px; background: #fff; border-radius: 4px; padding: 2px; }
.sync .ver { display: block; font-size: 11px; color: inherit; opacity: .75; text-decoration: none; }
.sync .ver:hover { text-decoration: underline; opacity: 1; }
.themechip { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 14px; cursor: pointer; min-height: 40px; }
.themechip span { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.themechip.on { border-color: var(--pine); box-shadow: 0 0 0 2px var(--pine) inset; }
.changelog h4 { margin: 12px 0 4px; } .changelog ul { margin: 2px 0; padding-left: 20px; }
.cchip { border: 1px solid var(--line); background: var(--surface-2); border-radius: 6px; padding: 1px 4px; font-size: 14px; cursor: pointer; opacity: .45; filter: grayscale(1); min-height: 28px; }
.cchip.yes { opacity: 1; filter: none; border-color: var(--ok); background: var(--ok-bg); }
.cchip.no { opacity: 1; filter: none; border-color: var(--error); background: var(--error-bg); text-decoration: line-through; }

.pickgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px; max-height: 260px; overflow: auto; }
.pickitem { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; min-height: 40px; background: var(--surface); }
.pickitem.on { border-color: var(--pine); background: var(--ok-bg); }
.bracket { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 6px; }
.bcol { display: flex; flex-direction: column; min-width: 190px; }
.btitle { font-weight: 700; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.bslots { display: flex; flex-direction: column; justify-content: space-around; flex: 1; gap: 8px; }
.bslot { display: flex; align-items: center; }
.tmatch { width: 100%; border: 1.5px solid var(--line); border-radius: 8px; background: var(--surface); overflow: hidden; }
.tmatch.ready { border-color: var(--t-tour, var(--pine)); cursor: pointer; }
.tmatch.done { cursor: pointer; }
.tp { display: flex; justify-content: space-between; gap: 8px; padding: 6px 10px; font-size: 14px; min-height: 32px; }
.tp + .tp { border-top: 1px solid var(--line); }
.tp.win { background: var(--ok-bg); font-weight: 700; }

.newscard { border-left: 6px solid var(--line); }
.newstag { color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.aids { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 10px; }
.aidrow { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; margin-bottom: 6px; background: var(--surface); }
.todo-row.doneStep { opacity: .7; } .todo-row.doneStep .todo-n { color: var(--ok); }
.gtask { padding: 10px 14px; } .gtask > summary { cursor: pointer; font-size: 16px; min-height: 36px; display: flex; align-items: center; }
.hback { background: transparent; color: inherit; border-color: rgba(255,255,255,.4); flex: none; font-weight: 700; margin-right: 6px; }
.topicbox { border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; background: var(--surface); }
.attchip { border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; font: inherit; font-size: 14px; padding: 6px 12px; min-height: 36px; border-radius: 999px; color: var(--ink); }
.attchip.p { background: var(--ok-bg); border-color: var(--ok); font-weight: 700; } .attchip.e { background: #fdf3d8; border-color: #c89a1a; }
/* horní lišta: název tábora se schová dřív, aby se menu s tlačítky Zpět, hledání a ? nepřekrývalo */
@media (max-width: 1560px) { .brand small { display: none; } }
@media (max-width: 1080px) { .top-inner { gap: 6px; } nav.tabs button { padding-left: 8px !important; padding-right: 8px !important; font-size: 14px; } .hback { margin-right: 0; padding-left: 8px; padding-right: 8px; } }
.paycard { border-left: 5px solid var(--line); } td.dutycell { background: var(--ok-bg); font-weight: 700; }
.panel .bar { height: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; } .panel .bar span { display: block; height: 100%; background: var(--ok); transition: width .3s; }

/* tmavý režim vynucený aplikací (data-theme="dark") – stejné vzhledy jako podle systému */
:root[data-theme="dark"][data-color="lake"] { --pine: #9CC4E4; --pine-2: #7DAFD8; --page: #111820; --surface: #19232D; --surface-2: #202C38; --line: #33424F; }
:root[data-theme="dark"][data-color="berry"] { --pine: #C3AEE4; --pine-2: #AB92D8; --page: #16121C; --surface: #201A28; --surface-2: #282132; --line: #3E3450; }
:root[data-theme="dark"][data-color="sunset"] { --pine: #E8AE9E; --pine-2: #DA9482; --page: #1C1412; --surface: #261C19; --surface-2: #2F2420; --line: #4A3730; }
:root[data-theme="dark"][data-color="slate"] { --pine: #B4C2D0; --pine-2: #9AABBC; --page: #13171B; --surface: #1C2227; --surface-2: #232A30; --line: #36404A; }
:root[data-theme="dark"][data-color="sand"] { --pine: #DCC59E; --pine-2: #CBB083; --page: #18150F; --surface: #221E16; --surface-2: #2A251C; --line: #443B2D; }
:root[data-theme="dark"] .top { color: var(--page); }
:root[data-theme="dark"] .step-go { color: var(--signal); }

/* Co kde najdu: popisky v menu, rozcestník, představení stránky */
.menu-drop { min-width: 260px; } .menu-drop button small.hint, .more-items button small.hint { display: block; font-weight: 400; font-size: 12px; line-height: 1.25; color: var(--muted); margin-top: 1px; }
.more-items button { line-height: 1.2; } .more-items button.finder-btn { background: var(--pine); color: var(--surface); border-color: var(--pine); } .more-items button.finder-btn small.hint { color: var(--surface); opacity: .85; }
.finder-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 10px; }
.ftile { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 12px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); cursor: pointer; color: var(--ink); }
.ftile:hover { border-color: var(--pine-2); } .ftile.now { border-left: 5px solid var(--signal); }
.ftile .ico { font-size: 26px; line-height: 1.1; flex: none; } .ftile b { display: block; font-size: 16px; } .ftile .a { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; } .ftile .path { display: block; font-size: 12px; color: var(--pine-2); margin-top: 4px; font-weight: 700; }
.pageintro { display: flex; gap: 10px; align-items: center; max-width: 1050px; margin: 8px auto 0; padding: 8px 12px; background: var(--info-bg); border-radius: var(--r); font-size: 14px; } .pageintro .ico { font-size: 18px; } .pageintro.collapsed { background: transparent; padding: 0 16px; }
.linkbtn { background: none; border: 0; color: var(--pine-2); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 4px 0; }
@media (max-width: 1000px) { .pageintro { margin: 8px 12px 0; } .pageintro.collapsed { margin: 4px 12px 0; padding: 0; } }
input[type=search] { min-height: 44px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); width: 100%; }

/* Můj zápisník */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-2); font: inherit; font-size: 14px; color: var(--ink); cursor: default; }
button.chip { cursor: pointer; } .chip.done { background: var(--ok-bg); border-color: var(--ok); text-decoration: line-through; color: var(--muted); }
.kidrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid var(--line); } .kidrow .grow2 { flex: 2 1 220px; }
