/* Forward Commerce admin. Tokens first; components below. Mobile-first. */
:root {
  --pine-950: #0B221C; --pine-900: #0F2C24; --pine-800: #173C31; --pine-700: #1F5A47; --pine-600: #267055; --pine-500: #2E7D5E; --pine-100: #D8EADF; --pine-50: #EDF5F0;
  --ink: #17201D; --ink-2: #44514C; --ink-3: #74817C;
  --canvas: #F2F4F3; --surface: #FFFFFF; --line: #DCE2DF; --line-2: #EBEFED;
  --amber: #9A6408; --amber-bg: #FBF1DC; --red: #B42318; --red-bg: #FDECEA; --blue: #1F5C99; --blue-bg: #E7F0FA; --green: #1D6B4C; --green-bg: #E3F3EA; --grey-bg: #EEF1F0;
  --font: Aptos, "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --r-sm: 6px; --r: 10px; --r-lg: 14px;
  --shadow-pop: 0 12px 32px -8px rgba(15, 44, 36, .28);
  --sidebar: 256px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.5; color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
a { color: var(--pine-600); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.2; letter-spacing: -.01em; }
.icon { flex: none; }
.num { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--pine-500); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Shell ---------- */
.shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: var(--pine-900); color: #CFE0D8; display: flex; flex-direction: column; z-index: 40; transform: translateX(-100%); transition: transform .22s ease; }
.shell.nav-open .sidebar { transform: none; box-shadow: var(--shadow-pop); }
.scrim { position: fixed; inset: 0; background: rgba(11, 34, 28, .45); z-index: 30; opacity: 0; pointer-events: none; transition: opacity .2s; }
.shell.nav-open .scrim { opacity: 1; pointer-events: auto; }
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 18px 18px 16px; border-bottom: 1px solid rgba(255,255,255,.07); }
.sidebar-brand .mark { width: 38px; height: 38px; border-radius: 9px; background: var(--pine-500); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 17px; overflow: hidden; flex: none; }
.sidebar-brand .mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.sidebar-brand strong { display: block; color: #fff; font-size: 15px; line-height: 1.25; }
.sidebar-brand small { display: block; color: #8FB0A3; font-size: 12px; }
.sidebar nav { flex: 1; overflow-y: auto; padding: 12px 10px 20px; }
.nav-section { margin: 18px 10px 6px; font-size: 12px; color: #7FA192; }
.nav-link { display: flex; align-items: center; gap: 11px; padding: 9px 10px; border-radius: 8px; color: #CFE0D8; font-size: 14.5px; }
.nav-link:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.nav-link.is-active { background: var(--pine-700); color: #fff; }
.nav-link.is-active .icon { color: #9FE3C1; }
.nav-sub { margin: 2px 0 6px 39px; display: grid; gap: 1px; }
.nav-sub a { padding: 6px 10px; border-radius: 6px; color: #A9C5B9; font-size: 14px; }
.nav-sub a:hover, .nav-sub a.is-active { color: #fff; background: rgba(255,255,255,.06); text-decoration: none; }
.sidebar-foot { padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.07); font-size: 12px; color: #6F9283; }

.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 16px; background: rgba(242,244,243,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar .menu-btn { display: inline-grid; }
.topbar .spacer { flex: 1; }
.topbar .who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--pine-100); color: var(--pine-700); display: grid; place-items: center; font-weight: 600; font-size: 14px; flex: none; }
.who-text { display: none; line-height: 1.2; }
.who-text small { display: block; color: var(--ink-3); font-size: 12px; text-transform: capitalize; }
.menu-wrap { position: relative; }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-pop); padding: 6px; display: none; }
.menu.open { display: block; }
.menu a, .menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); border-radius: 7px; cursor: pointer; text-align: left; }
.menu a:hover, .menu button:hover { background: var(--canvas); text-decoration: none; }
.content { padding: 20px 16px 64px; max-width: 1240px; margin: 0 auto; }

@media (min-width: 1024px) {
  .sidebar { transform: none; }
  .scrim, .topbar .menu-btn { display: none; }
  .main { margin-left: var(--sidebar); }
  .topbar { padding: 0 32px; }
  .content { padding: 28px 32px 72px; }
  .who-text { display: block; }
}

/* ---------- Page header ---------- */
.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 22px; }
.page-head h1 { font-size: 24px; font-weight: 650; }
.page-head p { margin: 4px 0 0; color: var(--ink-2); }
.page-head .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs { font-size: 13px; color: var(--ink-3); margin-bottom: 6px; display: flex; gap: 6px; align-items: center; }
.crumbs a { color: var(--ink-3); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid transparent; font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--pine-500); color: #fff; }
.btn-primary:hover { background: var(--pine-600); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: #BFC9C4; background: #FAFBFA; }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--grey-bg); color: var(--ink); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #971D14; }
.btn-danger-quiet { background: transparent; color: var(--red); border-color: transparent; }
.btn-danger-quiet:hover { background: var(--red-bg); }
.btn-sm { min-height: 32px; padding: 0 11px; font-size: 13.5px; border-radius: 7px; }
.btn-icon { width: 40px; padding: 0; }
.btn-sm.btn-icon { width: 32px; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }

/* ---------- Panels ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.panel-head h2 { font-size: 16px; font-weight: 650; }
.panel-head p { margin: 2px 0 0; color: var(--ink-3); font-size: 13.5px; }
.panel-body { padding: 20px; }
.panel-foot { padding: 14px 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; gap: 8px; background: #FAFBFA; border-radius: 0 0 var(--r-lg) var(--r-lg); }
.panel-link { font-size: 13.5px; font-weight: 600; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid > .full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.field .optional { font-weight: 400; color: var(--ink-3); }
.input, .select, .textarea { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid #CAD3CF; border-radius: 8px; background: #fff; font: inherit; font-size: 15px; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
.select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2344514C' stroke-width='1.6'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--pine-500); box-shadow: 0 0 0 3px rgba(46,125,94,.16); }
.is-invalid .input, .is-invalid .select, .is-invalid .textarea, .input.is-invalid { border-color: var(--red); }
.help { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }
.error { margin: 6px 0 0; font-size: 13px; color: var(--red); font-weight: 500; }
.toggle { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle .track { flex: none; width: 40px; height: 24px; border-radius: 12px; background: #C3CCC8; position: relative; transition: background .15s; margin-top: 1px; }
.toggle .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .15s; }
.toggle input:checked + .track { background: var(--pine-500); }
.toggle input:checked + .track::after { transform: translateX(16px); }
.toggle input:focus-visible + .track { outline: 2px solid var(--pine-500); outline-offset: 2px; }
.toggle .t-label { font-weight: 600; font-size: 14px; }
.toggle .help { margin-top: 2px; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 70px; }
.pw-wrap button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; font: inherit; font-size: 13px; font-weight: 600; color: var(--pine-600); cursor: pointer; padding: 6px 8px; }

.image-field { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.image-preview { width: 112px; height: 80px; border: 1px dashed #BFC9C4; border-radius: 10px; display: grid; place-items: center; background: repeating-conic-gradient(#F1F3F2 0 25%, #fff 0 50%) 0 0 / 14px 14px; overflow: hidden; color: var(--ink-3); flex: none; }
.image-preview.dark { background: var(--pine-950); border-color: var(--pine-800); }
.image-preview img { max-width: 92%; max-height: 88%; object-fit: contain; }
.image-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.file-btn { position: relative; overflow: hidden; }
.file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--red); }

/* ---------- Settings layout ---------- */
.settings-layout { display: grid; gap: 18px; }
.settings-nav { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.settings-nav a { display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: 14.5px; white-space: nowrap; border: 1px solid var(--line); background: var(--surface); }
.settings-nav a:hover { text-decoration: none; color: var(--ink); }
.settings-nav a.is-active { background: var(--pine-50); color: var(--pine-700); border-color: var(--pine-100); font-weight: 600; }
@media (min-width: 900px) {
  .settings-layout { grid-template-columns: 220px 1fr; align-items: start; gap: 28px; }
  .settings-nav { flex-direction: column; position: sticky; top: 84px; }
  .settings-nav a { border-color: transparent; background: transparent; }
}
.save-bar { position: sticky; bottom: 0; z-index: 10; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-weight: 600; font-size: 13px; color: var(--ink-3); padding: 11px 20px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 13px 20px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #FAFBFA; }
.table .right { text-align: right; }
.table .muted { color: var(--ink-3); font-size: 13.5px; }
.table .row-actions { display: flex; gap: 4px; justify-content: flex-end; }
@media (max-width: 719px) {
  .table.stack thead { display: none; }
  .table.stack, .table.stack tbody, .table.stack tr, .table.stack td { display: block; width: 100%; }
  .table.stack tr { padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
  .table.stack tr:last-child { border-bottom: 0; }
  .table.stack td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; }
  .table.stack td[data-label]::before { content: attr(data-label); color: var(--ink-3); font-size: 13px; }
  .table.stack td.primary-cell { font-size: 15.5px; }
  .table.stack .row-actions { justify-content: flex-start; margin-top: 6px; }
}

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 99px; font-size: 12.5px; font-weight: 600; line-height: 20px; white-space: nowrap; background: var(--grey-bg); color: var(--ink-2); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge.plain::before { display: none; }
.b-pending { background: var(--amber-bg); color: var(--amber); }
.b-confirmed, .b-processing { background: var(--blue-bg); color: var(--blue); }
.b-shipped { background: #EEEAFB; color: #5A3FB0; }
.b-delivered, .b-active, .b-paid { background: var(--green-bg); color: var(--green); }
.b-cancelled, .b-failed, .b-inactive { background: var(--red-bg); color: var(--red); }
.b-refunded, .b-unpaid { background: var(--grey-bg); color: var(--ink-2); }

/* ---------- Dashboard ---------- */
.dash-hero { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 1100px) { .dash-hero { grid-template-columns: 1.7fr 1fr; } }
.sales-card { padding: 22px 22px 14px; }
.sales-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: flex-start; }
.sales-figure { font-size: clamp(30px, 5vw, 42px); font-weight: 700; letter-spacing: -.02em; line-height: 1.05; margin-top: 4px; }
.sales-sub { color: var(--ink-3); font-size: 14px; margin-top: 6px; }
.trend { font-weight: 600; }
.trend.up { color: var(--green); } .trend.down { color: var(--red); }
.range { display: inline-flex; background: var(--canvas); border-radius: 8px; padding: 3px; }
.range a { padding: 5px 11px; border-radius: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.range a:hover { text-decoration: none; color: var(--ink); }
.range a.is-active { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.chart { margin-top: 18px; height: 180px; display: flex; align-items: flex-end; gap: 2px; position: relative; }
.chart .bar { flex: 1; min-width: 2px; background: var(--pine-100); border-radius: 3px 3px 0 0; position: relative; min-height: 2px; }
.chart .bar.has { background: var(--pine-500); }
.chart .bar:hover { background: var(--pine-700); }
.chart .bar .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--pine-950); color: #fff; font-size: 12px; padding: 6px 9px; border-radius: 6px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .1s; z-index: 2; line-height: 1.35; }
.chart .bar:hover .tip, .chart .bar:focus .tip { opacity: 1; }
.chart-axis { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-3); margin-top: 8px; }

.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line-2); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.kpi { background: var(--surface); padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.kpi a { color: inherit; }
.kpi .k-label { font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 7px; }
.kpi .k-value { font-size: clamp(19px, 5.4vw, 26px); white-space: nowrap; font-weight: 650; letter-spacing: -.01em; }
.kpi.warn .k-value { color: var(--amber); }
.kpi.warn .k-label .icon { color: var(--amber); }

.dash-grid { display: grid; gap: 18px; }
@media (min-width: 1100px) { .dash-grid { grid-template-columns: 1.7fr 1fr; align-items: start; } }
.status-bars { display: grid; gap: 12px; }
.status-row { display: grid; grid-template-columns: 96px 1fr 36px; align-items: center; gap: 12px; font-size: 14px; }
.status-row .track { display: block; height: 8px; border-radius: 4px; background: var(--grey-bg); overflow: hidden; }
.status-row .fill { display: block; height: 100%; border-radius: 4px; background: var(--pine-500); }
.status-row .n { text-align: right; font-weight: 600; }

.feed { list-style: none; margin: 0; padding: 0; }
.feed li { display: flex; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.feed li:last-child { border-bottom: 0; }
.feed .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pine-500); margin-top: 7px; flex: none; }
.feed small { display: block; color: var(--ink-3); font-size: 12.5px; }

/* ---------- Empty states ---------- */
.empty { text-align: center; padding: 36px 24px; color: var(--ink-2); }
.empty .icon { color: var(--ink-3); margin: 0 auto 10px; }
.empty h3 { font-size: 15.5px; margin-bottom: 4px; color: var(--ink); }
.empty p { margin: 0 auto; max-width: 42ch; font-size: 14px; }
.empty .btn { margin-top: 14px; }

/* ---------- Alerts, toasts, dialogs ---------- */
.alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); font-size: 14px; margin-bottom: 16px; }
.alert-error { background: var(--red-bg); color: var(--red); }
.alert-success { background: var(--green-bg); color: var(--green); }
.alert-info { background: var(--blue-bg); color: var(--blue); }
.toasts { position: fixed; z-index: 100; right: 16px; left: 16px; bottom: 16px; display: grid; gap: 8px; justify-items: end; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; max-width: 420px; padding: 12px 14px 12px 16px; border-radius: 10px; background: var(--pine-950); color: #fff; font-size: 14.5px; box-shadow: var(--shadow-pop); animation: toast-in .22s ease-out; }
.toast.error { background: #7A1A12; }
.toast .icon { color: #8EE0B6; }
.toast.error .icon { color: #FFB4AB; }
.toast button { margin-left: 6px; background: none; border: 0; color: rgba(255,255,255,.7); cursor: pointer; padding: 2px; display: grid; }
.toast.leaving { opacity: 0; transform: translateY(6px); transition: all .2s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

dialog.confirm { border: 0; border-radius: var(--r-lg); padding: 0; width: min(420px, calc(100vw - 32px)); box-shadow: var(--shadow-pop); color: var(--ink); }
dialog.confirm::backdrop { background: rgba(11,34,28,.5); }
dialog.confirm .d-body { padding: 22px 22px 8px; }
dialog.confirm h2 { font-size: 17px; margin-bottom: 6px; }
dialog.confirm p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
dialog.confirm .d-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 18px 22px 20px; }

/* ---------- Pagination ---------- */
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line-2); font-size: 13.5px; color: var(--ink-3); }
.pager .btns { display: flex; gap: 6px; }

/* ---------- Auth & install screens ---------- */
.auth-page { min-height: 100vh; display: grid; background: var(--pine-900); }
@media (min-width: 900px) { .auth-page { grid-template-columns: 1fr 520px; } }
.auth-aside { display: none; padding: 48px; color: #CFE0D8; position: relative; overflow: hidden; }
@media (min-width: 900px) { .auth-aside { display: flex; flex-direction: column; justify-content: space-between; } }
.auth-aside h2 { font-size: 40px; line-height: 1.1; color: #fff; font-weight: 650; max-width: 14ch; letter-spacing: -.02em; }
.auth-aside p { max-width: 42ch; color: #9FBFB2; }
.auth-aside .grid-mark { position: absolute; right: -60px; bottom: -60px; width: 420px; height: 420px; opacity: .5; }
.auth-card { background: var(--surface); padding: 40px 24px; display: flex; flex-direction: column; justify-content: center; }
@media (min-width: 560px) { .auth-card { padding: 56px 64px; } }
.auth-card h1 { font-size: 26px; font-weight: 650; margin-bottom: 6px; }
.auth-card .lead { color: var(--ink-2); margin: 0 0 26px; }
.auth-card .brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 36px; font-weight: 600; }
.auth-card .brand-row .mark { width: 34px; height: 34px; border-radius: 8px; background: var(--pine-500); color: #fff; display: grid; place-items: center; font-weight: 700; overflow: hidden; }
.auth-card .brand-row .mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.stack-sm { display: grid; gap: 16px; }

.install { max-width: 760px; margin: 0 auto; padding: 32px 16px 80px; }
.install h1 { font-size: 28px; margin-bottom: 6px; }
.req-list { list-style: none; padding: 0; margin: 0; }
.req-list li { display: flex; align-items: center; gap: 12px; padding: 11px 20px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.req-list li:last-child { border-bottom: 0; }
.req-list .ok { color: var(--green); } .req-list .bad { color: var(--red); }
.req-list small { color: var(--ink-3); margin-left: auto; text-align: right; }
.fieldset-title { font-size: 15px; font-weight: 650; margin: 0 0 4px; }
.divider { height: 1px; background: var(--line-2); margin: 24px 0; }

.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.error-page .code { font-size: 64px; font-weight: 700; color: var(--pine-500); letter-spacing: -.03em; line-height: 1; }
.error-page p { color: var(--ink-2); margin: 10px 0 20px; }

/* Labels that are controls, not captions (beat `.field label`) */
.field label.btn { display: inline-flex; margin: 0; }
.field label.toggle { display: flex; margin: 0; font-weight: 400; }
.field label.check { display: inline-flex; margin: 0; font-weight: 400; }
