/* Magnum Service — utilitarian office UI. Tokens first; components use tokens only. */
:root {
  --bg: #f4f5f3;
  --surface: #ffffff;
  --fg: #1d2226;
  --muted: #5d666d;
  --line: #dde1df;
  --accent: #e0a100;          /* lift-truck yellow */
  --accent-ink: #1d1600;
  --link: #1c5d99;
  --open-bg: #e9f6ec;
  --open-fg: #22683e;
  --closed-bg: #eceff1;
  --closed-fg: #4a545b;
  --danger: #b3261e;
  --danger-bg: #fdecea;
  --notice-bg: #e8f1fb;
  --focus: #1c5d99;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --mono: Consolas, "Cascadia Mono", ui-monospace, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14191c; --surface: #1c2327; --fg: #e5e8e9; --muted: #9aa4aa; --line: #2e373c;
    --accent: #f0b51e; --link: #7fb5ea; --open-bg: #1d3326; --open-fg: #8bd3a6; --closed-bg: #262e33;
    --closed-fg: #b4bec4; --danger: #ff8a80; --danger-bg: #3a1f1d; --notice-bg: #1d2b3a; --focus: #7fb5ea;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--fg); font: 15px/1.45 var(--font); }
a { color: var(--link); }
h1 { font-size: 1.5rem; margin: 0; text-wrap: balance; }
h2 { font-size: 1.1rem; margin: 0 0 .5rem; }
h3 { font-size: 1rem; margin: 0; }
code { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }

/* top bar */
.topbar { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding: .5rem 1rem;
  background: var(--surface); border-bottom: 3px solid var(--accent); position: sticky; top: 0; z-index: 10; }
.brand { font-weight: 700; color: var(--fg); text-decoration: none; letter-spacing: .02em; }
.brand span { color: var(--muted); font-weight: 400; }
.mainnav { display: flex; gap: .25rem; flex-wrap: wrap; flex: 1; }
.mainnav a { padding: .35rem .7rem; border-radius: 6px; color: var(--fg); text-decoration: none; }
.mainnav a.active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.who { display: flex; gap: .75rem; align-items: center; font-size: .9rem; }
.who form { margin: 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--link); font: inherit; cursor: pointer; text-decoration: underline; }

/* layout */
main { padding-inline: 1rem; padding-block: 1rem 3rem; }
.page { max-width: 1200px; margin: 0 auto; display: grid; gap: 1rem; }
.page.narrow { max-width: 640px; }
.pagehead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
.pagehead .actions { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.crumbs { margin: 0; font-size: .9rem; }
.meta { margin: -.5rem 0 0; font-size: .9rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; display: grid; gap: .75rem; min-width: 0; }
.sectionhead { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }

/* controls */
button, .button { font: inherit; padding: .4rem .85rem; border-radius: 6px; border: 1px solid var(--line);
  background: var(--surface); color: var(--fg); cursor: pointer; text-decoration: none; display: inline-block; }
button:disabled { opacity: .55; cursor: default; }
.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }
.danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.ghost { background: transparent; }
.ghost.danger { color: var(--danger); border-color: var(--line); background: transparent; }
input, select, textarea { font: inherit; color: var(--fg); background: var(--bg); border: 1px solid var(--line);
  border-radius: 6px; padding: .4rem .55rem; width: 100%; min-width: 0; }
textarea { resize: vertical; }
input[type=checkbox] { width: 1.15rem; height: 1.15rem; accent-color: var(--open-fg); }
label { font-size: .85rem; color: var(--muted); font-weight: 600; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: contents; }

.filters { display: flex; flex-wrap: wrap; gap: .75rem; align-items: end; }
.filters label { display: grid; gap: .25rem; min-width: 11rem; }
.filters label.grow { flex: 1 1 16rem; }
.quickopen { display: flex; gap: .4rem; }
.quickopen input { width: 7rem; }
.inlineform { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.inlineform select { width: auto; min-width: 14rem; }

.form-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem 1rem; }
.form-grid .field { display: grid; gap: .25rem; align-content: start; min-width: 0; }
.form-grid .wide { grid-column: span 2; }
.form-grid .half { grid-column: span 2; }
.form-grid .full, .form-grid .formactions { grid-column: 1 / -1; }
.form-grid.compact { border-top: 1px solid var(--line); padding-top: .75rem; }
.formactions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: space-between; }
.stack { display: grid; gap: .4rem; }
.hint { margin: -.2rem 0 .2rem; font-size: .8rem; color: var(--muted); }
.fielderror { color: var(--danger); font-size: .85rem; }

