.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 236px;
  background: var(--sidebar);
  border-right: 1px solid var(--line);
  padding: 30px 18px 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 30;
}
.brand { display: flex; align-items: center; gap: 10px; padding: 0 8px; }
.brand > span { font-size: 17px; font-weight: 650; letter-spacing: -.055em; }
.brand > span > span { display: block; font-size: 8px; letter-spacing: .27em; margin-top: 3px; font-weight: 500; }
.project-switch { display: flex; gap: 9px; align-items: center; margin: 34px 0 28px; padding: 12px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; }
.project-avatar { padding: 8px 6px; color: var(--green); background: var(--green-soft); font-size: 10px; font-weight: 650; border-radius: 6px; }
.project-switch > span:nth-child(2) { font-size: 11px; font-weight: 600; }
.project-switch small { display: block; font-size: 9px; font-weight: 400; color: var(--muted); margin-top: 5px; }
.project-check { margin-left: auto; color: var(--muted); }
.project-check .icon { width: 13px; height: 13px; }
.nav-caption { color: var(--muted); font-size: 9px; letter-spacing: .14em; padding: 0 12px; margin: 0 0 10px; font-weight: 550; }
nav .nav-caption { margin-top: 30px; }
.nav-item { display: flex; gap: 10px; align-items: center; padding: 11px 12px; margin: 3px 0; border-radius: 7px; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.4; min-height: 40px; }
.nav-item .icon { width: 17px; height: 17px; }
.nav-item:hover { color: var(--ink); background: var(--soft); }
.nav-item.active { background: var(--ink); color: var(--bg); }
.nav-count { margin-left: auto; font-size: 9px; }
.sidebar-bottom { margin-top: auto; padding-top: 40px; }
.build-note { border-top: 1px solid var(--line); padding: 20px 10px; }
.build-note strong { display: block; font-size: 17px; line-height: 1.45; letter-spacing: -.04em; margin: 8px 0 10px; }
.build-note > span:last-of-type { color: var(--muted); font-size: 10px; line-height: 1.7; display: block; }
.build-note .icon { color: var(--accent); margin-top: 12px; width: 22px; }
.sidebar-source { display: flex; justify-content: space-between; align-items: center; font-size: 10px; padding: 14px 10px; border-top: 1px solid var(--line); }
.sidebar-source .icon { width: 12px; height: 12px; }
.sidebar-version { font-size: 9px; color: var(--muted); display: flex; gap: 7px; align-items: center; padding: 12px 10px 0; }
.sidebar-version > span:last-child { margin-left: auto; font-family: Georgia, serif; font-style: italic; }
.workspace { margin-left: 236px; min-height: 100vh; }
.topbar { height: 68px; padding: 0 38px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg); }
.breadcrumb { display: flex; gap: 12px; align-items: center; font-size: 11px; }
.breadcrumb-root { color: var(--muted); }
.breadcrumb-root > span { margin-left: 12px; color: var(--faint); }
.breadcrumb strong { font-weight: 500; }
.topbar-actions { display: flex; gap: 17px; align-items: center; }
.live-indicator { display: flex; gap: 7px; align-items: center; font-size: 10px; color: var(--muted); }
.live-indicator.online { color: var(--green); }
.top-search { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; padding: 6px 0; }
.top-search .icon { width: 15px; height: 15px; }
kbd { font-size: 9px; border: 1px solid var(--line); border-radius: 4px; padding: 3px 5px; color: var(--muted); font-weight: 400; }
.topbar .button { min-height: 32px; font-size: 10px; padding: 7px 10px; }
.topbar .button .icon { width: 14px; height: 14px; }
.mobile-menu { display: none !important; }
#main { max-width: 1700px; padding: 40px 38px 42px; margin: 0 auto; outline: none; }
footer { margin: 0 38px; padding: 19px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 9px; letter-spacing: .01em; color: var(--muted); border-top: 1px solid var(--line); }
footer > span:first-child { font-size: 8px; letter-spacing: .1em; }
footer a { text-decoration: underline; text-underline-offset: 3px; }
.loading-state { min-height: 60vh; display: grid; align-content: center; justify-items: center; gap: 18px; color: var(--muted); }
.loading-mark { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-bright); color: white; font-size: 25px; font-weight: 650; }
.mobile-scrim { position: fixed; inset: 0; background: #0006; z-index: 29; }
#toast { position: fixed; bottom: 24px; left: calc(50% + 118px); transform: translate(-50%, 12px); padding: 13px 20px; border: 1px solid var(--line); background: var(--ink); color: var(--bg); border-radius: 9px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100vw - 32px); width: max-content; font-size: 12px; }
#toast.visible { opacity: 1; transform: translate(-50%, 0); }
