:root {
    --ink: #1d2340;
    --muted: #8b91a7;
    --line: #eceef4;
    --paper: #fff;
    --canvas: #f7f8fc;
    --purple: #0878d1;
    --purple-dark: #075eaa;
    --navy: #092652;
    --font-body: "DM Sans", "Segoe UI", sans-serif;
    --font-display: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font-family: var(--font-body); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.login-body { min-height: 100vh; background: #f8f9fc; }
.login-shell { display: grid; grid-template-columns: minmax(420px, 1fr) minmax(500px, 1fr); min-height: 100vh; }
.login-story { position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; min-height: 100vh; padding: 38px 7.3%; color: #fff; background: linear-gradient(145deg, #242649 0%, #272a51 52%, #423783 100%); }
.brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; width: max-content; color: var(--ink); font: 800 21px var(--font-display); letter-spacing: -1.2px; }
.brand-light { color: #fff; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #8b7bff, #6354db); font: 800 17px var(--font-display); box-shadow: 0 5px 16px #7164e25c; }
.brand-dot { color: #8d7dff; }
.story-content { position: relative; z-index: 1; margin: auto 0; padding: 74px 0 56px; }
.eyebrow { color: #8178c7; font-size: 10px; font-weight: 700; letter-spacing: 1.5px; }
.login-story .eyebrow { display: flex; align-items: center; gap: 9px; color: #c3befb; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: #a7efcf; box-shadow: 0 0 0 4px #a7efcf21; }
.story-content h1 { margin: 23px 0 19px; font: 600 clamp(45px, 5vw, 66px)/1.08 var(--font-display); letter-spacing: -3.5px; }
.story-content h1 em { color: #a99eff; font-style: normal; }
.story-content > p { max-width: 430px; margin: 0; color: #c3c4d8; font-size: 15px; line-height: 1.8; }
.story-metrics { display: flex; align-items: center; gap: 24px; margin-top: 48px; }
.story-metrics div { display: grid; gap: 5px; }
.story-metrics strong { font: 700 20px var(--font-display); }
.story-metrics span { color: #b6b7cd; font-size: 11px; }
.story-metrics i { width: 1px; height: 31px; background: #ffffff2a; }
.story-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; color: #a8a9c1; font-size: 11px; }
.story-orb { position: absolute; pointer-events: none; border: 1px solid #ffffff0c; border-radius: 50%; }
.orb-one { width: 620px; height: 620px; top: -245px; right: -310px; box-shadow: 0 0 0 46px #ffffff08, 0 0 0 93px #ffffff06; }
.orb-two { width: 360px; height: 360px; bottom: -240px; left: 22%; box-shadow: 0 0 0 36px #ffffff07, 0 0 0 74px #ffffff05; }
.login-panel { display: flex; flex-direction: column; align-items: center; justify-content: space-between; min-height: 100vh; padding: 39px 9% 25px; }
.login-top { display: flex; align-items: center; justify-content: flex-end; gap: 8px; width: 100%; color: #9297aa; font-size: 12px; }
.login-top a { color: var(--purple); font-weight: 700; }
.login-top a span { padding-left: 3px; }
.login-card { width: min(100%, 410px); margin: auto; padding: 25px 0 18px; }
.mobile-brand { display: none; margin-bottom: 36px; }
.login-heading { position: relative; margin-bottom: 27px; }
.mini-icon { position: absolute; top: 0; right: 3px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; color: #0878d1; background: #e7f4ff; font-size: 17px; }
.login-heading .eyebrow { margin: 0 0 11px; }
.login-heading h2 { margin: 0; font: 700 28px var(--font-display); letter-spacing: -1.2px; }
.login-heading > p:last-child { margin: 9px 0 0; color: #969bad; font-size: 13px; }
.login-form { display: flex; flex-direction: column; }
.login-form label, .stack-form label { margin: 0 0 8px; color: #414762; font-size: 12px; font-weight: 700; }
.input-wrap { position: relative; display: flex; align-items: center; height: 47px; margin-bottom: 19px; border: 1px solid #e6e8f0; border-radius: 8px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.input-wrap:focus-within, .stack-form input:focus, .stack-form select:focus, .filter-bar input:focus, .filter-bar select:focus { outline: none; border-color: #9c91f6; box-shadow: 0 0 0 3px #7767e817; }
.input-wrap input { width: 100%; height: 100%; padding: 0 42px 0 40px; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.input-wrap input::placeholder { color: #b0b4c3; }
.input-icon { position: absolute; left: 14px; color: #a1a5b7; font-size: 16px; }
.role-hint { position: absolute; right: 12px; color: #a2a5b6; font-size: 10px; font-weight: 700; }
.toggle-password { position: absolute; right: 12px; padding: 5px 0 5px 8px; border: 0; color: #777d95; background: none; font-size: 10px; font-weight: 700; }
.captcha-row { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 9px; }
.captcha-row label { display: block; margin: 0 0 4px; }
.captcha-row p { margin: 0; color: #a0a4b4; font-size: 10px; }
.captcha-code { padding: 8px 17px; border: 1px dashed #c9c4fa; border-radius: 6px; color: #5345c2; background: #f5f3ff; font: 700 17px var(--font-display); letter-spacing: 4px; transform: rotate(-2deg); }
.captcha-input { margin-bottom: 17px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 42px; padding: 0 17px; border: 0; border-radius: 7px; font-size: 12px; font-weight: 700; transition: transform .18s, background .18s, box-shadow .18s; }
.button:hover { transform: translateY(-1px); }
.button-primary { color: #fff; background: var(--purple); box-shadow: 0 5px 12px #695be526; }
.button-primary:hover { background: var(--purple-dark); box-shadow: 0 7px 15px #695be53b; }
.button-primary span { font-size: 15px; }
.sign-in-button { min-height: 47px; margin-top: 2px; }
.demo-box { display: flex; gap: 12px; margin-top: 19px; padding: 13px 15px; border: 1px solid #eeecfb; border-radius: 8px; background: #faf9ff; }
.demo-icon { display: grid; flex: 0 0 27px; height: 27px; place-items: center; border-radius: 8px; color: #7765df; background: #eeebff; }
.demo-box strong { display: block; margin: 1px 0 5px; color: #444961; font-size: 11px; }
.demo-box p { display: inline-block; margin: 0 12px 0 0; color: #81869a; font-size: 10px; }
.demo-box b { color: #5146aa; font-weight: 700; }
.security-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 20px 0 0; color: #a0a4b3; font-size: 10px; }
.security-note span { font-size: 14px; }
.login-foot { color: #a0a4b3; font-size: 10px; }
.login-foot a { color: #6656da; font-weight: 700; }
.notice { position: relative; margin: 0 0 18px; padding: 11px 14px; border: 1px solid #d6efdf; border-radius: 7px; color: #26734b; background: #f1fbf4; font-size: 12px; line-height: 1.55; }
.notice.error { border-color: #f5d7d8; color: #a13e49; background: #fff5f5; }
.notice a { text-decoration: underline; font-weight: 700; }
.notice-close { position: absolute; top: 4px; right: 8px; border: 0; color: inherit; background: none; font-size: 19px; }

.app-body { min-height: 100vh; background: var(--canvas); }
.app-shell { display: flex; min-height: 100vh; }
.sidebar { position: fixed; z-index: 5; top: 0; bottom: 0; left: 0; display: flex; flex-direction: column; width: 244px; padding: 25px 15px 13px; border-right: 1px solid #f0f1f5; background: #fff; }
.sidebar-brand { margin: 0 0 34px 7px; }
.workspace-label, .nav-label { padding: 0 10px; color: #aaaebe; font-size: 9px; font-weight: 700; letter-spacing: 1.2px; }
.workspace-switch { display: flex; align-items: center; gap: 10px; margin: 12px 0 29px; padding: 10px 9px; border: 1px solid #f0f0f5; border-radius: 8px; }
.workspace-symbol { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 8px; color: #0878d1; background: #e8f4ff; font-size: 16px; }
.workspace-switch > span:nth-child(2) { display: grid; gap: 3px; flex: 1; }
.workspace-switch b { font-size: 11px; }
.workspace-switch small { color: #a1a4b3; font-size: 9px; }
.chevron { color: #a9adbc; }
.side-nav { display: grid; gap: 4px; margin-top: 12px; }
.side-nav > a { display: flex; align-items: center; gap: 12px; min-height: 39px; padding: 0 11px; border-radius: 7px; color: #737990; font-size: 12px; font-weight: 500; transition: background .2s, color .2s; }
.side-nav > a:hover { color: #5649c7; background: #f8f7ff; }
.side-nav > a.active { color: #5b4bd1; background: #f1efff; font-weight: 700; }
.nav-icon { display: grid; width: 17px; place-items: center; font-size: 16px; }
.nav-count { margin-left: auto; padding: 3px 7px; border-radius: 5px; color: #6c5cdf; background: #e7e4ff; font-size: 9px; font-weight: 700; }
.nav-label-spaced { margin-top: 26px; }
.sidebar-bottom { margin-top: auto; }
.help-card { position: relative; margin: 0 2px 14px; padding: 13px 12px; overflow: hidden; border: 1px solid #edebfa; border-radius: 9px; background: linear-gradient(135deg, #faf9ff, #f8f7ff); }
.help-spark { position: absolute; top: 11px; right: 12px; color: #897bfa; font-size: 17px; }
.help-card strong { display: block; margin-bottom: 7px; font: 700 11px var(--font-display); }
.help-card p { margin: 0 0 10px; color: #9296a9; font-size: 10px; line-height: 1.5; }
.help-card a { color: #6656db; font-size: 10px; font-weight: 700; }
.help-card a span { margin-left: 4px; }
.sidebar-user { display: flex; align-items: center; gap: 9px; padding: 11px 2px 0; border-top: 1px solid #f0f1f5; }
.avatar { display: grid; flex: 0 0 33px; width: 33px; height: 33px; place-items: center; border: 2px solid #fff; border-radius: 50%; color: #6453ca; background: #eeebff; font-size: 10px; font-weight: 700; }
.user-meta { display: grid; flex: 1; gap: 4px; overflow: hidden; }
.user-meta b { overflow: hidden; color: #454a63; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.user-meta small { color: #9b9fb0; font-size: 9px; }
.sidebar-user form { display: flex; }
.icon-button { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #eff0f5; border-radius: 7px; color: #858aa0; background: #fff; font-size: 15px; transition: background .2s; }
.icon-button:hover { background: #f5f4ff; }
.logout-button { border: 0; color: #989caf; transform: rotate(45deg); }
.main-content { width: calc(100% - 244px); min-height: 100vh; margin-left: 244px; }
.topbar { position: sticky; z-index: 3; top: 0; display: flex; align-items: center; justify-content: space-between; height: 61px; padding: 0 36px; border-bottom: 1px solid #eceef3; background: #fff; }
.breadcrumbs { color: #a0a4b3; font-size: 11px; }
.breadcrumbs span { margin: 0 8px; color: #c5c7d1; }
.breadcrumbs b { color: #51566d; font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 15px; }
.top-date { color: #8b90a3; font-size: 10px; }
.notification-button { position: relative; font-size: 18px; }
.notification-button i { position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border: 1px solid #fff; border-radius: 50%; background: #f18d81; }
.avatar-small { flex-basis: 30px; width: 30px; height: 30px; }
.mobile-menu { display: none; }
.page-content { max-width: 1440px; margin: 0 auto; padding: 34px 36px 14px; }
.welcome-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.welcome-row .eyebrow { margin-bottom: 8px; }
.welcome-row h1 { margin: 0; font: 700 25px var(--font-display); letter-spacing: -.9px; }
.welcome-row p { margin: 7px 0 0; color: #9599aa; font-size: 12px; }
.welcome-spark { margin-left: 4px; color: #f2ad62; }
.wave { color: #f2ad62; font-size: 17px; }
.welcome-row > .button { margin-bottom: 2px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; margin-bottom: 17px; }
.stat-card { min-width: 0; padding: 16px 16px 13px; border: 1px solid #eceef3; border-radius: 9px; background: #fff; }
.stat-top { display: flex; align-items: center; justify-content: space-between; color: #81869b; font-size: 11px; }
.stat-icon { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 8px; font-size: 14px; }
.purple { color: #0878d1; background: #e8f4ff; }
.blue { color: #4c8fdb; background: #eaf4ff; }
.orange { color: #dc9751; background: #fff4e8; }
.green { color: #43a27d; background: #e9f8f1; }
.stat-value { display: flex; align-items: baseline; gap: 8px; margin-top: 11px; color: #2b304b; font: 700 25px var(--font-display); letter-spacing: -.8px; }
.stat-change { color: #a0a4b3; font: 400 9px var(--font-body); letter-spacing: 0; }
.stat-foot { display: flex; align-items: center; gap: 8px; min-height: 20px; margin-top: 7px; color: #a0a4b3; font-size: 9px; }
.tiny-bars { display: flex; align-items: flex-end; gap: 2px; height: 15px; }
.tiny-bars i { width: 3px; border-radius: 2px; background: currentColor; opacity: .8; }
.tiny-bars i:nth-child(1), .tiny-bars i:nth-child(4) { height: 7px; }.tiny-bars i:nth-child(2), .tiny-bars i:nth-child(6) { height: 11px; }.tiny-bars i:nth-child(3), .tiny-bars i:nth-child(5) { height: 14px; }.tiny-bars i:nth-child(7) { height: 9px; }
.purple-bars { color: #168bd4; }
.stat-bullet { width: 6px; height: 6px; border-radius: 50%; }.blue-bullet { background: #69a6ec; }.orange-bullet { background: #eda85d; }.green-bullet { background: #55b88e; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(245px, .9fr); gap: 16px; margin-bottom: 17px; }
.panel { border: 1px solid #eceef3; border-radius: 9px; background: #fff; }
.usage-panel, .capacity-panel { min-height: 290px; padding: 18px 19px 15px; }
.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.panel-heading h2 { margin: 0; color: #333852; font: 700 13px var(--font-display); }
.panel-heading p { margin: 5px 0 0; color: #a0a4b3; font-size: 10px; }
.select-static { padding: 7px 10px; border: 1px solid #ebedf3; border-radius: 6px; color: #73788e; font-size: 10px; }
.select-static span { margin-left: 9px; }
.chart-summary { display: flex; align-items: baseline; gap: 7px; margin-top: 22px; }
.chart-summary strong { color: #303550; font: 700 23px var(--font-display); }
.chart-summary > span:not(.chart-legend) { color: #9da1b0; font-size: 9px; }
.chart-legend { display: flex; align-items: center; gap: 5px; margin-left: auto; color: #9398ab; font-size: 9px; }
.chart-legend i { width: 7px; height: 7px; border-radius: 2px; background: #7a68ed; }
.bar-chart { display: flex; height: 149px; margin-top: 9px; }
.y-axis { display: flex; flex-direction: column; justify-content: space-between; padding: 0 11px 21px 0; color: #b0b3bf; font-size: 8px; }
.chart-plot { position: relative; display: flex; flex: 1; justify-content: space-around; }
.grid-lines { position: absolute; inset: 3px 0 22px; display: flex; flex-direction: column; justify-content: space-between; }
.grid-lines i { border-top: 1px dashed #f0f1f6; }
.bar-group { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; align-items: center; justify-content: flex-end; gap: 7px; }
.bar { width: min(19px, 48%); height: var(--height); max-height: 116px; min-height: 8px; border-radius: 4px 4px 1px 1px; background: linear-gradient(180deg, #a69afa, #7565e8); opacity: .78; }
.today-bar { background: linear-gradient(180deg, #7666e7, #5f51cf); opacity: 1; box-shadow: 0 4px 9px #7868e532; }
.bar-group span { color: #a3a7b5; font-size: 8px; }
.more-button { border: 0; color: #a5a9b8; background: none; font-size: 19px; }
.capacity-visual { display: flex; justify-content: center; padding: 18px 0 12px; }
.donut { display: grid; width: 133px; height: 133px; place-items: center; border-radius: 50%; background: conic-gradient(#0878d1 0deg, #20b3e4 100deg, #e5f3fd 100deg 360deg); transform: rotate(-90deg); }
.donut > div { display: flex; width: 100px; height: 100px; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: #fff; transform: rotate(90deg); }
.donut strong { color: #383d59; font: 700 22px var(--font-display); }
.donut span { margin-top: 2px; color: #a2a5b3; font-size: 9px; }
.capacity-details { display: flex; justify-content: center; gap: 19px; }
.capacity-details > div { display: grid; grid-template-columns: 7px auto auto; align-items: center; gap: 6px; color: #979bad; font-size: 9px; }
.capacity-details b { margin-left: 4px; color: #555a70; font-size: 10px; }
.legend-dot { width: 7px; height: 7px; border-radius: 50%; }.legend-dot.inuse { background: #0878d1; }.legend-dot.available { background: #d9e9f6; }
.capacity-note { display: flex; justify-content: center; gap: 7px; margin-top: 14px; padding-top: 11px; border-top: 1px solid #f1f2f6; color: #999daf; font-size: 9px; }
.capacity-note span { color: #8b7bfa; }
.table-panel { overflow: hidden; }
.table-heading { padding: 18px 19px; }
.text-link { color: #0878d1; font-size: 10px; font-weight: 700; }
.text-link span { padding-left: 5px; font-size: 14px; }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; white-space: nowrap; }
thead { background: #fafbfe; }
th { padding: 10px 18px; color: #a0a4b3; font-size: 8px; font-weight: 700; letter-spacing: .65px; }
td { padding: 12px 18px; border-top: 1px solid #f1f2f6; color: #73788d; font-size: 10px; }
tbody tr { transition: background .15s; }
tbody tr:hover { background: #fbfbfe; }
.person-cell { display: flex; align-items: center; gap: 9px; }
.person-cell > span:last-child { display: grid; gap: 3px; }
.person-cell b { color: #464b64; font-size: 10px; font-weight: 600; }
.person-cell small, .table-secondary { display: block; margin-top: 4px; color: #a4a8b6; font-size: 9px; }
.avatar-table { flex-basis: 28px; width: 28px; height: 28px; font-size: 9px; }
.computer-chip { display: inline-block; padding: 5px 7px; border: 1px solid #ecebf5; border-radius: 5px; color: #6058a4; background: #f8f7ff; font-size: 9px; font-weight: 600; }
.purpose-cell { max-width: 210px; overflow: hidden; text-overflow: ellipsis; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 20px; font-size: 9px; font-weight: 600; }
.status i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.green { color: #429472; background: #eaf8f1; }.status.blue { color: #5986c8; background: #eef5ff; }.status.muted { color: #84899a; background: #f1f2f5; }.status.red { color: #c87178; background: #fff0f1; }
.empty-state { padding: 35px 20px; color: #9a9eae; text-align: center; font-size: 11px; }
.page-footer { display: flex; justify-content: space-between; padding: 19px 1px 6px; color: #a8abba; font-size: 9px; }
.page-footer > span:last-child { display: flex; align-items: center; gap: 6px; }
.footer-status { width: 6px; height: 6px; border-radius: 50%; background: #6bc398; }
.student-hero { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 224px; margin-bottom: 17px; padding: 30px 38px; overflow: hidden; border-radius: 12px; color: #fff; background: linear-gradient(105deg, #5143bd, #7564e6 59%, #9281f2); }
.student-hero::before, .student-hero::after { position: absolute; width: 300px; height: 300px; border: 1px solid #ffffff18; border-radius: 50%; content: ""; }
.student-hero::before { top: -195px; right: 4%; box-shadow: 0 0 0 36px #ffffff0b, 0 0 0 72px #ffffff08; }
.student-hero::after { right: 38%; bottom: -267px; box-shadow: 0 0 0 30px #ffffff0a, 0 0 0 62px #ffffff06; }
.student-hero > div:first-child { position: relative; z-index: 1; }
.hero-tag { display: inline-flex; align-items: center; gap: 7px; color: #ddd9ff; font-size: 9px; font-weight: 700; letter-spacing: 1.1px; }
.hero-tag i { width: 6px; height: 6px; border-radius: 50%; background: #a9f1d0; }
.student-hero h2 { margin: 12px 0 7px; font: 700 25px var(--font-display); letter-spacing: -.8px; }
.student-hero p { margin: 0 0 15px; color: #e0dcff; font-size: 11px; line-height: 1.65; }
.button-white { min-height: 36px; color: #5547c4; background: #fff; font-size: 10px; }
.hero-art { position: relative; z-index: 1; width: 40%; height: 170px; }
.art-window { position: absolute; top: 10px; right: 40px; width: 190px; height: 138px; overflow: hidden; border: 4px solid #ffffff63; border-radius: 9px; background: #fff; box-shadow: 0 12px 22px #3225794a; transform: rotate(4deg); }
.window-head { display: flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; background: #f7f6fc; }
.window-head i { width: 4px; height: 4px; border-radius: 50%; background: #e4a29e; }.window-head i:nth-child(2) { background: #edcc8f; }.window-head i:nth-child(3) { background: #8ac8a7; }
.window-head span { margin-left: auto; color: #b8bbc7; font-size: 5px; }
.window-screen { display: flex; height: 118px; }
.screen-sidebar { display: grid; align-content: start; gap: 11px; width: 28px; padding: 12px 9px; background: #f8f7fc; }
.screen-sidebar i { width: 9px; height: 5px; border-radius: 3px; background: #dedaf7; }
.screen-sidebar i:first-child { background: #8275e7; }
.screen-main { flex: 1; padding: 13px 12px; }
.screen-main > span { display: block; width: 54px; height: 7px; border-radius: 4px; background: #c9c5e9; }
.screen-main > div { display: flex; gap: 7px; margin: 11px 0; }.screen-main > div i { width: 47px; height: 30px; border: 1px solid #eeedf3; border-radius: 4px; background: linear-gradient(130deg, #f7f6fc 50%, #eeebff 50%); }
.screen-main > b, .screen-main > small { display: block; width: 118px; height: 5px; margin-top: 6px; border-radius: 4px; background: #f0eff5; }.screen-main > small { width: 83px; margin-top: 4px; }
.art-badge { position: absolute; right: 0; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 10px 13px; border: 1px solid #ffffff80; border-radius: 8px; color: #4e4789; background: #fff; box-shadow: 0 6px 15px #31277436; transform: rotate(-3deg); }
.art-badge > span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; color: #0878d1; background: #e8f4ff; }
.art-badge b { font: 700 9px/1.45 var(--font-display); }
.art-star { position: absolute; top: 0; right: 12%; color: #d3ccff; font-size: 23px; }
.student-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 17px; }
.student-activity-panel { margin-bottom: 17px; padding: 18px 19px 15px; }
.student-mini-stat { display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid #eceef3; border-radius: 9px; background: #fff; }
.mini-stat-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; font-size: 15px; }.mini-stat-icon.violet { color: #0878d1; background: #e8f4ff; }.mini-stat-icon.mint { color: #51a886; background: #eaf8f1; }.mini-stat-icon.peach { color: #d58e53; background: #fff3e8; }
.student-mini-stat > span:last-child { display: grid; gap: 4px; }.student-mini-stat small { color: #979bad; font-size: 9px; }.student-mini-stat b { color: #40455e; font: 700 17px var(--font-display); }.stat-inline { display: inline; margin-left: 3px; font: 400 9px var(--font-body); }
.button-subtle { border: 1px solid #e9eaf1; color: #6156bc; background: #fff; box-shadow: none; }
.button-subtle:hover { background: #f8f7ff; }
.text-button { padding: 4px 6px; border: 0; color: #6758d4; background: none; font-size: 10px; font-weight: 700; }
.text-button:hover, .clear-link:hover { text-decoration: underline; }
.danger-text { color: #bd6973; }.inline-form { display: inline; }
.filter-bar { display: flex; align-items: center; gap: 9px; padding: 14px 18px; border-bottom: 1px solid #f0f1f5; }
.filter-bar input, .filter-bar select { min-width: 145px; height: 34px; padding: 0 10px; border: 1px solid #e9ebf2; border-radius: 6px; outline: 0; color: #62677e; background: #fff; font-size: 10px; }
.filter-bar input[name=q] { flex: 1; min-width: 180px; }
.filter-bar input::placeholder { color: #a9adba; }
.clear-link { color: #969bad; font-size: 10px; }
.compact-welcome { align-items: center; margin-bottom: 22px; }
.search-wrap { position: relative; display: flex; align-items: center; flex: 1; max-width: 380px; }
.search-wrap > span { position: absolute; left: 11px; color: #9ba0b0; font-size: 17px; }
.search-wrap input { width: 100%; padding-left: 32px; }
.result-count { margin-left: auto; color: #9da1b0; font-size: 10px; }
.activity-name { color: #4a5068; font-size: 10px; font-weight: 600; }
.report-stats { margin-bottom: 18px; }
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.settings-card { padding: 22px; }
.settings-icon { display: grid; width: 37px; height: 37px; place-items: center; margin-bottom: 15px; border-radius: 10px; font-size: 17px; }
.settings-card h2, .security-panel h2 { margin: 0; color: #353a55; font: 700 14px var(--font-display); }
.settings-card > p, .security-panel p { min-height: 36px; margin: 8px 0 16px; color: #9297a9; font-size: 10px; line-height: 1.65; }
.settings-card form { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.settings-note { margin-top: 14px; padding-top: 11px; border-top: 1px solid #f0f1f5; color: #a2a6b5; font-size: 9px; line-height: 1.6; }
.file-picker { position: relative; overflow: hidden; padding: 10px 12px; border: 1px solid #e9eaf1; border-radius: 6px; color: #686d82; background: #fff; font-size: 10px; cursor: pointer; }
.file-picker input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.security-panel { display: flex; gap: 14px; padding: 18px 20px; }
.security-shield { display: grid; flex: 0 0 36px; height: 36px; place-items: center; border-radius: 10px; color: #5b9c7b; background: #eaf8f1; font-size: 19px; }
.security-panel p { min-height: 0; margin-bottom: 11px; }
.security-tags { display: flex; gap: 8px; flex-wrap: wrap; }.security-tags span { padding: 5px 7px; border-radius: 5px; color: #5c9379; background: #f0faf4; font-size: 9px; }
.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: #20234272; backdrop-filter: blur(3px); }
.modal-backdrop.is-open { display: flex; }
.modal-card { width: min(100%, 470px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 23px; border: 1px solid #eceef4; border-radius: 12px; background: #fff; box-shadow: 0 22px 70px #17183236; animation: modal-in .18s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal-head { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 22px; }
.modal-head h2 { margin: 7px 0 5px; font: 700 20px var(--font-display); letter-spacing: -.5px; }
.modal-head p { margin: 0; color: #969bad; font-size: 11px; }
.modal-close { align-self: flex-start; font-size: 19px; }
.stack-form { display: grid; gap: 12px; }
.stack-form label { display: grid; gap: 7px; margin: 0; }
.stack-form input, .stack-form select { width: 100%; height: 39px; padding: 0 10px; border: 1px solid #e7e9f0; border-radius: 6px; outline: 0; color: #444a62; background: #fff; font-size: 11px; }
.stack-form input::placeholder { color: #b0b4c1; }
.stack-form .button { margin-top: 5px; min-height: 42px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.form-hint { margin: -2px 0 0; color: #999daf; font-size: 10px; }
.optional { color: #a4a8b6; font-size: 9px; font-weight: 400; }
.sidebar-scrim { display: none; }
.inline-form[data-confirm] { display: inline; }

@media (max-width: 1100px) {
    .sidebar { width: 218px; }
    .main-content { width: calc(100% - 218px); margin-left: 218px; }
    .page-content { padding-right: 24px; padding-left: 24px; }
    .topbar { padding-right: 24px; padding-left: 24px; }
    .stat-grid { gap: 10px; }
    .stat-card { padding-right: 12px; padding-left: 12px; }
    .student-hero { padding-right: 25px; padding-left: 25px; }
    .hero-art { width: 37%; }
}
@media (max-width: 820px) {
    .login-shell { grid-template-columns: minmax(320px, .8fr) 1.2fr; }
    .login-story { padding-right: 8%; padding-left: 8%; }
    .story-metrics { gap: 13px; }
    .story-metrics span { font-size: 9px; }
    .login-panel { padding-right: 7%; padding-left: 7%; }
    .sidebar { transform: translateX(-105%); transition: transform .22s ease; box-shadow: 8px 0 24px #23244612; }
    .sidebar.open { transform: translateX(0); }
    .sidebar-scrim.open { position: fixed; z-index: 4; inset: 0; display: block; background: #1f21434d; }
    .main-content { width: 100%; margin-left: 0; }
    .mobile-menu { display: grid; margin-right: 12px; }
    .topbar { justify-content: flex-start; }
    .breadcrumbs { flex: 1; }
    .dashboard-grid { grid-template-columns: minmax(0, 1.4fr) minmax(220px, .8fr); gap: 12px; }
    .usage-panel, .capacity-panel { padding-right: 13px; padding-left: 13px; }
    .student-hero { min-height: 205px; }
    .hero-art { width: 38%; transform: scale(.85); transform-origin: center right; }
    .student-stat-row { gap: 9px; }
}
@media (max-width: 620px) {
    .login-shell { display: block; }
    .login-story { display: none; }
    .login-panel { min-height: 100vh; padding: 22px 24px 18px; }
    .login-top { display: none; }
    .login-card { width: min(100%, 390px); padding: 0; }
    .mobile-brand { display: block; margin-bottom: 49px; }
    .login-heading h2 { font-size: 25px; }
    .login-foot { margin-top: 25px; }
    .sidebar { width: min(280px, 82vw); }
    .topbar { height: 55px; padding: 0 15px; }
    .topbar-actions { gap: 8px; }
    .top-date { display: none; }
    .page-content { padding: 24px 14px 10px; }
    .welcome-row { align-items: flex-start; flex-direction: column; gap: 14px; margin-bottom: 18px; }
    .welcome-row h1 { font-size: 22px; }
    .welcome-row > .button { align-self: flex-start; }
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 12px; }
    .stat-card { padding: 12px 11px 10px; }
    .stat-top { font-size: 10px; }
    .stat-icon { width: 26px; height: 26px; }
    .stat-value { font-size: 22px; }
    .stat-foot { font-size: 8px; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .usage-panel { min-height: 272px; }
    .capacity-panel { min-height: 0; }
    .capacity-visual { padding-top: 14px; }
    .table-heading { align-items: flex-start; padding: 15px; }
    .table-heading .text-link { white-space: nowrap; }
    th { padding: 10px 12px; }
    td { padding: 10px 12px; }
    .student-hero { min-height: 202px; padding: 23px 20px; }
    .student-hero h2 { font-size: 22px; }
    .student-hero p { font-size: 10px; }
    .hero-art { position: absolute; right: 0; bottom: -18px; width: 45%; opacity: .82; transform: scale(.7); }
    .student-stat-row { grid-template-columns: 1fr; gap: 8px; }
    .student-mini-stat { padding: 10px 12px; }
    .compact-welcome { align-items: flex-start; }
    .filter-bar { align-items: stretch; flex-wrap: wrap; padding: 11px; }
    .filter-bar input[name=q] { min-width: 100%; }
    .filter-bar input, .filter-bar select { flex: 1; min-width: 120px; }
    .search-wrap { max-width: none; min-width: 100%; }
    .filter-bar .result-count { align-self: center; }
    .settings-grid { grid-template-columns: 1fr; gap: 11px; }
    .settings-card { padding: 17px; }
    .settings-card > p { min-height: 0; }
    .security-panel { padding: 15px; }
    .security-tags { gap: 5px; }
    .page-footer { gap: 8px; flex-wrap: wrap; }
    .modal-card { padding: 19px; }
}
@media print {
    body, .app-body { background: #fff; }
    .sidebar, .topbar, .page-footer, .button, .filter-bar, .text-button, .inline-form, .notice, .modal-backdrop { display: none !important; }
    .main-content { width: 100%; margin: 0; }
    .page-content { max-width: none; padding: 0; }
    .panel, .stat-card { break-inside: avoid; border: 1px solid #ddd; }
    .welcome-row { margin-bottom: 15px; }
    th, td { padding: 8px; color: #333; }
}

:root {
    --ink: #102748;
    --muted: #718198;
    --line: #e4edf7;
    --canvas: #f3f7fc;
    --purple: #0878d1;
    --purple-dark: #075eaa;
    --navy: #092652;
    --blue: #0878d1;
    --cyan: #04a9e8;
    --font-body: "DM Sans", "Segoe UI", sans-serif;
}

.login-body { background: #f3f7fc; }
.login-story { background: radial-gradient(ellipse at 82% 72%, #0879ce 0, transparent 39%), linear-gradient(145deg, #061b3d 0%, #0b2f68 57%, #0879c9 100%); }
.story-content h1 em { color: #61cfff; }
.login-story .brand-dot, .brand-dot { color: #20b8f5; }
.brand { gap: 12px; letter-spacing: -.5px; }
.brand-logo {
    display: block;
    flex: 0 0 45px;
    width: 45px;
    height: 45px;
    object-fit: cover;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 16px #041e4c40;
}
.brand-copy { display: grid; gap: 4px; }
.brand-copy strong { font: 800 20px/1 var(--font-display); letter-spacing: -.7px; }
.brand-copy small {
    max-width: 230px;
    color: #a7c7e9;
    font: 500 8px/1.35 var(--font-body);
    letter-spacing: .08px;
    white-space: normal;
}
.brand-light .brand-copy small { color: #c1d9f2; }
.login-story .eyebrow { color: #c6e8ff; }
.story-content h1 em { text-shadow: 0 0 34px #1eb5f544; }
.story-metrics strong { color: #fff; }
.login-top a, .text-link, .login-foot a { color: #0878d1; }
.mini-icon { color: #0878d1; background: #e7f4ff; }
.input-wrap:focus-within, .stack-form input:focus, .stack-form select:focus, .filter-bar input:focus, .filter-bar select:focus {
    border-color: #54ace8;
    box-shadow: 0 0 0 3px #1688d21a;
}
.captcha-code { border-color: #9ed5f6; color: #075b9e; background: #eef8ff; }
.button-primary { background: linear-gradient(115deg, #0878d1, #079dda); box-shadow: 0 5px 14px #0878d13b; }
.button-primary:hover { background: linear-gradient(115deg, #075eaa, #0785c4); box-shadow: 0 8px 18px #0878d145; }
.demo-box { align-items: flex-start; border-color: #d7eafb; background: linear-gradient(125deg, #f4faff, #f9fcff); }
.demo-icon { color: #0878d1; background: #e2f2ff; }
.demo-content { min-width: 0; }
.demo-content > p { display: block; margin: 0 0 9px; color: #73869d; font-size: 10px; line-height: 1.5; }
.demo-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.demo-fill-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #cce5f8;
    border-radius: 6px;
    color: #075d9e;
    background: #fff;
    font-size: 10px;
    font-weight: 700;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.demo-fill-button:hover { transform: translateY(-2px); border-color: #65b7ed; color: #fff; background: #0878d1; box-shadow: 0 5px 12px #0878d12b; }
.demo-fill-status { display: block; min-height: 13px; margin-top: 5px; color: #18749f; font-size: 9px; }
.sidebar {
    border-right-color: #0a326a;
    color: #f4f8ff;
    background: linear-gradient(180deg, #0b2c5e 0%, #081f45 100%);
    box-shadow: 5px 0 22px #09265212;
}
.sidebar-brand { margin: 0 0 31px 2px; color: #fff; }
.sidebar-brand .brand-logo { flex-basis: 39px; width: 39px; height: 39px; }
.sidebar-brand .brand-copy strong { font-size: 18px; }
.sidebar-brand .brand-copy small { max-width: 155px; color: #9cbce0; font-size: 7px; }
.workspace-label, .nav-label { color: #84a4ce; }
.workspace-switch { border-color: #31517c; background: #ffffff0b; }
.workspace-switch:hover { border-color: #5783b7; background: #ffffff12; }
.workspace-symbol { color: #b7e9ff; background: #0878d140; }
.workspace-switch b { color: #f2f7ff; }
.workspace-switch small, .chevron { color: #a4bbd8; }
.side-nav > a { color: #c3d2e7; }
.side-nav > a:hover { color: #fff; background: #ffffff12; }
.side-nav > a.active { color: #fff; background: linear-gradient(95deg, #0878d1, #079fd6); box-shadow: 0 5px 14px #03173536; }
.nav-count { color: #e4f7ff; background: #ffffff24; }
.help-card { border-color: #34527b; background: linear-gradient(135deg, #12396d, #102d58); }
.help-card strong { color: #f3f8ff; }
.help-card p { color: #b3c6df; }
.help-card a, .help-spark { color: #71d5ff; }
.sidebar-user { border-top-color: #ffffff20; }
.user-meta b { color: #f2f7ff; }
.user-meta small { color: #afc2dc; }
.sidebar .icon-button { border-color: #ffffff21; color: #d6e5f7; background: #ffffff0d; }
.sidebar .icon-button:hover { background: #ffffff1b; }
.sidebar .brand-logo { box-shadow: 0 3px 12px #03163170; }
.topbar {
    border-bottom-color: #075eaa;
    color: #fff;
    background: linear-gradient(105deg, #0b3572, #0878c5 72%, #0799d1);
    box-shadow: 0 3px 13px #0827541c;
}
.breadcrumbs, .breadcrumbs span, .breadcrumbs b, .top-date { color: #e0efff; }
.breadcrumbs b { color: #fff; }
.topbar .icon-button { border-color: #ffffff42; color: #fff; background: #ffffff14; }
.topbar .icon-button:hover { background: #ffffff29; }
.topbar .notification-button i { border-color: #0878c5; background: #7de6ff; }
.topbar .avatar { border-color: #c8efff; color: #075899; background: #e4f7ff; }
.workspace-switch, .help-card, .panel, .stat-card, .student-mini-stat, .settings-card,
.capacity-panel, .usage-panel, .student-activity-panel, .student-hero, .avatar,
.computer-chip, .status, .side-nav > a, .icon-button, .workspace-symbol, .nav-count {
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease;
}
.stat-card:hover, .student-mini-stat:hover, .settings-card:hover {
    transform: translateY(-3px);
    border-color: #d0e6f8;
    box-shadow: 0 10px 24px #0b39700e;
}
.panel:hover { border-color: #dce9f5; }
.side-nav > a:hover .nav-icon { transform: translateX(2px); }
.nav-icon { transition: transform .18s ease; }
.workspace-switch:hover .workspace-symbol, .sidebar-user .avatar:hover { transform: scale(1.06); }
.computer-chip:hover { transform: translateY(-1px); border-color: #8bc9ef; color: #075eaa; background: #edf8ff; }
.status:hover { transform: translateY(-1px); }
.button:focus-visible, .icon-button:focus-visible, .demo-fill-button:focus-visible,
.side-nav a:focus-visible, .brand:focus-visible {
    outline: 3px solid #31b6ef;
    outline-offset: 3px;
}
.student-hero { background: linear-gradient(110deg, #0b4e9a, #087fc9 58%, #10a7dc); }
.student-hero::before, .student-hero::after { border-color: #d9f5ff24; }
.hero-tag { color: #d7f4ff; }
.hero-tag i { background: #69e2bc; }
.button-white { color: #075b9e; }
.mini-stat-icon.violet { color: #0878d1; background: #e8f4ff; }
.chart-legend i, .today-bar { background: linear-gradient(180deg, #28b4eb, #0878d1); }
.bar { background: linear-gradient(180deg, #67c8f2, #1785d1); }
.donut { background: conic-gradient(#0878d1 0deg, #21b4e5 100deg, #e5f3fd 100deg 360deg); }
.legend-dot.inuse { background: #0878d1; }
.legend-dot.available { background: #d9e9f6; }
.capacity-note span { color: #079dda; }
.text-button:hover { color: #075eaa; }
.security-tags span { color: #18749f; background: #edf8ff; }
.security-shield { color: #0878d1; background: #e8f4ff; }
.sidebar .avatar { border-color: #254877; color: #d4efff; background: #194879; }
.sidebar .logout-button { color: #e2f0ff; }
.topbar-actions, .breadcrumbs { transition: opacity .2s ease; }
.table-wrap tbody tr:hover { background: #f5faff; }
@media (max-width: 620px) {
    .sidebar { box-shadow: 12px 0 30px #03173545; }
    .sidebar-brand .brand-copy small { max-width: 170px; }
    .login-panel { background: radial-gradient(ellipse at 50% 0, #e4f5ff 0, transparent 43%), #f7faff; }
    .mobile-brand { margin-bottom: 38px; }
    .mobile-brand .brand { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
@media print {
    .sidebar, .topbar { color: #333; }
}
