:root{--background:#f5f6f7;--surface:#fff;--surface-muted:#f8f9fa;--border:#dde1e5;--border-strong:#cbd0d5;--text:#202327;--muted:#687077;--green:#21853a;--green-soft:#e8f4eb;--red:#c8222b;--red-soft:#fbeaec;--yellow:#d99b00;--yellow-soft:#fff5d7;--blue:#2468c9;--blue-soft:#eaf1fb}*{box-sizing:border-box}html,body{background:var(--background);min-height:100%;color:var(--text);letter-spacing:0;margin:0;font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}button,input,select{font:inherit}button{color:inherit}.app-shell{grid-template-columns:72px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{background:var(--surface);border-right:1px solid var(--border);z-index:10;flex-direction:column;align-items:center;gap:20px;height:100vh;padding:14px 10px;display:flex;position:sticky;top:0}.brand-mark{border-bottom:1px solid var(--border);place-items:center;width:48px;height:48px;padding-bottom:8px;display:grid}.brand-mark img{object-fit:contain;width:40px;height:40px}.nav-list{flex-direction:column;gap:8px;display:flex}.nav-button,.icon-button{color:#626970;cursor:pointer;background:0 0;border:0;border-radius:6px;place-items:center;width:40px;height:40px;display:grid;position:relative}.nav-button:hover,.icon-button:hover{background:#f0f2f3}.nav-button.active{color:var(--green);background:var(--green-soft)}.nav-button.active:before{content:"";background:var(--green);width:3px;height:24px;position:absolute;left:-10px}.nav-button.settings{margin-top:auto}.workspace{min-width:0}.topbar{background:var(--surface);border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;height:64px;padding:0 28px;display:flex}.product-name{align-items:center;gap:12px;font-size:18px;font-weight:650;display:flex}.mobile-menu{background:0 0;border:0;display:none}.topbar-actions,.contact-actions,.identity-line{align-items:center;gap:10px;display:flex}.notification-dot{background:var(--red);border:1px solid var(--surface);border-radius:50%;width:6px;height:6px;position:absolute;top:9px;right:9px}.profile-button{color:#fff;cursor:pointer;background:#24282c;border:0;border-radius:50%;place-items:center;width:36px;height:36px;font-size:13px;font-weight:700;display:grid}.role-badge{border:1px solid var(--border);color:var(--muted);background:var(--surface-muted);border-radius:999px;padding:5px 9px;font-size:12px;font-weight:650}.topbar-actions form{margin:0}.login-page{background:var(--background);place-items:center;min-height:100vh;padding:24px;display:grid}.login-panel{border:1px solid var(--border);background:var(--surface);text-align:center;border-radius:8px;width:min(100%,420px);padding:38px}.login-panel img{object-fit:contain;margin-bottom:18px}.login-panel h1{font-size:27px}.login-copy{color:var(--muted);margin:12px 0 24px;line-height:1.5}.login-error{background:var(--red-soft);color:var(--red);border:1px solid #efb9bd;border-radius:6px;margin:0 0 18px;padding:10px 12px;font-size:13px;line-height:1.4}.google-button{border:1px solid var(--border-strong);background:var(--surface);width:100%;min-height:46px;color:var(--text);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:11px;padding:0 16px;font-weight:650;display:flex}.google-button:hover{background:var(--surface-muted)}.google-button:disabled{cursor:wait;opacity:.7}.google-g{color:#1a73e8;font-size:20px;font-weight:750}.page-content{max-width:1460px;margin:0 auto;padding:26px 28px 38px}.page-heading{justify-content:space-between;align-items:flex-end;margin-bottom:20px;display:flex}.eyebrow{color:var(--muted);text-transform:uppercase;margin:0 0 4px;font-size:12px;font-weight:650}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;font-size:30px;line-height:1.1}h2{margin-bottom:0;font-size:18px}h3{margin:0;font-size:15px}.primary-button,.secondary-button{cursor:pointer;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:0 15px;font-weight:650;display:inline-flex}.primary-button{border:1px solid var(--green);background:var(--green);color:#fff}.secondary-button{border:1px solid var(--border-strong);background:var(--surface)}.primary-button:hover{background:#196f30}.secondary-button:hover{background:var(--surface-muted)}.metrics{background:var(--surface);border:1px solid var(--border);border-radius:8px;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px;display:grid}.metric{border-right:1px solid var(--border);flex-direction:column;justify-content:center;gap:8px;min-height:92px;padding:18px 22px;display:flex}.metric:last-child{border-right:0}.metric span,.field span,.fee-summary span{color:var(--muted);font-size:12px;font-weight:550}.metric strong{font-size:22px}.green{color:var(--green)!important}.red{color:var(--red)!important}.yellow{color:var(--yellow)!important}.blue{color:var(--blue)!important}.student-layout{grid-template-columns:minmax(290px,350px) minmax(0,1fr);align-items:start;gap:18px;display:grid}.directory-panel,.student-detail{background:var(--surface);border:1px solid var(--border);border-radius:8px;overflow:hidden}.panel-header,.student-hero,.section-title{align-items:center;display:flex}.panel-header{border-bottom:1px solid var(--border);justify-content:space-between;min-height:72px;padding:14px 18px}.panel-header span{color:var(--muted);font-size:12px}.directory-controls{border-bottom:1px solid var(--border);grid-template-columns:minmax(0,1fr) 132px;gap:8px;padding:14px;display:grid}.search-box{height:40px;color:var(--muted);background:var(--surface-muted);border:1px solid var(--border);border-radius:6px;align-items:center;gap:9px;padding:0 11px;display:flex}.search-box input{background:0 0;border:0;outline:0;flex:1;min-width:0}.directory-controls select{border:1px solid var(--border);background:var(--surface);min-width:0;height:40px;color:var(--text);border-radius:6px;outline:0;padding:0 9px}.directory-controls select:focus,.search-box:focus-within{border-color:var(--green)}.student-list{max-height:650px;overflow-y:auto}.student-row{text-align:left;border:0;border-top:1px solid var(--border);background:var(--surface);cursor:pointer;grid-template-columns:42px minmax(0,1fr) auto 18px;align-items:center;gap:11px;width:100%;min-height:82px;padding:12px 14px;display:grid}.student-row.selected{box-shadow:inset 3px 0 0 var(--green);background:#f2f8f3}.avatar{color:#33445e;background:#dfe8f7;border-radius:50%;place-items:center;width:42px;height:42px;font-size:14px;font-weight:750;display:grid}.avatar.large{background:var(--yellow-soft);color:#735300;width:58px;height:58px;font-size:18px}.student-row-copy{flex-direction:column;gap:5px;min-width:0;display:flex}.student-row-copy strong,.student-row-copy small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.student-row-copy small{color:var(--muted)}.status-pill{min-height:24px;color:var(--green);background:var(--green-soft);white-space:nowrap;border-radius:999px;align-items:center;padding:0 9px;font-size:12px;font-weight:700;display:inline-flex}.status-pill.completed{color:#4f5a62;background:#edf0f2}.status-pill.cancelled{color:var(--red);background:var(--red-soft)}.status-pill.requires-review,.status-pill.upcoming{color:#8a6200;background:var(--yellow-soft)}.status-pill.not-enrolled{color:var(--blue);background:var(--blue-soft)}.student-hero{border-bottom:1px solid var(--border);justify-content:space-between;gap:16px;min-height:104px;padding:20px 22px}.student-identity{align-items:center;gap:14px;min-width:0;display:flex}.student-identity p{color:var(--muted);margin:7px 0 0;font-size:13px}.icon-button.bordered{border:1px solid var(--border-strong);text-decoration:none}.detail-section{border-bottom:1px solid var(--border);padding:20px 22px}.detail-section:last-child{border-bottom:0}.section-title{color:#42484e;gap:9px;margin-bottom:18px}.count-badge{min-width:24px;height:24px;color:var(--muted);background:#eef0f3;border-radius:6px;justify-content:center;align-items:center;font-size:12px;font-weight:700;display:inline-flex}.empty-copy{color:var(--muted);margin:0;font-size:14px}.enrollment-list{display:grid}.enrollment-item{border-top:1px solid var(--border);padding:18px 0}.enrollment-item:first-child{border-top:0;padding-top:0}.enrollment-item:last-child{padding-bottom:0}.enrollment-heading{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px;display:flex}.enrollment-heading strong{font-size:15px;display:block}.enrollment-heading small,.enrollment-meta small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.enrollment-meta{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.enrollment-meta .field strong{overflow-wrap:anywhere;font-size:13px}.detail-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;display:grid}.field,.fee-summary>div{flex-direction:column;gap:7px;display:flex}.field strong{overflow-wrap:anywhere;font-size:14px}.field.wide{grid-column:span 2}.empty-state{color:var(--muted);text-align:center;padding:46px 20px}.empty-state.compact{padding:28px 16px}.fee-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.fee-summary strong{font-size:19px}.progress-track{background:#eceff1;border-radius:4px;height:8px;margin-top:20px;overflow:hidden}.progress-track span{background:var(--green);height:100%;display:block}.progress-labels{color:var(--muted);justify-content:space-between;margin-top:8px;font-size:11px;display:flex}.payment-list{display:grid}.payment-row{border-top:1px solid var(--border);grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:62px;display:grid}.payment-row:first-child{border-top:0}.payment-row.next{background:#fffaf0;margin:0 -22px -20px;padding:0 22px}.payment-icon{border-radius:50%;place-items:center;width:32px;height:32px;display:grid}.payment-icon.paid{color:var(--green);background:var(--green-soft)}.payment-icon.due{color:#a66f00;background:var(--yellow-soft)}.payment-row>div{flex-direction:column;gap:4px;display:flex}.payment-row span{color:var(--muted);font-size:12px}@media (max-width:980px){.metrics{grid-template-columns:repeat(2,1fr)}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid var(--border)}.student-layout{grid-template-columns:1fr}.detail-grid{grid-template-columns:repeat(2,1fr)}.enrollment-meta{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.app-shell{display:block}.sidebar{border-top:1px solid var(--border);border-right:0;flex-direction:row;justify-content:space-around;width:100%;height:62px;padding:7px 10px;position:fixed;top:auto;bottom:0}.brand-mark,.nav-button.settings,.nav-list .nav-button:nth-child(n+5){display:none}.nav-list{flex-direction:row;justify-content:space-around;width:100%}.nav-button.active:before{width:24px;height:3px;top:-7px;left:8px}.topbar{height:56px;padding:0 16px}.mobile-menu{place-items:center;display:grid}.page-content{padding:20px 14px 82px}.page-heading{align-items:center}h1{font-size:25px}.primary-button{width:40px;padding:0;font-size:0;overflow:hidden}.metrics{grid-template-columns:1fr 1fr}.metric{min-height:80px;padding:14px}.metric strong{font-size:18px}.student-hero{flex-direction:column;align-items:flex-start}.contact-actions{width:100%}.secondary-button{flex:1}.identity-line{flex-direction:column;align-items:flex-start;gap:6px}.detail-grid,.fee-summary{grid-template-columns:1fr 1fr}.directory-controls{grid-template-columns:1fr}.fee-summary>div:first-child{grid-column:1/-1}}
