:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --text: #1b1f24;
  --muted: #5b6470;
  --border: #d9dde3;
  --accent: #1f5fbf;
  --accent-text: #ffffff;
  --danger: #b42318;
  --ok: #1a7f37;
  --warn: #9a6700;
  --off: #8a929c;
  --focus: #1f5fbf;
  color-scheme: light;
}
/* Dark: when the system is dark and no one chose light, or when someone
   chose dark (theme.js sets data-theme on <html>). */
:root[data-theme="dark"] {
  --bg: #111418;
  --surface: #1a1e23;
  --text: #e6e9ed;
  --muted: #9aa3ad;
  --border: #2e343b;
  --accent: #6ea8ff;
  --accent-text: #0b1220;
  --danger: #ff8a80;
  --ok: #57c27a;
  --warn: #e3b341;
  --off: #7d858f;
  --focus: #6ea8ff;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111418;
    --surface: #1a1e23;
    --text: #e6e9ed;
    --muted: #9aa3ad;
    --border: #2e343b;
    --accent: #6ea8ff;
    --accent-text: #0b1220;
    --danger: #ff8a80;
    --ok: #57c27a;
    --warn: #e3b341;
    --off: #7d858f;
    --focus: #6ea8ff;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.45 system-ui, "Segoe UI", Roboto, sans-serif;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

button {
  font: inherit;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  min-height: 32px;
}
button:hover:not(:disabled) { border-color: var(--accent); }
button:disabled { opacity: 0.4; cursor: default; }
button.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
button.danger { color: var(--danger); }
button.link { border: none; background: none; color: var(--accent); padding: 4px; }

/* Sign-in */
body.login { display: grid; place-items: center; min-height: 100vh; padding: 16px; }
.login-card {
  width: 100%; max-width: 360px; background: var(--surface);
  border: 1px solid var(--border); border-radius: 10px; padding: 28px;
}
.login-card h1 { margin: 0; font-size: 24px; }
.login-card form { display: grid; gap: 6px; margin-top: 16px; }
.login-card label { font-weight: 600; margin-top: 8px; }
.login-card input {
  font: inherit; padding: 8px 10px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
}
.login-card button { margin-top: 16px; padding: 9px; }
.error { color: var(--danger); font-weight: 600; }
/* Each computer's agent version under its name on the Computers page. */
.agent-version { display: block; font-size: 12px; color: var(--muted); }
.agent-version[hidden] { display: none; }

/* Console */
.top {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 24px;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; font-size: 17px; margin-right: auto; }
.who { color: var(--muted); }
main { max-width: 1200px; margin: 0 auto; padding: 20px 24px 48px; }
.heading { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.heading h1 { margin: 0; font-size: 22px; }
.banner {
  background: var(--surface); border: 1px solid var(--warn); color: var(--warn);
  border-radius: 6px; padding: 8px 12px;
}

section.branch { margin-top: 24px; }
section.branch h2 { font-size: 16px; margin: 0 0 8px; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
th { font-size: 13px; color: var(--muted); font-weight: 600; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: none; }
td.name { font-weight: 600; }
td.time { font-variant-numeric: tabular-nums; }
td.actions { display: flex; gap: 6px; flex-wrap: wrap; }

.status::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  margin-right: 7px; vertical-align: middle; background: var(--off);
}
.status.available::before { background: var(--ok); }
.status.busy::before { background: var(--accent); }
.status.held::before, .status.away::before { background: var(--warn); }
.status.out-of-service::before { background: var(--danger); }

@media (max-width: 640px) {
  .top, main { padding-left: 16px; padding-right: 16px; }
  th.seen, td.seen { display: none; }
}

dialog {
  border: 1px solid var(--border); border-radius: 10px; padding: 20px 22px;
  background: var(--surface); color: var(--text); width: min(440px, calc(100vw - 32px));
}
dialog::backdrop { background: rgb(0 0 0 / 0.45); }
dialog h2 { margin: 0 0 6px; font-size: 18px; }
dialog p { margin: 0 0 12px; color: var(--muted); }
dialog label { display: block; font-weight: 600; margin-bottom: 4px; }
dialog textarea {
  width: 100%; font: inherit; padding: 8px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
}
.dlg-buttons { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
button.primary.danger { background: var(--danger); border-color: var(--danger); color: var(--accent-text); }

nav { display: flex; flex-wrap: wrap; gap: 4px; margin-right: auto; min-width: 0; }
nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 6px; }
nav a:hover { color: var(--text); }
nav a[aria-current="page"] { color: var(--text); background: var(--bg); font-weight: 600; }
.brand { margin-right: 12px; }
.notice { border: 1px solid var(--ok); color: var(--ok); border-radius: 6px; padding: 8px 12px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; margin-top: 20px; }
.card h2 { font-size: 16px; margin: 18px 0 10px; }
.card h2:first-of-type { margin-top: 0; }
.card label { display: grid; gap: 6px; align-content: start; font-weight: 600; font-size: 14px; }
.card label > .muted { font-weight: 400; }
.card input, .card select, .card textarea {
  font: inherit; font-weight: 400; padding: 7px 9px; border-radius: 6px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
}
.card .wide { margin-top: 14px; }
.card button[type="submit"] { margin-top: 18px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.card .grid { row-gap: 6px; }
.card .grid + .grid, .card .grid + .table-wrap { margin-top: 14px; }
.card label > input:not([type="checkbox"]):not([type="radio"]), .card label > select { min-height: 38px; align-self: start; }
/* Each field shares its row's caption, control and help tracks. Wrapped
   captions line up the controls; help text never stretches an input. */
@supports (grid-template-rows: subgrid) {
  .card .grid > label:not(.choice):not(.check), .card .grid > .field-action {
    display: grid; grid-row: span 3; grid-template-rows: subgrid; gap: 6px; align-content: normal; align-items: start; min-width: 0;
  }
  .card .grid > label > input, .card .grid > label > select, .card .grid > label > textarea,
  .card .grid > .field-action > button { grid-row: 2; }
  .card .grid > label > .muted { grid-row: 3; }
}
.card .field-action > button[type="submit"] { margin-top: 0; }
table.hours { width: auto; margin: 6px 0 14px; }
table.hours th, table.hours td { padding: 5px 10px 5px 0; border: none; }

.card select, .card input, .card textarea { max-width: 100%; min-width: 0; }


table.list { width: 100%; margin: 6px 0 4px; }
table.list td, table.list th { padding: 6px 10px 6px 0; }
/* What applies here: values such as the terms of use wrap instead of
   scrolling the table sideways. */
table.rules td, table.changed td, table.rules th[scope=row] { white-space: normal; overflow-wrap: anywhere; min-width: 8em; }
fieldset { border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px 14px; margin: 8px 0 14px; display: grid; gap: 8px; }
legend { font-weight: 600; padding: 0 4px; }
.card label.choice { display: flex; gap: 8px; align-items: baseline; font-weight: 400; }
/* Help for a checkbox: the size of other fields' help, under its text. */
.card label.choice + p.muted { font-size: 14px; margin: 4px 0 0 24px; }

.logo-preview { max-width: 240px; max-height: 96px; background: #fff; border: 1px solid var(--border); padding: 6px; border-radius: 6px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 12px; }
.stats div { border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; }
.stats dt { font-size: 13px; color: var(--muted); }
.stats dd { margin: 4px 0 0; font-size: 24px; font-weight: 600; }
.bars meter { width: 100%; min-width: 120px; height: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.token pre { white-space: pre-wrap; overflow-wrap: anywhere; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; }
.secret { display: inline-block; overflow-wrap: anywhere; font-size: 18px; padding: 6px 10px; border: 1px dashed var(--border); border-radius: 6px; }
.tag { font-size: 12px; border: 1px solid var(--border); border-radius: 999px; padding: 1px 8px; margin-left: 6px; color: var(--muted); }
form.inline { display: inline-flex; gap: 6px; align-items: center; }
.actions form { display: inline; }
.narrow { max-width: 440px; }
.narrow label { margin-top: 10px; }
.narrow input { display: block; width: 100%; box-sizing: border-box; }
a.who { color: var(--muted); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0 0 16px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
.split { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.preview .receipt { margin: 8px auto; border: 1px solid var(--border); border-radius: 4px; }
label.check { display: flex; gap: 8px; align-items: center; font-weight: normal; margin-top: 10px; }
.desk-printer { display: grid; gap: 6px; max-width: 360px; }
.desk-printer label { display: grid; gap: 2px; }
.pass-search { display: flex; gap: 8px; align-items: end; flex-wrap: wrap; margin-bottom: 8px; }
.pass-search label { display: grid; gap: 2px; min-width: 240px; }
.tabs { display: flex; gap: 4px; }
.tabs a { padding: 4px 10px; border-radius: 6px; color: var(--muted); text-decoration: none; border: 1px solid var(--border); }
.tabs a[aria-current] { color: var(--text); font-weight: 600; background: var(--bg); }
.page-tabs { flex-wrap: wrap; margin: 4px 0 8px; }
.page-tabs a { padding: 6px 12px; }
.page-tabs a[aria-current] { border-color: var(--accent); }
td.nowrap { white-space: nowrap; }
.support-banner { margin: 0; padding: 8px 16px; background: var(--warn); color: var(--surface); font-size: 14px; }
.support-banner a { color: inherit; }
.badge { display: inline-block; padding: 1px 6px; border-radius: 4px; font-size: 12px; font-weight: 600; vertical-align: 1px; }
.badge.warn { color: var(--warn); border: 1px solid var(--warn); }
.badge[hidden] { display: none; }
td.details { min-width: 16em; overflow-wrap: anywhere; }
.card h3 { font-size: 15px; margin: 18px 0 8px; }
.pin-value { font: 600 22px/1.2 ui-monospace, Consolas, monospace; letter-spacing: 0.15em; }
.card { overflow-x: auto; }
@media print {
  body:has(.booking-slip) header,
  body:has(.booking-slip) main > :not(.booking-slip),
  .booking-slip button { display: none !important; }
  .booking-slip { border: 0; padding: 0; }
}
.booking-barcode { display: block; max-width: 100%; height: auto; margin: 1rem 0; }
.filter-bar{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end;margin:0 0 16px}
.filter-bar label{display:flex;flex-direction:column;gap:4px;min-width:160px}
.filter-bar label[hidden]{display:none}
a.button { display: inline-flex; align-items: center; font: inherit; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 6px; padding: 5px 10px; min-height: 32px; text-decoration: none; }
a.button:hover { border-color: var(--accent); }
.warning-card { border-left: 4px solid var(--warn); }
.warnings { padding-left: 1.2em; }
.warnings li { margin: 6px 0; }
.filter-bar label { font-weight: 600; }
.filter-bar select { font: inherit; font-weight: 400; padding: 7px 9px; min-height: 38px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.sso-or { text-align: center; margin: 16px 0 8px; }
.sso-buttons { display: grid; gap: 8px; }
.sso-buttons a.button { justify-content: center; min-height: 40px; }
.subcard { border-top: 1px solid var(--border); padding-top: 14px; margin-top: 14px; }
.subcard h3 { margin-top: 0; }
.tag.ok { color: var(--ok, inherit); border-color: currentColor; }
.tag:first-child { margin-left: 0; }
.age-groups input { width: 100%; min-width: 4em; }
.age-groups td.age-range { white-space: nowrap; }
.age-groups td.age-range input { width: 4.5em; min-width: 0; }
.age-choices { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-left: 24px; }
/* Keeps absolutely positioned content (visually hidden labels) inside the scroller. */
.table-wrap { position: relative; }
.age-groups td:first-child input { min-width: 9em; }
.age-groups td:nth-child(2) input { min-width: 8em; }

/* Policy → Profile cleanup: the built-in keep list. */
.plain-list { list-style: none; padding: 0; margin: 8px 0; columns: 2 24rem; }
.plain-list li { margin: 2px 0; break-inside: avoid; }
.lock-preview { margin: 18px 0 0; }
/* Lock screen and timer: the fields, with the preview beside them on a wide
   screen, and colours two to a row. */
.setting-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.setting-list > .setting { grid-column: 1 / -1; }
.setting-list > .half-setting { grid-column: auto; }
.half-setting label { grid-template-columns: minmax(0, 1fr); }
/* Half-width settings put their Change / Use button under the field. */
.scoped-form.js .setting.half-setting.has-control { grid-template-columns: minmax(0, 1fr); align-content: start; }
.scoped-form.js .setting.half-setting.has-control > .setting-control { grid-column: 1; grid-row: auto; align-items: flex-start; text-align: left; max-width: none; margin-top: 8px; order: 1; }
.logo-row { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.logo-controls { flex: 1; min-width: 14rem; }
.logo-controls .actions { margin-top: 8px; }
.logo-setting { border-bottom: 1px solid var(--border); }
@media (min-width: 1200px) {
  .scoped-form.with-preview { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
  .scoped-form.with-preview .scoped-side { position: sticky; top: 12px; }
  .scoped-form.with-preview .lock-preview { margin: 0; }
}
@media (max-width: 640px) { .setting-list { grid-template-columns: minmax(0, 1fr); } }
/* A colour's #rrggbb box and its picker (policy.js). */
.colour-field { display: flex; gap: 8px; align-items: stretch; }
.colour-field input.colour { flex: 1; min-width: 0; width: auto; }
.card input.colour-pick { flex: none; width: 48px; min-height: 38px; padding: 3px; cursor: pointer; }
.lock-preview figcaption { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.lock-preview figcaption .muted { font-weight: 400; }
.lock-preview-frame { position: relative; max-width: 720px; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--border); border-radius: 8px; }
.lock-preview-frame iframe { position: absolute; top: 0; left: 0; width: 1280px; height: 800px; border: 0; transform-origin: 0 0; pointer-events: none; }

/* Settings: menu down the left, page beside it. */
main.settings { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 32px; align-items: start; }
.settings-menu { position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; padding-right: 10px; scrollbar-gutter: stable; }
.settings-menu-toggle { display: none; }
/* Not the top bar's flex row (nav above): headings and lists stack. */
.settings-menu nav { display: block; margin: 0; }
.settings-menu .menu-heading { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 16px 0 4px; }
.settings-search input { width: 100%; margin: 4px 0; font: inherit; font-weight: 400; padding: 7px 9px; border-radius: 6px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
/* The menu scrolls, which would clip a ring drawn outside: draw it inside. */
.settings-menu :focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.settings-page:focus { outline: none; }
/* Shown only when focused, for keyboard users to pass the menu. */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; display: inline-block; grid-column: 1 / -1; padding: 6px 10px; background: var(--surface); border: 2px solid var(--accent); border-radius: 6px; }
.search-results li { margin: 0 0 10px; }
.settings-menu ul { list-style: none; margin: 0; padding: 0; }
.settings-menu a { display: block; padding: 5px 10px; border-radius: 6px; color: var(--text); text-decoration: none; border-left: 3px solid transparent; }
.settings-menu a:hover { background: var(--surface); }
.settings-menu a[aria-current] { font-weight: 600; background: var(--surface); border-left-color: var(--accent); }
.settings-page > h1:first-child { margin-top: 0; }
@media (max-width: 860px) {
  main.settings { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .settings-menu { position: static; max-height: none; border: 1px solid var(--border); border-radius: 8px; padding: 0 12px; }
  .settings-menu-toggle { display: block; width: 100%; text-align: left; padding: 10px 0; font-weight: 600; background: none; border: 0; color: var(--text); cursor: pointer; }
  .settings-menu-toggle::before { content: "▸ "; }
  .settings-menu-toggle[aria-expanded="true"]::before { content: "▾ "; }
  /* Folded only here: a wide screen shows the menu whatever its state. */
  .settings-menu.folded nav { display: none; }
}

/* Scoped settings pages: each rule says where its value comes from. */
.scope-summary { margin: 8px 0 0; }
/* A filter bar over a long list of computers (listfilter.js). */
.list-filter { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; margin: 12px 0 8px; }
.list-filter[hidden] { display: none; }
.list-filter label { min-width: 10rem; flex: 1 1 10rem; max-width: 16rem; }
.list-filter label:first-child { flex-basis: 14rem; max-width: 22rem; }
.list-filter .list-count { flex-basis: 100%; margin: 0; }
.count-line { margin: 8px 0; }
/* Settings → Alerts. */
.alert-list li { padding: 8px 0; border-bottom: 1px solid var(--border); }
.alert-list li:last-child { border-bottom: 0; }
.alert-rule { border: 0; border-radius: 0; border-bottom: 1px solid var(--border); margin: 0; padding: 12px 0; min-width: 0; }
.alert-rule:last-child { border-bottom: 0; }
.alert-rule legend { padding: 0; }
.alert-rule legend .choice { font-weight: 600; }
.alert-rule .help { margin: 2px 0 8px; font-size: .9em; }
.alert-fields { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; }
.alert-fields > label { flex: 0 1 11rem; }
.alert-fields > .alert-to { flex: 1 1 14rem; }
.alert-fields > .alert-remove { flex: none; padding-bottom: 8px; font-weight: 400; }
/* A folded card (Locations and hours): its heading and a one-line summary. */
details.fold > summary { cursor: pointer; list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary::before { content: "▸"; color: var(--muted); width: 1em; }
details.fold[open] > summary::before { content: "▾"; }
details.fold > summary h2 { margin: 0; font-size: 1.05rem; }
details.fold > summary .muted { font-size: 14px; }
details.fold[open] > summary { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.setting { padding: 10px 0; border-bottom: 1px solid var(--border); }
.setting:last-of-type { border-bottom: 0; }
.setting .help { margin: 4px 0 0; font-size: .9em; }
.setting .source { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; font-size: .9em; }
.setting .source:empty { display: none; }
.card label.set-here { font-weight: 600; font-size: inherit; display: inline-flex; gap: 6px; align-items: center; }
/* Inherited: a dashed edge and muted text, both at full contrast. */
.setting.inherited input:not([type=checkbox]), .setting.inherited select, .setting.inherited textarea { border-style: dashed; color: var(--muted); }
/* A setting below all locations: following the wider one, it shows the
   value and where it comes from with "Change for ..."; with its own value,
   the field and "Use ...'s value". Without JavaScript, the "Set for ..."
   box does both (scoped.js adds .js). */
.scoped-form:not(.js) .js-only, .scoped-form.js .no-js-only { display: none; }
.scoped-form.js .setting.inherited .own-view, .scoped-form.js .setting:not(.inherited) .follow-view,
.scoped-form.js .setting.inherited .own-only, .scoped-form.js .setting:not(.inherited) .follow-only { display: none; }
/* The control sits at the right of the setting, beside its title and field. */
.scoped-form.js .setting.has-control { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
.scoped-form.js .setting.has-control > * { grid-column: 1; }
.scoped-form.js .setting.has-control > .setting-control { grid-column: 2; grid-row: 1 / span 3; align-self: start; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 22rem; text-align: right; font-size: 14px; }
@media (max-width: 640px) {
  .scoped-form.js .setting.has-control { grid-template-columns: minmax(0, 1fr); }
  .scoped-form.js .setting.has-control > .setting-control { grid-column: 1; grid-row: auto; align-items: flex-start; text-align: left; max-width: none; margin-top: 8px; order: 1; }
}
.follow-title { margin: 0; font-weight: 600; font-size: 14px; }
.follow-line { margin: 6px 0 0; }
.word-preset { margin: 0 4px 4px 0; }

/* The light and dark mode button, as on the marketing site. */
.theme-toggle { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--muted); cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { color: var(--text); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}
.break { overflow-wrap: anywhere; }
/* Latchwork admin console */
table.setup-check th, table.setup-check td { white-space: normal; vertical-align: top; }
table.setup-check th { width: 11em; }
.module-choice { padding: 8px 0; border-bottom: 1px solid var(--border); }
.module-choice:last-child { border-bottom: none; }
.module-choice p.muted { margin: 2px 0 6px 24px; font-size: 14px; }
.module-choice label:not(.choice) { margin-left: 24px; max-width: 14em; }
.retention-help { margin-left: 24px; }
.retention-help ul { margin: 4px 0 8px; padding-left: 20px; }
label.choice + p.retention-help { margin-top: 4px; }
p.retention-help { margin-bottom: 14px; }
