@font-face{font-family:Fallback;src:local('Avenir Next')}*{box-sizing:border-box}html{font-size:15px}body{margin:0;background:#f7f6ef;color:#283e36;font-family:Fallback,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button:focus-visible,a:focus-visible{outline:3px solid #b88244;outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #809b7b;outline-offset:2px}a{color:inherit}h1,h2,h3,p{margin-top:0}h1,h2,.serif{font-family:Georgia,'Times New Roman',serif;font-weight:400}h1{font-size:42px;line-height:1.2;letter-spacing:-1.3px;margin-bottom:12px}h2{font-size:27px;letter-spacing:-.5px}h3{font-size:16px;font-weight:600}p{line-height:1.7}.muted{color:#66756a}.small{font-size:12px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;color:#64776a;text-transform:uppercase}.layout{display:flex;min-height:100vh}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;padding:35px 22px 22px;background:#edf0e6;border-right:1px solid #dce1d4;display:flex;flex-direction:column;z-index:20}.brand{display:flex;align-items:center;gap:10px;font-family:Georgia,serif;font-size:26px;letter-spacing:-.8px;text-decoration:none;margin:0 10px 42px}.brand img{width:37px;height:37px}.workspace-label{padding:0 14px;margin-bottom:12px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{display:flex;gap:13px;align-items:center;border:0;background:transparent;color:#66756a;padding:14px 16px;text-align:left;border-radius:11px;font-size:14px;font-weight:500}.nav button.active{background:#dce4d3;color:#2c5142}.nav button:hover{background:#e0e7d9}.icon{width:19px;height:19px;vertical-align:middle;flex-shrink:0}.sidebar-bottom{margin-top:auto}.sidebar-note{border-top:1px solid #d9dfd0;margin:28px 12px 20px;padding-top:24px}.sidebar-note .sprout{color:#63845e;margin-bottom:12px}.sidebar-note p{font-family:Georgia,serif;font-size:18px;line-height:1.5;color:#64775b;margin-bottom:0}.profile{display:flex;align-items:center;gap:10px;border:1px solid #dce1d4;border-radius:12px;padding:12px}.avatar{width:35px;height:35px;background:#e6d6bf;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700;color:#705b43;flex-shrink:0}.profile strong{display:block;font-size:12px;max-width:120px;overflow:hidden;text-overflow:ellipsis}.profile span.small{color:#71816c}.main{margin-left:238px;width:calc(100% - 238px);padding:0 48px 44px;max-width:1700px}.topbar{height:95px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #e3e5db}.topbar-left{font-size:13px;color:#758170;display:flex;align-items:center;gap:9px}.topbar-right{display:flex;align-items:center;gap:16px}.year-tag{font-size:12px;display:flex;gap:7px;align-items:center}.save-status{display:flex;gap:7px;align-items:center;font-size:11px;color:#687d66}.save-status.warn{color:#94623a}.dot{width:6px;height:6px;background:#71966b;border-radius:50%}.warn .dot{background:#be8b4b}.topbar select{max-width:180px;background:#fffef9;border:1px solid #dfe4d7;padding:10px 34px 10px 12px;border-radius:9px;color:#354d3e;font-size:12px}.mobile-brand{display:none}.demo-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f0ecde;border:1px solid #e4ddc9;border-radius:9px;padding:10px 15px;font-size:11px;color:#796c50;margin-top:22px}.demo-bar button{border:0;background:transparent;color:#476349;font-size:11px;text-decoration:underline;font-weight:600;padding:4px;white-space:nowrap}.page-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:35px 0 27px}.page-intro .eyebrow{margin-bottom:10px}.page-intro p{margin-bottom:0;font-size:13px;color:#74806d}.btn{border:1px solid #d5ddce;background:#fffef9;padding:12px 18px;border-radius:9px;display:inline-flex;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#365441;text-decoration:none;min-height:44px;white-space:nowrap}.btn:hover{background:#ecf0e4}.btn.primary{background:#315d4f;color:#fffef6;border-color:#315d4f;box-shadow:0 3px 7px #315d4f14}.btn.primary:hover{background:#244e40}.btn.soft{background:#e9eedd;border-color:#e9eedd}.btn.danger{color:#9c4d3f;border-color:#e6cac4}.btn .icon{width:16px;height:16px}.btn.link{border:0;background:transparent;padding:5px 0;min-height:32px;color:#54734f}.hero{border-radius:15px;background:#e9eddb;min-height:174px;padding:28px 31px;display:flex;align-items:center;justify-content:space-between;position:relative;overflow:hidden;border:1px solid #dce3cd}.hero h2{font-size:28px;max-width:470px;margin:9px 0 10px}.hero p{font-size:12px;max-width:380px;margin-bottom:0;color:#68785b}.hero-art{position:relative;width:225px;min-width:160px;height:137px;margin-right:10px}.hero-art svg{width:100%;height:100%}.hero .tiny-pill{display:inline-flex;gap:6px;font-size:10px;padding:5px 8px;border:1px solid #cdd8bc;border-radius:20px;color:#59704b;align-items:center}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:22px 0 33px}.stat{border:1px solid #e1e4d8;background:#fffef9;border-radius:12px;padding:20px 22px;display:flex;align-items:center;justify-content:space-between;gap:8px}.stat-label{font-size:11px;color:#74816b;display:block;margin-bottom:10px}.stat-value{font-family:Georgia,serif;font-size:31px;letter-spacing:-1px;line-height:1.1}.stat-value small{font-family:Fallback,sans-serif;font-size:12px;letter-spacing:0;color:#829076;margin-left:3px}.stat-icon{height:41px;width:41px;border-radius:50%;display:grid;place-items:center;background:#edf1e3;color:#7c9369}.stat:nth-child(2) .stat-icon{background:#f4ece0;color:#b89160}.stat:nth-child(3) .stat-icon{background:#e9eee9;color:#7e9986}.section-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:28px 0 17px}.section-head h2{margin:0;font-size:24px}.section-head .eyebrow{margin-bottom:7px}.section-head p{margin:5px 0 0;font-size:12px;color:#788570}.section-head .btn{font-size:11px;min-height:34px}.course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.course-card{background:#fffef9;border:1px solid #e1e5d8;border-radius:13px;padding:22px 24px}.course-card-top{display:flex;align-items:center;gap:12px;margin-bottom:20px}.course-icon{border-radius:10px;width:41px;height:41px;display:grid;place-items:center}.tone-sage{background:#e9eedc;color:#728a4c}.tone-clay{background:#f6e9df;color:#ad8163}.tone-lilac{background:#edebf4;color:#8e83a4}.tone-blue{background:#e9eff1;color:#789398}.course-card h3{font-size:15px;margin:0 0 4px;font-weight:600}.course-card .category{font-size:10px;color:#88917c}.course-card .more{margin-left:auto;color:#94a186}.course-card .hours-line{font-size:13px;display:flex;justify-content:space-between;margin-bottom:11px;align-items:baseline}.hours-line strong{font-family:Georgia,serif;font-size:25px;font-weight:400;letter-spacing:-.5px}.hours-line span{font-size:11px;color:#84917a}.progress-track{height:6px;border-radius:20px;background:#eef0e6;overflow:hidden}.progress-fill{height:100%;border-radius:20px;background:#96ac76;max-width:100%}.progress-fill.clay{background:#d5ad8b}.progress-fill.lilac{background:#b4a5c8}.progress-fill.blue{background:#98b2b6}.course-card-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:15px;font-size:10px;color:#7f8b73}.mini-add{border:1px solid #dfe5d6;padding:5px 10px;border-radius:7px;background:transparent;color:#5b7653;font-size:10px;min-height:31px;display:flex;gap:5px;align-items:center}.mini-add .icon{width:13px;height:13px}.lower-grid{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:22px;margin-top:9px}.activity-list{background:#fffef9;border:1px solid #e2e5da;border-radius:13px;overflow:hidden}.activity-row{display:flex;align-items:center;gap:13px;padding:17px 20px;border-bottom:1px solid #edf0e6}.activity-row:last-child{border-bottom:0}.date-tile{background:#f0f1e8;border-radius:8px;min-width:40px;min-height:43px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#78886d;font-size:9px;text-transform:uppercase;gap:1px}.date-tile strong{font-size:16px;color:#53694c;font-weight:500}.activity-info{min-width:0;flex:1}.activity-info strong{font-size:12px;display:block;font-weight:500}.activity-info small{font-size:10px;color:#88927e;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;margin-top:4px}.activity-duration{font-size:12px;font-weight:500;color:#58764f;white-space:nowrap}.activity-row button{border:0;background:transparent;color:#829477;padding:9px;border-radius:8px}.activity-row button:hover{background:#eef1e5}.teacher-note{background:#f2ecdf;border:1px solid #e8e0d0;border-radius:13px;padding:24px;margin-top:63px}.teacher-note .icon{color:#a88a60;width:28px;height:28px;margin-bottom:15px}.teacher-note h3{font-family:Georgia,serif;font-size:20px;font-weight:400;margin-bottom:10px}.teacher-note p{font-size:11px;color:#8b7c63;line-height:1.8;margin-bottom:15px}.teacher-note .btn{background:#fbf7ed;border-color:#ded4c2;width:100%;font-size:11px;color:#7f6a4c}.footer{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:35px;color:#98a18c;font-size:10px}.panel{background:#fffef9;border:1px solid #dfe4d6;border-radius:14px;padding:25px;margin-bottom:20px}.panel h2{font-size:24px;margin-bottom:8px}.panel p{font-size:13px;color:#77836b}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px;min-width:0}.field label{font-size:12px;font-weight:600;color:#4d654c}.field input,.field select,.field textarea{border:1px solid #d7dfcd;border-radius:8px;padding:12px;background:#fffefa;color:#334f3d;min-width:0;width:100%;min-height:45px}.field textarea{min-height:90px;resize:vertical}.field small{font-size:10px;color:#819075;line-height:1.7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.form-grid .field{margin-bottom:2px}.full{grid-column:1/-1}.actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:22px}.modal-shade{position:fixed;inset:0;background:#253c3455;backdrop-filter:blur(3px);z-index:99;display:flex;align-items:center;justify-content:center;padding:22px}.modal{background:#fafaf3;border:1px solid #dce3ce;width:520px;max-width:100%;border-radius:18px;padding:28px;box-shadow:0 24px 90px #1e362530;max-height:90dvh;overflow:auto}.modal h2{font-size:29px;margin:0 0 9px;padding-right:28px}.modal>p{font-size:12px;color:#78876c}.modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.close{border:0;background:transparent;font-size:24px;color:#7a8c70;padding:0 4px;line-height:1.2;min-width:32px;min-height:32px}.form-error{font-size:12px;color:#a25442;line-height:1.7;min-height:0;margin-top:14px}.form-error:empty{display:none}.callout{padding:14px 17px;background:#eef0e3;border-radius:9px;font-size:12px;line-height:1.8;color:#6c7d5f;margin:15px 0}.callout.warning{background:#f4e9dc;color:#997343}.empty{text-align:center;border:1px dashed #ccd7bf;border-radius:13px;padding:38px 22px;color:#7b8b6d;background:#f4f5eb}.empty .icon{width:30px;height:30px;margin-bottom:12px}.empty h3{font-family:Georgia,serif;font-size:23px;color:#4a6544;font-weight:400;margin-bottom:10px}.empty p{font-size:12px}.filters{display:flex;align-items:end;gap:12px;margin-bottom:20px;flex-wrap:wrap}.filters .field{flex:1;min-width:125px;margin:0}.filters .field label{font-size:11px}.table-wrap{overflow:auto;background:#fffef9;border:1px solid #e0e5d5;border-radius:12px}table{width:100%;border-collapse:collapse;font-size:12px;text-align:left}th{font-size:10px;letter-spacing:.6px;color:#7f8e71;font-weight:600;background:#f0f2e7;padding:14px 17px}td{padding:16px 17px;border-top:1px solid #edf0e4;vertical-align:top}td .small{display:block;font-size:10px;color:#89947c;margin-top:4px}td .btn{padding:7px 10px;font-size:10px;min-height:30px}td.notes{max-width:260px;word-break:break-word;line-height:1.6}.pill{display:inline-block;padding:4px 8px;font-size:10px;background:#edf0df;border-radius:20px;color:#718257;white-space:nowrap}.pill.peach{background:#f5e9dd;color:#a0825b}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:23px}.report-preview{background:#fffef9;padding:30px;border:1px solid #e0e3d7;border-radius:12px}.report-preview h3{font-family:Georgia,serif;font-size:21px;font-weight:400}.report-total{display:flex;justify-content:space-between;border-bottom:1px solid #e6e9dc;padding:12px 0;font-size:12px}.report-total strong{font-weight:500}.report-heading{display:flex;justify-content:space-between;gap:15px}.checkbox{display:flex;gap:10px;align-items:center;font-size:12px;margin:18px 0}.checkbox input{width:17px;height:17px;accent-color:#426647}.student-card{display:flex;align-items:center;gap:15px;padding:19px 0;border-top:1px solid #e5e8da;flex-wrap:wrap}.student-card .avatar{width:44px;height:44px}.student-card h3{margin:0 0 5px}.student-card .btn{margin-left:auto;font-size:11px}.student-card p{font-size:11px;margin:0}.button-row{display:flex;gap:10px;flex-wrap:wrap}.detail-list{font-size:12px;line-height:1.8}.detail-list dt{color:#849377;margin-top:14px}.detail-list dd{margin:4px 0;overflow-wrap:anywhere}.history-event{padding:12px 0;border-top:1px solid #e2e8d6;font-size:12px;line-height:1.7}.history-event small{display:block;color:#869279}#toast{position:fixed;bottom:26px;left:calc(50% + 100px);transform:translateX(-50%) translateY(25px);background:#315d4f;color:#fffdf3;padding:13px 20px;border-radius:11px;font-size:12px;box-shadow:0 5px 22px #27473830;opacity:0;pointer-events:none;transition:.2s;z-index:200;max-width:calc(100% - 28px);text-align:center}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.boot{padding:80px;text-align:center;color:#7f8e6c}.brand-mark{font-size:50px}.onboarding{max-width:560px;margin:45px auto}.onboarding h1{font-size:37px}.online-hint{font-size:10px;color:#8b967b;line-height:1.8}.sync-issue{background:#f5e6d7;border:1px solid #e5c9a9;border-radius:10px;padding:14px 17px;margin-top:15px;font-size:12px;color:#94683c}.sync-issue button{margin-top:8px}.report-paper{color:#24382e;background:white;padding:35px;max-width:850px;margin:auto}.report-paper h1{font-size:30px}.report-paper table{font-size:11px}.report-paper .report-meta{font-size:12px;line-height:1.9}.report-paper td,.report-paper th{padding:9px;border:1px solid #d9dfd5}.report-paper .signature{margin-top:35px;font-size:12px;border-top:1px solid #aaa;padding-top:8px;width:260px}.print-only{display:none}.install-button{margin-top:12px;width:100%}.inline-link{background:none;border:0;text-decoration:underline;color:#557749;font-size:inherit;cursor:pointer}.invite-link{font-size:11px;word-break:break-all;background:#eff1e5;border:1px solid #dce3d1;border-radius:8px;padding:12px;display:block}.demo-student-cta{margin-top:14px;font-size:11px;color:#8c997d}
@media(min-width:1450px){.main{padding-left:65px;padding-right:65px}.hero-art{width:250px}.course-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.course-card{padding:22px 18px}.course-card-top{gap:8px}.course-card h3{font-size:13px}}
@media(max-width:1150px){.main{padding-left:28px;padding-right:28px}.sidebar{width:210px;padding-left:15px;padding-right:15px}.main{margin-left:210px;width:calc(100% - 210px)}.brand{font-size:23px}.lower-grid{grid-template-columns:minmax(0,1fr) 230px}.hero-art{width:175px}.year-tag{display:none}.topbar-right{gap:10px}.stat{padding:18px 15px}.stat-icon{width:33px;height:33px}.report-grid{grid-template-columns:1fr}.teacher-note{padding:20px}}
@media(max-width:850px){.sidebar{width:185px;padding-left:10px;padding-right:10px}.main{margin-left:185px;width:calc(100% - 185px);padding:0 22px 30px}.brand{font-size:21px;margin-left:6px;gap:7px}.brand img{width:30px;height:30px}.nav button{padding:13px 12px;font-size:12px}.topbar-left{display:none}.topbar{justify-content:flex-end}.hero-art{display:none}.hero{padding:26px}.lower-grid{grid-template-columns:1fr}.teacher-note{margin-top:0;display:flex;align-items:center;gap:15px}.teacher-note>.icon{display:none}.teacher-note h3{font-size:19px;margin-bottom:6px}.teacher-note p{margin-bottom:0}.teacher-note .btn{width:auto;flex-shrink:0}.stats{gap:9px}.stat{padding:16px 12px}.stat-icon{display:none}.stat-value{font-size:27px}.page-intro{align-items:flex-end}h1{font-size:35px}.page-intro p{font-size:12px}.course-card{padding:20px 17px}.course-card h3{font-size:13px}.profile{padding:9px}.sidebar-note{margin-left:10px;margin-right:10px}.sidebar-note p{font-size:17px}}
@media(max-width:620px){.sidebar{width:100%;height:70px;inset:auto 0 0;border-right:0;border-top:1px solid #d8dfcd;padding:4px 10px calc(4px + env(safe-area-inset-bottom));background:#f5f6eced;backdrop-filter:blur(15px);height:calc(70px + env(safe-area-inset-bottom))}.sidebar .brand,.sidebar .workspace-label,.sidebar-bottom{display:none}.nav{flex-direction:row;gap:0;justify-content:space-around;height:100%}.nav button{flex-direction:column;justify-content:center;gap:5px;font-size:9px;padding:7px 12px;flex:1;border-radius:8px;min-width:0}.nav button.active{background:#e7ecdc}.nav .icon{width:20px;height:20px}.main{margin:0;width:100%;padding:0 20px 105px}.mobile-brand{display:flex;font-family:Georgia,serif;font-size:22px;align-items:center;gap:8px}.mobile-brand img{width:30px;height:30px}.topbar{height:77px;justify-content:space-between}.topbar-right{gap:8px;flex-direction:column-reverse;align-items:flex-end}.topbar select{max-width:144px;font-size:11px;padding:7px 22px 7px 9px;min-height:33px}.save-status{font-size:9px}.demo-bar{margin-top:16px;padding:9px 11px;line-height:1.5;font-size:10px;gap:9px}.demo-bar button{font-size:10px;white-space:normal;min-width:85px}.page-intro{margin:28px 0 24px;gap:8px;align-items:flex-start;flex-wrap:wrap}.page-intro h1{font-size:33px;letter-spacing:-1px;margin-bottom:9px}.page-intro .eyebrow{font-size:9px}.page-intro p{font-size:11px}.page-intro>.btn{padding:10px 12px;font-size:11px;min-height:42px;margin-top:15px}.hero{min-height:155px;padding:23px}.hero h2{font-size:25px;margin:10px 0}.hero p{font-size:11px;line-height:1.7}.hero .tiny-pill{font-size:9px}.stats{gap:9px;margin:15px 0 29px}.stat{padding:15px 10px;border-radius:10px}.stat-label{font-size:9px;line-height:1.5;margin-bottom:6px}.stat-value{font-size:25px}.stat-value small{font-size:9px}.section-head{margin-top:24px}.section-head h2{font-size:24px}.section-head p{font-size:10px}.section-head .btn{font-size:10px}.course-grid{gap:12px}.course-card{padding:17px 14px}.course-card-top{gap:9px;margin-bottom:18px;align-items:flex-start;flex-direction:column}.course-card h3{font-size:12px;line-height:1.5}.course-card .category{font-size:9px}.course-icon{width:33px;height:33px;border-radius:8px}.course-icon .icon{width:16px;height:16px}.course-card .hours-line{align-items:baseline;flex-wrap:wrap;gap:5px}.hours-line strong{font-size:24px}.hours-line span{font-size:9px}.course-card-bottom{flex-direction:column;align-items:flex-start;gap:12px;font-size:9px}.mini-add{width:100%;justify-content:center;min-height:35px;font-size:10px}.activity-row{padding:14px;gap:10px}.activity-info strong{font-size:11px}.activity-duration{font-size:11px}.date-tile{min-width:36px}.teacher-note{padding:20px;flex-direction:column;align-items:flex-start;gap:13px}.teacher-note .btn{width:100%}.footer{font-size:9px;line-height:1.6;text-align:center}.modal-shade{padding:12px;align-items:flex-end}.modal{border-radius:18px;padding:23px;max-height:91dvh;width:100%;margin-bottom:env(safe-area-inset-bottom)}.modal h2{font-size:28px}.form-grid{gap:13px}.field input,.field select,.field textarea{font-size:16px;padding:11px}.form-grid .field label{font-size:11px}.actions .btn{flex:1;padding:12px 10px}.panel{padding:21px}.report-preview{padding:23px}.filters{gap:10px}.filters .field{min-width:110px}.table-wrap{margin:0 -3px}.report-grid{gap:15px}.student-card .btn{margin-left:59px}.student-card p{font-size:10px}.panel h2{font-size:25px}.detail-list{font-size:11px}#toast{left:50%;bottom:90px}.onboarding{margin-top:28px}.page-intro .button-row{width:100%;margin-top:14px}.full-mobile{width:100%}td.notes{min-width:150px}.callout{font-size:11px}.hero .eyebrow{font-size:9px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media print{body{background:white}.layout,#modal-root,#toast{display:none!important}.print-only{display:block}.report-paper{padding:0;max-width:none}.report-paper h1{font-size:27px}.report-paper table{font-size:9px}tr{break-inside:avoid}thead{display:table-header-group}@page{size:auto;margin:16mm}.report-paper .signature{break-inside:avoid}}
.brand{white-space:nowrap;font-size:24px}.brand img{width:32px;height:32px}.topbar-right #year-select{max-width:160px}@media(max-width:1150px){.brand{font-size:22px;gap:7px}.brand img{width:30px;height:30px}.topbar-right{gap:8px}}@media(max-width:850px){.brand{font-size:20px}.brand img{width:27px;height:27px}.topbar-right #year-select{max-width:145px}}@media(max-width:620px){.topbar-right{display:grid;grid-template-columns:1fr;gap:4px}.topbar-right #year-select{font-size:10px;padding:2px 8px;border:0;background:transparent;min-height:22px;max-width:145px;grid-row:3}.topbar-right #save-status{grid-row:2}.topbar-right #student-select{grid-row:1}.topbar{min-height:96px}}
@media(max-width:620px){.page-intro>.btn{width:100%;min-height:50px;font-size:14px;margin-top:12px}.page-intro{margin-bottom:20px}.page-intro h1{font-size:31px}.hero{min-height:135px;padding:21px}.hero h2{font-size:24px}.hero p{font-size:12px}.course-card h3{font-size:14px;line-height:1.5}.course-card .category{font-size:10px}.course-card .hours-line span{font-size:10px}.course-card .mini-add{min-height:44px;font-size:12px}.course-card-bottom{font-size:10px}.nav button{font-size:10px;padding:7px 5px}.nav .icon{width:22px;height:22px}.stat-label{font-size:10px}.activity-info strong{font-size:12px}.activity-info small{font-size:11px}.activity-row button{min-width:44px;min-height:44px}.course-card-top{min-height:97px}.course-card-bottom>span{min-height:26px}.mini-add .icon{width:16px;height:16px}.inline-link .icon{height:14px;width:14px}.inline-link{min-width:34px;min-height:34px}.demo-bar{font-size:11px}.demo-bar button{font-size:11px}}
@media(max-width:620px){.hero{min-height:0;padding:18px 20px}.hero .tiny-pill{display:none}.hero h2{font-size:22px;margin:0 0 8px}.hero p{font-size:11px;line-height:1.6}.stats{margin-bottom:24px}.stat{padding-top:14px;padding-bottom:14px}}
.auth-shell{max-width:540px;margin:36px auto;padding:0 20px 40px}.auth-brand{display:flex;align-items:center;justify-content:center;gap:10px;margin:25px auto 30px;font:28px Georgia,serif;text-decoration:none}.auth-brand img{width:43px;height:43px}.auth-card{padding:30px}.auth-card h1{font-size:34px;line-height:1.25}.auth-card>p{font-size:13px}.auth-card .field input{font-size:16px}.auth-card .button-row{justify-content:space-between}.auth-card .button-row .btn{white-space:normal}.auth-card form>.btn{width:100%;margin-top:5px}.footer{flex-wrap:wrap}.settings-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.settings-actions .btn{white-space:normal}.student-access{padding:12px 0;border-top:1px solid #e3e8d8;font-size:12px}.student-access .btn{font-size:11px;min-height:38px}.footer a{padding:8px 3px}.update-notice{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 16px;background:#e7eedb;border:1px solid #d5dfc7;border-radius:10px;font-size:12px;margin-top:18px}@media(max-width:620px){.auth-shell{margin:20px auto}.auth-card{padding:24px}.auth-card h1{font-size:31px}.settings-actions .btn{flex:1 1 120px}.student-card .settings-actions{width:100%;margin-left:0}.update-notice{font-size:11px}.update-notice .btn{padding:10px}.footer{margin-top:24px;gap:4px}}

.course-name-button{display:flex;align-items:center;gap:7px;min-height:44px;margin:0 0 12px;padding:9px 12px;border:1px solid #dce3d3;border-radius:8px;background:#f0f3e9;color:#365441;font-size:12px;font-weight:600;text-align:left}.course-name-button:hover{background:#e5ebdc}.course-name-button .icon{width:15px;height:15px}#class-name-preview{overflow-wrap:anywhere}

/* Keep the page centered in the space left by the fixed navigation. */
.layout{--sidebar-width:238px;padding-left:var(--sidebar-width)}
.main{margin-inline:auto;width:100%;min-width:0}
.topbar{height:auto;min-height:96px;padding-block:18px;flex-wrap:wrap;column-gap:24px;row-gap:14px}
.topbar-right{max-width:100%;margin-left:auto;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.topbar .save-status{flex-shrink:0;white-space:nowrap;line-height:1.35}
.topbar select,.topbar-right #year-select,.topbar-right #student-select{
  -webkit-appearance:none;appearance:none;
  min-height:44px;padding:11px 42px 11px 14px;
  border:1px solid #dfe4d7;border-radius:9px;background-color:#fffef9;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12'%3E%3Cpath d='m3 4 4 4 4-4' fill='none' stroke='%235d7565' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;background-size:14px 12px;
  color:#354d3e;font-size:12px;line-height:1.35;text-overflow:ellipsis;vertical-align:middle
}
.topbar-right #year-select{width:180px;max-width:180px}
.topbar-right #student-select{width:210px;max-width:240px}
@media(max-width:1150px){.layout{--sidebar-width:210px}}
@media(min-width:621px) and (max-width:850px){
  .layout{--sidebar-width:185px}
  .topbar-right{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:10px 12px}
  .topbar-right #year-select{grid-column:1;grid-row:1;width:100%;max-width:none}
  .topbar-right #student-select{grid-column:2;grid-row:1;width:100%;max-width:none}
  .topbar-right #save-status{grid-column:1/-1;grid-row:2;justify-self:end}
}
@media(max-width:620px){
  .layout{--sidebar-width:0px}
  .topbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-height:0;padding-block:16px;align-items:center}
  .mobile-brand{grid-column:1;grid-row:1;white-space:nowrap;font-size:21px;gap:7px}
  .mobile-brand img{width:28px;height:28px}
  .topbar-right{display:contents}
  .topbar-right #save-status{grid-column:2;grid-row:1;justify-self:end;font-size:10px}
  .topbar-right #year-select{grid-column:1;grid-row:2;width:100%;max-width:none}
  .topbar-right #student-select{grid-column:2;grid-row:2;width:100%;max-width:none}
}
@media(max-width:380px){.mobile-brand{font-size:19px;gap:6px}.mobile-brand img{width:26px;height:26px}}

/* Phone forms and activity records keep one readable column. */
@media(max-width:620px){
  .main{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
  .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .field{min-width:0;max-width:100%;gap:8px}
  .field label{line-height:1.4;min-height:1.4em}
  .field input:not([type=checkbox]),.field select{
    display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;
    height:48px;min-height:48px;padding:11px 12px;font-size:16px;line-height:24px
  }
  .field input[type=date]{
    -webkit-appearance:none;appearance:none;inline-size:100%;min-inline-size:0;max-inline-size:100%;text-align:left
  }
  .field input[type=date]::-webkit-date-and-time-value{min-width:0;text-align:left;margin:0;padding:0}
  .field input[type=date]::-webkit-datetime-edit{min-width:0;padding:0;line-height:24px}
  .field input[type=date]::-webkit-calendar-picker-indicator{flex-shrink:0;margin:0;padding:0}
  .field select{
    -webkit-appearance:none;appearance:none;padding-right:42px;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12' viewBox='0 0 14 12'%3E%3Cpath d='m3 4 4 4 4-4' fill='none' stroke='%235d7565' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:no-repeat;background-position:right 14px center;background-size:14px 12px
  }
  .field textarea{max-width:100%;min-height:104px;line-height:1.5}
  #filter-form.filters{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch;gap:14px}
  #filter-form.filters .field{min-width:0;width:100%;margin:0}
  .filter-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .filter-actions .btn{width:100%;min-height:48px;margin:0;white-space:normal}
  .filter-actions .btn.link{border:1px solid #d5ddce;background:#fffef9;padding:12px}
  #filter-form + .section-head{flex-wrap:wrap;align-items:center;gap:8px}
  #filter-form + .section-head .small{line-height:1.5;overflow-wrap:anywhere}
  #filter-form + .section-head .btn{min-height:44px;font-size:12px;white-space:normal}
  #report-form .form-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  #report-form .form-grid .field{margin:0}
  #report-form > .button-row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
  #report-form > .button-row .btn{width:100%;min-height:48px;white-space:normal}
  .checkbox{align-items:flex-start;gap:10px;font-size:13px;line-height:1.5}
  .checkbox input{flex:0 0 20px;width:20px;height:20px;margin:0;transform:translateY(1px)}
  .actions{align-items:stretch}
  .actions .btn{min-height:48px;white-space:normal}
  .stat-label{line-height:1.5;min-height:3em}
  .activity-log.table-wrap{overflow:visible;margin:0;border:0;border-radius:0;background:transparent}
  .activity-log table{display:block;min-width:0;width:100%;border-collapse:separate;font-size:13px}
  .activity-log thead{position:absolute;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .activity-log tbody{display:grid;gap:14px}
  .activity-log tbody tr{
    display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.7fr);gap:12px;
    align-items:start;min-width:0;padding:18px;border:1px solid #e0e5d5;border-radius:12px;background:#fffef9
  }
  .activity-log tbody td{display:block;min-width:0;max-width:none;padding:0;border:0;overflow-wrap:anywhere}
  .activity-log .log-date{grid-column:1;grid-row:1;font-size:12px;line-height:1.5}
  .activity-log .log-date .small{font-size:11px;line-height:1.5;margin-top:4px}
  .activity-log .log-time{grid-column:2;grid-row:1;justify-self:end;text-align:right;font-size:15px;font-weight:600;line-height:1.4;white-space:normal}
  .activity-log .log-course{grid-column:1/-1;grid-row:2;font-size:15px;font-weight:600;line-height:1.45}
  .activity-log td.notes.log-notes{grid-column:1/-1;grid-row:3;min-width:0;max-width:none;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;color:#65745f}
  .activity-log tbody td.log-actions{display:flex;flex-direction:column;grid-column:1/-1;grid-row:4;gap:8px;padding-top:12px;border-top:1px solid #e4e8dc}
  .activity-log .log-actions .btn{display:inline-flex;width:100%;min-height:44px;padding:10px 14px;font-size:12px;background:#f4f6ec;white-space:normal}
  .activity-log .log-actions .small{margin:0;font-size:11px;line-height:1.5}
  .history-event{overflow-wrap:anywhere}
}
@media(max-width:380px){.stat-label{min-height:4.5em}}

/* Course hour goals grow a square at a time, using existing minute totals. */
.course-progress{min-width:0;margin:14px 0 0}
.progress-grid,.progress-color-swatch{--progress-grid-fill:#63834f}
.progress-grid[data-color=clay],.progress-color-swatch.color-clay{--progress-grid-fill:#ad7550}
.progress-grid[data-color=lilac],.progress-color-swatch.color-lilac{--progress-grid-fill:#8c78a7}
.progress-grid[data-color=blue],.progress-color-swatch.color-blue{--progress-grid-fill:#608c97}
.progress-grid{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:3px;width:100%;max-width:230px}
.progress-grid-cell{display:block;position:relative;aspect-ratio:1;min-width:0;overflow:hidden;border:1px solid #829175;border-radius:2px;background:#f6f7ee}
.progress-grid-cell::before{content:"";position:absolute;inset:0 auto 0 0;width:var(--cell-fill,0%);background:var(--progress-grid-fill)}
.progress-grid-caption{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:4px 10px;max-width:230px;margin-top:8px;color:#65765e;font-size:11px;line-height:1.5}
.progress-grid-caption strong{font-size:13px;color:#3c5b45}
.progress-appearance{min-width:0;border:1px solid #d5ddce;border-radius:10px;margin:20px 0;padding:12px 14px 6px}
.progress-appearance legend{padding:0 5px;font-size:13px;font-weight:600;color:#3c5b45}
.progress-appearance>p{margin:0 0 8px;line-height:1.6}
.progress-color-choice{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid #c4cfb9;border-radius:8px;margin:0 8px 8px 0;padding:9px 12px;background:#fffef9;color:#3c5b45;font-size:12px;cursor:pointer}
.progress-color-choice input{width:17px;height:17px;margin:0;accent-color:#315d4f;flex-shrink:0}
.progress-color-swatch{display:inline-block;width:15px;height:15px;flex-shrink:0;border-radius:3px;background:var(--progress-grid-fill);border:1px solid #5f7059}
.progress-color-choice:has(input:checked){outline:2px solid #315d4f;outline-offset:1px;font-weight:700;background:#edf2e5}
.progress-color-choice:has(input:focus-visible){outline:3px solid #b88244;outline-offset:3px}
@media(max-width:620px){.progress-grid{gap:2px}.progress-grid-caption{font-size:10px}}
@media(forced-colors:active){.progress-grid-cell{border-color:CanvasText}.progress-grid-cell::before,.progress-color-swatch{background:Highlight;forced-color-adjust:none}.progress-color-choice:has(input:checked){outline-color:Highlight}}
@media(max-width:620px){.lower-grid{grid-template-columns:minmax(0,1fr)}.lower-grid>section{min-width:0}}

/* Secondary class administration stays within settings. */
.course-card-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;margin-top:12px}.course-card-actions>button{flex:1 1 105px;justify-content:center;min-height:44px;min-width:0;font-size:12px;padding:8px 10px}.course-card-actions .course-settings-link{border:1px solid #dfe5d6;background:transparent;border-radius:7px;color:#405f4c}
.class-management{border-top:1px solid #dde3d3;margin-top:18px;padding-top:16px}
.archived-classes{border:1px solid #dfe4d6;border-radius:12px;padding:16px;margin-bottom:20px;background:#fffef9}
.archived-classes summary{cursor:pointer;font-size:14px;font-weight:600;min-height:28px}
.archived-classes>p{margin:12px 0}
.archived-class{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #e4e8dd;font-size:13px}
.archived-class>span{min-width:0;overflow-wrap:anywhere}
.archived-class .btn{flex-shrink:0}

.app-update-settings{border-top:1px solid #e4e8db;margin-top:24px;padding-top:20px}.app-update-settings .btn{min-height:44px}.update-notice span{min-width:0}.update-notice .btn{flex-shrink:0;min-height:44px}.update-notice[role="status"]{line-height:1.5}
@media(max-width:620px){.update-notice{flex-wrap:wrap}.update-notice .btn{width:100%}}
