@import url("./tokens.css");

/* 品牌基线：seevuln-website/docs/design-dna，tokens.css 与官网同源。 */
:root {
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  --font-heading: "Avenir Next", "DIN Alternate", "PingFang SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --surface: rgba(var(--panel-rgb), 0.86);
  --surface-soft: rgba(var(--elevated-rgb), 0.72);
  --control: rgba(var(--panel-rgb), 0.7);
  --control-border: rgba(var(--ink-rgb), 0.2);
  --shadow: 0 24px 80px rgba(40, 74, 108, 0.09);
  --danger: #b91343;
  --success-text: #006c61;
  --warning-text: #805b00;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 32px;
}
:root[data-theme="dark"] {
  --control: rgba(var(--elevated-rgb), 0.64);
  --control-border: rgba(var(--ink-rgb), 0.24);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --danger: #ff7199;
  --success-text: #37dbc8;
  --warning-text: #f3b61f;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 14px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: var(--brand-blue-deep); text-underline-offset: 4px; }
button:disabled { cursor: wait; opacity: 0.58; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 2px solid var(--interaction-focus-ring); outline-offset: 3px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; }
svg { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 24px; top: -80px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--paper); border-radius: var(--radius-sm); }
.skip-link:focus { top: 16px; }
.muted { color: var(--muted); }
.mono, .eyebrow { font-family: var(--font-mono); }
.eyebrow { color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; line-height: 1.5; }
.eyebrow .signal { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--brand-cyan); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand img { width: 25px; height: 30px; object-fit: contain; }
.brand-wordmark { font-family: var(--font-heading); font-size: 17px; font-weight: 800; letter-spacing: 0.03em; }
.brand-divider { height: 18px; width: 1px; margin: 0 4px; background: var(--line); }
.brand-context { color: var(--muted); font-size: 12px; }
.site-header { height: 100px; max-width: 1440px; margin: auto; padding: 0 6.4%; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-account { display: flex; align-items: center; gap: 12px; }
.header-hint { color: var(--muted); font-size: 12px; white-space: nowrap; }
.header-link { display: inline-flex; justify-content: center; align-items: center; min-width: 68px; min-height: 44px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: var(--surface); font-size: 13px; font-weight: 500; white-space: nowrap; text-decoration: none; transition: background 180ms, border-color 180ms, color 180ms; }
.quiet-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font-size: 12px; text-decoration: none; }
.quiet-link svg { width: 15px; height: 15px; }
.icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.theme-moon, .theme-sun { display: none; width: 18px; height: 18px; stroke-width: 1.5; }
:root:not([data-theme]) .theme-moon,
:root[data-theme="light"] .theme-moon,
:root[data-theme="dark"] .theme-sun { display: block; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: var(--radius); border: 1px solid var(--control-border); color: var(--ink); background: var(--surface); text-decoration: none; font-size: 13px; font-weight: 600; transition: background 180ms, border-color 180ms, transform 180ms var(--interaction-ease-out), box-shadow 180ms; }
.button.primary { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button.primary svg { width: 18px; }
.button.full { width: 100%; justify-content: space-between; }
.button.small { min-height: 40px; padding: 8px 16px; border-radius: 12px; font-size: 12px; }
.button.text { padding-inline: 8px; border-color: transparent; background: transparent; color: var(--brand-blue-deep); }
.auth-page { position: relative; min-height: 100vh; isolation: isolate; }
.auth-page::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; background: radial-gradient(ellipse at 13% 61%, rgba(var(--field-rgb), 0.18), transparent 52%), radial-gradient(ellipse at 68% 0%, rgba(var(--spark-rgb), 0.08), transparent 46%); }
.auth-page::after { content: ""; position: fixed; inset: 100px 6.4% 0; z-index: -1; opacity: 0.32; pointer-events: none; background: linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 25% 100%; mask-image: linear-gradient(transparent, black 22%, black 75%, transparent); }
.auth-layout { max-width: 1260px; margin: 0 auto; padding: 48px 48px 56px; min-height: calc(100vh - 170px); display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(48px, 7vw, 112px); }
.auth-story { max-width: 550px; padding-block: 12px; }
.auth-story h1 { margin-top: 24px; font-size: clamp(38px, 4vw, 58px); line-height: 1.26; letter-spacing: -0.055em; }
.auth-story h1 em { font-style: normal; color: var(--brand-blue-deep); }
.story-description { margin-top: 24px; max-width: 370px; font-size: 15px; line-height: 1.9; color: var(--muted); }
.brand-scene { position: relative; height: 220px; margin: 28px 0 16px; display: grid; place-items: center; overflow: hidden; }
.scene-orbit { position: absolute; width: 290px; height: 174px; border: 1px solid var(--control-border); border-radius: 50%; transform: rotate(-24deg); opacity: 0.55; }
.scene-orbit.second { width: 230px; height: 230px; transform: rotate(25deg) scaleY(0.68); border-color: rgba(var(--spark-rgb), 0.42); }
.scene-core { width: 112px; height: 132px; display: grid; place-items: center; border: 1px solid rgba(var(--panel-rgb), 0.9); border-radius: 24px; transform: rotate(-8deg); background: linear-gradient(145deg, rgba(var(--panel-rgb), 0.7), rgba(var(--field-rgb), 0.1)); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); }
.scene-core img { width: 60px; height: 72px; object-fit: contain; transform: rotate(8deg); }
.scene-node { position: absolute; display: flex; align-items: center; gap: 8px; padding: 7px 13px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 10px; color: var(--muted); }
.scene-node::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--brand-blue); }
.scene-node.identity { left: 3%; top: 30px; }
.scene-node.products { right: 1%; top: 82px; }
.scene-node.team { left: 17%; bottom: 12px; }
.story-footnote { padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; letter-spacing: 0.04em; }
.auth-card { padding: 36px; background: var(--surface); border: 1px solid rgba(var(--panel-rgb), 0.8); border-radius: var(--radius-lg); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); backdrop-filter: blur(20px); }
.card-heading { margin-top: 8px; font-size: 28px; line-height: 1.4; letter-spacing: -0.04em; }
.card-description { color: var(--muted); font-size: 13px; margin-top: 8px; }
.mode-switch { display: flex; gap: 4px; background: rgba(var(--ink-rgb), 0.045); border-radius: 14px; padding: 4px; margin: 28px 0 24px; }
.mode-switch button { flex: 1; min-height: 40px; border: 1px solid transparent; border-radius: 10px; color: var(--muted); background: transparent; font-size: 13px; }
.mode-switch button[aria-selected="true"] { color: var(--ink); background: var(--surface); border-color: var(--line); box-shadow: 0 2px 5px rgba(var(--ink-rgb), 0.035); font-weight: 600; }
.field { margin-bottom: 20px; min-width: 0; }
.field label, .field-label { display: block; font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.field input, .search-input, .field select { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; color: var(--ink); background: var(--control); border: 1px solid var(--control-border); border-radius: 12px; transition: border-color 180ms; }
.field input::placeholder, .search-input::placeholder { color: var(--muted); font-size: 12px; opacity: 0.84; }
.field input:focus, .search-input:focus { border-color: var(--brand-blue); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field-hint { margin-top: 7px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.password-field { position: relative; }
.password-field input { padding-right: 54px; }
.password-toggle { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; color: var(--muted); background: transparent; }
.password-toggle[aria-pressed="true"] { color: var(--brand-blue-deep); background: var(--surface-soft); }
.notice { margin: 16px 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); font-size: 12px; overflow-wrap: anywhere; }
.notice.error { color: var(--danger); border-color: currentColor; }
.notice.success { color: var(--success-text); }
.notice:empty { display: none; }
.form-footer { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 24px; font-size: 12px; text-align: center; color: var(--muted); }
.form-footer a { margin-left: 5px; font-weight: 600; text-decoration: none; }
.help-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--muted); font-size: 11px; }
.help-row a { color: var(--muted); }
.site-footer { max-width: 1440px; margin: auto; min-height: 70px; padding: 18px 6.4%; display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 10px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer .footer-links { display: flex; gap: 20px; }
.steps { list-style: none; padding: 0; margin: 36px 0; counter-reset: onboarding; }
.steps li { position: relative; display: grid; grid-template-columns: 32px 1fr; column-gap: 16px; padding-bottom: 26px; }
.steps li:last-child { padding-bottom: 0; }
.steps li:not(:last-child)::after { position: absolute; content: ""; top: 33px; bottom: 6px; left: 15px; width: 1px; background: var(--line); }
.step-number { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--control-border); border-radius: 50%; font: 11px var(--font-mono); color: var(--muted); }
.steps [aria-current="step"] .step-number { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.steps .is-complete .step-number { color: var(--success-text); border-color: var(--success-text); }
.step-title { font-size: 14px; font-weight: 600; }
.step-description { margin-top: 4px; color: var(--muted); font-size: 12px; }
.registration-layout { align-items: start; padding-top: 40px; }
.registration-layout .auth-story { position: sticky; top: 40px; padding-top: 20px; }
.registration-layout .auth-card { min-height: 480px; }
.registration-form { margin-top: 28px; }
.upload-zone { display: block; position: relative; border: 1px dashed var(--control-border); border-radius: 20px; background: var(--surface-soft); padding: 32px 20px; text-align: center; cursor: pointer; }
.upload-zone.is-dragging { border-color: var(--brand-blue); background: var(--interaction-action-surface); }
.upload-zone:focus-within { outline: 2px solid var(--brand-blue); outline-offset: 3px; }
.upload-zone input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-zone svg { width: 32px; height: 32px; color: var(--brand-blue-deep); margin-bottom: 12px; }
.upload-title { font-weight: 600; font-size: 13px; }
.upload-zone p { margin-top: 6px; font-size: 11px; color: var(--muted); }
.file-summary { display: flex; align-items: center; gap: 12px; padding: 16px; margin: 14px 0 20px; border: 1px solid var(--line); border-radius: 14px; }
.file-summary div { min-width: 0; }
.file-summary strong { display: block; font-size: 12px; overflow-wrap: anywhere; }
.file-summary small { color: var(--muted); }
.result-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(var(--spark-rgb), 0.12); color: var(--success-text); margin: 24px 0; }
.result-icon svg { width: 26px; height: 26px; }
.result-details { display: grid; gap: 8px; padding: 20px 0; margin: 20px 0; border-block: 1px solid var(--line); font-size: 12px; }
.result-details dd, .result-details dt { margin: 0; }
.result-details dt { color: var(--muted); }
.result-details dd { overflow-wrap: anywhere; }
.inline-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.loading-view { min-height: 60vh; display: grid; align-content: center; justify-items: center; gap: 16px; color: var(--muted); }
.loading-mark { width: 30px; height: 36px; }
.workspace { display: grid; grid-template-columns: 224px minmax(0, 1fr); min-height: 100vh; }
.sidebar { display: flex; flex-direction: column; min-width: 0; padding: 32px 20px 24px; border-right: 1px solid var(--line); background: var(--surface); height: 100vh; position: sticky; top: 0; }
.sidebar .brand { margin: 4px 12px 36px; }
.workspace-label { padding: 0 12px; margin-bottom: 12px; font: 10px var(--font-mono); color: var(--muted); letter-spacing: 0.12em; }
.workspace-nav { display: grid; gap: 6px; }
.workspace-nav a { display: flex; align-items: center; gap: 12px; color: var(--muted); text-decoration: none; border: 1px solid transparent; border-radius: 12px; padding: 12px; font-size: 13px; min-height: 46px; }
.workspace-nav a[aria-current="page"] { color: var(--ink); border-color: var(--line); background: var(--surface-soft); font-weight: 600; }
.workspace-nav a[aria-current="page"] svg { color: var(--brand-blue-deep); }
.sidebar-footer { margin-top: auto; padding: 24px 12px 0; }
.sidebar-footer p { font-size: 11px; color: var(--muted); }
.sidebar-footer a { font-size: 12px; }
.workspace-main { min-width: 0; }
.workspace-topbar { min-height: 88px; padding: 18px 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.breadcrumb { color: var(--muted); font-size: 12px; }
.breadcrumb span { color: var(--ink); margin-left: 10px; }
.account-actions { display: flex; align-items: center; gap: 12px; min-width: 0; }
.identity-chip { text-align: right; min-width: 0; }
.identity-chip strong { display: block; font-size: 11px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.identity-chip small { color: var(--muted); font-size: 10px; }
.workspace-content { padding: 40px; max-width: 1440px; margin: auto; }
.page-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.page-title-row h1 { margin-top: 8px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.045em; line-height: 1.3; }
.page-title-row p { margin-top: 10px; color: var(--muted); font-size: 13px; }
.tenant-reference { font: 10px var(--font-mono); color: var(--muted); overflow-wrap: anywhere; max-width: 250px; }
.overview-banner { position: relative; overflow: hidden; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(115deg, var(--surface), rgba(var(--field-rgb), 0.13)); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.overview-banner h2 { margin: 12px 0 8px; font-size: 26px; letter-spacing: -0.03em; }
.overview-banner p { color: var(--muted); max-width: 460px; font-size: 13px; }
.overview-emblem { width: 80px; height: 96px; object-fit: contain; margin: 0 30px; opacity: 0.82; transform: rotate(-8deg); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0 32px; }
.stat { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.stat-label { font-size: 12px; color: var(--muted); }
.stat-value { margin-top: 10px; display: block; font: 600 32px/1.2 var(--font-heading); letter-spacing: -0.04em; }
.stat-note { display: block; margin-top: 8px; color: var(--muted); font-size: 10px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 28px 0 16px; }
.section-heading h2 { font-size: 18px; letter-spacing: -0.03em; }
.section-heading p { font-size: 12px; color: var(--muted); margin-top: 4px; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.product-card { padding: 24px; border: 1px solid var(--line); background: var(--surface); border-radius: 22px; min-width: 0; }
.product-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.product-symbol { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; color: var(--brand-blue-deep); border: 1px solid var(--line); border-radius: 12px; font: 600 12px var(--font-mono); background: var(--surface-soft); }
.product-card h3 { font-size: 17px; }
.product-card .product-id { display: block; margin: 6px 0 20px; font: 10px var(--font-mono); color: var(--muted); overflow-wrap: anywhere; }
.badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); font-size: 10px; line-height: 1.4; white-space: nowrap; color: var(--muted); }
.badge.success { color: var(--success-text); background: rgba(var(--spark-rgb), 0.1); border-color: transparent; }
.badge.warning { color: var(--warning-text); }
.tag-list { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { display: inline-block; font-size: 10px; padding: 4px 8px; color: var(--muted); border: 1px solid var(--line); border-radius: 6px; overflow-wrap: anywhere; }
.product-expiry { padding-top: 16px; margin-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.panel { border: 1px solid var(--line); border-radius: 24px; background: var(--surface); overflow: hidden; }
.panel-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.search-input { max-width: 280px; min-height: 42px; font-size: 12px; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
th { background: var(--surface-soft); font-size: 10px; font-weight: 500; color: var(--muted); white-space: nowrap; }
th, td { padding: 16px 24px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
td.account-name { font-weight: 600; min-width: 160px; overflow-wrap: anywhere; }
td .secondary { display: block; color: var(--muted); font: 9px var(--font-mono); margin-top: 4px; overflow-wrap: anywhere; }
.table-footer { padding: 14px 24px; color: var(--muted); font-size: 11px; border-top: 1px solid var(--line); }
.empty-state { padding: 44px 24px; text-align: center; color: var(--muted); }
.empty-state h3 { font-size: 15px; color: var(--ink); margin-bottom: 8px; }
.empty-state p { font-size: 12px; }
.empty-state .button { margin-top: 16px; }
.loading-copy { color: var(--muted); padding: 32px; font-size: 12px; }
.quota-product { margin-bottom: 24px; }
.quota-product h3 { font-size: 14px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.quota-value { font-family: var(--font-mono); font-size: 11px; white-space: nowrap; }
.quota-meter { appearance: none; width: 96px; height: 5px; border: 0; border-radius: 99px; overflow: hidden; background: var(--line); }
.quota-meter::-webkit-progress-bar { background: var(--line); border-radius: 99px; }
.quota-meter::-webkit-progress-value { background: var(--brand-blue); border-radius: 99px; }
.quota-meter::-moz-progress-bar { background: var(--brand-blue); border-radius: 99px; }
.section-note { color: var(--muted); font-size: 11px; margin-top: 16px; }
dialog { max-width: 460px; width: calc(100% - 32px); padding: 32px; color: var(--ink); border: 1px solid var(--line); background: rgb(var(--panel-rgb)); border-radius: 28px; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(7, 16, 21, 0.5); backdrop-filter: blur(4px); }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.dialog-heading h2 { font-size: 22px; }
.dialog-heading p { color: var(--muted); font-size: 12px; margin-top: 8px; }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.access-card { max-width: 480px; margin: 10vh auto; padding: 32px; }
.access-card h1 { font-size: 26px; margin-bottom: 16px; }
.access-card p { margin-bottom: 24px; color: var(--muted); }

@media (hover: hover) and (pointer: fine) {
  .button:not(:disabled):hover { transform: translateY(-2px); box-shadow: var(--interaction-shadow-action); border-color: var(--interaction-action-border); }
  .button.text:hover { box-shadow: none; }
  .icon-button:hover, .password-toggle:hover { background: var(--interaction-action-surface); border-color: var(--interaction-action-border); }
  .header-link:hover { color: var(--brand-blue-deep); background: var(--interaction-action-surface); border-color: var(--interaction-action-border); }
  .quiet-link:hover, .form-footer a:hover { color: var(--brand-blue-deep); }
  .workspace-nav a:hover { background: var(--surface-soft); color: var(--ink); }
  tbody tr:hover { background: var(--interaction-row-surface); }
}
.button:active { transform: none !important; box-shadow: none !important; }
@media (max-width: 1100px) {
  .auth-layout { gap: 48px; padding-inline: 36px; }
  .auth-card { padding: 28px; }
  .workspace { grid-template-columns: 200px minmax(0, 1fr); }
  .workspace-content { padding: 28px; }
  .workspace-topbar { padding-inline: 28px; }
  .overview-emblem { margin-right: 0; }
}
@media (max-width: 800px) {
  .site-header { height: 80px; padding: 0 24px; }
  .auth-layout { grid-template-columns: 1fr; max-width: 520px; padding: 20px 24px 40px; gap: 28px; min-height: auto; }
  .auth-story h1 { font-size: 34px; margin-top: 14px; }
  .story-description { margin-top: 14px; font-size: 13px; max-width: none; }
  .brand-scene, .auth-story .story-footnote { display: none; }
  .auth-card { padding: 28px; }
  .site-footer { padding-inline: 24px; }
  .registration-layout .auth-story { position: static; padding-top: 0; }
  .registration-layout .story-description { display: none; }
  .steps { display: flex; gap: 16px; margin: 24px 0 0; }
  .steps li { display: flex; flex: 1; flex-direction: column; gap: 8px; padding-bottom: 0; }
  .steps li::after { display: none; }
  .step-description { display: none; }
  .step-title { font-size: 11px; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; height: auto; padding: 18px 24px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .sidebar .brand { margin: 0 0 20px; }
  .workspace-label, .sidebar-footer { display: none; }
  .workspace-nav { display: flex; gap: 4px; padding-bottom: 12px; overflow-x: auto; }
  .workspace-nav a { flex: none; white-space: nowrap; padding: 10px 12px; gap: 8px; }
  .workspace-nav svg { width: 16px; }
  .workspace-topbar { min-height: 76px; padding: 12px 24px; }
  .workspace-content { padding: 28px 24px; }
  .overview-banner { padding: 24px; }
  .overview-banner h2 { font-size: 23px; }
  .overview-emblem { width: 52px; height: 64px; }
}
@media (max-width: 600px) {
  .header-hint { display: none; }
}
@media (max-width: 480px) {
  .brand-context, .brand-divider { display: none; }
  .header-actions { gap: 8px; }
  .site-header { padding: 0 20px; }
  .auth-layout { padding-inline: 20px; }
  .auth-story h1 { font-size: 30px; }
  .auth-card { padding: 24px; border-radius: 26px; }
  .site-footer { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .help-row { flex-wrap: wrap; }
  .workspace-content { padding: 24px 18px; }
  .sidebar, .workspace-topbar { padding-inline: 18px; }
  .breadcrumb { display: none; }
  .account-actions { width: 100%; }
  .identity-chip { text-align: left; flex: 1; }
  .page-title-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .overview-banner { padding: 24px 20px; }
  .overview-emblem { display: none; }
  .stats { gap: 8px; margin-block: 16px 24px; }
  .stat { padding: 16px 12px; border-radius: 16px; }
  .stat-value { font-size: 26px; }
  .stat-note { font-size: 9px; }
  .stat-label { font-size: 11px; }
  .product-grid { grid-template-columns: 1fr; }
  .panel-toolbar { align-items: stretch; flex-direction: column; padding: 16px; }
  .search-input { max-width: none; }
  th, td { padding: 14px 16px; }
  .section-heading { align-items: flex-start; }
  .section-heading .button { flex-shrink: 0; }
  .tenant-reference { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover { transform: none !important; }
}
