:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f6f8fa;font-synthesis:none;text-rendering:optimizeLegibility;--primary: #165f85;--primary-dark: #104c6b;--primary-soft: #edf6fa;--danger: #d9363e;--danger-dark: #b91c2b;--danger-soft: #fff0f1;--ink: #172033;--muted: #677287;--line: #dfe5eb;--line-soft: #edf1f4;--surface-alt: #f7f9fb;--green: #328a45;--green-soft: #eef8ef;--orange: #ef8a19;--orange-soft: #fff6e9;--cyan: #22a8d1;--cyan-soft: #eef9fc;--sidebar: 176px;--topbar: 60px;letter-spacing:0}*{box-sizing:border-box}html,body,#root{min-width:320px;min-height:100%;margin:0}body{min-height:100vh;background:#f6f8fa;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit;letter-spacing:0}button,a{-webkit-tap-highlight-color:transparent}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #1f8fbd;outline-offset:2px}h1,h2,h3,p{margin:0}.auth-screen{display:grid;min-height:100dvh;place-items:center;padding:24px;background:#eef3f6}.auth-panel{display:flex;width:min(430px,100%);flex-direction:column;align-items:flex-start;padding:30px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:0 18px 45px #1720331f}.auth-panel>img{display:block;width:min(270px,100%);height:64px;margin-bottom:26px;object-fit:contain;object-position:left center}.auth-icon{display:grid;width:42px;height:42px;place-items:center;margin-bottom:15px;border-radius:6px;color:var(--primary);background:var(--primary-soft)}.auth-icon--danger{color:var(--danger);background:var(--danger-soft)}.auth-panel h1{font-size:20px;line-height:1.25}.auth-panel>p{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.55}.auth-panel form{display:flex;width:100%;flex-direction:column;gap:13px;margin-top:22px}.auth-panel label{display:flex;flex-direction:column;gap:6px;color:#354157;font-size:11px;font-weight:700}.auth-panel input{width:100%;height:42px;padding:0 11px;border:1px solid var(--line);border-radius:6px;color:var(--ink);background:#fff;font-size:13px}.auth-primary,.auth-link{display:inline-flex;min-height:40px;align-items:center;justify-content:center;gap:8px;border-radius:6px;font-size:12px;font-weight:700;cursor:pointer}.auth-primary{width:100%;margin-top:4px;border:1px solid var(--primary);color:#fff;background:var(--primary)}.auth-primary:hover:not(:disabled){border-color:var(--primary-dark);background:var(--primary-dark)}.auth-link{align-self:center;margin-top:10px;padding:0 8px;border:0;color:var(--primary);background:transparent}.auth-primary:disabled,.auth-link:disabled{cursor:not-allowed;opacity:.5}.auth-error,.auth-notice{padding:10px 11px;border:1px solid #efb4b8;border-radius:5px;color:var(--danger-dark);background:var(--danger-soft);font-size:11px;line-height:1.45}.auth-notice{border-color:#a9d4af;color:#2b6a37;background:var(--green-soft)}.auth-qr{display:flex;width:100%;flex-direction:column;align-items:center;gap:7px;margin-top:18px;padding:16px;border:1px solid var(--line);border-radius:6px;background:#f8fafb}.auth-qr img{width:180px;height:180px;object-fit:contain}.auth-qr span{margin-top:5px;color:var(--muted);font-size:10px}.auth-qr code{max-width:100%;overflow-wrap:anywhere;color:#36445a;font-size:11px}.spin{animation:auth-spin .9s linear infinite}@keyframes auth-spin{to{transform:rotate(360deg)}}.app-shell{min-height:100vh;background:#f6f8fa}.sidebar{position:fixed;inset:0 auto 0 0;z-index:40;display:flex;width:var(--sidebar);flex-direction:column;border-right:1px solid var(--line);background:#fff}.brand{display:flex;height:var(--topbar);align-items:center;justify-content:center;padding:5px 12px;border-bottom:1px solid var(--line)}.brand img{display:block;width:100%;height:48px;object-fit:contain;object-position:left center}.sidebar__nav{display:flex;flex:1;flex-direction:column;gap:5px;padding:16px 10px;overflow-y:auto}.sidebar__nav a{display:grid;min-height:38px;grid-template-columns:20px 1fr auto;align-items:center;gap:9px;padding:0 11px;border-radius:6px;color:#334055;font-size:13px;font-weight:580;text-decoration:none}.sidebar__nav a:hover{background:#f7f8fa}.sidebar__nav a.active{color:var(--primary);background:var(--primary-soft);font-weight:700}.nav-count{display:grid;width:20px;height:20px;place-items:center;border-radius:50%;color:#fff;background:var(--primary);font-size:11px}.sidebar__footer{padding:12px 18px 18px;border-top:1px solid var(--line-soft)}.sidebar__footer button{display:grid;width:100%;grid-template-columns:18px 1fr 14px;align-items:center;gap:6px;padding:4px 0;border:0;background:transparent;font-size:12px;text-align:left;cursor:pointer}.sidebar__footer small{display:block;margin-top:8px;color:var(--muted);font-size:10px}.workspace{min-width:0;min-height:100vh;margin-left:var(--sidebar)}.topbar-host{position:sticky;top:0;z-index:30}.topbar{position:sticky;top:0;z-index:30;display:grid;height:var(--topbar);grid-template-columns:minmax(180px,1fr) minmax(320px,420px) minmax(300px,1fr);align-items:center;gap:18px;padding:0 18px 0 22px;border-bottom:1px solid var(--line);background:#fffffffa}.topbar__title{display:flex;min-width:0;align-items:center;gap:9px}.topbar h1{overflow:hidden;font-size:18px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}.global-search{position:relative;display:grid;height:40px;grid-template-columns:22px 1fr auto;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--line);border-radius:7px;background:#fff;color:var(--muted)}.global-search:focus-within{border-color:#9ac8d9;box-shadow:0 0 0 3px #e7f5fa}.global-search input{min-width:0;border:0;outline:0;color:var(--ink);background:transparent;font-size:12px}.global-search kbd{padding:3px 6px;border:0;border-radius:4px;color:#738095;background:#f5f7f9;font-size:10px}.search-results{position:absolute;top:calc(100% + 8px);left:0;z-index:70;width:100%;padding:6px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:0 16px 35px #18223329}.search-results button{display:grid;width:100%;grid-template-columns:22px 1fr;gap:8px;align-items:center;padding:9px;border:0;border-radius:5px;background:transparent;text-align:left;cursor:pointer}.search-results button:hover{background:var(--surface-alt)}.search-results button span{display:flex;min-width:0;flex-direction:column}.search-results strong,.search-results small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.search-results strong{color:var(--ink);font-size:12px}.search-results small{margin-top:2px;color:var(--muted);font-size:10px}.search-results p{padding:12px;color:var(--muted);font-size:12px;text-align:center}.account-area{display:flex;min-width:0;align-items:center;justify-content:flex-end;gap:12px}.location-label{display:flex;align-items:center;gap:7px;padding-right:16px;border-right:1px solid var(--line);font-size:12px;font-weight:650}.icon-button{position:relative;display:inline-grid;width:34px;height:34px;flex:0 0 34px;place-items:center;padding:0;border:1px solid transparent;border-radius:6px;color:#445169;background:transparent;cursor:pointer}.icon-button:hover{border-color:var(--line);background:var(--surface-alt)}.notification-count{position:absolute;top:-4px;right:-3px;display:grid;min-width:18px;height:18px;place-items:center;padding:0 4px;border:2px solid #fff;border-radius:10px;color:#fff;background:var(--danger);font-size:9px;font-weight:800}.account-button{display:grid;min-width:190px;grid-template-columns:36px 1fr 16px;align-items:center;gap:9px;padding:4px;border:0;border-radius:6px;background:transparent;text-align:left;cursor:pointer}.account-button:hover{background:var(--surface-alt)}.avatar,.student-avatar{display:inline-grid;flex:0 0 auto;place-items:center;border-radius:50%;color:#fff;background:#243148;font-size:11px;font-weight:750}.avatar{width:36px;height:36px}.student-avatar{width:34px;height:34px;color:#28364e;background:#e8edf2}.student-avatar--large{width:52px;height:52px;font-size:14px}.account-copy{display:flex;min-width:0;flex-direction:column}.account-copy strong{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.account-copy small{margin-top:2px;color:var(--muted);font-size:10px}.popover-anchor,.filter-anchor{position:relative}.popover,.filter-menu{position:absolute;z-index:80;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:0 16px 38px #19233529}.notification-popover{top:44px;right:-74px;width:min(370px,calc(100vw - 24px))}.notification-popover header{display:flex;align-items:center;justify-content:space-between;padding:14px;border-bottom:1px solid var(--line-soft);font-size:13px}.notification-popover>div{max-height:390px;padding:5px;overflow-y:auto}.notification-row{display:grid;grid-template-columns:minmax(0,1fr) 34px;align-items:center;border-radius:5px}.notification-row:not(.is-read){background:#f8fafb}.notification-popover .notification-row>button:first-child{display:grid;width:100%;grid-template-columns:10px 1fr;align-items:start;gap:9px;padding:10px;border:0;border-radius:5px;background:transparent;text-align:left;cursor:pointer}.notification-popover .notification-row>button:first-child:hover{background:#f2f6f8}.notification-popover .notification-row>.icon-button{display:inline-grid;width:30px;height:30px;padding:0;place-items:center}.notification-popover button span:nth-child(2){display:flex;flex-direction:column}.notification-popover button strong{font-size:12px}.notification-popover button small{margin-top:3px;color:var(--muted);font-size:10px}.but-page{display:flex;min-height:0;flex:1;flex-direction:column;gap:12px}.provider-status-summary{margin:0}.notice-dot{width:7px;height:7px;margin-top:5px;border-radius:50%;background:var(--muted)}.notice-dot--danger{background:var(--danger)}.notice-dot--warning{background:var(--orange)}.notice-dot--info{background:var(--cyan)}.account-popover{top:47px;right:0;display:flex;width:235px;flex-direction:column;gap:3px;padding:10px}.account-popover>strong{padding:5px 6px 0;font-size:12px}.account-popover>small{padding:0 6px 8px;color:var(--muted);font-size:10px}.account-popover button{display:flex;align-items:center;gap:8px;padding:9px;border:0;border-radius:5px;background:transparent;font-size:12px;text-align:left;cursor:pointer}.account-popover button:hover{background:var(--surface-alt)}.mobile-menu,.mobile-nav,.mobile-scrim{display:none}.page-content{min-width:0}.global-error{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;margin:12px 18px 0;padding:10px 12px;border:1px solid #efadb3;border-radius:6px;color:#8e1520;background:var(--danger-soft);font-size:11px;font-weight:650}.global-error .icon-button{color:inherit}.global-refresh{display:flex;align-items:center;gap:8px;margin:12px 18px 0;padding:9px 12px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:var(--surface-alt);font-size:11px;font-weight:650}.button{display:inline-flex;min-height:36px;align-items:center;justify-content:center;gap:7px;padding:0 13px;border:1px solid var(--line);border-radius:6px;color:#2f3b50;background:#fff;font-size:12px;font-weight:650;line-height:1;text-decoration:none;white-space:nowrap;cursor:pointer}.button:hover:not(:disabled){background:#f7f9fa}.button:disabled{cursor:not-allowed;opacity:.5}.button--primary{border-color:var(--primary);color:#fff;background:var(--primary)}.button--primary:hover:not(:disabled){border-color:var(--primary-dark);background:var(--primary-dark)}.button--danger{border-color:var(--danger);color:#fff;background:var(--danger)}.button--danger:hover:not(:disabled){border-color:var(--danger-dark);background:var(--danger-dark)}.button--ghost{border-color:transparent;background:transparent}.full-width{width:100%}.badge{display:inline-flex;min-height:22px;align-items:center;justify-content:center;padding:0 8px;border-radius:5px;color:#5f6879;background:#eff2f4;font-size:10px;font-weight:700;line-height:1;white-space:nowrap}.badge--success{color:#2d763b;background:#e7f3e9}.badge--danger{color:#c21725;background:#feecef}.badge--warning{color:#aa610d;background:#fff1dd}.badge--info{color:#167a9a;background:#e7f6fb}.schedule-page{min-height:calc(100vh - var(--topbar));background:#fff}.schedule-toolbar{display:grid;min-height:48px;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:5px 17px 5px 22px;border-bottom:1px solid var(--line)}.date-control,.date-buttons{display:flex;align-items:center}.date-control{gap:14px}.date-control strong{font-size:16px;text-transform:capitalize}.date-buttons{gap:7px}.schedule-actions{display:flex;align-items:center;gap:7px}.date-buttons .icon-button,.date-buttons .button{border-color:var(--line)}.date-buttons>span{margin-left:6px;color:var(--muted);font-size:11px}.view-toolbar{display:flex;min-height:49px;align-items:center;gap:12px;padding:5px 17px 5px 22px;border-bottom:1px solid var(--line-soft)}.view-toolbar .filter-anchor{margin-left:auto}.segmented{display:inline-flex;gap:3px;padding:3px;border:1px solid var(--line);border-radius:6px;background:#f8fafb}.segmented button,.list-filters button,.tabs button{border:0;background:transparent;cursor:pointer}.segmented button{min-width:50px;height:30px;padding:0 12px;border-radius:4px;font-size:11px;font-weight:650}.segmented button.is-active{color:#fff;background:var(--primary)}.filter-menu{top:43px;right:0;display:flex;width:230px;flex-direction:column;gap:10px;padding:13px;font-size:11px}.filter-menu label{display:flex;align-items:center;gap:7px}.exceptions-bar{display:flex;min-height:45px;align-items:center;gap:22px;padding:0 18px 0 22px;border-bottom:1px solid var(--line);background:#fff;color:var(--muted);font-size:11px}.exceptions-bar strong{color:#2b364b}.exceptions-bar span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}.exceptions-bar button{display:flex;align-items:center;gap:4px;margin-left:auto;border:0;color:var(--primary);background:transparent;font-size:11px;cursor:pointer}.exceptions-bar button:disabled{color:var(--muted);cursor:default;opacity:.55}.schedule-exception-list{max-height:min(440px,60vh);overflow-y:auto;border-block:1px solid var(--line)}.schedule-exception-list>button:first-child{border-top:0}.schedule-exception-list>button small{line-height:1.5;white-space:normal}.schedule-exception-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:5px}.schedule-exception-icon--conflict{color:#9b5700;background:#fff1dc}.schedule-exception-icon--teacher_missing{color:var(--danger);background:var(--danger-soft)}.schedule-exception-icon--attendance_open{color:var(--primary);background:#e7f5fa}.dot{width:7px;height:7px;border-radius:50%}.dot--orange{background:var(--orange)}.dot--red{background:var(--danger)}.dot--blue{background:var(--cyan)}.schedule-workarea{display:grid;min-width:0;height:calc(100vh - 108px);grid-template-columns:minmax(0,1fr) 390px;overflow:hidden}.schedule-main{display:flex;min-width:0;min-height:0;flex-direction:column;overflow:hidden}.schedule-scroll{min-width:0;min-height:0;flex:1;overflow:auto}.schedule-grid{display:flex;min-height:100%;flex-direction:column;background:#fff}.schedule-grid__header{position:sticky;top:0;z-index:10;display:grid;min-height:60px;grid-template-columns:78px repeat(4,minmax(170px,1fr));border-bottom:1px solid var(--line);background:#f8fafb}.schedule-grid__header>div{display:flex;flex-direction:column;justify-content:center;padding:0 13px;border-right:1px solid var(--line)}.schedule-grid__header strong{font-size:11px}.schedule-grid__header span{margin-top:4px;color:var(--muted);font-size:10px}.schedule-grid__header .time-heading{font-size:11px;font-weight:700}.schedule-grid__body{display:grid;min-height:720px;flex:1;grid-template-columns:78px repeat(4,minmax(170px,1fr))}.time-column,.room-lane{position:relative;min-height:720px;border-right:1px solid var(--line);background:#edf2f6}.schedule-time-band,.schedule-time-block{position:absolute;inset-inline:0;border-top:2px solid #a9becd;border-bottom:1px solid #c8d6df;background:#fff}.schedule-time-band:nth-child(2n),.schedule-time-block:nth-child(2n){background:#f5f9fc}.schedule-time-band{pointer-events:none}.schedule-time-block{display:flex;flex-direction:column;gap:5px;padding:12px 8px;color:#34495b}.schedule-time-block strong{color:var(--primary);font-size:10px}.schedule-time-block span{font-size:12px;font-weight:750}.schedule-time-block small{color:#53687b;font-size:10px}.lesson-card{position:absolute;right:6px;left:6px;z-index:2;display:flex;min-height:50px;flex-direction:column;align-items:flex-start;padding:7px 9px;overflow:hidden;border:1px solid #a8d4ae;border-radius:5px;color:#263248;background:#f3faf3;text-align:left;cursor:pointer}.lesson-card:hover{box-shadow:0 5px 12px #20304314}.lesson-card--selected{border:2px solid #24a7cf;background:#f1fbfe}.lesson-card--teacher{border-color:#f18e96;background:#fff1f2}.lesson-card--room,.lesson-card--student{border-color:#f2ad54;background:#fff7ec}.lesson-card__time{padding:2px 5px;border-radius:3px;color:#334c60;background:#ffffffd1;font-size:10px;font-weight:750}.lesson-card--selected .lesson-card__time{color:#209ac0}.lesson-card--room .lesson-card__time,.lesson-card--student .lesson-card__time{color:#d4770e}.lesson-card strong{margin-top:3px;font-size:11px;line-height:1.15}.lesson-card__teacher,.lesson-card__students{display:flex;width:100%;gap:5px;margin-top:6px;line-height:1.35;overflow-wrap:anywhere}.lesson-card__teacher{flex-shrink:0;color:#263248;font-size:11px;font-weight:650}.lesson-card__students{min-height:0;overflow-y:auto;overscroll-behavior-y:contain;color:#36445a;font-size:11px}.lesson-card__teacher>svg,.lesson-card__students>svg{flex-shrink:0;margin-top:1px}.lesson-card__students>span{display:flex;flex-direction:column;gap:2px}.lesson-card small{display:flex;flex-shrink:0;align-items:center;gap:4px;margin-top:auto;padding-top:5px;padding-right:16px;color:#566278;font-size:9px}.lesson-card small em{margin-left:5px;color:var(--danger);font-style:normal;font-weight:700}.lesson-card--room small em,.lesson-card--student small em{color:#d4770e}.lesson-card__state{position:absolute;right:7px;bottom:7px;display:grid;width:16px;height:16px;place-items:center;border-radius:50%;color:#fff;background:var(--green)}.lesson-card--selected .lesson-card__state{color:var(--cyan);background:transparent}.lesson-card--teacher .lesson-card__state{color:var(--danger);background:transparent}.lesson-card--room .lesson-card__state,.lesson-card--student .lesson-card__state{color:var(--orange);background:transparent}.lesson-detail{min-width:0;border-left:1px solid var(--line);background:#fff;overflow-y:auto}.lesson-detail__header{display:flex;min-height:48px;align-items:center;justify-content:space-between;padding:0 15px;color:var(--muted);font-size:10px;font-weight:650}.lesson-detail__header>div{display:flex}.lesson-summary,.detail-section{padding:0 15px 14px;border-bottom:1px solid var(--line)}.lesson-summary__title{display:flex;align-items:center;gap:10px}.subject-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:var(--cyan)}.lesson-summary h2{font-size:16px}.lesson-summary__meta{display:flex;align-items:center;justify-content:space-between;margin:8px 0 10px 18px;color:#536076;font-size:10px}.detail-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:8px}.detail-actions .button{min-width:0;padding-inline:10px;overflow:hidden;font-size:11px}.detail-actions .button span{overflow:hidden;text-overflow:ellipsis}.detail-section{padding-top:13px}.detail-section h3,.section-heading h3,.info-section h3{font-size:12px}.schedule-inline-editor{display:grid;gap:11px;padding-bottom:16px;background:#f8fbfd}.schedule-inline-editor__heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.schedule-inline-editor__heading h3{color:#173b54;font-size:13px}.schedule-inline-editor__heading>span{color:var(--muted);font-size:10px}.schedule-inline-editor__fields{display:grid;gap:10px}.schedule-inline-editor__fields .field{min-width:0}.schedule-inline-editor__students{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}.schedule-inline-editor__students .group-member-chip>span{display:grid;line-height:1.2}.schedule-inline-editor__students .group-member-chip small{font-size:9px;font-weight:500}.schedule-inline-editor__search{position:relative}.schedule-inline-editor__search .list-search{width:100%;margin:0}.schedule-inline-editor__results{display:grid;max-height:190px;margin-top:4px;overflow-y:auto;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 8px 20px #1a2b3d17}.schedule-inline-editor__results button{display:flex;min-height:42px;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border:0;border-bottom:1px solid var(--line-soft);background:#fff;text-align:left;cursor:pointer}.schedule-inline-editor__results button:hover{background:#eef7fb}.schedule-inline-editor__results button span{display:grid;font-size:11px;font-weight:650}.schedule-inline-editor__results button small{margin-top:2px;color:var(--muted);font-size:9px;font-weight:500}.schedule-inline-editor__results p{margin:0;padding:11px;color:var(--muted);font-size:11px}.schedule-inline-editor__time{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.schedule-inline-editor__scope{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:0;padding:0;border:0}.schedule-inline-editor__scope legend{margin-bottom:5px;color:var(--muted);font-size:10px;font-weight:700}.schedule-inline-editor__scope label{display:flex;min-width:0;align-items:flex-start;gap:5px;padding:9px 7px;border:1px solid var(--line);border-radius:6px;background:#fff;cursor:pointer}.schedule-inline-editor__scope label:has(input:checked){border-color:#2487a9;background:#eef8fc}.schedule-inline-editor__scope input{margin:2px 0 0}.schedule-inline-editor__scope span{display:grid;min-width:0;gap:3px}.schedule-inline-editor__scope strong{font-size:11px}.schedule-inline-editor__scope small{color:var(--muted);font-size:9px;line-height:1.25}.schedule-inline-editor__saved{display:flex;align-items:center;gap:5px;margin:0;color:#186845;font-size:11px;font-weight:650}.student-feedback-entries{display:grid;gap:8px;margin-top:10px}.student-feedback-entry{display:grid;gap:4px;padding:10px 11px;border:1px solid var(--line-soft);border-radius:6px;background:var(--surface-alt);font-size:11px;line-height:1.4;overflow-wrap:anywhere}.student-feedback-entry strong{color:var(--ink)}.student-feedback-entry span{color:var(--muted)}.student-feedback-entry .text-danger{color:var(--danger);font-weight:650}.detail-list{display:flex;flex-direction:column;gap:11px;margin:13px 0 0}.detail-list>div{display:grid;grid-template-columns:120px minmax(0,1fr);gap:8px;align-items:start}.detail-list dt{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px}.detail-list dd{margin:0;font-size:10px;line-height:1.35}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.section-heading h3{display:flex;align-items:center;gap:7px}.section-heading>span{color:var(--muted);font-size:10px}.participant-section-heading>div:first-child{display:flex;min-width:0;flex-direction:column;gap:3px}.participant-section-heading>div:first-child>span{color:var(--muted);font-size:9px}.participant-section-heading__action.button{min-height:30px;flex:0 0 auto;padding:0 9px;font-size:10px}.participant-table{margin:10px 0}.participant-table__head,.participant-table__row{display:grid;width:100%;grid-template-columns:minmax(0,1fr) 92px;align-items:center;gap:6px;text-align:left}.participant-table__head{padding:0 8px 7px;color:var(--muted);font-size:9px}.participant-table__row{min-height:38px;padding:2px 4px 2px 8px;border-top:1px solid var(--line-soft);font-size:9px}.participant-table__row>span:first-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.participant-table__row .participant-attendance{min-height:30px;padding:0 7px;border:0;border-radius:4px;background:transparent;font-size:9px;cursor:pointer}.participant-table__row .participant-attendance:hover{background:#f1f5f7}.participant-table__row--summary>span:first-child{white-space:normal}.participant-table__row--summary>span:first-child>strong,.participant-table__row--summary>span:first-child>small{display:block}.participant-table__row--summary>span:first-child>small{color:var(--muted)}.participant-table__row .participant-attendance--readonly{display:inline-flex;align-items:center;cursor:default}.participant-table__row .participant-attendance--readonly:hover{background:transparent}.participants>.button+.button{margin-top:7px}.lesson-participant-editor{display:grid;gap:12px}.lesson-participant-editor__summary{display:flex;min-height:48px;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid var(--line);border-radius:6px;background:#f8fafb;color:var(--muted);font-size:10px}.lesson-participant-editor__summary>span{display:flex;align-items:center;gap:7px}.lesson-participant-editor__summary strong{color:var(--ink);font-size:12px}.lesson-participant-editor__search{width:100%;margin:0}.lesson-participant-editor__capacity-note{margin-top:0}.lesson-participant-editor__groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.lesson-participant-editor__section{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fff}.lesson-participant-editor__section>header{min-height:48px;padding:10px 12px;border-bottom:1px solid var(--line);background:#f8fafb}.lesson-participant-editor__section>header>div{display:flex;flex-direction:column;gap:3px}.lesson-participant-editor__section>header strong{font-size:11px}.lesson-participant-editor__section>header small{color:var(--muted);font-size:9px}.lesson-participant-editor__list{max-height:252px;overflow-y:auto}.lesson-participant-option{display:grid;min-height:58px;grid-template-columns:18px 34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 10px;border-bottom:1px solid var(--line-soft);cursor:pointer}.lesson-participant-option:last-child{border-bottom:0}.lesson-participant-option:hover,.lesson-participant-option.is-selected{background:#f4fafc}.lesson-participant-option.is-removed{background:#fff8ee}.lesson-participant-option.is-disabled{color:#6f7a8b;background:#fafbfc;cursor:not-allowed}.lesson-participant-option>input{width:16px;height:16px;accent-color:var(--primary)}.lesson-participant-option__identity{display:flex;min-width:0;flex-direction:column;gap:3px}.lesson-participant-option__identity strong{overflow:hidden;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.lesson-participant-option__identity small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.lesson-participant-option__identity .lesson-participant-option__state{color:#8b560e;font-weight:650}.lesson-participant-option.is-selected .lesson-participant-option__state{color:var(--primary)}.lesson-participant-editor__empty{min-height:80px;padding:24px 12px;color:var(--muted);font-size:10px;line-height:1.45;text-align:center}.lesson-participant-editor__changes{display:grid;gap:10px;padding:12px;border:1px solid #a8ccdd;border-radius:6px;background:var(--primary-soft)}.lesson-participant-editor__changes>strong{color:var(--primary-dark);font-size:11px}.lesson-participant-editor__change-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.lesson-participant-editor__change-grid>span{display:grid;min-width:0;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:7px;color:var(--primary-dark)}.lesson-participant-editor__change-grid>span>span{display:flex;min-width:0;flex-direction:column;gap:2px}.lesson-participant-editor__change-grid small{color:var(--muted);font-size:8px;text-transform:uppercase}.lesson-participant-editor__change-grid strong{overflow-wrap:anywhere;color:var(--ink);font-size:10px;line-height:1.35}.lesson-participant-editor__changes>p{display:flex;align-items:flex-start;gap:7px;margin:0;padding-top:9px;border-top:1px solid #bdd8e4;color:#825315;font-size:9px;line-height:1.45}.lesson-participant-editor__changes>p svg{flex:0 0 auto}.lesson-participant-editor__confirmation-status{display:flex;align-items:flex-start;gap:9px;padding:11px 12px;border:1px solid #a9d4af;border-radius:6px;color:#2b6a37;background:var(--green-soft)}.lesson-participant-editor__confirmation-status>span{display:flex;flex-direction:column;gap:3px}.lesson-participant-editor__confirmation-status strong{font-size:10px}.lesson-participant-editor__confirmation-status small{font-size:9px;line-height:1.4}.lesson-participant-editor__footer-confirmation{display:grid;min-width:190px;grid-template-columns:17px minmax(0,1fr);align-items:center;gap:8px;margin-right:auto;cursor:pointer}.lesson-participant-editor__footer-confirmation>input{width:16px;height:16px;accent-color:var(--primary)}.lesson-participant-editor__footer-confirmation>span{display:flex;min-width:0;flex-direction:column;gap:2px}.lesson-participant-editor__footer-confirmation strong{font-size:10px}.lesson-participant-editor__footer-confirmation small{color:var(--muted);font-size:8px}.attendance{display:flex;align-items:center;justify-content:space-between;gap:8px}.attendance i{width:8px;height:8px;border-radius:50%;background:#aeb6c0}.attendance--present i{background:var(--green)}.attendance--excused i{background:var(--cyan)}.attendance--absent{color:var(--orange)}.attendance--absent i{background:var(--orange)}.detail-list--compact>div{grid-template-columns:1fr 1fr}.progress-row{display:flex;align-items:center;justify-content:space-between;margin-top:12px;color:var(--muted);font-size:10px}.progress-row strong{color:var(--ink)}.progress{height:7px;margin:7px 0 13px;overflow:hidden;border-radius:4px;background:#e9edf1}.progress span{display:block;height:100%;border-radius:inherit;background:var(--green)}.progress--large{height:9px}.but-coverage__warning{margin:10px 0 0;padding:8px 9px;border-left:3px solid var(--orange);color:#805012;background:var(--orange-soft);font-size:9px;line-height:1.4}.muted{color:var(--muted);font-size:11px;line-height:1.5}.week-board{display:grid;width:100%;min-width:0;flex:1;grid-template-columns:repeat(5,minmax(168px,1fr));background:#fff;overflow:auto}.week-board section{display:contents}.week-board header{position:sticky;top:0;z-index:3;display:flex;min-height:66px;align-items:center;justify-content:center;gap:7px;border-bottom:1px solid var(--line);background:#f8fafb;font-size:11px}.week-board header strong{display:grid;width:28px;height:28px;place-items:center;border-radius:50%;color:#fff;background:var(--primary)}.week-board section>div{display:flex;flex-direction:column;gap:8px;padding:9px}.week-time-block{min-width:0;min-height:140px;align-self:stretch;border-right:1px solid var(--line);border-top:2px solid #a9becd;border-bottom:8px solid #edf2f6;background:#fff}.week-time-block:nth-of-type(2n){background:#f5f9fc}.week-time-block h3{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:3px 8px;padding:1px 0 5px;font-size:10px}.week-time-block h3 span{color:#526b7b;font-size:9px;font-weight:650}.week-time-block h3 strong{color:#244e68;font-size:11px;white-space:nowrap}.week-board button .week-lesson__time{color:#334c60;font-weight:750}.schedule-student-label{display:inline-flex;flex-wrap:wrap;align-items:baseline;column-gap:5px;row-gap:1px}.schedule-student-label__grade{color:#556b7c;font-size:.86em;font-weight:600;white-space:nowrap}.week-board button .schedule-student-label,.week-board button .schedule-student-label>span{color:inherit;font-size:inherit}.week-board button .schedule-student-label__grade{color:#556b7c;font-size:9px}.week-board section>div>button{display:flex;flex:0 0 auto;min-width:0;min-height:72px;flex-direction:column;align-items:flex-start;padding:9px;overflow-wrap:anywhere;border:1px solid #b8dabb;border-radius:5px;background:var(--green-soft);text-align:left;cursor:pointer}.week-board section>div>button.is-conflict--teacher{border-color:#f18e96;background:#fff1f2}.week-board section>div>button.is-conflict--room,.week-board section>div>button.is-conflict--student{border-color:#f2ad54;background:#fff7ec}.week-board button span,.week-board button small,.week-board p{color:var(--muted);font-size:10px}.week-board button strong{margin:4px 0;font-size:11px}.week-board button .week-lesson__participants{display:flex;align-self:stretch;flex-direction:column;gap:3px;margin-top:8px;padding-top:7px;border-top:1px solid #d3dfd6}.week-board button .week-lesson__participant-count{display:flex;align-items:center;gap:5px;margin-bottom:2px;color:#475569;font-size:10px}.week-lesson__participant-count svg{flex-shrink:0}.week-board button .week-lesson__student{color:#263248;font-size:11px;line-height:1.4}.week-board button .week-lesson__empty{line-height:1.4}.week-board p{padding:12px 4px;text-align:center}.month-board{width:100%;min-width:0;flex:1;background:#fff;overflow:auto}.month-board__weekdays,.month-board__grid{display:grid;min-width:770px;grid-template-columns:repeat(7,minmax(110px,1fr))}.month-board__weekdays{position:sticky;top:0;z-index:5;min-height:34px;border-bottom:1px solid var(--line);background:#f8fafb}.month-board__weekdays span{display:grid;place-items:center;border-right:1px solid var(--line);color:var(--muted);font-size:10px;font-weight:700}.month-board__grid{grid-template-rows:repeat(6,minmax(92px,1fr));min-height:calc(100% - 34px)}.month-board__grid>button{display:flex;min-width:0;min-height:92px;flex-direction:column;align-items:stretch;gap:5px;padding:7px;overflow:hidden;border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;color:var(--ink);text-align:left;cursor:pointer}.month-board__grid>button:hover{background:#f7fafb}.month-board__grid>button.is-outside{color:#a2abb8;background:#fafbfc}.month-board__grid>button.is-selected{box-shadow:inset 0 0 0 2px var(--cyan)}.month-board__grid>button>strong{display:grid;width:24px;height:24px;place-items:center;border-radius:50%;font-size:10px}.month-board__grid>button.is-selected>strong{color:#fff;background:var(--cyan)}.month-board__grid>button>span{display:flex;min-width:0;flex-direction:column;gap:3px}.month-board__grid small{overflow:hidden;padding:3px 5px;border-left:2px solid var(--green);border-radius:2px;background:var(--green-soft);color:#34455b;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.month-board__grid small.is-conflict--teacher{border-left-color:var(--danger);background:#fff1f2}.month-board__grid small.is-conflict--room,.month-board__grid small.is-conflict--student{border-left-color:var(--orange);background:#fff7ec}.month-board__grid em{color:var(--muted);font-size:9px;font-style:normal}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:180;display:grid;place-items:center;padding:22px;background:#131c2b7a}.modal{display:flex;width:min(560px,100%);max-height:min(760px,calc(100vh - 44px));flex-direction:column;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 26px 70px #111c2d3d}.modal--wide{width:min(760px,100%)}.modal__header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:17px 19px;border-bottom:1px solid var(--line)}.modal__header h2{font-size:17px}.modal__header p{margin-top:5px;color:var(--muted);font-size:11px;line-height:1.45}.modal__body{padding:18px 19px;overflow-y:auto}.modal__footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:12px 19px;border-top:1px solid var(--line)}.modal-footer-spacer{flex:1}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.family-editor{margin-top:20px;padding-top:17px;border-top:1px solid var(--line)}.family-editor>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:11px}.family-editor>header h3{font-size:12px}.family-editor>header p{margin-top:3px;color:var(--muted);font-size:9px}.family-contact-list{display:flex;flex-direction:column;gap:10px}.family-contact-card{padding:13px;border:1px solid var(--line);border-radius:6px;background:#fbfcfd}.family-contact-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.family-contact-card>header>div{display:flex;min-width:0;align-items:center;gap:9px}.family-contact-card>header>div>span:last-child{display:flex;min-width:0;flex-direction:column;gap:3px}.family-contact-card>header strong,.family-contact-card>header small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.family-contact-card>header strong{font-size:11px}.family-contact-card>header small{color:var(--muted);font-size:9px}.family-contact-actions{display:flex;flex:0 0 auto;align-items:center;gap:7px}.family-contact-fields{gap:10px 12px}.family-contact-flags{display:flex;min-width:0;flex-wrap:wrap;gap:8px 16px;margin-top:12px;padding:10px 0 0;border:0;border-top:1px solid var(--line-soft)}.family-contact-flags legend{width:100%;margin-bottom:8px;padding:0;color:#344056;font-size:9px;font-weight:750}.family-contact-flags label{display:inline-flex;align-items:center;gap:6px;color:#4f5b6f;font-size:9px}.family-editor--compact{margin-top:16px}.sibling-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.sibling-picker>label{display:grid;min-width:0;min-height:45px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:7px;padding:7px 9px;border:1px solid var(--line);border-radius:5px;background:#fff}.sibling-picker>label>span{display:flex;min-width:0;flex-direction:column;gap:3px}.sibling-picker strong,.sibling-picker small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sibling-picker strong{font-size:10px}.sibling-picker small{color:var(--muted);font-size:8px}.sepa-history-list{display:flex;flex-direction:column;gap:8px;margin-bottom:13px}.sepa-history-list article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 10px;border-left:3px solid #aab4c1;background:#f7f9fb}.sepa-history-list article>div{display:flex;min-width:0;align-items:center;gap:8px}.sepa-history-list article strong,.sepa-history-list article span,.sepa-history-list article small{font-size:9px}.sepa-history-list article span,.sepa-history-list article small{color:var(--muted)}.sepa-history-list article small{text-align:right}.sepa-active-row,.sepa-revoke-row,.sepa-draft-row{display:flex;align-items:center;gap:9px;margin-top:12px}.sepa-active-row>span{margin-right:auto;color:var(--muted);font-size:10px}.sepa-revoke-row .input{flex:1}.sepa-draft-row .check-row{flex:1;margin-top:0}.span-2{grid-column:1 / -1}.field{display:flex;min-width:0;flex-direction:column;gap:6px}.field__label{color:#344056;font-size:11px;font-weight:650}.field__hint{color:var(--muted);font-size:9px}.field-error{color:#a81420;font-size:9px;line-height:1.35}.field-error--standalone{margin-top:7px}.field--invalid .field__label{color:#a81420}.field--invalid .input,.field--invalid .select,.field--invalid textarea,[aria-invalid=true]{border-color:#d93d4b;background:#fff7f8;box-shadow:0 0 0 1px #d93d4b14}.input,.select,textarea{width:100%;min-height:38px;padding:0 10px;border:1px solid #ced6df;border-radius:5px;color:var(--ink);background:#fff;font-size:12px}.textarea{min-height:88px;padding-block:9px;resize:vertical;line-height:1.45}.intake-note-history{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}.intake-note-history article{padding:12px 0;border-top:1px solid var(--line)}.intake-note-history article:first-of-type{border-top:0}.intake-note-history article>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.intake-note-history time{color:var(--muted);font-size:11px}.intake-note-history p{margin:6px 0 0;line-height:1.5;white-space:pre-wrap}.contact-manager-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px}.contact-manager-heading p{margin:0;color:var(--muted);font-size:12px}.contact-role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}.contact-role-grid label{display:flex;align-items:center;gap:8px;min-height:38px;padding:8px 10px;border:1px solid var(--line);border-radius:5px;font-size:12px}.contact-consent-editor{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}.consent-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.consent-badges button{display:inline-flex;align-items:center;gap:5px;border:0;border-radius:4px;padding:5px 7px;color:#0d665d;background:#e7f5f1;font-size:10px;cursor:pointer}.consent-badges span{color:var(--muted);font-size:11px}.text-area{min-height:112px;padding:10px;resize:vertical;font:inherit}.select--small{min-height:32px;width:130px;font-size:10px}.school-combobox{position:relative;width:100%}.school-combobox-input{position:relative;display:flex;align-items:center}.school-combobox-input>svg:first-child{position:absolute;left:10px;z-index:1;color:#66778b;pointer-events:none}.school-combobox-input>svg:last-child{position:absolute;right:10px;color:#66778b;pointer-events:none}.school-combobox-input .input{padding-left:34px;padding-right:32px}.school-combobox-menu{position:absolute;z-index:70;top:calc(100% + 4px);left:0;right:0;max-height:260px;overflow-y:auto;border:1px solid #c8d3df;border-radius:6px;background:#fff;box-shadow:0 12px 28px #132a4129}.school-combobox-menu button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border:0;border-bottom:1px solid #edf1f5;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.school-combobox-menu button:hover,.school-combobox-menu button.is-active{background:#edf7fa}.school-combobox-menu button span{min-width:0;display:grid;gap:2px}.school-combobox-menu button strong,.school-combobox-menu button small{overflow-wrap:anywhere}.school-combobox-menu button strong{font-size:12px}.school-combobox-menu button small{color:#66778b;font-size:10px}.school-combobox-empty,.school-combobox-custom{padding:10px;font-size:11px;color:#66778b}.school-combobox-custom{display:grid;gap:2px;border-top:1px solid #dce4ec;background:#f8fafc}.school-combobox-custom strong{color:var(--ink)}.multi-select{position:relative;min-width:0}.multi-select>summary{display:flex;width:100%;min-height:38px;align-items:center;justify-content:space-between;gap:8px;padding:0 10px;border:1px solid #ced6df;border-radius:5px;background:#fff;font-size:12px;cursor:pointer;list-style:none}.multi-select>summary::-webkit-details-marker{display:none}.multi-select>summary>span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.multi-select>summary>span.is-placeholder{color:var(--muted)}.multi-select>summary>svg{flex:0 0 auto;color:var(--muted);transition:transform .16s ease}.multi-select[open]>summary{border-color:#1f8fbd;box-shadow:0 0 0 2px #1f8fbd1f}.multi-select[open]>summary>svg{transform:rotate(180deg)}.multi-select__menu{position:absolute;top:calc(100% + 5px);right:0;left:0;z-index:150;display:flex;max-height:210px;flex-direction:column;gap:2px;padding:5px;overflow-y:auto;border:1px solid var(--line);border-radius:6px;background:#fff;box-shadow:0 14px 32px #19233529}.multi-select__menu label{display:flex;min-height:34px;align-items:center;gap:8px;padding:7px 8px;border-radius:4px;font-size:11px;cursor:pointer}.multi-select__menu label:hover{background:var(--surface-alt)}.multi-select__menu input{width:15px;height:15px;margin:0;accent-color:var(--primary)}.multi-select__empty{padding:8px;color:var(--muted);font-size:10px}.check-row{display:flex;align-items:flex-start;gap:9px;margin-top:17px;padding:11px;border:1px solid var(--line);border-radius:6px;background:#f8fafb}.check-row input{margin-top:2px;accent-color:var(--primary)}.check-row span{display:flex;flex-direction:column;gap:3px}.check-row strong{font-size:11px}.check-row small{color:var(--muted);font-size:10px}.check-row--invalid{border-color:#d93d4b;background:#fff7f8}.form-errors{display:flex;flex-direction:column;gap:5px;margin-top:14px;padding:11px;border:1px solid #efadb3;border-radius:6px;color:#a81420;background:var(--danger-soft);font-size:10px}.group-manager__footer{display:flex;width:100%;min-width:0;flex-direction:column;gap:8px}.group-manager__footer>.form-errors{max-height:min(170px,30vh);margin:0;overflow-y:auto}.group-manager__footer-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.group-manager{display:grid;min-height:560px;grid-template-columns:190px minmax(0,1fr);margin:-18px -19px}.group-manager--quick{min-height:0;grid-template-columns:minmax(0,1fr)}.group-manager__list{display:flex;min-width:0;flex-direction:column;gap:12px;padding:14px;border-right:1px solid var(--line);background:#f8fafb}.group-manager__list>.button{width:100%}.group-manager__items{display:flex;min-height:0;flex:1;flex-direction:column;gap:4px;overflow-y:auto}.group-manager__items>button{display:flex;width:100%;min-width:0;align-items:flex-start;justify-content:space-between;gap:7px;padding:9px;border:1px solid transparent;border-radius:5px;color:var(--ink);background:transparent;text-align:left;cursor:pointer}.group-manager__items>button:hover{border-color:var(--line);background:#fff}.group-manager__items>button.is-active{border-color:#91bdc9;background:#e9f4f6}.group-manager__items>button>span{display:flex;min-width:0;flex-direction:column;gap:3px}.group-manager__items>button>span:first-child{flex:1}.group-manager__items>button>span:last-child{flex-shrink:0;align-items:flex-end}.group-manager__items strong{font-size:11px;line-height:1.35;overflow-wrap:anywhere}.group-manager__items small{color:var(--muted);font-size:9px;line-height:1.35}.group-manager__editor{min-width:0;padding:18px 19px}.group-manager__editor>h3{margin-bottom:12px;overflow-wrap:anywhere}.group-manager__summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:17px;border-block:1px solid var(--line)}.group-manager__summary>span{display:flex;min-height:52px;align-items:center;justify-content:center;gap:7px;padding:8px;border-right:1px solid var(--line);color:var(--muted);font-size:10px;text-align:center}.group-manager__summary>span:last-child{border-right:0}.group-manager__summary>span>span{display:flex;min-width:0;flex-direction:column;gap:3px}.group-manager__summary>span>small{display:block}.group-manager__summary strong{color:var(--ink);font-size:11px}.group-manager__summary small{color:var(--muted);font-size:8px;line-height:1.35}.quick-group-confirmation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin-bottom:14px;border:1px solid var(--line);background:var(--line)}.quick-group-confirmation>div{display:flex;min-width:0;min-height:78px;flex-direction:column;justify-content:center;gap:4px;padding:12px;background:#fff}.quick-group-confirmation span{color:var(--muted);font-size:8px;font-weight:750;text-transform:uppercase}.quick-group-confirmation strong{font-size:11px;overflow-wrap:anywhere}.quick-group-confirmation small{color:var(--muted);font-size:9px;line-height:1.4;overflow-wrap:anywhere}.group-advanced{border:0}.group-advanced>summary{display:none}.group-advanced--quick{border-top:1px solid var(--line)}.group-advanced--quick>summary{display:flex;min-height:42px;align-items:center;color:var(--brand);font-size:10px;font-weight:800;cursor:pointer}.group-advanced--quick>summary::marker{color:var(--muted)}.group-revenue-breakdown{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:15px;border-block:1px solid var(--line-soft);background:#fbfcfd}.group-revenue-breakdown>span{display:flex;min-width:0;min-height:48px;flex-direction:column;justify-content:center;gap:3px;padding:8px 10px;border-right:1px solid var(--line-soft)}.group-revenue-breakdown>span:last-child{border-right:0}.group-revenue-breakdown strong{font-size:11px}.group-revenue-breakdown small{color:var(--muted);font-size:8px;line-height:1.35}.group-manager__checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:15px}.group-manager__checks .check-row{margin-top:0}.group-manager__checks .check-row:last-child:nth-child(odd){grid-column:1 / -1}.group-members{margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:8px;background:#f8fafc}.group-members__heading h3,.group-members__waitlist h4{margin:0;font-size:12px}.group-members__heading h3>span,.group-members__waitlist h4>span{margin-left:5px;color:var(--muted)}.group-members__selected{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.group-member-chip{display:inline-flex;max-width:100%;align-items:center;gap:6px;padding:4px 5px 4px 9px;border:1px solid #b2d6c1;border-radius:6px;color:#21543a;background:#edf8f1;font-size:11px;font-weight:650}.group-member-chip>span{min-width:0;overflow-wrap:anywhere}.group-member-chip>svg{flex-shrink:0}.group-member-chip>button{display:inline-grid;flex:0 0 28px;width:28px;height:28px;place-items:center;border:0;border-radius:4px;color:inherit;background:transparent;cursor:pointer}.group-member-chip>button:hover{background:#d9eedf}.group-members .group-members__search{width:100%;margin:12px 0 0;background:#fff}.group-members__search:focus-within{outline:2px solid #1f8fbd;outline-offset:2px}.group-members__results{max-height:260px;margin-top:6px;overflow-y:auto;overscroll-behavior-y:contain;border:1px solid var(--line);border-radius:6px;background:#fff}.group-member-result{display:flex;align-items:center;border-bottom:1px solid var(--line-soft)}.group-member-result:last-child{border-bottom:0}.group-member-result__add{display:flex;flex:1;min-width:0;align-items:center;gap:9px;padding:10px;border:0;color:var(--ink);background:transparent;text-align:left;cursor:pointer}.group-member-result__add:hover{background:#eef6fa}.group-member-result__add>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:3px;overflow-wrap:anywhere}.group-member-result__add>svg,.group-member-result__add>.student-avatar{flex-shrink:0}.group-member-result__add strong{font-size:12px}.group-member-result__add small{color:var(--muted);font-size:10px}.group-member-result__add small.field-error{color:var(--danger)}.group-member-result__waitlist{align-self:stretch;padding:8px;border:0;border-left:1px solid var(--line-soft);color:var(--muted);background:transparent;font-size:10px;cursor:pointer}.group-member-result__waitlist:hover{color:var(--primary);background:#f1f5f9}.group-members__empty{margin:0;padding:5px 0;color:var(--muted);font-size:11px}.group-members__results>.group-members__empty{padding:12px}.group-members__waitlist{margin-top:14px}.group-member-chip--waiting{border-color:#e0c98e;color:#785b19;background:#fff8e7}.group-member-chip--waiting>button:hover{background:#f5e8c6}.group-members__announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.subject-allocation{margin-top:18px;padding-top:16px;border-top:1px solid var(--line)}.subject-allocation>header{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:4px}.subject-allocation>header>div{display:flex;flex-direction:column;gap:3px}.subject-allocation>header strong{font-size:12px}.subject-allocation>header span{color:var(--muted);font-size:9px;line-height:1.4}.subject-allocation__row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 36px;align-items:end;gap:10px;padding:14px 0;border-bottom:1px solid var(--line-soft)}.subject-allocation__row .span-2{grid-column:span 2}.subject-allocation__row .check-row{margin:0}.subject-allocation__row>.icon-button{align-self:center}.subject-allocation>footer{display:flex;align-items:center;justify-content:flex-end;gap:8px;padding-top:10px;font-size:10px}.subject-allocation>footer span{color:var(--muted)}.but-form-section{padding:18px 0;border-bottom:1px solid var(--line-soft)}.but-form-section:last-of-type{border-bottom:0}.but-form-section h3{margin-bottom:13px;font-size:12px}.but-form-section textarea{min-height:92px;padding:10px;resize:vertical;line-height:1.45}.attendance-editor{display:flex;flex-direction:column}.attendance-editor__toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;padding-bottom:10px;border-bottom:1px solid var(--line-soft)}.attendance-editor__toolbar>span{color:var(--muted);font-size:10px;font-weight:700}.attendance-editor__row{display:grid;grid-template-columns:36px minmax(120px,1fr) auto;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line-soft)}.attendance-editor__row>div:nth-child(2){display:flex;flex-direction:column;gap:3px}.attendance-editor__row strong{font-size:11px}.attendance-editor__row small{color:var(--muted);font-size:9px}.attendance-editor__reason{grid-column:2 / -1;display:grid;grid-template-columns:80px minmax(180px,260px) 80px minmax(180px,1fr);align-items:center;gap:10px}.attendance-editor__reason>span{color:var(--muted);font-size:9px;font-weight:700}.scope-options{display:grid;gap:8px;margin-top:14px;padding:0;border:0}.scope-options legend{margin-bottom:7px;color:var(--muted);font-size:9px;font-weight:750}.scope-options label{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;padding:10px;border:1px solid var(--line);border-radius:6px;cursor:pointer}.scope-options input{margin-top:2px}.scope-options span{display:flex;flex-direction:column;gap:3px}.scope-options strong{font-size:10px}.scope-options small{color:var(--muted);font-size:9px}.segmented--attendance button{min-width:auto;padding:0 8px;font-size:9px}.segmented--attendance button.is-active{background:#2f3e55}.toast{position:fixed;right:22px;bottom:22px;z-index:160;display:flex;max-width:min(430px,calc(100vw - 32px));align-items:center;gap:14px;padding:12px 15px;border:1px solid #9ed0a5;border-radius:6px;color:#245f31;background:#edf8ef;box-shadow:0 12px 30px #15223529;font-size:11px;font-weight:650}.toast>span{min-width:0;line-height:1.4}.toast>button{flex:0 0 auto;border:0;border-bottom:1px solid currentColor;color:inherit;background:transparent;font:inherit;cursor:pointer}.toast--danger{border-color:#efadb3;color:#a81420;background:var(--danger-soft)}.empty-state{display:grid;min-height:260px;place-items:center;align-content:center;gap:8px;padding:30px;color:var(--muted);text-align:center}.empty-state__icon{display:grid;width:44px;height:44px;place-items:center;border-radius:50%;background:#eef2f5}.empty-state strong{color:var(--ink);font-size:13px}.empty-state p{max-width:340px;font-size:11px;line-height:1.5}.directory-page{display:grid;height:calc(100dvh - var(--topbar));min-height:0;grid-template-rows:minmax(0,1fr);grid-template-columns:330px minmax(0,1fr);background:#fff;overflow:hidden}.record-list-panel{display:flex;min-width:0;min-height:0;flex-direction:column;border-right:1px solid var(--line);background:#fafbfc}.panel-heading{display:flex;min-height:65px;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border-bottom:1px solid var(--line)}.panel-heading>div{display:flex;flex-direction:column;gap:3px}.panel-heading strong{font-size:13px}.panel-heading>div>span{color:var(--muted);font-size:10px}.list-search{display:grid;height:38px;grid-template-columns:20px 1fr;align-items:center;gap:6px;margin:12px 14px 8px;padding:0 9px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:#fff}.list-search input{min-width:0;border:0;outline:0;background:transparent;font-size:11px}.list-search--wide{width:min(380px,100%);margin:0}.list-filters{display:flex;gap:5px;padding:0 14px 10px}.list-filters button{padding:5px 9px;border-radius:4px;color:var(--muted);font-size:10px}.list-filters button.is-active{color:#fff;background:#36445a}.student-list-sort{display:flex;align-items:center;gap:8px;margin:0 14px 10px;color:var(--muted);font-size:11px}.student-list-sort .select{flex:1;min-width:0;height:34px;padding:5px 8px;font-size:11px}.record-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:contain}.record-list-panel>:not(.record-list){flex-shrink:0}.record-list>button{display:grid;width:100%;min-height:65px;grid-template-columns:36px minmax(0,1fr) auto 16px;align-items:center;gap:9px;padding:9px 13px;border:0;border-top:1px solid var(--line-soft);background:transparent;text-align:left;cursor:pointer}.record-list>button:hover,.record-list>button.is-active{background:#fff}.record-list>button.is-active{box-shadow:inset 3px 0 var(--primary)}.record-list>button>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:4px}.record-list>button strong,.record-list>button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.record-list>button strong{font-size:11px}.record-list>button small{color:var(--muted);font-size:9px}.record-detail-panel{min-width:0;min-height:0;overflow-y:auto;background:#fff}.student-mobile-back{display:none}.record-header{display:flex;min-height:92px;align-items:center;justify-content:space-between;gap:16px;padding:16px 22px;border-bottom:1px solid var(--line)}.record-identity{display:flex;min-width:0;align-items:center;gap:13px}.record-identity>div{min-width:0}.record-identity>div>div{display:flex;flex-wrap:wrap;align-items:center;gap:7px 9px}.record-identity h2{font-size:19px}.record-identity p{margin-top:5px;color:var(--muted);font-size:10px}.record-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.record-kpis,.metric-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line);background:#f8fafb}.record-kpis>div,.metric-strip>div{display:flex;min-width:0;min-height:76px;flex-direction:column;justify-content:center;padding:11px 18px;border-right:1px solid var(--line)}.record-kpis>div:last-child,.metric-strip>div:last-child{border-right:0}.record-kpis span,.metric-strip span{color:var(--muted);font-size:9px}.record-kpis strong,.metric-strip strong{margin-top:4px;overflow:hidden;font-size:18px;text-overflow:ellipsis;white-space:nowrap}.record-kpis small,.metric-strip small{margin-top:4px;overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.tabs{display:flex;min-height:46px;align-items:stretch;gap:18px;padding:0 22px;border-bottom:1px solid var(--line);overflow-x:auto}.tabs button{position:relative;flex:0 0 auto;padding:0;color:var(--muted);font-size:11px;font-weight:650}.tabs button.is-active{color:var(--primary)}.tabs button.is-active:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:2px;background:var(--primary)}.tabs--page{margin:0 -20px 18px;padding-inline:20px}.record-tab-content{padding:19px 22px 40px}.record-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px}.teacher-record-overview{padding:0 22px 40px}.teacher-detail-loading{grid-column:1 / -1}.teacher-personnel-section .section-heading>div:last-child,.intake-activation-result__links{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.intake-activation-result{align-items:flex-start}.intake-activation-result__links{margin-top:10px}.teacher-completeness{margin:12px 0 18px}.info-section{min-width:0;padding:15px 0 20px;border-bottom:1px solid var(--line)}.info-section>p{margin:9px 0 14px;color:var(--muted);font-size:11px;line-height:1.55}.property-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 22px;margin:16px 0 0}.property-grid dt{color:var(--muted);font-size:9px}.property-grid dd{margin:5px 0 0;font-size:11px;line-height:1.4}.contact-person{display:flex;align-items:center;gap:10px;margin-top:15px}.contact-person>div{display:flex;flex-direction:column;gap:3px}.contact-person strong{font-size:11px}.contact-person small{color:var(--muted);font-size:9px}.contact-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.student-family-summary{display:flex;flex-direction:column;gap:13px;margin-top:12px}.student-family-summary>article{padding-bottom:12px;border-bottom:1px solid var(--line-soft)}.student-family-summary>article:last-child{padding-bottom:0;border-bottom:0}.student-family-summary .contact-person{margin-top:0}.student-family-summary .contact-actions{margin-top:8px}.student-family-summary>article>p{margin-top:7px;color:var(--muted);font-size:9px;line-height:1.45}.family-summary-flags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.inline-alert{display:flex;align-items:flex-start;gap:10px;margin-top:16px;padding:11px;border:1px solid #a9d4af;border-radius:6px;color:#2b6a37;background:var(--green-soft)}.inline-alert--warning{border-color:#efc788;color:#8b560e;background:var(--orange-soft)}.inline-alert--info{border-color:#a8ccdd;color:var(--primary-dark);background:var(--primary-soft)}.modal__body>.inline-alert:first-child{margin-top:0}.inline-alert>div{display:flex;flex-direction:column;gap:4px}.inline-alert strong{font-size:11px}.inline-alert span{font-size:10px;line-height:1.45}.inline-alert>.button{flex:none;margin-left:auto}.text-danger{color:var(--danger)}.record-table{overflow-x:auto}.record-table__head,.record-table__row{display:grid;min-width:680px;grid-template-columns:1.2fr 1.5fr 1fr 1fr;align-items:center;gap:12px;padding:10px 12px}.record-table__head{color:var(--muted);background:#f7f9fa;font-size:9px;font-weight:700}.record-table__row{border-bottom:1px solid var(--line-soft);font-size:10px}.record-table__row>span{display:flex;flex-direction:column;gap:4px}.record-table__row small{color:var(--muted);font-size:9px}.student-lessons-view{display:flex;flex-direction:column;gap:28px}.student-lessons-history{padding-top:18px;border-top:1px solid var(--line)}.student-lessons-history>.section-heading{margin-bottom:10px}.placement-panel{min-width:0}.placement-panel__header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px}.placement-panel__header h3{font-size:14px}.placement-panel__header p{margin-top:3px;color:var(--muted);font-size:9px}.placement-filters{display:grid;grid-template-columns:1.15fr 1.2fr repeat(2,.8fr) 1fr 1.2fr;gap:10px;padding:12px;border-block:1px solid var(--line);background:#f8fafb}.placement-simple-filters{display:grid;grid-template-columns:minmax(180px,.65fr) minmax(340px,1.35fr);gap:12px;align-items:end;padding:12px;border-block:1px solid var(--line);background:#f8fafb}.placement-weekdays-field{min-width:0}.weekday-picker{display:grid;grid-template-columns:repeat(5,minmax(48px,1fr));gap:5px}.weekday-picker button{min-height:34px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--muted);font:inherit;font-size:10px;font-weight:800;cursor:pointer}.weekday-picker button:hover{border-color:#7e9eb0;color:var(--brand)}.weekday-picker button.is-selected{border-color:var(--brand);background:#e8f3f7;color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.placement-results{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(500px,100%),1fr));gap:22px;margin-top:18px}.placement-results>section{min-width:0}.placement-results__heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.placement-results__heading>div{display:flex;align-items:center;gap:7px}.placement-results__heading h4{font-size:11px}.placement-list{display:flex;flex-direction:column;gap:7px}.placement-list article{display:grid;min-width:0;grid-template-columns:minmax(145px,1fr) minmax(145px,1fr) auto;align-items:center;gap:10px;min-height:67px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:#fff}.placement-list article.is-blocked{background:#fafbfc}.placement-list__main{display:flex;min-width:0;align-items:center;gap:8px}.placement-list__main>span:last-child,.placement-list__meta{display:flex;min-width:0;flex-direction:column;gap:4px}.placement-list strong,.placement-list small,.placement-list__meta>span{overflow-wrap:anywhere}.placement-list strong{font-size:10px}.placement-list small,.placement-list__meta>span{color:var(--muted);font-size:8px;line-height:1.4}.placement-list__meta>span{display:flex;align-items:center;gap:5px;color:#3f4d60}.placement-list article.is-blocked .placement-list__meta small{color:#9b4b30}.placement-list .button{min-width:104px}.placement-blocked{grid-column:1 / -1;border-top:1px solid var(--line)}.placement-blocked>summary{padding:10px 0;color:var(--muted);font-size:9px;font-weight:700;cursor:pointer}.placement-blocked>div{display:grid;gap:6px;padding-bottom:8px}.placement-blocked p{color:var(--muted);font-size:8px;line-height:1.45}.placement-blocked strong{color:var(--ink)}.placement-empty{min-height:54px;padding:17px 12px;border:1px dashed #ccd4dd;border-radius:5px;color:var(--muted);background:#fafbfc;font-size:9px;text-align:center}.placement-empty--wide{margin-top:14px}.teacher-availability-editor{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}.student-availability-editor{margin:16px 0;border:1px solid var(--line);border-radius:7px;overflow:hidden}.student-availability-editor>header{padding:12px 14px;background:#eef5f8;border-bottom:1px solid var(--line)}.student-availability-editor h3{font-size:12px;color:var(--ink)}.student-availability-editor header p,.student-availability-empty{margin:4px 0 0;font-size:11px;color:var(--muted)}.student-availability-day{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;align-items:center;padding:9px 14px;border-bottom:1px solid var(--line-soft)}.student-availability-day:last-child{border-bottom:0}.student-availability-day__name{font-size:11px}.student-availability-day__blocks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-width:0}.student-availability-block{display:flex;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:7px 5px;border:1px solid var(--line);border-radius:5px;font-size:11px;cursor:pointer;white-space:nowrap}.student-availability-block input{margin:0;flex-shrink:0;accent-color:var(--brand)}.student-availability-block.is-selected{background:#e8f3f9;border-color:#23759a;color:#145775}.student-availability-block:focus-within{outline:2px solid #23759a;outline-offset:2px}.student-availability-editor>.field-error,.student-availability-empty{padding:0 14px 10px}.placement-availability{padding:10px 12px;background:#eef5f8;border-radius:5px;margin:12px 0;color:var(--ink);line-height:1.6;font-size:11px}.intake-availability-summary{white-space:normal;line-height:1.4;margin-top:3px}@media(max-width:600px){.student-availability-day{grid-template-columns:1fr;padding:10px;gap:7px}.student-availability-block{flex-wrap:wrap;gap:4px;font-size:10px}}.teacher-availability-editor h3{margin-bottom:9px;font-size:11px}.teacher-availability-grid{display:flex;flex-direction:column;gap:6px}.teacher-availability-row{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:center;gap:9px}.teacher-availability-row>strong{font-size:9px}.teacher-availability-row>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.teacher-availability-row button{min-height:32px;padding:5px 7px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--muted);font:inherit;font-size:9px;font-weight:700;cursor:pointer}.teacher-availability-row button.is-selected{border-color:var(--brand);background:#e8f3f7;color:var(--brand);box-shadow:inset 0 0 0 1px var(--brand)}.teacher-availability-summary{display:flex;flex-direction:column;gap:5px;margin-top:13px;padding-top:11px;border-top:1px solid var(--line-soft)}.teacher-availability-summary>div{display:grid;grid-template-columns:30px minmax(0,1fr);gap:8px;font-size:9px}.teacher-availability-summary>div strong{color:var(--ink)}.teacher-availability-summary>div span{color:var(--muted);overflow-wrap:anywhere}.contract-current{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:11px 12px;border-left:3px solid var(--green);background:var(--green-soft)}.contract-current>span{display:flex;flex-direction:column;gap:3px}.contract-current strong{font-size:14px}.contract-current small{color:var(--muted);font-size:9px}.contract-fee-options{display:flex;min-width:0;flex-direction:column;gap:7px}.contract-fee-options>span{color:var(--muted);font-size:9px}.contract-fee-options>div{display:flex;flex-wrap:wrap;gap:6px}.contract-fee-options button{min-height:31px;padding:0 10px;border:1px solid var(--line);border-radius:5px;color:var(--ink);background:#fff;font-size:10px;font-weight:650;cursor:pointer}.contract-fee-options button:hover,.contract-fee-options button.is-active{border-color:var(--primary);color:var(--primary);background:var(--cyan-soft)}.contract-document-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}.timeline{max-width:720px}.timeline article{display:grid;grid-template-columns:18px 1fr;gap:10px;padding-bottom:20px}.timeline article i{width:9px;height:9px;margin-top:4px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 4px var(--cyan-soft)}.timeline article i.timeline-dot--complaint{background:var(--danger);box-shadow:0 0 0 4px var(--danger-soft)}.timeline article i.timeline-dot--success{background:var(--green);box-shadow:0 0 0 4px var(--green-soft)}.timeline article i.timeline-dot--invoice,.timeline article i.timeline-dot--task{background:#d17a13;box-shadow:0 0 0 4px #fff1dc}.timeline article i.timeline-dot--but,.timeline article i.timeline-dot--lesson{background:var(--primary);box-shadow:0 0 0 4px #e7f5fa}.timeline article>div{display:flex;flex-direction:column;gap:4px}.timeline-entry-heading{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.timeline-entry-heading .badge{font-size:8px}.timeline strong{font-size:11px}.timeline span{color:var(--muted);font-size:9px}.timeline p{margin-top:3px;color:#4f5b6f;font-size:10px;line-height:1.5}.timeline .button{align-self:flex-start;margin-top:4px}.document-list{display:flex;flex-direction:column}.document-list article{display:grid;min-height:62px;grid-template-columns:26px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid var(--line-soft)}.document-list.invoice-list article{grid-template-columns:26px minmax(0,1fr) auto auto 32px}.document-list article>div{display:flex;min-width:0;flex-direction:column;gap:4px}.document-list strong{font-size:11px}.document-list small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.page-section{min-height:calc(100vh - var(--topbar));padding:20px;background:#fff}.route-loading{display:flex;min-height:calc(100vh - var(--topbar));flex-direction:column;align-items:center;justify-content:center;gap:12px;color:var(--muted);font-size:14px;font-weight:700}.but-action-status{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:16px 24px;border-bottom:1px solid var(--line);color:var(--muted);font-size:14px}.but-action-status .record-actions{display:flex;flex-wrap:wrap}.but-action-status .record-actions .button{white-space:normal}.route-error{display:flex;min-height:calc(100vh - var(--topbar));align-items:center;justify-content:center;flex-direction:column;gap:9px;padding:24px;color:var(--text);text-align:center}.route-error>svg{color:var(--danger)}.route-error>strong{font-size:14px}.route-error>span{margin-bottom:5px;color:var(--muted);font-size:11px}.section-header{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:18px;margin:-4px 0 18px}.section-header h2{font-size:18px}.section-header p{margin-top:5px;color:var(--muted);font-size:10px}.section-header>div:last-child{display:flex;align-items:flex-end;gap:8px}.section-header .field{min-width:150px}.billing-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:8px;margin:0 0 12px}.billing-page .route-loading{min-height:240px}.workflow-steps{display:flex;min-height:70px;align-items:center;justify-content:center;gap:14px;margin:0 -20px;padding:10px 20px;border-block:1px solid var(--line);background:#f8fafb}.workflow-steps>div{display:flex;align-items:center;gap:9px;min-width:130px}.workflow-steps>div>span{display:grid;width:27px;height:27px;place-items:center;border:1px solid #ccd4dd;border-radius:50%;color:var(--muted);background:#fff;font-size:10px;font-weight:700}.workflow-steps>div.is-current>span{border-color:var(--primary);color:#fff;background:var(--primary)}.workflow-steps>div>div{display:flex;flex-direction:column;gap:3px}.workflow-steps strong{font-size:10px}.workflow-steps small{color:var(--muted);font-size:9px}.workflow-steps>svg{color:#9aa5b3}.metric-strip{margin:18px 0;border:1px solid var(--line)}.table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.table-toolbar__summary{color:var(--muted);font-size:9px}.table-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:10px}.table-pagination>span{color:var(--muted);font-size:10px}.filter-select{display:flex;align-items:center;gap:7px;color:var(--muted)}.data-table{width:100%;max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-inline:contain;border:1px solid var(--line);border-radius:6px}.data-table__head,.data-table__row{display:grid;min-width:900px;align-items:center;gap:12px;padding:10px 13px}.data-table__head{min-height:38px;color:var(--muted);background:#f5f7f9;font-size:9px;font-weight:700}.data-table__row{min-height:60px;border-top:1px solid var(--line-soft);background:#fff;font-size:10px}.data-table__row.is-highlighted{background:#f1f8fa;box-shadow:inset 3px 0 0 var(--brand)}.data-table__row>span{min-width:0}.table-actions{display:flex;align-items:center;gap:6px;min-height:32px}.official-forms-bar{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 18px;border-top:1px solid var(--line);background:#fff}.official-forms-bar>div:first-child{display:flex;flex-direction:column;gap:3px}.official-forms-bar>div:first-child span{color:var(--muted);font-size:9px;text-transform:uppercase}.official-forms-bar h3{margin:0;font-size:12px}.official-forms-bar>div:first-child small{color:var(--muted);font-size:9px}.official-forms-bar>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.form-version-warning{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:12px 18px;border-top:1px solid #efc788;color:#8b560e;background:var(--orange-soft)}.form-version-warning>div{display:flex;flex-direction:column;gap:3px;min-width:0}.form-version-warning strong{font-size:11px}.form-version-warning span{font-size:10px;line-height:1.45}.data-table__row>span:has(>small){display:flex;flex-direction:column;gap:4px}.data-table__row strong{font-size:10px}.data-table__row small{color:var(--muted);font-size:9px}.intake-table .data-table__head,.intake-table .data-table__row{min-width:1040px;grid-template-columns:52px 1.25fr .72fr 1.1fr .65fr .68fr 62px 104px}.intake-table input[type=checkbox]{width:15px;height:15px;accent-color:var(--primary)}.intake-activate-action{border-color:var(--primary);color:#fff;background:var(--primary)}.intake-activate-action:hover:not(:disabled){border-color:var(--primary-dark);background:var(--primary-dark)}.subject-checkboxes{display:flex;min-height:38px;flex-wrap:wrap;align-items:center;gap:6px;padding:6px;border:1px solid var(--line);border-radius:5px;background:#fff}.subject-checkboxes legend{width:100%;margin-bottom:2px;color:#344056;font-size:11px;font-weight:650}.subject-checkboxes[aria-invalid=true]{border-color:var(--danger);background:var(--danger-soft)}.subject-checkboxes label{display:inline-flex;align-items:center;gap:5px;padding:5px 7px;border:1px solid var(--line-soft);border-radius:4px;font-size:9px;cursor:pointer}.subject-checkboxes input{accent-color:var(--primary)}.subject-picker__toggle{align-self:flex-start;min-height:30px;padding:4px 0;font-size:11px}.student-form-more{margin-top:16px;border-top:1px solid var(--line)}.student-form-more>summary{display:flex;min-height:44px;align-items:center;color:var(--brand);font-size:10px;font-weight:800;cursor:pointer}.student-form-more>summary::marker{color:var(--muted)}.check-button,.task-check{display:grid;width:28px;height:28px;place-items:center;border:1px solid #cbd3dc;border-radius:5px;color:transparent;background:#fff;cursor:pointer}.check-button.is-checked,.task-check:has(svg){border-color:#7fbd89;color:#fff;background:var(--green)}.check-button:disabled{opacity:.45;cursor:not-allowed}.compact-lesson{display:grid;grid-template-columns:50px 1fr auto;align-items:center;gap:10px;min-height:56px;border-bottom:1px solid var(--line-soft)}.compact-lesson>span{font-size:11px;font-weight:700}.compact-lesson>div{display:flex;flex-direction:column;gap:3px}.compact-lesson strong{font-size:10px}.compact-lesson small{color:var(--muted);font-size:9px}.teacher-page{min-height:calc(100vh - var(--topbar));padding:18px;background:#f6f8fa}.teacher-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:4px 2px 18px}.teacher-hero>div:first-child{display:flex;flex-direction:column;gap:5px}.teacher-hero span,.teacher-hero p{color:var(--muted);font-size:10px}.teacher-hero h2{font-size:20px}.teacher-earnings{display:flex;min-width:220px;flex-direction:column;align-items:flex-end;gap:3px}.teacher-earnings strong{font-size:21px}.teacher-earnings small{color:var(--muted);font-size:9px}.teacher-layout{display:grid;grid-template-columns:340px minmax(0,1fr);border:1px solid var(--line);border-radius:7px;background:#fff;overflow:hidden}.teacher-date-navigation{flex-wrap:wrap;margin-bottom:14px}.teacher-date-navigation .input{width:auto;min-width:145px}.teacher-agenda{border-right:1px solid var(--line)}.teacher-agenda>.section-heading{min-height:55px;padding:0 14px;border-bottom:1px solid var(--line)}.teacher-agenda>button{display:grid;width:100%;min-height:76px;grid-template-columns:48px 1fr auto;align-items:center;gap:10px;padding:10px 13px;border:0;border-bottom:1px solid var(--line-soft);background:#fff;text-align:left;cursor:pointer}.teacher-agenda>button:hover,.teacher-agenda>button.is-active{background:#f8fafb}.teacher-agenda>button.is-active{box-shadow:inset 3px 0 var(--primary)}.agenda-time{display:flex;flex-direction:column;font-size:12px;font-weight:700}.agenda-time small{margin-top:4px;color:var(--muted);font-size:9px;font-weight:400}.teacher-agenda>button>div{display:flex;min-width:0;flex-direction:column;gap:4px}.teacher-agenda>button strong,.teacher-agenda>button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.teacher-agenda>button strong{font-size:11px}.teacher-agenda>button small{color:var(--muted);font-size:9px}.teacher-workspace{min-width:0}.teacher-workspace>header{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-bottom:1px solid var(--line)}.teacher-workspace>header span{color:var(--muted);font-size:9px}.teacher-workspace>header h2{margin-top:5px;font-size:16px}.teacher-students{padding:15px 18px}.teacher-students .section-heading button{border:0;color:var(--primary);background:transparent;font-size:10px;cursor:pointer}.teacher-students>div:not(.section-heading){display:grid;grid-template-columns:36px 1fr auto;align-items:center;gap:9px;min-height:57px;border-bottom:1px solid var(--line-soft)}.teacher-students>div>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:4px}.teacher-students strong{font-size:10px}.teacher-students small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.teacher-students .section-heading>span{color:var(--muted);font-size:11px}.teacher-students .teacher-student-row{grid-template-columns:36px minmax(0,1fr) auto;gap:12px;padding:8px 0}.teacher-student-row strong{font-size:12px}.teacher-student-row small{font-size:11px;line-height:1.4}.teacher-pending{max-width:850px;border:1px solid var(--line);border-radius:8px;background:#fff}.teacher-pending-list article{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:70px;padding:14px 18px;border-bottom:1px solid var(--line-soft)}.teacher-pending-list article:last-child{border-bottom:0}.teacher-pending-list article>div{display:flex;min-width:0;flex-direction:column;gap:5px}.teacher-pending-list strong{font-size:13px}.teacher-pending-list small{color:var(--muted);font-size:11px}.teacher-feedback-form{display:grid;gap:18px;padding:8px 0}.teacher-feedback-attendance{margin:0;padding:0;border:0}.teacher-feedback-attendance legend{margin-bottom:9px;font-size:12px;font-weight:700}.teacher-feedback-choice{display:flex;gap:8px}.teacher-feedback-choice button{min-width:84px;min-height:40px;border:1px solid var(--line);border-radius:6px;background:#fff;color:var(--text);cursor:pointer;font:inherit}.teacher-feedback-choice button.is-active{border-color:var(--primary);background:#eff5f3;color:var(--primary);font-weight:700}.teacher-feedback-choice button:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.teacher-feedback-attendance:disabled button{opacity:.6;cursor:default}.teacher-actions,.approval-action{position:relative;display:flex;align-items:center;justify-content:space-between;gap:15px;margin:0 18px 15px;padding:14px;border:1px solid var(--line);border-radius:6px;background:#f8fafb}.teacher-actions>div,.approval-action>div{display:flex;flex-direction:column;gap:4px}.teacher-actions strong,.approval-action strong{font-size:11px}.teacher-actions>div>span,.approval-action span{color:var(--muted);font-size:9px;line-height:1.4}.approval-blockers{display:grid;max-height:122px;gap:5px;margin:3px 0 0;padding:0 0 0 16px;overflow-y:auto;color:#7a4a0d;font-size:9px;line-height:1.4}.approval-blockers li::marker{color:#c87816}.approval-action>.approval-action__buttons{flex-direction:row;align-items:center;flex:0 0 auto}.evidence-editor{display:flex;flex-direction:column;gap:0}.evidence-editor section{display:flex;flex-direction:column;gap:12px;padding:16px 0;border-bottom:1px solid var(--line-soft)}.evidence-editor section:first-child{padding-top:0}.evidence-editor section:last-child{padding-bottom:0;border-bottom:0}.evidence-editor section>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.evidence-editor section>header>div{display:flex;flex-direction:column;gap:3px;min-width:0}.evidence-editor section>header strong{font-size:12px}.evidence-editor section>header span{color:var(--muted);font-size:10px}.but-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 26px;padding:4px 22px 0}.checklist{display:flex;flex-direction:column;gap:13px;margin:15px 0}.checklist>div{display:grid;grid-template-columns:22px 1fr;gap:8px;color:#8993a2}.checklist>div.is-done{color:var(--green)}.checklist span{display:flex;flex-direction:column;gap:3px;color:var(--ink)}.checklist strong{font-size:10px}.checklist small{color:var(--muted);font-size:9px}.requirement-workflow{display:flex;flex-direction:column;gap:9px;margin:14px 0}.requirement-list{display:flex;flex-direction:column;border-top:1px solid var(--line-soft)}.requirement-list>div{display:grid;min-width:0;grid-template-columns:24px minmax(120px,1fr) minmax(120px,150px) auto;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid var(--line-soft)}.requirement-list>div.is-verified{grid-template-columns:24px minmax(120px,1fr) auto}.requirement-state{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;color:#9a6417;background:var(--orange-soft)}.is-verified .requirement-state{color:var(--green);background:var(--green-soft)}.requirement-list>div>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:2px}.requirement-list strong,.requirement-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.requirement-list strong{font-size:10px}.requirement-list small{color:var(--muted);font-size:9px}.requirement-list .select--small{width:100%}.requirement-list .button{min-height:32px;padding-inline:9px;font-size:10px}.policy-check{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:9px;margin-top:14px;padding:10px 0 10px 11px;border-left:3px solid var(--green);color:var(--green);background:var(--green-soft)}.policy-check--blocked{border-left-color:var(--danger);color:var(--danger);background:var(--danger-soft)}.policy-check span{display:flex;min-width:0;flex-direction:column;gap:3px}.policy-check strong{color:var(--ink);font-size:10px}.policy-check small{color:var(--muted);font-size:9px;line-height:1.45}.provider-evidence-intro{display:flex;align-items:flex-start;gap:12px;padding:14px 16px;margin-bottom:6px;background:var(--primary-soft);color:#244d63;border-radius:6px}.provider-evidence-intro svg{flex:0 0 20px;margin-top:2px}.provider-evidence-intro p{margin:0;font-size:13px;line-height:1.6}.provider-evidence-item{min-width:0;padding:22px 0;border-bottom:1px solid var(--line)}.provider-evidence-item>header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.provider-evidence-item h3,.provider-evidence-notes h3{margin:0;font-size:16px;line-height:1.4}.provider-evidence-item p,.provider-evidence-notes p{margin:8px 0 0;max-width:75ch;font-size:13px;line-height:1.6}.provider-evidence-item p.provider-evidence-scope{margin-top:5px;color:#46576d;font-size:12px;font-weight:600}.provider-evidence-item dl,.provider-evidence-notes dl{margin:15px 0;font-size:13px;line-height:1.6}.provider-evidence-item dl>div,.provider-evidence-notes dl>div{display:grid;grid-template-columns:140px minmax(0,1fr);gap:12px;margin-top:9px}.provider-evidence-item dt,.provider-evidence-notes dt{font-weight:700}.provider-evidence-item dd,.provider-evidence-notes dd{margin:0;overflow-wrap:anywhere}.provider-evidence-item dd ul{margin:0;padding-left:18px;columns:2;column-gap:22px}.provider-evidence-item dd li{break-inside:avoid;margin-bottom:4px}.provider-evidence-item>.button{min-height:40px}.provider-evidence-details{margin:14px 0;font-size:13px}.provider-evidence-details summary{cursor:pointer;color:var(--primary);font-weight:700;padding:6px 0}.provider-evidence-details ul{list-style:none;margin:8px 0;padding:0}.provider-evidence-details li{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:8px 0;border-top:1px solid var(--line);line-height:1.5}.provider-evidence-details strong{font-size:12px;text-align:right;flex:0 0 145px}.provider-evidence-notes{padding-top:22px}.provider-evidence-notes>p{color:#46576d}@media(max-width:600px){.provider-evidence-intro{padding:12px;gap:9px}.provider-evidence-item dl>div,.provider-evidence-notes dl>div{grid-template-columns:1fr;gap:2px;margin-top:12px}.provider-evidence-item dd ul{columns:1}.provider-evidence-item>.button{width:100%;min-height:44px}.provider-evidence-details li{flex-direction:column;gap:2px}.provider-evidence-details strong{text-align:left;flex-basis:auto}}.authority-workflows{padding:18px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.authority-workflows>.section-heading{margin-bottom:10px}.authority-workflows>.section-heading>div{display:flex;flex-direction:column;gap:3px}.authority-workflows>.section-heading h3{margin:0;font-size:13px}.authority-workflows>.section-heading span{color:var(--muted);font-size:9px}.authority-workflow-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:6px;overflow:hidden}.authority-workflow-grid article{display:grid;min-width:0;grid-template-columns:32px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:8px 10px;padding:12px;border-right:1px solid var(--line)}.authority-workflow-grid article:last-child{border-right:0}.authority-workflow-grid article>div{min-width:0;display:flex;flex-direction:column;gap:3px}.authority-workflow-grid article strong{font-size:11px}.authority-workflow-grid article small{overflow:hidden;color:var(--muted);font-size:9px;line-height:1.35;text-overflow:ellipsis;white-space:nowrap}.authority-workflow-grid article>.badge{justify-self:end}.authority-workflow-grid article>.button,.authority-workflow-grid article>.authority-workflow-actions,.authority-workflow-grid article>span:last-child:empty{grid-column:2 / -1;justify-self:end}.authority-workflow-actions{display:flex;align-items:center;gap:6px}.authority-workflow-icon{display:grid;width:32px;height:32px;grid-row:1 / 3;place-items:center;border-radius:6px;color:#8b601d;background:var(--orange-soft)}.authority-workflow-icon.is-complete{color:var(--green);background:var(--green-soft)}.operational-prerequisites{padding:18px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#f8fafb}.operational-prerequisites>.section-heading{margin-bottom:10px}.operational-prerequisites>.section-heading>div{display:flex;flex-direction:column;gap:3px}.operational-prerequisites>.section-heading h3{margin:0;font-size:13px}.operational-prerequisites>.section-heading span{color:var(--muted);font-size:9px}.operational-prerequisite-list{border:1px solid var(--line);border-radius:6px;background:#fff;overflow:hidden}.operational-prerequisite-list article{display:grid;min-height:64px;grid-template-columns:32px minmax(0,1fr) auto minmax(150px,auto);align-items:center;gap:10px;padding:10px 12px;border-bottom:1px solid var(--line-soft)}.operational-prerequisite-list article:last-child{border-bottom:0}.operational-prerequisite-list article>div{display:flex;min-width:0;flex-direction:column;gap:3px}.operational-prerequisite-list article strong{font-size:11px}.operational-prerequisite-list article small{overflow:hidden;color:var(--muted);font-size:9px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.operational-prerequisite-list .authority-workflow-icon{grid-row:auto}.operational-prerequisite-list>article>.button{justify-self:end}.operational-prerequisite-actions{display:flex;justify-content:flex-end;gap:6px}.assignment-readiness{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:9px;margin-top:16px;padding:11px;border-left:3px solid var(--green);color:var(--green);background:var(--green-soft)}.assignment-readiness--blocked{border-left-color:var(--danger);color:var(--danger);background:var(--danger-soft)}.assignment-readiness>div{display:flex;min-width:0;flex-direction:column;gap:4px}.assignment-readiness strong{color:var(--ink);font-size:11px}.assignment-readiness span{color:var(--muted);font-size:9px;line-height:1.45}.recovery-break-list{display:flex;flex-direction:column;border-top:1px solid var(--line-soft)}.recovery-break-list>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) 34px;align-items:end;gap:10px;padding:11px 0;border-bottom:1px solid var(--line-soft)}.recovery-break-summary{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:12px}.recovery-break-summary>span{color:var(--muted);font-size:10px}.recovery-break-summary>strong{font-size:13px}.provider-change-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.provider-change-totals>span{display:flex;min-width:0;flex-direction:column;gap:3px;padding:8px 10px;border-left:2px solid var(--primary);background:var(--surface-alt)}.provider-change-totals small{color:var(--muted);font-size:9px}.provider-change-totals strong{font-size:12px}.compliance-indicator{width:28px;height:28px;display:grid;place-items:center;border-radius:6px}.compliance-indicator--danger{color:var(--danger);background:#fff0f1}.compliance-indicator--warning{color:#a55412;background:#fff6e7}.compliance-indicator--info{color:var(--primary);background:#eaf6f7}.compliance-indicator--neutral{color:var(--muted);background:#eef2f5}.compliance-indicator--success{color:var(--green);background:var(--green-soft)}.form-grid--single{grid-template-columns:1fr}.provider-form-section{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.provider-subject-picker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:11px}.provider-subject-picker label{display:flex;min-height:38px;align-items:center;gap:8px;padding:8px 10px;border:1px solid var(--line);border-radius:6px;font-size:11px;cursor:pointer}.provider-subject-picker input{accent-color:var(--primary)}.provider-special-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.provider-special-options .check-row{margin-top:14px}.provider-declaration-list{margin-bottom:16px;border-top:1px solid var(--line)}.provider-declaration-list>div{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;min-height:46px;border-bottom:1px solid var(--line)}.provider-declaration-list>div>span:first-child{display:grid;width:28px;height:28px;place-items:center;border-radius:6px;color:var(--muted);background:var(--surface-alt)}.provider-declaration-list>div>span:first-child.is-verified{color:var(--green);background:var(--green-soft)}.provider-declaration-list strong{font-size:11px}.authority-form-list{display:grid;gap:7px;margin-bottom:16px}.authority-form-list article{display:grid;grid-template-columns:32px minmax(0,1fr) auto auto;align-items:center;gap:10px;min-height:68px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:#fff}.authority-form-list article.is-blocked{border-color:#efc788;background:var(--orange-soft)}.authority-form-state{display:grid;width:32px;height:32px;place-items:center;border-radius:6px}.authority-form-state.is-ready{color:var(--green);background:var(--green-soft)}.authority-form-state.is-blocked{color:#9b5b0b;background:#ffefd4}.authority-form-list article>div{display:flex;flex-direction:column;gap:3px;min-width:0}.authority-form-list strong{font-size:11px}.authority-form-list small{color:var(--muted);font-size:9px}.authority-form-list code{overflow:hidden;color:var(--muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.page-table-section{padding:18px 22px 35px}.page-table-section>.section-heading{margin-bottom:10px}.but-lessons .data-table__head,.but-lessons .data-table__row{grid-template-columns:1fr 1.4fr 1fr 1fr .8fr}.billing-table .data-table__head,.billing-table .data-table__row{grid-template-columns:1.45fr .85fr 1fr .85fr 1.15fr 1.15fr 108px}.dunning-table .data-table__head,.dunning-table .data-table__row{grid-template-columns:1.5fr .95fr .8fr 1fr 1fr 1.25fr}.dunning-table .data-table__row.is-focused{background:var(--cyan-soft);box-shadow:inset 3px 0 0 var(--cyan)}.mobile-cell-label{display:none!important}.payout-table .data-table__head,.payout-table .data-table__row{grid-template-columns:1.6fr 1fr 1fr 1fr 1fr}.dunning-preview{margin-top:15px;padding:14px;border:1px solid var(--line);border-radius:6px;background:#f8fafb}.dunning-preview>strong{display:block;margin-bottom:10px;font-size:12px}.dunning-preview pre{margin:0;color:#455268;font:inherit;font-size:11px;line-height:1.55;white-space:pre-wrap}.banking-workspace{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:6px;background:#fff}.banking-toolbar{display:flex;min-height:54px;align-items:center;justify-content:space-between;gap:12px;padding:8px 10px;border-bottom:1px solid var(--line);background:#fafbfc}.banking-toolbar .segmented{min-width:0;overflow-x:auto}.banking-workarea{display:grid;height:min(640px,calc(100dvh - 314px));min-height:470px;grid-template-columns:330px minmax(0,1fr)}.bank-transaction-panel{display:flex;min-width:0;min-height:0;flex-direction:column;border-right:1px solid var(--line);background:#fafbfc}.bank-search{display:grid;height:37px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:6px;margin:9px;padding:0 8px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:#fff}.bank-search:focus-within{border-color:#9ac8d9;box-shadow:0 0 0 3px #e7f5fa}.bank-search input{min-width:0;border:0;outline:0;background:transparent;font-size:10px}.bank-transaction-list{min-height:0;flex:1;overflow-y:auto;border-top:1px solid var(--line)}.bank-transaction-list>button{display:grid;width:100%;min-height:84px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 10px;border:0;border-bottom:1px solid var(--line-soft);background:transparent;text-align:left;cursor:pointer}.bank-transaction-list>button:hover,.bank-transaction-list>button.is-active{background:#fff}.bank-transaction-list>button.is-active{box-shadow:inset 3px 0 var(--primary)}.bank-direction{display:grid;width:32px;height:32px;place-items:center;border-radius:6px}.bank-direction.is-credit{color:var(--green);background:var(--green-soft)}.bank-direction.is-debit{color:var(--danger);background:var(--danger-soft)}.bank-transaction-list>button>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.bank-transaction-list>button>span:nth-child(2) strong,.bank-transaction-list>button>span:nth-child(2) small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bank-transaction-list>button>span:nth-child(2) strong{font-size:10px}.bank-transaction-list>button>span:nth-child(2) small,.bank-transaction-list em{color:var(--muted);font-size:8px;font-style:normal}.bank-transaction-list>button>span:last-child{display:flex;height:62px;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:3px}.bank-transaction-list>button>span:last-child>strong{font-size:10px}.bank-transaction-list>button>span:last-child>small{color:var(--muted);font-size:8px}.amount-credit{color:#24723a}.amount-debit{color:var(--danger)}.bank-transaction-detail{min-width:0;min-height:0;overflow-y:auto}.bank-transaction-detail>header{display:flex;min-height:78px;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border-bottom:1px solid var(--line)}.bank-transaction-detail>header>div:first-child{display:flex;min-width:0;align-items:center;gap:10px}.bank-transaction-detail>header>div:first-child>span{display:grid;width:38px;height:38px;flex:0 0 auto;place-items:center;border-radius:6px;color:var(--primary);background:var(--primary-soft)}.bank-transaction-detail>header h3{overflow:hidden;font-size:15px;text-overflow:ellipsis;white-space:nowrap}.bank-transaction-detail>header p{margin-top:4px;color:var(--muted);font-size:9px}.bank-transaction-detail>header>div:last-child{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.bank-transaction-detail>header>div:last-child>strong{font-size:16px}.bank-transaction-facts{display:grid;grid-template-columns:1.8fr 1fr .8fr .8fr;border-bottom:1px solid var(--line);background:#fafbfc}.bank-transaction-facts>div{display:flex;min-width:0;min-height:66px;flex-direction:column;justify-content:center;gap:4px;padding:9px 13px;border-right:1px solid var(--line-soft)}.bank-transaction-facts>div:last-child{border-right:0}.bank-transaction-facts span{color:var(--muted);font-size:8px}.bank-transaction-facts strong{overflow:hidden;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.bank-reconciliation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-bottom:1px solid var(--line)}.bank-reconciliation-grid>section{min-width:0;padding:15px}.bank-reconciliation-grid>section:first-child{border-right:1px solid var(--line)}.bank-reconciliation-grid .section-heading,.bank-allocation-history .section-heading{margin-bottom:12px}.bank-suggestion{display:flex;flex-direction:column;gap:12px}.bank-suggestion>div{display:flex;align-items:center;gap:8px}.bank-suggestion>div>span{display:flex;min-width:0;flex-direction:column;gap:3px}.bank-suggestion strong{font-size:10px}.bank-suggestion small{color:var(--muted);font-size:8px}.bank-suggestion ul{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.bank-suggestion li{display:flex;align-items:center;gap:5px;color:#3e6745;font-size:9px}.bank-suggestion .button{align-self:flex-start}.bank-allocation-form{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:9px}.bank-allocation-form .field:first-child{grid-column:1 / -1}.bank-allocation-form .button{align-self:end}.bank-allocation-history{padding:15px;border-bottom:1px solid var(--line)}.bank-allocation-history article{display:grid;grid-template-columns:30px minmax(0,1fr) auto 32px;align-items:center;gap:8px;min-height:49px;padding:7px 8px;border-top:1px solid var(--line-soft)}.bank-allocation-history article>span:first-child{display:grid;width:28px;height:28px;place-items:center;border-radius:5px;color:var(--primary);background:var(--primary-soft)}.bank-allocation-history article>div{display:flex;min-width:0;flex-direction:column;gap:3px}.bank-allocation-history article strong{font-size:10px}.bank-allocation-history article small{color:var(--muted);font-size:8px}.bank-detail-actions{display:flex;justify-content:flex-end;padding:10px 15px}.bank-import-review{display:flex;flex-direction:column;gap:16px}.bank-import-review>dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;border:1px solid var(--line)}.bank-import-review>dl>div{display:flex;min-width:0;min-height:54px;flex-direction:column;justify-content:center;gap:4px;padding:8px 11px;border-right:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.bank-import-review dt{color:var(--muted);font-size:8px}.bank-import-review dd{margin:0;overflow:hidden;font-size:10px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.invoice-adjustment-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--line)}.invoice-adjustment-summary span{display:flex;min-height:58px;flex-direction:column;justify-content:center;gap:4px;padding:9px 11px;color:var(--muted);font-size:8px}.invoice-adjustment-summary span:first-child{border-right:1px solid var(--line)}.invoice-adjustment-summary strong{color:var(--ink);font-size:15px}.cell-note{display:block;margin-top:4px}.cell-note--danger{color:var(--danger)!important}.document-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:18px;border:1px solid var(--line)}.document-stats>div{display:flex;min-height:72px;align-items:center;gap:12px;padding:12px 16px;border-right:1px solid var(--line)}.document-stats>div:last-child{border-right:0}.document-stats>div>span{display:flex;flex-direction:column;gap:4px}.document-stats strong{font-size:15px}.document-stats small{color:var(--muted);font-size:9px}.document-table .data-table__head,.document-table .data-table__row{grid-template-columns:1.8fr 1.2fr 1fr .6fr .8fr 1.6fr}.document-table .data-table__row>span:first-child{display:flex;align-items:center;gap:9px;min-width:0}.document-table .data-table__row>span:first-child strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.document-table .data-table__row.is-focused{background:var(--cyan-soft);box-shadow:inset 3px 0 0 var(--cyan)}.generated-package-section{margin-bottom:18px}.package-table .data-table__head,.package-table .data-table__row{grid-template-columns:1.25fr 1.15fr 1.25fr .85fr 1fr}.package-table .data-table__row>span:first-child{display:flex;align-items:center;gap:9px;min-width:0}.billing-profile-form .button{margin-top:14px}.document-status-cell{display:flex;min-width:0;align-items:center;gap:7px;flex-wrap:wrap}.document-row-actions{display:inline-flex;gap:5px}.document-row-actions .button{min-height:30px;padding-inline:8px;font-size:9px}.document-quarantine-detail{display:flex;width:100%;flex-direction:column;align-items:flex-start;gap:4px;padding-top:5px}.document-quarantine-detail strong{color:var(--danger);font-size:9px;line-height:1.35}.document-quarantine-detail small{color:var(--muted);font-size:8px;line-height:1.35}.upload-dropzone{display:flex;width:100%;min-height:145px;flex-direction:column;align-items:center;justify-content:center;gap:8px;margin-bottom:16px;border:1px dashed #aab5c2;border-radius:6px;color:var(--muted);background:#f8fafb;cursor:pointer}.upload-dropzone strong{max-width:90%;overflow:hidden;color:var(--ink);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.upload-dropzone span{font-size:9px}.upload-dropzone--invalid{border-color:var(--danger);background:var(--danger-soft)}.upload-inspection{display:flex;align-items:flex-start;gap:9px;margin:-6px 0 16px;padding:10px 11px;border-left:3px solid var(--green);background:var(--green-soft)}.upload-inspection--quarantine{border-color:var(--danger);background:var(--danger-soft)}.upload-inspection>span{display:flex;min-width:0;flex-direction:column;gap:3px}.upload-inspection strong{font-size:10px}.upload-inspection small{color:var(--muted);font-size:9px;line-height:1.35}.document-preview-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:12px;color:var(--muted);font-size:9px}.document-preview-frame{width:100%;height:min(62vh,680px);border:1px solid var(--line);border-radius:5px;background:#f6f8fa}.document-preview-loading{display:flex;min-height:340px;align-items:center;justify-content:center;gap:10px;color:var(--muted);font-size:10px}.document-preview-pages{display:grid;max-height:min(62vh,680px);overflow:auto;gap:14px;padding:12px;border:1px solid var(--line);border-radius:5px;background:#eef2f5}.document-preview-page-count{position:sticky;top:-12px;z-index:2;display:flex;align-items:center;gap:7px;min-height:36px;margin:-12px -12px 0;padding:0 12px;border-bottom:1px solid var(--line);background:#fffffff5;color:var(--ink);font-size:9px}.document-preview-page-count span{margin-left:auto;color:var(--muted)}.document-preview-page{display:grid;justify-items:center;gap:6px;margin:0}.document-preview-page canvas{display:block;width:min(100%,744px);height:auto;border:1px solid #cfd7df;background:#fff;box-shadow:0 2px 8px #1423321f}.document-preview-page figcaption{color:var(--muted);font-size:9px}.document-preview-image-wrap{display:grid;max-height:min(62vh,680px);overflow:auto;place-items:center;padding:12px;border:1px solid var(--line);border-radius:5px;background:#eef2f5}.document-preview-image{display:block;max-width:100%;height:auto;border:1px solid #cfd7df;background:#fff;box-shadow:0 2px 8px #1423321f}.student-documents-tab>.section-heading{margin-bottom:8px}.toggle{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:10px;cursor:pointer}.toggle input{position:absolute;opacity:0;pointer-events:none}.toggle>span{position:relative;width:34px;height:19px;border-radius:10px;background:#ccd3db;transition:.2s}.toggle>span:after{content:"";position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:#fff;transition:.2s}.toggle input:checked+span{background:var(--green)}.toggle input:checked+span:after{translate:15px 0}.task-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px}.task-columns section>.section-heading{min-height:42px;border-bottom:1px solid var(--line)}.task-columns article{display:grid;grid-template-columns:30px minmax(0,1fr) auto;align-items:start;gap:10px;padding:14px 0;border-bottom:1px solid var(--line-soft)}.task-columns article.is-done{opacity:.55}.task-columns article>div{display:flex;flex-direction:column;gap:5px}.task-columns article strong{font-size:11px}.task-columns article p{color:var(--muted);font-size:10px;line-height:1.45}.task-columns article span{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:9px}.tasks-page .tabs button{display:inline-flex;align-items:center;gap:7px}.automation-workspace{display:flex;flex-direction:column;gap:16px}.automation-toolbar{display:flex;min-height:72px;align-items:center;justify-content:space-between;gap:18px;padding:13px 15px;border:1px solid var(--line);border-radius:6px;background:#f8fafb}.automation-toolbar>div{display:flex;min-width:0;flex-direction:column;gap:5px}.automation-toolbar strong{font-size:12px}.automation-toolbar small{color:var(--muted);font-size:9px;line-height:1.45}.automation-rules{border:1px solid var(--line);border-radius:6px;overflow:hidden}.automation-rules article{display:grid;min-height:94px;grid-template-columns:38px minmax(0,1fr) auto 116px;align-items:center;gap:12px;padding:13px 15px;border-top:1px solid var(--line-soft);background:#fff}.automation-rules article:first-child{border-top:0}.automation-rules article.is-disabled{background:#fafbfc}.automation-rules article.is-disabled .automation-copy{opacity:.6}.automation-icon{display:grid;width:36px;height:36px;place-items:center;border-radius:6px;color:var(--primary);background:var(--primary-soft)}.automation-copy{display:flex;min-width:0;flex-direction:column;gap:5px}.automation-copy>strong{font-size:11px}.automation-copy>p{max-width:760px;color:var(--muted);font-size:10px;line-height:1.45}.automation-copy>div{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--muted);font-size:9px}.automation-toggle{justify-self:end}.automation-toggle b{min-width:18px;font-size:9px}.automation-history{border-top:1px solid var(--line)}.automation-history>.section-heading{min-height:44px}.automation-history>div:last-child{display:flex;flex-direction:column}.automation-history article{display:grid;min-height:58px;grid-template-columns:30px minmax(0,1fr) auto;align-items:center;gap:10px;border-top:1px solid var(--line-soft)}.automation-history article>div{display:flex;min-width:0;flex-direction:column;gap:4px}.automation-history strong{font-size:10px}.automation-history small,.automation-history p{color:var(--muted);font-size:9px}.automation-run-state{display:grid;width:27px;height:27px;place-items:center;border-radius:50%;color:var(--muted);background:#eef1f4}.automation-run-state--completed{color:var(--green);background:var(--green-soft)}.automation-run-state--failed{color:var(--danger);background:var(--danger-soft)}.report-toolbar{display:grid;grid-template-columns:170px 170px minmax(180px,260px) auto;align-items:end;gap:10px;margin-bottom:16px;padding:13px;border:1px solid var(--line);border-radius:6px;background:#f8fafb}.report-toolbar .button{justify-self:start}.report-metrics span{display:flex;align-items:center;gap:6px}.report-layout{display:grid;grid-template-columns:310px minmax(0,1fr);gap:22px;align-items:start}.report-layout>section{min-width:0}.report-layout .section-heading{min-height:42px;border-bottom:1px solid var(--line)}.report-finding-list{display:flex;flex-direction:column}.report-finding-list>button{display:grid;width:100%;min-height:68px;grid-template-columns:32px minmax(0,1fr) 16px;align-items:center;gap:9px;padding:10px 0;border:0;border-bottom:1px solid var(--line-soft);background:transparent;text-align:left;cursor:pointer}.report-finding-list>button:hover{background:#f8fafb}.report-finding-list>button>span:nth-child(2),.report-all-clear>span{display:flex;min-width:0;flex-direction:column;gap:4px}.report-finding-list strong,.report-all-clear strong{font-size:10px}.report-finding-list small,.report-all-clear small{color:var(--muted);font-size:9px;line-height:1.4}.report-finding-icon{display:grid;width:30px;height:30px;place-items:center;border-radius:6px;color:var(--primary);background:var(--primary-soft)}.report-finding-icon--danger{color:var(--danger);background:var(--danger-soft)}.report-finding-icon--warning{color:#b7660c;background:var(--orange-soft)}.report-all-clear{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:9px;padding:16px 0;color:var(--green)}.report-table{margin-top:10px}.report-table .data-table__head,.report-table .data-table__row{min-width:960px;grid-template-columns:minmax(190px,2fr) .55fr .55fr .55fr .7fr .8fr .75fr .9fr 72px}.report-table .data-table__row>.button{min-height:30px;padding-inline:8px;font-size:10px}.settings-list{display:flex;flex-direction:column}.settings-list article{display:grid;min-height:72px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.settings-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:6px;color:#3e4d64;background:#edf1f4}.settings-list article>div{display:flex;flex-direction:column;gap:4px}.settings-list strong{font-size:11px}.settings-list small{color:var(--muted);font-size:9px}.legal-settings{display:flex;min-width:0;flex-direction:column;gap:14px}.legal-settings>.inline-alert{margin-top:2px}.legal-settings>.inline-alert .button{margin-left:auto;white-space:nowrap}.legal-version-list article{grid-template-columns:44px minmax(0,1fr) auto;padding:9px 0}.legal-version-list article>div{min-width:0}.legal-version-list small{overflow-wrap:anywhere}.legal-version-actions{display:flex;grid-column:2 / -1;align-items:center;gap:8px;padding-bottom:3px}.legal-version-actions .button{min-height:32px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 30px}.billing-profile-conflict{grid-column:1 / -1;padding:14px;border:1px solid #e4c58f;border-radius:8px;background:#fffaf0}.billing-profile-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 16px;margin:12px 0}.billing-profile-comparison>div{display:flex;min-width:0;flex-direction:column;gap:3px;padding:8px;border:1px solid var(--line);border-radius:6px;background:#fff;overflow-wrap:anywhere}.billing-profile-comparison strong{font-size:10px}.billing-profile-comparison span{font-size:10px;line-height:1.4}.billing-profile-conflict-actions{display:flex;flex-wrap:wrap;gap:8px}.calendar-block-list{display:flex;flex-direction:column}.calendar-block-list article{display:grid;min-height:66px;grid-template-columns:44px minmax(0,1fr) auto 76px;align-items:center;gap:12px;border-bottom:1px solid var(--line-soft)}.calendar-block-list article>div{display:flex;min-width:0;flex-direction:column;gap:4px}.calendar-block-list strong{font-size:11px}.calendar-block-list small{overflow:hidden;color:var(--muted);font-size:9px;line-height:1.4;text-overflow:ellipsis;white-space:nowrap}.calendar-block-actions{display:flex;justify-content:flex-end;gap:6px;color:var(--muted)}.calendar-module-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:18px}.calendar-module-options>strong{grid-column:1 / -1;font-size:11px}.calendar-module-options .check-row{margin-top:0}.teacher-evidence-section,.teacher-notification-section{grid-column:1 / -1}.teacher-notification-list{border-top:1px solid var(--line-soft)}.teacher-notification-list article{display:grid;min-height:66px;grid-template-columns:24px minmax(0,1fr) auto auto;align-items:center;gap:9px;border-bottom:1px solid var(--line-soft);padding-block:7px}.teacher-notification-list article>div:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.teacher-notification-list strong{font-size:10px}.teacher-notification-list small{color:var(--muted);font-size:9px;line-height:1.45}.teacher-notification-list span:not(.badge){color:var(--danger);font-size:8px;overflow-wrap:anywhere}.teacher-notification-actions{display:flex;gap:6px}.teacher-notification-list .button{min-height:30px;padding-inline:9px;font-size:9px;white-space:nowrap}.teacher-evidence-list{border-top:1px solid var(--line-soft)}.teacher-evidence-list article{display:grid;min-height:60px;grid-template-columns:28px minmax(0,1fr) auto auto;align-items:center;gap:9px;border-bottom:1px solid var(--line-soft)}.teacher-evidence-list article>div{display:flex;min-width:0;flex-direction:column;gap:4px}.teacher-evidence-list strong{font-size:10px}.teacher-evidence-list small{overflow:hidden;color:var(--muted);font-size:9px;text-overflow:ellipsis;white-space:nowrap}.teacher-evidence-list .button{min-height:30px;padding-inline:9px;font-size:9px}.evidence-state{display:grid;width:27px;height:27px;place-items:center;border-radius:6px;color:#99601a;background:var(--orange-soft)}.evidence-state--verified{color:var(--green);background:var(--green-soft)}.role-matrix{overflow-x:auto;border:1px solid var(--line);border-radius:6px}.role-matrix>div{display:grid;min-width:650px;grid-template-columns:2fr repeat(3,1fr);min-height:46px;align-items:center;border-top:1px solid var(--line-soft)}.role-matrix>div:first-child{border-top:0;background:#f5f7f9}.role-matrix span,.role-matrix strong{padding:0 13px;font-size:10px}.role-matrix span svg{color:var(--green)}.audit-list{display:flex;flex-direction:column}.audit-panel{min-width:0}.audit-toolbar{display:flex;min-height:58px;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid var(--line)}.audit-toolbar>div{display:flex;min-width:0;flex-direction:column;gap:4px}.audit-toolbar strong{font-size:11px}.audit-toolbar small{color:var(--muted);font-size:9px}.audit-list article{display:grid;min-height:62px;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;border-bottom:1px solid var(--line-soft)}.audit-list article>span{color:var(--green)}.audit-list article>div{display:flex;flex-direction:column;gap:4px}.audit-list strong{font-size:11px}.audit-list small{color:var(--muted);font-size:9px}.audit-list code{color:#59677e;font-size:9px}.communication-page{display:grid;height:calc(100dvh - var(--topbar));min-height:620px;grid-template-columns:282px minmax(460px,1fr) 306px;overflow:hidden;background:#fff}.communication-mobile-tabs{display:none}.communication-contacts,.communication-conversation,.communication-record{min-width:0;min-height:0;background:#fff}.communication-contacts{display:flex;flex-direction:column;border-right:1px solid var(--line);background:#fafbfc}.communication-contacts>header{padding:15px 13px 11px;border-bottom:1px solid var(--line)}.communication-contacts>header>div{display:flex;align-items:center;justify-content:space-between;margin-bottom:11px}.communication-contacts h2,.communication-record h2{font-size:14px}.communication-search{display:grid;height:36px;grid-template-columns:19px minmax(0,1fr);align-items:center;gap:6px;padding:0 9px;border:1px solid var(--line);border-radius:6px;color:var(--muted);background:#fff}.communication-search:focus-within{border-color:#9ac8d9;box-shadow:0 0 0 3px #e7f5fa}.communication-search input{min-width:0;border:0;outline:0;background:transparent;font-size:11px}.communication-contact-list{min-height:0;flex:1;overflow-y:auto}.communication-contact-list>button{display:grid;width:100%;min-height:76px;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 11px;border:0;border-bottom:1px solid var(--line-soft);background:transparent;text-align:left;cursor:pointer}.communication-contact-list>button:hover,.communication-contact-list>button.is-active{background:#fff}.communication-contact-list>button.is-active{box-shadow:inset 3px 0 var(--primary)}.communication-contact-copy{display:flex;min-width:0;flex-direction:column;gap:6px}.communication-contact-copy>span:first-child{display:flex;min-width:0;flex-direction:column;gap:2px}.communication-contact-copy strong,.communication-contact-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.communication-contact-copy strong{font-size:11px}.communication-contact-copy small{color:var(--muted);font-size:9px}.communication-contact-preview{display:grid;min-width:0;grid-template-columns:14px minmax(0,1fr);align-items:center;gap:4px;color:#6b7688}.communication-contact-meta{display:flex;height:48px;flex-direction:column;align-items:flex-end;justify-content:space-between;color:var(--muted)}.communication-contact-meta time{font-size:8px}.communication-conversation{display:grid;grid-template-rows:auto minmax(180px,1fr) auto;overflow:hidden}.conversation-header{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;border-bottom:1px solid var(--line)}.conversation-header .record-identity h2{font-size:16px}.message-timeline{min-height:0;padding:18px;overflow-y:auto;background:#f7f9fa}.message-timeline>.empty-state{min-height:100%}.message-entry{width:min(76%,620px);margin-bottom:11px;padding:10px 12px;border:1px solid var(--line);border-radius:7px;background:#fff;box-shadow:0 2px 6px #1f2b3c0a}.message-entry--outbound{margin-left:auto;border-color:#b7d8e6;background:#f3fafc}.message-entry--internal,.message-entry--internal_note,.message-entry--phone{width:min(86%,680px);margin-inline:auto;border-style:dashed;background:#fffdf7}.message-entry>header,.message-entry>footer{display:flex;align-items:center;justify-content:space-between;gap:10px}.message-entry>header{margin-bottom:7px;color:var(--muted)}.message-entry>header span{display:inline-flex;align-items:center;gap:5px;font-size:9px;font-weight:700}.message-entry time{font-size:8px}.message-entry>strong{display:block;margin-bottom:5px;font-size:11px}.message-entry>p{color:#303b4f;font-size:11px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.message-entry>footer{margin-top:8px;color:var(--muted);font-size:8px}.message-entry>footer button{display:inline-flex;align-items:center;gap:4px;border:0;color:var(--primary);background:transparent;font-size:9px;font-weight:700;cursor:pointer}.phone-record-summary{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.phone-record-summary span{padding:3px 6px;border:1px solid #ead7a7;border-radius:4px;color:#76591c;background:#fffaf0;font-size:8px}.message-attachments{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.message-attachments button{display:inline-flex;max-width:100%;align-items:center;gap:5px;padding:5px 7px;overflow:hidden;border:1px solid var(--line);border-radius:5px;color:var(--primary);background:#fff;font-size:8px;cursor:pointer}.message-attachments button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.message-composer{max-height:390px;padding:12px 16px 14px;overflow-y:auto;border-top:1px solid var(--line);background:#fff}.composer-channel{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin-bottom:10px;padding:3px;border:1px solid var(--line);border-radius:6px;background:#f8fafb}.composer-channel button{display:inline-flex;min-width:0;height:31px;align-items:center;justify-content:center;gap:5px;padding:0 7px;overflow:hidden;border:0;border-radius:4px;background:transparent;font-size:10px;font-weight:650;cursor:pointer}.composer-channel button span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-channel button.is-active{color:#fff;background:var(--primary)}.adapter-notice{display:flex;align-items:flex-start;gap:7px;margin-bottom:9px;padding:8px 9px;border:1px solid #efc788;border-radius:5px;color:#80500f;background:var(--orange-soft);font-size:9px;line-height:1.4}.adapter-notice svg{flex:0 0 auto}.adapter-notice strong{margin-right:3px}.permission-strip{display:flex;min-height:43px;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px;padding:7px 9px;border:1px solid var(--line);border-radius:5px}.permission-strip--active{border-color:#b5d9bb;background:var(--green-soft)}.permission-strip--missing{border-color:#efb4b8;background:var(--danger-soft)}.permission-strip>span{display:flex;min-width:0;align-items:center;gap:7px}.permission-strip>span>span{display:flex;min-width:0;flex-direction:column;gap:2px}.permission-strip strong{font-size:9px}.permission-strip small{overflow:hidden;color:var(--muted);font-size:8px;text-overflow:ellipsis;white-space:nowrap}.permission-strip button{flex:0 0 auto;border:0;color:var(--primary);background:transparent;font-size:9px;font-weight:700;cursor:pointer}.composer-row{display:grid;grid-template-columns:minmax(160px,.8fr) minmax(220px,1.2fr);gap:10px;margin-bottom:9px}.message-composer>.field{margin-bottom:9px}.composer-textarea{min-height:72px;padding:8px 10px;resize:vertical;line-height:1.45}.phone-record-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:9px}.composer-attachments{display:flex;align-items:flex-start;gap:9px;margin-bottom:9px}.composer-attachments>div{display:flex;min-width:0;flex:1;flex-wrap:wrap;gap:5px}.composer-attachments>div>span{display:inline-flex;max-width:100%;align-items:center;border:1px solid var(--line);border-radius:5px;background:#fff}.composer-attachments>div>span.is-approved{border-color:#b5d9bb;background:var(--green-soft)}.composer-attachments>div>span.is-pending{border-color:#efc788;background:var(--orange-soft)}.composer-attachments>div button{display:inline-flex;min-width:0;align-items:center;gap:4px;padding:5px 7px;overflow:hidden;border:0;color:var(--ink);background:transparent;font-size:8px;cursor:pointer}.composer-attachments>div button:first-child{max-width:220px;text-overflow:ellipsis;white-space:nowrap}.composer-attachments>div button:last-child{padding-left:2px;color:var(--muted)}.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.message-composer .inline-alert{margin:0 0 9px;font-size:10px}.inline-alert--danger{border-color:#efadb3;color:#8e1520;background:var(--danger-soft)}.communication-record{overflow-y:auto;border-left:1px solid var(--line);background:#fafbfc}.communication-record>header{display:flex;min-height:61px;align-items:center;justify-content:space-between;padding:0 14px;border-bottom:1px solid var(--line)}.communication-record>header small{color:var(--muted);font-size:9px}.command-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--line);background:#fff}.command-actions button{display:flex;min-width:0;min-height:76px;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 4px;border:0;border-right:1px solid var(--line-soft);background:transparent;cursor:pointer}.command-actions button:last-child{border-right:0}.command-actions button:hover{background:var(--primary-soft)}.command-actions button>span{display:flex;min-width:0;flex-direction:column;align-items:center;gap:2px}.command-actions strong{font-size:9px}.command-actions small{color:var(--muted);font-size:8px}.command-section{padding:13px 14px;border-bottom:1px solid var(--line);background:#fff}.command-section h3{margin-bottom:10px;font-size:11px}.command-section dl{display:flex;flex-direction:column;gap:8px;margin:0}.command-section dl>div{display:grid;grid-template-columns:78px minmax(0,1fr);gap:8px}.command-section dt{color:var(--muted);font-size:9px}.command-section dd{min-width:0;margin:0;overflow-wrap:anywhere;color:#354157;font-size:9px;font-weight:600}.command-status-list{display:flex;flex-direction:column}.command-status-list button{display:flex;min-height:38px;align-items:center;justify-content:space-between;gap:8px;padding:0;border:0;border-top:1px solid var(--line-soft);background:transparent;cursor:pointer}.command-status-list button:first-child{border-top:0}.command-status-list button>span{display:inline-flex;align-items:center;gap:6px;font-size:9px;font-weight:650}.command-section--goal p{color:#3d485d;font-size:10px;line-height:1.5}.permission-form{display:flex;flex-direction:column;gap:13px}.permission-current{display:flex;align-items:center;gap:7px;padding:9px;border:1px solid #b5d9bb;border-radius:5px;color:#2d763b;background:var(--green-soft);font-size:10px;font-weight:650}.input--textarea{min-height:84px;padding-block:8px;resize:vertical}.attachment-picker-list{display:flex;max-height:430px;flex-direction:column;overflow-y:auto;border-top:1px solid var(--line-soft)}.attachment-picker-list article{display:grid;min-height:58px;grid-template-columns:minmax(0,1fr) auto 32px;align-items:center;gap:9px;border-bottom:1px solid var(--line-soft)}.attachment-picker-list label{display:grid;min-width:0;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;cursor:pointer}.attachment-picker-list label span{display:flex;min-width:0;flex-direction:column;gap:3px}.attachment-picker-list strong,.attachment-picker-list small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-picker-list strong{font-size:10px}.attachment-picker-list small{color:var(--muted);font-size:8px}.attachment-picker-list article>button{display:grid;width:30px;height:30px;place-items:center;border:0;color:var(--primary);background:transparent;cursor:pointer}.leads-page{display:grid;min-height:calc(100dvh - var(--topbar));grid-template-rows:auto auto minmax(0,1fr);background:#fff}.leads-toolbar{display:flex;min-height:76px;align-items:center;justify-content:space-between;gap:18px;padding:12px 20px;border-bottom:1px solid var(--line)}.leads-toolbar h2{font-size:18px}.leads-toolbar p{margin-top:5px;color:var(--muted);font-size:10px}.lead-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-bottom:1px solid var(--line);background:#f8fafb}.lead-metrics>div{display:flex;min-width:0;min-height:68px;flex-direction:column;justify-content:center;padding:9px 18px;border-right:1px solid var(--line)}.lead-metrics>div:last-child{border-right:0}.lead-metrics span,.lead-metrics small{color:var(--muted);font-size:9px}.lead-metrics strong{margin:3px 0;font-size:17px}.leads-workarea{display:grid;min-width:0;min-height:0;grid-template-columns:328px minmax(0,1fr);overflow:hidden}.lead-list-panel{display:flex;min-width:0;min-height:0;flex-direction:column;border-right:1px solid var(--line);background:#fafbfc}.lead-list-tools{display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:7px;padding:10px;border-bottom:1px solid var(--line)}.lead-list-tools label{display:grid;min-width:0;height:34px;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:5px;padding:0 8px;border:1px solid var(--line);border-radius:5px;color:var(--muted);background:#fff}.lead-list-tools label:focus-within{border-color:#9ac8d9;box-shadow:0 0 0 3px #e7f5fa}.lead-list-tools input{min-width:0;border:0;outline:0;background:transparent;font-size:10px}.lead-list-tools .select--small{width:100%;min-width:0}.lead-list{min-height:0;flex:1;overflow-y:auto}.lead-list>button{display:grid;width:100%;min-height:78px;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px;border:0;border-bottom:1px solid var(--line-soft);background:transparent;text-align:left;cursor:pointer}.lead-list>button:hover,.lead-list>button.is-active{background:#fff}.lead-list>button.is-active{box-shadow:inset 3px 0 var(--primary)}.lead-source-icon{display:grid;width:31px;height:31px;place-items:center;border-radius:6px;color:var(--primary);background:var(--primary-soft)}.lead-source-icon--large{width:44px;height:44px}.lead-list>button>span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:3px}.lead-list strong,.lead-list small,.lead-list em{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-list strong{font-size:11px}.lead-list small{color:var(--muted);font-size:9px}.lead-list em{color:#728096;font-size:8px;font-style:normal}.lead-list>button>span:last-child{display:flex;height:52px;flex-direction:column;align-items:flex-end;justify-content:space-between;color:var(--muted)}.lead-detail-panel{min-width:0;min-height:0;overflow-y:auto;background:#fff}.lead-detail-header{display:flex;min-height:88px;align-items:center;justify-content:space-between;gap:14px;padding:14px 18px;border-bottom:1px solid var(--line)}.lead-detail-header>div:first-child{display:flex;min-width:0;align-items:center;gap:11px}.lead-detail-header>div:first-child>div{min-width:0}.lead-detail-header>div:first-child>div>span{display:flex;align-items:center;gap:8px}.lead-detail-header h2{font-size:18px}.lead-detail-header p{margin-top:4px;color:var(--muted);font-size:9px}.lead-header-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}.lead-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:0 18px 30px}.lead-detail-grid>section{min-width:0;padding:16px 0;border-bottom:1px solid var(--line)}.lead-detail-grid>section:nth-child(odd):not(.span-2){padding-right:20px;border-right:1px solid var(--line)}.lead-detail-grid>section:nth-child(2n){padding-left:20px}.lead-detail-grid h3{margin-bottom:11px;font-size:11px}.lead-detail-grid dl{display:flex;flex-direction:column;gap:8px;margin:0}.lead-detail-grid dl>div{display:grid;grid-template-columns:105px minmax(0,1fr);gap:8px}.lead-detail-grid dt{color:var(--muted);font-size:9px}.lead-detail-grid dd{margin:0;overflow-wrap:anywhere;font-size:9px;font-weight:600}.lead-contact-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:13px}.lead-contact-actions .button{min-height:32px;font-size:10px}.consent-list{display:flex;flex-direction:column;gap:10px}.consent-list>span{display:flex;align-items:center;gap:8px;color:var(--green)}.consent-list>span.is-missing{color:var(--orange)}.consent-list>span>span{display:flex;flex-direction:column;gap:2px}.consent-list strong{color:var(--ink);font-size:9px}.consent-list small{color:var(--muted);font-size:8px}.next-action{display:flex;align-items:center;gap:9px;color:var(--primary)}.next-action>span{display:flex;flex-direction:column;gap:3px}.next-action strong{color:var(--ink);font-size:10px}.next-action small,.muted-copy{color:var(--muted);font-size:9px}.lead-message{color:#3c485c;font-size:10px;line-height:1.55;white-space:pre-wrap}.lead-close-summary>div{display:flex;align-items:flex-start;gap:9px;padding:10px;border:1px solid #efc6c9;border-radius:6px;color:#8a2330;background:var(--danger-soft)}.lead-close-summary>div>span{display:flex;flex-direction:column;gap:3px}.lead-close-summary strong{font-size:9px}.lead-close-summary small{color:#6f3640;font-size:9px;line-height:1.45}.trial-block-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.trial-block-options button{min-height:39px;border:1px solid var(--line);border-radius:5px;color:var(--ink);background:#fff;font-size:10px;font-weight:650;cursor:pointer}.trial-block-options button:hover,.trial-block-options button.is-active{border-color:var(--primary);color:var(--primary);background:var(--cyan-soft)}.conversion-summary{display:flex;align-items:flex-start;gap:11px;padding:13px;border-left:3px solid var(--green);background:var(--green-soft)}.conversion-summary>div{display:flex;min-width:0;flex-direction:column;gap:4px}.conversion-summary strong{font-size:11px}.conversion-summary span{color:var(--muted);font-size:9px;line-height:1.45}.lead-trial-summary>div{display:flex;align-items:center;gap:10px}.lead-trial-summary>div>span{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px}.lead-trial-summary strong{font-size:10px}.lead-trial-summary small{color:var(--muted);font-size:9px}.lead-contact-history>.section-heading{min-height:30px;margin:0}.lead-contact-history>article{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;padding:11px 0;border-top:1px solid var(--line-soft)}.lead-contact-icon{display:grid;width:28px;height:28px;place-items:center;border-radius:5px;color:var(--primary);background:var(--primary-soft)}.lead-contact-history article>div{display:flex;min-width:0;flex-direction:column;gap:6px}.lead-contact-history article>div>div{display:flex;justify-content:space-between;gap:12px}.lead-contact-history article strong{font-size:10px}.lead-contact-history article small,.lead-contact-history article>div>span{color:var(--muted);font-size:8px}.lead-contact-history article p{color:#3c485c;font-size:9px;line-height:1.45}@media(max-width:1180px){:root{--sidebar: 166px}.topbar{grid-template-columns:minmax(160px,.8fr) minmax(260px,1.4fr) minmax(220px,.8fr)}.account-button{min-width:45px;grid-template-columns:36px 0 0;overflow:hidden}.account-copy,.account-button>svg{display:none}.schedule-workarea{grid-template-columns:minmax(0,1fr) 318px}.directory-page{grid-template-columns:290px minmax(0,1fr)}.authority-workflow-grid{grid-template-columns:1fr}.authority-workflow-grid article{border-right:0;border-bottom:1px solid var(--line)}.authority-workflow-grid article:last-child{border-bottom:0}.communication-page{grid-template-columns:248px minmax(400px,1fr) 270px}.leads-workarea{grid-template-columns:290px minmax(0,1fr)}.lead-detail-header{align-items:flex-start;flex-direction:column}.lead-header-actions{justify-content:flex-start}.report-toolbar{grid-template-columns:150px 150px minmax(180px,1fr) auto}.placement-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.placement-simple-filters,.placement-results{grid-template-columns:1fr}}@media(min-width:901px)and (max-width:1350px){.schedule-workarea{grid-template-columns:minmax(0,1fr) 318px}.prerequisite-list article{grid-template-columns:34px minmax(0,1fr)}.prerequisite-list article>.button,.prerequisite-list article>.prerequisite-actions{grid-column:2;width:100%;justify-content:stretch}.prerequisite-actions .button{flex:1 1 140px}}@media(min-width:701px)and (max-width:1050px){.record-header{align-items:flex-start;flex-direction:column}.record-actions{width:100%;flex-wrap:wrap}.communication-page{position:relative;display:block;height:calc(100dvh - var(--topbar));min-height:0;padding-top:42px;overflow:hidden}.communication-mobile-tabs{position:absolute;top:0;right:0;left:0;z-index:5;display:grid;height:42px;grid-template-columns:repeat(3,1fr);padding:4px 8px;border-bottom:1px solid var(--line);background:#fff}.communication-mobile-tabs button{border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:10px;font-weight:700;cursor:pointer}.communication-mobile-tabs button.is-active{color:var(--primary);background:var(--primary-soft)}.communication-contacts,.communication-conversation,.communication-record{display:none;height:100%;border:0}.communication-contacts.is-mobile-active{display:flex}.communication-conversation.is-mobile-active{display:grid}.communication-record.is-mobile-active{display:block}}.but-case-alert{margin:12px 18px 0}.but-case-content{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.but-case-content>.info-section{min-width:0;padding:18px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.but-case-content>.info-section:nth-child(2n){border-right:0}.but-case-content>.span-2{grid-column:1 / -1;border-right:0}.prerequisite-list{display:flex;flex-direction:column;margin:14px 0;border:1px solid var(--line);border-radius:6px}.prerequisite-list article{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border-bottom:1px solid var(--line-soft)}.prerequisite-list article:last-child{border-bottom:0}.prerequisite-list article>span{display:grid;width:30px;height:30px;place-items:center;border-radius:5px;color:var(--orange);background:var(--orange-soft)}.prerequisite-list article.is-complete>span{color:var(--success);background:var(--success-soft)}.prerequisite-list article>div{display:flex;min-width:0;flex-direction:column;gap:3px}.prerequisite-list article small{color:var(--muted);line-height:1.35}.prerequisite-list article>.prerequisite-actions{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;gap:6px}.prerequisite-actions .button{min-width:0;white-space:nowrap}.but-package-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.but-package-grid>article{display:grid;min-width:0;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;padding:14px;border:1px solid var(--line);border-radius:6px}.but-package-grid article>div:first-child{display:flex;min-width:0;flex-direction:column;gap:5px}.but-package-grid article small{color:var(--muted);line-height:1.4}.package-manifest-list{margin:4px 0 0;padding-left:20px;color:var(--text)}.package-manifest-list li{min-width:0;padding:2px 0;overflow-wrap:anywhere;line-height:1.35}.package-document-select{display:grid;grid-column:1 / -1;gap:5px;font-size:12px;font-weight:700;color:var(--muted)}.package-generated-preview{display:grid;gap:6px;margin-top:7px;padding-top:8px;border-top:1px solid var(--line)}.package-generated-preview>strong{font-size:12px;color:var(--text)}.package-generated-preview ol{display:grid;gap:3px;margin:0;padding-left:20px}.package-generated-preview li{padding-left:2px}.package-generated-preview li span{display:inline}.package-generated-preview li small{display:inline;margin-left:6px;white-space:nowrap}.package-generated-preview>div{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--muted)}.package-generated-preview>div strong{color:var(--text)}.but-package-actions{display:flex;grid-column:1 / -1;flex-wrap:wrap;gap:7px}.but-package-actions .button{min-width:0;flex:1 1 150px;white-space:nowrap}.but-form-choice{display:flex;grid-column:1 / -1;flex-wrap:wrap;gap:12px;color:var(--text);font-size:11px}.but-form-choice label{display:inline-flex;align-items:center;gap:5px}.but-budget-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.but-budget-grid>article{padding:14px;border:1px solid var(--line);border-radius:6px}.but-budget-grid article>header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.but-budget-grid header>div{display:flex;min-width:0;flex-direction:column;gap:3px}.but-budget-grid header small{color:var(--muted)}.but-budget-grid .progress{margin:12px 0}.but-budget-grid dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.but-budget-grid dl>div{display:flex;min-width:0;flex-direction:column;gap:3px;padding:8px;background:var(--surface-alt)}.but-budget-grid dt{color:var(--muted);font-size:9px}.but-budget-grid dd{margin:0;overflow-wrap:anywhere;font-size:11px;font-weight:700}.but-coverage-list{display:grid;gap:8px;margin-top:14px}.but-coverage-list article{display:grid;min-width:0;grid-template-columns:30px minmax(160px,1.4fr) minmax(150px,1fr) auto auto;align-items:center;gap:10px;padding:11px;border:1px solid var(--line);border-radius:6px}.but-coverage-list article>div{display:flex;min-width:0;flex-direction:column;gap:3px}.but-coverage-list article small,.coverage-values span{color:var(--muted);font-size:9px;line-height:1.35}.coverage-state{display:grid;width:30px;height:30px;place-items:center;border-radius:5px;color:var(--orange);background:var(--orange-soft)}.coverage-state--covered{color:var(--success);background:var(--success-soft)}.coverage-state--uncovered,.coverage-state--partially_covered{color:var(--danger);background:var(--danger-soft)}.but-teacher-assignment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}.but-teacher-assignment-grid>article{display:grid;min-width:0;grid-template-columns:minmax(110px,.65fr) minmax(0,1.35fr) auto;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:6px}.but-teacher-assignment-grid>article.has-conflict{border-color:#e5b95d;background:#fffaf0}.but-teacher-assignment-grid article>div:first-child{display:flex;min-width:0;flex-direction:column;gap:3px}.but-teacher-assignment-grid article small{color:var(--muted);font-size:9px}.teacher-chip-list{display:flex;min-width:0;flex-wrap:wrap;gap:6px}.teacher-chip-list>span{display:grid;width:34px;height:34px;place-items:center;border:1px solid #b8d8e5;border-radius:50%;color:var(--primary);background:var(--primary-soft);font-size:10px;font-weight:800}.teacher-chip-list>span small{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.teacher-chip-list>em{color:var(--muted);font-size:10px;font-style:normal}.verification-checks{display:grid;gap:8px;margin-top:14px}.school-return-review__actions{margin:12px 0;flex-wrap:wrap}.school-return-review__checks{min-width:0;margin-inline:0;padding:0;border:0}.school-return-review__checks legend{margin-bottom:8px;padding:0;font-size:12px;font-weight:700}.school-return-review__checks .check-row{margin-top:0}.document-choice-list{display:grid;gap:7px;max-height:360px;overflow-y:auto}.document-choice-list label{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:center;gap:8px;padding:10px;border:1px solid var(--line);border-radius:5px}.document-choice-list label span{display:flex;min-width:0;flex-direction:column;gap:3px}.document-choice-list label small{color:var(--muted)}.authority-email-preview pre{max-height:330px;margin:14px 0;padding:14px;overflow:auto;border:1px solid var(--line);border-radius:5px;background:var(--surface-alt);font:inherit;font-size:11px;line-height:1.55;white-space:pre-wrap}@media(max-width:900px){.but-case-content,.but-package-grid,.but-budget-grid,.but-teacher-assignment-grid{grid-template-columns:1fr}.but-case-content>.info-section,.but-case-content>.info-section:nth-child(2n){grid-column:1;border-right:0}.prerequisite-list article{grid-template-columns:34px minmax(0,1fr)}.prerequisite-list article>.button,.prerequisite-list article>.prerequisite-actions{grid-column:2;width:100%;justify-content:stretch}.prerequisite-actions .button{flex:1 1 150px}.record-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.record-kpis>div:nth-child(2n){border-right:0}.record-kpis>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.but-coverage-list article{grid-template-columns:30px minmax(0,1fr) auto}.coverage-values{grid-column:2}.but-coverage-list article>.button{grid-column:2 / -1;width:100%}.intake-table{display:grid;gap:8px;overflow:visible;border:0}.intake-table .data-table__head{display:none}.intake-table .data-table__row{min-width:0;grid-template-columns:28px minmax(0,1.2fr) minmax(150px,.9fr) auto;grid-template-rows:auto auto auto;gap:8px 12px;padding:12px;border:1px solid var(--line);border-radius:6px}.intake-table .data-table__row>span:nth-child(1){grid-column:1;grid-row:1 / 3;align-self:center}.intake-table .data-table__row>span:nth-child(2){grid-column:2;grid-row:1}.intake-table .data-table__row>span:nth-child(3){grid-column:2;grid-row:2;color:var(--muted)}.intake-table .data-table__row>span:nth-child(4){grid-column:3;grid-row:1}.intake-table .data-table__row>span:nth-child(5){grid-column:3;grid-row:2}.intake-table .data-table__row>span:nth-child(6){grid-column:4;grid-row:1;justify-self:end}.intake-table .data-table__row>span:nth-child(7){grid-column:4;grid-row:2;justify-self:end}.intake-table .data-table__row>span:nth-child(8){grid-column:2 / 5;grid-row:3;justify-self:end}:root{--sidebar: 0px}.workspace{margin-left:0;padding-bottom:62px}.schedule-page{height:calc(100dvh - var(--topbar) - 62px);min-height:0;overflow:hidden}.sidebar{width:278px;translate:-100% 0;transition:translate .2s ease;box-shadow:12px 0 30px #111c2d29}.sidebar--open{translate:0 0}.mobile-scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:35;display:block;border:0;background:#151e2d61}.mobile-menu{display:inline-grid}.topbar{grid-template-columns:minmax(145px,.8fr) minmax(160px,1.2fr) auto;padding-inline:10px;gap:8px}.topbar h1{font-size:15px}.global-search{height:37px}.global-search kbd,.location-label{display:none}.account-area{gap:3px}.account-button{min-width:40px}.mobile-nav{position:fixed;right:0;bottom:0;left:0;z-index:34;display:flex;height:62px;border-top:1px solid var(--line);background:#fffffffa}.mobile-nav a{display:flex;flex:1 1 0;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--muted);font-size:9px;font-weight:650;text-decoration:none}.mobile-nav a.active{color:var(--primary);background:var(--primary-soft)}.schedule-workarea{height:calc(100% - 48px);grid-template-columns:minmax(0,1fr)}.lesson-detail{position:fixed;top:var(--topbar);right:0;bottom:62px;z-index:90;display:none;width:min(390px,100vw);border-left:1px solid var(--line);box-shadow:-15px 0 40px #141f3033}.lesson-detail--mobile-open{display:block}.directory-page{height:calc(100dvh - var(--topbar) - 62px);min-height:0;grid-template-columns:minmax(210px,30%) minmax(0,1fr);overflow-x:hidden}.teacher-layout{grid-template-columns:minmax(220px,32%) minmax(0,1fr);overflow-x:hidden}.communication-page{position:relative;display:block;height:calc(100dvh - var(--topbar) - 62px);min-height:0;padding-top:42px;overflow:hidden}.communication-mobile-tabs{position:absolute;top:0;right:0;left:0;z-index:5;display:grid;height:42px;grid-template-columns:repeat(3,1fr);padding:4px 8px;border-bottom:1px solid var(--line);background:#fff}.communication-mobile-tabs button{border:0;border-radius:4px;background:transparent;color:var(--muted);font-size:10px;font-weight:700;cursor:pointer}.communication-mobile-tabs button.is-active{color:var(--primary);background:var(--primary-soft)}.communication-contacts,.communication-conversation,.communication-record{display:none;height:100%;border:0}.communication-contacts.is-mobile-active{display:flex}.communication-conversation.is-mobile-active{display:grid}.communication-record.is-mobile-active{display:block}.communication-contact-list>button{min-height:72px}.communication-record{background:#fafbfc}.communication-record>header{background:#fff}.banking-workarea{grid-template-columns:290px minmax(0,1fr)}.bank-transaction-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-transaction-facts>div:nth-child(2){border-right:0}.bank-transaction-facts>div:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}.bank-reconciliation-grid{grid-template-columns:1fr}.bank-reconciliation-grid>section:first-child{border-right:0;border-bottom:1px solid var(--line)}.report-layout{grid-template-columns:1fr}.report-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.report-toolbar .field:nth-child(3){grid-column:1 / -1}.report-toolbar .button{grid-column:1 / -1;justify-self:stretch}.billing-page .section-header{align-items:flex-start;flex-direction:column}.billing-page .section-header>div:last-child{width:100%;min-width:0;flex-wrap:wrap;justify-content:flex-start}.billing-page .section-header .field{flex:1 1 170px;min-width:150px}}@media(max-width:700px){:root{--topbar: 60px}.topbar{grid-template-columns:minmax(128px,1fr) 42px 78px}.global-search{width:36px;grid-template-columns:1fr;padding:0;place-items:center;border:0}.global-search input{position:absolute;width:1px;height:1px;opacity:0}.global-search .search-results{position:fixed;top:62px;right:10px;left:10px;width:auto}.account-button{grid-template-columns:34px;min-width:34px;padding:0}.avatar{width:34px;height:34px}.notification-popover{position:fixed;top:62px;right:10px;left:10px;width:auto}.account-popover{position:fixed;top:62px;right:10px}.schedule-toolbar{grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:8px 10px}.date-control{gap:7px}.date-control strong{overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.date-buttons{grid-column:1 / -1;order:3;overflow-x:auto}.date-buttons>span{display:none}.schedule-toolbar>.button{padding:0 10px}.schedule-toolbar>.button>span{display:none}.schedule-actions{gap:5px}.schedule-actions .button{width:36px;padding:0}.schedule-actions .button>span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.view-toolbar{min-height:49px;padding-inline:10px}.view-toolbar>.button:nth-child(2){display:none}.exceptions-bar{gap:12px;padding-inline:10px;overflow-x:auto}.exceptions-bar>span:nth-of-type(n+2){display:none}.exceptions-bar button{flex:0 0 auto}.schedule-workarea{height:calc(100% - 94px)}.schedule-grid__header,.schedule-grid__body{grid-template-columns:66px repeat(4,210px)}.time-column span{left:10px}.modal-backdrop{padding:0;place-items:stretch}.modal,.modal--wide{width:100%;max-height:100dvh;border:0;border-radius:0}.lesson-participant-editor__groups{grid-template-columns:1fr}.lesson-participant-editor__list{max-height:220px}.lesson-participant-editor__change-grid{grid-template-columns:1fr}.lesson-participant-editor__footer-confirmation{width:100%}.form-grid{grid-template-columns:1fr}.but-teacher-assignment-grid>article{grid-template-columns:minmax(0,1fr) auto}.teacher-chip-list{grid-column:1 / -1;grid-row:2}.but-coverage-list article{grid-template-columns:30px minmax(0,1fr)}.but-coverage-list article>.badge,.but-coverage-list article>.button,.coverage-values{grid-column:2;width:100%}.intake-table .data-table__row{grid-template-columns:28px minmax(0,1fr) auto;grid-template-rows:repeat(4,auto)}.intake-table .data-table__row>span:nth-child(1){grid-column:1;grid-row:1}.intake-table .data-table__row>span:nth-child(2){grid-column:2;grid-row:1}.intake-table .data-table__row>span:nth-child(3){grid-column:2;grid-row:2}.intake-table .data-table__row>span:nth-child(4){grid-column:2;grid-row:3}.intake-table .data-table__row>span:nth-child(5){grid-column:3;grid-row:2;justify-self:end}.intake-table .data-table__row>span:nth-child(6){grid-column:3;grid-row:1}.intake-table .data-table__row>span:nth-child(7){grid-column:3;grid-row:3}.intake-table .data-table__row>span:nth-child(8){grid-column:2 / 4;grid-row:4;justify-self:start}.family-editor>header,.family-contact-card>header{align-items:stretch;flex-direction:column}.family-contact-actions{justify-content:space-between}.sibling-picker{grid-template-columns:1fr}.sepa-active-row,.sepa-revoke-row,.sepa-draft-row,.sepa-history-list article{align-items:stretch;flex-direction:column}.sepa-active-row>span{margin-right:0}.sepa-history-list article>div{flex-wrap:wrap}.sepa-history-list article small{text-align:left}.group-manager{display:block;min-height:0;margin:-18px -19px}.group-manager__list{max-height:200px;border-right:0;border-bottom:1px solid var(--line)}.group-manager__items{max-height:128px}.group-manager__editor{padding:15px 14px}.group-manager__summary{grid-template-columns:1fr}.group-manager__summary>span{min-height:36px;border-right:0;border-bottom:1px solid var(--line-soft)}.group-manager__summary>span:last-child{border-bottom:0}.quick-group-confirmation{grid-template-columns:1fr}.group-revenue-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))}.group-revenue-breakdown>span:nth-child(2){border-right:0}.group-revenue-breakdown>span:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}.group-manager__checks{grid-template-columns:1fr}.group-manager__checks .check-row:last-child:nth-child(odd){grid-column:auto}.group-members{padding:10px}.group-member-chip>button{width:34px;height:34px;flex-basis:34px}.group-member-result{flex-wrap:wrap}.group-member-result__add{flex-basis:100%}.group-member-result__waitlist{margin:0 10px 8px auto;border:0}.span-2{grid-column:auto}.subject-allocation>header{align-items:flex-start;flex-direction:column}.subject-allocation__row{grid-template-columns:minmax(0,1fr) 36px}.subject-allocation__row .field,.subject-allocation__row .span-2{grid-column:1}.subject-allocation__row>.icon-button{grid-column:2;grid-row:1}.modal__footer{position:sticky;bottom:0;flex-wrap:wrap;background:#fff}.modal-footer-spacer{display:none}.modal__footer .button{flex:1}.attendance-editor__row{grid-template-columns:36px 1fr}.attendance-editor__row .segmented{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,1fr)}.attendance-editor__reason{grid-column:1 / -1;grid-template-columns:1fr;gap:5px}.directory-page{display:block;height:auto;min-height:auto;overflow:visible}.record-list-panel{height:280px;border-right:0;border-bottom:1px solid var(--line)}.directory-page--students{height:calc(100dvh - var(--topbar) - 62px);overflow:hidden}.directory-page--students .record-list-panel{height:100%;border:0}.directory-page--students .record-detail-panel{display:none;height:100%;overflow-y:auto;overscroll-behavior-y:contain}.directory-page--students.directory-page--student-detail .record-list-panel{display:none}.directory-page--students.directory-page--student-detail .record-detail-panel{display:block}.directory-page--students:not(.directory-page--student-detail) .record-list>button.is-active{background:transparent;box-shadow:none}.directory-page--students .student-mobile-back{position:sticky;top:0;z-index:2;display:flex;width:100%;min-height:46px;align-items:center;gap:5px;padding:0 13px;border:0;border-bottom:1px solid var(--line);background:#fff;color:var(--primary);font-size:12px;font-weight:700;text-align:left;cursor:pointer}.record-detail-panel{overflow:visible}.record-header{align-items:flex-start;padding:13px}.record-actions{flex-direction:column}.record-actions .button{min-height:32px}.record-identity h2{font-size:16px}.record-identity p{max-width:200px;line-height:1.35}.record-kpis,.metric-strip,.document-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.record-kpis>div,.metric-strip>div,.document-stats>div{border-bottom:1px solid var(--line)}.record-kpis>div:nth-child(2n),.metric-strip>div:nth-child(2n),.document-stats>div:nth-child(2n){border-right:0}.tabs{padding-inline:13px}.tabs--page{margin-inline:-13px}.record-tab-content{padding:13px}.placement-filters{grid-template-columns:repeat(2,minmax(0,1fr));margin-inline:-13px;padding-inline:13px}.placement-simple-filters{margin-inline:-13px;padding-inline:13px}.placement-list article{grid-template-columns:minmax(0,1fr) auto}.placement-list__meta{grid-column:1 / -1;grid-row:2}.placement-list article>.button,.placement-list article>.badge{grid-column:2;grid-row:1}.record-overview,.property-grid,.but-detail-grid,.settings-grid,.task-columns,.billing-profile-comparison{grid-template-columns:1fr}.teacher-record-overview{padding:0 13px 76px}.contact-actions .button{flex:1 1 140px;min-width:0}.page-section{padding:13px 13px 76px}.section-header{align-items:flex-start}.section-header>div:last-child{flex-wrap:wrap;justify-content:flex-end}.section-header p{line-height:1.4}.workflow-steps{justify-content:flex-start;margin-inline:-13px;padding-inline:13px;overflow-x:auto}.workflow-steps>div{min-width:112px}.table-toolbar{flex-wrap:wrap}.teacher-page{padding:12px 12px 74px}.teacher-hero{align-items:flex-start}.teacher-earnings{min-width:auto}.teacher-layout{display:block;overflow:visible}.teacher-agenda{max-height:270px;border-right:0;border-bottom:1px solid var(--line);overflow-y:auto}.teacher-workspace{min-width:0}.teacher-students>div:not(.section-heading){grid-template-columns:36px minmax(0,1fr) auto}.teacher-pending-list article{align-items:stretch;flex-direction:column;gap:12px}.teacher-pending-list article .button{align-self:flex-start}.teacher-students .teacher-student-row{grid-template-columns:36px minmax(0,1fr)}.teacher-student-row .button{grid-column:2;justify-self:start}.teacher-actions,.approval-action{align-items:stretch;flex-direction:column}.approval-action>.approval-action__buttons{align-items:stretch;flex-direction:column}.but-detail-grid,.page-table-section,.authority-workflows,.operational-prerequisites{padding-inline:13px}.operational-prerequisite-list article{grid-template-columns:32px minmax(0,1fr) auto}.operational-prerequisite-list article>.button,.operational-prerequisite-actions{grid-column:2 / -1;width:100%;justify-self:stretch}.operational-prerequisite-actions .button{flex:1}.authority-workflow-grid{grid-template-columns:1fr}.authority-workflow-grid article{border-right:0;border-bottom:1px solid var(--line)}.authority-workflow-grid article:last-child{border-bottom:0}.form-version-warning{grid-template-columns:auto minmax(0,1fr);padding-inline:13px}.form-version-warning .button{grid-column:1 / -1;width:100%}.official-forms-bar{align-items:stretch;flex-direction:column;padding-inline:13px}.official-forms-bar>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.official-forms-bar .button{width:100%;min-width:0}.authority-form-list article{grid-template-columns:32px minmax(0,1fr) auto}.authority-form-list article>.button{grid-column:2 / -1;width:100%}.inline-alert>.button{margin-left:28px}.provider-subject-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.provider-special-options{grid-template-columns:1fr}.requirement-list>div,.requirement-list>div.is-verified{grid-template-columns:24px minmax(0,1fr) auto}.requirement-list .select,.requirement-list .button{grid-column:2 / -1}.package-table .data-table__head{display:none}.package-table .data-table__row{min-width:0;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding-block:13px}.package-table .data-table__row>span{min-width:0;overflow-wrap:anywhere}.package-table .data-table__row>span:first-child{grid-column:1;grid-row:1}.package-table .data-table__row>span:nth-child(2){grid-column:1;grid-row:2}.package-table .data-table__row>span:nth-child(3){grid-column:1;grid-row:3;color:var(--muted)}.package-table .data-table__row>span:nth-child(4){grid-column:1;grid-row:4;color:var(--muted)}.package-table .data-table__row>span:last-child{grid-column:2;grid-row:1 / 5;flex-direction:column;align-self:center}.document-table .data-table__head{display:none}.document-table .data-table__row{min-width:0;grid-template-columns:minmax(0,1fr) minmax(110px,auto);grid-template-rows:auto auto;gap:8px 12px;padding-block:13px}.document-table .data-table__row>span:nth-child(1){grid-column:1;grid-row:1}.document-table .data-table__row>span:nth-child(2){grid-column:2;grid-row:1;justify-self:end}.document-table .data-table__row>span:nth-child(3){grid-column:1;grid-row:2;color:var(--muted);font-size:9px}.document-table .data-table__row>span:nth-child(4),.document-table .data-table__row>span:nth-child(5){display:none}.document-table .data-table__row>span:nth-child(6){grid-column:2;grid-row:2;justify-self:end;justify-content:flex-end}.document-row-actions{flex-wrap:wrap;justify-content:flex-end}.dunning-table .data-table__head{display:none}.dunning-table .data-table__row{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:14px 12px}.dunning-table .data-table__row>span{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:4px}.dunning-table .data-table__row>span:first-child{grid-column:1 / -1;padding-bottom:9px;border-bottom:1px solid var(--line-soft)}.dunning-table .data-table__row>span:last-child{grid-column:1 / -1}.dunning-table .data-table__row>span:last-child .button{width:100%}.dunning-table .mobile-cell-label{display:block!important;color:var(--muted);font-size:8px;font-weight:700;text-transform:uppercase}.settings-list article{grid-template-columns:42px minmax(0,1fr) auto;padding:9px 0}.settings-list article .button{grid-column:2 / -1;justify-self:stretch}.calendar-block-list article{grid-template-columns:38px minmax(0,1fr) auto;padding:9px 0}.calendar-block-list article>.calendar-block-actions{grid-column:2 / -1;width:100%}.calendar-module-options{grid-template-columns:1fr}.calendar-module-options>strong{grid-column:auto}.recovery-break-list>div{grid-template-columns:minmax(0,1fr) 34px}.recovery-break-list>div .field{grid-column:1}.recovery-break-list>div .icon-button{grid-column:2;grid-row:1}.recovery-break-summary{align-items:stretch;flex-wrap:wrap}.recovery-break-summary .button{width:100%}.teacher-evidence-list article{grid-template-columns:28px minmax(0,1fr) auto;padding-block:8px}.teacher-evidence-list article>.button{grid-column:2 / -1;width:100%}.teacher-notification-list article{grid-template-columns:24px minmax(0,1fr) auto}.teacher-notification-list article>.button,.teacher-notification-actions{grid-column:2 / -1;width:100%}.teacher-notification-actions{flex-direction:column}.teacher-notification-actions .button{width:100%}.task-columns article{grid-template-columns:30px minmax(0,1fr)}.task-columns article>.button{grid-column:2;justify-self:start}.automation-toolbar{align-items:stretch;flex-direction:column}.automation-toolbar .button{width:100%}.automation-rules article{grid-template-columns:38px minmax(0,1fr) auto}.automation-copy{grid-column:2 / -1;grid-row:1}.automation-toggle{grid-column:2;grid-row:2;justify-self:start}.automation-rules article>.button{grid-column:3;grid-row:2;justify-self:end}.report-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.report-toolbar .field{min-width:0}.report-toolbar .field:nth-child(3),.report-toolbar .button{grid-column:1 / -1}.report-table .data-table__head{display:none}.report-table .data-table__row{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;padding:13px}.report-table .data-table__row>span:first-child{grid-column:1 / -1;padding-bottom:4px;border-bottom:1px solid var(--line-soft)}.report-table .data-table__row>span:not(:first-child){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.report-table .data-table__row>span:not(:first-child):before{content:attr(data-label);color:var(--muted);font-size:8px;font-weight:600}.report-table .data-table__row>.button{grid-column:1 / -1;justify-self:start}.conversation-header{min-height:69px;padding-inline:11px}.conversation-header .student-avatar--large{width:42px;height:42px}.conversation-header .record-identity h2{font-size:14px}.conversation-header>.button span{display:none}.message-timeline{padding:11px}.message-entry,.message-entry--internal,.message-entry--internal_note,.message-entry--phone{width:90%}.message-entry--internal,.message-entry--internal_note,.message-entry--phone{width:96%}.message-composer{height:100%;max-height:none;padding:10px 11px}.composer-channel button{height:34px}.composer-channel button span{display:none}.composer-row,.phone-record-fields{grid-template-columns:1fr}.composer-attachments{flex-direction:column}.composer-attachments>div{width:100%}.document-list.invoice-list article{grid-template-columns:26px minmax(0,1fr) auto}.document-list.invoice-list article>strong{grid-column:2;grid-row:2}.document-list.invoice-list article>.badge{grid-column:3;grid-row:1}.document-list.invoice-list article>.icon-button{grid-column:3;grid-row:2}.composer-actions .button{min-width:0;padding-inline:9px}.permission-strip{align-items:flex-start}.permission-strip small{white-space:normal}.form-grid--two{grid-template-columns:1fr}.leads-page{display:block;min-height:calc(100dvh - var(--topbar) - 62px);padding-bottom:62px}.leads-toolbar{align-items:flex-start;padding:12px}.leads-toolbar p{max-width:230px;line-height:1.4}.leads-toolbar .button span{display:none}.lead-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.lead-metrics>div:nth-child(2n){border-right:0}.lead-metrics>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.leads-workarea{display:block;overflow:visible}.lead-list-panel{max-height:315px;border-right:0;border-bottom:1px solid var(--line)}.lead-list{max-height:250px}.lead-detail-panel{overflow:visible}.lead-detail-header{padding:13px}.lead-header-actions{width:100%}.lead-header-actions .button{flex:1 1 145px;min-width:0}.lead-detail-grid{grid-template-columns:1fr;padding-inline:13px}.lead-detail-grid>section,.lead-detail-grid>section:nth-child(odd):not(.span-2),.lead-detail-grid>section:nth-child(2n){padding:14px 0;border-right:0}.lead-detail-grid .span-2{grid-column:auto}.trial-block-options{grid-template-columns:1fr}.lead-trial-summary>div{align-items:flex-start;flex-wrap:wrap}.lead-trial-summary .button{width:100%}.lead-contact-history article>div>div{flex-direction:column;gap:3px}.banking-toolbar{align-items:stretch;flex-direction:column}.banking-toolbar .segmented{display:grid;grid-template-columns:repeat(4,minmax(80px,1fr))}.banking-toolbar .button{width:100%}.banking-workarea{display:block;height:auto;min-height:0}.bank-transaction-panel{max-height:340px;border-right:0;border-bottom:1px solid var(--line)}.bank-transaction-list{max-height:284px}.bank-transaction-detail{overflow:visible}.bank-transaction-detail>header{align-items:flex-start}.bank-transaction-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.bank-transaction-facts>div:nth-child(2n){border-right:0}.bank-transaction-facts>div:nth-child(-n+2){border-bottom:1px solid var(--line-soft)}.bank-reconciliation-grid{grid-template-columns:1fr}.bank-reconciliation-grid>section:first-child{border-right:0;border-bottom:1px solid var(--line)}.bank-allocation-form{grid-template-columns:1fr}.bank-allocation-form .field:first-child{grid-column:auto}.bank-allocation-history article{grid-template-columns:28px minmax(0,1fr) auto 32px}.bank-import-review>dl{grid-template-columns:1fr}.bank-import-review>dl>div{border-right:0}.toast{right:16px;bottom:76px;left:16px}}@media(max-width:430px){.auth-screen{padding:0;place-items:stretch}.auth-panel{width:100%;min-height:100dvh;justify-content:center;padding:24px;border:0;border-radius:0;box-shadow:none}.topbar{grid-template-columns:minmax(120px,1fr) 34px 72px;padding-inline:7px}.topbar h1{font-size:14px}.bell-button{width:32px}.record-header{flex-direction:column}.record-actions{display:grid;width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.record-actions .button{width:100%;min-width:0}.placement-filters{grid-template-columns:1fr}.weekday-picker{grid-template-columns:repeat(5,minmax(0,1fr))}.teacher-availability-row{grid-template-columns:1fr}.teacher-availability-row>div{grid-template-columns:1fr}.placement-list article{grid-template-columns:1fr}.placement-list__meta,.placement-list article>.button,.placement-list article>.badge{grid-column:1;grid-row:auto}.placement-list .button{width:100%}.record-identity p{max-width:280px}.record-kpis strong,.metric-strip strong{font-size:16px}.section-header{flex-direction:column}.section-header>div:last-child{width:100%;justify-content:stretch}.section-header>div:last-child .button{flex:1}.section-header>div:last-child .field{flex:1 1 100%}.teacher-hero{flex-direction:column}.teacher-earnings{align-items:flex-start}.mobile-nav span{max-width:68px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}.paper-evidence-panel{margin-top:16px;padding:16px;border:1px solid var(--border, #dce3eb);border-radius:12px;display:grid;gap:10px}.paper-evidence-panel>small{color:#64748b;line-height:1.5}.paper-evidence-panel .check-row{margin:0}.subject-checkboxes{max-height:230px;overflow-y:auto}.info-section>.section-heading,.info-section>h3{min-height:48px;margin-bottom:14px;padding:10px 12px;border-left:4px solid var(--primary);border-radius:0 5px 5px 0;background:#edf3f7;color:#193b52}.info-section>.section-heading h3,.info-section>h3{color:#193b52;font-size:14px;font-weight:750;line-height:1.4}.info-section>.section-heading>div:first-child{display:flex;min-width:0;flex-direction:column;gap:3px}.info-section>.section-heading>div:first-child>span{color:#4e6071;font-size:11px;line-height:1.45}.package-contents{margin-top:4px;font-size:12px}.package-contents>summary{padding:6px 0;color:var(--primary-dark);font-weight:650;cursor:pointer}.package-contents>summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.task-columns article .task-student{color:var(--primary-dark);font-size:12px;font-weight:750}.document-checklist__rows{border:1px solid #cbd8e1;border-radius:6px;overflow:hidden}.document-checklist__row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:12px;border-bottom:1px solid var(--line)}.document-checklist__row:last-child{border-bottom:0}.document-checklist__row--report-card{grid-template-columns:minmax(0,1fr) auto auto}.document-checklist__files{grid-column:1 / -1;min-width:0;font-size:12px}.document-checklist__files ul{margin:4px 0;padding-left:20px}.document-checklist__files li{margin:8px 0;overflow-wrap:anywhere}.document-checklist__files li>span{margin-right:8px}.document-checklist__files li>button{margin:3px}@media(max-width:480px){.document-checklist__row--report-card{grid-template-columns:minmax(0,1fr) auto}.document-checklist__row--report-card>button{grid-column:1 / -1;justify-self:start}}.document-checklist__row>label{display:flex;min-width:0;align-items:center;gap:9px;cursor:pointer;font-size:13px}.document-checklist__row>label>strong{min-width:0;overflow-wrap:anywhere}.document-checklist input[type=checkbox]{width:17px;height:17px;flex-shrink:0;margin:0;accent-color:var(--primary)}.document-checklist__date{display:flex;grid-column:1 / -1;flex-wrap:wrap;align-items:flex-end;gap:8px;padding-left:26px}.document-checklist__date>.field{flex:1;min-width:150px}.document-checklist__actions{display:flex;grid-column:1 / -1;flex-wrap:wrap;gap:8px;padding-left:26px}.document-checklist__warning,.document-checklist__pending{grid-column:1 / -1;padding-left:26px;font-size:11px}.document-checklist__warning{color:#965500;font-weight:650}.document-checklist__pending{color:var(--muted)}.record-kpis.but-case-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.record-kpis.but-case-kpis>div{border-bottom:0;border-right:1px solid var(--line)}.record-kpis.but-case-kpis>div:last-child{border-right:0}.but-case-progress__summary{min-width:0;margin-top:18px}.but-case-progress__summary p{margin-top:6px;color:#4e6071;font-size:12px;line-height:1.5}.but-case-progress__summary p strong{color:#193b52;font-weight:650}.but-case-progress__pending{margin-top:6px;color:#4e6071;font-size:11px;line-height:1.5}.but-case-progress__pending summary{cursor:pointer;color:var(--primary-dark)}.but-case-progress__pending summary:focus-visible{outline:2px solid var(--primary);outline-offset:2px}.but-case-progress__pending ul{margin:7px 0 0;padding-left:18px}.but-case-progress .but-stage-actions{justify-content:flex-start;flex-wrap:wrap;margin-top:18px}.but-stage-actions:empty{display:none}.but-stage-track{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:18px}.but-stage-track>div{display:flex;min-width:0;flex-direction:column;align-items:center;gap:6px;color:var(--muted);text-align:center}.but-stage-track>div>span{display:grid;width:22px;height:22px;place-items:center;border:1px solid var(--line);border-radius:50%;background:#fff}.but-stage-track>div.is-current{color:var(--primary);font-weight:700}.but-stage-track>div.is-current>span{border-color:var(--primary);color:#fff;background:var(--primary)}.but-stage-track>div.is-complete{color:#247a43}.but-stage-track>div.is-complete>span{border-color:#b7d7c1;color:#247a43;background:#edf7f0}.but-stage-track>div.is-waiting{color:#97611b}.but-stage-track>div.is-waiting>span{border-color:#e4cda8;color:#97611b;background:#fff8eb}.but-stage-track>div.is-rejected{color:#ae3434}.but-stage-track>div.is-rejected>span{border-color:#e3b9b9;color:#ae3434;background:#fff0f0}.but-stage-track small{overflow-wrap:anywhere;font-size:9px;line-height:1.25}@media(max-width:1200px){.but-stage-track{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:12px}}@media(max-width:1100px){.but-case-content>.but-case-progress,.but-case-content>.document-checklist{grid-column:1 / -1;border-right:0}}@media(max-width:500px){.record-kpis.but-case-kpis>div{padding:10px}.record-kpis.but-case-kpis strong{font-size:14px;white-space:normal}.record-kpis.but-case-kpis small{white-space:normal}}.package-preview-status{padding-top:8px;color:var(--muted);font-size:11px}.sibling-enrollment{padding:16px;margin-bottom:20px;border:1px solid #bfd4df;border-radius:8px;background:#f2f8fb;display:grid;gap:12px}.sibling-enrollment h3,.sibling-enrollment p{margin:0}.sibling-enrollment p{color:#44566b;font-size:13px;line-height:1.5}.sibling-enrollment__source{display:flex;align-items:center;justify-content:space-between;gap:12px}.student-family-bar{padding:12px 20px;display:flex;align-items:center;flex-wrap:wrap;gap:8px;background:#f2f8fb;border-bottom:1px solid #cbdbe4}.student-family-bar>strong{margin-right:6px}.tablet-entry-status{max-width:620px;margin:12vh auto;padding:28px;line-height:1.6}.tablet-manager{border:1px solid #c2d4de;border-radius:12px;padding:18px;margin:0 0 22px;background:#f3f8fb}.tablet-manager>header{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.tablet-manager h3{display:flex;align-items:center;gap:9px;font-size:16px;color:#153c52}.tablet-manager header p,.tablet-manager-empty{margin-top:5px;color:#52667a;font-size:13px}.tablet-manager-list{display:grid;gap:8px}.tablet-manager-list article{display:flex;flex-wrap:wrap;align-items:center;gap:14px;padding:13px;background:#fff;border:1px solid #d8e2e9;border-radius:8px}.tablet-manager-list article>div:first-child{flex:1;min-width:160px}.tablet-manager-list small{display:block;color:#596c7d;margin-top:5px}.tablet-manager-actions{display:flex;gap:8px;flex-wrap:wrap}.tablet-manager-toggle{border:0;background:none;padding:12px 0 0;color:#145e80;cursor:pointer;text-decoration:underline}.tablet-manager-notice{margin-top:12px;font-size:14px}.tablet-link{display:grid;justify-items:center;gap:16px;line-height:1.6}.tablet-link .field{width:100%}.tablet-link img{width:min(280px,100%);height:auto}.tablet-review{display:grid;gap:14px}.tablet-review section{padding:16px;background:#f4f8fa;border:1px solid #d4e0e7;border-radius:8px}.tablet-review p{line-height:1.65;margin:5px 0;overflow-wrap:anywhere}@media(max-width:700px){.tablet-manager>header{align-items:stretch;flex-direction:column}.tablet-manager-list article{align-items:flex-start}.tablet-manager-actions{width:100%}}.but-planning-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.but-teacher-role-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:14px}.but-teacher-role-grid>article{min-width:0;border:1px solid var(--border, #d8e1ea);border-radius:10px;padding:16px}.but-teacher-role-grid article>header{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:14px}.but-teacher-role-grid dl{display:grid;gap:12px;margin:0}.but-teacher-role-grid dl div{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px}.but-teacher-role-grid dt{color:#536175;font-size:12px}.but-teacher-role-grid dd{margin:0;font-weight:600;overflow-wrap:anywhere}.but-role-history{margin-top:16px;font-size:12px}.but-role-history summary{cursor:pointer;color:#175977;font-weight:600;padding:6px 0}.but-role-history>div{display:grid;gap:5px;border-top:1px solid #e1e7ee;padding:10px 0}.but-pending-notice{background:#fff5e4;border:1px solid #efd29b;border-radius:8px;padding:10px;margin-top:12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;font-size:12px}.but-notice-editor{line-height:1.65;min-height:330px}.authority-attachments{margin:20px 0;padding-top:16px;border-top:1px solid var(--border)}.authority-attachment{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.authority-attachment strong{overflow-wrap:anywhere}.authority-attachment label{display:flex;align-items:center;gap:8px}.authority-email-preview pre{white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:640px){.authority-attachment{align-items:flex-start;flex-direction:column}}.school-upload-files{padding-left:20px}.school-upload-files li{display:flex;align-items:center;gap:6px;margin:8px 0;flex-wrap:wrap}.school-upload-files li span{flex:1;overflow-wrap:anywhere;min-width:120px}.school-return-upload{display:grid;gap:12px}.school-return-upload .upload-dropzone{margin:0;min-height:88px}.school-return-upload .school-upload-files{margin:0;padding:0}.school-return-upload .document-preview-pages,.school-return-upload .document-preview-image-wrap{max-height:43vh}.school-return-upload__forms{margin:0;padding:0;border:0}.school-return-upload__forms legend{margin-bottom:8px;font-weight:700}.school-return-upload__confirmation{background:#edf6fa;border-color:#a8c6d5}.lesson-change-preview{margin-top:16px;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:var(--surface-alt)}.lesson-change-preview p{margin:0 0 8px}.lesson-change-preview p:last-child{margin-bottom:0}.lesson-change-preview summary{cursor:pointer;font-weight:600}.lesson-change-preview ul{max-height:180px;overflow-y:auto;padding-left:20px;font-size:13px}.lesson-change-preview li+li{margin-top:6px}.bank-allocation-recovery{padding:12px 16px;border-bottom:1px solid var(--line);background:#fff8eb}.bank-allocation-recovery p{margin:0 0 8px;overflow-wrap:anywhere}.bank-allocation-recovery>div{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:700px){.payout-table .data-table__head{display:none}.payout-table .data-table__row{min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.payout-table .data-table__row>span{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0}.payout-table .data-table__row>span:first-child{grid-column:1 / -1}.payout-table .data-table__row>span[data-label]:before{content:attr(data-label);font-size:11px;color:var(--muted)}}.student-history-filter{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}.student-history-filter .field{flex:0 1 180px;min-width:140px}.student-history-filter .field-error{flex-basis:100%}@media(max-width:600px){.student-history-filter .field{flex:1 1 140px}}@media(max-width:600px){.student-lessons-history .record-table__head{display:none}.student-lessons-history .record-table__row{min-width:0;grid-template-columns:1fr 1fr;gap:12px;padding:16px 0;font-size:12px}.student-lessons-history .record-table__row small{font-size:11px}.student-lessons-history .record-table__row>span:nth-child(3):before{content:"Anwesenheit";color:var(--muted);font-size:11px}.student-lessons-history .record-table__row>span:nth-child(4):before{content:"Status";color:var(--muted);font-size:11px}}:where(.context-message-section)>summary{cursor:pointer;min-height:40px;padding-block:10px;font-weight:600}:where(.context-message-section[open])>summary{margin-bottom:12px}
