/* The staff admin (desktop first, usable down to tablet width) */
body.admin { background: var(--paper); }
body.admin .demo-banner { position: sticky; top: 0; z-index: 30; }

/* sign-in */
.login-wrap { min-height: calc(100vh - 34px); display: grid; place-content: center; padding: 32px 16px; gap: 16px; }
.login-card { width: min(480px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; box-shadow: var(--shadow-lg); display: grid; gap: 14px; }
.login-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.login-card .h1 { font-size: 1.45rem; }
.login-card .stack { display: grid; gap: 4px; }
.login-foot { text-align: center; color: var(--muted); font-size: 0.85rem; }
.role-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; border: 0; padding: 0; margin: 0 0 16px; }
.role-card { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; position: relative; background: var(--surface); }
.role-card input { position: absolute; opacity: 0; }
.role-card:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.role-card:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.rc-role { font-weight: 650; font-size: 0.92rem; line-height: 1.3; }
.rc-name { color: var(--muted); font-size: 0.82rem; }
.demo-code { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; border: 2px dashed #e0b25a; background: var(--warn-soft); border-radius: 12px; color: #4a3200; font-size: 0.9rem; }
.demo-code strong { font-size: 1.3rem; letter-spacing: 0.12em; color: var(--ink); }
.dc-tag { font: 700 0.7rem var(--mono); letter-spacing: 0.1em; padding: 3px 7px; border-radius: 6px; background: #7a4b00; color: #fff; }
.otp { font-size: 1.5rem !important; letter-spacing: 0.4em; text-align: center; }

/* shell */
.shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: calc(100vh - 34px); }
.side { background: var(--surface); border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 20px; position: sticky; top: 34px; height: calc(100vh - 34px); overflow-y: auto; }
.side .brand-line { padding: 4px 6px; }
.side-nav { display: grid; gap: 2px; }
.side-nav a, .side-foot a, .side-foot button { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 0.93rem; background: none; border: 0; cursor: pointer; text-align: left; width: 100%; }
.side-nav a:hover, .side-foot a:hover, .side-foot button:hover { background: var(--paper); color: var(--ink); }
.side-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent-ink); }
.side-nav .ic, .side-foot .ic { width: 18px; height: 18px; }
.side-foot { margin-top: auto; display: grid; gap: 2px; border-top: 1px solid var(--line); padding-top: 12px; }
.side-foot a, .side-foot button { font-size: 0.85rem; color: var(--muted); padding: 7px 10px; }
.side-foot .prepared { font-size: 0.75rem; color: var(--muted); padding: 10px 10px 0; }
.side-foot .made-by { padding: 4px 10px 0; font-size: 0.75rem; }
.work { min-width: 0; display: flex; flex-direction: column; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 28px; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--line); position: sticky; top: 34px; z-index: 20; backdrop-filter: blur(6px); }
.role-switch { display: flex; align-items: center; gap: 8px; padding: 4px 4px 4px 12px; border: 1px dashed #e0b25a; background: var(--warn-soft); border-radius: 10px; color: #4a3200; font-size: 0.85rem; font-weight: 600; }
.role-switch select { min-height: 36px; padding: 6px 34px 6px 10px; font-size: 0.875rem; width: auto; border-color: #e6c88a; }
.top-right { display: flex; align-items: center; gap: 14px; }
.me { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; }
.me-txt strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.me-txt small { display: block; color: var(--muted); font-size: 0.78rem; }
#view { padding: 24px 28px 48px; outline: none; max-width: 1480px; width: 100%; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.page-head .muted { margin-top: 4px; max-width: 60rem; }
.mt { margin-top: 28px; margin-bottom: 12px; }

/* filters */
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin-bottom: 16px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.f-search { position: relative; flex: 1 1 260px; min-width: 220px; align-self: flex-end; }
.f-search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.f-search input { padding-left: 38px; min-height: 40px; }
.f-sel { display: grid; gap: 4px; min-width: 150px; flex: 0 1 170px; }
.f-sel > span { font-size: 0.75rem !important; font-weight: 600; color: var(--muted) !important; text-transform: uppercase; letter-spacing: 0.04em; }
.f-sel select, .f-sel input { min-height: 40px; padding-top: 7px; padding-bottom: 7px; font-size: 0.9rem; }

/* tables */
.table-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 650; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #fbfbf9; white-space: nowrap; }
td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
td small { display: block; font-size: 0.78rem; margin-top: 2px; }
tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right; }
table.cases tbody tr { cursor: pointer; }
table.cases tbody tr:hover { background: #f8fafd; }
table.cases tbody tr:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
tr.is-new { background: #f3f8ff; }
.code-link { font-weight: 700; text-decoration: none; }
.new { display: inline-block; margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.empty { padding: 28px; text-align: center; color: var(--muted); }
.note-line { display: flex; gap: 6px; align-items: center; margin-top: 12px; }
.note-line .ic { width: 16px; height: 16px; }

/* status pills by stage, deadline badges, severity */
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill.sm { font-size: 0.75rem; padding: 2px 8px; }
.st-received { background: #eef4fb; color: #1f5fad; border-color: #cfe0f3; }
.st-screening { background: #f1effa; color: #4f3fa0; border-color: #ddd7f2; }
.st-referral { background: #fdf2e6; color: #8a4a00; border-color: #f3dcc0; }
.st-investigation { background: #fff8e1; color: #7a5600; border-color: #f2e2ad; }
.st-closure { background: #ecf6f0; color: #1d6b45; border-color: #c9e6d6; }
.sla { display: inline-flex; flex-direction: column; font-weight: 650; font-size: 0.82rem; }
.sla small { font-weight: 400; color: var(--muted); }
.sla-ok { color: var(--ok); }
.sla-soon { color: var(--warn); }
.sla-over { color: var(--bad); }
.sla-closed, .sla-waiting { color: var(--muted); }
.sev { display: inline-block; font-size: 0.75rem; font-weight: 600; }
.sev-high { color: var(--bad); }
.sev-medium { color: var(--warn); }
.sev-low { color: var(--muted); }

/* case page */
.back-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; font-size: 0.9rem; text-decoration: none; margin-bottom: 12px; }
.back-link .ic { width: 18px; height: 18px; }
.case-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.case-head .muted { margin-top: 4px; font-size: 0.9rem; }
.case-badges { display: flex; align-items: center; gap: 14px; }
.stepper { list-style: none; margin: 18px 0 20px; padding: 14px 18px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.stepper li { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; color: var(--muted); position: relative; }
.sp-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-2); font-size: 0.8rem; flex: none; background: var(--surface); }
.sp-dot .ic { width: 15px; height: 15px; }
.stepper li.done { color: var(--ink-2); }
.stepper li.done .sp-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.stepper li.cur { color: var(--accent-ink); }
.stepper li.cur .sp-dot { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 95, 173, 0.14); }
.stepper li.skip { opacity: 0.45; text-decoration: line-through; }
.case-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 1fr); gap: 20px; align-items: start; }
.col-main, .col-side { display: grid; gap: 16px; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow); min-width: 0; }
.card .h3 { margin: 18px 0 8px; }
.card .h2 + .h3, .card-h + .h3 { margin-top: 6px; }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.lock-note { display: inline-flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--muted); }
.lock-note .ic { width: 15px; height: 15px; }
.kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; margin: 0; }
.kv-grid.one { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 12px; }
.kv { display: grid; gap: 1px; min-width: 0; }
.kv dt { color: var(--muted); font-size: 0.78rem; }
.kv dd { margin: 0; font-size: 0.93rem; overflow-wrap: anywhere; }
.statement { margin: 0 0 12px; padding: 14px 16px; background: var(--paper); border-left: 3px solid var(--accent-line); border-radius: 0 10px 10px 0; font-size: 0.98rem; line-height: 1.55; }
.att-list { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 8px; }
.att-list li { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.thumb { width: 48px; height: 48px; border-radius: 8px; background: var(--accent-soft); }
.icon-thumb { display: grid; place-items: center; color: var(--accent); }
.file-meta { display: grid; gap: 1px; min-width: 0; }
.file-name { font-weight: 600; font-size: 0.9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-sub { color: var(--muted); font-size: 0.78rem; display: inline-flex; align-items: center; gap: 4px; }
.file-sub.ok { color: var(--ok); }
.file-sub .ic { width: 13px; height: 13px; }
.pii-mask { display: grid; gap: 10px; justify-items: start; padding: 12px 14px; border: 1px dashed var(--line-2); border-radius: 10px; }
.action-card .h2 { margin-bottom: 12px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; padding: 12px; background: var(--paper); border-radius: 10px; margin-bottom: 12px; }
.inline-form .f-sel { flex: 1 1 140px; }
.acts { display: grid; gap: 8px; margin-top: 4px; }
.next-step { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-2); display: grid; gap: 8px; }
.acts .btn.chosen { box-shadow: 0 0 0 3px rgba(31, 95, 173, 0.25); }
.act-form { margin-top: 12px; padding: 14px; border: 1px solid var(--accent-line); background: #f8fbff; border-radius: 12px; }
.act-form .h3 { margin: 0 0 12px; }
.act-form .field { margin-bottom: 12px; }
.row-btns { display: flex; justify-content: flex-end; gap: 8px; }
.outcome { padding: 12px 14px; background: var(--paper); border-radius: 10px; margin-bottom: 12px; display: grid; gap: 4px; }
.ok-line { display: flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; margin-top: 4px; }
.ok-line .ic { width: 16px; height: 16px; }
.rules { margin-top: 14px; font-size: 0.875rem; color: var(--ink-2); }
.rules summary { cursor: pointer; font-weight: 600; color: var(--accent); }
.rules ul { margin: 8px 0 0; padding-left: 1.1rem; display: grid; gap: 4px; }
.notes { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.notes li { padding: 10px 12px; background: var(--paper); border-radius: 10px; }
.notes p { font-size: 0.92rem; }
.note-form { display: grid; gap: 8px; justify-items: end; }
.note-form textarea { min-height: 64px; }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.history li { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.chain-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.chain { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; font-size: 0.85rem; font-weight: 600; }
.chain.ok { background: var(--ok-soft); color: var(--ok); }
.chain.bad { background: var(--bad-soft); color: var(--bad); }
.audit-mini { list-style: none; margin: 8px 0 10px; padding: 0; display: grid; gap: 8px; max-height: 420px; overflow-y: auto; }
.audit-mini li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 8px; font-size: 0.875rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }
.audit-mini small { display: block; font-size: 0.76rem; }
.audit-mini .hash { color: #7a8494; }
.seq { color: var(--muted); font-size: 0.8rem; }
.dlg-in { padding: 18px 20px; display: grid; gap: 12px; }
.dlg.wide, dialog#dlg { max-width: min(960px, calc(100vw - 32px)); }
.big-img { width: auto; max-width: 100%; height: auto; border-radius: 8px; background: var(--paper); }

/* reports */
.export-box { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: grid; gap: 2px; }
.kpi-v { font-size: 1.6rem; font-weight: 750; letter-spacing: -0.02em; }
.kpi-l { color: var(--muted); font-size: 0.82rem; }
.kpi.warn .kpi-v { color: var(--bad); }
.charts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.charts .span2 { grid-column: 1 / -1; }
.charts .h3 { margin: 0 0 12px; }
.charts .muted.sm { display: flex; gap: 6px; align-items: center; margin-top: 10px; }
.charts .muted.sm .ic { width: 16px; height: 16px; color: var(--warn); }
.chart { width: 100%; height: auto; }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .axis { fill: var(--muted); font: 500 11px var(--font); }
.chart .fill { fill: var(--accent); }
.chart .area { fill: rgba(31, 95, 173, 0.12); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { fill: var(--surface); stroke: var(--accent); stroke-width: 2; }
.hbars { display: grid; gap: 4px; }
.hbar { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr) 84px; gap: 10px; align-items: center; padding: 5px 6px; border: 0; background: none; border-radius: 8px; text-align: left; font-size: 0.875rem; color: var(--ink-2); width: 100%; }
button.hbar { cursor: pointer; }
button.hbar:hover { background: var(--paper); }
.hbar.on { background: var(--accent-soft); }
.hbar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hbar-track { width: 100%; height: 12px; }
.hbar-track .track { fill: #eef1f5; }
.hbar-track .fill { fill: var(--accent); }
.hbar-value { text-align: right; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.donut { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; align-items: center; }
.donut-svg { width: 140px; height: 140px; }
.donut-track { fill: none; stroke: #eef1f5; stroke-width: 16; }
.seg { fill: none; stroke-width: 16; }
.seg.s0, .sw.s0 { stroke: var(--accent); background: var(--accent); }
.seg.s1, .sw.s1 { stroke: #8fb3e0; background: #8fb3e0; }
.seg.s2, .sw.s2 { stroke: #c9a227; background: #c9a227; }
.donut-mid { font: 750 20px var(--font); fill: var(--ink); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.875rem; }
.legend li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.sw { width: 12px; height: 12px; border-radius: 3px; }
.lg-val { color: var(--muted); font-variant-numeric: tabular-nums; }

/* audit page */
.chain-card p { display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.chain-card { margin-bottom: 16px; }
table.audit td { font-size: 0.86rem; }
table.audit .hash { color: #7a8494; white-space: nowrap; }
tr.broken td { background: var(--bad-soft); }

/* users */
.yes { display: inline-flex; align-items: center; gap: 6px; color: var(--ok); font-weight: 600; }
.yes .ic { width: 16px; height: 16px; }
.part { color: var(--warn); font-size: 0.82rem; font-weight: 600; }
table.perms th[scope="row"] { text-transform: none; letter-spacing: 0; font-size: 0.9rem; color: var(--ink-2); background: none; white-space: normal; }
table.perms td { text-align: center; vertical-align: middle; }
table.perms td .yes { justify-content: center; }

@media (max-width: 1100px) {
  .case-grid { grid-template-columns: minmax(0, 1fr); }
  .charts { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-nav { display: flex; flex-wrap: wrap; }
  .side-foot { display: none; }
  .topbar { position: static; flex-wrap: wrap; padding: 10px 16px; }
  .rs-label, .me-txt { display: none; }
  #view { padding: 18px 16px 40px; }
  .stepper { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 10px; }
  .stepper li span:last-child { display: none; }
  .kv-grid { grid-template-columns: minmax(0, 1fr); }
  body.admin .demo-banner { position: static; }
  .role-cards { grid-template-columns: minmax(0, 1fr); }
}

/* fixes from the screenshot review */
td small.sev { display: block; }
table.cases td:nth-child(3) { min-width: 170px; }
table.cases td:nth-child(5) { width: 1%; }
td.nw, td.nw small, .sla small, table.audit td a.mono, .code-link { white-space: nowrap; }
.filters .f-search input { padding-left: 40px !important; }
.more-link { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; }
@media (min-width: 861px) {
  body.admin .demo-banner { height: 32px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  body.admin .demo-banner p { overflow: hidden; text-overflow: ellipsis; }
  .shell { min-height: calc(100vh - 32px); }
  .side { top: 32px; height: calc(100vh - 32px); }
  .topbar { top: 32px; }
}
.topbar { flex-wrap: wrap; row-gap: 8px; }
@media (max-width: 1200px) {
  .rs-label, .me-txt { display: none; }
  .topbar { padding: 10px 20px; }
  #view { padding: 20px 20px 40px; }
}

/* AI for staff (Claude): the triage card and the translation under a statement */
.ai-card .h2 { display: inline-flex; align-items: center; gap: 8px; }
.ai-card .h2 .ic { width: 18px; height: 18px; color: var(--accent); }
.ai-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 10px; }
.ai-state { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 10px; background: #efeafb; color: #4b2f94; font-size: 0.78rem; font-weight: 600; line-height: 1.45; }
.ai-state .ic { width: 14px; height: 14px; }
.ai-state.off { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line); }
.ai-state.busy { background: var(--accent-soft); color: var(--accent-ink); }
.spin { width: 13px; height: 13px; flex: none; border: 2px solid var(--accent-line); border-top-color: var(--accent); border-radius: 50%; animation: pik-spin 0.8s linear infinite; }
@keyframes pik-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation-duration: 2.4s; } }
.ai-kv { margin-bottom: 4px; }
.ai-reason { margin: 2px 0 6px; }
.ai-summary { line-height: 1.55; }
.ai-missing { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.ai-btns { justify-content: flex-start; flex-wrap: wrap; margin-top: 14px; }
.ai-privacy { display: flex; gap: 6px; align-items: flex-start; margin-top: 12px; font-size: 0.78rem; }
.ai-privacy .ic { width: 14px; height: 14px; margin-top: 2px; }
.tr-btns { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.tr-btns .btn { min-height: 36px; padding: 6px 12px; font-size: 0.85rem; }
.tr-out { margin: 0 0 12px; }
.tr-label { display: flex; gap: 6px; align-items: center; margin: 0 0 6px; color: #4b2f94; font-size: 0.8rem; font-weight: 600; }
.tr-label .ic { width: 15px; height: 15px; flex: none; }
.tr-label.off { color: var(--ink-2); }
.statement.tr { border-left-color: #b9a8e8; background: #faf8ff; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.inline-form.flash { animation: pik-flash 1.4s ease-out; }
@keyframes pik-flash { from { box-shadow: 0 0 0 3px var(--accent); } to { box-shadow: 0 0 0 3px transparent; } }
@media (max-width: 860px) {
  .ai-btns .btn, .tr-btns .btn { flex: 1 1 auto; }
}