.alert { margin: 0; padding: .6rem .8rem; border-radius: 6px; background: var(--danger-bg); color: var(--danger); }
.notice { margin: 0; padding: .6rem .8rem; border-radius: 6px; background: var(--notice-bg); }
.confirm { border-color: var(--danger); }
.confirmrow td { background: var(--danger-bg); }
.confirmrow button { margin-left: .5rem; }

label.check { display: flex; gap: .45rem; align-items: center; font-weight: 400; color: var(--fg); font-size: .92rem; }
.filters label.check { min-width: 0; padding-bottom: .45rem; }

.segmented { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.segmented button { border: 0; border-radius: 0; padding: .25rem .65rem; font-size: .85rem; background: var(--surface); }
.segmented button + button { border-left: 1px solid var(--line); }
.segmented button[aria-pressed=true] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }

.short { width: 7rem; }
.small { font-size: .8rem; }
.overdue { color: var(--danger); font-weight: 600; }
fieldset.schedule { display: grid; gap: .5rem; border: 1px solid var(--line); border-radius: 6px; padding: .6rem .8rem; }
fieldset.schedule legend { font-size: .85rem; color: var(--muted); font-weight: 600; padding: 0 .3rem; }
.weekdays { display: flex; flex-wrap: wrap; gap: .3rem .8rem; }
.card.editor { background: var(--bg); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: .75rem; }
.tile { display: grid; gap: .1rem; padding: .8rem 1rem; border-radius: 8px; background: var(--surface); border: 1px solid var(--line);
  color: var(--fg); text-decoration: none; }
.tile strong { font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.tile span { color: var(--muted); font-size: .9rem; }
.tile.warn strong { color: var(--danger); }

/* tables */
.tablewrap { overflow-x: auto; }
.grid { width: 100%; border-collapse: collapse; font-size: .92rem; font-variant-numeric: tabular-nums; }
.grid th { text-align: left; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted);
  border-bottom: 2px solid var(--line); padding: .45rem .5rem; white-space: nowrap; }
.grid td { border-bottom: 1px solid var(--line); padding: .45rem .5rem; vertical-align: top; }
.grid tbody tr:hover td { background: color-mix(in srgb, var(--accent) 8%, transparent); }
.grid tr.is-open td:first-child { box-shadow: inset 3px 0 0 var(--open-fg); }
.grid tr.selected td { background: color-mix(in srgb, var(--accent) 14%, transparent); }
.grid tbody tr { cursor: default; }
.grid .num { text-align: right; }
.grid tr.inactive td { color: var(--danger); background: color-mix(in srgb, var(--danger) 6%, transparent); }
.grid tr.inactive td a { color: inherit; }
.sortbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; cursor: pointer; }
.grid .desc { max-width: 28rem; }
.rowactions { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; align-items: center; }
.rowactions button { padding: .25rem .6rem; font-size: .85rem; }
.count { margin: 0; font-size: .9rem; }
.pager { display: flex; gap: .75rem; align-items: center; justify-content: center; }

.badge { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; white-space: nowrap; }
.badge.open { background: var(--open-bg); color: var(--open-fg); }
.badge.closed { background: var(--closed-bg); color: var(--closed-fg); }
.badge.inactive { background: var(--danger-bg); color: var(--danger); }
.badge.draft { background: var(--notice-bg); color: var(--link); }
.steps { margin: 0; padding-left: 1.3rem; display: grid; gap: .4rem; }
.invoicelines textarea { min-width: 14rem; }
.invoicelines select { min-width: 10rem; }
.grid tr.grandrow td { font-size: 1.05rem; }

.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.tabs button { border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; padding: .5rem .8rem; color: var(--muted); }
.tabs button[aria-selected=true] { border-bottom-color: var(--accent); color: var(--fg); font-weight: 600; }

