:root {
  color-scheme: light;
  --ink: #1d2230;
  --muted: #667084;
  --accent: #5c46c4;
  --accent-hover: #4d36b2;
  --accent-soft: #f1edff;
  --border: #e8e8ef;
  --paper: #fff;
  --canvas: #f7f7fa;
  --warn: #84530c;
  --ok: #176447;
  --error: #a1273d;
  --radius: 16px;
  --shadow: 0 2px 4px #20233e06, 0 8px 26px #1c214904;
  font-family: Inter, Geist, "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  font-synthesis: none;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 300px; min-height: 100vh; background: var(--canvas); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .58; }
button, a, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #886af0; outline-offset: 3px; }
a { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
svg { display: block; }

.icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-size: 17px; font-weight: 700; letter-spacing: .045em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: #7860dd; box-shadow: inset 0 1px 0 #ffffff30; color: #fff; }
.brand-mark svg { width: 22px; height: 22px; }
.environment-dot { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #3b9c7a; box-shadow: 0 0 0 3px #3b9c7a18; }

.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 40px 24px; background: radial-gradient(ellipse at 25% 5%, #eee9ff, transparent 48%), var(--canvas); }
.login-frame { display: grid; grid-template-columns: .96fr 1.04fr; width: min(100%, 920px); overflow: hidden; background: var(--paper); border: 1px solid #fff; border-radius: 23px; box-shadow: 0 22px 80px #29204718, 0 3px 9px #29204709; }
.login-aside { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; overflow: hidden; gap: 60px; padding: 37px 43px; background: radial-gradient(ellipse at 75% 115%, #463782 0, transparent 61%), #1c2030; color: #fff; }
.login-aside::before, .login-aside::after { position: absolute; z-index: -1; width: 280px; height: 280px; border: 1px solid #bcaeff22; border-radius: 44px; content: ""; pointer-events: none; transform: rotate(37deg); }
.login-aside::before { right: -146px; bottom: -34px; box-shadow: inset 0 0 45px #ae95ff0c; }
.login-aside::after { right: -133px; bottom: -71px; }
.login-kicker { display: inline-flex; align-items: center; gap: 10px; color: #cfcae9; font-size: 12px; }
.login-kicker .environment-dot { background: #76d2ad; box-shadow: 0 0 0 3px #76d2ad18; }
.login-intro h1 { margin: 17px 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.3; font-weight: 750; letter-spacing: -.04em; }
.login-intro p { max-width: 265px; color: #cecadb; line-height: 1.85; }
.login-aside-footer { display: flex; align-items: center; gap: 9px; color: #c7c2dc; font-size: 12px; }
.login-aside-footer .icon { width: 16px; height: 16px; color: #b6a1ff; }
.login-panel { padding: 46px 44px; }
.login-form-content { max-width: 355px; margin: 0 auto; }
.login-panel h2 { margin-bottom: 24px; font-size: 25px; font-weight: 750; letter-spacing: -.035em; }
.login-form { display: grid; gap: 16px; }
.login-preferences { display: flex; flex-wrap: wrap; gap: 7px 22px; }
.login-preferences label { min-height: 24px; cursor: pointer; }
.login-preferences input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.login-submit { justify-content: space-between !important; width: 100%; margin-top: 3px; }
.login-submit span { font-size: 18px; line-height: 1; }
.demo-access { margin-top: 25px; padding-top: 19px; border-top: 1px solid var(--border); }
.demo-access h3 { font-size: 13px; font-weight: 700; }
.demo-access p { margin-top: 3px; font-size: 12px; }
.demo-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }
.demo-group { min-width: 0; padding: 10px; border: 1px solid var(--border); border-radius: 9px; background: #faf9fc; }
.demo-org-name { margin-bottom: 8px; font-size: 12px; font-weight: 650; }
.demo-options { display: flex; flex-wrap: wrap; gap: 5px; }
.demo-button { min-height: 30px; padding: 3px 8px; border: 1px solid #e4dff7; border-radius: 6px; background: var(--paper); color: #513aab; font-size: 12px; }
.demo-button:hover, .demo-button[aria-pressed="true"] { border-color: #c6b6f6; background: var(--accent-soft); }

.app-shell { min-height: 100vh; }
.help-ticket-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.help-article { padding: 10px 0; border-top: 1px solid var(--border); }
.help-article summary { cursor: pointer; font-weight: 650; }
.help-article[open] summary { margin-bottom: 8px; }
.app-body { min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 65px; padding: 10px 30px; border-bottom: 1px solid var(--border); background: var(--paper); }
.topbar-context { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.environment-tag { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 5px 9px; border: 1px solid #dbede5; border-radius: 100px; background: #f2faf6; color: #286249; font-size: 11px; font-weight: 650; white-space: nowrap; }
#voice-capture-button { min-height: 44px; gap: 7px; padding-inline: 13px; }
#voice-capture-button .icon { width: 17px; height: 17px; }
@media (max-width: 650px) { #voice-capture-button { order: -1; } }

.main-content { width: min(100%, 1370px); margin-inline: auto; padding: 31px 30px 42px; }
.page-header { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px; margin-bottom: 23px; }
.page-kicker { display: inline-block; margin-bottom: 7px; color: var(--accent); font-size: 11px; font-weight: 750; letter-spacing: .13em; }
.page-header h1 { font-size: clamp(26px, 3.5vw, 36px); line-height: 1.22; font-weight: 760; letter-spacing: -.046em; }
.page-header p { margin-top: 8px; color: var(--muted); }
.page-header p:empty, .page-kicker:empty { display: none; }
.page-content, .section-stack { display: grid; min-width: 0; gap: 17px; }
.notice { margin-bottom: 16px; padding: 11px 14px; border: 1px solid #d9ecdf; border-radius: 10px; background: #edf8f1; color: var(--ok); overflow-wrap: anywhere; }
.notice.error, .notice[data-kind="error"], .notice[data-type="error"], .notice[data-tone="error"] { border-color: #f1dbe0; background: #fff3f5; color: var(--error); }
.notice.error-text { border-color: #f1dbe0; background: #fff3f5; color: var(--error); }
.muted, .scope-caption, .pagination-meta, .input-help, .activity-time { color: var(--muted); }
.input-help, .pagination-meta, .scope-caption, .activity-time { font-size: 12px; }
.error-text { color: var(--error); font-size: 13px; }
.mono { font-family: "IBM Plex Mono", "Cascadia Code", Consolas, monospace; font-size: .9em; font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.card { min-width: 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.card-head, .section-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px 14px; }
.card-head { padding: 18px 20px 13px; }
.card-body { padding: 0 20px 20px; }
.card-head h2, .section-heading h2, .card h2, .dialog h2 { font-size: 17px; line-height: 1.4; font-weight: 750; letter-spacing: -.024em; }
.card h3, .dialog h3 { font-size: 14px; line-height: 1.4; font-weight: 700; }
.card-head p, .section-heading p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.card > .section-heading { padding: 17px 20px 13px; }
.card > .form-grid, .card > .empty, .card > .review-list, .card > .detail-list { margin-inline: 20px; }
.card > .form-grid { margin-bottom: 20px; }
.card > .pagination-meta { padding: 11px 20px; }
.grid-two, .overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr)); gap: 13px; }
.metric { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 0; min-height: 105px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); color: var(--muted); font-size: 12px; }
.metric-label { color: #53596c; font-weight: 650; }
.metric-value { margin: 5px 0 3px; color: var(--ink); font-size: clamp(20px, 3vw, 29px); font-weight: 720; line-height: 1.2; letter-spacing: -.042em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.metric-value:empty { display: none; }
.metric-value small { font-size: .5em; letter-spacing: 0; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 14px; border: 1px solid transparent; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 650; line-height: 1.3; text-align: center; text-decoration: none; white-space: nowrap; }
.button:hover, .button-primary:hover { background: var(--accent-hover); color: #fff; }
.button .icon { width: 16px; height: 16px; }
.button-secondary { border-color: #dddce9; background: var(--paper); color: #4e446d; }
.button-secondary:hover { border-color: #c7b7ef; background: #f7f3ff; color: #46338a; }
.button-small { min-height: 33px; padding: 6px 10px; font-size: 12px; }
.text-link, .summary-link { display: inline; padding: 0; border: 0; background: transparent; color: var(--accent); font: inherit; font-weight: 650; text-decoration: underline; text-decoration-color: #aa99e8; text-underline-offset: 3px; text-align: left; cursor: pointer; }
.text-link:hover, .summary-link:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
.row-actions, .inline-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.filters.form-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; gap: 10px; padding-bottom: 15px; }
.filters.form-grid > .inline-actions { grid-column: auto; }
.filters .button { min-height: 40px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; align-items: start; }
.form-grid > .row-actions, .form-grid > .inline-actions, .form-grid > .field-wide, .form-grid > .input-help, .form-grid > .error-text { grid-column: 1 / -1; }
.field { display: grid; align-content: start; gap: 5px; min-width: 0; color: #373b4b; font-size: 12px; font-weight: 650; }
.field .muted, .field .input-help { font-weight: 400; }
input:not([type="checkbox"], [type="radio"]), textarea, select { min-width: 0; max-width: 100%; min-height: 40px; border: 1px solid #dbdce7; border-radius: 8px; background: var(--paper); color: var(--ink); }
input:not([type="checkbox"], [type="radio"]), textarea { padding: 8px 11px; }
select { padding: 7px 10px; }
.field input:not([type="checkbox"], [type="radio"]), .field textarea, .field select { width: 100%; font-size: 13px; font-weight: 450; }
input::placeholder, textarea::placeholder { color: #777f91; }
input:focus, select:focus, textarea:focus { border-color: #a896ef; }
textarea { min-height: 78px; resize: vertical; }

.table-wrap { max-width: 100%; overflow-x: auto; }
@media (min-width: 1001px) {
  .platform-tenant-table .table { min-width: 62rem; }
  .platform-tenant-table .table td:nth-child(2), .platform-tenant-table .table td:nth-child(5) { white-space: nowrap; }
  .platform-tenant-table .table td:nth-child(3) { min-width: 9rem; word-break: keep-all; }
}
.table { width: 100%; border-collapse: collapse; color: #343949; text-align: left; font-size: 13px; font-variant-numeric: tabular-nums; }
.table th, .table td { padding: 11px 12px; border-bottom: 1px solid #eeeef3; vertical-align: middle; }
.table th { background: #f8f8fb; color: #5d6276; font-size: 11px; font-weight: 700; white-space: nowrap; }
.table th:first-child, .table td:first-child { padding-left: 20px; }
.table th:last-child, .table td:last-child { padding-right: 20px; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #faf9fe; }
.table td .mono { overflow-wrap: anywhere; }
.table td .pill, .table td .button, .table td .text-link { white-space: nowrap; }
.table td .summary-link { white-space: normal; overflow-wrap: anywhere; }
.table-wrap:focus-visible { outline-offset: -2px; }
.mobile-table-label { display: none; }
.permission-differences { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.permission-differences li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.permission-missing { margin-top: 5px; }
.permission-missing summary { cursor: pointer; color: var(--muted); }
@media (max-width: 1000px) {
  .table-wrap-stack { overflow: visible; }
  .table-wrap-stack .table { display: block; min-width: 0; }
  .table-wrap-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .table-wrap-stack tbody, .table-wrap-stack tr { display: block; }
  .table-wrap-stack tr { padding-block: 7px; border-top: 1px solid var(--border); }
  .table-wrap-stack .table td {
    display: grid; grid-template-columns: minmax(0, 6.25rem) minmax(0, 1fr); gap: 8px 12px;
    align-items: start; min-width: 0; padding: 7px 14px; border: 0; white-space: normal; word-break: normal;
  }
  .table-wrap-stack .mobile-table-label { display: block; color: var(--muted); font-weight: 600; }
  .table-wrap-stack .mobile-table-value, .table-wrap-stack .table td :is(.pill, .button, .text-link) {
    min-width: 0; white-space: normal; overflow-wrap: anywhere;
  }
  .table-wrap-stack .table td .text-link { min-height: 32px; text-align: left; }
}
.workbench-nav-icon { display: grid; width: 20px; height: 20px; place-items: center; flex: none; border: 1px solid currentColor; border-radius: 5px; font-size: 10px; font-weight: 650; opacity: .85; }
.workbench-directory { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding-top: 4px; }
.workbench-directory button { display: flex; gap: 12px; align-items: flex-start; justify-content: space-between; text-align: left; padding: 13px; min-width: 0; border: 1px solid var(--border); border-radius: 9px; color: var(--ink); background: #faf9ff; cursor: pointer; font: inherit; }
.workbench-directory button:hover { border-color: #b8a9ee; background: var(--accent-soft); }
.workbench-directory button > span:last-child { color: var(--accent); font-size: 15px; }
.workbench-directory strong, .workbench-directory small { display: block; }
.workbench-directory small { margin-top: 4px; color: var(--muted); font-size: 12px; }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.download-card { display: grid; align-content: start; gap: 11px; padding: 19px; }
.download-card-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.download-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.download-actions .button { min-height: 44px; text-decoration: none; }
.workbench-content { min-width: 0; }
.workbench-tabs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.workbench-tabs .button[aria-current="page"] { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.account-facts { display: grid; gap: 2px; margin: 0; }
.account-facts > div { display: grid; grid-template-columns: minmax(90px, .4fr) minmax(0, 1fr); gap: 10px; padding-block: 8px; }
.account-facts > div + div { border-top: 1px solid var(--border); }
.account-facts dt { color: var(--muted); }
.account-facts dd { margin: 0; overflow-wrap: anywhere; }
.wrap-text { max-width: 100%; white-space: pre-wrap; overflow-wrap: anywhere; }
.field-checkbox { display: flex; align-items: center; gap: 9px; }
.workbench-preview { margin: 0; padding: 14px; border-radius: 9px; background: #f5f3fd; white-space: pre-wrap; overflow-wrap: anywhere; }
.workbench-form-status { margin: 0; overflow-wrap: anywhere; }
.workbench-content textarea { display: block; width: 100%; min-height: 78px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 7px; resize: vertical; font: inherit; }
.workbench-content textarea:focus-visible { outline-offset: 1px; }
.fd-original { max-width: min(70vw, 40rem); white-space: pre-wrap; overflow-wrap: anywhere; padding: 7px 9px; border-radius: 7px; background: #f5f3fd; font-size: 12px; }
.fd-check { display: flex; align-items: center; gap: 7px; }
.fd-mapping .form-grid { margin-top: 8px; }
@media (max-width: 900px) { .workbench-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 500px) { .workbench-directory { grid-template-columns: minmax(0, 1fr); } }
.activity-cell { display: flex; flex-direction: column; min-width: 105px; gap: 3px; }
.activity-name { color: var(--ink); font-weight: 650; }
.activity-time { white-space: nowrap; }
.activity-name { overflow-wrap: anywhere; }
.pill { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 3px 8px; border-radius: 99px; background: var(--accent-soft); color: #51409b; font-size: 11px; font-weight: 650; line-height: 1.45; white-space: nowrap; }
.pill-warn { background: #fff1da; color: var(--warn); }
.pill-ok { background: #e8f7ee; color: var(--ok); }
.pill-muted { background: #eef0f4; color: #545e71; }
.empty { display: grid; place-items: center; min-height: 83px; padding: 16px; color: var(--muted); text-align: center; }
.empty.error-text { color: var(--error); }
.mobile-card-title { display: none; }

.dialog { width: min(calc(100% - 24px), 650px); max-height: min(85vh, 900px); padding: 0; overflow: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--paper); color: var(--ink); box-shadow: 0 18px 60px #171c2933; }
.dialog::backdrop { background: #171c2980; }
.dialog:not([open]) { display: none; }
.dialog > .card-head { position: sticky; top: 0; z-index: 1; padding: 15px 20px; border-bottom: 1px solid var(--border); background: var(--paper); }
.dialog-content { display: grid; gap: 17px; padding: 20px; }
.dialog-content section > h3 { margin-bottom: 7px; }
.dialog-content section .detail-list + .detail-list { margin-top: 7px; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 16px; margin: 0; padding: 13px; border: 1px solid var(--border); border-radius: 11px; background: #fafafd; }
.detail-list > div { min-width: 0; }
.detail-list dt { color: var(--muted); font-size: 12px; }
.detail-list dd { margin: 1px 0 0; overflow-wrap: anywhere; }
.review-list { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.review-list > li { padding: 9px 11px; border: 1px solid var(--border); border-radius: 9px; }
.review-list > li > .muted { margin-left: 7px; font-size: 12px; }
.review-list > li > p { margin-top: 5px; overflow-wrap: anywhere; }

.member-actions { align-items: flex-start; flex-direction: column; gap: 5px; }
.feature-access-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.dialog:has(.feature-access-form) { width: min(calc(100% - 24px), 760px); }
.access-target { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 0; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.access-target dt, .access-review-footer small { color: var(--muted); font-size: 12px; }
.access-target dd { margin: 4px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.access-change { display: grid; grid-template-columns: 1fr auto; align-items: baseline; padding: 12px 14px; border: 1px solid var(--border); }
.access-change + .access-change { border-top: 0; }
.access-change p { grid-column: 1/-1; margin: 8px 0 0; color: var(--muted); }
.access-change-state { font-size: 12px; }
.access-change-state.grant { color: #226645; }
.access-change-state.revoke { color: #a52825; }
.access-settings { border-block: 1px solid var(--border); padding: 12px 0; }
.access-settings summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.access-settings fieldset { margin-block: 10px; }
.access-settings legend { margin-bottom: 8px; color: var(--muted); }
.access-review-footer { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin: 0 -20px -20px; padding: 12px 20px; border-top: 1px solid var(--border); background: var(--paper); }
.feature-access-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.feature-access-intro .pill { flex: 0 0 auto; }
.feature-access-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.feature-access-option { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 9px; min-height: 54px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.feature-access-option:has(input:checked) { border-color: #d8cdf7; background: #faf7ff; }
.feature-access-option:has(input:disabled) { cursor: default; }
.feature-access-option input { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent); cursor: inherit; }
.feature-access-option strong, .feature-access-option small { display: block; overflow-wrap: anywhere; }
.feature-access-option small { margin-top: 2px; color: var(--muted); font-size: 11px; }

@media (max-width: 480px) {
  .feature-access-options { grid-template-columns: minmax(0, 1fr); }
  .feature-access-intro { flex-wrap: wrap-reverse; }
}

@media (max-width: 1120px) and (min-width: 791px) {
  .overview-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 1000px) {
  .main-content, .topbar { padding-inline: 22px; }
}

@media (max-width: 790px) {
  .topbar { min-height: 53px; }
  .main-content { padding-top: 23px; }
}

@media (max-width: 620px) {
  .coworker-join .detail-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .coworker-join .detail-list > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); align-items: baseline; gap: 10px; }
  .coworker-join .detail-list dd { margin: 0; }
  .coworker-join .form-grid { grid-template-columns: minmax(0, 1fr); }
  .login-screen { padding: 16px 12px 26px; }
  .login-frame { grid-template-columns: minmax(0, 1fr); max-width: 440px; border-radius: 16px; }
  .login-aside { gap: 20px; padding: 20px 22px; }
  .login-intro h1 { margin: 6px 0; }
  .login-intro h1 br { display: none; }
  .login-intro p { max-width: none; font-size: 12px; }
  .login-aside-footer { display: none; }
  .login-panel { padding: 24px 22px; }
  .login-panel h2 { margin-bottom: 15px; font-size: 21px; }
  .demo-access { margin-top: 18px; padding-top: 13px; }
  .demo-button { min-height: 36px; }
  .main-content, .topbar { padding-inline: 15px; }
  .topbar { align-items: flex-start; gap: 7px; }
  .environment-tag { margin-top: 4px; padding-inline: 6px; }
  .grid-two, .overview-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .metric { min-height: 85px; padding: 10px 12px; }
  .card-head, .card > .section-heading { padding-inline: 13px; }
  .card-body { padding-inline: 13px; }
  .card > .form-grid, .card > .empty, .card > .review-list, .card > .detail-list { margin-inline: 13px; }
  .card > .pagination-meta, .filters { padding-inline: 13px; }
  .filters.form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters.form-grid > .inline-actions { grid-column: 1 / -1; }
  .table th:first-child, .table td:first-child { padding-left: 13px; }
  .table th:last-child, .table td:last-child { padding-right: 13px; }
  .table th, .table td { padding-block: 10px; }
  .table-wrap[aria-label="运行记录"] .table :is(th, td):last-child { position: sticky; right: 0; box-shadow: -5px 0 7px #22213f0c; }
  .table-wrap[aria-label="运行记录"] .table td:last-child { background: var(--paper); }
  .field input:not([type="checkbox"], [type="radio"]), .field select, .field textarea { font-size: 16px; }
}

@media (max-width: 385px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .account { gap: 6px; }
}
