.platform-logo{display:block;width:auto;max-width:100%;height:auto;max-height:48px;object-fit:contain}
.brand-link .platform-logo{max-width:205px;max-height:46px}.brand-link .platform-name{font-size:20px;font-weight:800;white-space:normal;line-height:1.2;overflow-wrap:anywhere}
.login-logo>a{display:flex;align-items:center;justify-content:center;gap:6px}.login-logo .platform-logo{max-width:260px;max-height:80px}.platform-name{overflow-wrap:anywhere}
.navbar-brand .platform-logo{max-width:230px;max-height:52px}.site-footer .platform-logo{max-width:240px;max-height:60px}
.developer-credit{display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:11px;color:#777;vertical-align:middle;white-space:nowrap}
.developer-credit img{display:block;width:100px;height:auto;max-height:32px;object-fit:contain}.main-footer{display:flex;gap:12px;flex-wrap:wrap;align-items:center;justify-content:space-between}.main-footer .developer-credit{margin-left:auto}
.site-footer .footer-bottom{flex-wrap:wrap;gap:16px}.site-footer .developer-credit{background:#fff;border-radius:6px;padding:8px 12px;color:#555}.site-footer .developer-credit img{margin:0}
.auth-credit{padding:20px 8px;text-align:center}.branding-preview{display:flex;align-items:center;justify-content:center;min-height:105px;padding:20px;border:1px dashed #ddd;border-radius:8px;background:#fff}.branding-preview .platform-logo{max-height:85px}
body,.content-wrapper,body.login-page{background:var(--brand-background)}
body a:hover{color:var(--brand-hover)}body .btn-primary{background:var(--brand-primary);border-color:var(--brand-primary)}
body .btn-primary:hover,body .btn-primary:focus,body .btn-primary:active,body .btn-primary:not(:disabled):not(.disabled):active,body .btn-outline-primary:hover{background:var(--brand-hover);border-color:var(--brand-hover);color:#fff}
body .btn-outline-primary{color:var(--brand-primary);border-color:var(--brand-primary)}body .btn-outline-primary:hover{color:#fff}
body .nav-sidebar .nav-link.active{background:var(--brand-soft)!important;color:var(--brand-primary)!important}
body .avatar-mini,body .tag.purple,body .plan-icon,body .hero-tag{background:var(--brand-soft);color:var(--brand-primary)}
body .workspace-dot,body .hero-tag>span{background:var(--brand-accent)}body .progress-bar{background-color:var(--brand-primary)}
body.landing .announcement,body.landing .featured-label,body.landing .brand-icon{background:var(--brand-primary)}
body.landing .hero h1>span,body.landing h2>span,body.landing .section-kicker,body.landing .plan-price b,body.landing .faq-question[aria-expanded=true],body.landing .hero-secondary,body.landing .login-link{color:var(--brand-primary)}
body.landing .hero h1 svg path{stroke:var(--brand-primary)}
body.landing .site-header,body.landing .hero,body.landing .contact-section,body.landing .plans-section{background:var(--brand-landing-background)}
body.landing .plan-card.featured{border-color:var(--brand-primary)}body.landing .hero-checks i,body.landing .plan-card li i{color:var(--brand-accent)}
body .btn-primary:focus,body .form-control:focus,body .custom-select:focus{box-shadow:0 0 0 .15rem var(--brand-soft);border-color:var(--brand-primary)}
/* Shared palette for decorative icons, illustrations and brand surfaces. */
body .btn-primary,body .bg-primary,body .welcome-banner,body.landing .announcement,body.landing .featured-label,body.landing .snapshot-title,body .brand-icon{color:var(--brand-on-primary)!important}
body .btn-primary:hover,body .btn-primary:focus,body .btn-primary:active,body .btn-primary:not(:disabled):not(.disabled):active,body .btn-outline-primary:hover{color:var(--brand-on-hover)!important}
body .welcome-banner p,body .welcome-banner .badge,body.landing .announcement span,body.landing .snapshot-title span,body.landing .snapshot-title i{color:inherit}
body .metric-icon.blue{background:var(--brand-soft);color:var(--brand-primary)}
body .metric-icon.green,body.landing .float-check{background:var(--brand-accent-soft);color:var(--brand-accent)}
body.landing .mini-card-note i{color:var(--brand-accent)}
body.landing .float-icon,body.landing .resource-icon,body.landing .plan-icon,body.landing .solution-point>span{color:var(--brand-primary);background:var(--brand-soft)}
body.landing .value-strip i,body.landing .snapshot-metrics i,body.landing .snapshot-chart-footer i,body.landing .product-snapshot aside>i{color:var(--brand-primary)}
body.landing .mini-bars span{background:var(--brand-tint-70)}
body.landing .mini-bars span:nth-child(9){background:var(--brand-tint-40)}
body.landing .mini-bars span:nth-child(10){background:var(--brand-primary)}
body.landing .caption-icon{color:#fff}
body.landing .hero-tag{width:fit-content;padding:6px 10px;border-radius:20px}
body input[type=checkbox],body input[type=radio]{accent-color:var(--brand-primary)}
@media(max-width:575px){.main-footer{justify-content:center;text-align:center}.main-footer .developer-credit{margin:0}.navbar-brand .platform-logo{max-width:170px}.site-footer .footer-bottom{justify-content:center;text-align:center}.login-logo .platform-name{font-size:25px}}

/* Natural document height keeps the top of long access forms reachable. */
body.login-page{height:auto;min-height:100vh;min-height:100dvh}
body.login-page>.login-box{flex-shrink:0}
/* Center the entire login group; auto margins become zero on short screens. */
body.auth-page{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:24px 18px;min-height:100vh;min-height:100dvh;height:auto}
.auth-shell{width:100%;max-width:420px;flex:0 0 auto;margin:auto 0}
.auth-shell>.login-box{width:100%;max-width:none;margin:0}
.auth-shell .login-logo{margin:0 0 20px;line-height:1.2}
.auth-shell .login-logo .platform-logo{max-width:min(240px,100%);max-height:64px}
.auth-shell .card{margin-bottom:0;border-radius:14px}
.auth-shell .login-card-body{padding:30px;border-radius:14px}
.auth-title{text-align:center;font-size:23px;font-weight:800;line-height:1.3;margin:0 0 12px;letter-spacing:-.5px}
.auth-shell .login-box-msg{padding:0 0 22px!important;margin:0;font-size:12px;line-height:1.6}
.auth-shell .form-group label{display:block;font-size:12px}
.auth-shell .form-control{height:44px;font-size:14px}
.auth-shell button[type=submit]{min-height:44px}
.auth-shell .login-back{margin-top:18px}
.auth-shell .auth-credit{padding:18px 0 0}
.auth-shell .platform-support{overflow-wrap:anywhere}
@media(max-width:575px){body.auth-page{padding:20px 16px;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom))}.auth-shell .login-card-body{padding:24px 22px}.auth-title{font-size:22px}.auth-shell .form-control{font-size:16px}.auth-shell .login-logo .platform-logo{max-width:210px;max-height:56px}.auth-shell .login-logo{margin-bottom:16px}.auth-shell .login-card-body>p:last-child{line-height:1.7;margin-top:20px!important}}
@media(max-height:700px){body.auth-page{padding-top:16px;padding-bottom:16px}.auth-shell .login-logo{margin-bottom:12px}.auth-shell .login-logo .platform-logo{max-height:48px}.auth-shell .login-card-body{padding:24px}.auth-shell .auth-credit{padding-top:12px}.auth-shell .login-back{margin-top:12px}}
body.registration-page{display:block;padding:20px 20px 12px}
.registration-shell{width:100%;max-width:820px;margin:0 auto}
.registration-box.login-box{width:100%;max-width:none;margin:0}
.registration-box .login-logo{margin:0 0 16px;font-size:26px;line-height:1.2}
.registration-box .login-logo .platform-logo{max-width:min(240px,100%);max-height:54px}
.registration-box .card{margin-bottom:0;border-radius:16px}
.registration-box .login-card-body{padding:24px 32px;text-align:left;border-radius:16px}
.registration-heading{text-align:center;margin-bottom:20px}
.registration-trial{display:inline-block;padding:5px 12px;border-radius:20px;background:var(--brand-soft);color:var(--brand-primary);font-size:11px;font-weight:700}
.registration-heading h1{font-size:23px;line-height:1.3;font-weight:800;letter-spacing:-.6px;margin:10px 0 5px}
.registration-heading p{font-size:13px;color:var(--muted);margin:0}
.registration-box .row{margin-left:-9px;margin-right:-9px}
.registration-box .form-group{padding-left:9px;padding-right:9px;margin-bottom:12px;min-width:0}
.registration-box .form-group label{display:block;font-size:12px;margin-bottom:5px;line-height:1.4}
.registration-box .form-control,.registration-box .custom-select{height:39px;font-size:13px}
.registration-terms{font-size:11px;line-height:1.6;color:var(--brand-muted);background:var(--brand-soft);padding:10px 12px;border-radius:8px;margin:2px 0 12px}
.registration-consent{display:flex;align-items:flex-start;gap:8px;font-size:11px;line-height:1.5;font-weight:500!important;color:var(--brand-text);margin:0;cursor:pointer}
.registration-consent input{width:16px;height:16px;flex:0 0 16px;margin-top:1px;accent-color:var(--brand-primary)}
.registration-box button[type=submit]{min-height:42px;font-size:13px;margin-top:14px!important}
.registration-signin{text-align:center;font-size:12px;margin:14px 0 0}
.registration-box .login-back{margin-top:14px;font-size:11px}
.registration-shell .auth-credit{padding:12px 0 0}
.registration-shell .platform-support{margin-top:10px!important}
.student-history-card{min-width:0}
.history-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.history-heading .tag{flex-shrink:0}
.student-history-scroll{max-height:clamp(280px,52vh,480px);overflow-y:auto;overflow-x:hidden;scrollbar-gutter:stable;scrollbar-color:var(--brand-tint-60) var(--brand-tint-95);overflow-wrap:anywhere}
.student-history-scroll:focus-visible{outline:2px solid var(--brand-primary);outline-offset:-3px}
.student-history-scroll .timeline-entry:last-child{padding-bottom:8px}
.history-scroll-hint{padding:10px 23px;border-top:1px solid var(--brand-tint-90);background:var(--brand-tint-98);border-radius:0 0 10px 10px;font-size:10px;color:var(--brand-muted)}
.schedule-workspace [hidden]{display:none!important}
.schedule-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:22px}
.schedule-toolbar>.btn{flex-shrink:0}.schedule-filters{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}.schedule-filters>.form-group{flex:1;min-width:180px}
.schedule-select-all{font-size:11px;display:flex;gap:7px;align-items:center;margin:0 0 12px;cursor:pointer}
.schedule-board{overflow-x:auto;padding:2px 2px 12px;scrollbar-color:var(--brand-tint-60) var(--brand-soft)}
.schedule-grid{display:grid;grid-template-columns:repeat(6,minmax(230px,1fr));gap:16px;align-items:start}
.schedule-day{margin:0;min-width:0}.schedule-day .card-header{padding:18px 16px}.schedule-day .card-title{font-size:13px}.schedule-day .history-heading{gap:8px}
.schedule-day-body{padding:12px;min-height:180px;max-height:clamp(300px,58vh,570px);overflow-y:auto;scrollbar-gutter:stable}
.schedule-event{background:var(--brand-soft);border:1px solid transparent;border-radius:8px;padding:13px;margin-bottom:12px;overflow-wrap:anywhere;transition:border-color .15s,opacity .15s}
.schedule-event[draggable=true]{cursor:grab}.schedule-event[draggable=true]:active{cursor:grabbing}.schedule-event.is-selected{border-color:var(--brand-primary);box-shadow:0 0 0 1px var(--brand-primary)}.schedule-event.is-dragging{opacity:.45}
.schedule-day.is-drop-target{outline:2px dashed var(--brand-primary);background:var(--brand-tint-95)}
.schedule-event-top{display:flex;align-items:center;gap:10px;color:var(--brand-primary);font-size:11px}.schedule-event-select{display:flex;align-items:center;gap:7px;margin:0;cursor:pointer}
.schedule-student-name{display:block;margin:10px 0 7px;font-size:12px;font-weight:700}.schedule-event-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.schedule-event-actions form{margin:0}.schedule-empty{text-align:center;margin:24px 0}
.schedule-student-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.schedule-student-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:220px;overflow-y:auto}.schedule-student-options label{display:flex;align-items:flex-start;gap:8px;font-size:12px;padding:10px;background:var(--brand-soft);border-radius:6px;margin:0;cursor:pointer;overflow-wrap:anywhere}
.schedule-weekdays{display:flex;flex-wrap:wrap;gap:10px}.schedule-weekdays label{display:flex;align-items:center;gap:6px;padding:8px 10px;background:var(--brand-soft);border-radius:6px;font-size:11px;margin:0;cursor:pointer}
.enrollment-slot{display:grid;grid-template-columns:1.15fr 1fr 1fr 1.5fr auto;gap:12px;align-items:end;padding:14px;background:var(--brand-tint-98);border:1px solid var(--brand-tint-90);border-radius:8px;margin-bottom:12px}.enrollment-slot .form-group{margin:0;min-width:0}.enrollment-slot>.btn{height:41px}.enrollment-slot label{display:block}
@media(max-width:767px){.schedule-toolbar{align-items:flex-start;flex-direction:column}.schedule-toolbar>.btn{width:100%}.schedule-filters{padding:16px;gap:12px}.schedule-student-options{grid-template-columns:1fr}.enrollment-slot{grid-template-columns:repeat(2,minmax(0,1fr))}.enrollment-slot>.btn{justify-self:start}.schedule-grid{grid-template-columns:repeat(6,minmax(250px,1fr))}}
@media print{.schedule-board{overflow:visible}.schedule-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-day-body{max-height:none;overflow:visible}.schedule-filters,.schedule-toolbar>.btn,.schedule-event-actions,.schedule-event-select{display:none!important}.schedule-event{break-inside:avoid}}
@media(max-width:575px){.student-history-scroll{max-height:clamp(260px,55vh,420px)}.history-scroll-hint{padding:10px 18px;line-height:1.5}}
@media print{.student-history-card{break-inside:auto!important}.student-history-scroll{max-height:none!important;height:auto!important;overflow:visible!important;scrollbar-gutter:auto}.student-history-scroll .timeline-entry{break-inside:avoid}}
@media(min-width:768px) and (max-height:800px){body.registration-page{padding-top:12px}.registration-box .login-logo{margin-bottom:10px}.registration-box .login-logo .platform-logo{max-height:42px}.registration-box .login-card-body{padding:18px 28px}.registration-heading{margin-bottom:14px}.registration-heading h1{font-size:21px;margin-top:7px}.registration-box .form-group{margin-bottom:9px}.registration-box .form-control,.registration-box .custom-select{height:36px}.registration-terms{padding:8px 10px}.registration-signin{margin-top:10px}}
@media(max-width:767px){body.registration-page{padding:18px 14px 14px}.registration-shell{max-width:580px}.registration-box .login-card-body{padding:22px}.registration-heading h1{font-size:21px}}
@media(max-width:575px){body.registration-page{padding:16px 10px}.registration-box .login-card-body{padding:20px 16px}.registration-heading h1{font-size:20px}.registration-box .form-control,.registration-box .custom-select{height:44px;font-size:16px}.registration-box .form-group{margin-bottom:14px}.registration-consent,.registration-terms{font-size:12px}.registration-box .login-logo .platform-logo{max-height:48px}}
@media(min-width:768px) and (max-height:800px){
 body.registration-page{padding-top:10px}
 .registration-box .login-logo{margin-bottom:8px}.registration-box .login-logo .platform-logo{max-height:36px}
 .registration-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;text-align:left;align-items:center}
 .registration-heading h1{grid-column:1;grid-row:1;margin:0 0 4px}
 .registration-heading p{grid-column:1;grid-row:2;font-size:12px}
 .registration-heading .registration-trial{grid-column:2;grid-row:1 / span 2}
 .registration-box .form-group{margin-bottom:7px}.registration-box .form-group label{margin-bottom:4px}
 .registration-box .login-back{margin-top:10px}.registration-shell .auth-credit{padding-top:8px}
}
