/* Lettertypes uit het Dome Concerts Design System (zelf gehost; de CSP staat geen externe fonts toe) */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saira Extra Condensed";
  src: url("fonts/saira-extra-condensed-latin-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saira Extra Condensed";
  src: url("fonts/saira-extra-condensed-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Dome Concerts huisstijl. Twee thema's uit het Design System: Nacht (standaard) en Crème (licht).
   Alle kleuren in de rest van dit bestand gaan via deze rol-variabelen, niet via de paletkleuren zelf. */
:root, [data-theme="nacht"] {
  --nacht: #120D19; --schemer: #241B3D; --creme: #FBF6EE; --mist: #A39CB0;
  --goud: #F5B335; --oranje: #F07A1A; --inkt: #1B1424; --diep-oranje: #A8420E; --mist-donker: #6B6479;

  --bg: var(--nacht);
  --surface: var(--schemer);
  --surface-border: transparent;
  --input-bg: var(--nacht);
  --text: var(--creme);
  --text-muted: var(--mist);
  --link: var(--goud);
  --action: var(--goud);
  --on-action: var(--nacht);
  --highlight: var(--oranje);
  --line: rgba(251, 246, 238, 0.14);
  --line-strong: #3a2f5a;
  --focus: var(--goud);
  --tag-bg: rgba(163, 156, 176, .18);
  --tag-warm-bg: rgba(245, 179, 53, .2);
  --tag-warm: var(--goud);
  --tag-hot-bg: rgba(240, 122, 26, .2);
  --tag-hot: var(--oranje);
  --tag-ok-bg: rgba(120, 200, 140, .18);
  --tag-ok: #9fdcae;
  --route-done-bg: rgba(245, 179, 53, .14);
  --notice-bg: rgba(245, 179, 53, .12);
  --alert-bg: rgba(240, 122, 26, .12);
  color-scheme: dark;
}
[data-theme="licht"] {
  --bg: var(--creme);
  --surface: #ffffff;
  --surface-border: rgba(27, 20, 36, 0.14);
  --input-bg: #ffffff;
  --text: var(--inkt);
  --text-muted: var(--mist-donker);
  --link: var(--diep-oranje);
  --action: var(--oranje);
  --on-action: var(--nacht);
  --highlight: var(--diep-oranje);
  --line: rgba(27, 20, 36, 0.14);
  --line-strong: var(--mist-donker);
  --focus: var(--diep-oranje);
  --tag-bg: rgba(27, 20, 36, .08);
  --tag-warm-bg: rgba(245, 179, 53, .28);
  --tag-warm: #6b4500;
  --tag-hot-bg: rgba(240, 122, 26, .16);
  --tag-hot: var(--diep-oranje);
  --tag-ok-bg: rgba(46, 125, 70, .14);
  --tag-ok: #1f6b37;
  --route-done-bg: rgba(240, 122, 26, .12);
  --notice-bg: rgba(245, 179, 53, .22);
  --alert-bg: rgba(168, 66, 14, .1);
  color-scheme: light;
}
:root {
  --radius: 14px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Saira Extra Condensed", "Saira Condensed", "Barlow Condensed", "Arial Narrow", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
}

h1, h2 {
  font-family: var(--font-display);
  font-stretch: condensed;
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 .4rem;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.5rem; }

.muted { color: var(--text-muted); margin: 0 0 1.5rem; }

.wordmark {
  font-family: var(--font-display);
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: .35em;
  color: var(--link);
  font-weight: 600;
  font-size: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

/* Inloggen */
.login {
  width: 100%;
  max-width: 420px;
  margin: auto;
  padding: 2rem 1.25rem;
}
.login .wordmark { margin-bottom: 1.5rem; }

.form { display: flex; flex-direction: column; gap: .5rem; }
.form label { color: var(--text-muted); font-size: .9rem; margin-top: .5rem; }
.form input {
  background: var(--input-bg);
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .85rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}
.form input:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }

.btn {
  margin-top: 1.25rem;
  background: var(--action);
  color: var(--on-action);
  border: 0;
  border-radius: 10px;
  padding: .9rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }

.alert {
  border-left: 4px solid var(--highlight);
  background: var(--alert-bg);
  padding: .75rem 1rem;
  border-radius: 8px;
  margin: 0 0 1rem;
}

/* Home */
.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
  padding: .9rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.topbar .wordmark { text-decoration: none; }
.topbar form { margin: 0; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: .9rem; }
.mainnav { display: flex; gap: 1rem; order: 3; width: 100%; overflow-x: auto; }
.mainnav a { color: var(--text-muted); text-decoration: none; padding: .3rem 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.mainnav a[aria-current="page"] { color: var(--text); border-bottom-color: var(--link); }
@media (min-width: 720px) { .mainnav { order: 0; width: auto; } }

.link-btn {
  background: none;
  border: 0;
  color: var(--link);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
  padding: .25rem 0;
}

.home {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  flex: 1;
}

.badge {
  display: inline-block;
  background: var(--tag-warm-bg);
  color: var(--tag-warm);
  border-radius: 999px;
  padding: .1rem .7rem;
  font-size: .85rem;
  font-weight: 600;
}

.intro { margin-bottom: 1.5rem; }
.intro p { margin: 0; color: var(--text-muted); }

.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(3, 1fr); } }

.tile {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 1rem;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: .7;
}
.tile-name { font-family: var(--font-display); font-stretch: condensed; font-size: 1.3rem; font-weight: 600; }
.tile-status { color: var(--text-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }

.footer {
  text-align: center;
  color: var(--text-muted);
  font-size: .75rem;
  padding: 1.5rem 1rem calc(1.5rem + env(safe-area-inset-bottom));
  opacity: .7;
}

.notice {
  border-left: 4px solid var(--link);
  background: var(--notice-bg);
  padding: .75rem 1rem;
  border-radius: 8px;
  margin: 0 0 1rem;
}
.below-form { margin-top: 1.25rem; text-align: center; }
.below-form a, .login a { color: var(--link); }


/* --- Pagina's (v0.4) --- */
.page { width: 100%; max-width: 900px; margin: 0 auto; padding: 1.5rem 1.25rem 2rem; flex: 1; }
.page.narrow { max-width: 640px; }
.page .card { margin-bottom: 1rem; }
.page a { color: var(--link); }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .75rem; }
.section-head h1, .section-head h2 { margin: 0; }
.crumb { margin: 0 0 .75rem; font-size: .9rem; }
.small { font-size: .9rem; }
.muted.small { margin: 0; }
.muted-inline { display: block; color: var(--text-muted); font-size: .85rem; }
.prewrap { white-space: pre-wrap; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
h2.inline { display: inline; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details[open] summary { margin-bottom: .75rem; }

.btn-small { white-space: nowrap; margin-top: 0; padding: .55rem .9rem; font-size: .95rem; text-decoration: none; display: inline-block; }
.btn-secondary { background: transparent; color: var(--link) !important; border: 1px solid var(--link); text-decoration: none; display: inline-block; }
a.btn { color: var(--on-action); text-decoration: none; }

.rows { list-style: none; margin: 0; padding: 0; }
.rows li + li { border-top: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; color: var(--text) !important; text-decoration: none; }
a.row:hover strong { color: var(--link); }
.row-date { min-width: 4.8rem; color: var(--link); font-size: .9rem; font-weight: 600; }
.row-main { flex: 1; min-width: 0; }
.row-main strong { font-weight: 600; }

.tag { font-size: .75rem; padding: .15rem .55rem; border-radius: 999px; background: var(--tag-bg); color: var(--text); white-space: nowrap; }
.tag-datum, .tag-contracten, .tag-verkoop, .tag-productie { background: var(--tag-warm-bg); color: var(--tag-warm); }
.tag-afrekening, .tag-evaluatie { background: var(--tag-hot-bg); color: var(--tag-hot); }
.tag-afgerond { background: var(--tag-ok-bg); color: var(--tag-ok); }
.tag-nogo { background: var(--tag-bg); color: var(--text-muted); text-decoration: line-through; }
.attention { border-left: 4px solid var(--highlight); }

.route { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0 0 1rem; }
.route li { font-size: .8rem; padding: .25rem .6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text-muted); }
.route li.route-done { border-color: transparent; background: var(--route-done-bg); color: var(--text); }
.route li.route-current { background: var(--action); color: var(--on-action); border-color: var(--action); font-weight: 600; }

.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
select, textarea, .form input[type="date"], .form input[type="time"] {
  background: var(--input-bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: .75rem .9rem; font-size: 1rem; font-family: inherit;
}
.form select, .form textarea { width: 100%; }
.form fieldset { border: 0; margin: 0 0 1rem; display: flex; flex-direction: column; gap: .4rem; }
.form legend { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; padding: 0; margin-bottom: .25rem; float: left; width: 100%; }
.form input { width: 100%; }
.grid2, .grid3 { display: grid; gap: .25rem .75rem; grid-template-columns: 1fr; }
.grid2 > div, .grid3 > div { display: flex; flex-direction: column; gap: .4rem; }
@media (min-width: 560px) { .grid2 { grid-template-columns: 1fr 1fr; } .grid3 { grid-template-columns: 1fr 1fr 1fr; } }
.perf + .perf { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); }
.perf-label { color: var(--link); font-weight: 600; font-size: .9rem; }
.check { display: flex; gap: .5rem; align-items: center; color: var(--text) !important; margin-top: .75rem !important; }
.check input { width: auto; }
ul.plain { margin: 0; padding-left: 1.1rem; }

.facts { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1rem; margin: 0; }
.facts dt { color: var(--text-muted); }
.facts dd { margin: 0; }

.tile-active { opacity: 1; text-decoration: none; color: var(--text) !important; border: 1px solid var(--link); }
.tile-active .tile-status { color: var(--link); }
.tiles-small .tile { min-height: 70px; }


/* --- Thema-knop --- */
.theme-form { margin: 0; }
.theme-btn { background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 999px; padding: .3rem .75rem; font: inherit; font-size: .85rem; cursor: pointer; }
.theme-btn:hover { border-color: var(--link); color: var(--link); }
.footer .theme-form { display: inline; margin-left: .5rem; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
@media (max-width: 440px) {
  .topbar .wordmark { font-size: .85rem; letter-spacing: .22em; }
  .topbar-actions { gap: .6rem; }
  .theme-btn { padding: .25rem .6rem; }
}

/* --- Begroting (v0.5) --- */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-bottom: 1rem; }
.kpi { display: flex; flex-direction: column; gap: .15rem; }
.kpi-label { color: var(--text-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.kpi-value { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.kpi-sub { color: var(--text-muted); font-size: .8rem; }
.hl { color: var(--highlight); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { text-align: left; color: var(--text-muted); font-weight: 500; font-size: .8rem; padding: .4rem .5rem .4rem 0; border-bottom: 1px solid var(--line); }
.table td { padding: .55rem .5rem .55rem 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td.pos { color: var(--tag-ok); font-weight: 600; }
.table td.neg { color: var(--highlight); font-weight: 600; }
.amount { white-space: nowrap; font-variant-numeric: tabular-nums; }
.row.total { font-weight: 600; }
.row form { margin: 0; }
.link-btn.small { font-size: .8rem; }
.add-line { display: grid; grid-template-columns: 1fr; gap: .5rem; margin-top: .75rem; }
.add-line input { background: var(--input-bg); color: var(--text); border: 1px solid var(--line-strong); border-radius: 10px; padding: .65rem .8rem; font: inherit; }
@media (min-width: 640px) { .add-line { grid-template-columns: 1.2fr 2fr 1fr auto; align-items: center; } }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-row .btn { margin-top: .5rem; }
@media (max-width: 440px) { .kpis { grid-template-columns: 1fr 1fr; } .kpi-value { font-size: 1.4rem; } }
@media (max-width: 560px) { .table .hide-sm { display: none; } }

/* Go / no-go: buiten het huisstijlpalet, bewust duidelijk groen/rood met voldoende contrast */
.btn-go { background: #2E9E5B; color: #120D19; }
.btn-nogo { background: #C62828; color: #FFFFFF; }
.btn-go:hover, .btn-nogo:hover { filter: brightness(1.08); }

/* Go/no-go-samenvatting en uitklapbare instellingen (v0.5.2) */
.summary { border: 1px solid var(--line); border-radius: 10px; padding: 1rem; margin: .5rem 0 1rem; }
.summary h3 { font-family: var(--font-display); font-size: 1.2rem; margin: 0 0 .5rem; }
.summary-grid { display: grid; grid-template-columns: 1fr; gap: .75rem 1.5rem; margin: .75rem 0; }
@media (min-width: 640px) { .summary-grid { grid-template-columns: 1fr 1fr; } }
.summary-head { margin: 0 0 .3rem; color: var(--text-muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.plain-list { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.plain-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .2rem 0; }
.plain-list li.sum { border-top: 1px solid var(--line); margin-top: .2rem; padding-top: .35rem; font-weight: 600; }
.summary-line { margin: 0 0 .5rem; }
.summary .pos { color: var(--tag-ok); font-weight: 600; }
.summary .neg { color: var(--highlight); font-weight: 600; }
.verdict { margin: 0; padding: .6rem .8rem; border-radius: 8px; border-left: 4px solid var(--line-strong); }
.verdict-gezond { border-left-color: #2E9E5B; background: var(--tag-ok-bg); }
.verdict-krap { border-left-color: var(--goud); background: var(--tag-warm-bg); }
.verdict-risico { border-left-color: #C62828; background: var(--alert-bg); }
.verdict-onvolledig { background: var(--tag-bg); }
.expander { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .75rem; }
.expander::before { content: "▸"; color: var(--link); font-size: 1.1rem; transition: transform .15s; display: inline-block; }
details[open] > .expander::before { transform: rotate(90deg); }
.expander-hint { color: var(--text-muted); font-size: .85rem; flex-basis: 100%; padding-left: 1.4rem; }
details[open] .expander-hint { display: none; }
.expander { flex-wrap: wrap; }
.expander h2 { flex: 1 1 0; min-width: 0; }

/* --- Ticketverkoop (v0.6) --- */
.sales { list-style: none; margin: 0; padding: 0; }
.sale { padding: .8rem 0; }
.sale + .sale { border-top: 1px solid var(--line); }
.sale-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem .75rem; margin-bottom: .45rem; }
.sale-head a { color: var(--text) !important; text-decoration: none; }
.sale-head a:hover { color: var(--link) !important; }
.sale-date { color: var(--link); font-size: .85rem; font-weight: 600; }
.sale-meta { margin: .45rem 0 0; font-size: .9rem; }
.sale-update { margin: .2rem 0 0; font-size: .8rem; color: var(--text-muted); }
.ok { color: var(--tag-ok); font-weight: 600; }
.muted-inline-span { color: var(--text-muted); }
.bar { display: block; width: 100%; height: 14px; }
.bar-bg { fill: var(--tag-bg); }
.bar-sold { fill: var(--action); }
.bar-sold.bar-ok { fill: #2E9E5B; }
.bar-comps { fill: var(--line-strong); opacity: .6; }
.bar-be { fill: var(--text); }
.card .bar { margin-bottom: .75rem; }
.m0 { margin: 0; }
.mt { margin: .5rem 0 0; }

/* Logo (v0.6.1): juiste variant per thema, zoals de logoset voorschrijft */
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 34px; width: auto; }
.logo-large img { height: 56px; }
.login .logo { margin-bottom: 1.5rem; }
.logo-on-light { display: none; }
[data-theme="licht"] .logo-on-dark { display: none; }
[data-theme="licht"] .logo-on-light { display: inline; }
@media (max-width: 440px) { .logo img { height: 28px; } .logo-large img { height: 48px; } }

/* Taken (v0.7.0): lijst met afvinkrondjes. Te laat = markeerkleur, afgerond = doorgestreept. */
.tasks { list-style: none; margin: 0; padding: 0; }
.tasks li + li { border-top: 1px solid var(--line); }
.task { display: flex; align-items: flex-start; gap: .75rem; padding: .65rem 0; }
.task-check-form { margin: 0; }
.task-check {
  width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 2px solid var(--text-muted);
  background: transparent; color: var(--on-action); font-weight: 700; line-height: 1; padding: 0;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.task-check:hover { border-color: var(--action); }
.task-check-static { cursor: default; }
.task-done .task-check { background: var(--action); border-color: var(--action); }
.task-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.task-title { font-weight: 600; overflow-wrap: anywhere; }
.task-done .task-title { text-decoration: line-through; color: var(--text-muted); font-weight: 400; }
.task-notes { font-size: .85rem; color: var(--text-muted); white-space: pre-line; margin-top: .2rem; }
.task-late { color: var(--highlight); font-weight: 600; }
.task-edit { font-size: .85rem; white-space: nowrap; padding-top: .2rem; }
.count { font-size: .8rem; font-weight: 500; color: var(--text-muted); margin-left: .35rem; }
.add-task { margin-top: .75rem; }
.add-task > summary { list-style: none; cursor: pointer; }
.add-task > summary::-webkit-details-marker { display: none; }
.add-task[open] > summary { margin-bottom: .5rem; }
.danger-link { color: var(--highlight); }

/* Team en rechten (v0.8.0) */
.grow { flex: 1; min-width: 0; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.role-name {
  font: inherit; font-size: 1.1rem; font-weight: 600; max-width: 16rem; color: var(--text);
  background: var(--input-bg); border: 1px solid var(--line-strong); border-radius: 8px; padding: .4rem .6rem;
}
.rights { display: flex; flex-direction: column; }
.right-row { display: flex; flex-direction: column; gap: .35rem; padding: .7rem 0; border-top: 1px solid var(--line); }
.right-row select { width: 100%; }
@media (min-width: 640px) {
  .right-row { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; }
  .right-row label { flex: 1; }
  .right-row select { width: 13rem; flex: none; }
}
@media (max-width: 440px) { .mainnav { gap: .8rem; font-size: .95rem; } }

/* 2FA en account (v0.9.0) */
.qr { display: block; width: 220px; height: 220px; margin: .75rem 0; background: #fff; border-radius: 12px; padding: 6px; }
.secret { font-family: ui-monospace, Menlo, monospace; letter-spacing: .08em; font-size: 1rem; word-break: break-all; }
.codes { list-style: none; padding: 0; margin: .75rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.codes code { font-family: ui-monospace, Menlo, monospace; font-size: 1.05rem; }
.check { width: 1.2rem; height: 1.2rem; accent-color: var(--action); flex: none; }
.check-label { display: flex; align-items: center; gap: .5rem; font-weight: 400; }
.form input.check, .right-row input.check { width: 1.2rem; height: 1.2rem; padding: 0; }
.form .check-label { display: flex; flex-direction: row; align-items: center; gap: .6rem; margin: .5rem 0 .25rem; }

/* Logboek (v0.10.0) */
.head-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.filters .btn { margin-top: .75rem; }
.log .row-date { min-width: 6.5rem; }

/* Wensen (v0.11.0) */
.pre-line { white-space: pre-line; }
.comment { display: block; margin-top: .25rem; }
.approvals { list-style: none; padding-left: 0; }
.approvals li { padding: .2rem 0; }
.tag-wish-goedgekeurd, .tag-wish-gebouwd { background: var(--tag-ok-bg); color: var(--tag-ok); }
.tag-wish-gepland { background: var(--tag-warm-bg); color: var(--tag-warm); }
.tag-wish-afgewezen { background: var(--tag-bg); color: var(--text-muted); text-decoration: line-through; }

/* Contentkalender (v0.14.0) */
.content-tags { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .3rem; }
.content-tags:empty { display: none; }
.tag-channel { background: var(--tag-warm-bg); color: var(--tag-warm); }
.tag-hold { background: var(--tag-ok-bg); color: var(--tag-ok); }
.tag-nohold { color: var(--text-muted); text-decoration: line-through; }
.content-actions { display: flex; flex-direction: column; align-items: flex-end; gap: .25rem; }
.content-actions form { margin: 0; }
.content-when { min-width: 7.5rem; padding-top: .1rem; }
.hint { color: var(--text-muted); font-size: .8rem; }
.fieldset { border: 0; padding: 0; margin: .75rem 0 0; }
.fieldset legend { font-weight: 600; margin-bottom: .4rem; padding: 0; }
.check-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.check-row .check { margin-top: 0 !important; }
.check-row .check-label { margin: 0; color: var(--text); }
@media (max-width: 520px) { .content-when { min-width: 5.5rem; font-size: .8rem; } }
.btn-danger { background: var(--highlight); border-color: var(--highlight); color: #fff; }
.tag-kind { background: var(--action); color: var(--on-action, #120D19); font-weight: 600; }
.content-show > summary .expander-hint strong { color: var(--text); }
details.content-show[open] > summary .expander-hint { display: block; margin-bottom: .5rem; }
