/* Concept 02: one compact desktop row, mobile quick navigation. */
.student-workspace {margin-left:0;min-width:0}
.student-header {position:sticky;top:0;z-index:60;background:color-mix(in srgb,var(--ui-page) 93%,transparent);backdrop-filter:blur(16px);border-bottom:1px solid var(--ui-line)}
.student-workspace .topbar {display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;height:68px;max-width:1440px;margin:auto;padding:0 28px;border:0;background:transparent;gap:20px}
.student-workspace .brand {margin:0;padding:0;white-space:nowrap;font-size:21px;gap:9px;justify-self:start}
.student-workspace .brand-mark {width:32px;height:32px}
.student-workspace .brand .brand-word {font-size:inherit}
.student-nav {display:flex;align-items:center;justify-self:center;gap:3px;padding:4px;background:var(--ui-soft);border:1px solid var(--ui-line);border-radius:13px;max-width:100%;min-width:0;isolation:isolate}
.student-nav-link,.student-nav-help {display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:0 12px;border:1px solid transparent;border-radius:9px;color:var(--ui-muted);background:transparent;font-size:12px;font-weight:600;text-decoration:none;white-space:nowrap;position:relative;z-index:1;transition:color .18s}
.student-nav-link .icon {width:16px;height:16px;flex:none}
.student-nav-link:hover {color:var(--ui-ink)}
.student-nav-link[aria-current=page] {color:var(--ui-accent);background:var(--ui-surface);border-color:var(--ui-line)}
.student-nav-link .nav-count {font-size:10px;line-height:1;min-width:16px;border-radius:5px;margin:0}
.student-nav-link .nav-count:empty {display:none}
.student-nav-help {display:none}
.student-workspace .topbar-actions {display:flex;align-items:center;gap:4px;margin:0;justify-self:end}
.student-workspace .topbar-actions>.icon-button {width:36px;height:40px;border-radius:10px;min-width:0}
.header-search-trigger {display:flex;align-items:center;gap:8px;min-height:36px;padding:0 10px;border:1px solid var(--ui-line);border-radius:11px;background:var(--ui-soft);color:var(--ui-muted);cursor:pointer}
.header-search-trigger .icon {width:16px;height:16px;flex:none}
.header-search-trigger kbd {font:600 10px/1.5 ui-monospace,monospace;padding:2px 5px;border:1px solid var(--ui-line);border-radius:5px;background:var(--ui-surface);color:var(--ui-muted)}
@media(max-width:1100px) {.student-workspace .topbar {gap:12px;padding-inline:20px}.student-nav-link {padding-inline:9px}.header-search-trigger kbd {display:none}.header-search-trigger {padding:0;width:36px;justify-content:center}}
@media(max-width:880px) {.student-nav-link>.icon,.student-nav-link .nav-count {display:none}.student-nav-link {font-size:11px;padding-inline:8px}.student-workspace .topbar {gap:10px}}
@media(max-width:960px) {.student-workspace .topbar {height:auto;min-height:64px;grid-template-columns:auto 1fr;gap:0 8px;padding:10px 16px 8px}.student-workspace .topbar-actions {justify-self:end}.student-workspace .brand {font-size:20px;gap:8px}.student-nav {grid-column:1/-1;grid-row:2;justify-self:stretch;justify-content:space-between;margin-top:8px;padding:3px;background:transparent;border:0;gap:5px}.student-nav-link {flex:1;min-width:0;min-height:38px;padding:5px;font-size:11px;gap:6px}.student-nav-link>.icon {display:block}.student-nav-help {display:flex;padding:0;min-width:36px;min-height:38px}.student-nav-help .icon {width:17px;height:17px}.student-workspace .notification-button,.student-workspace .header-help {display:none}}
@media(max-width:360px) {.student-workspace .topbar {padding-inline:12px}.student-workspace .brand {font-size:18px;gap:6px}.student-workspace .brand-mark {width:28px;height:28px}.student-workspace .topbar-actions {gap:2px}.student-workspace .topbar-actions>.icon-button,.header-search-trigger {width:32px}.student-nav-link {gap:4px}}
@media(prefers-reduced-motion:reduce) {.student-header * {transition:none!important}}
