:root{font:16px/1.55 system-ui,sans-serif;color:#203044;background:#f4f7f9}*{box-sizing:border-box}body{margin:0}main{max-width:1120px;margin:32px auto;padding:24px}header{display:flex;justify-content:space-between;gap:15px;align-items:center}.brand{font-weight:800;letter-spacing:.1em;color:#14746e}.badge{padding:5px 12px;border-radius:20px;background:#e0f0ea;font-size:13px}h1{font-size:34px;margin:30px 0 10px}h2{font-size:22px}h3{margin:0 0 10px}.muted,small{color:#5d6c7d}section,.card{background:white;border:1px solid #dae3e9;border-radius:14px;padding:24px;margin:18px 0}nav,.actions{display:flex;gap:12px;flex-wrap:wrap}a{color:#136e85}button,.button{background:#126f68;color:white;padding:11px 17px;border:0;border-radius:8px;text-decoration:none;cursor:pointer;font:inherit;display:inline-block}button.secondary{background:#e6eeed;color:#174e48}label{display:block;margin:14px 0 6px;font-weight:600}input,textarea,select{width:100%;padding:11px;border:1px solid #b9c9d2;border-radius:7px;font:inherit}textarea{min-height:100px}input[type=file]{background:#f4f7f9}form{margin:14px 0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.grid .card{margin:0}.notice{padding:15px;border-left:4px solid #14746e;background:#e7f4ef;margin:15px 0}.error{border-color:#ad423b;background:#fff0ee}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.qr{float:right;padding:12px;background:white}.qr svg{max-width:190px;height:auto}.event{padding:12px 0;border-bottom:1px solid #edf0f2}details{margin:16px 0}summary{cursor:pointer;font-weight:600}code{overflow-wrap:anywhere}table{width:100%;border-collapse:collapse}td,th{text-align:left;border-bottom:1px solid #e5ebee;padding:12px;vertical-align:top}.progress{border-left:4px solid #199a88;padding-left:16px}.upload{max-width:620px;margin:auto}.upload button{width:100%;margin-top:15px} @media(max-width:600px){main{margin:0;padding:18px}header{align-items:flex-start}.brand{font-size:12px}.badge{font-size:11px}section,.card{padding:17px}h1{font-size:28px}table{font-size:13px}.qr{float:none}}@media print{nav,form,button,.no-print{display:none}body{background:white}main{margin:0;padding:0}section{break-inside:avoid}}
/* Shared portal workspace, release 0.3.0 */
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI','Helvetica Neue',Arial,sans-serif;background:#f8fafc;color:#0f1c2e;margin:0}main{max-width:1200px;margin:0 auto;padding:36px 24px}h1{font-size:clamp(28px,4vw,40px);letter-spacing:-1px}h2{font-size:23px}h3{font-size:18px}section,.card,.lesson-row{background:#fff;border:1px solid #dce5ec;border-radius:18px;padding:24px;margin:20px 0;box-shadow:none}button,.button{display:inline-flex;align-items:center;justify-content:center;width:auto;min-height:40px;padding:9px 17px;border-radius:24px;background:#0e9688;border:1px solid #0e9688;color:#fff;font:600 14px/1.4 inherit;text-decoration:none;cursor:pointer;gap:6px;margin:0}button:hover,.button:hover{background:#0b7d72;color:#fff}.secondary,button.secondary,.button.secondary{background:white;color:#165d57;border:1px solid #c9dbd8}.primary-large{padding:15px 24px;font-size:17px}button:disabled{opacity:.5;cursor:not-allowed}:focus-visible{outline:3px solid #0e9688;outline-offset:3px}summary{cursor:pointer;font-weight:650;padding:10px 0}form{margin:0}input,select,textarea{max-width:100%;box-sizing:border-box}input[type=checkbox]{width:20px;height:20px;display:inline-block}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.child-heading,.lesson-top{display:flex;justify-content:space-between;align-items:center;gap:24px}.child-heading h2,.child-heading p{margin:5px 0}.next-lesson{background:#e6f7f5}.eyebrow{font-size:12px;letter-spacing:1.2px;text-transform:uppercase;font-weight:700}.row-actions{justify-content:flex-end;flex-shrink:0}.lesson-top>div:first-child{min-width:0;flex:1}.lesson-row h3{margin:8px 0}.lesson-row p{margin:8px 0 16px}.feedback{border-top:1px solid #dce5ec;margin-top:18px}.feedback>div{background:#e6f7f5;border-radius:12px;padding:16px 20px;line-height:1.7}.feedback summary{color:#087b70}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th,td{text-align:left;padding:14px 10px;border-bottom:1px solid #e3e9ed;vertical-align:top}td form{display:inline-block}small,.muted{color:#526477}table p{margin:4px 0}.toolbar{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:12px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.stats a{background:white;padding:20px;border:1px solid #dce5ec;border-radius:16px;text-decoration:none;color:#0f1c2e}.stats strong{display:block;font-size:32px;color:#0e9688}.notice{border-radius:8px}main>nav{margin-bottom:20px}@media(max-width:700px){main{padding:24px 16px}.child-heading{align-items:flex-start;gap:14px}.child-heading>a{max-width:115px;text-align:right}.lesson-top{display:block}.row-actions{margin-top:18px}.stats{grid-template-columns:repeat(2,1fr)}section,.lesson-row{padding:18px}.table-wrap{max-width:100%}th,td{min-width:85px}.as-header{margin:0}.feedback>div{padding:14px}.primary-large{width:100%}}
@media(max-width:700px){.approvals-table thead{display:none}.approvals-table,.approvals-table tbody{display:block}.approvals-table tr{display:grid;grid-template-columns:32px 1fr 1fr;gap:8px;border-bottom:1px solid #dce5ec;padding:14px 0}.approvals-table td{display:block;border:0;min-width:0;padding:4px}.approvals-table td:nth-child(4),.approvals-table td:nth-child(5){grid-column:2/4}.approvals-table td:nth-child(5){text-align:right}}
/* Compact consistent workspace spacing, 0.3.1. */
main{padding-top:12px}main>h1{margin-top:10px;margin-bottom:5px}main>h1+p{margin-top:6px;margin-bottom:12px}section,.card,.lesson-row{padding:14px 18px;margin:14px 0}section>h2:first-child,.card>h2:first-child,.lesson-row>h2:first-child{margin-top:0;margin-bottom:12px}section>p:last-child{margin-bottom:0}.toolbar{padding:4px 0 12px}.toolbar label{margin:4px 0}.approvals-table th{background:#e6f7f5;color:#164c47}.approvals-table th:first-child{border-radius:8px 0 0 8px}.approvals-table th:last-child{border-radius:0 8px 8px 0}.student-profile{color:inherit;text-decoration:none;font-weight:600;cursor:pointer}.student-profile:hover{color:#0e9688;text-decoration:none}.lesson-title{display:flex;align-items:flex-start;gap:10px}.pdf-icon{display:inline-flex;align-items:center;justify-content:center;border:1px solid #b8d9d3;border-radius:4px;color:#087b70;background:#f1fbf9;font-size:10px;font-weight:800;padding:5px 4px;min-width:30px;text-decoration:none}.pdf-icon:hover{background:#d8f0e9}.created-date{white-space:nowrap}.released-start td{border-top:2px solid #bfdad5}.released-row{background:#fbfdfd}.release-date{display:block;font-size:13px;min-width:145px}.row-qr{margin:4px 0 0}.row-qr summary{padding:2px 0;font-size:12px;font-weight:400;color:#526477}@media(max-width:700px){main{padding-top:10px}section,.card,.lesson-row{padding:14px}.approvals-table .created-date{white-space:normal}.approvals-table .released-start{border-top:2px solid #bfdad5}.approvals-table .released-start td{border-top:0}.approvals-table td:nth-child(5){text-align:left}.lesson-title{gap:8px}}
main table th{background:#e6f7f5;color:#164c47}
.profile-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.profile-heading h2{margin:0}.profile-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}#edit-profile .actions{margin-top:14px}@media(max-width:500px){.profile-heading{align-items:flex-start}.profile-heading .button{white-space:nowrap}.profile-fields{gap:12px}}
/* Compact admin rows and searchable activity. */
#ready .toolbar label{font-size:14px;font-weight:700;display:flex;align-items:center;gap:8px}#ready button{font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;padding:9px 17px;min-height:40px}.approvals-table td{vertical-align:middle;padding-top:7px;padding-bottom:7px}.lesson-title{align-items:center}.activity-search{margin:14px 0}.activity-search label{font-size:14px;margin:0 0 6px}.activity-search input[type=search]{width:min(500px,100%);padding:9px 12px}.activity-list{max-width:1120px;background:transparent;border:0;padding:0;margin:18px 0}.activity-table{table-layout:fixed;background:#fff;font-size:13px}.activity-table th,.activity-table td{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;padding:10px 12px}.activity-table th:nth-child(1){width:205px}.activity-table th:nth-child(2){width:155px}.activity-table th:nth-child(3){width:175px}.activity-table td:last-child{cursor:help}@media(max-width:700px){.activity-table{min-width:950px}.approvals-table td{padding-top:4px;padding-bottom:4px}.approvals-table tr{padding:7px 0}}

/* Family Math Journey, Web050 / release0.4.1. */
.journey-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:#e4f1ef;padding:18px 22px}.journey-hero h2{margin:0;font-size:22px}.journey-hero p:empty,.lesson-row small:empty{display:none}.journey-buttons{display:grid;gap:9px;min-width:235px}.journey-buttons .button,.journey-buttons button{width:100%;font-size:14px;min-height:44px}.history-links{gap:16px}.history-links .icon-link,.history-links button{border:0;background:none;color:#087b70;padding:4px 0;min-height:32px;text-decoration:none;font-size:14px}.lesson-row .feedback{border-top:0;margin-top:6px}.lesson-row .feedback summary{padding:5px 0}.history-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.history-tools[hidden]{display:none}.history-tools input{max-width:440px}.history-tools select{width:auto}.history-tools label{margin:0}.history-tools small{flex-basis:100%}.lesson-row[hidden]{display:none}@media(max-width:700px){.journey-hero{display:block;padding:16px}.journey-buttons{margin-top:16px;min-width:0}.history-links{justify-content:flex-start;margin-top:10px}.history-tools input{width:100%}}

.file-tiles{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.file-tile{border:1px solid #cadbd8;border-radius:12px;background:#fff;color:#174e48;padding:10px;width:135px;overflow-wrap:anywhere;display:flex;flex-direction:column;gap:6px;font-size:13px}.file-tile img{width:100%;height:120px;object-fit:contain}.amber{background:#fff4dc;border-color:#d49a25}.upload [hidden]{display:none}.upload input[type=file]{margin:12px 0}.upload .file-tile{margin:0;width:135px}.upload h3{margin-top:16px}

.upload-actions{display:flex;gap:12px;align-items:center}.upload .upload-actions button{flex:1;width:auto;margin-top:10px;font-size:14px;padding:12px 8px}.upload progress{width:100%;height:12px;accent-color:#0e9688}.upload .file-tile{width:105px;height:116px;padding:5px;align-items:center;justify-content:center;text-decoration:none}.upload .file-tile img{height:104px;width:95px;object-fit:cover;border-radius:8px}.upload #upload-status{margin:12px 0}.upload #upload-history:empty{display:none}

/* Web056 parent cards. */
.journey-icon{flex:0 0 22px;vertical-align:middle}.journey-hero .lesson-info h2{margin:5px 0;font-size:24px}.journey-buttons{width:280px;flex:0 0 280px}.journey-buttons .button,.journey-buttons button{font-size:16px;font-weight:700;min-height:48px;gap:9px}.journey-buttons .secondary{border:2px solid #0e9688;color:#087b70;background:transparent}.journey-status{font-size:13px;line-height:1.5;margin:0;text-align:center}.history-links .icon-link,.history-links button{display:inline-flex;align-items:center;gap:8px;font-size:16px;font-weight:600}.lesson-row h3{margin:5px 0}.history-tools{gap:10px}.history-tools input{flex:1;min-width:180px;max-width:440px}.history-tools .sort-link{margin-left:auto;background:transparent;border:0;padding:6px 0;color:#087b70;font-size:15px;text-decoration:underline}.history-announcement:not(.no-results){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.history-announcement.no-results{width:100%;margin:2px 0}.history-tools #history-clear{white-space:nowrap;font-size:14px}.lesson-row .feedback{border:0}@media(max-width:700px){.journey-buttons{width:100%}.journey-hero .lesson-info h2{font-size:22px}.history-tools label{flex-basis:100%}.history-tools input{width:auto;min-width:0;flex-basis:55%}.history-tools .sort-link{margin-left:auto}.history-links{justify-content:flex-start;flex-wrap:wrap}.journey-buttons .button,.journey-buttons button{min-height:48px}}

/* Parent login inherits the shared site typeface, including native controls. */
.parent-login{font-family:inherit;font-size:16px;line-height:1.55}.parent-login p,.parent-login label,.parent-login input,.parent-login button,.parent-login .notice{font-family:inherit;font-size:16px;line-height:1.55}.parent-login p,.parent-login input{font-weight:400}.parent-login label,.parent-login button{font-weight:600}.parent-login p:not(.error){color:#526477}.parent-login input::placeholder{font-family:inherit;color:#526477;opacity:1}.parent-login h2{font-family:inherit;font-weight:700}.parent-login form[hidden]{display:none}.parent-login #magic-status:empty{display:none}
