:root{font-family:system-ui,-apple-system,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;color:#192638;background:#f6f8fb;font-size:15px}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input{font:inherit}.muted{color:#64748b;line-height:1.7}.eyebrow{font-size:11px;letter-spacing:.15em;color:#718098;font-weight:800;margin:0 0 9px}.center-page{min-height:calc(100vh - 62px);display:grid;place-items:center;padding:40px 20px}.auth-card{width:min(100%,430px);padding:39px;background:#fff;border:1px solid #e5eaf0;border-radius:18px;box-shadow:0 20px 55px rgba(31,54,87,.08)}.auth-card.wide{width:min(100%,500px)}.auth-card h1{font-size:26px;letter-spacing:-.055em;margin:8px 0}.auth-card p{margin:10px 0 26px}.brand-mark{display:grid;place-items:center;width:52px;height:52px;border-radius:14px;background:#163d75;color:white;letter-spacing:-.06em;font-weight:900;font-size:19px}.brand-mark.compact{width:37px;height:37px;border-radius:11px;font-size:14px;flex-shrink:0}.auth-card form{display:grid;gap:11px;margin:24px 0 6px}.auth-card label{font-size:13px;font-weight:800;margin-top:7px}.auth-card input{width:100%;border:1px solid #d6deea;border-radius:9px;padding:12px 14px;outline:none;background:#fff}.auth-card input:focus{border-color:#2b62af;box-shadow:0 0 0 3px #dce9ff}.btn{display:inline-flex;justify-content:center;align-items:center;min-height:40px;padding:9px 17px;border-radius:9px;border:1px solid #dce3ed;cursor:pointer;font-weight:750;background:#fff}.btn.primary{color:#fff;border-color:#1e4b88;background:#1e4b88}.btn.primary:hover{background:#163d75}.btn.full{width:100%;margin-top:14px}.btn.subtle{border:1px solid #dce4ee;background:#f9fbfd;font-size:12px}.small-note{font-size:12px!important;color:#8490a0;line-height:1.7!important}.alert{background:#fff3f0;color:#b03227;border:1px solid #f8d1ca;padding:13px 15px;border-radius:9px;font-size:13px}.hint{background:#f3f7fc;border:1px solid #e2eaf4;border-radius:10px;padding:16px;color:#5a6f89;font-size:13px;line-height:1.7;margin:22px 0}.auth-footer{text-align:center;color:#93a1b4;font-size:12px;padding:16px}.app-shell{min-height:100vh;display:flex;flex-direction:column}.topbar{height:69px;background:#fff;border-bottom:1px solid #e3e9f0;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,max-content) minmax(0,1fr);align-items:center;padding:0 28px;gap:16px;z-index:2}.app-brand{justify-self:start;display:flex;align-items:center;gap:10px;font-size:19px;font-weight:900;letter-spacing:-.06em;white-space:nowrap}.app-brand small{font-size:10px;color:#89a0ba;vertical-align:top;margin-left:3px}.top-nav{grid-column:2;justify-self:center;height:100%;display:flex;align-items:stretch;justify-content:center;gap:3px;overflow-x:auto;max-width:100%;margin:0}.top-link{position:relative;white-space:nowrap;padding:0 17px;display:grid;place-items:center;font-size:14px;font-weight:750;color:#64748b}.top-link:hover{color:#1d4a88;background:#f7faff}.top-link.active{color:#1b4d91}.top-link.active:after{content:"";height:3px;background:#245ca7;position:absolute;bottom:0;left:17px;right:17px;border-radius:3px}.account{grid-column:3;justify-self:end;display:flex;gap:15px;align-items:center;white-space:nowrap}.account form{margin:0}.identity{display:grid;gap:2px;text-align:right}.identity strong{font-size:12px}.identity small{font-size:10px;color:#91a0b0}.work-area{display:flex;flex:1;min-height:calc(100vh - 69px)}.sidebar{width:237px;min-width:237px;background:#fff;border-right:1px solid #e3e9f0;display:flex;flex-direction:column;padding:27px 16px}.side-head{padding:0 13px 22px}.side-head h2{font-size:19px;margin:0;letter-spacing:-.05em}.side-nav{display:grid;gap:4px}.side-link{display:flex;align-items:center;gap:11px;min-height:44px;padding:10px 13px;border-radius:9px;color:#536780;font-weight:700;font-size:13px}.side-link:hover{background:#f3f7fb}.side-link.selected{background:#eaf2fd;color:#1f5b9f}.side-dot{border:2px solid #afc0d4;border-radius:50%;width:8px;height:8px;flex-shrink:0}.selected .side-dot{background:#286ac1;border-color:#286ac1}.sidebar-empty{padding:12px;font-size:12px}.side-foot{color:#9aa8b7;font-size:11px;border-top:1px solid #edf1f5;line-height:1.8;margin-top:auto;padding:20px 13px 0}.main-content{padding:34px clamp(24px,4vw,72px);width:100%;min-width:0}.breadcrumb{color:#75869c;font-size:12px;font-weight:700;margin:0 0 25px}.crumb-separator{margin:0 11px;color:#aeb8c5}.module-card{width:min(100%,850px);min-height:490px;border:1px solid #e4eaf2;background:white;border-radius:17px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 36px;box-shadow:0 9px 28px rgba(30,55,91,.035)}.dev-badge{color:#54799e;background:#edf4fc;border:1px solid #dceafb;padding:6px 12px;border-radius:100px;font-size:10px;letter-spacing:.12em;font-weight:900}.placeholder-icon{font-size:56px;color:#8eabc8;margin-top:28px;line-height:1}.module-card h1{font-size:27px;letter-spacing:-.06em;margin:20px 0 0}.module-card .muted{font-size:14px;margin:16px 0 0}.module-card .hint{max-width:550px;text-align:left}@media(max-width:1100px){.topbar{height:69px;min-height:69px;grid-template-rows:69px;gap:8px;padding:0 15px}.top-nav{grid-row:1;min-width:0;overflow-x:auto}.top-link{padding:0 10px;font-size:13px}.sidebar{width:200px;min-width:200px}}
@media(max-width:740px){.topbar{height:62px;min-height:62px;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:62px;padding:0 9px;gap:7px}.app-brand{grid-column:1;grid-row:1;font-size:0;gap:0}.app-brand>span:last-child{display:none}.top-nav{grid-column:2;grid-row:1;justify-self:stretch;width:100%;justify-content:flex-start;overflow-x:auto;height:100%}.top-link{font-size:12px;padding:0 9px}.account{grid-column:3;grid-row:1;margin-left:0}.identity{display:none}.account .btn{min-height:32px;padding:6px 9px}.work-area{display:block}.sidebar{width:100%;min-width:0;padding:15px;border-right:0;border-bottom:1px solid #e4eaf1}.side-head{padding:0 5px 11px}.side-head h2{font-size:17px}.side-nav{display:flex;overflow-x:auto;gap:6px}.side-link{white-space:nowrap}.side-foot{display:none}.main-content{padding:22px 15px}.module-card{min-height:350px;padding:23px}.module-card h1{font-size:23px}}


/* V35.0.7 grade/class tabs — shared presentation, data supplied by student module. */
.student-sidebar{display:flex;flex-direction:column;min-height:0;max-height:min(70vh,800px);padding:0 2px 15px;margin-bottom:15px;border-bottom:1px solid #e7edf5}
.student-sidebar-tabs{display:grid;grid-template-columns:1fr 1fr;width:100%;padding:3px;background:#edf2f9;border-radius:10px;gap:3px;margin-bottom:15px}
.student-sidebar-tab{min-height:42px;background:transparent;border:0;border-radius:8px;color:#60758d;font-size:14px;font-weight:800;cursor:pointer}
.student-sidebar-tab:hover{color:#204e88}.student-sidebar-tab.is-active{color:#1e5595;background:#fff;box-shadow:0 1px 5px rgba(30,55,91,.10)}
.student-sidebar-tab:focus-visible,.student-list-link:focus-visible,.student-list-more:focus-visible{outline:2px solid #245ca7;outline-offset:2px}
.student-list-toolbar{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 5px 8px}
.student-list-toolbar strong{font-size:12px;color:#496079}.student-list-toolbar span{color:#8091a7;font-size:11px}
.student-list{display:flex;flex-direction:column;min-height:120px;overflow-y:auto;max-height:52vh;padding:0 2px 3px;gap:12px}
.student-roster-group{display:flex;flex-direction:column;gap:1px}
.student-roster-group-title{margin:0 0 3px;padding:7px 9px;background:#f2f6fa;border-radius:7px;color:#36516c;font-size:12px;font-weight:850}
.student-roster-group-members{display:flex;flex-direction:column;gap:1px;padding:0 0 0 8px}
.student-list-link{display:block;border-radius:7px;padding:8px 10px;font-size:13px;color:#42546a;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.student-list-link:hover,.student-list-link[aria-current="page"]{background:#eaf2fd;color:#1e5697}
.student-list-message{font-size:12px;line-height:1.6;color:#8795a8;margin:10px 3px 15px}
.student-list-more{align-self:center;border:1px solid #d8e1ec;border-radius:8px;background:white;font-size:12px;color:#3a648f;margin-top:10px;padding:7px 12px;cursor:pointer}
.student-list-more[hidden]{display:none}
@media(max-width:740px){.student-sidebar{max-height:none}.student-list{max-height:210px}}

/* V35.0.9 common account/profile page. Header remains in existing centered grid. */
.account-profile-link{border-radius:8px;padding:5px 7px;min-width:0}
.account-profile-link:hover,.account-profile-link[aria-current="page"]{background:#f0f5fb;color:#1e5595}
.profile-panel{max-width:760px;border:1px solid #e4eaf2;border-radius:16px;background:#fff;padding:30px;box-shadow:0 8px 28px rgba(30,55,91,.035)}
.profile-panel h1{margin:0;font-size:24px}.profile-panel h2{margin:0;font-size:19px}
.profile-form{display:grid;gap:11px;margin:20px 0 0}
.profile-form label,.profile-grid label{font-size:13px;font-weight:800;color:#405772}
.profile-form input{width:100%;border:1px solid #d5deea;border-radius:9px;padding:11px 12px;min-width:0}
.profile-form input:focus-visible{outline:2px solid #245ca7;outline-offset:1px}
.profile-form button{justify-self:start;margin-top:5px}
.profile-form button:disabled{opacity:.45;cursor:not-allowed}
.profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.profile-readonly{background:#f2f5f9;border:1px solid #e3e8ef;border-radius:9px;padding:11px 12px;margin:6px 0 0;color:#51657f;overflow-wrap:anywhere}
.profile-note{font-size:12px;color:#71839b;margin:0;line-height:1.6}
.profile-password{border-top:1px solid #e4eaf2;margin-top:28px;padding-top:25px}
.profile-success{background:#edf9f0;border:1px solid #cdebd7;color:#1b6d38;border-radius:9px;padding:12px}
@media(max-width:740px){.profile-panel{padding:20px}.profile-grid{grid-template-columns:1fr}.account-profile-link{padding:4px}.account-profile-link strong{font-size:11px}.account-profile-link small{display:none}}
@media(max-width:740px){.account .identity.account-profile-link{display:grid}}

/* V35.0.10 public account registration */
.signup-link{font-size:13px!important;margin:18px 0 0!important;color:#546880;text-align:center}
.signup-link a{color:#1b56a0;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.signup-link a:focus-visible{outline:2px solid #245ca7;outline-offset:3px}
.signup-policy-info{margin-top:15px;background:#edf5fc;border:1px solid #d7e8f6;border-radius:9px;padding:12px 14px;font-size:13px;font-weight:750;color:#1e5179}
