/* Shared UI foundation. Business layouts retain their own density and semantics. */
body.auth-shell, body.workbench-shell {
  --bg: #f4f6f6; --panel: #fff; --ink: #202d32; --ink-2: #52646a; --ink-3: #64767b;
  --line: #dfe6e5; --line-soft: #edf1f0; --brand: #087461; --brand-2: #065d4e;
  --brand-tint: #e8f3ef; --radius: 10px;
  color: var(--ink); background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; line-height: 1.65;
}
.ui-icon { display: inline-block; flex: 0 0 auto; vertical-align: middle; }
body.workbench-shell .workspace { border: 0; }
body.workbench-shell .workspace :where(input:not([type=checkbox]):not([type=radio]), select, textarea) { border-color: #bac9c5; border-radius: 7px; }
body.workbench-shell .workspace :where(input, select, textarea, button) { font-family: inherit; }
body.workbench-shell .workspace :where(input:not([type=checkbox]):not([type=radio]), select, button) { min-height: 44px; }
body.workbench-shell .workspace :where(input, select, textarea)[aria-invalid=true] { border-color: #b73437; }
body.workbench-shell .workspace .business-table :where(th, td) { border-left: 0; border-right: 0; border-color: var(--line); }
body.workbench-shell .workspace .business-table th { background: #f7f9f8; color: var(--ink-2); }
body.workbench-shell .workspace .project-navigation-compact { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; position: relative; top: auto; border: 0; padding: 0; margin: 20px 0 24px; }
body.workbench-shell .workspace .project-navigation-compact .project-tabs { flex: 1 1 320px; min-width: 0; }
body.workbench-shell .workspace .project-navigation-compact > .project-section-switcher { margin: 0; }
body.workbench-shell .workspace .project-navigation-compact > .project-primary-actions { margin: 0; padding: 0; border: 0; }
body.workbench-shell .workspace .project-navigation-compact .project-more-actions { margin: 0; }
body.workbench-shell .workspace .project-navigation-compact .project-section-switcher > summary,
body.workbench-shell .workspace .project-navigation-compact .project-more-actions > summary { min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-size: 13px; color: var(--ink-2); }
body.workbench-shell .workspace .project-navigation-compact .project-tabs { margin: 0; box-shadow: none; border-radius: 8px; }
body.workbench-shell .workspace .project-navigation-compact .project-tabs > a { min-height: 38px; }
body.workbench-shell .workspace .project-navigation-compact .project-primary-actions > details[open] { max-width: 380px; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px; }
body.workbench-shell .workspace .project-navigation-compact .project-primary-actions > details[open] > a { display: flex; margin: 4px 0; }
body.workbench-shell .workspace .project-section-menu { left: auto; right: 0; max-width: min(440px, calc(100vw - 40px)); max-height: min(540px, 58svh); overflow-y: auto; overscroll-behavior: contain; }
body.workbench-shell .workspace .project-section-menu a, body.workbench-shell .workspace .project-more-menu a { min-height: 44px; font-size: 13px; }
body.workbench-shell .workspace .business-heading h1 { font-weight: 650; line-height: 1.45; }
body.workbench-shell .workspace .task-stat-strip strong { color: var(--ink); }
body.workbench-shell .workspace .task-stat-strip strong.overdue { color: #9c4c18; }
body.workbench-shell .workspace .cost-sr-only { width: 1px; height: 1px; padding: 0; }
.skip-link { position: fixed; top: 8px; left: 12px; z-index: 1000; transform: translateY(-160%); padding: 10px 16px; border-radius: 6px; background: #fff; color: #065d4e; box-shadow: 0 2px 12px #20332c30; }
.skip-link:focus { transform: translateY(0); }
:where(.auth-shell, .workbench-shell) :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #087461; outline-offset: 3px;
}
:where(.auth-shell, .workbench-shell) a { text-underline-offset: 3px; }
.auth-shell .topbar { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: none; }
.auth-shell .topbar-inner { max-width: 1160px; min-height: 88px; padding: 16px 40px; margin: auto; }
.auth-shell .brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.auth-shell .brand-symbol { width: 40px; height: 40px; }
.auth-shell .brand strong { display: block; font-size: 21px; letter-spacing: .06em; line-height: 1.3; }
.auth-shell .brand small { display: block; color: var(--ink-2); font-size: 11px; letter-spacing: .1em; margin-top: 3px; }
.auth-shell .context { display: none; }
.auth-shell main { max-width: 1160px; padding: 48px 40px; margin: auto; }
.auth-layout { min-height: min(680px, calc(100svh - 184px)); display: grid; grid-template-columns: minmax(0, 1fr) 408px; align-items: center; gap: 64px; }
.auth-intro { padding: 0 0 24px; }
.auth-shell .eyebrow { margin: 0 0 22px; color: var(--brand); font-size: 13px; font-weight: 650; letter-spacing: .1em; }
.auth-intro h1 { margin: 0 0 24px; font-size: clamp(32px, 3.5vw, 44px); line-height: 1.45; letter-spacing: -.035em; font-weight: 650; }
.auth-description { color: var(--ink-2); font-size: 15px; line-height: 1.9; margin: 0; }
.auth-capabilities { list-style: none; margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 24px; }
.auth-capabilities li { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; }
.auth-capabilities .ui-icon { color: var(--brand); width: 18px; height: 18px; }
.auth-panel { padding: 34px 32px 26px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 14px 44px #203b3210; }
.auth-panel-heading { margin-bottom: 28px; }
.auth-panel h2 { margin: 0 0 6px; color: var(--ink); font-size: 25px; font-weight: 650; letter-spacing: -.02em; }
.auth-panel-heading p { margin: 0; font-size: 14px; color: var(--ink-2); }
.auth-form { display: grid; gap: 20px; }
.auth-field label { display: block; margin-bottom: 7px; color: var(--ink); font-size: 14px; font-weight: 600; }
.auth-field input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #bac9c5; border-radius: 7px; background: #fff; color: var(--ink); font: inherit; font-size: 16px; box-sizing: border-box; }
.auth-field input:hover { border-color: #8da69d; }
.auth-field input[aria-invalid="true"] { border-color: #b73437; }
.password-control { position: relative; }
.password-control input { padding-right: 52px; }
.auth-panel .password-toggle { position: absolute; inset: 2px 2px 2px auto; width: 44px; padding: 0; min-height: 44px; background: transparent; color: var(--ink-2); border: 0; border-radius: 5px; display: inline-flex; align-items: center; justify-content: center; }
.auth-panel .password-toggle[hidden] { display: none; }
.auth-panel .password-toggle:hover, .auth-panel .password-toggle[aria-pressed="true"] { color: var(--brand); background: var(--brand-tint); }
.auth-panel .auth-submit { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; margin-top: 4px; color: #fff; background: var(--brand); border: 1px solid var(--brand); border-radius: 7px; font: inherit; font-size: 15px; font-weight: 650; }
.auth-panel .auth-submit:hover { background: var(--brand-2); }
.auth-recovery { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 12px; color: var(--brand-2); text-decoration: none; font-size: 13px; }
.auth-recovery .ui-icon { width: 15px; height: 15px; }
.auth-recovery:hover { text-decoration: underline; }
.auth-access-note { margin: 18px 0 0; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--ink-2); font-size: 12px; line-height: 1.8; }
.auth-error, .auth-message { padding: 12px; border: 1px solid #edc8c8; border-radius: 7px; background: #fff5f4; color: #9c282d; font-size: 13px; margin: 0 0 20px; overflow-wrap: anywhere; }
.auth-message { color: var(--brand-2); border-color: #bdddd1; background: #edf7f2; }
.auth-account-layout { max-width: 480px; margin: 24px auto 40px; }
.account-back { display: inline-flex; align-items: center; min-height: 44px; margin-bottom: 12px; color: var(--brand-2); font-size: 14px; text-decoration: none; }
body.auth-shell .auth-panel h1, body.workbench-shell .account-password-page h1 { font-size: 25px; margin: 0 0 8px; line-height: 1.45; }
.password-guidance { color: var(--ink-2); font-size: 13px; margin: 0 0 24px; }
.field-errors { font-size: 13px; color: #9c282d; margin-top: 6px; }
.auth-form .errorlist { list-style: none; margin: 0; padding: 0; color: #9c282d; font-size: 13px; }
.auth-form .field-help { color: var(--ink-2); font-size: 13px; margin: 6px 0 0; }
body.workbench-shell .account-password-page { max-width: 720px; border: 0; }
.account-password-panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px; }
.account-password-panel .auth-form { max-width: 440px; }
.account-password-panel .auth-submit { min-height: 48px; background: var(--brand); color: #fff; border: 0; border-radius: 7px; font: inherit; font-weight: 600; }

/* Persistent navigation: icons supplement labels, never replace them. */
body.workbench-shell .brand { text-decoration: none; }
body.workbench-shell .nav a { gap: 12px; text-decoration: none; }
body.workbench-shell .nav .ui-icon { width: 19px; height: 19px; opacity: .86; }
body.workbench-shell .nav a.active .ui-icon { opacity: 1; }
body.workbench-shell .account-name { display: block; color: var(--ink); overflow-wrap: anywhere; margin: 5px 0; }
body.workbench-shell .context .linkish { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
body.workbench-shell .context .linkish .ui-icon { width: 16px; height: 16px; }
body.workbench-shell .eyebrow { color: var(--brand-2); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
body.workbench-shell .team-entry-heading { margin: 0 0 28px; align-items: flex-start; gap: 20px; }
body.workbench-shell .team-entry-heading h1 { margin: 0 0 8px; font-size: 30px; line-height: 1.35; letter-spacing: -.03em; }
body.workbench-shell .team-entry-description { margin: 0; color: var(--ink-2); font-size: 14px; }
body.workbench-shell .team-workspace { border: 0; box-shadow: none; }
body.workbench-shell .team-workspace .desktop-app-only > .team-section:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
body.workbench-shell .team-workspace .operations-table { background: #fff; }
body.workbench-shell .team-workspace .business-table th, body.workbench-shell .team-workspace .business-table td { border-left: 0; border-right: 0; }
.team-entry-account { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin: -10px 0 24px; color: var(--ink-2); font-size: 13px; }
body.workbench-shell .team-entry-account button { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 0; background: transparent; border: 0; color: var(--ink-2); font: inherit; }
.team-entry-account .ui-icon { width: 16px; height: 16px; }
body.workbench-shell .team-selector { padding: 28px; margin: 0 0 28px; max-width: 760px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.team-selector-heading { display: flex; gap: 14px; align-items: flex-start; }
.team-selector-heading > .ui-icon { width: 26px; height: 26px; color: var(--brand); margin-top: 2px; }
body.workbench-shell .team-selector h2 { margin: 0 0 5px; font-size: 19px; font-weight: 650; line-height: 1.5; }
.team-selector-heading p { margin: 0; color: var(--ink-2); font-size: 14px; }
body.workbench-shell .team-selector .switch-form { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin: 24px 0 0; }
body.workbench-shell .team-selector .switch-form > div { flex: 1 1 260px; max-width: none; min-width: 0; }
.team-selector label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; }
body.workbench-shell .team-selector select { display: block; width: 100%; min-height: 48px; padding: 10px 38px 10px 12px; font: inherit; border: 1px solid #bac9c5; border-radius: 7px; background-color: #fff; color: var(--ink); }
body.workbench-shell .team-selector button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 48px; padding: 10px 22px; color: #fff; background: var(--brand); border: 1px solid var(--brand); border-radius: 7px; font: inherit; font-weight: 600; }
body.workbench-shell .team-entry-empty { max-width: 760px; padding: 44px 28px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center; }
.team-entry-empty > .ui-icon { color: var(--brand); width: 32px; height: 32px; margin-bottom: 12px; }
body.workbench-shell .team-entry-empty h2 { margin: 0 0 8px; font-size: 20px; }
.team-entry-empty p { color: var(--ink-2); margin: 0 0 20px; font-size: 14px; }
.team-entry-empty .secondary-action { display: inline-flex; min-height: 44px; align-items: center; padding: 8px 16px; text-decoration: none; }
@media (min-width: 761px) {
  body.workbench-shell .topbar { width: 240px; }
  body.workbench-shell .topbar-inner { padding: 28px 16px 20px; gap: 18px; overflow: hidden; }
  body.workbench-shell .topbar-inner > .brand, body.workbench-shell .nav-search, body.workbench-shell .context { flex-shrink: 0; }
  body.workbench-shell .nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
  body.workbench-shell .nav > * { flex-shrink: 0; }
  body.workbench-shell .brand { gap: 11px; padding: 0 8px; }
  body.workbench-shell .brand-symbol { width: 38px; height: 38px; }
  body.workbench-shell .brand strong { display: block; font-size: 20px; line-height: 1.4; }
  body.workbench-shell .brand small { display: block; font-size: 11px; color: var(--ink-2); }
  body.workbench-shell .nav-search { margin: 0 4px; }
  body.workbench-shell .nav-search input { font-size: 13px; min-height: 44px; }
  body.workbench-shell .nav-search input::placeholder { color: var(--ink-3); }
  body.workbench-shell .nav-label { padding: 18px 12px 7px; color: var(--ink-2); font-size: 11px; letter-spacing: .08em; }
  body.workbench-shell .nav a { min-height: 44px; font-size: 14px; border-radius: 7px; color: var(--ink-2); }
  body.workbench-shell .nav a.active { color: var(--brand-2); background: var(--brand-tint); }
  body.workbench-shell .context { padding: 18px 8px 0; color: var(--ink-2); font-size: 12px; gap: 6px; }
  body.workbench-shell .context .linkish { color: var(--ink-2); min-height: 38px; }
  body.workbench-shell main { margin-left: 240px; padding: 36px 40px 56px; }
  body.workbench-shell .team-entry-account { display: none; }
  /* Project information, source figures and actions share a restrained hierarchy. */
  body.workbench-shell .project-hub, body.workbench-shell .project-directory, body.workbench-shell .team-overview { border: 0; }
  body.workbench-shell .project-heading { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom: 0; border-radius: 10px 10px 0 0; box-shadow: none; padding: 24px 26px 18px; }
  body.workbench-shell .project-heading h1 { color: var(--ink); font-size: 28px; line-height: 1.45; letter-spacing: -.025em; }
  body.workbench-shell .project-heading .module-state { background: var(--brand-tint); color: var(--brand-2); border: 0; font-size: 12px; margin-top: 6px; }
  body.workbench-shell .project-heading .project-actions a { color: var(--brand-2); font-size: 13px; text-decoration: none; }
  body.workbench-shell .project-header-meta { border-radius: 0 0 10px 10px; margin-bottom: 24px; padding: 14px 26px 24px; }
  body.workbench-shell .project-header-meta dt { font-size: 12px; color: var(--ink-2); }
  body.workbench-shell .project-header-meta dd { font-size: 14px; margin-top: 6px; overflow-wrap: anywhere; }
  body.workbench-shell .project-headline { background: #fff; border: 1px solid var(--line); border-radius: 10px; gap: 0; overflow: hidden; margin-bottom: 24px; }
  body.workbench-shell .project-headline > div { padding: 18px 22px; border: 0; border-right: 1px solid var(--line-soft); border-radius: 0; background: transparent; box-shadow: none; }
  body.workbench-shell .project-headline > div:nth-child(3n) { border-right: 0; }
  body.workbench-shell .project-headline > div:nth-child(n+4) { border-top: 1px solid var(--line-soft); background: #fafcfb; box-shadow: none; }
  body.workbench-shell .project-headline dt { font-size: 12px; color: var(--ink-2); }
  body.workbench-shell .project-headline > div:nth-child(-n+3) dd { font-size: 25px; font-weight: 650; letter-spacing: -.03em; }
  body.workbench-shell .project-headline > div:nth-child(n+4) dd { font-size: 19px; font-weight: 600; }
  body.workbench-shell .project-headline dd small { color: var(--ink-2); font-size: 12px; }
  body.workbench-shell .project-tabs { border-radius: 8px; box-shadow: none; }
  body.workbench-shell .project-navigation { margin-bottom: 24px; }
  body.workbench-shell .project-hub .project-operations { border: 0; padding-top: 0; }
  body.workbench-shell .project-hub .table-scroll { border-radius: 10px; background: #fff; }
  body.workbench-shell .project-hub .business-table th, body.workbench-shell .project-hub .business-table td { border-left: 0; border-right: 0; }
  body.workbench-shell .project-hub .business-table th { font-size: 12px; background: #f7f9f8; color: var(--ink-2); }
  body.workbench-shell .project-hub .summary-card { box-shadow: none; border-radius: 10px; }
  body.workbench-shell .directory-filters, body.workbench-shell .directory-table-wrap { border-radius: 10px; box-shadow: none; }
  body.workbench-shell .directory-heading h1 { font-size: 30px; line-height: 1.45; }
  body.workbench-shell .directory-heading p { color: var(--ink-2); font-size: 14px; }
  body.workbench-shell .directory-table th { font-size: 12px; color: var(--ink-2); background: #f7f9f8; border-left: 0; border-right: 0; }
  body.workbench-shell .directory-table td { border-left: 0; border-right: 0; padding-top: 18px; padding-bottom: 18px; }
}
@media (max-width: 980px) and (min-width: 761px) {
  .auth-layout { gap: 32px; grid-template-columns: minmax(0, 1fr) 368px; }
  .auth-shell main { padding: 32px; }
  .auth-capabilities { flex-direction: column; gap: 12px; }
  body.workbench-shell main { padding: 28px 24px 48px; }
}
@media (max-width: 760px) {
  .auth-shell .topbar-inner { min-height: 76px; padding: 16px 24px; }
  .auth-shell main { padding: 24px 20px 40px; }
  .auth-layout { display: block; min-height: 0; max-width: 440px; margin: auto; }
  .auth-intro { padding: 0; margin-bottom: 24px; }
  .auth-shell .eyebrow, .auth-capabilities, .auth-desktop-break { display: none; }
  .auth-intro h1 { font-size: 26px; line-height: 1.5; margin-bottom: 10px; }
  .auth-intro h1 br { display: none; }
  .auth-description { font-size: 13px; }
  .auth-panel { padding: 26px 24px 22px; border-radius: 12px; box-shadow: 0 6px 22px #203b3208; }
  .auth-panel h2 { font-size: 23px; }
  .auth-panel-heading { margin-bottom: 24px; }
  body.workbench-shell .team-workspace { padding: 24px 16px; }
  body.workbench-shell .team-entry-heading { display: block; margin-bottom: 24px; }
  body.workbench-shell .team-entry-heading h1 { font-size: 27px; }
  body.workbench-shell .team-entry-heading .project-actions { margin-top: 16px; }
  body.workbench-shell .team-selector { padding: 22px 18px; margin-bottom: 24px; }
  body.workbench-shell .team-selector .switch-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
  body.workbench-shell .team-selector .switch-form > div { width: 100%; max-width: none; }
  body.workbench-shell .team-entry-empty { padding: 32px 20px; }
  .auth-account-layout { margin: 0 auto; }
  body.workbench-shell .account-password-page { padding: 20px 16px; }
  .account-password-panel { padding: 24px 20px; }
  body.workbench-shell .workspace .project-navigation-compact .project-section-menu { min-width: 0; width: min(340px, calc(100vw - 32px)); grid-template-columns: 1fr; }
  body.workbench-shell .m-title { font-size: 25px; line-height: 1.5; margin: 2px 0 0; font-weight: 650; }
  body.workbench-shell .m-avatar { width: 44px; height: 44px; background: var(--brand); }
  body.workbench-shell .m-hero { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: none; padding: 20px 18px; }
  body.workbench-shell .m-hero::after { display: none; }
  body.workbench-shell .m-hero .k, body.workbench-shell .m-hero .s, body.workbench-shell .m-hero .mini { color: var(--ink-2); font-size: 12px; }
  body.workbench-shell .m-hero .v { color: var(--ink); font-size: 30px; line-height: 1.5; overflow-wrap: anywhere; letter-spacing: -.03em; }
  body.workbench-shell .m-hero .v small, body.workbench-shell .m-hero .mini b { color: var(--ink); }
  body.workbench-shell .m-hero .row { flex-wrap: wrap; margin-top: 18px; }
  body.workbench-shell .m-hero .go { min-height: 44px; display: inline-flex; align-items: center; background: var(--brand-tint); color: var(--brand-2); box-shadow: none; border-radius: 6px; font-size: 13px; }
  body.workbench-shell .m-tile { border: 1px solid var(--line); box-shadow: none; border-radius: 8px; padding: 14px 10px; }
  body.workbench-shell .m-tile .l { white-space: normal; color: var(--ink-2); font-size: 12px; }
  body.workbench-shell .m-tile .n { white-space: normal; overflow-wrap: anywhere; font-weight: 650; }
  body.workbench-shell .m-card { border: 1px solid var(--line); border-radius: 10px; box-shadow: none; padding: 16px 12px; gap: 12px; }
  body.workbench-shell .m-thumb { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; color: var(--brand-2); background: var(--brand-tint); }
  body.workbench-shell .m-thumb::after { display: none; }
  body.workbench-shell .m-thumb .ui-icon { width: 23px; height: 23px; }
  body.workbench-shell .m-cname { white-space: normal; line-height: 1.6; font-size: 14px; font-weight: 600; }
  body.workbench-shell .m-cmeta { white-space: normal; color: var(--ink-2); font-size: 12px; }
  body.workbench-shell .m-crow { flex-wrap: wrap; }
  body.workbench-shell .m-status { font-size: 11px; border-radius: 4px; }
  body.workbench-shell .m-amount { color: var(--brand-2); font-size: 20px; }
  body.workbench-shell .m-search { border: 1px solid var(--line); box-shadow: none; border-radius: 8px; padding: 6px 8px 6px 12px; }
  body.workbench-shell .m-search input { min-height: 44px; font-size: 15px; }
  body.workbench-shell .m-search button { background: var(--brand); min-height: 44px; font-size: 14px; padding: 10px 14px; border-radius: 6px; }
  body.workbench-shell .m-chips { padding-top: 14px; padding-bottom: 10px; }
  body.workbench-shell .m-chip { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink-2); font-size: 13px; border-radius: 6px; }
  body.workbench-shell .m-chip.active { background: var(--brand-tint); border-color: #bdd8cb; color: var(--brand-2); }
  body.workbench-shell .m-chip b { font-size: 11px; }
  body.workbench-shell .m-tab { min-height: 48px; color: var(--ink-2); font-size: 11px; }
  body.workbench-shell .m-primary button { min-height: 48px; font-size: 14px; }
  body.workbench-shell .m-primary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  body.workbench-shell .m-primary .solid { background: var(--brand); box-shadow: none; }
  body.workbench-shell .m-primary .ghost { color: var(--brand-2); border-color: #bacfc6; }
  body.workbench-shell .m-primary button { border-radius: 8px; padding: 12px 8px; white-space: normal; }
  body.workbench-shell .m-cover { height: auto; min-height: 156px; padding: 16px 16px 24px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); overflow: visible; }
  body.workbench-shell .m-cover::before, body.workbench-shell .m-cover::after { display: none; }
  body.workbench-shell .m-back { position: static; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -6px 0 4px -10px; background: transparent; color: var(--brand-2); }
  body.workbench-shell .m-cover-title { position: static; color: var(--ink); }
  body.workbench-shell .m-cover-title .st { color: var(--brand-2); background: var(--brand-tint); border: 0; font-size: 12px; border-radius: 4px; }
  body.workbench-shell .m-cover-title h1 { font-size: 23px; line-height: 1.5; letter-spacing: -.025em; margin: 10px 0 6px; overflow-wrap: anywhere; }
  body.workbench-shell .m-cover-title p { color: var(--ink-2); font-size: 13px; line-height: 1.7; }
  body.workbench-shell .m-money { margin: 16px 0 0; border: 1px solid var(--line); border-radius: 10px; box-shadow: none; padding: 18px 16px; }
  body.workbench-shell .m-money-grid .l { color: var(--ink-2); font-size: 12px; }
  body.workbench-shell .m-money-grid .v { color: var(--ink); font-weight: 650; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; letter-spacing: -.02em; }
  body.workbench-shell .m-money-grid .v.orange { color: #9c4c18; }
  body.workbench-shell .m-money-grid > div { overflow: visible; }
  body.workbench-shell .m-money-foot { flex-wrap: wrap; color: var(--ink-2); font-size: 11px; margin-top: 12px; }
  body.workbench-shell .m-ptabs { gap: 0; margin-top: 20px; }
  body.workbench-shell .m-ptab { min-height: 44px; min-width: 64px; display: flex; align-items: center; justify-content: center; padding: 8px 12px; color: var(--ink-2); font-size: 14px; }
  body.workbench-shell .m-ptab.active { color: var(--brand-2); }
  body.workbench-shell .m-ptab.active::after { background: var(--brand); }
  body.workbench-shell .m-journey { border-radius: 10px; border: 1px solid var(--line); box-shadow: none; padding: 16px; }
  body.workbench-shell .m-journey h3 { font-size: 14px; margin-bottom: 10px; }
  body.workbench-shell .m-task { flex-wrap: wrap; align-items: flex-start; gap: 4px 12px; padding: 12px 0; font-size: 13px; }
  body.workbench-shell .m-task > a { flex: 1 1 100%; min-height: 28px; line-height: 1.7; font-weight: 500; }
  body.workbench-shell .m-task small { white-space: normal; color: var(--ink-2); font-size: 11px; }
  body.workbench-shell .m-dialog .m-option { min-height: 80px; }
  body.workbench-shell .m-dialog .m-option { font-size: 12px; border-radius: 8px; }
  body.workbench-shell .m-dialog .m-close { min-height: 44px; font-size: 14px; border-radius: 8px; }
  body.workbench-shell .m-dialog .m-option .c { color: var(--brand); background: var(--brand-tint); }
  .m-business-empty { grid-column: 1 / -1; color: var(--ink-2); font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  :where(.auth-shell, .workbench-shell) *, :where(.auth-shell, .workbench-shell) *::before, :where(.auth-shell, .workbench-shell) *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
