/* Palette of moorgame.ru: muted blue-grey backgrounds, off-white text, soft
   status colours. The site is dark only, and so is the panel. */
:root {
  --bg: #14181f; --surface: #1a1f27; --sidebar: #1e242d; --card: #232a35; --card-hover: #2b3340; --inner: #1c222b;
  --line: #353c47; --line-hover: #4a5564;
  --text: #c8cdd4; --bright: #e6e9ee; --secondary: #9eb1ca; --muted: #7d8590;
  --btn: #364152; --btn-hover: #475263; --btn2: #2a313c; --btn2-hover: #3a4252;
  --accent: #7ea8e0; --accent-hover: #a9c6f0;
  --ok: #6dd6a4; --bad: #e88b8b; --warn: #d9a955; --idle: #7d8590;
  --code-comment: #6a9955; --code-keyword: #7fa8d8; --code-string: #c9926f; --code-number: #b5cea8;
  --code-title: #d8c489; --code-attr: #9cc4e4; --code-meta: #7d8590; --code-punct: #98a2af;
  --radius: 8px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans", Tahoma, sans-serif; }
a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; transition: color .2s ease; }
a:hover { color: var(--accent-hover); text-decoration: none; }
h1 { font-size: 22px; margin: 0; color: var(--bright); font-weight: 600; }
h2 { font-size: 17px; margin: 0 0 12px; color: var(--secondary); font-weight: 500; letter-spacing: .02em; }
h3 { font-size: 12px; margin: 18px 0 8px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
strong { color: var(--bright); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--inner); border-radius: 4px; }
::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; border: 1px solid var(--line); }
::-webkit-scrollbar-thumb:hover { background: var(--line-hover); }
::-webkit-scrollbar-corner { background: var(--inner); }
* { scrollbar-width: thin; scrollbar-color: var(--line) var(--inner); }

.top { display: flex; align-items: center; gap: 24px; padding: 10px 24px; background: var(--sidebar); border-bottom: 1px solid var(--line); box-shadow: 0 2px 5px rgba(0,0,0,.5); position: sticky; top: 0; z-index: 5; flex-wrap: wrap; }
.brand { font-weight: 600; color: var(--bright); font-size: 17px; letter-spacing: .04em; text-decoration: none; }
.brand:hover { color: var(--bright); }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; }
.top nav a { color: var(--text); padding: 6px 12px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; transition: all .2s ease; }
.top nav a:hover { background: var(--card-hover); border-color: var(--line-hover); color: var(--bright); }
.top nav a.active { background: var(--btn); border-color: var(--btn-hover); color: var(--bright); }
.who { margin-left: auto; color: var(--muted); font-size: 13px; }

main { padding: 20px 24px 60px; }
.head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.spacer { flex: 1; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono { font-family: "Cascadia Mono", "JetBrains Mono", Consolas, ui-monospace, monospace; font-size: 13px; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(450px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.25); display: flex; flex-direction: column; gap: 10px; transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.card:hover { border-color: var(--line-hover); box-shadow: 0 6px 22px rgba(0,0,0,.45); transform: translateY(-2px); }
.card .title { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card .title a { font-weight: 600; font-size: 17px; color: var(--bright); text-decoration: none; }
.card .title a:hover { color: var(--accent-hover); }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; font-size: 14px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 510px) { .grid { grid-template-columns: 1fr; } }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 10px; background: color-mix(in srgb, var(--idle) 16%, transparent); color: var(--idle); white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 13%, transparent); }
.badge.warn { color: var(--warn); background: color-mix(in srgb, var(--warn) 13%, transparent); }
.badge.bad { color: var(--bad); background: color-mix(in srgb, var(--bad) 13%, transparent); }
.badge.info { color: var(--secondary); background: color-mix(in srgb, var(--secondary) 13%, transparent); }
.badge.plain::before { display: none; }

