:root{--navy:#203D66;--rose:#B64652;--ink:#202c3d;--muted:#626f80;--line:#e4e8ee;--surface:#f5f7fa;--soft:#edf2f9;--green:#24624b;--amber:#80540e;--radius:14px;--sidebar:242px}
*{box-sizing:border-box}body{margin:0;background:var(--surface);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.55}a{color:var(--navy);text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #486ca0}h1,h2,h3,p{margin:0}h1{font-size:29px;font-weight:700;letter-spacing:-.9px}h2{font-size:17px;font-weight:650;letter-spacing:-.25px}h3{font-size:15px;font-weight:650}small,.small{font-size:12px}button{cursor:pointer}.bi{line-height:1}.preview-banner{min-height:34px;background:#eaf0f8;color:#203d66;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:6px 26px;font-size:10px;letter-spacing:.25px;border-bottom:1px solid #dbe3ee}.preview-banner>span:first-child{font-weight:750;letter-spacing:1px;display:flex;gap:8px;align-items:center}.preview-banner a{font-weight:650}.sidebar{position:fixed;top:34px;bottom:0;left:0;width:var(--sidebar);background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30}.brand{display:flex;gap:11px;align-items:center;padding:26px 24px 25px}.brand-mark{width:42px;height:42px;display:grid;place-items:center;flex-shrink:0;background:var(--navy);color:white;border-radius:12px;font-family:Georgia,serif;font-size:19px;letter-spacing:-2px}.brand-name{font-weight:750;line-height:1.25;font-size:13px}.brand-sub{font-size:10px;color:var(--muted);letter-spacing:1.5px;margin-top:5px}.nav-label{font-size:9px;color:#697587;font-weight:750;letter-spacing:1.5px;padding:6px 26px 9px}.nav-list{padding:0 14px;display:grid;gap:3px}.nav-link{display:flex;align-items:center;gap:12px;color:#58677b;padding:11px 13px;min-height:44px;border-radius:8px;font-size:13px;font-weight:550}.nav-link .bi{font-size:17px}.nav-link.active{color:var(--navy);background:var(--soft);font-weight:700}.nav-link:hover{background:#f3f5f8}.nav-pill{margin-left:auto;background:#f7e9eb;color:var(--rose);padding:0px 6px;border-radius:4px;font-size:10px}.sidebar-footer{margin-top:auto;padding:16px;border-top:1px solid var(--line)}.teacher{display:flex;gap:10px;align-items:center}.avatar{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#e9eef6;color:var(--navy);font-weight:700;font-size:11px;flex-shrink:0}.avatar.rose{background:#f8e9eb;color:var(--rose)}.avatar.sage{background:#e9f1ed;color:#37644f}.avatar.gold{background:#f5eee0;color:#775623}.teacher strong{font-size:12px}.teacher small{display:block;color:var(--muted);font-size:10px}.teacher>a{margin-left:auto;padding:10px}.workspace{margin-left:var(--sidebar)}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 36px;gap:20px}.global-search{display:flex;gap:10px;align-items:center;color:var(--muted);max-width:360px;flex:1}.global-search input{border:0;background:transparent;width:100%;font-size:12px;min-width:0;outline-offset:0}.keycap{font-size:10px;color:#718094;padding:3px 5px;border:1px solid var(--line);border-radius:4px;white-space:nowrap}.top-actions{display:flex;align-items:center;gap:12px}.icon-button{border:1px solid var(--line);background:#fff;color:var(--navy);border-radius:9px;width:44px;height:44px;display:grid;place-items:center;font-size:17px}.mobile-menu{display:none}.top-date{font-size:11px;color:var(--muted)}.main{padding:30px 36px 42px;max-width:1660px;margin:auto}.breadcrumb{font-size:11px;color:var(--muted);margin-bottom:12px;display:flex;gap:8px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:25px}.eyebrow{color:var(--rose);font-size:10px;font-weight:750;letter-spacing:1.4px;margin-bottom:6px}.subtitle{color:var(--muted);margin-top:7px;font-size:12px}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn{border-radius:8px;font-size:12px;min-height:42px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:650}.btn-primary{background:var(--navy);border-color:var(--navy);color:#fff}.btn-primary:hover,.btn-primary:focus{background:#172e4d;border-color:#172e4d}.btn-light{background:white;border:1px solid #dbe1e9;color:var(--ink)}.btn-light:hover{background:var(--soft);border-color:#c5cfdd}.btn-rose{background:var(--rose);color:white;border:1px solid var(--rose)}.btn-link{color:var(--navy);border:0;background:transparent;padding:8px 0;min-height:40px}.btn-sm{min-height:36px;padding:7px 11px;font-size:11px}.muted{color:var(--muted)}.panel{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 3px 10px #203d6603;overflow:hidden;min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;gap:12px;border-bottom:1px solid var(--line)}.panel-body{padding:22px}.panel-sub{font-size:11px;color:var(--muted);margin-top:4px}.grid{display:grid;gap:20px}.grid-2{grid-template-columns:1fr 1fr}.grid-main{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{padding:19px 20px;background:white;border:1px solid var(--line);border-radius:12px}.stat-top{display:flex;justify-content:space-between;gap:8px;align-items:center;color:var(--muted);font-size:11px}.stat-icon{width:30px;height:30px;background:var(--soft);border-radius:8px;display:grid;place-items:center;color:var(--navy);font-size:14px}.stat-value{font-size:29px;letter-spacing:-1px;font-weight:700;margin:6px 0 3px;font-variant-numeric:tabular-nums}.stat-note{font-size:10px;color:var(--muted)}.stat-note strong{color:var(--green);font-weight:600}.stat.urgent .stat-icon{background:#f8e9eb;color:var(--rose)}.quick-actions{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:26px}.quick-actions .btn{background:#fff;border:1px solid var(--line);color:var(--navy)}.section-label{font-size:10px;letter-spacing:1px;font-weight:700;color:var(--muted);margin-bottom:10px}.class-card{display:flex;gap:16px;margin-bottom:12px;padding:16px;border:1px solid var(--line);border-radius:10px;align-items:flex-start}.class-card:last-child{margin-bottom:0}.class-card.next{border-left:3px solid var(--navy);background:#f8fafd}.class-time{width:72px;flex-shrink:0;font-variant-numeric:tabular-nums;font-size:12px;font-weight:700;color:var(--navy)}.class-time small{display:block;color:var(--muted);font-weight:400;margin-top:3px}.class-info{flex:1;min-width:0}.class-info p{font-size:11px;color:var(--muted);margin-top:4px}.class-bottom{display:flex;align-items:center;gap:12px;justify-content:space-between;margin-top:12px}.badge{padding:5px 8px;font-size:10px;font-weight:600;border-radius:5px;display:inline-flex;gap:5px;align-items:center;line-height:1.25;white-space:normal;text-align:left}.badge.blue{background:#eaf0f8;color:var(--navy)}.badge.red{background:#f9e9ec;color:#963640}.badge.green{background:#e8f3ed;color:var(--green)}.badge.amber{background:#fbf1df;color:var(--amber)}.badge.gray{background:#eff1f4;color:#5b6675}.tabs{display:flex;gap:4px;padding:5px;border-radius:8px;background:#f0f3f7;flex-wrap:wrap;align-self:flex-start}.tab{border:0;background:transparent;border-radius:5px;color:var(--muted);padding:9px 12px;min-height:38px;font-size:11px;font-weight:600}.tab.active{background:#fff;color:var(--navy);box-shadow:0 1px 5px #203d6610}.dues-list .due-row{display:flex;align-items:center;gap:10px;padding:15px 0;border-bottom:1px solid var(--line)}.dues-list .due-row:last-child{border-bottom:0}.due-person{flex:1;min-width:0}.due-person strong{font-size:12px}.due-person small{display:block;color:var(--muted);font-size:10px}.due-amount{font-size:12px;font-weight:700;text-align:right}.due-amount small{display:block;font-weight:400;color:var(--rose);font-size:9px}.notice{display:flex;gap:10px;align-items:flex-start;padding:14px 16px;background:#edf2f9;border:1px solid #dce5f0;border-radius:9px;color:var(--navy);font-size:11px;margin-bottom:20px}.notice.warning{background:#fff8eb;border-color:#eee0bc;color:#765619}.notice.danger{background:#fbedef;border-color:#eacbd1;color:#933d48}.notice .bi{font-size:16px;margin-top:2px}.notice p{flex:1}.notice strong{font-weight:700}.activity{display:flex;gap:12px;align-items:flex-start;padding:13px 0;border-bottom:1px solid var(--line)}.activity:last-child{border:0}.activity-dot{width:28px;height:28px;border-radius:50%;background:var(--soft);color:var(--navy);display:grid;place-items:center;flex-shrink:0;font-size:12px}.activity p{font-size:12px}.activity small{font-size:10px;color:var(--muted)}.activity-time{margin-left:auto;white-space:nowrap;color:var(--muted);font-size:10px}.chart{display:flex;align-items:end;gap:10px;height:135px;margin:20px 0 0;border-bottom:1px solid var(--line);padding:0 8px}.chart-bar{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;height:100%;gap:6px}.chart-bar span{width:100%;max-width:28px;border-radius:4px 4px 0 0;background:#d8e2ef;min-height:10px}.chart-bar.current span{background:var(--navy)}.chart-bar small{font-size:9px;color:var(--muted);position:relative;bottom:-19px}.chart-summary{display:flex;justify-content:space-between;align-items:center}.chart-summary strong{font-size:25px;font-weight:700;letter-spacing:-.6px}.chart-caption{font-size:10px;color:var(--muted);margin-top:30px}.toolbar{display:flex;align-items:center;gap:10px;padding:16px 20px;border-bottom:1px solid var(--line);flex-wrap:wrap}.search-box{display:flex;align-items:center;gap:8px;border:1px solid #d8dfe8;border-radius:7px;padding:0 12px;background:white;flex:1;min-width:190px;color:var(--muted)}.search-box input{border:0;outline-offset:0;min-width:0;width:100%;height:42px;font-size:12px}.form-control,.form-select{border-radius:7px;font-size:12px;border-color:#d8dfe8;min-height:44px;background-color:white}.toolbar .form-select{width:auto;min-width:145px}.record-count{font-size:11px;color:var(--muted);margin-left:auto}.data-table{width:100%;border-collapse:collapse;font-size:12px}.data-table th{text-align:left;background:#f9fafc;color:#657286;font-size:10px;font-weight:650;padding:12px 20px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:16px 20px;border-bottom:1px solid var(--line);vertical-align:middle}.data-table tr:last-child td{border:0}.person-cell{display:flex;align-items:center;gap:10px;min-width:160px}.person-cell strong{font-size:12px;font-weight:650}.person-cell small{display:block;color:var(--muted);font-size:10px}.table-action{font-size:11px;font-weight:700;padding:10px 0;display:inline-block}.num{font-variant-numeric:tabular-nums;white-space:nowrap}.pagination-bar{padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}.pagination-bar .btn{min-width:36px}.filters{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field label{font-size:11px;font-weight:650;color:#48566a}.field .help{font-size:10px;color:var(--muted)}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field-wide{grid-column:1/-1}.form-section{padding:22px;border-bottom:1px solid var(--line)}.form-section h2{margin-bottom:4px}.form-section .panel-sub{margin-bottom:20px}.form-footer{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fafbfd}.form-footer p{font-size:10px;color:var(--muted)}.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px}.summary{padding:22px}.summary-line{display:flex;justify-content:space-between;gap:15px;padding:9px 0;font-size:12px}.summary-line.total{border-top:1px solid var(--line);font-weight:750;font-size:16px;margin-top:9px;padding-top:16px}.summary h3{margin-bottom:12px}.stepper{display:flex;align-items:center;gap:14px;margin-bottom:24px}.step{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--muted)}.step span{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e5eaf1;font-size:10px;font-weight:700}.step.active{color:var(--navy);font-weight:700}.step.active span{background:var(--navy);color:white}.step-divider{flex:1;height:1px;background:#dce2ea}.profile-hero{display:flex;align-items:center;gap:18px;padding:25px}.profile-hero .avatar{width:65px;height:65px;font-size:19px;border-radius:16px}.profile-hero p{font-size:12px;color:var(--muted);margin-top:5px}.profile-hero .actions{margin-left:auto}.profile-tabs{border-top:1px solid var(--line);padding:10px 20px;display:flex;gap:20px;flex-wrap:wrap}.profile-tabs a{font-size:12px;padding:9px 0;color:var(--muted)}.profile-tabs a.active{color:var(--navy);font-weight:700;border-bottom:2px solid var(--navy)}.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detail-item small{display:block;color:var(--muted);font-size:10px;margin-bottom:5px}.detail-item strong{font-size:12px;font-weight:600}.course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.course-card{padding:22px}.course-icon{background:var(--soft);color:var(--navy);width:44px;height:44px;border-radius:11px;display:grid;place-items:center;font-size:21px;margin-bottom:20px}.course-card p{color:var(--muted);font-size:11px;margin:7px 0 20px}.course-meta{display:flex;gap:16px;font-size:11px;color:var(--muted);padding-top:15px;border-top:1px solid var(--line)}.course-footer{display:flex;align-items:center;justify-content:space-between;margin-top:20px}.report-card{display:flex;align-items:center;gap:14px;padding:20px;color:var(--ink)}.report-card .course-icon{margin:0;flex-shrink:0}.report-card small{display:block;color:var(--muted);font-size:11px;margin-top:4px}.report-card .bi-arrow-up-right{margin-left:auto}.attendance-row{display:flex;align-items:center;gap:16px;padding:16px 22px;border-bottom:1px solid var(--line)}.attendance-row .person-cell{flex:1}.attendance-controls{display:flex;gap:6px}.mark{border:1px solid var(--line);background:white;color:var(--muted);min-width:44px;min-height:44px;border-radius:7px;font-size:11px;padding:8px 12px}.mark.present.selected{background:#e8f3ed;border-color:#86b59d;color:var(--green)}.mark.absent.selected{background:#f9e9ec;border-color:#ca8f99;color:#963640}.attendance-count{display:flex;gap:20px;font-size:11px;align-items:center}.attendance-count strong{font-size:19px;color:var(--navy)}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px}.week-day{min-height:220px;background:#f8fafc;border:1px solid var(--line);border-radius:9px;padding:10px}.week-day.today{background:#edf2f9;border-color:#a9bcd5}.day-label{text-align:center;font-size:10px;color:var(--muted);padding-bottom:12px}.day-label strong{font-size:18px;display:block;color:var(--ink);margin-top:4px}.week-event{display:block;background:#fff;border-left:2px solid var(--navy);padding:10px 8px;border-radius:5px;font-size:10px;margin-bottom:8px;box-shadow:0 2px 5px #203d6608}.week-event strong{display:block;font-size:10px;margin:4px 0}.receipt{max-width:750px;margin:0 auto;background:white;border:1px solid var(--line);border-radius:12px;padding:38px}.receipt-header{display:flex;gap:13px;align-items:center;padding-bottom:22px;border-bottom:2px solid var(--navy)}.receipt-header .brand-mark{width:50px;height:50px}.receipt-header p{font-size:11px;color:var(--muted);margin-top:5px}.receipt-heading{display:flex;justify-content:space-between;gap:20px;margin:25px 0}.receipt-heading h2{font-size:21px}.receipt-heading p{font-size:11px;color:var(--muted);margin-top:5px}.receipt-footer{text-align:center;border-top:1px solid var(--line);margin-top:28px;padding-top:20px;font-size:11px;color:var(--muted)}.empty{text-align:center;padding:50px 22px}.empty .empty-icon{display:grid;place-items:center;background:var(--soft);color:var(--navy);width:60px;height:60px;border-radius:17px;margin:0 auto 20px;font-size:25px}.empty p{color:var(--muted);font-size:12px;max-width:400px;margin:10px auto 22px}.settings-layout{display:grid;grid-template-columns:200px minmax(0,1fr);gap:20px}.settings-nav{display:flex;flex-direction:column;gap:5px}.settings-nav a{padding:13px 15px;border-radius:8px;font-size:12px;color:var(--muted)}.settings-nav a.active{background:var(--soft);color:var(--navy);font-weight:700}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}.switch-row:last-child{border:0}.switch-row p{font-size:11px;color:var(--muted);margin-top:4px}.form-check-input{width:38px!important;height:22px;cursor:pointer;flex-shrink:0}.form-check-input:checked{background-color:var(--navy);border-color:var(--navy)}.email-preview{background:#f3f5f8;padding:24px;border-radius:9px}.email-content{background:white;border:1px solid var(--line);padding:28px;max-width:560px;margin:auto}.email-content .brand-name{padding-bottom:20px;border-bottom:2px solid var(--navy);margin-bottom:24px}.email-content p{font-size:12px;margin:12px 0}.review-card{padding:20px}.review-card p{font-size:11px;color:var(--muted);margin:7px 0 14px}.review-links{display:flex;flex-wrap:wrap;gap:7px}.review-links a{font-size:10px;padding:7px 9px;border:1px solid var(--line);border-radius:6px;background:#fafbfd}.review-links a:hover{background:var(--soft)}.review-section{margin:28px 0 14px}.state-control{display:flex;gap:10px;align-items:center;margin-top:25px;padding-top:16px;border-top:1px dashed #d7dfe9;font-size:10px;color:var(--muted)}.state-control select{font-size:10px;min-height:36px;width:auto}.state-control a{margin-left:auto}.toast-message{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translateX(-50%);background:#203d66;color:white;padding:13px 20px;border-radius:10px;font-size:12px;box-shadow:0 6px 24px #203d6630;z-index:100;max-width:90vw;display:none}.toast-message.show{display:block}dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:min(520px,calc(100% - 32px));box-shadow:0 20px 70px #203d6630;color:var(--ink)}dialog::backdrop{background:#12233b65}dialog .dialog-body{padding:26px}dialog .dialog-body p{font-size:12px;color:var(--muted);margin-top:10px}dialog .dialog-footer{padding:16px 26px;background:#f6f8fa;display:flex;justify-content:flex-end;gap:8px}.auth-page{min-height:calc(100vh - 34px);display:grid;grid-template-columns:1.05fr 1fr;background:white}.auth-brand{background:var(--navy);color:white;display:flex;flex-direction:column;padding:50px 60px;position:relative;overflow:hidden}.auth-brand .brand{padding:0}.auth-brand .brand-mark{background:#ffffff18;color:white;border:1px solid #ffffff35}.auth-brand .brand-sub{color:#b9c8dc}.auth-message{margin:auto 0;max-width:440px;position:relative;z-index:1}.auth-message .auth-headline{font-family:Georgia,serif;font-weight:400;font-size:47px;line-height:1.15;letter-spacing:-1px}.auth-message p{font-size:14px;color:#cfdae8;line-height:1.8;margin-top:22px}.auth-message .auth-tag{font-size:10px;letter-spacing:2px;color:#cfdae8;margin-bottom:20px}.auth-brand:after{content:"";position:absolute;width:600px;height:600px;border:1px solid #ffffff10;border-radius:50%;bottom:-320px;right:-300px;box-shadow:0 0 0 80px #ffffff04,0 0 0 160px #ffffff03}.auth-note{font-size:11px;color:#c6d2e2}.auth-form{display:flex;align-items:center;justify-content:center;padding:40px}.auth-inner{width:100%;max-width:370px}.auth-inner h1{font-size:28px}.auth-inner .subtitle{margin-bottom:30px}.auth-inner .field{margin-bottom:20px}.auth-inner .btn-primary{width:100%}.auth-foot{margin-top:26px;text-align:center;font-size:10px;color:var(--muted)}.mobile-scrim{display:none}.skip-link{position:fixed;top:-100px;left:10px;background:white;padding:12px;z-index:200}.skip-link:focus{top:5px}.error-text{font-size:11px;color:#963640;margin-top:5px}.draft-note{font-size:10px;color:var(--muted)}.balance-tile{background:var(--navy);color:white;border-radius:12px;padding:22px;margin-bottom:20px}.balance-tile small{color:#d0dbea;font-size:11px}.balance-tile strong{display:block;font-size:32px;letter-spacing:-1px;margin-top:8px}.balance-tile p{font-size:10px;color:#d0dbea;margin-top:6px}.file-drop{border:1px dashed #b0c0d5;background:#f8fafd;border-radius:10px;padding:34px;text-align:center}.file-drop .bi{font-size:27px;color:var(--navy);display:block;margin-bottom:12px}.file-drop p{font-size:11px;color:var(--muted);margin:9px 0}.footer-note{font-size:10px;color:var(--muted);text-align:center;margin-top:24px}.mt-section{margin-top:22px}.inline-radio{display:flex;gap:15px;flex-wrap:wrap;font-size:12px}.inline-radio label{display:flex;gap:7px;align-items:center;min-height:44px}.confirmation{padding:35px 22px;text-align:center}.confirmation .empty-icon{width:58px;height:58px;border-radius:50%;background:#e8f3ed;color:var(--green);display:grid;place-items:center;font-size:25px;margin:0 auto 18px}.confirmation p{font-size:12px;color:var(--muted);margin:10px 0 22px}.visually-muted{opacity:.65}.form-check-label{font-size:11px}.sample-watermark{font-size:9px;letter-spacing:1px;color:#963640;font-weight:700}.timing-row{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:15px}.state-panel{margin-bottom:20px}.icon-button:disabled,.btn:disabled{opacity:.55;cursor:not-allowed}.detail-list dd{margin:0}.progress{height:7px;background:#edf1f6}.progress-bar{background:var(--navy)}
@media(min-width:1600px){.main{padding-left:48px;padding-right:48px}.topbar{padding-left:48px;padding-right:48px}}
@media(max-width:1199px){:root{--sidebar:215px}.main{padding:25px}.topbar{padding:0 25px}.top-date{display:none}.stats{gap:12px}.stat{padding:16px}.stat-value{font-size:25px}.course-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-layout{grid-template-columns:minmax(0,1fr) 245px}.data-table td,.data-table th{padding-left:14px;padding-right:14px}.week-grid{gap:6px}.week-day{padding:6px}.brand{padding-left:18px}.nav-link{padding:10px}.receipt{padding:25px}}
@media(max-width:991px){.sidebar{transform:translateX(-100%);transition:transform .18s ease;top:0;width:260px}.sidebar.open{transform:translateX(0)}.sidebar.open+.mobile-scrim{display:block;position:fixed;inset:0;background:#142b4660;border:0;z-index:25}.workspace{margin-left:0}.mobile-menu{display:grid}.topbar{height:70px}.grid-main{grid-template-columns:1.4fr 1fr}.form-layout{grid-template-columns:minmax(0,1fr) 250px}.toast-message{left:50%}.auth-brand{padding:35px}.auth-message .auth-headline{font-size:36px}.settings-layout{grid-template-columns:170px minmax(0,1fr)}}
@media(max-width:767px){.preview-banner{padding:8px 15px;min-height:36px;gap:8px;font-size:9px}.preview-banner>span:nth-child(2){display:none}.main{padding:22px 16px 30px}.topbar{padding:0 16px;gap:10px}.global-search{max-width:none}.global-search input{font-size:11px}.keycap,.top-actions>.avatar{display:none}.top-actions{gap:6px}.top-actions>.btn{font-size:0;width:42px;height:44px;padding:0}.top-actions>.btn .bi{font-size:17px}.page-heading{flex-direction:column;gap:15px;margin-bottom:22px}.page-heading .actions{width:100%}.page-heading .actions>.btn{flex:1}.page-heading h1{font-size:26px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.stat{padding:15px}.stat-value{font-size:25px}.stat-top{font-size:10px}.stat-note{font-size:9px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.quick-actions .btn{font-size:11px;min-height:44px}.grid-main,.grid-2,.form-layout,.course-grid,.settings-layout{grid-template-columns:1fr}.grid{gap:16px}.panel-head{padding:17px 16px;flex-wrap:wrap}.panel-body,.summary{padding:18px 16px}.panel-head h2{font-size:16px}.class-card{padding:13px;gap:10px}.class-time{width:62px;font-size:11px}.class-info h3{font-size:13px}.field-grid{grid-template-columns:1fr;gap:16px}.filters{grid-template-columns:1fr 1fr}.toolbar{padding:14px;gap:8px}.toolbar .search-box{flex-basis:100%}.toolbar .form-select{flex:1;min-width:0;width:100%;font-size:11px}.record-count{width:100%;margin:3px 0}.data-table thead{display:none}.data-table tbody{display:block}.data-table tr{display:flex;flex-wrap:wrap;padding:15px 16px;border-bottom:1px solid var(--line);gap:10px 14px}.data-table td{display:flex;flex-direction:column;border:0;padding:0;flex:1 1 calc(50% - 14px);font-size:12px;min-width:0;overflow-wrap:anywhere}.data-table td:first-child{flex-basis:100%}.data-table td:before{content:attr(data-label);font-size:9px;color:var(--muted);margin-bottom:4px}.data-table td:first-child:before{display:none}.data-table td:last-child:has(.table-action){flex-basis:100%;border-top:1px solid #f0f2f5;padding-top:5px}.data-table .table-action{min-height:44px;padding:10px 0}.pagination-bar{padding:14px;align-items:flex-start;flex-wrap:wrap;font-size:10px}.form-section{padding:20px 16px}.form-footer{padding:16px;flex-wrap:wrap}.form-footer .actions{width:100%}.form-footer .btn{flex:1}.stepper{gap:7px;flex-wrap:wrap}.step{font-size:10px;gap:5px}.step span{width:23px;height:23px}.step-divider{min-width:8px}.profile-hero{padding:20px 16px;flex-wrap:wrap;gap:12px}.profile-hero .actions{margin:0;width:100%}.profile-hero .avatar{width:50px;height:50px;border-radius:12px}.profile-tabs{padding:8px 16px;gap:14px}.profile-tabs a{font-size:11px;min-height:44px;display:flex;align-items:center}.attendance-row{padding:14px 16px;flex-wrap:wrap;gap:10px}.attendance-controls{margin-left:46px}.attendance-row .person-cell{flex-basis:100%}.attendance-controls .mark{min-width:88px}.attendance-count{gap:12px}.week-grid{grid-template-columns:1fr}.week-day{min-height:0;display:grid;grid-template-columns:50px 1fr;gap:10px;padding:12px}.day-label{padding:0;align-self:start}.week-event{grid-column:2;margin-bottom:0;padding:12px;min-height:65px;font-size:11px}.week-event strong{font-size:12px}.receipt{padding:22px 16px}.receipt-header h2{font-size:15px}.receipt-heading{gap:8px}.receipt-heading h2{font-size:18px}.receipt .detail-list{gap:16px}.receipt .data-table{display:table}.receipt .data-table thead{display:table-header-group}.receipt .data-table tbody{display:table-row-group}.receipt .data-table tr{display:table-row;padding:0}.receipt .data-table td,.receipt .data-table th{display:table-cell;padding:12px 8px;font-size:10px}.receipt .data-table td:before{display:none}.settings-nav{flex-direction:row;flex-wrap:wrap;gap:4px}.settings-nav a{padding:10px;font-size:11px;min-height:44px;border:1px solid var(--line);background:white}.auth-page{grid-template-columns:1fr}.auth-brand{padding:26px;min-height:245px}.auth-message{margin:32px 0 0}.auth-message .auth-headline{font-size:30px}.auth-message p{font-size:12px;margin-top:12px}.auth-tag,.auth-note{display:none}.auth-form{padding:30px 24px}.auth-inner h1{font-size:25px}.state-control{flex-wrap:wrap;gap:7px}.state-control a{margin-left:0}.email-preview{padding:12px}.email-content{padding:20px}.timing-row{grid-template-columns:1fr}.receipt .sample-watermark{letter-spacing:.5px}.toolbar .btn{min-height:44px}.tabs{width:100%}.tab{flex:1;min-height:44px}.auth-brand .brand-sub{font-size:9px}.review-card{padding:16px}.review-links a{min-height:44px;display:flex;align-items:center}.notification-row{flex-wrap:wrap}.icon-button{flex-shrink:0}.detail-item strong{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;scroll-behavior:auto!important;animation:none!important}}
@media print{.sidebar,.topbar,.preview-banner,.page-heading,.state-control,.footer-note,.skip-link,.toast-message,.no-print{display:none!important}.workspace{margin:0}.main{padding:0;max-width:none}body{background:white}.receipt{border:0;max-width:none;padding:10mm}.receipt .data-table thead{display:table-header-group}.receipt .data-table tr{display:table-row}.receipt .data-table td,.receipt .data-table th{display:table-cell}.receipt .data-table td:before{display:none}.sample-watermark{display:block;color:#963640!important}.panel{box-shadow:none}a{color:inherit}}

#page-title:focus{outline:none}.sidebar{overflow-y:auto}.preview-banner a{min-height:24px;display:inline-flex;align-items:center;gap:4px}

@media(max-width:767px){.field label{font-size:12px}.form-control,.form-select{font-size:14px}.subtitle{font-size:12px}.stat-note{font-size:10px}.stat-top{font-size:11px}.panel-sub{font-size:12px}.class-info p{font-size:12px}.class-time{font-size:12px}.due-person small{font-size:11px}.due-person strong{font-size:13px}.badge{font-size:11px}.form-footer p{font-size:11px}.state-control select{font-size:12px}.review-links a{font-size:12px}.help,.field .help{font-size:11px}}

.auth-brand .brand{color:white}

@media print{.breadcrumb{display:none!important}}

/* Product interface: no Phase 1 banner or developer review controls. */
.sidebar{top:0}.auth-page{min-height:100vh}.sample-label{font-size:10px;white-space:nowrap}.auth-page>.auth-brand .brand{color:white}
@media(max-width:767px){.topbar{flex-wrap:nowrap}.sample-label{position:absolute;right:16px;top:80px;font-size:9px}.main{padding-top:36px}.auth-form:before{content:'Sample data';position:absolute;top:12px;right:16px;color:#626f80;font-size:10px}}
[hidden]{display:none!important}

.auth-sample-label{position:absolute;right:22px;top:18px;z-index:3}.auth-form:before{content:none!important}
.form-footer>.actions:only-child{margin-left:auto}
/* Refined branding and focus treatment, October 2026. */
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none;border-color:#7d93b2;box-shadow:0 0 0 3px #203d6612}
.global-search{background:#f6f8fb;border:1px solid #e4e9f1;border-radius:12px;padding:10px 12px;min-width:0;transition:box-shadow .15s,border-color .15s}.global-search:focus-within,.search-box:focus-within{border-color:#7d93b2;box-shadow:0 0 0 3px #203d6612}.global-search input:focus-visible,.search-box input:focus-visible{outline:none;box-shadow:none}.official-logo{display:block;width:100%;height:auto;object-fit:contain}.brand-official{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:25px 20px}.brand-official .official-logo{max-width:215px}.auth-logo{background:white;border-radius:12px;padding:16px;max-width:360px}.auth-logo .official-logo{max-width:none}.receipt-header>.official-logo{max-width:300px}.logo-card{border:1px solid var(--line);border-radius:12px;padding:22px;background:white}.logo-card>.official-logo{max-width:420px;margin:0 auto 20px}.logo-card-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.logo-card-actions small{color:var(--muted)}.logo-card:focus-within{box-shadow:0 0 0 3px #203d6612}.duplicate-card{margin-top:24px;padding:18px;border:1px solid #e4e9f1;background:#f8fafd;border-radius:12px;display:flex;align-items:flex-start;gap:14px}.duplicate-card>i{color:var(--navy);font-size:22px}.duplicate-card>div{flex:1;min-width:0}.duplicate-card h3{font-size:13px}.duplicate-card p{margin:4px 0;font-size:12px}.duplicate-card small{color:var(--muted);display:block}.duplicate-card .btn{white-space:nowrap}.course-source{color:var(--muted);font-size:12px;margin-bottom:20px}.collect-desktop{margin-left:-7px}
@media(max-width:767px){.top-actions>.btn{font-size:11px;width:auto;height:44px;padding:0 10px;gap:6px}.collect-desktop{display:none}.top-actions>.btn .bi{font-size:14px}.global-search{padding:9px;gap:7px}.topbar{gap:8px;padding:0 12px}.global-search input{font-size:11px}.duplicate-card{flex-wrap:wrap;padding:16px}.duplicate-card .btn{margin-left:36px}.receipt-header{flex-direction:column;align-items:flex-start}.receipt-header>.official-logo{max-width:260px}.teacher strong{font-size:11px}}
.duplicate-card[hidden]{display:none}
.collect-desktop{margin-left:0}.top-actions>.btn{gap:6px}
.collection-guide{align-self:start}.collection-guide .panel-head{background:linear-gradient(120deg,#f8fafd,#fff);border-radius:12px 12px 0 0}.flow-eyebrow{display:block;font-size:9px;letter-spacing:1.6px;font-weight:700;color:var(--muted);margin-bottom:8px}.flow-progress-label{display:flex;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-bottom:10px}.flow-progress-label strong{color:var(--navy);font-weight:650;white-space:nowrap}.flow-progress{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:24px}.flow-progress span{height:5px;background:#e7ecf3;border-radius:6px}.flow-progress span:first-child{background:var(--navy)}.collection-steps{list-style:none;padding:0;margin:0}.collection-steps li{position:relative;display:flex;gap:13px;padding:15px 12px;min-height:88px;border-radius:12px;align-items:flex-start}.collection-steps li.current{background:#f0f4fa;margin-bottom:8px}.collection-steps li:not(:last-child):after{content:"";position:absolute;left:28px;top:49px;bottom:-15px;width:2px;background:#e0e7f0}.flow-marker{position:relative;z-index:1;display:grid;place-items:center;flex:0 0 34px;height:34px;border:1px solid #dce4ef;border-radius:50%;background:white;color:#74839a;font-size:12px;font-weight:700}.current .flow-marker{background:var(--navy);border-color:var(--navy);color:white}.collection-steps li>div{flex:1;min-width:0;padding-top:2px}.collection-steps h3{font-size:12px;color:var(--navy)}.collection-steps p{font-size:11px;line-height:1.6;color:var(--muted);margin-top:4px}.collection-steps li>i{font-size:16px;color:#8b9ab0;padding-top:9px}.collection-steps .current>i{color:var(--navy)}.flow-current-label{display:inline-block;font-size:9px;font-weight:650;color:var(--navy);margin-top:8px;background:white;border:1px solid #e0e7f0;padding:2px 7px;border-radius:20px}.collection-guide *{animation:none!important;transition:none!important}
.premium-login{min-height:100dvh;display:grid;grid-template-columns:1.08fr 1fr;background:#f7f9fc}.login-story{padding:44px clamp(28px,5vw,80px) 30px;display:flex;flex-direction:column;background:radial-gradient(ellipse at 15% 60%,#e8eef7,transparent 65%),#f2f5fa;position:relative;min-width:0;border-right:1px solid #e0e7f0}.login-wordmark{display:block;width:min(340px,100%);padding:0;background:none}.login-story-content{margin:auto 0;padding:50px 0 42px;max-width:480px}.login-kicker{font-size:9px;letter-spacing:1.7px;font-weight:700;color:#6d7e96;display:block}.login-story h2{font-family:Georgia,serif;font-size:clamp(44px,5vw,72px);line-height:1.06;letter-spacing:-2px;font-weight:400;color:var(--navy);margin:24px 0}.login-story h2 em{color:var(--rose);font-weight:400}.login-story-content>p{font-size:14px;line-height:1.8;color:#62718a}.login-workspace-preview{margin-top:32px;padding:20px 22px;background:linear-gradient(135deg,#203d66,#172e50);color:white;border:1px solid #314b71;border-radius:18px;box-shadow:0 18px 40px #203d6620}.preview-heading{display:flex;align-items:center;gap:12px;font-size:10px;color:#b6c5da}.preview-heading>i{margin-left:auto}.preview-dots{display:flex;gap:4px}.preview-dots b{width:5px;height:5px;border-radius:50%;background:#8397b3}.preview-dots b:first-child{background:#bd6972}.preview-greeting{font-family:Georgia,serif;font-size:21px;margin:20px 0}.login-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.login-feature-grid>div{padding:14px 10px;background:#ffffff08;border:1px solid #ffffff13;border-radius:10px;min-width:0}.login-feature-grid i{color:#d8e2f0;font-size:17px;display:block;margin-bottom:10px}.login-feature-grid strong{display:block;font-size:11px;font-weight:600}.login-feature-grid small{display:block;font-size:9px;color:#aabdd7;margin-top:4px}.preview-note{border-top:1px solid #ffffff15;margin-top:16px;padding-top:14px;display:flex;align-items:center;gap:8px;font-size:10px;color:#c0cfe2}.preview-note span{width:5px;height:5px;background:#c97981;border-radius:50%}.login-story-footer{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:9px;color:#78879c}.login-story-footer span:last-child{letter-spacing:1px;font-size:8px}.login-entry{display:flex;justify-content:center;align-items:center;padding:60px 36px;min-width:0;background:radial-gradient(ellipse at 90% 10%,#f3e9ec70,transparent 55%),#fafbfd}.login-entry-inner{width:100%;max-width:430px}.login-form-card{background:#fff;border:1px solid #e5eaf2;border-radius:22px;padding:36px;box-shadow:0 16px 50px #233d6610}.login-access-icon{width:46px;height:46px;display:grid;place-items:center;background:#edf2f9;color:var(--navy);border-radius:14px;font-size:21px;margin-bottom:26px}.login-form-card h1{font-size:30px;letter-spacing:-1px;margin-top:12px}.login-form-card .subtitle{font-size:12px;margin:8px 0 28px;color:var(--muted)}.login-form-card .field{margin-bottom:20px}.login-form-card .form-control{min-height:49px;background:#fcfdff;border-radius:10px}.login-options{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;margin:4px 0 24px;flex-wrap:wrap}.login-options label{display:flex;align-items:center;gap:7px;color:#69778e;min-height:32px}.login-options input{accent-color:var(--navy)}.login-options a{font-weight:600}.login-submit{width:100%;min-height:50px;border-radius:10px;display:flex;justify-content:space-between;padding:0 18px;box-shadow:0 5px 12px #203d6618}.login-card-foot{display:flex;justify-content:center;align-items:center;gap:7px;border-top:1px solid #edf0f5;padding-top:20px;margin-top:24px;font-size:9px;color:#8591a3}.login-entry-note{font-size:10px;text-align:center;margin-top:20px;color:#8b97aa}.stat-value{font-variant-numeric:tabular-nums}
@media(max-width:991px){.premium-login{grid-template-columns:1fr 1fr}.login-story{padding:34px 24px}.login-entry{padding:50px 22px}.login-form-card{padding:28px 22px}.login-feature-grid small{font-size:8px}}
@media(max-width:767px){.premium-login{grid-template-columns:1fr}.login-story{padding:30px 24px;border-right:0;border-bottom:1px solid #e0e7f0}.login-wordmark{width:270px;max-width:100%}.login-story-content{padding:30px 0 0;max-width:none;margin:0}.login-story h2{font-size:40px;margin:15px 0;letter-spacing:-1px}.login-story h2 br{display:none}.login-story-content>p{font-size:12px}.login-story-content>p br{display:none}.login-story .login-kicker{font-size:8px;letter-spacing:1px}.login-workspace-preview,.login-story-footer{display:none}.login-entry{padding:26px 18px 32px}.login-form-card{padding:26px 22px;border-radius:18px}.login-access-icon{margin-bottom:20px;width:40px;height:40px}.login-form-card h1{font-size:27px}.login-options{font-size:10px}.login-card-foot{font-size:8px}.auth-sample-label{top:8px;right:10px;font-size:8px}}
@media(max-width:767px){.login-story h2 br{display:inline}.login-story h2 br:after{content:" "}}
.password-shell{position:relative}.password-shell input{padding-right:55px}.password-toggle{position:absolute;right:7px;bottom:5px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:9px;background:transparent;color:#78869b;transition:background .18s,color .18s}.password-toggle:hover{background:#edf2f9;color:var(--navy)}.password-toggle:focus-visible{outline:2px solid #7d93b2;outline-offset:1px;background:#edf2f9}.password-eye{width:21px;height:21px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}.eye-pupil{transform-origin:12px 12px;transition:transform .18s,opacity .18s}.eye-slash{stroke-dasharray:24;stroke-dashoffset:0;transition:stroke-dashoffset .2s,opacity .2s}.password-toggle[aria-pressed=true]{color:var(--navy);background:#edf2f9}.password-toggle[aria-pressed=true] .eye-slash{stroke-dashoffset:24;opacity:0}.password-toggle:not([aria-pressed=true]) .eye-pupil{transform:scale(.85);opacity:.65}@media(prefers-reduced-motion:reduce){.password-toggle,.password-eye *{transition:none}}
/* Readable login type scale. */
.premium-login{font-family:"Avenir Next","Segoe UI",-apple-system,BlinkMacSystemFont,sans-serif}.login-entry-inner{max-width:470px}.login-form-card{padding:38px}.login-form-card h1{font-size:36px;font-weight:700;letter-spacing:-1.1px;line-height:1.2}.login-form-card .login-kicker{font-size:11px;letter-spacing:1.3px;line-height:1.6}.login-form-card .subtitle{font-size:16px;line-height:1.6;margin:10px 0 30px}.login-form-card .field>label{font-size:14px;font-weight:650;margin-bottom:9px}.login-form-card .form-control{font-size:16px;line-height:1.5;min-height:54px;padding:13px 15px}.login-form-card .password-shell input{padding-right:56px}.password-toggle{bottom:7px}.login-options{font-size:13px;line-height:1.6;margin:6px 0 26px}.login-options input{width:16px;height:16px}.login-submit{font-size:16px;font-weight:650;min-height:54px}.login-card-foot{font-size:12px;line-height:1.6}.login-entry-note{font-size:12px;line-height:1.6}.login-story-content>p{font-size:16px}.login-story .login-kicker{font-size:11px;line-height:1.7;letter-spacing:1.2px}.login-feature-grid strong{font-size:13px}.login-feature-grid small{font-size:11px;line-height:1.5}.preview-heading,.preview-note,.login-story-footer{font-size:11px;line-height:1.6}.login-story-footer span:last-child{font-size:10px}.login-feature-grid>div{padding:14px 10px}
@media(max-width:991px){.login-form-card{padding:30px 24px}.login-form-card h1{font-size:32px}.login-options{font-size:12px}.login-feature-grid{grid-template-columns:1fr}.login-feature-grid>div{display:grid;grid-template-columns:24px 1fr;column-gap:8px;padding:10px}.login-feature-grid i{grid-row:span 2;margin:0}.login-feature-grid small{margin:0}}
@media(max-width:767px){.login-form-card{padding:28px 22px}.login-form-card h1{font-size:32px}.login-form-card .subtitle{font-size:15px}.login-options{font-size:13px}.login-story-content>p{font-size:15px}.login-story .login-kicker{font-size:10px}.login-card-foot{font-size:11px;flex-wrap:wrap}.login-form-card .login-kicker{font-size:10px}.login-entry-note{font-size:12px}}
/* Balance the login columns and use the brand panel width. */
@media(min-width:992px){.premium-login{grid-template-columns:minmax(0,.92fr) minmax(0,1fr)}.login-story{padding:36px clamp(28px,3.5vw,56px) 28px}.login-story-content{max-width:620px;width:100%;padding:34px 0}.login-workspace-preview{width:100%;margin-top:26px}.login-story h2{font-size:clamp(48px,4.7vw,72px);margin:20px 0}.login-entry{padding:44px clamp(28px,4vw,64px)}.login-entry-inner{max-width:490px}.login-story-footer{gap:12px}}
/* Larger editorial login headline. */
.login-story h2{font-size:clamp(64px,6.1vw,96px);line-height:1.02;letter-spacing:-2.8px}
@media(min-width:768px) and (max-width:991px){.login-story h2{font-size:clamp(52px,6.7vw,66px);letter-spacing:-2px}}
@media(max-width:767px){.login-story h2{font-size:clamp(44px,12vw,64px);line-height:1.06;letter-spacing:-1.8px}.login-story h2 br{display:block}.login-story h2 br:after{content:none}}
/* Phase 2: shared legibility, target sizing and constrained overlays. */
.field>label{font-size:13px}.field .help,.error-text{font-size:12px;line-height:1.6}.field .form-control,.field .form-select{font-size:14px;min-height:44px}.btn{min-height:44px}.badge{font-size:11px}.stat-note,.panel-sub,.due-person small{font-size:12px}.data-table th{font-size:11px}.data-table td{font-size:13px}.summary-line{font-size:13px}.switch-row{gap:18px}.switch-row p{font-size:12px}.switch-row .form-check-input{width:28px;height:28px;flex-shrink:0}.switch-row>.actions{flex-shrink:0}.icon-button,.table-action{min-width:44px;min-height:44px}dialog{max-width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto}.dialog-body{overflow-wrap:anywhere}.dialog-footer{flex-wrap:wrap}.field input,.field select,.field textarea{border-color:#8593a6}.global-search,.search-box{border-color:#8593a6}.form-control:focus,.form-select:focus{border-color:var(--navy)}input:focus-visible,select:focus-visible,textarea:focus-visible{box-shadow:0 0 0 2px #203d6626;border-color:var(--navy)}.search-box:focus-within,.global-search:focus-within{border-color:var(--navy);box-shadow:0 0 0 2px #203d6626}.search-box input:focus-visible,.global-search input:focus-visible{box-shadow:none}.login-options input{min-width:24px;min-height:24px}.password-toggle{width:44px;height:44px;bottom:5px}
@media(max-width:767px){.field .form-control,.field .form-select{font-size:16px}.topbar input{font-size:16px}.topbar .global-search input{font-size:16px}.global-search{max-width:100%;overflow:hidden}.data-table td{font-size:13px}.data-table td:before{font-size:11px}.class-info h3{font-size:14px}.switch-row{flex-wrap:wrap}.switch-row>.actions{width:100%;justify-content:space-between}.attendance-controls{margin-left:0;width:100%;display:flex}.attendance-controls .mark{flex:1;min-height:44px}.form-footer p{font-size:12px}.summary-line span,.summary-line strong{overflow-wrap:anywhere}.field-grid>*{min-width:0}.panel,.grid>*{min-width:0}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.avatar.rose{background:#fcf1f3}.login-form-card .login-kicker,.login-card-foot,.login-entry-note{color:#5c6c83}.notice a[href*="#invalid-"]{display:inline-flex;align-items:center;min-height:32px;padding:4px 0}.login-options a{min-height:32px;display:inline-flex;align-items:center}
.field-label{display:block;font-size:13px;font-weight:600;color:#48566c;margin-bottom:9px}
@media(max-width:767px){.login-story-content>p br{display:block}}
.validation-summary-valid{display:none}.data-table .badge{align-self:flex-start}.sidebar-footer form{margin-left:auto}.sidebar-footer .teacher>div{min-width:0}.sidebar-footer .teacher strong{overflow-wrap:anywhere}.person-cell strong{overflow-wrap:anywhere}
.page-heading h1,.detail-item strong,.data-table td,.teacher strong{overflow-wrap:anywhere}

/* Live sign-in: balanced columns, consistent form spacing and validation alignment. */
body[data-live="true"] .premium-login{grid-template-columns:repeat(2,minmax(0,1fr))}
body[data-live="true"] .login-story{padding:36px clamp(28px,4vw,64px) 24px}
body[data-live="true"] .login-story-content{max-width:560px;padding:32px 0}
body[data-live="true"] .login-story h2{font-size:clamp(52px,5vw,80px);line-height:1.08;letter-spacing:-2px}
body[data-live="true"] .login-entry{padding:48px 32px 32px}
body[data-live="true"] .login-entry-inner{max-width:460px}
body[data-live="true"] .login-form-card{padding:32px}
body[data-live="true"] .login-access-icon{margin-bottom:22px}
body[data-live="true"] .login-form-card .subtitle{margin-bottom:24px}
body[data-live="true"] .login-form-card .field{margin-bottom:18px}
body[data-live="true"] .login-form-card .form-control{min-height:50px;font-size:16px;padding:11px 14px}
body[data-live="true"] .login-form-card .password-shell input{padding-right:56px}
body[data-live="true"] .login-form-card .validation-summary-errors{display:block;padding:12px 14px;font-size:12px;line-height:1.6}
body[data-live="true"] .login-form-card .validation-summary-errors ul{list-style:none;margin:0;padding:0}
body[data-live="true"] .login-options{margin:0 0 20px;align-items:center}
body[data-live="true"] .login-options label{margin:0;cursor:pointer}
body[data-live="true"] .login-options input{width:18px;height:18px;min-width:18px;min-height:18px;margin:0;flex-shrink:0}
body[data-live="true"] .login-card-foot{margin-top:22px;padding-top:18px;text-align:center}
@media(min-width:768px) and (max-height:850px){
 body[data-live="true"] .login-story{padding-top:28px}
 body[data-live="true"] .login-wordmark{max-width:300px}
 body[data-live="true"] .login-story-content{padding:24px 0}
 body[data-live="true"] .login-story h2{font-size:clamp(48px,4.5vw,68px);margin:16px 0}
 body[data-live="true"] .login-workspace-preview{margin-top:22px;padding:16px 18px}
 body[data-live="true"] .preview-greeting{margin:14px 0}
 body[data-live="true"] .login-entry{padding-top:40px;padding-bottom:24px}
}
@media(min-width:768px) and (max-width:991px){
 body[data-live="true"] .login-story{padding:32px 24px}
 body[data-live="true"] .login-entry{padding:48px 20px 28px}
 body[data-live="true"] .login-form-card{padding:28px 22px}
}
@media(max-width:767px){
 body[data-live="true"] .premium-login{grid-template-columns:minmax(0,1fr)}
 body[data-live="true"] .login-story{padding:32px 24px 24px}
 body[data-live="true"] .login-story-content{padding:24px 0 0}
 body[data-live="true"] .login-story h2{font-size:clamp(42px,11vw,64px);letter-spacing:-1.8px}
 body[data-live="true"] .login-entry{padding:24px 18px 32px}
 body[data-live="true"] .login-form-card{padding:28px 22px}
 body[data-live="true"] .login-options{gap:8px 16px}
}

/* Keep the sidebar account identity readable beside a fixed sign-out target. */
body[data-live="true"] .sidebar-footer{padding:16px 12px;flex-shrink:0}
body[data-live="true"] .sidebar-footer .teacher{display:grid;grid-template-columns:32px minmax(0,1fr) 44px;gap:8px;align-items:center}
body[data-live="true"] .sidebar-footer .avatar{width:32px;height:32px;font-size:11px}
body[data-live="true"] .sidebar-footer .teacher-details{min-width:0}
body[data-live="true"] .sidebar-footer .teacher strong{display:block;font-size:12px;line-height:1.4;font-weight:650;overflow-wrap:normal;word-break:normal}
body[data-live="true"] .sidebar-footer .teacher small{font-size:10px;line-height:1.5;margin-top:4px;white-space:nowrap}
body[data-live="true"] .sidebar-footer form{margin:0;width:44px}
body[data-live="true"] .sidebar-footer .icon-button{width:44px;height:44px;padding:0;border-radius:10px;font-size:17px}
/* Financial totals must fit narrow cards without widening the page. */
body[data-live="true"][data-screen="dues"] .stat{min-width:0}
body[data-live="true"][data-screen="dues"] .stat-value{font-size:clamp(18px,2vw,29px);overflow-wrap:anywhere}
@media(max-width:991px){body[data-live="true"][data-screen="dues"] .stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

body[data-live="true"][data-screen="dues"] .summary-line>strong{flex-shrink:0;white-space:nowrap}
body[data-live="true"][data-screen="dues"] .summary-line>span{min-width:0;overflow-wrap:anywhere}
/* Live Phase 5 controls reuse the approved panel, field and status patterns. */
body[data-live="true"] .teaching-roster{display:flex;align-items:center;justify-content:space-between;gap:1rem;border-bottom:1px solid var(--border,#e2e8f0);padding:1rem 0;min-width:0}
body[data-live="true"] .teaching-roster small{display:block;color:#65758d}
body[data-live="true"] .teaching-roster fieldset{border:0;display:flex;flex-wrap:wrap;gap:.5rem;min-width:0;margin:0;padding:0}
body[data-live="true"] .teaching-roster label{display:flex;align-items:center;gap:.4rem;min-height:44px;padding:.45rem .65rem;border:1px solid #d8e0ec;border-radius:8px}
body[data-live="true"] .teaching-history{border-bottom:1px solid #e2e8f0;padding:1rem 0;overflow-wrap:anywhere}
body[data-live="true"] .teaching-history p{margin:.4rem 0}
@media(max-width:640px){body[data-live="true"] .teaching-roster{align-items:flex-start;flex-direction:column}body[data-live="true"] .teaching-roster fieldset{width:100%}}
body[data-live="true"] .teaching-agenda{display:grid;gap:1rem;min-width:0}
body[data-live="true"] .teaching-week{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
body[data-live="true"] .teaching-agenda section{min-width:0;overflow-wrap:anywhere}
body[data-live="true"] .teaching-agenda h2{font-size:1rem}
body[data-live="true"] .teaching-agenda .schedule-card{display:block;padding:1rem;margin:.75rem 0;border:1px solid #d8e0ec;border-radius:12px;min-width:0}
body[data-live="true"] .teaching-agenda p{font-size:.875rem;margin:.5rem 0}
@media(max-width:640px){body[data-live="true"] .teaching-week{grid-template-columns:1fr}}

/* Phase 6 reuses approved statistic cards with bounded money wrapping. */
.report-metric .stat-value{font-size:clamp(18px,2.1vw,29px);overflow-wrap:anywhere}
.mock-content{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;border:1px solid var(--line);padding:16px;background:var(--soft);border-radius:8px}

@media(max-width:575px){.report-metric.metric-wide{grid-column:1/-1}.report-metric.metric-wide .stat-value{font-size:clamp(16px,4.8vw,24px);overflow-wrap:normal}}

/* Keep reporting sections separate even where Bootstrap margin utilities vary. */
.reporting-content{display:flex;flex-direction:column;gap:20px;min-width:0}
.reporting-content>*{margin-block:0!important;min-width:0}
.reporting-content>.notice{display:block}
.reporting-content>.notice.notice-action{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}
.reporting-content>.notice-action>p{flex:1 1 32rem;min-width:0}
.reporting-content>.notice-action>.btn{flex:0 0 auto;white-space:nowrap;background:#fff;border:1px solid #d8c79d;color:var(--navy)}
.reporting-content>.notice-action>.btn:hover{background:#f4eddd;border-color:#b69a5b}
@media(max-width:575px){.reporting-content{gap:16px}.reporting-content>.notice-action>.btn{width:100%;justify-content:center;white-space:normal;text-align:center}}

/* Live teaching pages: aligned filters, separated sections and readable table states. */
.teaching-content{display:flex;flex-direction:column;gap:20px;min-width:0}
.teaching-content>*{margin-block:0!important;min-width:0}
.teaching-nav{gap:8px}
.teaching-nav a[aria-current="page"]{background:var(--navy);border-color:var(--navy);color:#fff}
.teaching-content .teaching-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end}
.teaching-filters>.btn{white-space:nowrap}
.teaching-list-panel .panel-head{align-items:center;flex-wrap:wrap}
.teaching-list-panel .panel-head .panel-sub{margin:6px 0 0}
.teaching-range-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:16px 22px;border-bottom:1px solid var(--line);color:var(--muted);font-size:12px}
.teaching-content .table-scroll{overflow-x:auto}
.teaching-content .data-table td{vertical-align:middle}
.teaching-content .data-table td small{display:block;color:var(--muted);margin-top:4px}
.teaching-content .data-table td.teaching-empty-cell{padding:0}
.teaching-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:40px 24px;text-align:center}
.teaching-empty>.bi{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--soft);color:var(--navy);font-size:24px}
.teaching-empty p{max-width:440px;color:var(--muted);font-size:13px}
.teaching-content .pagination-bar{border-top:1px solid var(--line)}
.teaching-content .form-section>h2{margin-bottom:12px}
.teaching-content .form-section>p{margin-block:8px}
.teaching-content .notice{display:block}
.teaching-agenda-content{display:flex;flex-direction:column;padding:0;gap:0}
.teaching-agenda-content>*{margin-block:0!important}
@media(max-width:767px){.teaching-content{gap:16px}.teaching-content .teaching-filters{grid-template-columns:1fr}.teaching-filters>.btn{width:100%}.teaching-nav>.btn{flex:1 1 auto}.teaching-range-bar{padding:16px;align-items:flex-start}.teaching-range-bar>.actions{width:100%}.teaching-range-bar .btn{flex:1}.teaching-list-panel .panel-head>.actions{width:100%}.teaching-list-panel .panel-head>.actions>.btn{flex:1}.teaching-content .data-table td[colspan]{flex:1 1 100%;width:100%}.teaching-content .data-table td[colspan]:before{display:none}.teaching-empty{padding:32px 16px}}

/* Notification controls share a baseline; empty counts live in card chrome. */
.notification-content{display:flex;flex-direction:column;gap:20px;min-width:0}
.notification-content>*{margin-block:0!important;min-width:0}
.notification-content>.notice{display:block}
.notification-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:16px;align-items:end}
.notification-filter-grid>*{min-width:0}
.notification-processor-body{display:flex;flex-direction:column;gap:16px}
.notification-processor-body>p{max-width:90ch;color:var(--muted);font-size:13px}
.notification-processor-form{display:grid;grid-template-columns:minmax(220px,320px) max-content;gap:16px;align-items:end;justify-content:start}
.notification-processor-form>.btn{min-height:44px}
.notification-empty{display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;padding:20px 16px}
.notification-empty>.bi{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;background:var(--soft);color:var(--navy);font-size:24px}
.notification-empty p{max-width:600px;font-size:13px;color:var(--muted)}
.notification-inbox>.panel-body{display:flex;flex-direction:column;gap:16px}
.notification-inbox .notification-row{margin:0;align-items:flex-start;gap:16px}
.notification-inbox .notification-row>div{min-width:0;overflow-wrap:anywhere}
.notification-inbox .notification-row p{margin:6px 0}
.notification-content .panel-head{flex-wrap:wrap}
.teaching-agenda-stack{display:flex;flex-direction:column;gap:16px;padding:22px}
.teaching-agenda-stack>.notice{margin:0}
.teaching-agenda-stack .teaching-empty{padding:20px 16px}
@media(max-width:1199px){.notification-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.notification-filter-grid>.btn{justify-self:start}}
@media(max-width:767px){.notification-content{gap:16px}.notification-filter-grid{grid-template-columns:1fr}.notification-filter-grid>.btn{width:100%}.notification-processor-form{grid-template-columns:1fr;justify-content:stretch}.notification-processor-form>.btn{width:100%}.notification-empty{padding:16px 0}.notification-inbox .notification-row{flex-wrap:wrap}.teaching-agenda-stack{padding:18px 16px}}

.actions>.batch-delete-action{color:#b42318}.actions>.batch-delete-action:hover{background:#fef3f2;border-color:#fda29b}

/* Live workspace brand palette: burgundy actions, navy information, distinct status colors. */
body[data-live="true"]{--brand-red:#a73748;--brand-red-hover:#8b2939;--brand-red-soft:#fbf0f2;--brand-red-line:#eccbd1;--danger-red:#b42318}
body[data-live="true"] .btn-primary,body[data-live="true"] .btn-rose{background:var(--brand-red);border-color:var(--brand-red);color:#fff}
body[data-live="true"] .btn-primary:hover,body[data-live="true"] .btn-primary:focus,body[data-live="true"] .btn-rose:hover{background:var(--brand-red-hover);border-color:var(--brand-red-hover);color:#fff}
body[data-live="true"] .nav-link.active{background:var(--brand-red-soft);color:var(--brand-red);box-shadow:inset 3px 0 var(--brand-red)}
body[data-live="true"] .nav-link:hover{background:#f8f1f3;color:var(--brand-red-hover)}
body[data-live="true"] .breadcrumb a,body[data-live="true"] .btn-link,body[data-live="true"] .table-action{color:var(--brand-red)}
body[data-live="true"] .quick-actions>.btn:first-child{background:var(--brand-red);border-color:var(--brand-red);color:#fff}
body[data-live="true"] .quick-actions>.btn:hover{background:var(--brand-red-soft);border-color:var(--brand-red-line);color:var(--brand-red-hover)}
body[data-live="true"] .quick-actions>.btn:first-child:hover{background:var(--brand-red-hover);color:#fff}
body[data-live="true"] .report-metric{border-top:3px solid var(--navy);transition:border-color .15s,box-shadow .15s}
body[data-live="true"] .report-metric:hover{border-color:var(--brand-red-line);border-top-color:var(--brand-red);box-shadow:0 4px 14px #a7374810}
body[data-live="true"] .report-metric[href*="/dues"]{border-top-color:var(--brand-red)}
body[data-live="true"] .report-metric[href*="/dues/overdue"] .stat-value{color:var(--danger-red)}
body[data-live="true"] .report-card .course-icon,body[data-live="true"] .course-card .course-icon{background:var(--brand-red-soft);color:var(--brand-red)}
body[data-live="true"] .teaching-nav>.btn[aria-current="page"],body[data-live="true"] .tab.active{background:var(--brand-red-soft);color:var(--brand-red);border-color:var(--brand-red-line)}
body[data-live="true"] .step.active>span:first-child{background:var(--brand-red);color:#fff}
body[data-live="true"] input[type="checkbox"],body[data-live="true"] input[type="radio"]{accent-color:var(--brand-red)}
body[data-live="true"] .form-check-input:checked{background-color:var(--brand-red);border-color:var(--brand-red)}
body[data-live="true"] .login-access-icon{background:var(--brand-red-soft);color:var(--brand-red)}
body[data-live="true"] .login-submit{box-shadow:0 5px 12px #a7374818}
body[data-live="true"] .batch-delete-action{color:var(--danger-red)}
@media(prefers-reduced-motion:reduce){body[data-live="true"] .report-metric{transition:none}}

/* Sidebar identity and session action have their own clear rows. */
.sidebar-footer{padding:16px 14px;background:#fff}
.sidebar-account{display:flex;flex-direction:column;gap:14px;padding:14px;border:1px solid var(--line);border-radius:12px;background:#fafbfd;min-width:0}
.sidebar-account-identity{display:flex;align-items:center;gap:10px;min-width:0}
.sidebar-account-identity>.avatar{width:36px;height:36px;font-size:12px;background:#f6e9ec;color:#983446;border:1px solid #ecd5da}
.sidebar-account-details{flex:1;min-width:0}
.sidebar-account-details>strong{display:block;font-size:12px;line-height:1.45;font-weight:650;overflow-wrap:anywhere;color:var(--ink)}
.sidebar-account-details>span{display:block;margin-top:4px;font-size:11px;line-height:1.4;color:var(--muted)}
body[data-live="true"] .sidebar-account>form,.sidebar-account>form{margin:0;width:100%}
.sidebar-signout{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:44px;padding:9px 12px;border:1px solid #eccbd1;border-radius:8px;background:#fff;color:#a73748;font-size:12px;font-weight:650;line-height:1.4}
.sidebar-signout:hover{background:#fbf0f2;border-color:#a73748;color:#8b2939}
.sidebar-signout:focus-visible{outline:3px solid #a73748;outline-offset:3px}
.sidebar-signout>.bi{font-size:16px}

/* Metrics use recognizable icons without crowding long labels or amounts. */
body[data-live="true"] .report-metric{display:flex;flex-direction:column;gap:8px;padding:20px}
body[data-live="true"] .report-metric .stat-top{align-items:flex-start;gap:12px;min-height:40px}
body[data-live="true"] .report-metric .stat-top>span:first-child{padding-top:8px;flex:1;min-width:0}
.metric-symbol{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;border-radius:12px;background:#edf2f9;color:var(--navy);font-size:20px}
body[data-live="true"] .report-metric[href*="/dues"] .metric-symbol{background:#fbf0f2;color:var(--brand-red)}
body[data-live="true"] .report-metric .stat-value{margin:0 0 8px;line-height:1.2}
.metric-link{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:12px;border-top:1px solid #f0f2f5}
.metric-link>.bi{color:var(--navy);font-size:14px}
body[data-live="true"] .report-metric:hover .metric-link,body[data-live="true"] .report-metric:hover .metric-link>.bi{color:var(--brand-red)}
.admission-status-form{margin:0}
.admission-switch{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:4px 0;background:transparent;border:0;color:var(--muted);font-size:12px;font-weight:600;white-space:nowrap}
.admission-switch-track{display:flex;align-items:center;width:42px;height:24px;padding:3px;border-radius:20px;background:#737e8d;flex-shrink:0}
.admission-switch-track>span{display:block;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0002}
.admission-switch[aria-checked="true"]{color:var(--green)}
.admission-switch[aria-checked="true"] .admission-switch-track{background:var(--green);justify-content:flex-end}
.admission-switch:hover .admission-switch-track{box-shadow:0 0 0 3px #203d6610}
.admission-switch:disabled{opacity:.5;cursor:not-allowed}

.student-row-actions{flex-wrap:nowrap;gap:14px}.student-status-form{margin:0}.student-row-actions>.icon-button{flex-shrink:0}

.readmission-badge{margin-left:8px;background:#fbf0f2;color:#983446;border:1px solid #eccbd1;vertical-align:middle}.student-row-actions .admission-switch:disabled{opacity:1;cursor:default}

/* Quick notifications sit opposite the breadcrumb, outside document flow. */
.app-toasts{position:fixed;top:96px;right:36px;width:min(420px,calc(100vw - 32px));display:flex;flex-direction:column;gap:12px;z-index:100;pointer-events:none;max-height:calc(100dvh - 120px);overflow-y:auto;padding:4px}
.app-toasts:empty{display:none}
.app-toast{display:flex;align-items:flex-start;gap:12px;background:#fff;border:1px solid #e4e8ee;border-left:4px solid #a73748;border-radius:12px;padding:16px;box-shadow:0 10px 35px #203d6624;pointer-events:auto;color:var(--ink);animation:toast-enter .18s ease-out}
.app-toast-icon{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:9px;background:#edf2f9;color:var(--navy);font-size:19px}
.app-toast-copy{flex:1;min-width:0}.app-toast-copy>strong{display:block;font-size:13px;color:var(--navy);margin-bottom:4px}.app-toast-copy>p{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.app-toast-error .app-toast-icon{background:#fbf0f2;color:#a73748}.app-toast-error .app-toast-copy>strong{color:#a73748}
.app-toast-close{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border:0;border-radius:7px;background:transparent;color:var(--muted);font-size:14px;margin:-4px -4px 0 0}.app-toast-close:hover{background:#fbf0f2;color:#a73748}.app-toast-close:focus-visible{outline:2px solid #a73748;outline-offset:2px}
body[data-live="true"] .toast-message{top:96px;right:36px;bottom:auto;left:auto;transform:none;background:#fff;color:var(--navy);border:1px solid var(--line);border-left:4px solid #a73748}
@keyframes toast-enter{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:991px){.app-toasts{top:86px;right:16px}body[data-live="true"] .toast-message{top:86px;right:16px}}
@media(prefers-reduced-motion:reduce){.app-toast{animation:none}}
@media print{.app-toasts{display:none!important}}

/* Align wrapped checkbox/radio labels consistently across live forms. */
body[data-live="true"] label:has(>input[type="checkbox"]),body[data-live="true"] label:has(>input[type="radio"]){display:flex;align-items:flex-start;gap:10px;line-height:1.55;min-height:28px;cursor:pointer;white-space:normal}
body[data-live="true"] label>input[type="checkbox"],body[data-live="true"] label>input[type="radio"]{width:18px;height:18px;min-width:18px;min-height:18px;max-width:18px;flex:0 0 18px;margin:2px 0 0;padding:0;box-shadow:none;vertical-align:middle}
body[data-live="true"] label>input[type="checkbox"]{border-radius:4px}
body[data-live="true"] .form-check{display:flex;align-items:flex-start;gap:10px;padding-left:0}
body[data-live="true"] .form-check>.form-check-input{float:none;margin:2px 0 0;flex:0 0 18px;width:18px;height:18px;min-height:18px}
body[data-live="true"] .form-check>.form-check-label{flex:1;min-width:0;line-height:1.55}
.required-mark{color:#a73748;font-weight:700}.optional-label{font-size:12px;font-weight:400;color:var(--muted)}

/* Validation summaries use the same inset as the form, without browser list indents. */
body[data-live="true"] .validation-summary-errors{display:block;padding:14px 16px;line-height:1.6;overflow-wrap:anywhere}
body[data-live="true"] .validation-summary-errors>ul{list-style:none;margin:0;padding:0}
body[data-live="true"] .validation-summary-errors>ul>li{margin:0;padding:0}
body[data-live="true"] .validation-summary-errors>ul>li+li{margin-top:6px}
.duplicate-student-review{margin-top:14px;padding:14px;border:1px solid var(--line);border-radius:9px;background:#fafbfd}
.duplicate-student-review>p{font-size:12px;color:var(--muted)}.duplicate-student-review>ul{list-style:none;padding:0;margin:8px 0 12px}.duplicate-student-review li+li{margin-top:6px}.duplicate-student-review a{font-size:12px;color:var(--navy);text-decoration:underline}

/* Enrollment sections span the form; only related fields share a grid. */
.enrollment-form .form-section{padding:26px}
.enrollment-form .enrollment-form-content{display:flex;flex-direction:column;gap:24px;min-width:0}
.enrollment-form-content>input[type="hidden"]{display:none}
.enrollment-student{display:flex;align-items:center;gap:14px;padding:18px 20px;background:#f7f9fc;border:1px solid var(--line);border-radius:12px}
.enrollment-student-icon{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:#fbf0f2;color:#a73748;font-size:24px}
.enrollment-student>div{min-width:0;flex:1}.enrollment-kicker{display:block;font-size:10px;font-weight:700;letter-spacing:1px;color:var(--muted);margin-bottom:4px}
.enrollment-student h2{font-size:17px;overflow-wrap:anywhere}.enrollment-student p{font-size:12px;color:var(--muted);margin-top:4px}
.enrollment-form .enrollment-setup-note{display:flex;align-items:center;gap:14px;padding:16px 18px;border:1px solid #eee0bc;background:#fff8eb;border-radius:10px;color:#765619}
.enrollment-note-icon{font-size:22px;flex-shrink:0}.enrollment-setup-note>div{flex:1;min-width:0}.enrollment-setup-note strong{font-size:13px}.enrollment-setup-note p{font-size:12px;line-height:1.6;margin-top:4px}.enrollment-setup-note>.btn{flex-shrink:0;white-space:nowrap}
.enrollment-section{min-width:0}.enrollment-section-heading{display:flex;align-items:center;gap:9px;margin-bottom:16px}.enrollment-section-heading>.bi{color:var(--navy);font-size:18px}.enrollment-section-heading h2{font-size:15px}
.enrollment-fields{display:grid;grid-template-columns:minmax(180px,.85fr) minmax(0,1.2fr) minmax(0,1.2fr);gap:20px;align-items:start}.enrollment-fields>.field{min-width:0;margin:0}.enrollment-fields .help{margin-top:7px}
.enrollment-section+.enrollment-section{padding-top:22px;border-top:1px solid var(--line)}
.enrollment-form label.enrollment-option{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;background:#fafbfd;border:1px solid var(--line);border-radius:10px;margin:0;font-size:13px;font-weight:400}
.enrollment-option>span{flex:1;min-width:0}.enrollment-option strong{display:block;font-size:13px;font-weight:600}.enrollment-option small{display:block;font-size:12px;color:var(--muted);line-height:1.6;margin-top:4px}
.enrollment-capacity{font-size:12px;color:var(--muted)}.enrollment-capacity>summary{cursor:pointer;min-height:32px;display:list-item;list-style-position:inside}.enrollment-capacity .enrollment-option{margin-top:8px!important}
.enrollment-footer-note{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.enrollment-footer-note>.bi{color:var(--navy);font-size:16px}
.enrollment-form .form-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 26px;background:#fafbfd}
@media(max-width:1100px){.enrollment-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.enrollment-fields>.field:first-child{grid-column:1/-1;max-width:320px}}
@media(max-width:575px){.enrollment-form .form-section{padding:18px 16px}.enrollment-fields{grid-template-columns:1fr;gap:18px}.enrollment-fields>.field:first-child{max-width:none}.enrollment-student{padding:16px;align-items:flex-start;flex-wrap:wrap}.enrollment-form .enrollment-setup-note{flex-wrap:wrap;align-items:flex-start}.enrollment-setup-note>.btn{width:100%}.enrollment-form .form-footer{padding:16px}.enrollment-form .form-footer>.btn{flex:1}.enrollment-form label.enrollment-option{padding:14px}.enrollment-footer-note{align-items:flex-start}}

.inline-catalog-options{display:flex;flex-direction:column;gap:12px}
.inline-catalog{border:1px solid var(--line);border-radius:12px;background:#fff;overflow:hidden}
.inline-catalog>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;padding:16px 18px;cursor:pointer;background:#fafbfd;min-height:70px}
.inline-catalog>summary::-webkit-details-marker{display:none}
.inline-catalog>summary:hover{background:#fbf0f2}
.inline-catalog-heading{display:flex;align-items:center;gap:12px;min-width:0}.inline-catalog-heading>.bi{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;background:#edf2f9;color:var(--navy);border-radius:9px;font-size:20px}
.inline-catalog-heading strong{display:block;font-size:13px;color:var(--navy)}.inline-catalog-heading small{display:block;font-size:12px;color:var(--muted);line-height:1.5;margin-top:3px}
.inline-expand-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;background:#fff;border:1px solid #eccbd1;border-radius:8px;color:#a73748}
.inline-catalog[open]>summary{border-bottom:1px solid var(--line);background:#fbf0f2}.inline-catalog[open] .inline-expand-icon{transform:rotate(45deg)}
.inline-catalog-fields{border:0;padding:20px;margin:0;min-width:0}.inline-catalog-fields .field-grid{gap:18px 20px}.inline-full-width{grid-column:1/-1}.inline-save-hint{font-size:12px;color:var(--muted);margin-top:16px;padding-top:12px;border-top:1px solid var(--line)}
.inline-course-context{display:flex;align-items:flex-start;gap:8px;align-self:center;font-size:12px;color:var(--muted)}.inline-course-context>.bi{font-size:20px;color:var(--navy)}
@media(max-width:575px){.inline-catalog>summary{padding:14px}.inline-catalog-fields{padding:16px}.inline-catalog-heading{gap:10px}.inline-catalog-fields .field-grid{grid-template-columns:1fr}.inline-full-width{grid-column:auto}}

.student-profile-content{display:flex;flex-direction:column;gap:24px;min-width:0}
.student-profile-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;border-bottom:1px solid var(--line);flex-wrap:wrap}
.student-profile-identity{display:flex;align-items:center;gap:14px;min-width:0}.student-profile-identity>.avatar{width:54px;height:54px;border-radius:14px;background:#fbf0f2;color:#a73748;font-size:18px}.student-profile-identity>div{min-width:0}.student-profile-identity h2{font-size:19px;overflow-wrap:anywhere}.student-profile-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:7px;font-size:12px;color:var(--muted)}
.student-profile-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 28px;margin:0;padding:24px}.student-profile-details>div{min-width:0}.student-profile-details dt{display:flex;gap:7px;align-items:center;color:var(--muted);font-size:12px;font-weight:400}.student-profile-details dt>.bi{color:var(--navy)}.student-profile-details dd{font-size:13px;font-weight:600;line-height:1.6;margin:8px 0 0;overflow-wrap:anywhere}
.student-profile-links{display:flex;gap:24px;flex-wrap:wrap;padding:16px 24px;background:#fafbfd;border-top:1px solid var(--line)}.student-profile-links>a{display:flex;align-items:center;gap:9px;min-height:36px;font-size:12px;font-weight:600}.student-profile-links>a>.bi:last-child{font-size:11px;color:var(--muted)}
.student-enrollment-list{display:flex;flex-direction:column;gap:16px;padding:22px}.student-enrollment-card{border:1px solid var(--line);border-radius:11px;padding:20px;min-width:0}.student-enrollment-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;flex-wrap:wrap}.student-enrollment-heading h3{font-size:15px}.student-enrollment-heading p{font-size:12px;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}
.student-enrollment-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}.student-enrollment-facts dt{font-size:11px;font-weight:400;color:var(--muted)}.student-enrollment-facts dd{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;line-height:1.6;margin:5px 0 0;overflow-wrap:anywhere}.student-enrollment-facts .bi{color:var(--navy)}
.student-enrollment-actions{display:flex;gap:10px;flex-wrap:wrap;padding-top:16px;border-top:1px solid var(--line)}
.student-end-enrollment{margin-top:16px;border-top:1px dashed var(--line);padding-top:12px}.student-end-enrollment>summary{font-size:12px;color:#983446;cursor:pointer;min-height:32px;list-style-position:inside}.student-end-enrollment>form{margin-top:12px;background:#fafbfd;padding:16px;border-radius:8px}.student-end-fields{display:grid;grid-template-columns:minmax(160px,1fr) minmax(160px,1fr) auto;gap:16px;align-items:end}.student-end-fields>.field{margin:0;min-width:0}.student-end-fields>.student-end-button{min-height:44px;color:#983446;border-color:#eccbd1}
@media(max-width:991px){.student-profile-details{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:575px){.student-profile-header{padding:18px 16px}.student-profile-actions{width:100%}.student-profile-actions>.btn{flex:1}.student-profile-details{grid-template-columns:1fr;padding:20px 16px;gap:18px}.student-profile-links{padding:12px 16px;gap:8px 20px}.student-enrollment-list{padding:16px}.student-enrollment-card{padding:16px}.student-enrollment-facts{grid-template-columns:1fr;gap:14px}.student-enrollment-actions>.btn{flex:1}.student-end-fields{grid-template-columns:1fr}.student-end-fields>.student-end-button{width:100%}}

/* Clear student fee workflow, using the existing navy and burgundy palette. */
body[data-live="true"] .fee-navigation{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:24px 0;padding:20px 24px;background:#fff;border:1px solid #e1e6ee;border-radius:14px}
body[data-live="true"] .fee-navigation>div{min-width:0}body[data-live="true"] .fee-navigation strong{display:block;font-size:18px}body[data-live="true"] .fee-navigation small{display:block;color:#718096;margin-top:4px}
body[data-live="true"] .fee-navigation nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
body[data-live="true"] .fee-tools{position:relative;display:inline-block;font-size:14px}body[data-live="true"] .fee-tools summary{cursor:pointer;color:#243f67;padding:12px;border:1px solid #dce3ed;border-radius:8px;white-space:nowrap}body[data-live="true"] .fee-tools>div{display:flex;flex-direction:column;gap:12px;padding:14px;background:#f5f7fa;border-radius:8px;min-width:150px;margin-top:8px}body[data-live="true"] .fee-tools a{font-weight:600;white-space:nowrap}
body[data-live="true"] .fee-setup-layout{max-width:none;width:100%;margin:0}body[data-live="true"] .fee-setup-layout .form-section>.field-grid{margin-bottom:24px}body[data-live="true"] .fee-setup-layout .field-grid{gap:22px 24px}
body[data-live="true"] .fee-options{border:1px solid #e1e6ee;border-radius:10px;padding:16px 20px;margin-top:24px}body[data-live="true"] .fee-options summary{cursor:pointer;font-weight:650;color:#243f67}body[data-live="true"] .fee-options[open] summary{margin-bottom:20px}
body[data-live="true"] .fee-table td,body[data-live="true"] .payment-table td{vertical-align:middle;padding:20px 24px}body[data-live="true"] .fee-table small,body[data-live="true"] .payment-table small{margin-top:6px;line-height:1.5}body[data-live="true"] .fee-table td:nth-child(3),body[data-live="true"] .fee-table td:nth-child(4),body[data-live="true"] .payment-table td:nth-child(2){font-variant-numeric:tabular-nums;white-space:nowrap}body[data-live="true"] .fee-table .actions{gap:10px;align-items:center}body[data-live="true"] .fee-table .badge{margin:3px}
body[data-live="true"] .balance-check{max-width:none;width:100%;margin:0}body[data-live="true"] .balance-check .summary-line{padding:16px 8px;border-bottom:1px solid #e8edf3;gap:24px}body[data-live="true"] .balance-check .summary-line strong{font-variant-numeric:tabular-nums;white-space:nowrap}body[data-live="true"] .balance-check .panel-sub{margin-top:20px;line-height:1.6}
body[data-live="true"] [data-batch-course-slot]:empty,body[data-live="true"] [data-course-home]:empty{display:none}body[data-live="true"] [data-batch-course-slot]>.field{margin:0}
@media(max-width:850px){body[data-live="true"] .fee-navigation{align-items:flex-start;flex-direction:column}body[data-live="true"] .fee-navigation nav{width:100%}body[data-live="true"] .fee-navigation nav .btn{flex:1}body[data-live="true"] .fee-table td,body[data-live="true"] .payment-table td{padding:16px}}

body[data-live="true"] .fee-setup-layout .form-section>.field-grid>.field:only-of-type{grid-column:1/-1}

/* Menus overlay the workspace instead of changing the card height. */
body[data-live="true"] .fee-navigation{position:relative;overflow:visible}
body[data-live="true"] .fee-navigation .fee-tools{flex:0 0 auto;align-self:center}
body[data-live="true"] .fee-navigation .fee-tools summary{display:flex;align-items:center;gap:8px;min-height:44px;list-style:none;font-weight:600;background:#fff}
body[data-live="true"] .fee-navigation .fee-tools summary::-webkit-details-marker{display:none}
body[data-live="true"] .fee-navigation .fee-tools summary::after{content:"⌄";font-size:16px}
body[data-live="true"] .fee-navigation .fee-tools[open] summary{background:#f3f6fa;border-color:#a8b7cc}
body[data-live="true"] .fee-navigation .fee-tools>div{position:absolute;right:0;top:calc(100% + 8px);z-index:50;min-width:200px;max-width:calc(100vw - 48px);margin:0;padding:6px;gap:0;background:#fff;border:1px solid #dce3ed;border-radius:10px;box-shadow:0 10px 28px #203d6626}
body[data-live="true"] .fee-navigation .fee-tools:not([open])>div{display:none}
body[data-live="true"] .fee-navigation .fee-tools>div a{display:block;padding:11px 14px;border-radius:6px;font-size:14px}
body[data-live="true"] .fee-navigation .fee-tools>div a:hover,body[data-live="true"] .fee-navigation .fee-tools>div a:focus-visible{background:#f8edf0;color:#aa3248}

body[data-live="true"] .batch-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px}body[data-live="true"] .batch-toolbar select{width:auto;min-width:170px}
body[data-live="true"] .confirm-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #e1e6ee;border-radius:16px;color:#233247;background:#fff;box-shadow:0 24px 80px #14243d40}
body[data-live="true"] .confirm-dialog::backdrop{background:#17263b66;backdrop-filter:blur(3px)}body[data-live="true"] .confirm-dialog-body{padding:28px}body[data-live="true"] .confirm-dialog-body h2{font-size:22px;margin:16px 0 8px}body[data-live="true"] .confirm-dialog-body p{line-height:1.6;color:#637187}body[data-live="true"] .confirm-dialog-name{font-weight:700;color:#233247!important;margin-bottom:12px;overflow-wrap:anywhere}body[data-live="true"] .confirm-dialog-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:#faedf0;color:#aa3248;font-size:23px}body[data-live="true"] .confirm-dialog-footer{display:flex;justify-content:flex-end;gap:12px;padding:20px 28px;background:#f7f9fc;border-top:1px solid #e1e6ee}

/* Teaching and reporting share the workspace card, spacing and action patterns. */
body[data-live="true"] .section-identity{display:flex;align-items:center;gap:14px;min-width:0}
body[data-live="true"] .section-icon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:12px;background:#edf2fa;color:#243f67;font-size:21px}
body[data-live="true"] .section-identity h2{margin:0}body[data-live="true"] .section-identity .panel-sub{margin-top:4px}
body[data-live="true"] .teaching-content>.panel,body[data-live="true"] .reporting-content>.panel{width:100%;max-width:none}
body[data-live="true"] .schedule-main-fields{gap:24px;align-items:start}
body[data-live="true"] .schedule-times{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:end}
body[data-live="true"] .schedule-times>span{padding-bottom:13px;color:#8793a5}
body[data-live="true"] .schedule-repeat{margin-top:28px;border:1px solid #dfe5ef;border-radius:12px;background:#fff}
body[data-live="true"] .schedule-repeat>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;padding:18px 20px;cursor:pointer;color:#243f67;font-weight:650}
body[data-live="true"] .schedule-repeat>summary::-webkit-details-marker{display:none}
body[data-live="true"] .schedule-repeat>summary>span{display:flex;align-items:center;gap:10px}
body[data-live="true"] .schedule-repeat>summary>small{font-weight:500;color:#6c7c92;margin-left:auto}
body[data-live="true"] .schedule-repeat>summary:after{content:"+";font-size:22px;line-height:1;color:#9b3248}
body[data-live="true"] .schedule-repeat[open]>summary:after{content:"−"}
body[data-live="true"] .schedule-repeat[open]>summary{border-bottom:1px solid #e6eaf1;background:#fafbfd;border-radius:12px 12px 0 0}
body[data-live="true"] .repeat-body{padding:24px 20px}
body[data-live="true"] .weekday-field{border:0;padding:0;margin:24px 0 12px;min-width:0}
body[data-live="true"] .weekday-field legend{font-size:14px;font-weight:650;color:#53627a;margin-bottom:12px;float:none;width:auto}
body[data-live="true"] .weekday-options{display:flex;flex-wrap:wrap;gap:10px}
body[data-live="true"] .weekday-options .weekday-chip{display:flex;flex:0 1 auto;align-items:center;gap:9px;padding:11px 15px;min-height:46px;margin:0;border:1px solid #dce3ed;border-radius:9px;cursor:pointer;font-weight:550;color:#52627a;background:#fff}
body[data-live="true"] .weekday-chip input{width:16px;height:16px;flex:0 0 16px;margin:0;accent-color:#aa3248}
body[data-live="true"] .weekday-options .weekday-chip:has(input:checked){background:#fbecf0;border-color:#bd5367;color:#9e2f45}
body[data-live="true"] .weekday-chip:focus-within{outline:3px solid #c6d6ee;outline-offset:2px}
body[data-live="true"] .schedule-timezone{display:flex;gap:8px;align-items:center;margin-top:20px;font-size:12px;color:#718096}
body[data-live="true"] .review-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
body[data-live="true"] .review-facts>div{min-width:0;border-left:2px solid #e8edf4;padding-left:16px}
body[data-live="true"] .review-facts small{display:block;color:#718096;margin-bottom:8px;font-size:12px}
body[data-live="true"] .review-facts strong{display:block;font-size:15px;line-height:1.6;overflow-wrap:anywhere;color:#24354c}
body[data-live="true"] .fact-note{font-size:12px;font-weight:500;color:#718096}
body[data-live="true"] .date-chip-list{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:20px;margin:0}
body[data-live="true"] .date-chip-list li{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#f5f7fb;border:1px solid #e3e8f1;border-radius:8px}
body[data-live="true"] .class-action-panel>summary{padding:20px 24px;font-weight:650;color:#9f3248;cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}
body[data-live="true"] .class-action-panel>summary::-webkit-details-marker{display:none}
body[data-live="true"] .class-action-panel[open]>summary{border-bottom:1px solid #e1e6ee}
body[data-live="true"] .class-timeline{padding-left:34px}
body[data-live="true"] .class-timeline-item{position:relative;border-left:2px solid #e4eaf3;padding:0 0 28px 26px;min-width:0}
body[data-live="true"] .class-timeline-item:last-child{padding-bottom:0}
body[data-live="true"] .timeline-dot{position:absolute;left:-6px;top:6px;width:10px;height:10px;border-radius:50%;background:#ad354d;box-shadow:0 0 0 4px #fff}
body[data-live="true"] .timeline-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}
body[data-live="true"] .timeline-heading time{font-size:12px;color:#718096}
body[data-live="true"] .class-timeline-item p{margin:8px 0;line-height:1.6}
body[data-live="true"] .audit-details{margin-top:10px;color:#718096;font-size:12px}
body[data-live="true"] .audit-details summary{cursor:pointer;color:#536b8e}
body[data-live="true"] .audit-details p{overflow-wrap:anywhere;background:#f6f8fb;border-radius:8px;padding:12px}
body[data-live="true"] .attendance-sheet-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;background:#f9fafd;border-bottom:1px solid #e5eaf2}
body[data-live="true"] .attendance-sheet-toolbar>p{font-weight:600;color:#52627a}
body[data-live="true"] .attendance-sheet-toolbar .btn{min-height:38px;padding:8px 12px;font-size:12px}
body[data-live="true"] .attendance-roster-list{padding:0 24px}
body[data-live="true"] .attendance-roster-list .teaching-roster{padding:22px 0}
body[data-live="true"] .roster-person{display:flex;align-items:center;gap:12px}
body[data-live="true"] .teaching-roster .attendance-choice{padding:10px 14px;cursor:pointer;background:#fff;min-width:100px;justify-content:center;font-size:13px}
body[data-live="true"] .attendance-choice:has(input:checked){background:#edf2fa;border-color:#506e98;color:#243f67}
body[data-live="true"] .attendance-choice:has(input[value="Present"]:checked){background:#eaf5ef;border-color:#76a68f;color:#2b6c53}
body[data-live="true"] .attendance-choice:has(input[value="Absent"]:checked){background:#fbecf0;border-color:#b94e63;color:#9e2f45}
body[data-live="true"] .attendance-finalize{display:flex;align-items:flex-start;gap:12px;padding:16px 18px;border:1px solid #e0e7f0;border-radius:10px;background:#f8fafd;margin:0;font-weight:400;cursor:pointer}
body[data-live="true"] .attendance-finalize input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0}
body[data-live="true"] .attendance-finalize strong,body[data-live="true"] .attendance-finalize small{display:block}
body[data-live="true"] .attendance-finalize small{margin-top:5px;font-size:12px;color:#718096;font-weight:400;line-height:1.6}
body[data-live="true"] .attendance-complete{display:flex;align-items:center;gap:16px;padding:8px 0}
body[data-live="true"] .attendance-complete .section-icon,body[data-live="true"] .export-success-icon{background:#e9f5ee;color:#34735b}
body[data-live="true"] .attendance-complete p{color:#718096;margin-top:6px}
body[data-live="true"] .report-filter-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
body[data-live="true"] .report-filter-panel .field label{display:block;margin-bottom:8px;font-size:12px;font-weight:650}
body[data-live="true"] .report-result-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}
body[data-live="true"] .report-result-heading h2{font-size:20px;margin-bottom:6px}
body[data-live="true"] .report-total-strip{display:flex;flex-wrap:wrap;border:1px solid #e1e6ee;border-radius:12px;background:#fff;padding:22px 0}
body[data-live="true"] .report-total-strip>div{flex:1;min-width:140px;padding:0 24px;border-right:1px solid #e5eaf2}
body[data-live="true"] .report-total-strip>div:last-child{border-right:0}
body[data-live="true"] .report-total-strip small{display:block;color:#718096;margin-bottom:8px}
body[data-live="true"] .report-total-strip strong{font-size:25px;color:#243f67;letter-spacing:-.5px;font-variant-numeric:tabular-nums}
body[data-live="true"] .report-notes{padding:14px 18px;background:#f0f4fa;border:1px solid #dce5f1;border-radius:10px;color:#667990;font-size:12px}
body[data-live="true"] .report-notes summary{font-weight:600;color:#506787;cursor:pointer}
body[data-live="true"] .report-notes p{margin-top:12px;line-height:1.7;max-width:1100px}
body[data-live="true"] .report-notes a{font-weight:600}
body[data-live="true"] .report-data-table{width:100%;border-collapse:collapse}
body[data-live="true"] .report-data-table th{background:#f7f9fc;font-size:11px;font-weight:650;padding:16px 20px}
body[data-live="true"] .report-data-table td{padding:18px 20px;vertical-align:middle;line-height:1.6}
body[data-live="true"] .report-data-table td:last-child,body[data-live="true"] .report-data-table th:last-child{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
body[data-live="true"] .report-data-table td:first-child{white-space:nowrap;color:#718096;font-size:12px}
body[data-live="true"] .report-data-table td:nth-child(2){font-size:12px}
body[data-live="true"] .report-data-table td a{font-weight:600}
body[data-live="true"] .report-data-table small{font-size:12px;margin-top:4px}
body[data-live="true"] .export-facts{grid-template-columns:1fr 1fr 2fr;margin:4px 0 24px}
body[data-live="true"] .export-summary{display:flex;gap:12px;align-items:flex-start;padding:16px 18px;background:#f3f6fb;border-radius:10px;line-height:1.7;color:#536b8b;margin-bottom:16px}
body[data-live="true"] .export-summary .bi{margin-top:4px}
body[data-live="true"] .export-selection-note{display:flex;align-items:center;gap:10px;color:#718096;font-size:12px;margin:22px 0}
body[data-live="true"] .export-panel .form-footer{margin:0}
body[data-live="true"] .dashboard-class-card{display:flex;gap:14px;padding:18px 0;border-bottom:1px solid #e7ecf3}
body[data-live="true"] .dashboard-class-card:first-child{padding-top:0}
body[data-live="true"] .dashboard-class-card:last-of-type{border-bottom:0}
body[data-live="true"] .dashboard-class-card h3{margin-bottom:7px}
body[data-live="true"] .dashboard-class-card p{font-size:12px;color:#718096;line-height:1.7;margin-top:4px}
body[data-live="true"] .reporting-content .panel-body>.help{margin-top:16px}
@media(max-width:1100px){body[data-live="true"] .review-facts,body[data-live="true"] .report-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){body[data-live="true"] .review-facts,body[data-live="true"] .export-facts,body[data-live="true"] .report-filter-grid{grid-template-columns:1fr}body[data-live="true"] .weekday-options{display:grid;grid-template-columns:repeat(2,1fr)}body[data-live="true"] .weekday-options .weekday-chip{padding:11px}body[data-live="true"] .attendance-sheet-toolbar,body[data-live="true"] .report-result-heading{align-items:flex-start;flex-direction:column}body[data-live="true"] .attendance-sheet-toolbar .actions{flex-wrap:wrap}body[data-live="true"] .timeline-heading{align-items:flex-start;flex-direction:column;gap:4px}body[data-live="true"] .report-total-strip{gap:20px}body[data-live="true"] .report-total-strip>div{border:0}body[data-live="true"] .attendance-roster-list{padding:0 16px}body[data-live="true"] .teaching-roster .attendance-choice{flex:1;min-width:0}body[data-live="true"] .report-data-table td:last-child,body[data-live="true"] .report-data-table th:last-child{text-align:left}}

body[data-live="true"] .schedule-times>div{display:flex;flex-direction:column;gap:8px;min-width:0}body[data-live="true"] .schedule-times>div label{margin:0}

/* Keep checkboxes simple, with no card or colored background behind labels. */
body[data-live="true"] .weekday-options .weekday-chip,body[data-live="true"] .weekday-options .weekday-chip:has(input:checked){border:0;border-radius:0;background:transparent;padding:8px 4px;box-shadow:none}
body[data-live="true"] .weekday-options{gap:10px 24px}
body[data-live="true"] .weekday-options .weekday-chip:has(input:checked){color:#9e2f45;font-weight:650}
body[data-live="true"] .attendance-finalize{background:transparent;border:0;border-radius:0;padding:0;box-shadow:none}
body[data-live="true"] .fee-table td[data-label="Action"] .actions{flex-wrap:nowrap;align-items:center;gap:12px}
body[data-live="true"] .fee-menu-trigger{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:9px 12px;background:#fff;color:#243f67;border:1px solid #dce3ed;border-radius:8px;font-weight:600;font-size:13px;white-space:nowrap}
body[data-live="true"] .fee-menu-trigger .bi{font-size:10px}
body[data-live="true"] .fee-menu-trigger:hover{background:#f5f7fb}
body[data-live="true"] .fee-row-menu{position:fixed;inset:auto;margin:0;padding:6px;width:max-content;min-width:200px;max-width:calc(100vw - 24px);border:1px solid #dce3ed;border-radius:10px;background:#fff;color:#243f67;box-shadow:0 10px 28px #203d6626}
body[data-live="true"] .fee-row-menu:popover-open{display:grid;gap:2px}
body[data-live="true"] .fee-row-menu::backdrop{background:transparent}
body[data-live="true"] .fee-row-menu a{display:block;padding:11px 13px;border-radius:6px;font-size:13px;font-weight:600;white-space:nowrap}
body[data-live="true"] .fee-row-menu a:hover,body[data-live="true"] .fee-row-menu a:focus-visible{background:#f8edf0;color:#aa3248}
body[data-live="true"] .stat-value[data-count-up]{font-variant-numeric:tabular-nums}
@media(max-width:640px){body[data-live="true"] .weekday-options{gap:4px 16px}body[data-live="true"] .fee-table td[data-label="Action"] .actions{flex-wrap:wrap}}
body[data-live="true"] .enrollment-form label.enrollment-option{padding:4px 0;background:transparent;border:0;border-radius:0;box-shadow:none}

/* Consistent plain checkbox controls and compact operational screens. */
body[data-live="true"] .checkbox-line{display:flex;align-items:flex-start;gap:10px;margin:20px 0;line-height:1.5;font-size:14px;cursor:pointer;background:transparent;border:0;padding:0}
body[data-live="true"] .checkbox-line input[type="checkbox"]{appearance:auto;flex:0 0 18px;width:18px;height:18px;min-height:0;margin:2px 0 0;accent-color:#ad3349;cursor:pointer;box-shadow:none}
.checkbox-line small{display:block;color:#718096;font-size:13px;margin-top:3px;font-weight:400}
.attendance-finalized-note{display:flex;align-items:center;gap:9px;padding:18px 24px;color:#39745e;background:transparent;font-size:14px}
.attendance-finalized-list .teaching-roster{padding:16px 24px;min-height:0}
body[data-live="true"] .teaching-agenda .schedule-card{padding:20px;margin:12px 0 0;background:#fff}
.schedule-card-heading,.schedule-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.schedule-card-heading>a{font-size:17px;font-weight:700}
body[data-live="true"] .teaching-agenda .schedule-course{color:#718096;margin:8px 0 16px}
body[data-live="true"] .teaching-agenda .schedule-time{display:flex;gap:8px;align-items:center;font-weight:500}
.schedule-card-footer{border-top:1px solid #e6ebf2;margin-top:16px;padding-top:14px;font-size:13px;color:#718096}
.preference-recipient>.field{max-width:620px}
.preference-section{padding:24px;border-top:1px solid #e6ebf2}
.preference-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px;flex-wrap:wrap}
.preference-heading h3{font-size:16px;margin:0}
body[data-live="true"] .preference-heading .checkbox-line{margin:0}
.preference-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.preference-fields [hidden]{display:none!important}
.smtp-provider .field-grid{gap:22px}
.smtp-save{display:flex;justify-content:flex-end;padding-top:20px;border-top:1px solid #e6ebf2;margin-top:22px}
.smtp-status{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:22px 0}
.smtp-status dt{font-size:13px;color:#718096;font-weight:500;margin-bottom:8px}
.smtp-status dd{font-size:17px;font-weight:650;margin:0}
.smtp-empty{text-align:center;padding:22px;color:#718096}
.smtp-empty>i{font-size:24px}.smtp-empty h3{font-size:16px;margin-top:12px;color:#253449}
@media(max-width:700px){.preference-fields,.smtp-status{grid-template-columns:1fr}.preference-section{padding:20px 16px}.attendance-finalized-note{padding:16px}.schedule-card-footer .btn{width:100%}}
.smtp-advanced{margin:24px 0;border-top:1px solid #e6ebf2;padding-top:20px}.smtp-advanced summary{font-weight:650;color:#29476e;cursor:pointer;margin-bottom:18px}.smtp-provider .panel-body>form>.field-grid{margin-bottom:22px}

body[data-live="true"] .fee-table a.fee-collect-button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:9px 14px;background:var(--brand-red);border:1px solid var(--brand-red);border-radius:8px;color:#fff;font-size:13px;font-weight:650;white-space:nowrap;text-decoration:none}
body[data-live="true"] .fee-table a.fee-collect-button:hover{filter:brightness(.93);color:#fff}

/* Action links share a real button shape across operational tables. */
body[data-live="true"] .data-table .table-action,
body[data-live="true"] .data-table td[data-label="Action"] > a:not(.btn),
body[data-live="true"] .data-table td[data-label="Actions"] > a:not(.btn),
body[data-live="true"] .data-table td[data-label="Action"] > .actions > a:not(.btn),
body[data-live="true"] .data-table td[data-label="Actions"] > .actions > a:not(.btn){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:9px 14px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--navy);font-size:13px;font-weight:650;line-height:1.4;white-space:nowrap;text-decoration:none;vertical-align:middle}
body[data-live="true"] .data-table .table-action:hover{background:var(--soft);border-color:var(--navy)}
body[data-live="true"] .data-table td[data-label="Action"] .actions,
body[data-live="true"] .data-table td[data-label="Actions"] .actions{gap:10px;align-items:center;flex-wrap:wrap}

/* One centered disclosure chevron, independent of font baselines. */
body[data-live="true"] summary{list-style:none;display:flex;align-items:center;gap:10px;cursor:pointer}
body[data-live="true"] summary::-webkit-details-marker{display:none}
body[data-live="true"] summary::marker{content:""}
body[data-live="true"] details>summary::after,
body[data-live="true"] .fee-navigation .fee-tools summary::after,
body[data-live="true"] .schedule-repeat>summary::after,
body[data-live="true"] .schedule-repeat[open]>summary::after,
body[data-live="true"] .fee-menu-trigger .bi-chevron-down{content:"";display:inline-block;flex:0 0 16px;width:16px;height:16px;font-size:16px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;transform:none;vertical-align:middle}
body[data-live="true"] details[open]>summary::after{transform:rotate(180deg)}
body[data-live="true"] .fee-menu-trigger .bi-chevron-down::before{content:none}
body[data-live="true"] .inline-catalog>summary .inline-expand-icon{display:none}
body[data-live="true"] .btn>.bi{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;line-height:1}
body[data-live="true"] .btn>.bi::before{display:block;line-height:1}
/* Persistent outlined labels sit in the control border, including filled values. */
body[data-live="true"] .field:has(> :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea)){position:relative;margin-top:9px;gap:0}
body[data-live="true"] .field:has(> :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea))>label{position:absolute;z-index:1;top:0;left:12px;transform:translateY(-50%);display:block;width:auto;max-width:calc(100% - 28px);margin:0;padding:0 6px;background:#fff;font-size:12px;line-height:1.25;font-weight:600;color:var(--muted);pointer-events:auto}
body[data-live="true"] .field:focus-within>label{color:var(--navy)}
body[data-live="true"] .field> :is(input.form-control,select.form-select,textarea.form-control){margin-top:0;min-height:48px;padding-top:13px;padding-bottom:11px}
body[data-live="true"] .field> :is(small,.help){margin-top:8px}
body[data-live="true"] .field:has(> input:disabled)>label,body[data-live="true"] .field:has(> select:disabled)>label{background:var(--surface)}
