/* Critical login/bootstrap styles. Workbench styles activate after session probing. */
:root { --font-family-admin:"Microsoft YaHei UI","Microsoft YaHei","Segoe UI",Arial,sans-serif; font-family:var(--font-family-admin); font-synthesis:none; }
* {box-sizing:border-box}
html {min-width:320px;overflow-x:hidden;background:#f3f6f1}
body {margin:0;min-height:100vh;font-family:var(--font-family-admin);font-size:14px;line-height:1.6}
button,input,textarea,select {font:inherit}
button {cursor:pointer}
a {color:inherit;text-decoration:none}
html[data-auth-bootstrap="pending"] .app-shell,
html[data-auth-bootstrap="error"] .app-shell { display: none !important; }
html[data-auth-bootstrap="pending"] #auth-bootstrap-state,
html[data-auth-bootstrap="error"] #auth-bootstrap-state {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
  color: #53635a;
  background: #f3f6f1;
  font-size: 14px;
}
html[data-auth-bootstrap="ready"] #auth-bootstrap-state { display: none; }
/* Visible neutral shell while the authenticated module graph loads. */
#auth-bootstrap-state .bootstrap-loading-card { width:min(420px,calc(100vw - 40px)); margin:auto; padding:32px; border:1px solid #dce5f4; border-radius:16px; background:#fff; box-shadow:0 12px 38px #20375d0a; display:grid; justify-items:center; gap:14px; }
#auth-bootstrap-state .bootstrap-loading-brand { color:#315bfa; font-size:16px; font-weight:700; letter-spacing:1px; }
#auth-bootstrap-state .bootstrap-loading-spinner { width:26px; height:26px; border:3px solid #e6ecfc; border-top-color:#315bfa; border-radius:50%; animation:bootstrap-loading-turn 1s linear infinite; }
#auth-bootstrap-state strong { font-size:19px; color:#24334e; }
#auth-bootstrap-state p { margin:0; color:#71819c; font-size:13px; }
#auth-bootstrap-state .bootstrap-loading-lines { display:grid; gap:9px; width:100%; margin-top:8px; }
#auth-bootstrap-state i { display:block; height:10px; border-radius:5px; background:#eff3fa; }
#auth-bootstrap-state i:last-child { width:65%; }
@keyframes bootstrap-loading-turn { to { transform:rotate(360deg); } }
@media(prefers-reduced-motion:reduce) { #auth-bootstrap-state .bootstrap-loading-spinner { animation:none; } }

body[data-auth-route="login"] .sidebar,
body[data-auth-route="login"] .topbar { display: none; }
body[data-auth-route="login"] .app-shell { display: block; min-height: 100vh; }
body[data-auth-route="login"] .main-content { width: 100%; min-height: 100vh; margin-left: 0; }
body[data-auth-route="login"] .page-container { width: 100%; max-width: none; margin: 0; padding: 0; }
body[data-auth-route="login"] #app { min-height: 100vh; padding: 0; }
body.auth-page { --ink: #101313; --white: #fff; --lime: #d8ff4f; --green: #1c4d3f; --dark: #121918; --muted: #718078; --soft-line: #e2e9e2; --mono: 'DM Mono', monospace; --display: 'Noto Sans SC', Inter, sans-serif; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); background: #edf2ed; color-scheme: light; }
body.auth-page #app { flex: 1; display: flex; flex-direction: column; }
body.auth-page .skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 7px; color: var(--white); background: var(--ink); transform: translateY(-160%); transition: transform .2s ease; }
body.auth-page .skip-link:focus { transform: translateY(0); }
body.auth-page .auth-shell { flex: 1; display: grid; grid-template-columns: minmax(360px,.9fr) minmax(500px,1.1fr); min-height: calc(100vh - 58px); }
body.auth-page .auth-story { display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding: 42px clamp(34px,6vw,92px) 54px; color: var(--white); background: var(--dark); }
body.auth-page .auth-story__top, body.auth-page .auth-panel__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
body.auth-page .auth-story__top { min-width: 0; flex-wrap: nowrap; }
body.auth-page .auth-story__top > .brand-mark { display: inline-flex; width: max-content; max-width: 100%; height: auto; flex: 0 0 auto; place-items: unset; gap: 8px; padding: 0; border: 0; border-radius: 0; color: var(--white); background: transparent; font-size: inherit; font-weight: inherit; letter-spacing: normal; white-space: nowrap; }
#app .auth-story__top > .brand-mark { border: 0; color: var(--white); background: transparent; text-decoration: none; }
body.auth-page .auth-story__top .brand-mark__name,
body.auth-page .auth-story__top .brand-mark__descriptor { flex: 0 0 auto; white-space: nowrap; word-break: keep-all; }
body.auth-page .auth-story .brand-mark__symbol { width: 28px; height: 28px; display: inline-flex; align-items: flex-end; gap: 3px; flex: 0 0 28px; padding: 4px; border: 0; border-radius: 8px; background: #273830; transform: skew(-9deg); }
body.auth-page .auth-story .brand-mark__symbol i { display: block; width: 4px; border-radius: 3px 3px 1px 1px; background: var(--lime); }
body.auth-page .auth-story .brand-mark__symbol i:nth-child(1) { height: 9px; }
body.auth-page .auth-story .brand-mark__symbol i:nth-child(2) { height: 15px; }
body.auth-page .auth-story .brand-mark__symbol i:nth-child(3) { height: 20px; }
body.auth-page .auth-story .brand-mark__name { color: var(--white); font-size: 18px; font-weight: 800; letter-spacing: -.06em; }
body.auth-page .auth-story .brand-mark__descriptor { padding-left: 8px; border-left: 1px solid #3a4b40; color: #9caf9f; font-size: 11px; font-weight: 600; letter-spacing: .01em; }
body.auth-page .auth-story__status { flex: 0 0 auto; color: #a6b4a9; font-family: var(--mono); font-size: 9px; letter-spacing: .04em; white-space: nowrap; } body.auth-page .auth-story__status i { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(216,255,79,.11); }
body.auth-page .auth-story__copy { min-width: 0; max-width: 560px; margin: auto 0; padding: 80px 0 45px; } body.auth-page .auth-story__copy .eyebrow { color: #a7b5aa; } body.auth-page .auth-story__copy h1 { margin: 0; color: var(--white); font-size: clamp(38px,4.6vw,65px); line-height: 1.17; letter-spacing: -.065em; } body.auth-page .auth-story__copy h1 em { display: block; color: var(--lime); font-style: normal; } body.auth-page .auth-story__copy > p:last-child { max-width: 430px; margin: 28px 0 0; color: #a7b5ab; font-size: 14px; line-height: 1.95; }
body.auth-page .auth-story__steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding-top: 25px; border-top: 1px solid #304239; } body.auth-page .auth-story__steps div { display: grid; gap: 11px; } body.auth-page .auth-story__steps b { color: var(--lime); font-family: var(--mono); font-size: 10px; font-weight: 400; } body.auth-page .auth-story__steps span { color: #d8e3d9; font-size: 13px; } body.auth-page .auth-story__note { margin: 18px 0 0; color: #788b7d; font-size: 11px; line-height: 1.7; }
body.auth-page .auth-panel { display: flex; width: auto; max-width: none; flex-direction: column; margin: 0; padding: 42px clamp(30px,7vw,110px) 40px; border: 0; border-radius: 0; background: #f8faf7; box-shadow: none; } body.auth-page .auth-panel__top { color: #738078; font-family: var(--mono); font-size: 9px; } body.auth-page .auth-panel__top a { color: var(--green); font-family: var(--display); font-size: 12px; font-weight: 700; } body.auth-page .auth-card { width: min(100%,460px); margin: auto; padding: 38px 40px 30px; border: 1px solid #d5dfd5; border-radius: 20px; color: var(--ink); background: var(--white); box-shadow: 0 22px 60px rgba(41,70,47,.08); } body.auth-page .auth-card__heading .eyebrow { margin-bottom: 17px; } body.auth-page .auth-card__heading h2 { margin: 0; font-size: 31px; letter-spacing: -.055em; } body.auth-page .auth-card__heading > p:last-child { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
body.auth-page .auth-panel-view { padding-top: 28px; text-align: center; } body.auth-page .auth-panel-view[hidden] { display: none; } body.auth-page .auth-form { display: grid; gap: 9px; margin-top: 0; text-align: left; } body.auth-page .auth-form label:not(.auth-consent) { margin-top: 4px; color: #435a4b; font-size: 12px; font-weight: 700; } body.auth-page .auth-form input:not([type="checkbox"]) { width: 100%; min-height: 46px; padding: 0 13px; border: 1px solid #cad8cc; border-radius: 7px; outline: none; color: var(--ink); background: #fbfdfb; font: inherit; font-size: 13px; } body.auth-page .auth-form input:not([type="checkbox"]):focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(28,77,63,.1); }
body.auth-page .auth-consent { display: flex; align-items: flex-start; gap: 8px; margin-top: 9px; color: #768179; font-size: 11px; line-height: 1.7; } body.auth-page .auth-consent input { width: 14px; height: 14px; min-height: 14px; flex: none; margin: 2px 0 0; accent-color: var(--green); } body.auth-page .auth-consent a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; } body.auth-page .auth-submit { width: 100%; min-height: 46px; margin-top: 10px; border: 0; border-radius: 7px; color: #101313; background: var(--lime); font-weight: 700; cursor: pointer; } body.auth-page .auth-submit:disabled { opacity: .65; cursor: wait; } body.auth-page .auth-status { min-height: 18px; margin: 2px 0 0; color: #7c5e2c; font-size: 11px; line-height: 1.6; } body.auth-page .auth-card__foot { margin: 25px 0 0; padding-top: 17px; border-top: 1px solid var(--soft-line); color: #7a877f; font-family: var(--mono); font-size: 9px; line-height: 1.7; text-align: center; }
body.auth-page .auth-footer { display: flex; justify-content: space-between; gap: 20px; padding: 17px 4vw; color: #405348; background: #edf2ed; font-family: var(--sans); font-size: 14px; line-height: 1.5; } body.auth-page .auth-footer > span:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 14px; } body.auth-page .auth-footer a { color: var(--green); } body.auth-page .auth-footer b { color: #405348; font-weight: 400; }
@media (max-width: 820px) { body.auth-page .auth-shell { grid-template-columns: 1fr; min-height: 0; } body.auth-page .auth-story { min-height: 470px; padding: 28px 25px 31px; } body.auth-page .auth-story__copy { padding: 55px 0 38px; } body.auth-page .auth-story__copy h1 { font-size: 42px; } body.auth-page .auth-panel { min-height: 620px; padding: 25px 18px 38px; } body.auth-page .auth-card { margin: 48px auto 0; padding: 29px 22px 25px; } body.auth-page .auth-footer { align-items: flex-start; flex-direction: column; padding: 16px 18px 20px; } body.auth-page .auth-footer > span:last-child { justify-content: flex-start; gap: 8px 13px; } }
@media (max-width: 480px) { body.auth-page .auth-story { min-height: 440px; } body.auth-page .auth-story__top .brand-mark__descriptor { display: none; } body.auth-page .auth-story__status { font-size: 8px; } body.auth-page .auth-story__copy { padding: 52px 0 34px; } body.auth-page .auth-story__copy h1 { font-size: 36px; } body.auth-page .auth-story__copy > p:last-child { font-size: 13px; } body.auth-page .auth-story__steps span { font-size: 12px; } body.auth-page .auth-card { width: 100%; } }
@media (min-width: 1200px) {
  body.auth-page .auth-shell { grid-template-columns: minmax(0,1.16fr) minmax(560px,.84fr); }
  body.auth-page .auth-story { padding-right: clamp(36px,4vw,72px); padding-left: clamp(36px,4vw,72px); }
  body.auth-page .auth-story__copy { max-width: 740px; }
  body.auth-page .auth-story__copy h1 { font-size: clamp(45px,3.4vw,58px); line-height: 1.22; letter-spacing: -.055em; }
  body.auth-page .auth-story__copy h1 em { white-space: nowrap; }
  body.auth-page .auth-panel { padding-right: clamp(30px,5vw,78px); padding-left: clamp(30px,5vw,78px); }
}
body.auth-page .auth-consent { align-items: center; }
body.auth-page .auth-consent input { margin: 0; }
