/* Shared visual system. Business state, forms and commands stay in their modules. */
:root {
  --ink: #18243c;
  --muted: #62718a;
  --line: #dfe5ee;
  --canvas: #f4f6fa;
  --surface: #ffffff;
  --green: #087f70;
  --accent-soft: #e7f5f1;
  --nav: #111e35;
  --nav-muted: #a4b2ca;
  --blue: #4263eb;
  --sidebar-width: 246px;
  --header-height: 76px;
  color: var(--ink);
  background: var(--canvas);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); }
button, input, select, textarea { font: inherit; }
button, .page-action, .daily-shortcut { min-height: 42px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; }
button { background: var(--green); padding: 10px 16px; border: 1px solid transparent; }
button:hover:not(:disabled) { background: #066b5e; }
button.secondary { color: #34445e; background: white; border: 1px solid #d4dce8; }
button.secondary:hover:not(:disabled) { background: #f1f5fa; border-color: #abbad0; }
button.text-button { min-height: 34px; padding: 5px 2px; color: var(--green); border: 0; background: transparent; font-size: 14px; }
button.text-button:hover:not(:disabled) { color: #065c51; background: transparent; text-decoration: underline; text-underline-offset: 4px; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: var(--green); }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #7798f4; outline-offset: 3px;
}
input, select, textarea { background: #fff; color: var(--ink); border: 1px solid #cfd8e5; border-radius: 8px; font-size: 14px; }
input, select { min-height: 44px; padding: 10px 12px; }
textarea { padding: 13px 15px; line-height: 1.8; }
input::placeholder, textarea::placeholder { color: #7a889e; }
label { color: #34445e; font-size: 14px; font-weight: 600; }
input[type="checkbox"], input[type="radio"] { min-height: auto; accent-color: var(--green); }
.muted { color: var(--muted); }
h1, h2, h3, h4 { color: var(--ink); }
h2 { font-size: 21px; line-height: 1.5; }
h3 { font-size: 17px; line-height: 1.55; }
h4 { font-size: 15px; line-height: 1.6; }
.topbar { height: var(--header-height); padding: 0 30px 0 0; display: flex; gap: 26px; position: sticky; top: 0; z-index: 40; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 2px 8px #14213a03; }
.topbar .brand { width: var(--sidebar-width); height: var(--header-height); align-self: stretch; display: flex; align-items: center; gap: 12px; padding: 0 25px; background: var(--nav); color: white; flex: none; letter-spacing: 1px; }
.topbar .brand .mark { width: 38px; height: 38px; border-radius: 10px; background: #11a58b; color: white; font-size: 24px; box-shadow: 0 3px 12px #0002; }
.topbar .brand strong { display: block; font-size: 23px; line-height: 1.1; }
.topbar .brand-caption { display: block; padding: 0; margin-top: 6px; border: 0; color: #a7b7d0; font-size: 10px; font-weight: 400; letter-spacing: 1.3px; }
.topbar-context { min-width: 0; flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.workbench-breadcrumb { color: #53647e; font-size: 13px; white-space: nowrap; }
.workbench-breadcrumb::before { content: '工作台 / '; color: #8b98ab; }
.quick-switch { margin-right: auto; margin-left: 10px; width: 270px; min-height: 40px; padding: 9px 12px; font-size: 13px; font-weight: 400; background: #f5f7fb !important; color: #66758c !important; border-color: #e2e8f1 !important; gap: 20px; }
.quick-switch:hover:not(:disabled) { border-color: #afbed4 !important; }
.quick-switch .quick-search-icon { display: block; width: 19px; height: 19px; flex: none; }
.quick-switch > span { flex: 1; text-align: left; }
.quick-switch kbd { padding: 2px 5px; font-size: 11px; border-color: #d6dfea; color: #74839a; }
.topbar-label { font-size: 12px; color: #6b7a91; letter-spacing: 0; }
.topbar .badge { padding: 5px 10px; font-size: 12px; font-weight: 500; border: 1px solid #cce9dd; background: #ecf8f1; color: #16714c; }
.topbar .badge::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #20a776; margin-right: 6px; vertical-align: 2px; }
.topbar .workspace-heading { position: static; margin: 0; gap: 0; }
.workspace-heading button { min-height: 36px; padding: 5px 1px; font-size: 13px; color: #6a7890; }
.workbench-sidebar { position: fixed; left: 0; top: var(--header-height); bottom: 0; width: var(--sidebar-width); padding: 27px 15px 20px; background: var(--nav); color: white; border-right: 0; overflow-y: auto; z-index: 35; scrollbar-width: thin; scrollbar-color: #34445e transparent; }
.nav-caption { font-size: 11px; font-weight: 500; color: #8093b1; margin: 0 12px 17px; padding: 0; letter-spacing: 1.6px; }
.workbench-links { display: flex; flex-direction: column; gap: 5px; }
.nav-section-label { font-size: 11px; letter-spacing: .8px; font-weight: 500; color: #8395b3; margin: 20px 12px 7px; }
.workbench-sidebar a { display: flex; min-height: 47px; align-items: center; gap: 12px; padding: 11px 14px; border: 0; border-radius: 8px; font-size: 14px; font-weight: 500; line-height: 1.5; color: #b4c1d7; text-decoration: none; transition: background .15s ease, color .15s ease; }
.workbench-sidebar a:hover { color: #fff; background: #ffffff0b; }
.workbench-sidebar a > span { width: 20px; height: 20px; opacity: 1; display: inline-flex; flex: none; }
.workbench-sidebar a svg { width: 20px; height: 20px; }
.workbench-sidebar a[aria-current="page"] { color: #fff; background: #087f70; box-shadow: 0 4px 12px #0001; font-weight: 600; }
.workbench-sidebar a[aria-current="page"]::after { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #b2f1d9; margin-left: auto; }
.sidebar-bottom { border-color: #ffffff12; padding-top: 14px; margin-top: 26px; }
.sidebar-bottom > a { color: #b4c1d7; }
.sidebar-identity { display: flex; gap: 10px; align-items: center; border-top: 1px solid #ffffff12; margin: 22px 10px 0; padding-top: 20px; }
.sidebar-identity .identity-mark { width: 35px; height: 35px; border-radius: 50%; background: #2a3a54; color: #b9eedb; font-size: 17px; flex: none; }
.sidebar-identity strong { display: block; font-size: 13px; font-weight: 600; color: #e9eff9; }
.sidebar-identity small { display: block; font-size: 10px; color: #91a2bf; line-height: 1.6; margin-top: 3px; }
.workbench-connected main { max-width: none; margin-left: var(--sidebar-width); padding: 31px 34px 64px; min-height: calc(100vh - var(--header-height)); }
.workbench-connected .intro { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 20px; align-items: center; margin-bottom: 28px; padding: 0; }
.intro .eyebrow { color: #7686a0; font-size: 11px; letter-spacing: 1.2px; font-weight: 600; margin: 0 0 5px; }
.intro h1 { color: #17243d; font-size: 29px; line-height: 1.4; font-weight: 700; letter-spacing: -.8px; margin: 0 0 7px; }
.page-title-block > p:last-child { color: #65748c; margin: 0; font-size: 14px; line-height: 1.75; }
.page-header-actions { display: flex; align-items: center; gap: 10px; }
.page-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; text-decoration: none; color: white; background: var(--green); border: 1px solid var(--green); white-space: nowrap; box-shadow: 0 3px 6px #087f7012; }
.page-action:hover { background: #066b5e; color: white; }
.page-action.secondary { color: #34445e; background: #fff; border-color: #d5ddea; box-shadow: none; }
.page-action.secondary:hover { background: #f0f4fa; }
.panel { padding: 25px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 3px 14px #17243d03; }
.panel > p, .panel > .muted { font-size: 14px; line-height: 1.8; }
.workbench-page > details.panel > summary, .settings-group > details.panel > summary { font-size: 17px; color: var(--ink); font-weight: 600; padding-bottom: 0; }
.workbench-page > details.panel[open] > summary, .settings-group > details.panel[open] > summary { margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid #e8edf4; }
.section-title { gap: 16px; margin-bottom: 20px; }
.section-title h2, .section-title h3 { margin: 0; }
.actions, .page-actions { gap: 10px; }
.page-actions { font-size: 13px; }
.page-actions button { min-height: 38px; font-size: 13px; padding: 8px 13px; }
.local-preview-notice { padding: 11px 15px; font-size: 12px; line-height: 1.6; color: #556987; background: #eaf1fb; border: 1px solid #d2e0f4; border-radius: 8px; }
#message, #content-message, #creation-message, #admin-message { border-radius: 8px; font-size: 14px; line-height: 1.7; }
.error { color: #b93838; }
dialog { padding: 28px; width: 650px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 40px); overflow-y: auto; border: 1px solid #d3dce9; border-radius: 15px; color: var(--ink); box-shadow: 0 28px 100px #101d3540; }
dialog::backdrop { background: #0c183baa; backdrop-filter: blur(4px); }
dialog h2 { font-size: 23px; line-height: 1.5; }
dialog .eyebrow { color: #6c7b94; font-size: 11px; letter-spacing: 1px; }
.dialog-body { padding: 20px; line-height: 1.95; font-size: 15px; background: #f4f7fb; border-radius: 9px; }
.quick-switch-dialog { width: 580px; }
.quick-switch-dialog h2 { font-size: 20px; }
#workbench-switcher-items a { padding: 14px; border-radius: 8px; border: 1px solid transparent; }
#workbench-switcher-items a:hover, #workbench-switcher-items a:focus-visible { background: #edf4fc; border-color: #d6e3f4; }
#workbench-switcher-items strong { font-size: 15px; color: var(--ink); }
#workbench-switcher-items small { font-size: 13px; line-height: 1.7; color: var(--muted); }
.settings-navigation { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; padding: 6px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.settings-navigation button { min-height: 43px; padding: 10px 18px; font-size: 14px; color: #63728a; border: 0; background: transparent; }
.settings-navigation button[aria-pressed="true"] { color: white; background: #243d66; box-shadow: 0 3px 7px #243d661a; }
.settings-navigation button:hover:not([aria-pressed="true"]) { color: #243d66; background: #edf2f9; }
.settings-group { min-width: 0; }
.settings-group > .panel { margin-bottom: 20px; }
.settings-group > .settings-group-intro { display: flex; justify-content: space-between; gap: 20px; padding: 5px 0 15px; }
.settings-group-intro h2 { font-size: 19px; margin: 0 0 3px; }
.settings-group-intro p { font-size: 13px; color: var(--muted); margin: 0; }
#workbench-settings { max-width: 1280px; }
#workbench-settings label, #workbench-settings .runtime-note, #workbench-settings .runtime-panel p, #workbench-settings .muted { font-size: 14px; line-height: 1.8; }
#workbench-settings .runtime-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
#workbench-settings .runtime-grid label { margin-top: 0; }
#workbench-settings .runtime-grid input, #workbench-settings .runtime-grid select { min-height: 44px; }
#workbench-settings .runtime-panel > section { margin-top: 27px; padding-top: 22px; border-top: 1px solid #e6ecf4; }
#workbench-settings .runtime-panel h3 { font-size: 17px; }
#workbench-settings details:not(.panel) { margin-top: 20px; }
#workbench-settings details:not(.panel) > summary { font-size: 14px; font-weight: 600; color: #425775; cursor: pointer; }
#workbench-settings .task { margin-top: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 9px; background: #fafbfd; }
#workbench-settings .task p { font-size: 13px; }
#workbench-settings .actions { align-items: center; }
#workbench-settings #gallery-session-panel { padding: 20px; border: 1px solid #cddfef; border-radius: 11px; background: #f4f8fe; }
#workbench-settings #gallery-session-panel h3 { color: #24496f; }
/* Account management follows the same type scale and layout as the workbench. */
#workbench-admin .admin-heading { align-items: center; margin-bottom: 23px; padding: 22px 25px; border: 1px solid #d8e3f1; border-radius: 12px; background: #edf3fb; }
#workbench-admin .admin-eyebrow { display: none; }
#workbench-admin .admin-heading h2 { font-size: 20px; line-height: 1.5; letter-spacing: -.4px; margin: 0 0 5px; }
#workbench-admin .admin-heading p { font-size: 13px; color: #5b6f8e; }
#workbench-admin .admin-closed-signup { font-size: 12px; padding: 7px 11px; background: #fff; color: #355477; border-color: #ccdaeb; }
#workbench-admin .admin-stats { gap: 18px; margin-bottom: 24px; }
#workbench-admin .admin-stats article { padding: 23px; border-radius: 12px; border-color: var(--line); background: #fff; box-shadow: 0 3px 12px #14243b03; }
#workbench-admin .admin-stats article:first-child { border-top: 3px solid #087f70; background: white; }
#workbench-admin .admin-stats article:nth-child(2) { border-top: 3px solid #4263eb; }
#workbench-admin .admin-stats article:nth-child(3) { border-top: 3px solid #c78b35; }
#workbench-admin .admin-stats article:nth-child(4) { border-top: 3px solid #8b5ac7; }
#workbench-admin .admin-stats span { font-size: 14px; color: #586984; }
#workbench-admin .admin-stats strong { font-size: 35px; line-height: 1.3; color: #192a45; margin: 9px 0 5px; }
#workbench-admin .admin-stats small { font-size: 12px; color: #73839b; }
#workbench-admin .admin-panel-title h3 { font-size: 18px; }
#workbench-admin .admin-panel-title p { font-size: 13px; color: var(--muted); }
#workbench-admin .admin-heading-actions button { font-size: 14px; min-height: 40px; padding: 10px 15px; }
#workbench-admin .admin-filter { grid-template-columns: minmax(200px,1fr) 150px 150px auto; padding-bottom: 20px; gap: 12px; }
#workbench-admin .admin-filter input, #workbench-admin .admin-filter select, #workbench-admin .admin-filter button { min-height: 43px; font-size: 14px; }
#workbench-admin .admin-search { max-width: 420px; }
#workbench-admin .admin-accounts-table { font-size: 14px; }
#workbench-admin .admin-accounts-table th { padding: 15px 12px; background: #f5f7fb; color: #65758e; font-size: 12px; font-weight: 600; }
#workbench-admin .admin-accounts-table td { padding: 19px 12px; border-color: #e7edf5; }
#workbench-admin .admin-account-name strong { font-size: 14px; color: #1d2e49; }
#workbench-admin .admin-account-name small { font-size: 12px; color: #74849c; }
#workbench-admin .admin-avatar { width: 39px; height: 39px; border-radius: 11px; color: #365e95; background: #eaf1fc; font-size: 15px; }
#workbench-admin .admin-primary-tag, #workbench-admin .admin-self-tag { font-size: 11px; }
#workbench-admin .admin-role, #workbench-admin .admin-status { font-size: 12px; padding: 5px 9px; border-radius: 6px; }
#workbench-admin .admin-date { font-size: 12px; color: #6a7b94; }
#workbench-admin .admin-row-actions { gap: 14px; }
#workbench-admin .admin-row-actions button { font-size: 13px; min-height: 36px; }
#workbench-admin .admin-audit-list strong { font-size: 14px; }
#workbench-admin .admin-audit-list small, #workbench-admin .admin-audit-list time { font-size: 12px; }
#workbench-admin .admin-guidance h3 { font-size: 17px; }
#workbench-admin .admin-guidance p, #workbench-admin .admin-guidance li { font-size: 13px; line-height: 1.9; }
.admin-dialog h2 { font-size: 23px; }
.admin-dialog p, .admin-dialog label, .admin-dialog input, .admin-dialog select { font-size: 14px; }
.admin-dialog button { font-size: 14px; min-height: 42px; }
/* A distinct entry screen without adding another sign-up path. */
body:not(.workbench-connected) main { max-width: 1100px; margin: 0 auto; padding: 60px 30px; }
body:not(.workbench-connected) .intro { display: none; }
body:not(.workbench-connected) .workbench-breadcrumb { display: none; }
#login-panel { max-width: none; width: 100%; padding: 0; margin: 20px auto; display: grid; grid-template-columns: .95fr 1fr; overflow: hidden; border: 1px solid #d6dfea; border-radius: 18px; box-shadow: 0 18px 70px #1629430c; }
.login-brand { padding: 50px 38px; background: #12213a; color: #d6e3f5; }
.login-brand > span { display: inline-flex; padding: 7px 10px; color: #a0e7d6; border: 1px solid #2c5c61; border-radius: 6px; background: #173b48; font-size: 12px; }
.login-brand h2 { color: #f4f7ff; font-size: 30px; line-height: 1.55; letter-spacing: -1px; margin: 27px 0 15px; white-space: pre-line; }
.login-brand > p { color: #a7b8d2; font-size: 14px; line-height: 1.9; }
.login-workflow { display: grid; gap: 0; margin-top: 32px; }
.login-workflow > div { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid #ffffff0f; }
.login-workflow b { color: #7dd5c1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; font-size: 12px; background: #1b3a4c; }
.login-workflow strong { color: #dce6f7; font-size: 14px; font-weight: 500; }
.login-form-surface { padding: 43px 42px; background: white; }
.login-form-surface h2 { font-size: 24px; margin: 0 0 8px; }
.login-form-surface > p { color: var(--muted); line-height: 1.8; font-size: 14px; }
.login-form-surface form { margin-top: 26px; }
.login-form-surface form > label { margin-top: 20px; margin-bottom: 8px; font-size: 14px; }
.login-form-surface input { min-height: 45px; }
.login-form-surface form > button[type="submit"] { width: 100%; margin-top: 24px; min-height: 45px; }
body.workbench-connected.writing-focus main { max-width: 1120px; margin-inline: auto; }
@media(min-width:1800px) {
  .workbench-connected main { padding-inline: 46px; }
}
@media(max-width:1200px) {
  :root { --sidebar-width: 216px; }
  .topbar { padding-right: 22px; gap: 22px; }
  .topbar .brand { padding-inline: 20px; }
  .topbar-label, .workbench-breadcrumb { display: none; }
  .quick-switch { width: 250px; margin-left: 0; }
  .workbench-connected main { padding-inline: 25px; }
  #workbench-admin .admin-stats { gap: 12px; }
  #workbench-admin .admin-stats article { padding: 19px; }
  #workbench-admin .admin-filter { grid-template-columns: minmax(160px,1fr) 130px 130px auto; }
}
@media(max-width:900px) {
  #workbench-admin .admin-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .intro h1 { font-size: 26px; }
  .page-title-block > p:last-child { font-size: 13px; }
  #workbench-admin .admin-filter { grid-template-columns: 1fr 1fr auto; }
  #workbench-admin .admin-filter .admin-search { grid-column: 1/-1; max-width: none; }
  #login-panel { grid-template-columns: .9fr 1fr; }
  .login-brand { padding-inline: 28px; }
  .login-brand h2 { font-size: 26px; }
  .login-form-surface { padding-inline: 30px; }
}
@media(max-width:800px) {
  :root { --header-height: 66px; }
  .topbar { padding: 0 16px; gap: 12px; background: var(--nav); border-color: #24334c; }
  .topbar .brand { width: auto; height: auto; background: transparent; padding: 0; gap: 9px; }
  .topbar .brand strong { font-size: 21px; }
  .topbar .brand .mark { width: 32px; height: 32px; border-radius: 8px; font-size: 20px; }
  .topbar .brand-caption, .topbar .badge, .topbar-label { display: none; }
  .topbar-context { gap: 13px; }
  .quick-switch { width: 37px; height: 37px; margin: 0 0 0 auto; padding: 8px; min-height: 37px; justify-content: center; background: #22344f !important; border: 0 !important; }
  .quick-switch > span { display: none; }
  .quick-switch kbd { display: none; }
  .topbar .quick-switch .quick-search-icon { color: #e0e9f8; }
  .topbar .workspace-heading button { color: #b6c4da; font-size: 12px; min-height: 34px; }
  .nav-menu-button { display: grid; place-items: center; width: 34px; height: 36px; min-height: 36px; flex: none; border: 0 !important; padding: 5px; color: #e0e9f8; background: #22344f !important; border-radius: 7px; }
  .topbar #workbench-menu { color: #e0e9f8; }
  .workbench-sidebar { position: fixed; top: var(--header-height); bottom: 0; left: 0; width: 256px; margin: 0; padding: 26px 15px 20px; background: var(--nav); z-index: 55; display: none; border: 0; }
  .workbench-navigation-open .workbench-sidebar { display: flex; flex-direction: column; }
  .workbench-links { flex-direction: column; overflow: visible; padding: 0; }
  .workbench-sidebar .nav-caption { display: block; }
  .workbench-sidebar a { border: 0; font-size: 14px; min-height: 46px; border-radius: 8px; background: transparent; }
  .workbench-sidebar a[aria-current="page"] { background: #087f70; }
  .workbench-sidebar .sidebar-bottom { margin-top: 22px; padding-top: 14px; border-top: 1px solid #ffffff12; }
  .sidebar-bottom a { width: auto; }
  .nav-dismiss { position: fixed; inset: var(--header-height) 0 0; width: 100%; height: calc(100dvh - var(--header-height)); border: 0; border-radius: 0; background: #101d3575; z-index: 50; backdrop-filter: blur(2px); }
  .nav-dismiss:hover:not(:disabled) { background: #101d3575; }
  .workbench-connected main { margin-left: 0; max-width: none; padding: 24px 20px 50px; }
  .workbench-connected .intro { margin-bottom: 22px; gap: 14px; }
  .page-action { font-size: 13px; min-height: 39px; padding: 9px 12px; }
  #workbench-settings { max-width: none; }
  #workbench-admin .admin-accounts-table { white-space: normal; }
}
@media(max-width:540px) {
  .workbench-connected main { padding: 23px 15px 45px; }
  .workbench-connected .intro { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .intro .eyebrow { font-size: 10px; }
  .intro h1 { font-size: 25px; margin-bottom: 5px; }
  .page-title-block > p:last-child { font-size: 13px; }
  .page-header-actions:empty { display: none; }
  .page-header-actions { justify-content: flex-start; }
  .panel { padding: 19px 16px; border-radius: 11px; }
  .panel > p, .panel > .muted { font-size: 13px; }
  .section-title { flex-wrap: wrap; gap: 12px; }
  button, .page-action { font-size: 13px; }
  .actions button { flex: 0 1 auto; }
  .actions { gap: 8px; }
  .settings-navigation { flex-wrap: nowrap; overflow-x: auto; padding: 5px; gap: 4px; scrollbar-width: thin; }
  .settings-navigation button { white-space: nowrap; padding: 10px 14px; min-height: 40px; font-size: 13px; }
  #workbench-settings .runtime-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  #workbench-settings label, #workbench-settings .runtime-note, #workbench-settings .runtime-panel p, #workbench-settings .muted { font-size: 13px; }
  #workbench-admin .admin-heading { padding: 18px; align-items: flex-start; flex-direction: column; gap: 13px; }
  #workbench-admin .admin-heading h2 { font-size: 19px; }
  #workbench-admin .admin-closed-signup { font-size: 11px; }
  #workbench-admin .admin-stats { gap: 10px; }
  #workbench-admin .admin-stats article { padding: 16px 14px; }
  #workbench-admin .admin-stats strong { font-size: 29px; }
  #workbench-admin .admin-stats span { font-size: 13px; }
  #workbench-admin .admin-stats small { font-size: 11px; }
  #workbench-admin .admin-panel-title { flex-wrap: wrap; }
  #workbench-admin .admin-heading-actions { width: 100%; justify-content: flex-end; }
  #workbench-admin .admin-filter { grid-template-columns: 1fr 1fr; gap: 9px; }
  #workbench-admin .admin-filter button { grid-column: 1/-1; }
  #workbench-admin .admin-accounts-table td { padding: 10px 0; }
  #workbench-admin .admin-row-actions { flex-wrap: wrap; gap: 13px; }
  dialog { padding: 23px 18px; max-width: calc(100vw - 20px); }
  dialog h2 { font-size: 21px; }
  body:not(.workbench-connected) main { padding: 28px 15px; }
  #login-panel { grid-template-columns: minmax(0,1fr); margin-top: 10px; }
  .login-brand { padding: 24px; }
  .login-brand > span { padding: 5px 8px; font-size: 11px; }
  .login-brand h2 { font-size: 24px; margin: 18px 0 10px; }
  .login-brand > p { font-size: 13px; margin-bottom: 0; }
  .login-workflow { display: none; }
  .login-form-surface { padding: 28px 24px 32px; }
  .login-form-surface h2 { font-size: 22px; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

.site-filing-footer { margin-top: 28px; padding: 18px 12px 8px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; font-size: 12px; line-height: 1.8; }
.site-filing-footer a { color: inherit; text-decoration: none; }
.site-filing-footer a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