.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
button { font: inherit; font-size: 14px; padding: 7px 16px; border-radius: 6px; border: 1px solid var(--line); background: var(--btn2); color: var(--secondary); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
button:hover:not(:disabled) { background: var(--btn2-hover); color: var(--bright); }
button:disabled { opacity: .5; cursor: not-allowed; }
button.primary { background: var(--btn); border-color: var(--btn-hover); color: var(--bright); }
button.primary:hover:not(:disabled) { background: var(--btn-hover); }
button.danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
button.danger:hover:not(:disabled) { background: color-mix(in srgb, var(--bad) 22%, var(--btn2)); color: var(--bright); }
button.ghost { background: transparent; border-color: transparent; }
button.ghost:hover:not(:disabled) { background: var(--card-hover); }

input, select, textarea { font: inherit; font-size: 14px; color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 7px 10px; min-width: 0; transition: border-color .2s ease, background-color .2s ease; }
input:hover:not(:disabled), select:hover:not(:disabled), textarea:hover:not(:disabled) { border-color: var(--line-hover); }
input:focus, select:focus, textarea:focus, button:focus-visible, .help:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent); }
input:disabled, select:disabled, textarea:disabled { opacity: .6; cursor: not-allowed; }
input::placeholder { color: var(--muted); }
textarea { width: 100%; resize: vertical; }
select option { background: var(--card); }

/* Checkboxes are switches. */
input[type=checkbox] { appearance: none; -webkit-appearance: none; position: relative; flex: 0 0 auto; width: 40px; height: 22px; padding: 0; margin: 0; border-radius: 11px; background: var(--inner); border: 1px solid var(--line); cursor: pointer; vertical-align: middle; }
input[type=checkbox]::before { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: transform .18s ease, background-color .18s ease; }
input[type=checkbox]:checked { background: color-mix(in srgb, var(--ok) 22%, var(--inner)); border-color: color-mix(in srgb, var(--ok) 55%, var(--line)); }
input[type=checkbox]:checked::before { transform: translateX(18px); background: var(--ok); }
input[type=checkbox]:disabled { cursor: not-allowed; }
label.row { cursor: pointer; }

.form { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: 10px 18px; align-items: center; }
.form > label { color: var(--text); display: flex; align-items: center; gap: 6px; }
.form input:not([type=checkbox]), .form select, .form textarea { width: 100%; }
.form > input[type=checkbox] { justify-self: start; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; gap: 4px 0; } .form > label { margin-top: 8px; } }

/* Field help: a question mark with the tooltip of moorgame.ru. */
.help { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 17px; height: 17px; border-radius: 50%; border: 1px solid var(--line-hover); color: var(--secondary); font-size: 11px; font-weight: 700; line-height: 1; cursor: help; user-select: none; transition: all .2s ease; }
.help:hover, .help:focus-visible { background: var(--btn); color: var(--bright); border-color: var(--btn-hover); }
.tooltip { position: fixed; top: 0; left: 0; z-index: 40000; max-width: 340px; padding: 7px 10px; border: 1px solid var(--line-hover); border-radius: 5px; background: var(--card); color: var(--text); font-size: 13px; line-height: 1.45; text-align: left; white-space: pre-line; box-shadow: 0 6px 20px rgba(0,0,0,.45); pointer-events: none; opacity: 0; transform: translateY(-2px); transition: opacity .12s ease, transform .12s ease; }
.tooltip:not(.visible) { visibility: hidden; transition: opacity .12s ease, transform .12s ease, visibility 0s .12s; }
.tooltip.visible { opacity: 1; transform: none; }
.tooltip::after { content: ""; position: absolute; left: var(--arrow-x, 50%); margin-left: -4px; width: 8px; height: 8px; background: var(--card); border: 1px solid var(--line-hover); transform: rotate(45deg); }
.tooltip[data-side="top"]::after { bottom: -5px; border-left: 0; border-top: 0; }
.tooltip[data-side="bottom"]::after { top: -5px; border-right: 0; border-bottom: 0; }
@media (hover: none) { .tooltip { display: none; } }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs a { padding: 9px 14px; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; }
.tabs a:hover { color: var(--bright); }
.tabs a.active { color: var(--bright); border-bottom-color: var(--accent); }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
tbody tr:hover { background: color-mix(in srgb, var(--card-hover) 45%, transparent); }
.scroll { overflow-x: auto; }

