:root {
  --ink: #10203d;
  --ink-soft: #5f6e88;
  --navy: #0b1630;
  --blue: #3769f6;
  --blue-deep: #2753d7;
  --cyan: #35c6d3;
  --mint: #53d6a4;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-solid: #ffffff;
  --line: #e5eaf2;
  --line-strong: #d6ddea;
  --canvas: #f5f7fb;
  --danger: #c2415b;
  --success: #16855f;
  --shadow: 0 18px 55px rgba(28, 48, 88, 0.09);
  --shadow-soft: 0 8px 24px rgba(28, 48, 88, 0.06);
  --radius: 22px;
  --radius-small: 13px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--canvas);
}

* { box-sizing: border-box; }
html { min-height: 100%; scroll-behavior: smooth; }
body { min-height: 100vh; margin: 0; background: linear-gradient(180deg, #f9fbff 0, var(--canvas) 42%, #f7f9fc 100%); color: var(--ink); overflow-x: hidden; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
code, pre { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }

.ambient { position: fixed; z-index: -1; border-radius: 999px; filter: blur(2px); pointer-events: none; opacity: .7; }
.ambient-one { width: 520px; height: 520px; right: -250px; top: -260px; background: radial-gradient(circle, rgba(72, 123, 255, .16), transparent 68%); }
.ambient-two { width: 420px; height: 420px; left: -240px; top: 48%; background: radial-gradient(circle, rgba(53, 198, 211, .11), transparent 70%); }

.site-header { width: min(1180px, calc(100% - 48px)); height: 92px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg, #122754, #3769f6); box-shadow: 0 9px 22px rgba(55, 105, 246, .25); transform: rotate(-3deg); }
.brand-mark span { width: 15px; height: 19px; border: 2px solid white; border-left-width: 5px; border-radius: 4px 9px 9px 4px; transform: skewY(-8deg); }
.brand strong { display: block; font-size: 15px; letter-spacing: .015em; }
.brand small { display: block; margin-top: 2px; color: #7b879d; font-size: 10px; letter-spacing: .08em; }
.top-actions { display: flex; align-items: center; gap: 13px; }
.top-actions form { margin: 0; }
.account-name { font-size: 13px; font-weight: 650; color: #536079; }
.role-pill { padding: 5px 9px; border: 1px solid #d6e2ff; border-radius: 999px; background: #eef4ff; color: #315dc9; font-size: 11px; font-weight: 700; }

.page-shell { width: min(1180px, calc(100% - 48px)); min-height: calc(100vh - 170px); margin: 0 auto; padding: 28px 0 72px; }
.site-footer { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 0 0 28px; display: flex; justify-content: center; align-items: center; gap: 10px; color: #94a0b3; font-size: 11px; letter-spacing: .04em; }
.footer-dot { width: 3px; height: 3px; border-radius: 50%; background: #b8c1d0; }

.button { appearance: none; min-height: 42px; padding: 10px 18px; border: 1px solid transparent; border-radius: 11px; cursor: pointer; font-weight: 700; font-size: 13px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, input:focus-visible, .copy-button:focus-visible, a:focus-visible { outline: 3px solid rgba(55, 105, 246, .25); outline-offset: 2px; }
.button-primary { color: white; background: linear-gradient(135deg, var(--blue), #4d7df9); box-shadow: 0 9px 22px rgba(55, 105, 246, .22); }
.button-primary:hover { color: white; background: linear-gradient(135deg, var(--blue-deep), var(--blue)); box-shadow: 0 12px 28px rgba(55, 105, 246, .28); }
.button-outline { color: #3154aa; background: white; border-color: #ccd8f2; }
.button-outline:hover { border-color: #9db4e8; background: #f8faff; }
.button-quiet { color: #627089; background: transparent; border-color: var(--line); }
.button-quiet:hover { background: white; }
.button-small { min-height: 34px; padding: 7px 12px; font-size: 12px; }
.button-wide { width: 100%; }

.notice { margin: -6px 0 22px; padding: 13px 16px; display: flex; align-items: center; gap: 10px; border: 1px solid #bce9d7; border-radius: 13px; background: #effbf6; color: #176b51; font-size: 13px; box-shadow: var(--shadow-soft); }
.notice-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(83, 214, 164, .16); }
.notice-error { border-color: #f4c6d0; background: #fff3f5; color: #a9344d; }
.notice-error .notice-dot { background: #e15c77; box-shadow: 0 0 0 4px rgba(225, 92, 119, .14); }
.notice-info { border-color: #cbdcfb; background: #f2f6ff; color: #315aaf; }

.auth-page { background: #f7f9fd; }
.auth-page .page-shell { display: grid; align-items: center; padding-top: 12px; }
.auth-layout { min-height: 640px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(380px, .68fr); gap: 90px; align-items: center; }
.auth-story { padding: 28px 0 40px 34px; }
.eyebrow { display: flex; align-items: center; gap: 8px; color: #72809a; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.auth-story h1 { margin: 25px 0 20px; font-size: clamp(44px, 5.2vw, 68px); line-height: 1.1; letter-spacing: -.055em; color: #132447; }
.auth-story h1 em { color: var(--blue); font-style: normal; }
.auth-story > p { max-width: 520px; margin: 0; color: #697790; font-size: 16px; line-height: 1.85; }
.story-points { max-width: 520px; margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.story-points div { padding: 18px 16px 0 0; }
.story-points strong { display: block; color: var(--blue); font-size: 11px; letter-spacing: .08em; }
.story-points span { display: block; margin-top: 8px; color: #66738a; font-size: 12px; line-height: 1.55; }
.auth-card { padding: 36px; border: 1px solid rgba(224, 230, 240, .9); border-radius: 26px; background: rgba(255, 255, 255, .91); box-shadow: 0 28px 80px rgba(31, 54, 99, .12); backdrop-filter: blur(16px); }
.auth-card-heading { margin-bottom: 25px; }
.auth-card-heading h2 { margin: 19px 0 7px; font-size: 27px; letter-spacing: -.035em; }
.auth-card-heading p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.status-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 9px; border-radius: 999px; background: #effaf6; color: #16835f; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.status-chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 3px rgba(83, 214, 164, .16); }
.status-chip-blue { background: #edf3ff; color: #3860bc; }
.stack-form { display: grid; gap: 16px; }
.stack-form label > span { display: block; margin: 0 0 7px 2px; color: #4b5971; font-size: 12px; font-weight: 700; }
input { width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid var(--line-strong); border-radius: 11px; color: var(--ink); background: #fbfcfe; transition: border .18s, box-shadow .18s, background .18s; }
input::placeholder { color: #a6b0c0; }
input:focus { border-color: #8eacf3; box-shadow: 0 0 0 3px rgba(55, 105, 246, .1); background: white; outline: none; }
.stack-form .button { margin-top: 5px; min-height: 48px; }
.auth-switch { margin: 22px 0 0; text-align: center; color: #7b8799; font-size: 12px; }
.auth-switch a { font-weight: 750; }
.field-error { margin: -8px 0 18px; padding: 10px 12px; border-radius: 10px; background: #fff0f3; color: #ad3c54; font-size: 12px; line-height: 1.5; }
.key-illustration { position: relative; width: 170px; height: 170px; margin: 42px 0 0 100px; display: grid; place-items: center; }
.key-core { z-index: 2; width: 72px; height: 72px; display: grid; place-items: center; border-radius: 23px; color: white; background: linear-gradient(145deg, #315fd8, #4b80fa); box-shadow: 0 18px 40px rgba(55, 105, 246, .27); font-size: 16px; font-weight: 800; letter-spacing: .08em; transform: rotate(-7deg); }
.key-orbit { position: absolute; border: 1px solid rgba(55, 105, 246, .18); border-radius: 50%; }
.orbit-one { inset: 18px; }
.orbit-two { inset: -4px; border-style: dashed; }

.hero-row { padding: 12px 3px 27px; display: flex; justify-content: space-between; align-items: flex-end; }
.hero-row h1 { margin: 10px 0 4px; font-size: 35px; line-height: 1.1; letter-spacing: -.045em; }
.hero-row p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.model-badge { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid #d6e1f5; border-radius: 999px; color: #3e5e9f; background: rgba(255,255,255,.7); font-family: "SFMono-Regular", Consolas, monospace; font-size: 11px; font-weight: 700; box-shadow: var(--shadow-soft); }
.model-badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(83, 214, 164, .13); }

.secret-reveal { margin: 0 0 20px; padding: 21px 22px; display: flex; gap: 17px; border: 1px solid #bfd0fa; border-radius: var(--radius); color: white; background: linear-gradient(125deg, #11275a, #2655c7 65%, #3377e6); box-shadow: 0 18px 40px rgba(31, 68, 155, .2); }
.secret-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: #b9e9ff; background: rgba(255,255,255,.11); font-size: 20px; }
.secret-content { flex: 1; display: grid; grid-template-columns: .8fr 1.25fr; align-items: center; gap: 24px; }
.secret-content .kicker { color: #a7c4ff; }
.secret-content h2 { margin: 4px 0; font-size: 18px; }
.secret-content p:not(.kicker) { margin: 0; color: #ccdaf6; font-size: 11px; line-height: 1.6; }
.copy-field { min-width: 0; padding: 7px 7px 7px 13px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 11px; background: rgba(4, 16, 43, .28); }
.copy-field code { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #e7efff; font-size: 11px; }
.copy-button { flex: 0 0 auto; padding: 7px 10px; border: 0; border-radius: 8px; color: #24488f; background: white; cursor: pointer; font-size: 10px; font-weight: 800; }

.metric-grid { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 14px; }
.metric-card { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-soft); }
.metric-card.metric-primary { color: white; border-color: transparent; background: linear-gradient(145deg, #102553, #2149a3); box-shadow: 0 16px 35px rgba(23, 54, 121, .18); }
.metric-label { min-height: 20px; display: flex; justify-content: space-between; align-items: center; color: #748197; font-size: 11px; font-weight: 700; }
.metric-primary .metric-label { color: #b9c9ea; }
.metric-card > strong { display: block; margin-top: 17px; font-size: 25px; letter-spacing: -.035em; overflow: hidden; text-overflow: ellipsis; }
.metric-card > p { margin: 5px 0 0; color: #8a96a9; font-size: 10px; }
.metric-card > p span { margin-left: 6px; color: #91a7d2; }
.metric-primary > p { color: #a9bde3; }
.metric-icon { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 8px; color: #d8e5ff; background: rgba(255,255,255,.1); font-size: 11px; }
.resolution-dot { display: inline-block; width: 8px; height: 8px; border-radius: 3px; }
.dot-480 { background: var(--cyan); box-shadow: 0 0 0 4px rgba(53, 198, 211, .12); }
.dot-720 { background: #6d7bf3; box-shadow: 0 0 0 4px rgba(109, 123, 243, .12); }
.key-status { display: inline-flex; align-items: center; gap: 5px; color: var(--success); font-size: 9px; }
.key-status i { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }
.key-prefix { display: block; margin-top: 20px; color: #294988; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.content-grid { margin-top: 14px; display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(260px, .8fr); gap: 14px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); overflow: hidden; }
.panel-heading { padding: 22px 24px 17px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-heading.compact { padding-bottom: 7px; }
.panel-heading h2 { margin: 3px 0 0; font-size: 18px; letter-spacing: -.025em; }
.kicker { margin: 0; color: #7990bd; font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.secure-label, .immutable-label { padding: 5px 9px; border-radius: 999px; color: #5872a6; background: #f0f4fb; font-size: 9px; font-weight: 700; }
.integration-panel { padding-bottom: 23px; }
.endpoint-block { margin: 0 24px 18px; }
.endpoint-block > span, .code-heading { color: #65738b; font-size: 10px; font-weight: 750; }
.copy-field-light { margin-top: 7px; border-color: var(--line); background: #f7f9fd; }
.copy-field-light code { color: #314b7c; }
.copy-field-light .copy-button { border: 1px solid #d9e1ee; color: #4865a0; background: white; }
.code-heading { margin: 0 24px 7px; display: flex; justify-content: space-between; }
.code-language { color: #96a1b3; font-family: monospace; }
.code-block { margin: 0 24px; padding: 17px 19px; overflow-x: auto; border-radius: 13px; color: #cedcf8; background: #0e1b35; font-size: 10px; line-height: 1.75; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
.integration-note { margin: 14px 24px 0; display: flex; align-items: flex-start; gap: 9px; color: #6d7990; }
.integration-note > span { width: 18px; height: 18px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #3a68c9; background: #eaf1ff; font-size: 10px; font-weight: 800; }
.integration-note p { margin: 0; font-size: 10px; line-height: 1.6; }
.key-panel { padding: 0 24px 23px; }
.key-panel .panel-heading { margin: 0 -24px; }
.key-panel > p { margin: 15px 0 21px; color: #738097; font-size: 11px; line-height: 1.75; }
.key-visual { position: relative; height: 106px; display: grid; place-items: center; border: 1px solid #dfe6f2; border-radius: 16px; background: radial-gradient(circle at 50% 0, #eef4ff, #f8fafd 62%); overflow: hidden; }
.key-visual span { z-index: 2; width: 86px; padding: 13px 0; border-radius: 12px; color: white; background: linear-gradient(135deg, #21499f, #4a78ed); box-shadow: 0 12px 28px rgba(37, 79, 169, .23); text-align: center; letter-spacing: .22em; transform: rotate(-4deg); }
.key-visual i { position: absolute; width: 150px; height: 150px; border: 1px dashed #cfdbef; border-radius: 50%; }

.ledger-panel, .pricing-panel, .users-panel, .security-panel { margin-top: 14px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 11px; }
th { padding: 11px 24px; color: #8a96a8; background: #f8fafd; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
td { padding: 14px 24px; color: #627087; border-bottom: 1px solid #edf0f5; vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: #fbfcff; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.amount { color: #66738a; font-weight: 700; }
.amount.positive { color: var(--success); }
.amount.negative { color: var(--danger); }
.ledger-kind { display: inline-flex; padding: 4px 7px; border-radius: 7px; color: #4c648e; background: #f0f3f8; font-size: 9px; font-weight: 750; white-space: nowrap; }
.kind-debit { color: #a74a5d; background: #fff1f4; }
.kind-refund { color: #187457; background: #eaf9f2; }
.kind-admin_adjustment { color: #3d63b6; background: #edf3ff; }
.kind-price_update { color: #7d58a3; background: #f5effb; }
.empty-state { min-height: 135px; display: grid; place-content: center; justify-items: center; gap: 8px; color: #9ba6b7; }
.empty-state span { font-size: 26px; color: #c8d0dc; }
.empty-state p { margin: 0; font-size: 11px; }

.admin-metrics { grid-template-columns: repeat(3, 1fr); }
.pricing-form { padding: 0 24px 24px; display: grid; grid-template-columns: 1fr 1fr auto; align-items: end; gap: 13px; }
.price-input-card { padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: #fafbfe; }
.price-input-card > span { display: flex; align-items: center; gap: 9px; margin-bottom: 9px; color: #52617a; font-size: 11px; font-weight: 800; }
.price-input-card > div { display: flex; align-items: center; gap: 8px; }
.price-input-card input { min-height: 39px; padding: 8px 10px; background: white; font-weight: 700; }
.price-input-card small { flex: 0 0 auto; color: #929dad; font-size: 9px; }
.pricing-form > .button { min-width: 115px; height: 65px; }
.security-settings { padding: 0 24px 24px; display: grid; grid-template-columns: .72fr 1.4fr; align-items: center; gap: 28px; }
.security-copy strong { font-size: 13px; }
.security-copy p { margin: 7px 0 0; color: #7f8b9e; font-size: 10px; line-height: 1.65; }
.password-form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 8px; }
.password-form input { min-height: 39px; padding: 8px 10px; font-size: 10px; }
.user-list { border-top: 1px solid var(--line); }
.user-row { min-height: 93px; padding: 16px 24px; display: grid; grid-template-columns: minmax(210px, 1fr) 140px minmax(400px, 1.3fr); gap: 20px; align-items: center; border-bottom: 1px solid #edf0f5; }
.user-row:last-child { border-bottom: 0; }
.user-identity { min-width: 0; display: flex; align-items: center; gap: 12px; }
.avatar { width: 38px; height: 38px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 12px; color: #335eb9; background: linear-gradient(145deg, #e5edff, #f3f7ff); font-size: 13px; font-weight: 800; }
.user-identity strong, .user-identity small { display: block; }
.user-identity strong { font-size: 13px; }
.user-identity small { margin-top: 5px; max-width: 280px; overflow: hidden; text-overflow: ellipsis; color: #929daf; font-family: monospace; font-size: 9px; white-space: nowrap; }
.user-balance small { display: block; color: #929daf; font-size: 9px; }
.user-balance strong { display: block; margin-top: 4px; font-size: 15px; }
.adjust-form { display: grid; grid-template-columns: .75fr 1fr auto; gap: 8px; }
.adjust-form input { min-height: 36px; padding: 7px 9px; font-size: 10px; }
.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; }

.error-page { min-height: 560px; display: grid; place-content: center; justify-items: center; text-align: center; }
.error-page > span { color: #dce4f2; font-size: 100px; font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.error-page h1 { margin: -8px 0 8px; font-size: 30px; }
.error-page p { margin: 0 0 25px; color: var(--ink-soft); }

@media (max-width: 980px) {
  .auth-layout { grid-template-columns: 1fr 390px; gap: 40px; }
  .auth-story { padding-left: 0; }
  .story-points { grid-template-columns: 1fr; max-width: 300px; }
  .story-points div { display: flex; gap: 12px; padding-top: 12px; }
  .story-points span { margin-top: 0; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-metrics { grid-template-columns: repeat(3, 1fr); }
  .content-grid { grid-template-columns: 1fr; }
  .key-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; align-items: center; }
  .key-panel .panel-heading { grid-column: 1 / -1; }
  .key-panel form { align-self: start; }
  .user-row { grid-template-columns: 1fr 130px; }
  .adjust-form { grid-column: 1 / -1; }
  .security-settings { grid-template-columns: 1fr; gap: 16px; }
  .password-form { grid-template-columns: repeat(3, 1fr) auto; }
}

@media (max-width: 720px) {
  .site-header, .page-shell, .site-footer { width: min(100% - 28px, 1180px); }
  .site-header { height: 76px; }
  .brand small, .account-name { display: none; }
  .page-shell { padding-top: 16px; }
  .auth-page .site-header { justify-content: center; }
  .auth-layout { min-height: auto; display: block; }
  .auth-story { padding: 32px 8px 34px; text-align: center; }
  .auth-story .eyebrow { justify-content: center; }
  .auth-story h1 { margin-top: 19px; font-size: 40px; }
  .auth-story > p { margin: 0 auto; font-size: 14px; }
  .story-points, .key-illustration { display: none; }
  .auth-card { padding: 27px 22px; border-radius: 22px; }
  .hero-row { align-items: flex-start; gap: 15px; }
  .hero-row h1 { font-size: 29px; }
  .model-badge { padding: 7px 9px; font-size: 9px; }
  .secret-reveal { padding: 18px; }
  .secret-content { grid-template-columns: 1fr; gap: 14px; }
  .metric-grid, .admin-metrics { grid-template-columns: 1fr 1fr; }
  .metric-card { padding: 17px; }
  .metric-card > strong { font-size: 21px; }
  .panel-heading { padding: 19px 18px 15px; }
  .endpoint-block, .code-heading, .code-block, .integration-note { margin-left: 18px; margin-right: 18px; }
  .key-panel { display: block; padding: 0 18px 20px; }
  .key-panel .panel-heading { margin: 0 -18px; }
  .pricing-form { padding: 0 18px 20px; grid-template-columns: 1fr; }
  .pricing-form > .button { height: 46px; }
  .security-settings { padding: 0 18px 20px; }
  .password-form { grid-template-columns: 1fr; }
  .user-row { padding: 17px 18px; grid-template-columns: 1fr auto; gap: 13px; }
  .adjust-form { grid-template-columns: 1fr 1fr; }
  .adjust-form .button { grid-column: 1 / -1; }
  table, tbody, tr, td { display: block; }
  thead { display: none; }
  tbody tr { padding: 13px 18px; border-bottom: 1px solid var(--line); }
  tbody tr:last-child { border-bottom: 0; }
  td { min-height: 27px; padding: 5px 0 5px 42%; display: flex; justify-content: flex-end; align-items: center; gap: 10px; border: 0; text-align: right; white-space: normal; }
  td::before { content: attr(data-label); width: 38%; margin-left: -68%; margin-right: auto; color: #929daf; text-align: left; font-size: 9px; font-weight: 700; }
  td.numeric { text-align: right; }
  .site-footer { flex-wrap: wrap; }
}

@media (max-width: 460px) {
  .brand strong { font-size: 13px; }
  .top-actions { gap: 7px; }
  .role-pill { display: none; }
  .hero-row { display: block; }
  .model-badge { margin-top: 16px; }
  .metric-grid, .admin-metrics { grid-template-columns: 1fr; }
  .metric-card { min-height: 118px; }
  .secret-icon { display: none; }
  .copy-field code { font-size: 9px; }
  .adjust-form { grid-template-columns: 1fr; }
  .adjust-form .button { grid-column: auto; }
  .user-row { grid-template-columns: 1fr; }
  .user-balance { padding-left: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
