/* Muster Drill portal. The tokens are the marketing site's (landing/assets/site.css), so both look like one product.
   The page's CSP allows styles from this file only: no style attributes anywhere. */

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --bg: #f5f7fa; --panel: #ffffff; --panel-2: #f0f3f8;
  --ink: #0d1b2e; --ink-2: #26364d; --muted: #55637a; --line: #d9dfe8; --line-strong: #bcc6d4;
  --accent: #1d4ed8; --accent-ink: #ffffff; --accent-soft: #e6edfd;
  --pass: #0f7a55; --warn: #9a5800; --fail: #b3362a;
  --key0: #1d4ed8; --key1: #6a3df0;
  --shadow-sm: 0 1px 2px rgba(13,27,46,.06), 0 1px 1px rgba(13,27,46,.04);
  --shadow: 0 1px 2px rgba(13,27,46,.06), 0 18px 40px -24px rgba(13,27,46,.34);
  --shadow-lg: 0 2px 4px rgba(13,27,46,.06), 0 32px 64px -32px rgba(13,27,46,.42);
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-pill: 999px;
  --container: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1220; --panel: #111b2d; --panel-2: #152238;
    --ink: #e6ecf5; --ink-2: #c4cfdf; --muted: #94a3bb; --line: #25334a; --line-strong: #34465f;
    --accent: #7da2ff; --accent-ink: #0a1220; --accent-soft: #16244a;
    --pass: #45c896; --warn: #e3ab52; --fail: #ff8a75;
    --key0: #3556e0; --key1: #7c4dff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 18px 40px -24px rgba(0,0,0,.7);
    --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 32px 64px -32px rgba(0,0,0,.8);
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink);
  font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
