body.has-workspace-nav {
  --bg: #f5f8fe; --paper: #f5f8fe; --blue: #2676f3; --teal: #2676f3;
  --teal-dark: #125be6; --thesis-blue: #2676f3; --line: #e5ebf4;
  padding: 72px 0 0 207px; background: #f5f8fe; color: #1d2b4c;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.workspace-header { position: fixed; inset: 0 0 auto; height: 72px; z-index: 30; display: flex; align-items: center; padding: 0 26px; border-bottom: 1px solid #e5ebf4; background: linear-gradient(180deg, #fbfdff, #f7fbff); }
.workspace-brand { display: flex; align-items: center; gap: 12px; color: #10244c; text-decoration: none; }
.workspace-brand strong { display: block; font-size: 19px; font-weight: 800; line-height: 1.28; }
.workspace-brand small { display: block; margin-top: 4px; color: #536580; font-size: 12px; }
.workspace-brand-mark { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, #3f8aff, #0865ef); color: #fff; }
.workspace-brand-mark svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.workspace-sidebar { position: fixed; inset: 72px auto 0 0; z-index: 20; display: flex; flex-direction: column; width: 207px; padding: 0; overflow: hidden; background: linear-gradient(180deg, #f7faff 0%, #f1f6fd 75%); border-right: 1px solid #e5ebf4; font: 14px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
.workspace-sidebar nav { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 6px; padding: 17px 16px; overflow-y: auto; }
.workspace-sidebar a { display: flex; align-items: center; gap: 16px; flex: none; height: 44px; padding: 0 15px; border-radius: 10px; color: #394c71; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.workspace-sidebar a:hover { color: #2676f3; background: #f2f7ff; }
.workspace-sidebar a[aria-current="page"] { color: #0b61df; background: #eaf3ff; font-weight: 700; box-shadow: inset 3px 0 0 #2676f3; }
.workspace-sidebar a:focus-visible, .workspace-brand:focus-visible { outline: 3px solid #85b8ff; outline-offset: -3px; }
.workspace-sidebar svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }
.workspace-nav-label { margin-top: 10px; padding: 16px 13px 8px; border-top: 1px solid #e5ebf4; color: #536580; font-size: 11px; }
.workspace-sidebar-footer { flex: none; padding: 10px 16px; border-top: 1px solid #e5ebf4; background: #fff; }
.workspace-sidebar-footer .status-area, .workspace-sidebar-footer .account { display: block; width: 100%; margin: 0; padding: 0; }
.workspace-sidebar-footer .member-box { width: 100%; padding: 8px 4px; border: 0; border-radius: 0; background: transparent; }
.workspace-sidebar-footer .member-session { display: flex; flex-wrap: wrap; gap: 4px 10px; min-width: 0; }
.workspace-sidebar-footer .member-status { flex-basis: 100%; color: #1d2b4c; font-size: 13px; }
.workspace-sidebar-footer .member-usage, .workspace-sidebar-footer .account-secondary { color: #536580; font-size: 11px; }
.workspace-sidebar-footer .small-button, .workspace-sidebar-footer .account a { height: auto; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: #0b61df; font-size: 13px; }
.workspace-sidebar-footer .is-hidden { display: none; }
body.has-workspace-nav > .topbar, body.has-workspace-nav > .thesis-sidebar { display: none; }
body.has-workspace-nav .thesis-page-bar { top: 72px; }
body.has-workspace-nav.member-page:not(.member-mode-authenticated) .member-content-grid { grid-template-columns: minmax(0, 1000px); }
@media (max-width: 1040px) and (min-width: 701px) {
  body.has-workspace-nav { padding-left: 74px; }
  .workspace-sidebar { width: 74px; }
  .workspace-sidebar nav { padding: 14px 10px; }
  .workspace-sidebar a { justify-content: center; padding: 0; gap: 0; font-size: 0; }
  .workspace-sidebar svg { width: 22px; height: 22px; }
  .workspace-nav-label { padding: 0; height: 1px; font-size: 0; margin: 10px 3px; }
  .workspace-sidebar-footer { padding: 10px; }
  .workspace-sidebar-footer .member-status, .workspace-sidebar-footer .member-usage, .workspace-sidebar-footer .account-secondary, .workspace-sidebar-footer .thesis-member-avatar { display: none; }
  .workspace-sidebar-footer .small-button, .workspace-sidebar-footer .account a { font-size: 11px; white-space: normal; }
}
@media (max-width: 700px) {
  body.has-workspace-nav { padding: 65px 0 70px; }
  .workspace-header { height: 65px; padding: 0 16px; }
  .workspace-brand strong { font-size: 15px; }
  .workspace-brand small { display: none; }
  .workspace-brand-mark { width: 34px; height: 34px; }
  .workspace-brand-mark svg { width: 24px; height: 24px; }
  .workspace-sidebar { inset: auto 0 0; width: 100%; height: 59px; flex-direction: row; border-right: 0; border-top: 1px solid #e5ebf4; }
  .workspace-sidebar nav { min-width: 0; padding: 4px 0; flex-direction: row; gap: 0; overflow-x: auto; overflow-y: hidden; }
  .workspace-sidebar a { min-width: 58px; height: 49px; padding: 5px 1px; flex-direction: column; gap: 1px; font-size: 9px; }
  .workspace-nav-label { display: none; }
  .workspace-sidebar-footer { min-width: 64px; max-width: 130px; padding: 4px 2px; border-top: 0; border-left: 1px solid #e5ebf4; }
  .workspace-sidebar-footer .member-box { padding: 0; }
  .workspace-sidebar-footer .member-status, .workspace-sidebar-footer .member-usage, .workspace-sidebar-footer .account-secondary, .workspace-sidebar-footer .thesis-member-avatar { display: none; }
  .workspace-sidebar-footer .member-session { flex-wrap: nowrap; gap: 2px; }
  .workspace-sidebar-footer .small-button, .workspace-sidebar-footer .account a { min-width: 44px; min-height: 49px; font-size: 11px; }
  body.has-workspace-nav .thesis-page-bar { top: 65px; }
}