pre.log { background: var(--inner); color: var(--text); border: 1px solid var(--line); padding: 12px 14px; border-radius: 6px; max-height: 65vh; overflow: auto; margin: 0; font: 13px/1.55 "Cascadia Mono", "JetBrains Mono", Consolas, ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
pre.log .cmd { color: var(--code-keyword); }
pre.log .err { color: var(--bad); }
pre.log .hit { color: var(--warn); }

/* INI editor: the highlighted text lies under a transparent textarea with the
   same metrics, so what is typed is what is coloured. */
.ini-editor { position: relative; height: 65vh; min-height: 280px; border: 1px solid var(--line); border-radius: 6px; background: var(--inner); overflow: hidden; }
.ini-editor:focus-within { border-color: var(--accent); }
.ini-editor pre, .ini-editor textarea { position: absolute; inset: 0; margin: 0; padding: 12px 14px; border: 0; border-radius: 0; font: 13px/1.6 "Cascadia Mono", "JetBrains Mono", Consolas, ui-monospace, monospace; letter-spacing: 0; tab-size: 4; white-space: pre; overflow-wrap: normal; word-break: normal; }
.ini-editor pre { overflow: hidden; color: var(--text); pointer-events: none; }
.ini-editor textarea { width: 100%; height: 100%; resize: none; overflow: auto; background: transparent; color: transparent; caret-color: var(--bright); box-shadow: none; }
.ini-editor textarea::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); color: transparent; }
.ini-editor textarea:disabled { opacity: 1; }
.ini-comment { color: var(--code-comment); font-style: italic; }
.ini-section { color: var(--code-title); font-weight: 600; }
.ini-key { color: var(--code-attr); }
.ini-punct { color: var(--code-punct); }
.ini-string { color: var(--code-string); }
.ini-number { color: var(--code-number); }
.ini-bool { color: var(--code-keyword); }

.notice { padding: 10px 14px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--line)); background: color-mix(in srgb, var(--warn) 8%, var(--surface)); margin-bottom: 12px; }
.notice.bad { background: color-mix(in srgb, var(--bad) 9%, var(--surface)); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.notice.info { background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }

#toasts { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; z-index: 30000; width: max-content; max-width: min(560px, calc(100vw - 32px)); pointer-events: none; }
.toast { --tone: var(--ok); display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--card); color: var(--bright); border: 1px solid color-mix(in srgb, var(--tone) 55%, transparent); border-radius: 999px; padding: 9px 20px 9px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 0 4px color-mix(in srgb, var(--tone) 10%, transparent); text-align: center; overflow-wrap: anywhere; pointer-events: auto; cursor: pointer; animation: toast-in .22s ease-out; }
.toast::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 8px var(--tone); }
.toast.leaving { animation: toast-out .35s ease-in forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-12px) scale(.98); } }
.toast.bad { --tone: var(--bad); border-radius: 14px; }
.toast.info { --tone: var(--accent); }

