@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/assets/fonts/ibm-plex-mono.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('/assets/fonts/manrope.ttf') format('truetype');
  font-weight: 200 800;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: #11110f;
  --raised: #1a1917;
  --line: #ffffff12;
  --line-strong: #ffffff24;
  --ink: #f1ede6;
  --muted: #aaa49b;
  --accent: #ff946e;
  --green: #95d5ba;
  --red: #f5a0a6;
  --glass: linear-gradient(125deg, #fff0dd06, #fff0dd01), #11110fdd;
  --shadow: 0 1px 0 #ffffff08 inset, 0 12px 32px #00000018;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --mono: 'IBM Plex Mono', 'Cascadia Code', Consolas, monospace;
  font-family: Manrope, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-synthesis: none;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 40px; scrollbar-gutter: stable; }
body {
  margin: 0;
  background: var(--bg);
}
::selection { background: #c4c1bd40; color: #fff; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p, dl, figure { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { font-size: 36px; font-weight: 600; line-height: 1.2; letter-spacing: -.045em; }
h2 { font-size: 20px; font-weight: 600; letter-spacing: -.025em; line-height: 1.35; }
h3 { font-size: 15px; font-weight: 650; line-height: 1.5; }
p { color: var(--muted); text-wrap: pretty; }
svg { width: 18px; height: 18px; flex-shrink: 0; vertical-align: middle; }
img { max-width: 100%; }
pre, code { font-family: var(--mono); }
pre {
  padding: 18px; background: #080b10; border: 1px solid var(--line);
  border-radius: 10px; font-size: 12px; line-height: 1.85;
  white-space: pre-wrap; overflow-wrap: anywhere; overflow: auto; color: #d4d1cd;
}
code { font-size: .9em; overflow-wrap: anywhere; }
label { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 600; }
input, select, textarea {
  width: 100%; min-width: 0; padding: 12px 14px; min-height: 46px;
  border: 1px solid var(--line-strong); border-radius: 5px;
  background: #0c0b0a; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
input:hover, select:hover, textarea:hover { border-color: #797672; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #d8d5d112; }
textarea { min-height: 100px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #85827e; }
form, .stack { display: grid; gap: 22px; }
fieldset { border: 0; margin: 0; padding: 0; }
summary { cursor: pointer; color: var(--accent); font-size: 13px; }
progress { accent-color: var(--accent); }
.muted { color: var(--muted); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow { font-family: var(--mono); font-size: 10px; letter-spacing: .13em; font-weight: 600; color: var(--muted); }
.field-help { font-size: 12px; margin-top: 10px; line-height: 1.7; }
.spaced { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.skip-link { position: fixed; top: 12px; left: 16px; padding: 12px 18px; color: var(--bg); background: var(--accent); z-index: 100; border-radius: 5px; clip-path: inset(50%); }
.skip-link:focus { clip-path: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 11px 18px; border: 1px solid var(--line-strong); border-radius: 5px;
  background: #ffffff05; color: var(--ink); font-weight: 600; font-size: 13px; line-height: 1.5;
  box-shadow: 0 1px 0 #ffffff08 inset;
  transition: background .2s, border-color .2s, box-shadow .2s, scale .15s var(--ease);
}
.btn:hover { background: #ffffff0e; border-color: #ffffff3a; box-shadow: 0 1px 0 #ffffff0d inset, 0 3px 18px #0002; }
.btn:active:not(:disabled) { scale: .96; }
.btn.primary { background: #ff946e; border-color: #ffae8b; color: #201109; box-shadow: 0 1px 0 #ffd3b94d inset, 0 4px 16px #0003; }
.btn.primary:hover { background: #ffad8a; border-color: #ffc6a7; box-shadow: 0 0 24px #ff946e15; }
.btn.subtle { background: transparent; }
.btn.danger { color: var(--red); }
.btn.small { min-height: 40px; padding: 8px 12px; font-size: 12px; }
.btn.icon { padding: 11px; }
.btn svg, .text-link svg { transition: transform .25s var(--ease); }
.btn:hover svg:last-child, .text-link:hover svg:last-child { transform: translateX(3px); }
.text-link, .inline-link { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; font-size: 13px; font-weight: 600; color: var(--accent); }
.text-link:hover, .inline-link:hover { color: #fff; }
.tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; background: #ffffff04; border: 1px solid var(--line); border-radius: 6px; color: #c0bdb9; font: 10px/1.5 var(--mono); }
.tag svg { width: 13px; height: 13px; }
.status { display: inline-flex; align-items: center; gap: 7px; padding: 5px 10px; border-radius: 6px; background: #ffffff07; font-size: 11px; font-weight: 600; white-space: nowrap; }
.status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.ready, .status.succeeded { background: #77cda612; color: var(--green); }
.status.queued, .status.provisioning, .status.running, .status.resetting, .status.releasing { background: #e4b56612; color: #e3c38f; }
.status.failed, .status.error, .status.revoked { background: #ed889012; color: var(--red); }
.status.released, .status.offline { color: #aeaba7; }
.notice, .error { padding: 15px 18px; border-radius: 5px; border: 1px solid #e3ba782b; background: #e3ba7809; color: #dbc496; font-size: 13px; }
.error { background: #f08d980b; border-color: #f08d982b; color: #ffabb4; }
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; font-weight: 650; font-size: 25px; line-height: 1; letter-spacing: -.05em; }
.brand-mark { width: 32px; height: 35px; display: block; }

/* The workspace uses the same surfaces with a compact, readable information scale. */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 100vh; background: radial-gradient(ellipse 70% 440px at 80% 0, #322f2b27, transparent 90%); }
.sidebar { padding: 32px 18px 22px; border-right: 1px solid var(--line); background: #0e0d0cdd; backdrop-filter: blur(18px); display: flex; flex-direction: column; position: sticky; top: 0; height: 100dvh; }
.sidebar .brand { margin: 0 13px 33px; font-size: 24px; }
.workspace-label { margin: 0 3px 30px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: #ffffff02; min-width: 0; }
.workspace-label strong { display: block; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.workspace-label span { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; }
.nav-label { padding-left: 14px; margin-bottom: 12px; font-size: 10px; }
.sidebar nav { display: grid; gap: 5px; }
.nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 44px; border-radius: 5px; font-size: 13px; color: #aba8a4; font-weight: 500; transition: background .18s, color .18s; }
.nav-item:hover { background: #ffffff05; color: #f8f5f1; }
.nav-item.active { color: #ffc2a5; background: linear-gradient(90deg, #ff946e12, #ff946e03); box-shadow: 2px 0 0 #ff946e inset; }
.nav-item svg { width: 17px; height: 17px; color: #aaa7a3; }
.sidebar-bottom { margin-top: auto; padding-top: 30px; }
.account { display: flex; gap: 10px; align-items: center; padding: 20px 3px 0; margin-top: 15px; border-top: 1px solid var(--line); }
.avatar { width: 34px; height: 34px; border-radius: 10px; background: #c6c3bf14; color: #d0cdc9; display: grid; place-items: center; font-size: 11px; font-weight: 600; }
.account-details { flex: 1; min-width: 0; }
.account-details strong { font-size: 11px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 550; }
.account-details span { display: block; font-size: 10px; color: var(--muted); }
.account button, .modal-close { display: grid; place-items: center; min-width: 40px; min-height: 40px; background: transparent; border: 0; border-radius: 5px; color: #aeaba7; }
.account button:hover, .modal-close:hover { background: #ffffff08; color: #fff; }
.workspace-main { min-width: 0; }
.topbar { position: relative; height: 74px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 40px; font-size: 12px; background: #0c10168c; backdrop-filter: blur(18px); }
.topbar::after { content: ''; position: absolute; inset: auto 0 -1px; height: 1px; background: linear-gradient(90deg, transparent, #ffb58bcc, transparent); opacity: 0; transition: opacity .16s; }
.is-navigating .topbar::after { opacity: 1; animation: workspace-loading 1.4s ease-in-out infinite; }
@keyframes workspace-loading { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.breadcrumb { display: flex; align-items: center; gap: 14px; color: #93908c; }
.breadcrumb span:last-child { color: #d7d4d0; }
.workspace-stage { position: relative; min-height: calc(100dvh - 74px); }
.content { width: 100%; max-width: 1450px; margin: auto; padding: 42px 40px 60px; }
.workspace-outgoing { position: absolute; inset: 0 0 auto; pointer-events: none; }
.content:focus, .content h1[tabindex="-1"]:focus { outline: none; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 32px; }
.page-head h1 { margin: 10px 0 12px; }
.page-head p { font-size: 14px; }
.page-head .eyebrow { font-size: 10px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 28px; }
.stat { background: var(--glass); border: 1px solid var(--line); border-radius: 7px; padding: 26px; min-width: 0; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 34px; font-weight: 550; line-height: 1.3; margin: 17px 0 10px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stat strong small { font-size: 13px; color: #a3a09c; font-weight: 450; letter-spacing: 0; margin-left: 10px; }
.stat .eyebrow { font-size: 12px; letter-spacing: 0; font-weight: 500; }
.stat p { font-size: 12px; }
.panel { background: var(--glass); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; min-width: 0; box-shadow: var(--shadow); }
.panel-head { padding: 21px 25px; display: flex; justify-content: space-between; align-items: center; gap: 15px; border-bottom: 1px solid var(--line); }
.panel-head h2 { font-size: 15px; letter-spacing: -.015em; }
.panel-head > svg { color: #a9a6a2; width: 17px; }
.panel-body { padding: 25px; overflow-wrap: anywhere; }
.panel-body p { font-size: 13px; line-height: 1.85; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th { background: #ffffff02; color: #aaa7a3; font-size: 11px; font-weight: 550; }
th, td { padding: 17px 24px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { font-size: 13px; font-variant-numeric: tabular-nums; }
td small { display: block; font: 10px var(--mono); color: #9e9b97; margin-top: 5px; }
tr:last-child td { border-bottom: 0; }
td a:not(.btn) { font-weight: 600; }
td a:not(.btn):hover { color: var(--accent); text-decoration: underline; }
.hash { max-width: 210px; overflow: hidden; text-overflow: ellipsis; font: 11px var(--mono); color: #b1aeaa; }
.empty { padding: 62px 24px; text-align: center; }
.empty-icon { width: 52px; height: 52px; margin: 0 auto 21px; display: grid; place-items: center; background: linear-gradient(145deg, #cecbc712, #cecbc702); border: 1px solid #d8d5d11a; border-radius: 14px; color: #b7b4b0; }
.empty-icon svg { width: 23px; height: 23px; }
.empty h3 { font-size: 17px; margin-bottom: 9px; font-weight: 550; }
.empty p { font-size: 13px; max-width: 360px; margin: 0 auto 23px; }
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 23px; }
.below { margin-top: 25px; }
.resource-line { display: flex; gap: 24px; color: var(--muted); font: 11px var(--mono); margin: 14px 0 20px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; }
.detail-side { display: grid; gap: 20px; align-content: start; }
.screen-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 17px; background: #ffffff02; border-bottom: 1px solid var(--line); font: 11px var(--mono); }
.screen-dots { display: flex; gap: 5px; }
.screen-dots i { width: 6px; height: 6px; border-radius: 50%; background: #777470; }
.screen { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; background: radial-gradient(ellipse at center, #272420, #090d13); overflow: hidden; }
.screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.screen .waiting { padding: 32px; max-width: 420px; text-align: center; }
.waiting svg { width: 32px; height: 32px; color: #aca9a5; margin-bottom: 16px; }
.waiting h3 { color: #ebe8e4; margin-bottom: 9px; }
.waiting p { color: #afaca8; font-size: 13px; }
.screen-footer { display: flex; justify-content: space-between; gap: 15px; padding: 12px 16px; font: 10px var(--mono); color: #aaa7a3; border-top: 1px solid var(--line); }
.meta-list { display: grid; gap: 16px; padding: 21px; font-size: 12px; }
.meta-list div { display: flex; justify-content: space-between; gap: 16px; }
.meta-list dt { color: var(--muted); }
.meta-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.cap-list { padding: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-list { list-style: none; padding: 0; margin: 12px 0; }
.tool-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.tool-list span { color: var(--muted); font-family: var(--mono); }
.events { padding: 0 20px; max-height: 300px; overflow: auto; }
.event { display: grid; grid-template-columns: 6px 1fr; gap: 13px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.event::before { content: ''; margin-top: 7px; width: 5px; height: 5px; border-radius: 50%; background: #9a9793; }
.event p { font-size: 12px; color: #d9d6d2; }
.event time { font: 10px var(--mono); color: var(--muted); }
.job-row { padding: 19px 24px; border-bottom: 1px solid var(--line); display: flex; gap: 18px; justify-content: space-between; align-items: center; }
.job-row > div:first-child { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.job-row:last-child { border-bottom: 0; }
.job-row strong { font-size: 13px; font-weight: 550; }
.job-row small { font-size: 11px; color: var(--muted); display: block; margin-top: 5px; }
.job-result { margin: 0; border: 0; border-radius: 0; max-height: 320px; }
.toolbar { padding: 16px; display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.steps { counter-reset: step; display: grid; gap: 24px; }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 16px; }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font: 12px var(--mono); color: var(--accent); padding-top: 4px; }
.step h3 { margin-bottom: 6px; }
.step p { font-size: 13px; }
.steps code { display: block; margin-top: 10px; }

/* Accounts and dialogs */
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-story { padding: 46px 60px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); background: radial-gradient(ellipse at 50% 55%, #afaca818, transparent 75%), #14110d; overflow: hidden; }
.auth-story > div { padding: 55px 0 35px; position: relative; }
.auth-story h1 { font-size: clamp(40px, 4vw, 64px); font-weight: 550; letter-spacing: -.055em; line-height: 1.13; margin-top: 27px; }
.auth-story h1 span { color: var(--accent); }
.auth-story p { font-size: 14px; margin-top: 25px; }
.auth-story > .eyebrow { font-size: 10px; color: #a29f9b; }
.auth-visual { margin-top: 50px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding: 20px 24px 20px 30px; border-left: 1px solid #e3ad7624; }
.auth-visual img { width: 180px; height: 180px; transform: rotate(-10deg); opacity: .85; filter: drop-shadow(0 0 55px #ff895322); }
.auth-visual span { color: #b29d83; font: 9px/1.7 var(--mono); letter-spacing: .1em; }
.auth-form { display: grid; place-items: center; padding: 55px 36px; background: #0c0b0aaa; }
.auth-card { width: 100%; max-width: 390px; }
.auth-symbol { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 7px; background: linear-gradient(145deg, #dfdcd818, #dfdcd804); border: 1px solid #d8d5d124; color: #cfccc8; margin-bottom: 30px; }
.auth-symbol svg { width: 22px; height: 22px; }
.auth-card h1 { font-size: 31px; margin-bottom: 12px; letter-spacing: -.04em; }
.auth-card > p { font-size: 14px; line-height: 1.85; }
.auth-card form { margin-top: 32px; }
.auth-card .auth-switch { margin-top: 28px; text-align: center; font-size: 12px; }
.auth-switch button { border: 0; padding: 10px 2px; background: none; color: var(--accent); font-size: inherit; font-weight: 600; }
.client-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.client-card { padding: 25px; display: flex; flex-direction: column; align-items: start; }
.client-card > p { font-size: 13px; margin: 21px 0 4px; }
.client-card > pre { width: 100%; flex: 1; font-size: 11px; padding: 14px; margin: 17px 0; }
.client-heading { display: flex; align-items: center; gap: 13px; }
.client-heading h2 { font-size: 16px; }
.client-mark { display: grid; place-items: center; width: 40px; height: 40px; background: #cecbc70b; border: 1px solid #dcd9d51a; border-radius: 11px; font-size: 22px; color: #cac7c3; }
.guide-instruction { padding: 17px; background: #100d09; border: 1px solid var(--line); border-radius: 5px; margin: 19px 0; color: #cdcac6; font-size: 12px; }
.settings-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.settings-feature { display: flex; gap: 18px; margin: 29px 0; align-items: center; }
.settings-feature > svg { width: 30px; height: 30px; color: #c0bdb9; }
.settings-feature p { font-size: 12px; margin-top: 5px; }
.storage-number { font-size: 25px; font-weight: 550; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.storage-number span { font-size: 14px; font-weight: 450; color: #a9a6a2; }
.storage-progress { width: 100%; height: 5px; margin: 20px 0 3px; border: 0; border-radius: 6px; overflow: hidden; }
.storage-progress::-webkit-progress-bar { background: #ffffff0b; }
.storage-progress::-webkit-progress-value { background: #cecbc7; }
.storage-progress::-moz-progress-bar { background: #cecbc7; }
.settings-layout .text-link { margin-top: 17px; }
.auth-qr { width: 205px; height: 205px; margin: 0 auto; background: white; border-radius: 5px; }
.recovery-codes { display: grid; gap: 12px; padding: 22px 16px; margin: 22px 0; border: 1px solid #d5d2ce24; border-radius: 5px; background: #14110d; text-align: center; }
.recovery-codes code { font-size: 12px; color: #dad7d3; }
.consent-layout { max-width: 550px; margin: 55px auto; padding: 0 22px; }
.consent-layout > .brand { margin: 0 0 33px; }
.consent-card { padding: 34px; }
.consent-card h1 { font-size: 29px; margin: 14px 0; }
.consent-card p { font-size: 13px; line-height: 1.85; }
.consent-card .auth-symbol { margin-bottom: 27px; }
.consent-permissions { display: grid; gap: 16px; padding: 25px 0; }
.consent-permissions p { display: flex; align-items: center; gap: 12px; }
.consent-permissions svg { color: #cbc8c4; }
.consent-account { padding: 18px; border-radius: 5px; background: #100d09; border: 1px solid var(--line); margin-bottom: 14px; overflow-wrap: anywhere; }
.consent-account strong, .consent-account span { display: block; font-size: 12px; }
.consent-account span { color: #b3b0ac; }
.consent-card form { margin-top: 25px; }
.consent-card .field-help { font-size: 11px; }
dialog { color: var(--ink); background: linear-gradient(140deg, #25221eea, #181511ee); backdrop-filter: blur(22px); border: 1px solid #e6e3df29; border-radius: 18px; padding: 0; width: min(540px, calc(100% - 32px)); max-height: 90dvh; box-shadow: 0 1px 0 #ffffff0d inset, 0 35px 100px #0008; }
dialog::backdrop { background: #02050bb0; backdrop-filter: blur(6px); }
.modal-head { padding: 21px 25px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 18px; }
.modal-body { padding: 27px; min-width: 0; overflow-wrap: anywhere; }
.modal-body .spaced { flex-wrap: wrap; }
.modal-body p { font-size: 13px; }
.modal-body .notice { margin-bottom: 20px; }
.secret-output { padding: 17px; background: #15120e; border: 1px solid #d5d2ce29; border-radius: 5px; font: 12px/1.8 var(--mono); overflow-wrap: anywhere; margin: 17px 0; color: #d6d3cf; }
#toasts { position: fixed; right: 24px; bottom: 24px; z-index: 200; display: grid; gap: 10px; max-width: min(440px, calc(100% - 48px)); }
.toast { padding: 16px 20px; background: #14231ded; backdrop-filter: blur(15px); border: 1px solid #9bcfb533; border-radius: 11px; color: #c0e3d2; box-shadow: 0 10px 35px #0004; font-size: 13px; }
.toast.failure { background: #2d1920ee; border-color: #e9a8b140; color: #fac0c7; }
.mobile-menu { display: none; }
.loading { padding: 75px 24px; text-align: center; color: var(--muted); font-size: 14px; }
.admin-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-stats .stat strong { font-size: 29px; }
.admin-summary { grid-template-columns: 1.3fr 1fr; }
.deployment-path { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.deployment-path > span { display: grid; grid-template-columns: 20px 1fr; gap: 4px 10px; font-size: 14px; }
.deployment-path small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; margin-top: 5px; }
.deployment-path svg { color: #b8b5b1; }
.billing-empty { display: flex; align-items: start; gap: 18px; padding-block: 8px; }
.billing-empty > svg { width: 25px; height: 25px; color: #aca9a5; margin-top: 3px; }
.billing-empty h3 { margin-bottom: 10px; }
.admin-configuration > summary { padding: 19px 0; border-bottom: 1px solid var(--line); list-style: none; display: flex; gap: 15px; align-items: center; justify-content: space-between; }
.admin-configuration > summary::-webkit-details-marker { display: none; }
.admin-configuration[open] > summary svg { rotate: 45deg; }

/* Motion is finite and selective. All content remains available without it. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .reveal-pending { opacity: 0; transform: translateY(20px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
  .reveal-pending.is-visible, .reveal-pending:focus-within { opacity: 1; transform: none; }
  dialog[open], .toast { animation: arrive .25s var(--ease) both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1150px) {
  .shell { grid-template-columns: 210px minmax(0, 1fr); }
  .sidebar { padding-inline: 12px; }
  .content { padding: 32px 26px; }
  .topbar { padding-inline: 26px; }
  .detail-grid, .settings-layout { grid-template-columns: 1fr; }
  .detail-side { grid-template-columns: 1fr 1fr; }
  .client-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { gap: 13px; }
  .stat { padding: 21px; }
  .auth-story { padding-inline: 38px; }
}
@media (max-width: 760px) {
  h1 { font-size: 30px; }
  .shell { display: block; }
  .sidebar { display: flex; position: fixed; width: 245px; top: 62px; height: calc(100dvh - 62px); z-index: 30; visibility: hidden; transform: translateX(-100%); background: #12110ff5; box-shadow: 20px 0 60px #0006; transition: transform .25s var(--ease), visibility .25s; }
  .sidebar.open { visibility: visible; transform: none; }
  .mobile-menu { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 5px; background: none; color: var(--accent); padding: 8px; margin-left: -8px; }
  .topbar { height: 62px; padding-inline: 22px; position: sticky; top: 0; z-index: 31; }
  .workspace-stage { min-height: calc(100dvh - 62px); }
  .topbar > .tag { display: none; }
  .content { padding: 30px 19px 40px; }
  .page-head { align-items: start; flex-direction: column; gap: 20px; margin-bottom: 26px; }
  .page-head p { font-size: 13px; }
  .stats { gap: 10px; grid-template-columns: 1fr; }
  .stat { display: grid; grid-template-columns: 1fr auto; padding: 19px; align-items: center; column-gap: 15px; }
  .stat strong { grid-column: 2; grid-row: 1 / 3; font-size: 29px; margin: 0; }
  .stat strong small { display: block; margin: 2px 0 0; font-size: 11px; }
  .stat p { font-size: 11px; margin-top: 4px; }
  .stat .eyebrow { font-size: 12px; }
  .panel-head { padding: 19px; flex-wrap: wrap; }
  .panel-body { padding: 21px; }
  .panel-head .btn { font-size: 11px; padding: 8px 10px; }
  .empty { padding: 39px 22px; }
  .empty h3 { font-size: 16px; }
  .empty p { font-size: 13px; }
  th, td { padding: 15px 18px; }
  .detail-side, .form-row { grid-template-columns: 1fr; }
  .screen { aspect-ratio: 4 / 3; }
  .screen-footer { font-size: 9px; }
  .resource-line { flex-wrap: wrap; gap: 10px 18px; }
  .screen-bar { font-size: 10px; }
  .auth-layout { display: block; }
  .auth-story { padding: 25px; border: 0; background: transparent; }
  .auth-story > div, .auth-story > .eyebrow { display: none; }
  .auth-form { padding: 35px 25px 60px; min-height: calc(100dvh - 85px); align-items: start; background: transparent; }
  .auth-card h1 { font-size: 29px; }
  .client-card { padding: 23px; }
  .job-row { padding: 17px 19px; gap: 12px; }
  .job-row small { font-size: 10px; }
  .consent-layout { margin-top: 28px; }
  .consent-card { padding: 26px; }
  .consent-card h1 { font-size: 25px; }
  .modal-body { padding: 24px; }
  .recovery-codes code { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
.google-button { width:100%; justify-content:center; background:#f2f2f2; color:#1f1f1f; border:1px solid #747775; font-weight:500; }
.google-button:hover { background:#fff; color:#1f1f1f; }
.google-letter { display:inline-grid; place-items:center; flex-shrink:0; width:24px; height:24px; font-weight:700; font-size:20px; }
.auth-divider { display:flex; align-items:center; gap:12px; color:var(--muted); font-size:12px; }
.auth-divider::before, .auth-divider::after { content:''; height:1px; background:var(--line); flex:1; }
.inspection-output { max-height:520px; overflow:auto; font-size:12px; white-space:pre-wrap; overflow-wrap:anywhere; }
.billing-plans { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:20px; }
