:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202940;background:#f7f8fc;font-synthesis:none;text-rendering:optimizeLegibility;--ink:#202940;--muted:#78839a;--line:#e8ebf2;--violet:#694bd2;--blue:#4776e9;--max:1320px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #5078e877;outline-offset:2px}a{color:inherit;text-decoration:none}.skip-link{position:absolute;left:14px;top:-55px;z-index:200;background:#fff;padding:9px 13px;border-radius:8px;box-shadow:0 8px 24px #20294020}.skip-link:focus{top:12px}.family-shell{min-height:100vh}.family-sidebar{position:fixed;z-index:40;inset:0 auto 0 0;width:248px;background:#fff;border-right:1px solid var(--line);padding:18px 14px 14px;display:flex;flex-direction:column}.family-brand{height:44px;margin:0 7px 15px;display:flex;align-items:center;justify-content:space-between}.family-brand a{width:120px}.family-brand img{width:100%;display:block}.sidebar-close{display:none;border:0;background:none;font-size:23px;color:#8791a4}.family-role{display:flex;gap:9px;align-items:center;border:1px solid #e9ebf2;border-radius:11px;padding:9px;margin-bottom:17px}.role-badge-icon{height:32px;width:32px;border-radius:9px;background:#f0edff;color:#6a4bd0;display:grid;place-items:center;font-size:15px}.family-role div{display:flex;flex-direction:column;flex:1}.family-role b{font-size:11px}.family-role small{font-size:9px;color:#929bad}.chevron{color:#939bae;font-size:15px}.child-picker{border:1px solid #eceef4;background:#fafbfc;border-radius:10px;padding:9px 9px 8px;margin-bottom:22px}.child-picker label{display:block;color:#959daf;font-weight:850;font-size:8px;letter-spacing:.1em;margin-bottom:4px}.child-picker select{width:100%;border:0;appearance:none;color:#45516a;font-size:10px;font-weight:700;background:transparent;padding:2px 18px 2px 1px;outline:none;background-image:linear-gradient(45deg,transparent 50%,#7d879a 50%),linear-gradient(135deg,#7d879a 50%,transparent 50%);background-position:calc(100% - 8px) 9px,calc(100% - 4px) 9px;background-size:4px 4px,4px 4px;background-repeat:no-repeat}.side-label{padding:0 11px;margin-bottom:7px;color:#929cad;font-size:8px;font-weight:850;letter-spacing:.12em}.family-nav{display:flex;flex-direction:column;gap:3px}.family-nav-link{display:flex;align-items:center;gap:10px;width:100%;height:39px;padding:0 10px;border:0;background:transparent;color:#68748a;text-align:left;border-radius:8px;font-size:11px}.family-nav-link:hover{background:#f8f7fc;color:#5943c4}.family-nav-link.active{background:#f0eeff;color:#6046ca;font-weight:750}.family-nav-link>span{width:18px;text-align:center;font-size:15px;color:#8a94a7}.family-nav-link.active>span{color:#674cd1}.family-nav-link b{font-weight:650;flex:1}.family-nav-link.active b{font-weight:760}.nav-badge{font-size:8px;font-style:normal;border-radius:6px;padding:2px 5px;background:#e7e3ff;color:#6249c8}.unread-dot{width:6px;height:6px;background:#7657da;border-radius:50%;margin-left:auto}.family-sidebar-bottom{margin-top:auto}.student-preview-link{display:flex;align-items:center;gap:8px;padding:9px 10px;border-radius:8px;background:#f7f6ff;color:#5f48c4;font-size:10px;font-weight:750;margin-bottom:11px}.student-preview-link>span:first-child{font-size:14px}.student-preview-link>span:nth-child(2){flex:1}.student-preview-link>span:last-child{font-size:16px}.help-card{display:flex;align-items:center;gap:8px;border:1px solid #eceef3;border-radius:10px;padding:9px;margin-bottom:10px}.help-icon{width:23px;height:23px;border-radius:7px;background:#f1efff;color:#6c50d2;display:grid;place-items:center;font-weight:850}.help-card div{display:flex;flex-direction:column;flex:1}.help-card b{font-size:10px}.help-card small{font-size:8px;color:#909bad}.back-site{display:flex;align-items:center;gap:8px;padding:7px 10px;color:#788398;font-size:10px}.family-main{margin-left:248px;min-height:100vh}.family-header{height:68px;position:sticky;top:0;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#ffffffed;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);padding:0 clamp(20px,3.5vw,48px)}.crumbs{display:flex;align-items:center;gap:8px;color:#8d96a8;font-size:11px}.crumbs b{color:#344059}.family-header-actions{display:flex;align-items:center;gap:10px}.family-search{display:flex;align-items:center;gap:7px;height:34px;padding:0 9px;border:1px solid #e8ebf1;border-radius:8px;background:#fafbfc;color:#919bad}.family-search input{width:145px;border:0;background:transparent;outline:0;font-size:10px;color:#3a465d}.family-search input::placeholder{color:#a0a8b6}.icon-button{position:relative;width:34px;height:34px;border:1px solid #e8ebf1;border-radius:8px;background:#fff;color:#66738c;font-size:16px}.icon-button i{position:absolute;right:6px;top:6px;width:5px;height:5px;border-radius:50%;background:#e66a82;border:1px solid #fff}.notification-popover{position:absolute;right:236px;top:56px;width:250px;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:0 16px 40px #1f2a451c;padding:13px;font-size:10px}.notification-popover[hidden]{display:none}.notification-popover b{font-size:11px}.notification-popover p{color:#738097;line-height:1.5;margin:9px 0 0}.guardian-profile{display:flex;align-items:center;gap:7px;color:#354159;font-size:10px;font-weight:750}.guardian-profile>span:last-child{display:flex;flex-direction:column;line-height:1.35}.guardian-profile small{font-size:8px;font-weight:500;color:#929bad}.guardian-avatar{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e9e5ff;color:#674bcc;font-size:9px;font-weight:850}.language-toggle{display:flex;gap:2px;padding:3px;background:#f2f3f7;border-radius:7px}.lang-button{height:23px;min-width:28px;border:0;border-radius:5px;background:transparent;color:#7e899d;font-size:8px;font-weight:850}.lang-button.is-active{background:#fff;color:#5d45c8;box-shadow:0 1px 4px #1e294315}.menu-button{display:none;width:35px;height:35px;border:1px solid var(--line);border-radius:8px;background:#fff;align-items:center;justify-content:center;flex-direction:column;gap:4px}.menu-button span{width:16px;height:2px;border-radius:2px;background:#64718a}.sidebar-scrim{display:none}.family-workspace{width:min(100%,1420px);margin:auto;padding:24px clamp(20px,3.5vw,48px) 22px}.sample-banner{min-height:34px;display:flex;align-items:center;gap:9px;padding:6px 9px;background:#f2f0ff;border:1px solid #e5e1f9;border-radius:8px;color:#6b638b;font-size:9px;margin-bottom:24px}.sample-pill{display:flex;align-items:center;gap:5px;border:1px solid #e3def7;border-radius:5px;background:white;padding:3px 6px;color:#6249c8;font-size:7px;font-weight:900;letter-spacing:.07em;white-space:nowrap}.sample-pill i{width:5px;height:5px;border-radius:50%;background:#6d50d5}.sample-banner>button{margin-left:auto;border:0;background:transparent;color:#9b95b3;font-size:15px}.family-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin:0 0 19px}.eyebrow{display:block;color:#8d96a8;font-size:8px;letter-spacing:.11em;font-weight:850}.family-heading h1{font-size:25px;line-height:1.2;letter-spacing:-.04em;color:#202940;margin:5px 0 4px}.family-heading p{font-size:11px;color:#788398;margin:0}.heading-actions{display:flex;align-items:center;gap:12px}.today-label{font-size:9px;color:#8893a6;white-space:nowrap}.primary-button,.secondary-button,.outline-button,.light-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:35px;padding:0 12px;border:0;border-radius:8px;background:linear-gradient(110deg,#476cf0,#7546d6);box-shadow:0 6px 15px #694bd226;color:white;font-size:9px;font-weight:760}.primary-button:hover,.light-button:hover{filter:brightness(1.04)}.secondary-button{background:#fff;color:#6048ca;border:1px solid #e3def8;box-shadow:none}.outline-button{background:#fff;color:#6249ca;border:1px solid #e3def8;box-shadow:none}.child-summary{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px 15px;margin-bottom:12px}.child-avatar{width:44px;height:44px;border-radius:12px;background:linear-gradient(135deg,#e9e5ff,#e6f0ff);display:grid;place-items:center;font-size:12px;color:#5f49c2;font-weight:850}.child-summary-main h2{font-size:15px;line-height:1.2;margin:3px 0 2px;letter-spacing:-.02em}.child-summary-main p{font-size:9px;color:#8e98aa;margin:0}.separator{margin:0 6px}.child-summary-note{grid-column:2/-1;display:flex;align-items:center;gap:6px;color:#858fa2;font-size:8px;border-top:1px solid #eff1f5;padding-top:8px}.child-summary-note span:first-child{color:#7053d2}.child-summary-action{grid-column:3;grid-row:1}.family-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:12px}.family-metric{position:relative;min-height:126px;padding:12px 13px;border-radius:11px;border:1px solid var(--line);background:#fff;overflow:hidden}.metric-line{display:flex;align-items:center;justify-content:space-between}.metric-symbol{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;font-size:13px}.metric-symbol.violet{background:#f0edff;color:#7051d7}.metric-symbol.blue{background:#eaf2ff;color:#4a79e8}.metric-symbol.mint{background:#e9f7f2;color:#32977c}.metric-symbol.orange{background:#fff2e7;color:#d98847}.metric-small{color:#9aa2b1;font-size:7px;font-weight:850;letter-spacing:.06em}.metric-caption{display:block;color:#788398;font-size:9px;font-weight:700;margin-top:8px}.family-metric>strong{display:block;font-size:23px;line-height:1.15;letter-spacing:-.045em;margin-top:1px}.family-metric>strong small{font-size:9px;letter-spacing:0;color:#838da0}.metric-sub{display:flex;align-items:center;gap:5px;margin-top:5px;color:#9aa2b1;font-size:8px}.trend{background:#e9f8f2;color:#288f73;border-radius:4px;padding:1px 4px;font-size:7px;font-weight:850}.positive-dot{width:5px;height:5px;border-radius:50%;background:#35a27f}.metric-track{height:4px;background:#eff1f5;border-radius:8px;margin-top:8px;overflow:hidden}.metric-track i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#4f7de9,#7c54db)}.green-track i{background:linear-gradient(90deg,#55b38e,#8acbaa)}.due-chip{background:#fff4e5;color:#c2823f;border-radius:4px;padding:2px 5px;font-weight:750}.inline-link{border:0;background:none;color:#694bd0;font-size:8px;font-weight:750;padding:0}.family-content-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:11px;margin-bottom:11px}.second-grid{grid-template-columns:1.1fr .9fr}.family-card{background:#fff;border:1px solid var(--line);border-radius:11px;padding:14px}.week-card,.progress-card{min-height:199px}.card-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.card-heading h2{font-size:14px;line-height:1.25;letter-spacing:-.025em;margin:4px 0 0}.text-button{display:inline-flex;align-items:center;gap:5px;border:0;background:transparent;color:#684bd0;font-size:8px;font-weight:750;white-space:nowrap}.text-button span:last-child{font-size:15px}.sample-tag{border-radius:4px;background:#f2f3f7;color:#8b95a7;padding:3px 5px;font-size:7px;font-weight:850;letter-spacing:.05em;white-space:nowrap}.week-events{margin-top:10px}.event-row{display:grid;grid-template-columns:38px 3px 1fr auto;align-items:center;gap:8px;min-height:35px;border-bottom:1px solid #f0f1f5}.event-row:last-child{border-bottom:0}.event-date{font-size:8px;color:#818ca0;text-align:right}.event-rule{height:23px;width:3px;border-radius:5px;background:#7560d8}.event-row:nth-child(2) .event-rule{background:#4c81e7}.event-row:nth-child(3) .event-rule{background:#d89a55}.event-row b{font-size:9px;color:#3b465d}.event-row small{font-size:8px;color:#929bad;display:block}.event-type{font-size:7px;color:#8892a5;background:#f5f6f8;border-radius:4px;padding:3px 5px}.subject-bars{margin:14px 0 8px}.subject-row{display:grid;grid-template-columns:88px 1fr 24px;align-items:center;gap:7px;margin:10px 0}.subject-row label{font-size:8px;color:#69758b}.subject-row b{font-size:8px;text-align:right;color:#59647a}.bar-track{height:5px;background:#eff1f5;border-radius:8px;overflow:hidden}.bar-track i{display:block;height:100%;border-radius:8px;background:linear-gradient(90deg,#4b78e7,#7653d6)}.subject-row:nth-child(2) .bar-track i{background:linear-gradient(90deg,#48a88a,#8cc9aa)}.subject-row:nth-child(3) .bar-track i{background:linear-gradient(90deg,#e4a360,#edc180)}.full-link{width:100%;border-top:1px solid #eff0f4;padding-top:8px;justify-content:center}.feedback-card,.notice-card{min-height:140px}.teacher-feedback{display:flex;align-items:flex-start;gap:9px;padding:12px 10px;margin-top:10px;background:#faf9ff;border:1px solid #f0edfb;border-radius:8px}.teacher-avatar{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#eae5ff;color:#674dcc;font-size:8px;font-weight:800;flex:0 0 25px}.feedback-copy b{font-size:9px}.feedback-copy small{display:block;color:#929bad;font-size:7px;margin-top:1px}.feedback-copy p{font-size:9px;line-height:1.55;color:#737f95;margin:5px 0 0}.notice-preview{display:flex;gap:8px;padding:11px 9px;margin-top:10px;background:#fffaf1;border:1px solid #f6ead7;border-radius:8px}.notice-symbol{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:#fff0d8;color:#c4833f;flex:0 0 24px}.notice-preview b{font-size:9px}.notice-preview p{font-size:8px;color:#7d8799;line-height:1.45;margin:3px 0}.notice-preview small{font-size:7px;color:#9aa2b1}.family-view{display:none}.family-view.active{display:block;animation:fadein .16s ease-out}@keyframes fadein{from{opacity:.8;transform:translateY(2px)}to{opacity:1;transform:none}}.progress-page-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px}.grade-card,.attendance-page-card{min-height:260px}.grade-table{margin-top:10px}.grade-row{display:grid;grid-template-columns:30px 1fr 36px 45px;align-items:center;gap:8px;padding:10px 1px;border-bottom:1px solid #f0f1f5}.grade-row:last-child{border-bottom:0}.grade-symbol{height:27px;width:27px;border-radius:8px;background:#f0edff;color:#6c50d3;display:grid;place-items:center;font-size:9px;font-weight:850}.grade-row:nth-child(2) .grade-symbol{background:#e9f7f2;color:#348f77}.grade-row:nth-child(3) .grade-symbol{background:#fff3e8;color:#cb8342}.grade-row b{display:block;font-size:9px}.grade-row small{display:block;font-size:7px;color:#969fb0}.grade-score{font-size:10px;font-weight:800}.grade-trend{font-size:7px;color:#318d73;background:#eaf7f2;border-radius:4px;padding:3px 4px}.attendance-visual{display:flex;align-items:center;gap:12px;border-bottom:1px solid #f0f1f5;padding:14px 0 11px}.attendance-score{font-size:28px;letter-spacing:-.06em;font-weight:800;color:#4c69d0}.attendance-visual b{font-size:9px}.attendance-visual p{margin:3px 0 0;font-size:8px;line-height:1.4;color:#919bad}.attendance-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;margin:11px 0 8px;text-align:center}.attendance-calendar span{font-size:7px;color:#8993a5;padding:4px 0}.attendance-calendar .day{border-radius:5px;background:#f8f9fb;color:#6c778d}.attendance-calendar .present{background:#e9f7f2;color:#32856f;font-weight:750}.attendance-calendar .holiday{background:#fff5e8;color:#a77d44}.legend{display:flex;align-items:center;gap:10px;color:#8c96a8;font-size:7px;flex-wrap:wrap}.legend span{display:flex;align-items:center;gap:4px}.present-dot,.holiday-dot{width:6px;height:6px;border-radius:50%;background:#56b390}.holiday-dot{background:#e6b46d}.engagement-card{grid-column:1/-1}.engagement-row{display:flex;align-items:center;gap:9px;border-bottom:1px solid #f0f1f5;padding:10px 1px}.engagement-row:last-child{border-bottom:0}.engagement-icon{width:25px;height:25px;border-radius:7px;background:#f1edff;color:#7054d4;display:grid;place-items:center;font-size:11px}.blue-icon{background:#eaf2ff;color:#4d7be5}.engagement-row div{display:flex;flex-direction:column;flex:1}.engagement-row b{font-size:9px}.engagement-row small{font-size:7px;color:#949eaf}.engagement-row strong{font-size:8px;color:#338d74;background:#eaf7f2;border-radius:5px;padding:4px 6px}.calendar-card{min-height:280px}.week-picker{display:flex;gap:6px;overflow-x:auto;padding:2px 0 14px;border-bottom:1px solid #eff1f5}.day-choice{flex:1;min-width:50px;display:flex;flex-direction:column;align-items:center;gap:2px;border:1px solid #edf0f5;background:#fff;border-radius:8px;padding:8px 3px;color:#818ba0}.day-choice small{font-size:7px;font-weight:750}.day-choice b{font-size:11px}.day-choice.active{background:#f1efff;border-color:#ded8fa;color:#6146c9}.selected-day{display:flex;align-items:center;justify-content:space-between;margin-top:15px}.selected-day h2{font-size:13px;margin:3px 0 0}.calendar-event-list{max-width:690px;margin-top:9px}.calendar-event-list .event-row{min-height:47px;grid-template-columns:50px 3px 1fr auto}.message-list{padding:4px 15px}.message-row{display:grid;grid-template-columns:30px 1fr auto;align-items:center;gap:10px;padding:13px 2px;border-bottom:1px solid #eff1f5}.message-row:last-child{border-bottom:0}.message-row.unread:before{content:"";position:absolute;left:9px;width:5px;height:5px;background:#7353d5;border-radius:50%}.message-row{position:relative}.message-row.unread{padding-left:11px}.message-avatar{height:29px;width:29px;border-radius:50%;background:#eae6ff;color:#684dcc;display:grid;place-items:center;font-size:8px;font-weight:850}.message-copy b{font-size:9px}.message-copy p{font-size:8px;color:#758096;margin:3px 0;line-height:1.45}.message-copy small{font-size:7px;color:#9aa3b1}.small-action{border:1px solid #e6e8ef;background:#fff;color:#68748b;border-radius:6px;padding:5px 7px;font-size:7px;font-weight:700}.quiet-note{display:flex;align-items:flex-start;gap:6px;color:#8791a4;font-size:8px;line-height:1.5;margin:11px 1px}.quiet-note span:first-child{color:#6c51d1}.billing-summary{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:11px}.billing-total-card{min-height:145px;padding:17px;border-radius:11px;background:linear-gradient(125deg,#3155be,#7044d0);color:white;position:relative;overflow:hidden}.billing-total-card:after{content:"";position:absolute;width:200px;height:200px;border:1px solid #ffffff33;border-radius:50%;right:-65px;top:-100px;box-shadow:0 0 0 24px #ffffff0c,0 0 0 52px #ffffff0a}.billing-total-card .eyebrow{color:#ddd7ff}.billing-total-card strong{display:block;font-size:25px;letter-spacing:-.05em;margin:5px 0 0}.billing-total-card p{font-size:8px;color:#e1ddfa;margin:0 0 10px}.light-button{min-height:29px;padding:0 9px;background:#ffffff18;border:1px solid #ffffff5e;box-shadow:none;font-size:8px;position:relative;z-index:1}.payment-method-card{min-height:145px}.payment-method-card .eyebrow{margin-top:8px}.payment-method-card h2{font-size:12px;margin:4px 0}.payment-method-card p{font-size:8px;line-height:1.5;color:#818ca0;margin:0}.invoice-card{min-height:190px}.invoice-table{margin-top:11px}.invoice-row{display:grid;grid-template-columns:1fr 110px 80px 62px;align-items:center;gap:8px;padding:10px 1px;border-bottom:1px solid #f0f1f5}.invoice-row:last-child{border-bottom:0}.invoice-row b{font-size:9px}.invoice-row small{font-size:7px;color:#949eaf;display:block}.invoice-amount{font-size:9px;font-weight:750}.invoice-status{font-size:7px;padding:3px 5px;border-radius:4px;background:#fff3e4;color:#b97d3e;text-align:center}.invoice-status.paid{background:#e9f7f2;color:#328a72}.notices-list{padding:3px 16px}.notice-row{display:grid;grid-template-columns:28px 1fr auto;gap:9px;align-items:start;padding:13px 2px;border-bottom:1px solid #eff1f5}.notice-row:last-child{border-bottom:0}.notice-row.unread:before{content:"";position:absolute;left:-9px;top:22px;width:5px;height:5px;border-radius:50%;background:#7151d4}.notice-row{position:relative}.notice-avatar{width:26px;height:26px;border-radius:8px;background:#fff1dc;color:#c48240;display:grid;place-items:center;font-size:11px}.notice-row:nth-child(2) .notice-avatar{background:#eaf2ff;color:#507ce1}.notice-row:nth-child(3) .notice-avatar{background:#f0edff;color:#694bcc}.notice-copy b{font-size:9px}.notice-copy p{font-size:8px;color:#778297;line-height:1.5;margin:3px 0}.notice-copy small{font-size:7px;color:#9aa2b1}.ack-button{border:1px solid #e5e7ee;background:#fff;color:#67738a;border-radius:6px;padding:5px 6px;font-size:7px;white-space:nowrap}.absence-layout{display:grid;grid-template-columns:1.05fr .95fr;gap:11px}.absence-form{display:flex;flex-direction:column;gap:11px}.absence-form .card-heading{margin-bottom:2px}.absence-form label{display:block;color:#4d5971;font-size:8px;font-weight:750}.absence-form input,.absence-form select,.absence-form textarea,.family-modal input,.family-modal textarea{display:block;width:100%;min-height:34px;margin-top:5px;border:1px solid #e2e6ee;border-radius:7px;background:white;padding:8px 9px;color:#39455d;font-size:9px}.absence-form input[type=date]{min-height:34px}.absence-form select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#7c879b 50%),linear-gradient(135deg,#7c879b 50%,transparent 50%);background-position:calc(100% - 12px) 14px,calc(100% - 8px) 14px;background-size:4px 4px,4px 4px;background-repeat:no-repeat;padding-right:25px}.absence-form textarea,.family-modal textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}.form-caution{display:flex;gap:6px;color:#8c96a8;font-size:7px;line-height:1.5;margin:0}.form-caution span:first-child{color:#6e52d2}.absence-form .primary-button{align-self:flex-start}.draft-preview{min-height:300px}.draft-placeholder{min-height:230px;border:1px dashed #e4e6ed;border-radius:9px;background:#fafbfc;margin-top:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:22px;color:#8993a6}.draft-placeholder>span{width:34px;height:34px;border-radius:11px;background:#f0edff;color:#694bc9;display:grid;place-items:center;font-size:15px;margin-bottom:9px}.draft-placeholder b{font-size:10px;color:#58647b}.draft-placeholder p{max-width:230px;font-size:8px;line-height:1.55;margin:4px 0 0}.draft-document{margin-top:12px;border:1px solid #e9ebf1;border-radius:8px;padding:12px;color:#5c6880;font-size:9px;line-height:1.65}.draft-document b{display:block;color:#2f3a52;font-size:10px;margin-bottom:6px}.transport-family-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:11px}.route-family-card,.transport-info{min-height:270px}.schedule-tag{background:#fff5e5;color:#ae8246;border-radius:5px;padding:4px 6px;font-size:7px;font-weight:750}.map-placeholder{position:relative;height:160px;border-radius:9px;overflow:hidden;margin:12px 0;background:#eef4f1}.map-lines{position:absolute;inset:-20px;background:repeating-linear-gradient(40deg,transparent 0 22px,#fff 23px 28px),repeating-linear-gradient(125deg,transparent 0 37px,#dfe9e4 38px 40px)}.map-placeholder:before{content:"";position:absolute;left:20%;top:56%;width:58%;border-top:3px dashed #7054d3;transform:rotate(-19deg)}.map-pin{position:absolute;width:19px;height:19px;display:grid;place-items:center;border-radius:50% 50% 50% 0;transform:rotate(-45deg);font-size:7px;font-weight:850;color:white;background:#4c74d6}.map-pin.pickup-pin{left:17%;top:55%}.map-pin.school-pin{left:75%;top:28%;background:#6d4bd0}.map-caption{position:absolute;bottom:8px;left:8px;right:8px;display:flex;flex-direction:column;padding:7px 9px;background:#ffffffeb;border:1px solid #e6ece8;border-radius:7px}.map-caption b{font-size:8px}.map-caption small{font-size:7px;color:#8993a5}.pickup-times{display:flex;gap:37px}.pickup-times div{display:flex;flex-direction:column}.pickup-times small{font-size:7px;color:#8b95a7;letter-spacing:.08em}.pickup-times b{font-size:9px;margin-top:2px}.transport-info .eyebrow{margin-top:9px}.transport-info h2{font-size:13px;margin:4px 0}.transport-info p{font-size:9px;color:#788398;line-height:1.6}.family-activity-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.family-activity{background:#fff;border:1px solid var(--line);border-radius:11px;padding:15px;min-height:160px}.activity-art{width:38px;height:38px;border-radius:11px;background:#f1edff;color:#7051d5;display:grid;place-items:center;font-size:15px;margin-bottom:10px}.family-activity:nth-child(2) .activity-art{background:#eaf2ff;color:#4b78e7}.family-activity:nth-child(3) .activity-art{background:#fff2e7;color:#d78a46}.family-activity h2{font-size:11px;margin:0 0 4px}.family-activity p{font-size:8px;color:#7a859a;line-height:1.55;margin:0 0 9px}.family-activity button{border:0;background:none;padding:0;color:#664bc9;font-size:8px;font-weight:750}.family-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e9ebf1;padding-top:14px;margin-top:24px;color:#9aa2b0;font-size:8px}.family-footer a{color:#684bd0;font-weight:750}.modal-backdrop{position:fixed;z-index:100;inset:0;background:#1e26415e;display:grid;place-items:center;padding:16px}.modal-backdrop[hidden]{display:none}.family-modal{position:relative;width:min(100%,360px);padding:23px;background:#fff;border-radius:15px;box-shadow:0 22px 68px #17213b42;text-align:center}.modal-close{position:absolute;right:10px;top:8px;border:0;background:none;color:#8993a5;font-size:21px}.modal-symbol{width:38px;height:38px;margin:0 auto 10px;border-radius:12px;background:#f0edff;color:#694dcc;display:grid;place-items:center;font-size:17px}.family-modal h2{font-size:15px;margin:0 0 6px}.family-modal p{font-size:9px;color:#768196;line-height:1.6;margin:0 0 15px}.family-modal .primary-button{min-width:80px}.family-modal .draft-actions{display:flex;gap:7px;margin-top:10px}.live-region{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
@media(max-width:1160px){.family-sidebar{width:220px;padding-left:11px;padding-right:11px}.family-main{margin-left:220px}.family-workspace{padding-left:24px;padding-right:24px}.family-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.family-content-grid,.second-grid{grid-template-columns:1fr 1fr}.family-search input{width:110px}.family-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){.family-sidebar{transform:translateX(-102%);transition:transform .22s ease;box-shadow:none}.family-sidebar.open{transform:translateX(0);box-shadow:15px 0 44px #20294025}.sidebar-scrim.visible{display:block;position:fixed;inset:0;z-index:35;background:#1c243c54}.sidebar-close{display:block}.family-main{margin-left:0}.family-header{height:62px;padding:0 17px;gap:10px}.menu-button{display:flex;flex:0 0 35px}.crumbs{margin-right:auto;font-size:10px}.family-header-actions{gap:7px}.family-search{width:34px;padding:0;justify-content:center;background:transparent;border-color:transparent}.family-search input{display:none}.notification-popover{right:180px}.progress-page-grid{grid-template-columns:1fr 1fr}.engagement-card{grid-column:1/-1}}
@media(max-width:620px){.family-header{padding:0 11px;gap:6px}.family-header-actions{gap:4px}.guardian-profile>span:last-child,.language-toggle{display:none}.guardian-avatar{width:28px;height:28px}.family-workspace{padding:15px 12px}.sample-banner{align-items:flex-start;gap:6px;font-size:8px;line-height:1.45;margin-bottom:20px}.sample-pill{font-size:6px}.family-heading{align-items:flex-start;flex-direction:column;gap:9px}.family-heading h1{font-size:23px}.family-heading p{font-size:10px}.heading-actions{width:100%;justify-content:space-between}.child-summary{grid-template-columns:40px 1fr;gap:9px;padding:11px}.child-avatar{width:38px;height:38px}.child-summary-action{grid-column:2;grid-row:2;justify-self:start}.child-summary-note{grid-column:1/-1}.family-metrics{grid-template-columns:1fr 1fr;gap:7px}.family-metric{min-height:120px;padding:10px}.metric-small{font-size:6px}.family-metric>strong{font-size:20px}.metric-caption{font-size:8px}.metric-sub{font-size:7px;flex-wrap:wrap}.family-content-grid,.second-grid,.progress-page-grid,.billing-summary,.absence-layout,.transport-family-grid{grid-template-columns:1fr;gap:8px}.family-card{padding:12px}.week-card,.progress-card,.feedback-card,.notice-card{min-height:0}.family-content-grid{margin-bottom:8px}.family-footer{align-items:flex-start;flex-direction:column;gap:5px}.subject-row{grid-template-columns:77px 1fr 24px}.engagement-card{grid-column:auto}.invoice-row{grid-template-columns:1fr 55px 55px;gap:5px}.invoice-row>.invoice-due{display:none}.invoice-row b{font-size:8px}.invoice-status{font-size:6px}.form-row{grid-template-columns:1fr}.family-search{height:32px}.notification-popover{right:60px;width:min(250px,calc(100vw - 24px))}.family-activity-grid{grid-template-columns:1fr}.family-activity{min-height:0}.message-row{grid-template-columns:27px 1fr auto;gap:7px}.sample-tag{font-size:6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* Accessible type scale: keep portal labels, controls, and sample content readable at every viewport. */
body{font-size:16px}
.family-nav-link,.student-preview-link,.back-site,.family-role b,.child-picker select,.crumbs,.family-search input,.notification-popover,.guardian-profile,.family-heading p,.today-label,.primary-button,.secondary-button,.outline-button,.light-button,.card-heading h2,.text-button,.event-row b,.subject-row label,.feedback-copy b,.feedback-copy p,.notice-preview b,.notice-preview p,.grade-row,.attendance-visual p,.engagement-row b,.message-copy b,.message-copy p,.message-row,.quiet-note,.billing-total-card p,.payment-method-card h2,.payment-method-card p,.invoice-row,.notice-copy b,.notice-copy p,.absence-form label,.absence-form input,.absence-form select,.absence-form textarea,.family-modal input,.family-modal textarea,.form-caution,.draft-placeholder b,.draft-placeholder p,.schedule-tag,.map-caption b,.transport-info h2,.transport-info p,.pickup-times b,.family-activity h2,.family-activity p,.family-activity button,.family-footer,.family-modal p{font-size:14px}
.eyebrow,.child-picker label,.side-label,.metric-small,.sample-pill,.sample-tag,.event-date,.event-row small,.subject-row b,.feedback-copy small,.notice-preview small,.grade-row small,.attendance-calendar span,.legend,.engagement-row small,.day-choice small,.invoice-row small,.invoice-status,.ack-button,.form-caution,.schedule-tag,.map-caption small,.pickup-times small,.family-role small,.help-card small,.guardian-profile small{font-size:12px}
.metric-caption,.child-summary-main p,.child-summary-note,.metric-sub,.inline-link,.event-type,.notice-avatar,.notice-copy small,.draft-placeholder b,.draft-document,.family-activity small,.map-pin{font-size:13px}
.family-heading h1{font-size:clamp(28px,3vw,38px)}
.family-role b,.notification-popover b,.child-summary-main h2{font-size:16px}
.card-heading h2,.selected-day h2,.payment-method-card h2,.transport-info h2,.family-activity h2{font-size:20px}
.primary-button,.secondary-button,.outline-button,.light-button{min-height:42px;padding:10px 16px}
.family-nav-link{min-height:42px}
.family-sidebar{overflow-y:auto}
.family-heading{gap:16px}
.family-card p{line-height:1.6}
.family-footer{font-size:13px}
@media(max-width:620px){
 .family-heading h1{font-size:28px}
 .family-heading p,.family-metric,.metric-sub,.event-row,.grade-row,.invoice-row,.message-row,.notice-row,.activity-card p,.family-modal p{font-size:14px}
 .family-nav-link,.student-preview-link{font-size:15px;min-height:44px}
 .family-nav-link>span{font-size:18px}
 .metric-small,.eyebrow,.sample-tag,.sample-pill,.child-picker label,.side-label{font-size:12px}
 .family-metric>strong{font-size:24px}
 .metric-caption{font-size:14px}
 .family-search input,.child-picker select,.absence-form input,.absence-form select,.absence-form textarea{font-size:16px}
 .family-footer{font-size:13px}
}
@media(max-width:620px){
 .family-metrics{grid-template-columns:1fr}
 .family-metric{min-height:0}
 .family-heading .primary-button{width:100%;justify-content:center}
 .family-card{overflow-wrap:anywhere}
 .invoice-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}
 .invoice-row>*:nth-child(2){grid-column:1/-1}
 .message-row{grid-template-columns:32px minmax(0,1fr);gap:10px}
 .message-row time{grid-column:2}
 .notice-row{grid-template-columns:32px minmax(0,1fr)}
 .family-header-actions{min-width:0}
 .family-header{min-width:0}
}
.subject-row{grid-template-columns:115px minmax(0,1fr) 38px}
@media(max-width:620px){.subject-row{grid-template-columns:90px minmax(0,1fr) 38px}}
.notice-preview b,.notice-preview small{display:block}
.notice-preview small{margin-top:3px}

@media (max-width: 860px) {
  .family-sidebar {
    width: min(19rem, calc(100vw - 3rem));
    box-sizing: border-box;
    max-height: 100dvh;
    overscroll-behavior-y: contain;
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    visibility: hidden;
  }
  .family-sidebar.open { visibility: visible; }
  .family-nav-link, .sidebar-close, .menu-button { min-height: 44px; }
  .family-nav-link b { min-width: 0; overflow-wrap: anywhere; }
  .family-header .crumbs { min-width: 0; }
  .family-header .crumbs b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .family-header-actions { flex-shrink: 0; }
  .family-workspace :is(.family-card,.family-view) { min-width: 0; overflow-wrap: anywhere; }
}
@media (max-width: 620px) {
  .family-heading { gap: .8rem; }
  .family-heading h1 { font-size: clamp(1.6rem, 7vw, 2.2rem); line-height: 1.15; }
  .heading-actions { width: 100%; }
  .family-header .crumbs > span { display: none; }
}

.overview-analytics {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));
  gap:clamp(.65rem,2vw,1rem);
  margin:1rem 0 2rem;
}
.overview-analytics > div {
  padding:clamp(.8rem,2.5vw,1.25rem);
  background:linear-gradient(145deg,#fff,#f5f0ff);
  border:1px solid #e4ddf4;
  border-radius:1rem;
  min-width:0;
}
.overview-analytics dt { color:#524769;font-weight:650; }
.overview-analytics dd { color:#402794;font-size:clamp(1.55rem,4vw,2.2rem);font-weight:750;margin:.25rem 0 0; }
@media (max-width: 860px) {
  html.schoolfy-drawer-open { overflow:hidden; }
  :is(.app-header,.family-header) .menu-button {
    position:relative;
    flex:0 0 44px;
    width:44px;
    height:44px;
    touch-action:manipulation;
  }
  .overview-analytics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

/* Give the drawer its own scroll surface inside mobile browser sheets. */
@media (max-width: 860px) {
  .family-sidebar.open {
    bottom: auto;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }
  .family-sidebar > * { flex-shrink: 0; }
}