dialog { border: 1px solid var(--line-hover); border-radius: 10px; background: var(--surface); color: var(--text); padding: 20px; width: min(480px, calc(100vw - 32px)); box-shadow: 0 10px 40px rgba(0,0,0,.6); }
dialog::backdrop { background: rgba(0,0,0,.55); }
dialog p { margin-top: 0; }
#confirm-extra:not(:empty) { margin-bottom: 12px; display: flex; flex-direction: column; gap: 8px; }
.form > div.row { min-width: 0; }
details > summary { cursor: pointer; color: var(--accent); margin-bottom: 8px; }
details > summary:hover { color: var(--accent-hover); }
ol.small li { margin-bottom: 4px; }
.setting-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
@media (max-width: 640px) { main { padding: 16px 16px 60px; } .top { padding: 10px 16px; } }
.server-head { min-height: 42px; }
.event-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 4px 24px; margin-bottom: 8px; }
.event-group h3 { margin-top: 6px; }
.event-item { padding: 4px 0; gap: 10px; flex-wrap: nowrap; }
.event-item .badge { margin-left: auto; }
button.primary[data-preset] { border-color: var(--accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }
.nowrap { white-space: nowrap; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tile-label { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: 6px; }
.tile-value { color: var(--bright); font-size: 22px; font-weight: 600; line-height: 1.3; }
.tile-sub { color: var(--muted); font-size: 12.5px; }
svg.spark { width: 100%; height: 28px; margin-top: 6px; }
svg.spark polyline { fill: none; stroke: var(--accent); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.category-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 4px 32px; margin-bottom: 8px; }
.category-group h3 { margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.event-item .help { margin-left: auto; }
h2.row { gap: 10px; }
.rcon-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 16px; min-height: 0; }
.rcon-layout > .panel { margin-bottom: 0; display: flex; flex-direction: column; min-height: 0; }
.rcon-out { flex: 1; min-height: 120px; max-height: none; }
.rcon-players > div:last-child { overflow: auto; min-height: 0; }
@media (max-width: 900px) { .rcon-layout { grid-template-columns: 1fr; height: auto !important; } .rcon-out { height: 50vh; flex: none; } }
details.versions { padding: 12px 18px; }
details.versions > summary { margin-bottom: 0; }
details.versions[open] > summary { margin-bottom: 10px; }
.floating-save { position: fixed; right: 24px; bottom: 24px; z-index: 50; }
.floating-save button { padding: 10px 26px; font-size: 15px; box-shadow: 0 8px 24px rgba(0,0,0,.55); border-color: var(--accent); }
main:has(.floating-save) { padding-bottom: 100px; }
tr.clickable { cursor: pointer; }
.details-line { display: block; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table.middle .sha { word-break: break-all; }
.nowrap-row { flex-wrap: nowrap; }
input.secret { -webkit-text-security: disc; }
input.secret:focus { -webkit-text-security: none; }
.countdown { font-variant-numeric: tabular-nums; }
#confirm-extra .facts { max-height: 60vh; overflow: auto; }
#confirm-extra pre.log { max-height: 30vh; margin: 0; }
dialog:has(#confirm-extra .facts) { width: min(760px, calc(100vw - 32px)); }
.mark { display: inline-flex; align-items: center; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 2px 2px 2px 4px; }
.mark input { border: 0; background: transparent; padding: 4px; }
.mark button { padding: 4px 8px; }
.msg-grid { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr) auto auto; gap: 8px 16px; align-items: center; margin-bottom: 8px; }
.msg-title { display: flex; align-items: center; gap: 6px; }
.msg-flag { white-space: nowrap; flex-wrap: nowrap; }
@media (max-width: 900px) { .msg-grid { grid-template-columns: 1fr; } .msg-title { margin-top: 8px; } }
.kind-switch { margin: 4px 0 6px; }
textarea.secret-area:not(:placeholder-shown) { -webkit-text-security: disc; }
.setting-row { display: flex; align-items: center; gap: 8px; }
.setting-row > input:not([type=checkbox]) { flex: 1; min-width: 0; }
.src-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.src-dot.src-panel { background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.src-dot.src-env { background: var(--muted); }
.src-dot.src-default { border: 1px solid var(--line-hover); }
.src-wait { color: var(--warn); cursor: help; font-size: 16px; }
.icon-button { padding: 4px 10px; font-size: 15px; line-height: 1; }
.src-legend { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; margin: 0 0 10px; }
.src-legend span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- login ---------- */
body.locked > header.top, body.locked > main { display: none; }
#login { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px;
  background: radial-gradient(1200px 600px at 50% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%), var(--bg); }
.login-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 28px 24px; box-shadow: 0 18px 50px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 14px; }
.login-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.login-logo { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; letter-spacing: .04em;
  color: var(--bg); background: linear-gradient(135deg, var(--accent-hover), var(--accent)); box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 35%, transparent); }
.login-title { font-size: 19px; font-weight: 600; color: var(--bright); letter-spacing: .03em; }
.login-field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--secondary); }
.login-field input { width: 100%; padding: 9px 11px; font-size: 15px; }
.login-pass { position: relative; display: flex; }
.login-pass input { padding-right: 84px; }
.login-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); padding: 3px 9px; font-size: 12px; }
.login-remember { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text); cursor: pointer; user-select: none; }
.login-error { min-height: 20px; color: var(--bad); font-size: 13px; }
.login-error:empty { min-height: 0; }
.login-submit { padding: 10px; font-size: 15px; }
.login-foot { margin-top: 14px; text-align: center; }
.shake { animation: shake .35s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .shake { animation: none; } }
.who { display: flex; align-items: center; gap: 10px; }

/* ---------- security, sessions, audit ---------- */
.security-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .security-grid { grid-template-columns: 1fr; } }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check-dot { flex: none; width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; background: var(--ok); }
.check.warn .check-dot { background: var(--warn); }
.check.bad .check-dot { background: var(--bad); box-shadow: 0 0 6px var(--bad); }
.audit-filters { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: flex-end; }
.audit-filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.audit-filters label.inline { flex-direction: row; align-items: center; gap: 8px; color: var(--text); padding-bottom: 7px; }
.audit-details { max-width: 420px; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }
.log-levels { display: flex; flex-direction: column; gap: 6px; max-width: 760px; }
.log-level { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 32px; gap: 10px; align-items: center; }
.log-level label { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.log-level select, .log-level input { min-width: 0; padding: 4px 8px; }
.check-row { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.check-row > input { flex: none; }
.check-row > span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
