:root {
  color-scheme: dark;
  --canvas: #0a121c;
  --sidebar: #101b28;
  --surface: #142231;
  --surface-raised: #1a2a3b;
  --line: #34495e;
  --text: #f2f7fb;
  --muted: #b8c9d7;
  --soft: #d3e0ea;
  --accent: #58e1bb;
  --accent-ink: #092d26;
  --warning: #ffd38c;
  --danger: #ffb4b4;
  --space-half: 4px;
  --radius: 16px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --space-1: 8px;
  --space-1-5: 12px;
  --space-2: 16px;
  --space-2-5: 20px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --type-xs: 12px;
  --type-sm: 14px;
  --type-base: 16px;
  --type-lg: 20px;
  --type-xl: 24px;
  --type-2xl: 32px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --shadow-panel: 0 16px 40px #0208124d;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--canvas);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-size: var(--type-base); line-height: 1.5; background: radial-gradient(ellipse 760px 560px at 78% -12%, #17364a 0%, transparent 70%) var(--canvas); }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--accent); color: var(--accent-ink); }
button {
  min-height: 44px;
  padding: var(--space-1-5) var(--space-2);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out),
    color .2s var(--ease-out), transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
button:not(:disabled):hover { background: #85edce; transform: translateY(-2px); box-shadow: 0 8px 20px #02081252; }
button:not(:disabled):active { background: #39cfa5; transform: translateY(0); box-shadow: inset 0 2px 8px #092d2633; }
button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
button.secondary { background: var(--surface-raised); border-color: var(--line); color: var(--text); }
button.secondary:not(:disabled):hover { background: #294158; border-color: #7a9bb2; }
button.secondary:not(:disabled):active { background: #21374c; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
input, select {
  width: 100%;
  min-height: 48px;
  padding: var(--space-1-5);
  border: 1px solid #587087;
  border-radius: var(--radius-md);
  background: #0d1a27;
  color: var(--text);
  transition: border-color .2s var(--ease-out), background-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
input:hover, select:hover { border-color: #8aa4b9; background: #122234; }
input:active, select:active { border-color: var(--accent); }
input:focus-visible, select:focus-visible { border-color: var(--accent); background: #122234; box-shadow: 0 0 0 4px #58e1bb24; }
input::placeholder { color: #b1c2d0; opacity: 1; }
input[readonly] { background: #142738; }
select[multiple] { min-height: 120px; }
.integration-scopes { display: grid; gap: var(--space-2); margin-block: var(--space-2); }
input[type="checkbox"] { width: 20px; min-height: 20px; accent-color: var(--accent); }
label { display: grid; align-content: start; gap: var(--space-1); color: var(--soft); font-size: var(--type-sm); font-weight: 650; }
label:has(input[type="checkbox"]) { display: flex; align-items: center; gap: 12px; }
a { color: #8decd0; text-underline-offset: 4px; transition: color .2s var(--ease-out), text-decoration-color .2s var(--ease-out); }
a:hover { color: #b9f4e2; }
a:active { color: var(--accent); }
code { color: #b7eedd; overflow-wrap: anywhere; }

.hidden { display: none !important; }
.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; }
.skip-link { position: fixed; top: var(--space-2); left: var(--space-2); z-index: 20; padding: var(--space-1-5) var(--space-2); border-radius: var(--radius-sm); background: var(--accent); color: var(--accent-ink); font-weight: 700; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.layout { display: grid; grid-template-columns: 264px minmax(0,1fr); min-height: 100vh; }
aside { position: sticky; top: 0; align-self: start; display: flex; flex-direction: column; height: 100vh; overflow-y: auto; padding: var(--space-4) var(--space-2) var(--space-3); background: var(--sidebar); border-right: 1px solid var(--line); }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.brand { margin: 0 var(--space-1-5); font-size: var(--type-xl); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.brand b { color: var(--accent); }
.sidebar-caption { margin: var(--space-1) var(--space-1-5) var(--space-6); color: var(--muted); font-size: var(--type-xs); letter-spacing: .04em; }
.nav-toggle { display: none; }
.nav { display: grid; gap: var(--space-4); }
.nav-group { display: grid; gap: var(--space-half); }
.nav-heading { margin: 0 var(--space-1-5) var(--space-1); color: var(--muted); font-size: var(--type-xs); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nav button { width: 100%; min-height: 44px; padding: var(--space-1-5); border: 1px solid transparent; background: transparent; color: var(--soft); text-align: left; font-size: var(--type-sm); font-weight: 650; }
.nav button:not(:disabled):hover { background: #1d3345; color: var(--text); transform: none; box-shadow: none; }
.nav button:not(:disabled):active { background: #29475b; }
.nav button.active { background: #234237; border-color: #3d8f76; box-shadow: inset 3px 0 var(--accent); color: #d7f9ed; }
.sidebar-footer { display: flex; align-items: center; gap: var(--space-1); margin: auto var(--space-1-5) 0; padding-top: var(--space-4); color: var(--muted); font-size: var(--type-xs); font-weight: 600; }
.sidebar-footer-dot { width: 8px; height: 8px; border-radius: 50%; background: #8298a8; }
main { width: min(100%, 1520px); min-width: 0; margin: 0 auto; padding: var(--space-6) clamp(24px, 4vw, 64px) 96px; }
.top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-3); margin-bottom: var(--space-4); padding-bottom: var(--space-4); border-bottom: 1px solid var(--line); }
.page-heading { min-width: 0; }
.eyebrow { margin: 0 0 var(--space-1); color: #8decd0; font-size: var(--type-xs); font-weight: 800; letter-spacing: .12em; line-height: 1.4; text-transform: uppercase; }
.page-description { margin: var(--space-1) 0 0; color: var(--muted); font-size: var(--type-sm); }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(32px, 3vw, 44px); font-weight: 780; letter-spacing: -.045em; line-height: 1.12; }
h2 { margin: 0 0 var(--space-2); font-size: clamp(24px, 2vw, 28px); font-weight: 740; line-height: 1.2; letter-spacing: -.025em; }
h3 { margin: var(--space-4) 0 var(--space-1-5); font-size: var(--type-lg); font-weight: 700; line-height: 1.3; }
p { color: var(--muted); line-height: 1.55; }
.panel > p { max-width: 76ch; }
.panel p:first-of-type { margin-top: 0; }
.panel p:last-child { margin-bottom: 0; }
#notice { min-height: 0; margin: 0 0 24px; color: var(--warning); line-height: 1.5; overflow-wrap: anywhere; }
#notice:empty { display: none; }
#notice:not(:empty) { position: sticky; top: 16px; z-index: 5; padding: 16px; border: 1px solid #8a683f; border-radius: 12px; background: #3c2b20; box-shadow: 0 10px 28px #050b13a8; }
#notice[data-tone="success"] { color: #c7f8e6; border-color: #3a896f; background: #183b34; }
#notice[data-tone="error"] { color: #ffd4d4; border-color: #9a555a; background: #43282e; }
.tab { min-width: 0; }
.subtabs { display: flex; flex-wrap: nowrap; gap: var(--space-3); max-width: 100%; overflow-x: auto; margin: 0 0 var(--space-4); padding: 0 var(--space-half); border-bottom: 1px solid var(--line); scrollbar-width: thin; scrollbar-color: #718a9e transparent; }
.subtabs [role="tab"] { position: relative; flex: 0 0 auto; min-height: 48px; padding: var(--space-1-5) var(--space-half); border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: transparent; color: var(--muted); font-size: var(--type-sm); font-weight: 650; white-space: nowrap; }
.subtabs [role="tab"]:not(:disabled):hover { border-bottom-color: #74998f; background: transparent; color: var(--text); transform: none; box-shadow: none; }
.subtabs [role="tab"]:not(:disabled):active { background: #193449; }
.subtabs [role="tab"][aria-selected="true"] { border-bottom-color: var(--accent); background: transparent; color: var(--text); }
.subtabs + .panel { margin-top: 0; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--space-2); }
.metrics { margin: 0; padding: 0; list-style: none; }
.card, .panel { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-panel); }
.card { display: flex; flex-direction: column; justify-content: space-between; gap: var(--space-3); min-height: 160px; padding: var(--space-3); color: var(--muted); font-size: var(--type-sm); font-weight: 600; }
.metric-label { display: block; color: var(--soft); line-height: 1.35; }
.card::before { content: ''; order: -1; width: 32px; height: 4px; border-radius: 4px; background: var(--accent); }
.card strong { display: block; color: var(--text); font-size: clamp(28px, 2.4vw, 36px); font-variant-numeric: tabular-nums; letter-spacing: -.04em; line-height: 1.1; overflow-wrap: anywhere; }
.panel { margin-top: var(--space-3); padding: clamp(24px, 2.2vw, 40px); }
.charge-detail { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
#appmax-external { font-size: 16px; overflow-wrap: anywhere; }
.overview-lead { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(240px,.8fr); align-items: center; gap: var(--space-6); margin: 0 0 var(--space-4); padding: clamp(32px, 3vw, 48px); border-color: #466d78; border-radius: var(--radius-lg); background: linear-gradient(125deg, #1b3545 0%, #193041 60%, #164238 140%); }
.overview-lead h2 { max-width: 22ch; margin-bottom: var(--space-2); font-size: clamp(32px, 3vw, 44px); line-height: 1.1; }
.overview-lead p { max-width: 62ch; margin-bottom: 0; }
.overview-lead .eyebrow { margin-bottom: var(--space-2); }
.overview-actions { display: grid; gap: var(--space-1); }
.overview-link { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: var(--space-2); border-color: #5c8190; background: #102838bb; color: var(--text); text-align: left; }
.overview-link:not(:disabled):hover { border-color: var(--accent); background: #183e48; }
.overview-link:not(:disabled):active { background: #214c50; }
.overview-link span { color: var(--accent); font-size: 20px; line-height: 1; }
.section-heading { margin: var(--space-6) 0 var(--space-2); }
.overview-lead + .section-heading { margin-top: var(--space-4); }
.setup-cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
#recipient-finance .metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
.metric-note { margin: var(--space-1-5) 0 0; font-size: var(--type-sm); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-3) var(--space-2); align-items: end; }
.grid button { align-self: end; }
form { min-width: 0; }
.inline-action { display: grid; gap: 16px; max-width: 640px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.inline-action h3, .inline-action p { margin: 0; }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; }
.setup-steps { margin: 24px 0 0; padding-left: 24px; }
.setup-steps li { padding-left: 8px; margin-bottom: 24px; color: var(--soft); }
.setup-steps li::marker { color: var(--accent); font-weight: 800; }
.setup-steps strong { display: block; margin-bottom: 8px; color: var(--text); font-size: 16px; }
.setup-steps p { margin: 0 0 12px; }
.table-wrap { max-width: 100%; overflow-x: auto; margin-top: var(--space-2); scrollbar-color: #718a9e var(--surface); }
.table-tools { display: flex; flex-wrap: wrap; align-items: end; gap: var(--space-1-5); margin-top: var(--space-4); padding: var(--space-2); border: 1px solid var(--line); border-radius: var(--radius-md); background: #0f1e2b; }
.table-search { flex: 1 1 240px; }
.table-select { flex: 0 1 200px; }
.table-date { flex: 0 1 165px; }
.table-tools input, .table-tools select { min-height: 48px; }
.table-count { margin: 0 0 var(--space-1) auto; color: var(--muted); font-size: var(--type-xs); white-space: nowrap; }
.table-pager { display: flex; justify-content: flex-end; align-items: center; gap: var(--space-1-5); margin-top: var(--space-2); color: var(--soft); font-size: var(--type-sm); }
.table-pager button { min-width: 96px; }
.active-queue { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1-5); margin-top: var(--space-1-5); padding: var(--space-1-5) var(--space-2); border: 1px solid #8a683f; border-radius: var(--radius-md); background: #3c2b20; color: var(--warning); }
.active-queue[hidden] { display: none; }
.table-filter-empty { margin: 16px 0 0; padding: 16px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; }
.table-filter-empty[hidden] { display: none; }
.table-hint { display: none; }
table { width: 100%; border-collapse: collapse; text-align: left; font-variant-numeric: tabular-nums; }
th, td { padding: var(--space-2); border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--soft); font-size: var(--type-xs); font-weight: 800; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; background: #192d3d; }
td { color: var(--text); font-size: var(--type-sm); line-height: 1.5; overflow-wrap: anywhere; }
tbody tr { transition: background-color .2s var(--ease-out); }
tbody tr:hover, tbody tr:focus-within { background: #1b3042; }
tbody tr:last-child td { border-bottom: 0; }
td button { margin: var(--space-half); white-space: nowrap; }
td input { min-width: 220px; }
.badge { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 12px; border: 1px solid #477992; border-radius: 100px; background: #234052; color: #cbe8f4; font-size: 12px; font-weight: 700; }
.badge.pending { background: #483822; border-color: #9a7444; color: #ffe0aa; }
.badge.creating, .badge.order_created, .badge.split_created, .badge.pendente,
.badge.autorizado, .badge.pendente_integracao, .badge.pendente_integracao_em_analise {
  background: #483822; border-color: #9a7444; color: #ffe0aa;
}
.badge.aprovado, .badge.integrado { background: #1d493b; border-color: #438c6c; color: #c1f5db; }
.badge.uncertain, .badge.cancelado, .badge.estornado, .badge.recusado_por_risco,
.badge.chargeback_em_tratativa, .badge.chargeback_em_disputa, .badge.chargeback_perdido {
  background: #4b312b; border-color: #a96b5c; color: #ffd6c7;
}
.muted { color: var(--muted); }
.login { width: min(480px, calc(100% - 32px)); margin: max(48px, 12vh) auto; padding: var(--space-6); border: 1px solid #466d78; border-radius: var(--radius-lg); background: linear-gradient(145deg, #193448, var(--surface) 58%); box-shadow: 0 32px 80px #020812a6; }
.login .brand { margin: 0 0 var(--space-6); }
.login h1 { max-width: 14ch; margin: 0 0 var(--space-2); font-size: clamp(32px, 4vw, 40px); }
.login p { margin: 0 0 var(--space-3); }
.login .eyebrow { margin-bottom: var(--space-1); }
.login form { display: grid; gap: var(--space-2); padding-top: var(--space-2); }
.login button { width: 100%; }
.login .muted { margin: var(--space-2) 0 0; font-size: var(--type-sm); }
#login-notice:not(:empty) { margin-bottom: 20px; padding: 12px; border: 1px solid #9a555a; border-radius: 12px; background: #43282e; color: #ffd4d4; }
#finance-review { scroll-margin-top: 24px; }
.queue-cards { grid-template-columns: repeat(4,minmax(0,1fr)); }
.queue-card { display: grid; gap: var(--space-1); align-content: space-between; min-height: 128px; padding: var(--space-3); border: 1px solid var(--line); background: var(--surface); color: var(--text); text-align: left; }
.queue-card:not(:disabled):hover { border-color: #63a997; background: #193647; }
.queue-card:not(:disabled):active { background: #234451; }
.queue-card strong { font-size: var(--type-2xl); line-height: 1; font-variant-numeric: tabular-nums; }
.queue-card small { color: var(--accent); font-size: var(--type-xs); }
.record-drawer { position: fixed; inset: 0 0 0 auto; width: min(640px,100vw); max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; padding: var(--space-4); overflow-y: auto; border: 0; border-left: 1px solid var(--line); border-radius: var(--radius-lg) 0 0 var(--radius-lg); background: var(--surface); color: var(--text); box-shadow: -24px 0 64px #02070acc; }
.record-drawer::backdrop { background: #02070ab8; }
.drawer-head { position: sticky; top: -32px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: var(--space-2); margin: -32px -32px var(--space-4); padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--line); background: var(--surface); }
.drawer-head h2 { margin: 0; }
.record-drawer .charge-detail { margin-top: 0; padding-top: 0; border-top: 0; }
.record-drawer .action-row { margin: var(--space-3) 0; }
.record-history { display: grid; gap: var(--space-1-5); padding-left: var(--space-3); }
.record-history li { color: var(--soft); }
.record-history small { display: block; margin-top: 4px; color: var(--muted); }
.status-guidance { margin-top: var(--space-3); padding: var(--space-2); border: 1px solid var(--line); border-radius: var(--radius-md); background: #102838; }
.status-guidance p { margin: var(--space-1) 0; }
.status-guidance small { color: var(--muted); }
.panel dl, .charge-detail dl { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin: 0 0 24px; }
.panel dl div, .charge-detail dl div { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #102030; }
.panel dt, .charge-detail dt { color: var(--muted); font-size: 12px; font-weight: 600; }
.panel dd, .charge-detail dd { margin: var(--space-1) 0 0; color: var(--text); font-size: var(--type-base); font-weight: 700; overflow-wrap: anywhere; }
#finance-review label:has(input[type="checkbox"]) { margin: 20px 0; }
details { margin-top: 12px; }
summary { cursor: pointer; color: var(--soft); font-weight: 600; transition: color .18s ease-out; }
summary:hover { color: var(--text); }
summary:focus-visible { color: var(--text); outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
summary:active { color: var(--accent); }
pre { max-width: 100%; overflow-x: auto; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #0d1a27; color: var(--soft); font-size: 12px; }

@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .queue-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .setup-cards { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .overview-lead { grid-template-columns: 1fr; }
  .overview-lead h2 { max-width: 22ch; }
  .overview-actions { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .overview-actions .overview-link:last-child { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .layout { display: block; }
  aside { position: static; height: auto; padding: var(--space-2) var(--space-2-5); border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { margin: 0; }
  .sidebar-caption, .sidebar-footer { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 8px 12px; }
  .menu-icon { display: block; width: 16px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
  .menu-icon::after { content: ''; position: absolute; top: 5px; left: 0; right: 0; border-top: 2px solid currentColor; }
  .nav { display: none; gap: var(--space-3); margin-top: var(--space-2-5); padding: var(--space-2-5) 0 var(--space-half); border-top: 1px solid var(--line); }
  .nav.is-open { display: grid; }
  .nav-group { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .nav-heading { grid-column: 1 / -1; margin-bottom: 8px; }
  main { padding: 28px var(--space-2-5) var(--space-8); }
  .top { margin-bottom: var(--space-3); }
  .panel { padding: var(--space-3); }
  .grid { grid-template-columns: 1fr; }
  .setup-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .overview-actions { grid-template-columns: 1fr; }
  .overview-actions .overview-link:last-child { grid-column: auto; }
  .table-wrap { margin-right: -8px; padding-right: 8px; }
  .table-hint { display: block; margin: 0 0 8px; color: var(--muted); font-size: 12px; }
  .panel dl, .charge-detail dl { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .subtabs { gap: var(--space-2); padding: 0 var(--space-half); scrollbar-width: none; }
  .subtabs::-webkit-scrollbar { display: none; }
  .subtabs [role="tab"] { flex: 0 0 auto; padding: var(--space-1-5) var(--space-half); }
  .table-tools { gap: var(--space-1-5); padding: var(--space-1-5); }
  .table-search { flex-basis: 100%; }
  .table-select { flex: 1 1 100%; }
  .table-date { flex: 1 1 calc(50% - 6px); }
  .table-pager { justify-content: space-between; }
  .table-pager button { min-width: 72px; padding-inline: 10px; }
  .record-drawer { width: 100vw; border-radius: 0; padding: 20px; }
  .drawer-head { top: -20px; margin: -20px -20px 20px; padding: 16px 20px; }
  .table-count { margin-left: 0; }
  .top { align-items: start; }
  .top button { flex: none; }
  .cards { grid-template-columns: 1fr 1fr; gap: var(--space-1); }
  .setup-cards { grid-template-columns: 1fr; }
  #overview .metrics:not(.setup-cards) .card:last-child { grid-column: 1 / -1; }
  #finance .metrics { grid-template-columns: 1fr; }
  #recipient-finance .metrics { grid-template-columns: 1fr; }
  .card { min-height: 128px; padding: var(--space-2); gap: var(--space-2); }
  .card strong { font-size: clamp(22px, 6vw, 28px); }
  .panel { margin-top: var(--space-2); padding: var(--space-2-5); }
  .overview-lead { margin-bottom: var(--space-2); }
  .panel dl, .charge-detail dl { grid-template-columns: 1fr; }
  .login { padding: var(--space-4); }
}
@media (max-width: 360px) {
  #appmax .cards { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  button, a, input, select, summary, tbody tr { transition: none; }
  button:hover, button:active { transform: none; }
  .skip-link { transition: none; }
}