.items { margin: 0; padding-left: 1.5rem; display: grid; gap: .5rem; }
.items li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem; align-items: start; }
.itemtext { white-space: pre-wrap; overflow-wrap: anywhere; }
.files { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }

/* sign-in */
.auth { max-width: 380px; margin: 8vh auto 0; background: var(--surface); border: 1px solid var(--line);
  border-top: 4px solid var(--accent); border-radius: 8px; padding: 1.5rem; display: grid; gap: .75rem; }
.auth .primary { margin-top: .5rem; padding: .55rem; }

.subnav a { padding: .5rem .8rem; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.subnav a.active { color: var(--fg); font-weight: 600; border-bottom-color: var(--accent); }
.permgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: .35rem 1rem; }
.label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.logopreview { max-height: 80px; max-width: 240px; background: #fff; padding: .25rem; border: 1px solid var(--line); border-radius: 4px; }
.form-grid h2.full { margin-top: .5rem; }

/* dispatch calendar */
.page.wide { max-width: 1600px; }
.dispatch { display: grid; grid-template-columns: minmax(14rem, 18rem) 1fr; gap: 1rem; align-items: start; }
.tosched { position: sticky; top: 4rem; max-height: calc(100vh - 6rem); overflow: auto; gap: .5rem; }
.joblist { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.job { border: 1px solid var(--line); border-left: 4px solid var(--muted); border-radius: 6px; padding: .35rem .5rem; background: var(--surface);
  font-size: .85rem; cursor: pointer; }
.job.unsched { border-left-color: var(--accent); cursor: grab; }
.job.st0 { border-left-color: var(--muted); }
.job.st1 { border-left-color: var(--link); }
.job.st2 { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.job.st3 { border-left-color: var(--open-fg); opacity: .75; }
.job .time { display: block; font-variant-numeric: tabular-nums; color: var(--muted); font-size: .8rem; }
table.calendar { border-collapse: collapse; width: 100%; table-layout: fixed; min-width: 900px; }
.calendar th, .calendar td { border: 1px solid var(--line); vertical-align: top; padding: .3rem; }
.calendar thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); background: var(--surface); }
.calendar th.mech { width: 9rem; text-align: left; background: var(--surface); font-weight: 600; }
.calendar td.slot { min-height: 5rem; height: 5rem; background: var(--surface); }
.calendar td.slot > .job { margin-bottom: .3rem; }
.calendar .today { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.calendar td.over { outline: 2px dashed var(--accent); outline-offset: -3px; }
.addslot { padding: 0 .5rem; font-size: .9rem; line-height: 1.4; opacity: .5; }
.addslot:hover, .addslot:focus-visible { opacity: 1; }
.legend { display: flex; gap: .5rem; flex-wrap: wrap; }
.legend .job { cursor: default; }
figure.signature { margin: .5rem 0; }
figure.signature img { max-width: 320px; width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 4px; }
figure.signature figcaption { font-size: .85rem; color: var(--muted); }
canvas.sigpad { width: 100%; height: 170px; border: 2px dashed var(--line); border-radius: 8px; background: #fff; touch-action: none; }
@media (max-width: 1000px) { .dispatch { grid-template-columns: 1fr; } .tosched { position: static; max-height: none; } }

/* phone screens */
.mtop { display: flex; align-items: center; gap: 1rem; padding: .6rem 1rem; background: var(--surface); border-bottom: 3px solid var(--accent); position: sticky; top: 0; z-index: 5; }
.mtop .who { flex: 1; color: var(--muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtop form { margin: 0; }
main.mobile { max-width: 640px; margin: 0 auto; padding: .75rem .75rem 4rem; display: grid; gap: .75rem; font-size: 16px; }
main.mobile h1 { font-size: 1.3rem; }
.mh2 { font-size: 1rem; margin: .5rem 0 0; }
.mcard { display: grid; gap: .5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: .9rem; color: var(--fg); }
.mlink { text-decoration: none; }
.mlink:active { background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.mrow { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.mcust { font-weight: 600; font-size: 1.05rem; }
.mform { display: grid; gap: .45rem; }
.mform input, .mform select, main.mobile .button, main.mobile button { min-height: 44px; font-size: 16px; }
main.mobile .button { text-align: center; }
.big { width: 100%; padding: .7rem; font-size: 1.05rem; }
.segmented.big { width: 100%; }
.segmented.big button { flex: 1; min-height: 48px; font-size: 1rem; }
.mlist { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.mlist li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; border-bottom: 1px solid var(--line); padding-bottom: .4rem; }

/* reports and print views */
.reportpicker { display: grid; grid-template-columns: minmax(12rem, 16rem) 1fr; gap: 1rem; align-items: start; }
.reportlist { gap: .25rem; padding: .5rem; }
.reportlist button { text-align: left; border: 0; background: none; padding: .45rem .6rem; }
.reportlist button[aria-pressed=true] { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.printbar { position: sticky; top: 0; display: flex; gap: .5rem; padding: .5rem 1rem; background: var(--surface); border-bottom: 1px solid var(--line); }
main.report { max-width: 1000px; margin: 0 auto; padding: 1rem 1.25rem 3rem; background: #fff; color: #111; color-scheme: light; }
main.report .grid th, main.report .grid td { border-color: #ccc; color: #111; }
main.report .muted { color: #555; }
.reporthead { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-bottom: 2px solid #333; padding-bottom: .6rem; margin-bottom: 1rem; }
.reporthead .company { display: flex; gap: .75rem; align-items: center; }
.reporthead .logo { max-height: 64px; max-width: 180px; }
.reporthead .titleblock { text-align: right; }
.reporthead h1 { font-size: 1.3rem; }
.group { margin: 1rem 0; break-inside: avoid-page; }
.group h2 { font-size: 1rem; border-bottom: 1px solid #999; padding-bottom: .2rem; }
.grid tfoot td { font-weight: 600; border-top: 2px solid #999; }
.grandtotal { font-weight: 600; text-align: right; }
.reportfoot { margin-top: 2rem; border-top: 1px solid #ccc; padding-top: .3rem; }
.wohead { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wohead h2 { font-size: .9rem; color: #555; margin: 0; }
.wohead dl { display: grid; grid-template-columns: auto auto; gap: .2rem .8rem; margin: 0; }
.wohead dt { color: #555; }
.wohead dd { margin: 0; }
.wodescr { font-size: 1.05rem; font-weight: 600; }
.printitems { padding-left: 1.4rem; }
.printitems li { margin-bottom: .3rem; white-space: pre-wrap; }
.prewrap { white-space: pre-wrap; }
.signatures { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.signatures div { display: grid; gap: .2rem; font-size: .85rem; color: #555; }
.signatures span { border-bottom: 1px solid #333; height: 2.2rem; order: -1; }
.sendbox { margin-bottom: 1rem; }
@media print {
  .no-print, .printbar, #blazor-error-ui, .components-reconnect-show { display: none !important; }
  body { background: #fff; }
  main.report { padding: 0; max-width: none; }
  a { color: inherit; text-decoration: none; }
}
@media (max-width: 760px) { .reportpicker { grid-template-columns: 1fr; } }

#blazor-error-ui { display: none; position: fixed; bottom: 0; left: 0; right: 0; padding: .6rem 1rem;
  background: var(--danger-bg); color: var(--danger); z-index: 1000; }
#blazor-error-ui .dismiss { float: right; cursor: pointer; }

@media (max-width: 760px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-grid .wide, .form-grid .half { grid-column: 1 / -1; }
  .who span { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* customer center (lookup grid + one-screen customer panel) */
.lookup label.check { min-width: 0; }
.lookupgrid { max-height: 22rem; overflow: auto; }
.lookupgrid thead th { position: sticky; top: 0; background: var(--surface); z-index: 1; }
.lookupgrid .filterrow th { top: 2.1rem; padding: .2rem .3rem; }
.filterrow input { width: 100%; min-width: 5rem; padding: .2rem .35rem; font-size: .85rem; }
.grid tr.clickable { cursor: pointer; }
.grid tr.selected td { background: color-mix(in srgb, var(--accent) 22%, transparent); font-weight: 600; }
.selmark { display: inline-block; width: 1.1rem; color: var(--accent); }
#customer-panel { margin-top: 1rem; display: grid; gap: .75rem; }
.custhead .pagehead { margin: 0; }
.custname { margin: 0; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: .5rem 1rem; }
.summary .label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 600; }
.custnotes { margin: 0; padding: .5rem .75rem; border-left: 3px solid var(--accent); background: var(--bg); white-space: pre-wrap; }

/* schedule: click-to-assign and floating visit editor */
.job.unsched.picked { outline: 2px solid var(--accent); background: color-mix(in srgb, var(--accent) 18%, var(--surface)); }
.calendar td.slot.target { cursor: copy; }
.calendar td.slot.target:hover { outline: 2px dashed var(--accent); outline-offset: -3px; }
.pickbar { display: flex; gap: .75rem; align-items: center; justify-content: space-between; margin: 0 0 .5rem; }
.dispatch ~ .card.editor { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; width: min(34rem, calc(100vw - 2rem));
  max-height: 85vh; overflow: auto; box-shadow: 0 10px 30px rgb(0 0 0 / .25); border: 2px solid var(--accent); }
.state { display: inline-block; margin-top: .2rem; font-weight: 600; }
.state.st-none { color: var(--muted); }
.state.st-sched { color: var(--link); }
.state.st-prog { color: var(--accent-ink); background: color-mix(in srgb, var(--accent) 35%, transparent); padding: 0 .3rem; border-radius: 4px; }
.state.st-late { color: var(--danger); }
.job .badge { font-size: .7rem; padding: 0 .35rem; }

/* open work orders list: card colour by where the work order stands */
.job.unsched.ws-none  { border-left-color: var(--muted); background: var(--surface); }
.job.unsched.ws-sched { border-left-color: var(--link); background: color-mix(in srgb, var(--link) 12%, var(--surface)); }
.job.unsched.ws-sent  { border-left-color: var(--link); background: color-mix(in srgb, var(--link) 24%, var(--surface)); }
.job.unsched.ws-prog  { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 28%, var(--surface)); }
.job.unsched.ws-late  { border-left-color: var(--danger); background: color-mix(in srgb, var(--danger) 14%, var(--surface)); }
.job.unsched.picked   { outline: 3px solid var(--accent); }
.statelegend { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; }
.statelegend .job { padding: .1rem .4rem; cursor: default; border-left-width: 4px; }

.buildinfo { text-align: center; color: var(--muted); font-size: .75rem; padding: 1.5rem 1rem 1rem; }

/* phone job screen: numbered steps */
.stepintro { margin: 0; font-weight: 600; }
.mcard.step h2 { display: flex; align-items: center; gap: .5rem; }
.stepno { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; flex: none;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1rem; }
.mcard.step.done { border-color: var(--open-fg); }
.mcard.step.done .stepno { background: var(--open-fg); color: #fff; }
.mcard.step.finish { border-width: 2px; border-color: var(--accent); }
.mcard.jobdone { background: var(--open-bg); border: 2px solid var(--open-fg); }
.mcard.jobdone h2 { color: var(--open-fg); font-size: 1.4rem; }
details.mcard summary { cursor: pointer; padding: .25rem 0; }
.badge.ready { background: color-mix(in srgb, var(--accent) 30%, var(--surface)); color: var(--fg); outline: 1px solid var(--accent); }
.badge.invoiced { background: var(--notice-bg); color: var(--link); text-decoration: none; }
.taxchoice { border: 1px solid var(--line); border-radius: 8px; padding: .5rem .75rem; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; align-items: center; }
.taxchoice legend { font-weight: 600; padding: 0 .25rem; }

/* Online demo banner */
.demobar { background: var(--notice-bg); color: var(--fg); border-bottom: 1px solid var(--line); padding: .35rem 1rem; font-size: .9rem; }
.demologins { margin-top: 1.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.demologins form { margin: 0; }
.demologins ul { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .5rem; }
.demologins button { width: 100%; text-align: left; }
.demologins .who { display: block; font-weight: 600; }
.demologins .what { display: block; font-size: .85rem; color: var(--muted); font-weight: 400; }