main { flex: 1; outline: 0; }
.card, .report, .account-id, h1, #addaccount, input, textarea { scroll-margin-top: 84px; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(1.6rem, 4vw, 2.2rem); line-height: 1.1; letter-spacing: -.025em; }
h2 { font-weight: 800; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.015em; }
h3 { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
h4 { font-weight: 700; font-size: .95rem; }
h1:focus, h2:focus, h3:focus { outline: 0; }
h1:focus-visible, h3:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
p { margin: 0; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
code, .mono { font-family: var(--mono); font-size: .88em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--accent-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.eyebrow { font: 600 .72rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.lede { font-size: 1.08rem; color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
.skip { position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--ink); color: var(--bg); padding: .6rem .9rem; border-radius: var(--r-sm); }
.skip:focus { top: 10px; }
.top { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(1px)) { .top { background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.6) blur(12px); } }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.05rem var(--display); letter-spacing: -.02em; color: var(--ink); flex-shrink: 0; }
.mark { display: block; border-radius: 7px; }
.session .btn { white-space: nowrap; }
.session { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who { color: var(--muted); font-size: .9rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28ch; }
@media (max-width: 480px) { .who { max-width: 14ch; } }
@media (max-width: 360px) { .who { display: none; } }
.foot { border-top: 1px solid var(--line); margin-top: 48px; }
.foot-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 18px; }

.view { display: grid; gap: 20px; padding-block: 28px; min-width: 0; }
.view-narrow { max-width: 640px; margin-inline: auto; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; }
.page-head > * { min-width: 0; }
.idline { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; }

/* ---------- Panels and cards ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  padding: clamp(16px, 3vw, 28px); display: grid; gap: 16px; min-width: 0; }
.hero-panel { position: relative; overflow: hidden; gap: 18px; padding-top: clamp(28px, 5vw, 40px); box-shadow: var(--shadow-lg); }
.hero-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--key0), var(--key1)); }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; }
.panel-head > * { min-width: 0; }
.subpanel { border: 1px solid var(--line-strong); background: var(--panel-2); border-radius: var(--r); padding: clamp(14px, 3vw, 22px); display: grid; gap: 12px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.card { border: 1px solid var(--line); border-radius: var(--r); padding: clamp(14px, 3vw, 20px); display: grid; gap: 12px; background: var(--panel); min-width: 0; }
.card.is-waiting { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.card.is-attention { border-color: color-mix(in srgb, var(--fail) 55%, var(--line)); }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.card-head code { font-size: 1.05rem; font-weight: 600; letter-spacing: .02em; }
.status-line { color: var(--ink-2); }
.empty { border: 1px dashed var(--line-strong); border-radius: var(--r); padding: clamp(18px, 4vw, 28px); display: grid; gap: 8px; text-align: center; justify-items: center; }
.empty p { max-width: 52ch; }

/* Definition lists */
.kv { margin: 0; display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; gap: 6px 16px; font-size: .92rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; } }
.chips { display: inline-flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.chips li { font: 500 .78rem/1 var(--mono); padding: .34rem .55rem; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent); }
.chips.plain li { background: var(--panel-2); color: var(--ink-2); }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: .6rem 1.15rem;
  border-radius: 10px; border: 1px solid transparent; font: 600 .97rem var(--sans); text-decoration: none; cursor: pointer; color: var(--ink);
  background: none; transition: filter .15s, background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: linear-gradient(135deg, var(--key0), var(--key1)); color: #fff; box-shadow: 0 8px 18px -12px var(--key1), inset 0 1px 0 rgba(255,255,255,.2); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: var(--panel); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-danger { background: var(--fail); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-danger { color: #1a0b08; } }
.btn-danger:hover { filter: brightness(1.08); }
.btn-ghost { color: var(--accent); border-color: transparent; }
.btn-ghost:hover { background: var(--accent-soft); }
.btn-sm { min-height: 40px; padding: .45rem .9rem; font-size: .9rem; }
.btn-xs { min-height: 32px; padding: .25rem .6rem; font-size: .85rem; border-radius: 8px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; filter: none; }
.btn[aria-busy="true"] { cursor: progress; opacity: .8; }
.btn.is-done { color: var(--pass); border-color: var(--pass); }
.spinner { width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; display: inline-block; vertical-align: -2px; animation: spin .7s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* More actions menu (a disclosure, not an ARIA menu) */
.more { position: relative; }
.more > summary { list-style: none; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.more[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.more-list { list-style: none; margin: 8px 0 0; padding: 6px; display: grid; gap: 2px; min-width: 15rem; background: var(--panel); border: 1px solid var(--line-strong); border-radius: var(--r); box-shadow: var(--shadow); }
@media (min-width: 640px) { .more-list { position: absolute; z-index: 10; left: 0; } }
.more-list .btn { width: 100%; justify-content: flex-start; min-height: 40px; font-weight: 500; }
.more-list .btn.is-danger { color: var(--fail); }

/* ---------- Status pills ---------- */
.st { display: inline-flex; align-items: center; gap: 6px; font: 600 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: .4rem .62rem;
  color: var(--muted); background: color-mix(in srgb, currentColor 11%, transparent); border: 1px solid color-mix(in srgb, currentColor 40%, transparent); border-radius: var(--r-pill); white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.pass { color: var(--pass); } .st.warn { color: var(--warn); } .st.fail { color: var(--fail); } .st.info { color: var(--accent); } .st.neutral { color: var(--muted); }
.st.info.is-live::before { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .93rem; }
.optional { font: 500 .72rem var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
input, textarea { width: 100%; max-width: 44rem; font: 400 1rem var(--sans); color: var(--ink); background: var(--panel); border: 1px solid var(--line-strong);
  border-radius: 10px; padding: .65rem .8rem; min-height: 44px; transition: border-color .15s, box-shadow .15s; }
textarea { font: 400 .88rem/1.5 var(--mono); min-height: 8rem; resize: vertical; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
input:hover, textarea:hover { border-color: var(--muted); }
input:focus, textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--fail); }
input[aria-invalid="true"]:focus, textarea[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px color-mix(in srgb, var(--fail) 22%, transparent); }
.hint { color: var(--muted); font-size: .86rem; }
.field-error, .form-error { color: var(--fail); font-size: .88rem; font-weight: 500; display: flex; gap: 6px; }
.field-error::before, .form-error::before { content: "!"; flex-shrink: 0; display: inline-grid; place-items: center; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--fail); color: var(--panel); font: 700 .75rem/1 var(--sans); margin-top: .12rem; }
.form-ok { color: var(--pass); font-weight: 500; }

/* ---------- Notices ---------- */
.banner { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--fail) 50%, var(--line)); background: color-mix(in srgb, var(--fail) 8%, var(--panel)); border-radius: var(--r); }
.banner.is-info { border-color: color-mix(in srgb, var(--warn) 50%, var(--line)); background: color-mix(in srgb, var(--warn) 9%, var(--panel)); }
.banner p { min-width: 0; overflow-wrap: anywhere; }
.banner-actions { display: flex; gap: 8px; }
.inline-error { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm);
  border: 1px solid color-mix(in srgb, var(--fail) 45%, var(--line)); background: color-mix(in srgb, var(--fail) 7%, var(--panel)); color: var(--ink); }
.inline-error p { min-width: 0; overflow-wrap: anywhere; }
.note { padding: 10px 12px; border-radius: var(--r-sm); font-size: .92rem; border-left: 3px solid var(--accent); background: var(--accent-soft); color: var(--ink); }
.warn-note { border-left-color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, var(--panel)); }
.once { border-left-color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, var(--panel)); }

/* ---------- Setup checklist ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: step; }
.step { display: grid; grid-template-columns: 2rem 1fr; gap: 4px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: 0; }
.step-mark { grid-row: span 2; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; font: 600 .85rem var(--mono);
  border: 2px solid var(--line-strong); color: var(--muted); background: var(--panel); }
.step.is-done .step-mark { background: var(--pass); border-color: var(--pass); color: var(--panel); }
.step.is-next .step-mark { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.step-title { font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.step.is-done .step-title { color: var(--muted); }
.step-body { grid-column: 2; display: grid; gap: 8px; color: var(--muted); font-size: .92rem; }
.step-body .actions { margin-top: 2px; }
.setup.is-complete .steps { display: none; }

/* ---------- Connect flow inside an account card ---------- */
.connect { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.connect-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: c; }
.connect-steps > li { display: grid; grid-template-columns: 1.75rem 1fr; gap: 6px 12px; counter-increment: c; }
.connect-steps > li::before { content: counter(c); width: 1.75rem; height: 1.75rem; border-radius: 50%; display: grid; place-items: center; font: 600 .8rem var(--mono);
  background: var(--accent-soft); color: var(--accent); grid-row: span 3; }
.connect-steps > li > * { grid-column: 2; min-width: 0; }
.connect-steps h4 { font-family: var(--sans); font-size: .98rem; font-weight: 600; }
.secret { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.secret code { display: block; flex: 1 1 18rem; min-width: 0; padding: .6rem .75rem; border-radius: var(--r-sm); border: 1px solid var(--line-strong); background: var(--panel-2); font-size: .92rem; user-select: all; }
.copy-fallback { font: 400 .85rem var(--mono); }

/* ---------- Reports ---------- */
.reports-layout { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 900px) { .reports-layout { grid-template-columns: 16.5rem 1fr; align-items: start; } }
.daylist { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.daylist:empty { display: none; }
@media (max-width: 899px) { .daylist { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; } .daylist li { flex-shrink: 0; } }
.day { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; padding: .5rem .8rem; border-radius: 10px;
  border: 1px solid var(--line); background: var(--panel); color: var(--ink); font: 500 .93rem var(--sans); cursor: pointer; text-align: left; }
.day:hover { border-color: var(--accent); }
.day[aria-current="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.day small { color: var(--muted); font: 500 .72rem var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.report { display: grid; gap: 16px; min-width: 0; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(14px, 3vw, 20px); outline: 0; }
@media (max-width: 600px) { .report { border: 0; padding: 0; } .resource { padding: 12px; } }
.report:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.report-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 16px; }
.counts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.checker-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .9rem; }
.checker-lines:empty { display: none; }
.checker-lines li { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.resources { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.resource { border: 1px solid var(--line); border-radius: var(--r); padding: 14px; display: grid; gap: 10px; min-width: 0; }
.resource-head { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px 12px; }
.resource-head h4 { flex: 1 1 16rem; min-width: 0; }
.resource-head code { font-size: .9rem; font-weight: 500; overflow-wrap: anywhere; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--muted); font-size: .86rem; }
.checks { width: 100%; border-collapse: collapse; font-size: .9rem; }
.checks th, .checks td { text-align: left; vertical-align: top; padding: 8px 10px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.checks thead th { border-top: 0; color: var(--muted); font: 600 .72rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.checks td:first-child { font-family: var(--mono); font-size: .85rem; white-space: nowrap; }
@media (max-width: 600px) {
  .checks thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .checks, .checks tbody, .checks tr, .checks td { display: block; width: 100%; }
  .checks tr { border-top: 1px solid var(--line); padding: 8px 0; }
  .checks td { border: 0; padding: 2px 0; }
  .checks td:first-child { white-space: normal; }
}

/* ---------- Danger zone ---------- */
.danger-zone { border-color: color-mix(in srgb, var(--fail) 40%, var(--line)); }
.danger-zone h2 { color: var(--fail); font-size: 1.05rem; }
details > summary { cursor: pointer; font-weight: 600; min-height: 32px; display: inline-flex; align-items: center; gap: 8px; }
details:not(.more) > summary { list-style: none; }
details:not(.more) > summary::-webkit-details-marker { display: none; }
details:not(.more) > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform .15s; }
details[open]:not(.more) > summary::before { transform: rotate(45deg); }
.danger-body { display: grid; gap: 12px; margin-top: 12px; }
.quiet { padding-inline: 4px; color: var(--muted); }
.quiet[open] { color: var(--ink); }
.quiet .form { margin-top: 12px; }

/* ---------- Skeleton ---------- */
.skeleton { border-radius: var(--r); background: linear-gradient(90deg, var(--panel-2), var(--line), var(--panel-2)); background-size: 200% 100%; animation: shimmer 1.4s ease-in-out infinite; }
.skeleton-title { height: 2rem; width: min(22rem, 70%); }
.skeleton-line { height: 1rem; width: min(34rem, 90%); }
.skeleton-card { height: 10rem; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 50; right: 16px; bottom: 16px; left: 16px; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: flex-start; gap: 12px; max-width: 28rem; width: 100%; padding: 12px 12px 12px 16px; border-radius: var(--r);
  background: var(--ink); color: var(--bg); box-shadow: var(--shadow-lg); animation: rise .2s ease-out; }
.toast p { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.toast button { flex-shrink: 0; min-height: 32px; min-width: 32px; border: 0; border-radius: 8px; background: transparent; color: inherit; font: 600 1.1rem/1 var(--sans); cursor: pointer; }
.toast button:focus-visible { outline-color: var(--bg); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Dialog ---------- */
dialog { width: min(32rem, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--panel); color: var(--ink); box-shadow: var(--shadow-lg); }
dialog::backdrop { background: rgba(10,18,32,.55); }
.dialog-form { display: grid; gap: 14px; padding: 22px; }
.dialog-form h2 { font-size: 1.2rem; }
#confirm-body { display: grid; gap: 8px; color: var(--ink-2); }
.dialog-form .actions { justify-content: flex-end; margin-top: 6px; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .spinner { animation: none; border-right-color: currentColor; opacity: .5; }
  .skeleton { animation: none; }
}
