.match-fields{border:1px solid #dbe8ed;background:#f8fbfc;border-radius:14px;padding:24px;display:grid;gap:18px}.match-fields h3{margin:0}.match-fields fieldset{border:1px solid #dce8ef;border-radius:10px;padding:16px;min-width:0}.match-checks{display:flex;gap:12px;flex-wrap:wrap}.match-checks label,.match-ack{flex-direction:row;align-items:center;font-weight:400}.match-checks input,.match-ack input{width:auto}.match-days{display:grid;grid-template-columns:repeat(7,minmax(115px,1fr));gap:10px;overflow:auto;padding-bottom:12px}.match-days>div{display:grid;gap:8px;text-align:center}.match-days button{font-size:11px;padding:4px}.match-days label{position:relative;cursor:pointer}.match-days input{position:absolute;opacity:0;width:1px}.match-days span{padding:10px 5px;background:#fff;border:1px solid #d7e5ed;border-radius:8px;font-size:12px}.match-days input:checked+span{background:#e0f3ef;border-color:#4da69a;color:#176b65}.match-days input:focus-visible+span{outline:3px solid #8ecbd1}.match-avatar{width:80px;height:80px;object-fit:cover;border-radius:18px;background:#eaf2f6}.match-chip{display:inline-block;padding:6px 10px;margin:4px;background:#edf5f7;border-radius:8px;font-size:13px}.match-dialog{max-width:520px;padding:28px;border:0;border-radius:18px;line-height:1.9}.match-dialog::backdrop{background:#18394e66}.match-public{background:#f2f7f8;font-size:17px}.match-shell{max-width:920px;margin:auto;padding:24px 18px 40px}.match-brand{font-weight:700;color:#174861;margin:6px 0 24px}.match-brand small{font-weight:400;margin-left:14px}.match-shell .panel{padding:28px;border-radius:18px}.match-shell h1{font-size:26px}.match-shell h2{font-size:20px}.match-shell button{min-height:48px;font-size:16px}.match-shell label{font-size:16px}.match-contact{background:#eff7f6;border-radius:10px;padding:12px 16px;margin-bottom:0}.match-stepper{display:flex;justify-content:space-between;gap:12px;padding:0;list-style:none;font-size:17px;font-weight:600;color:#276279}.match-slot-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-height:420px;overflow:auto;overscroll-behavior:auto}.match-slot-buttons label{cursor:pointer;position:relative}.match-slot-buttons input{position:absolute;opacity:0;width:1px}.match-slot-buttons span{padding:15px;background:#f7fafb;border:1px solid #d5e2e9;border-radius:12px;font-weight:400}.match-slot-buttons strong{display:block;font-size:19px;margin-top:6px}.match-slot-buttons input:checked+span{background:#e6f5f1;border:2px solid #278c7f;padding:14px}.match-slot-buttons input:focus-visible+span{outline:3px solid #8ecbd1}.match-teacher-card{border:1px solid #dce8ec;border-radius:14px;padding:20px;margin-bottom:16px;background:#fff}.match-teacher-head{display:flex;gap:18px;align-items:center}.match-teacher-head h3{margin:0;font-size:21px}.match-teacher-head p{margin:4px 0 0}.match-teacher-card>p{margin-top:18px;white-space:pre-wrap}.match-case{white-space:pre-wrap;margin-top:12px}.match-card-actions{display:flex;gap:20px;margin-top:20px;flex-wrap:wrap}.match-card-actions label{flex-direction:row;align-items:center;gap:8px;cursor:pointer}.match-card-actions input{width:20px;height:20px;accent-color:#168778}.match-result{text-align:center}.match-result.is-pending{border-top:6px solid #df9c28;background:#fffcf5}.match-result.is-confirmed{border-top:6px solid #30947c;background:#f6fcf9}.match-result-icon{font-size:40px;display:block}.match-important{font-size:19px;font-weight:600;line-height:1.9}.match-parent-task{display:flex;justify-content:space-between;gap:20px;text-decoration:none}.match-shell footer{text-align:center}.match-shell footer p{font-size:13px}.match-shell details>summary{cursor:pointer;color:#16788d;padding:10px 0}.match-shell textarea{margin:8px 0 14px}.match-status{font-size:18px;font-weight:600;color:#aa6b10}.match-shell button:disabled{opacity:.5;cursor:not-allowed}@media(max-width:600px){.match-shell{padding:16px 12px}.match-shell .panel{padding:20px}.match-stepper{font-size:14px;gap:6px}.match-slot-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.match-slot-buttons span{font-size:14px}.match-slot-buttons strong{font-size:16px}.match-card-actions{flex-direction:column}.match-parent-task{flex-direction:column}.match-fields{padding:16px}}

.match-date-filter{margin:16px 0 20px;max-width:400px}.match-slot-buttons label[hidden]{display:none}.match-slot-buttons{max-height:none;overflow:visible}.match-public input[type=radio]{accent-color:#238879}

@media(max-width:600px){.match-days{grid-template-columns:1fr;overflow:visible;gap:16px}.match-days>div{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px;background:#eef5f7;border-radius:12px}.match-days strong{align-self:center;text-align:left}.match-days button{font-size:13px}.match-days span{font-size:14px}.match-dialog{max-width:calc(100vw - 32px);padding:22px}.match-teacher-head .match-avatar{width:64px;height:64px;flex-shrink:0}.match-shell p,.match-shell strong{overflow-wrap:anywhere}}

/* V2.0: readable teacher forms and touch-sized, keyboard-accessible controls. */
.teacher-intake-page{background:#f2f6f8}.teacher-intake-page .public-shell{max-width:1000px;padding:32px 20px;margin:auto}.teacher-intake-page .public-shell>.panel{padding:32px;border-radius:20px}.intake-header{padding-bottom:24px;border-bottom:1px solid #dce8ed;margin-bottom:28px}.intake-header h1{font-size:28px;margin:10px 0}.intake-header p{font-size:15px;line-height:1.8;color:#567184}.intake-section{padding:24px;border:1px solid #dce8ed;border-radius:16px;background:#fff;margin-bottom:8px}.intake-section-title{display:flex;align-items:center;gap:12px;margin:0 0 16px}.intake-section-title>span{display:grid;place-items:center;flex:0 0 36px;height:36px;border-radius:11px;background:#e4f2f1;color:#147e78;font-size:14px;font-weight:700}.intake-section-title h2,.intake-section-title h3{margin:0;font-size:19px}.teacher-intake-page .match-fields{background:#fff;border-radius:16px;padding:24px}.teacher-intake-page label,.match-fields label{font-size:15px;line-height:1.7}.teacher-intake-page input:not([type=checkbox]),.teacher-intake-page select,.teacher-intake-page textarea{font-size:16px;min-height:46px;border-radius:10px}.teacher-intake-page textarea{min-height:120px}.match-field-hint{font-size:14px;color:#657d8b;line-height:1.7;margin:0 0 10px}.match-checks{gap:10px}.match-checks label{display:flex;gap:10px;padding:10px 14px;min-height:48px;cursor:pointer;background:#fff;border:1px solid #d9e5ec;border-radius:10px;transition:background-color .2s,border-color .2s}.match-checks label:has(input:checked){background:#e8f5f2;border-color:#379d8e;color:#176e63}
.match-checks input[type=checkbox],.match-ack input[type=checkbox],.match-fields .check input[type=checkbox]{appearance:none;-webkit-appearance:none;display:inline-grid;place-content:center;box-sizing:border-box;width:24px;min-width:24px;height:24px;min-height:24px;flex:0 0 24px;padding:0;margin:0;border:2px solid #819daa;border-radius:6px;background:#fff;cursor:pointer;transition:background-color .2s,border-color .2s;vertical-align:middle}.match-checks input[type=checkbox]::before,.match-ack input[type=checkbox]::before,.match-fields .check input[type=checkbox]::before{content:'';width:11px;height:6px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:translateY(-1px) rotate(-45deg) scale(0)}.match-checks input[type=checkbox]:checked,.match-ack input[type=checkbox]:checked,.match-fields .check input[type=checkbox]:checked{background:#168574;border-color:#168574}.match-checks input[type=checkbox]:checked::before,.match-ack input[type=checkbox]:checked::before,.match-fields .check input[type=checkbox]:checked::before{transform:translateY(-1px) rotate(-45deg) scale(1)}.match-fields input[type=checkbox]:focus-visible{outline:3px solid #8ed2cc;outline-offset:3px}.match-ack,.match-fields .check{display:flex;align-items:flex-start;gap:12px;padding:16px;border-radius:12px;background:#eaf5f3;cursor:pointer}.match-ack input,.match-fields .check input{margin-top:2px!important}.match-days span{font-size:14px;min-height:44px;display:flex;justify-content:center;align-items:center;transition:background-color .2s,border-color .2s}.match-days button{font-size:13px;min-height:32px}.match-days{scrollbar-width:thin;scrollbar-color:#a9c5cb transparent}.match-days::-webkit-scrollbar{height:7px}.match-days::-webkit-scrollbar-thumb{background:#a9c5cb;border-radius:8px}.intake-submit{padding:12px 0}.teacher-intake-page .form-actions button,.teacher-intake-page form>.wide>button{min-height:48px;padding:12px 28px;font-size:16px}
.match-dialog{width:min(520px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;box-sizing:border-box;box-shadow:0 24px 80px #143b5233;scrollbar-width:thin;scrollbar-color:#a9c5cb transparent}.match-dialog h2{font-size:22px;line-height:1.45;margin:0 0 16px}.match-dialog-text{font-size:16px;white-space:pre-line;line-height:1.85;color:#365568}.match-dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.match-dialog-actions button{min-height:46px;font-size:15px}.match-dialog::backdrop{background:#17364680;backdrop-filter:blur(3px)}
.match-recommend-form{display:flex;flex-direction:column;gap:7px;min-width:150px;margin:0}.match-recommend-form .recommend-switch{display:inline-flex;align-items:center;gap:10px;align-self:flex-start;background:transparent;color:#355569;border:0;padding:5px 0;min-height:44px;box-shadow:none;transform:none;white-space:nowrap;font-weight:600}.match-recommend-form .recommend-switch:hover{background:transparent;color:#176e63;box-shadow:none;transform:none}.recommend-track{display:block;width:48px;height:28px;border-radius:99px;background:#b6c5ce;position:relative;transition:background-color .25s}.recommend-track>span{position:absolute;width:22px;height:22px;top:3px;left:3px;background:#fff;border-radius:50%;box-shadow:0 1px 4px #1233;transition:transform .25s}.recommend-switch[aria-checked=true] .recommend-track{background:#168574}.recommend-switch[aria-checked=true] .recommend-track>span{transform:translateX(20px)}.recommend-switch:focus-visible{outline:3px solid #8ed2cc;outline-offset:4px;border-radius:8px}.recommend-switch:disabled{opacity:.6;cursor:wait}.match-recommend-form small{font-size:12px;line-height:1.5;max-width:175px;color:#6b8291}
@media(max-width:600px){.teacher-intake-page .public-shell{padding:16px 10px}.teacher-intake-page .public-shell>.panel{padding:20px 14px}.teacher-intake-page .intake-section,.teacher-intake-page .match-fields{padding:16px 12px}.teacher-intake-page .form-grid{grid-template-columns:1fr}.intake-header h1{font-size:24px}.match-checks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.match-checks label{padding:10px 8px;font-size:14px;gap:8px}.match-dialog-actions{flex-wrap:wrap}.match-dialog-actions button{flex:1}.match-fields fieldset{padding:14px 10px}.match-days{grid-template-columns:1fr}.match-ack{padding:14px 10px}.match-dialog{padding:24px 20px}}
@media(prefers-reduced-motion:reduce){.recommend-track,.recommend-track>span,.match-checks label,.match-days span{transition:none}}

/* V2.0.1 readable intake branding and generated rate matrix */
.teacher-intake-page .intake-header .eyebrow{display:block;font-size:21px;font-weight:750;letter-spacing:.04em;line-height:1.5;color:#087f94;margin-bottom:14px}
.subject-selection{min-width:0;border:1px solid #d4e4ec;border-radius:14px;padding:20px;margin:8px 0 18px;background:#f8fbfd}
.subject-selection legend{font-size:16px;font-weight:700;padding:0 8px;color:#154764}
.subject-selection .match-checks{display:flex;flex-wrap:wrap;gap:10px}.subject-selection .match-checks label{min-width:100px;flex:0 1 auto;padding:12px 16px;display:flex;align-items:center;gap:10px;background:white;border:1px solid #d6e5ed;border-radius:10px;cursor:pointer}
.subject-selection label:has(input:checked){background:#eaf7f7;border-color:#1697a2;color:#006e7b}
.subject-selection input[type=checkbox],.matrix-pair input[type=checkbox]{appearance:auto;width:24px!important;height:24px!important;min-width:24px;flex:0 0 24px;margin:0;accent-color:#008f9d;cursor:pointer}
.rate-matrix{background:#f8fbfd;border:1px solid #d4e4ec;border-radius:16px;padding:24px}.rate-matrix .rate-heading h3{font-size:21px;margin:8px 0}.trial-fee-note{background:#eaf5f6;border-left:3px solid #0b939f;padding:14px 16px;line-height:1.8;color:#236072}
.matrix-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 18px;margin-top:10px;background:#fff;border:1px solid #dbe6ed;border-radius:12px;transition:background .2s,border-color .2s}
.matrix-pair{display:flex;align-items:center;flex-wrap:wrap;gap:12px;cursor:pointer}.matrix-pair strong{font-size:16px}.matrix-pair small{color:#73899a;font-size:12px}.matrix-fee{display:flex;align-items:center;gap:10px;white-space:nowrap;font-weight:400}.matrix-fee input{width:130px;min-width:0;background:white}.matrix-row.is-disabled{background:#f1f4f6;color:#81909b}.matrix-row.is-disabled .matrix-fee{opacity:.55}
.intake-complete{text-align:center;padding:36px 20px 24px;max-width:660px;margin:auto}.complete-icon{display:inline-grid;place-items:center;width:70px;height:70px;border-radius:50%;background:#e4f5f0;color:#008b76;font-size:36px}.intake-complete h1{font-size:28px;margin:22px 0 14px}.intake-complete p{font-size:16px;line-height:1.9;color:#526e80}.complete-next{display:grid;gap:10px;border-radius:12px;background:#f2f7fa;padding:22px;margin-top:24px;line-height:1.6}.complete-next span{color:#637e90;font-size:14px}
@media(max-width:640px){.teacher-intake-page .intake-header .eyebrow{font-size:19px}.subject-selection{padding:14px}.subject-selection .match-checks label{flex:1 1 40%;min-width:0}.rate-matrix{padding:16px}.matrix-row{align-items:stretch;flex-direction:column;gap:12px;padding:14px}.matrix-fee{justify-content:space-between}.matrix-fee input{width:120px;flex:1}.intake-complete{padding:28px 4px}.intake-complete h1{font-size:24px}}
.matrix-pair,.matrix-fee,.subject-selection .match-checks label{flex-direction:row}.matrix-pair input[type=checkbox],.subject-selection input[type=checkbox]{padding:0;border-radius:4px}.rate-matrix .rate-help{margin-bottom:16px}
/* Parent service: readable pages, one decision at a time. */
.parent-redesign{background:#f3f7f9;color:#203e50;font-size:17px;line-height:1.7}
.parent-redesign .match-shell{max-width:1050px;padding:26px 24px 38px}
.parent-brand{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:32px}.parent-brand>div{display:flex;align-items:center;gap:12px}.parent-brand-mark{display:grid;place-items:center;width:44px;height:48px;border-radius:13px;background:#08788d;color:white;font-size:27px;font-weight:700}.parent-brand strong{display:block;font-size:21px;color:#124b62}.parent-brand small{display:block;font-size:13px;margin-top:1px}.parent-brand>a{font-size:15px;font-weight:600;padding:10px 14px;border:1px solid #cddfe6;border-radius:10px;background:white}
.parent-order-heading{padding:4px 4px 24px}.parent-eyebrow{display:block;color:#158394;font-size:13px;font-weight:650;letter-spacing:.06em;margin-bottom:9px}.parent-order-heading h1{font-size:30px;letter-spacing:0;margin-bottom:16px}.parent-order-tags{display:flex;gap:8px;flex-wrap:wrap}.parent-order-tags span{padding:5px 12px;border-radius:7px;background:#e8f0f4;color:#516f81;font-size:14px}
.parent-redesign .panel{border:1px solid #dbe7ed;background:white;border-radius:20px;box-shadow:0 6px 24px #193f5905;padding:30px;margin-bottom:20px}.parent-redesign h2{font-size:23px;line-height:1.5}.parent-redesign button,.parent-redesign .button{min-height:48px;white-space:normal;line-height:1.4;border-radius:11px;font-size:16px;padding:12px 20px;transition:background-color .25s,border-color .25s,box-shadow .25s}.parent-redesign .primary{background:#087f92;border-color:#087f92}.parent-redesign .primary:hover{background:#076c7d;border-color:#076c7d}.parent-redesign button:focus-visible,.parent-redesign a:focus-visible{outline:3px solid #70bdcc;outline-offset:3px}.parent-redesign button:disabled{opacity:.45;cursor:not-allowed}
.parent-redesign [hidden]{display:none!important}.wizard-heading{margin-bottom:24px}.wizard-heading h2{scroll-margin-top:24px;margin:0 0 9px}.wizard-heading h2:focus{outline:none}.wizard-heading p{font-size:16px;color:#698291;margin-bottom:0}.parent-redesign .match-date-filter{max-width:none;margin:18px 0;font-size:16px;gap:10px}.parent-redesign select{min-height:54px;font-size:17px;background:#fbfdfe}.date-empty-hint{padding:34px 18px;text-align:center;border:1px dashed #c8dae3;border-radius:12px;background:#f8fbfc;color:#6d8697}.parent-redesign .match-slot-buttons{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.parent-redesign .match-slot-buttons span{display:flex;flex-direction:column;align-items:center;padding:18px 12px;border:1px solid #d9e5eb;background:#fbfdfe;transition:background-color .2s,border-color .2s}.parent-redesign .match-slot-buttons span>small:first-child{display:none}.parent-redesign .match-slot-buttons strong{font-size:23px;margin:0 0 5px}.parent-redesign .match-slot-buttons small{font-size:13px}.parent-redesign .match-slot-buttons input:checked+span{padding:17px 11px;background:#edf8f5;border:2px solid #188e81;color:#09695f}.wizard-time-note{font-size:14px;color:#7a8e9b;margin-top:24px;margin-bottom:0}
.wizard-actions{position:sticky;bottom:14px;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid #d6e4eb;border-radius:16px;padding:16px 20px;box-shadow:0 8px 32px #1a46551a;margin:0 0 28px}.wizard-actions p{font-size:14px;color:#527083;margin:0;flex:1}.wizard-actions>div{display:flex;gap:10px;align-items:center}.wizard-actions .primary{min-width:200px}.selected-time{display:inline-block;margin-top:15px!important;padding:8px 12px;background:#eaf5f5;color:#16777d!important;border-radius:8px}
.parent-redesign #match-teachers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.parent-redesign .match-teacher-card{padding:22px;margin:0;display:flex;flex-direction:column;min-width:0;border:1px solid #d9e5eb;border-radius:16px}.parent-redesign .match-teacher-card:has([name=primary_teacher]:checked){border:2px solid #168c80;padding:21px;background:#f8fcfb}.parent-redesign .match-teacher-head{gap:14px}.parent-redesign .match-avatar{width:72px;height:72px;border-radius:16px;flex:none}.parent-redesign .match-teacher-head h3{font-size:21px}.parent-redesign .match-teacher-head p{font-size:14px}.teacher-intro{margin:22px 0 8px}.teacher-intro h4{font-size:14px;color:#648193;margin-bottom:7px}.teacher-intro p{font-size:16px;white-space:pre-wrap;overflow-wrap:anywhere}.parent-redesign .match-case{font-size:16px;overflow-wrap:anywhere}.parent-redesign details summary{font-size:15px;font-weight:650}.parent-redesign .match-card-actions{gap:10px;flex-wrap:nowrap;margin-top:auto;padding-top:22px}.parent-redesign .match-card-actions label{display:flex;flex:1;align-items:center;justify-content:center;font-size:15px;border:1px solid #d2e2e8;border-radius:9px;padding:12px 6px;gap:8px;min-height:48px;background:white}.parent-redesign .match-card-actions label:has(input:checked){background:#e4f3ef;border-color:#148c7e;color:#076958}.parent-redesign .match-card-actions input{width:22px;height:22px;min-width:22px;flex:0 0 22px;padding:0;margin:0}.clear-backup{grid-column:1/-1;justify-self:start;color:#617e8c}
.parent-review{background:#f6f9fb;border:1px solid #e0eaf0;border-radius:14px;padding:6px 20px;margin-bottom:24px}.parent-review>div{display:flex;justify-content:space-between;gap:20px;padding:16px 0;border-bottom:1px solid #e1e9ee}.parent-review>div:last-child{border-bottom:0}.parent-review span{font-size:15px;color:#6c8495}.parent-review strong{font-size:18px;text-align:right}.parent-note-label{font-size:17px!important}.parent-note-label small{font-weight:400}.parent-redesign textarea{font-size:17px;padding:14px;min-height:116px;line-height:1.7}.parent-pending-note{background:#fff6e7;border:1px solid #f0dfbc;border-radius:12px;padding:18px 20px;text-align:left;margin:20px 0}.parent-pending-note strong{display:block;color:#97601d;font-size:19px;margin-bottom:7px}.parent-pending-note p{font-size:15px;color:#806a4b;margin:0;line-height:1.8}
.parent-redesign .parent-result{text-align:center;padding:38px}.parent-result-icon{display:grid;place-items:center;margin:0 auto 20px;width:74px;height:74px;background:#e5f2f3;color:#158591;border-radius:50%;font-size:36px}.parent-result.is-pending .parent-result-icon{background:#fff1d7;color:#b57c25}.parent-result.is-confirmed .parent-result-icon{background:#e4f4eb;color:#21825a}.parent-result h1{font-size:29px;margin:10px 0 14px}.result-description{font-size:17px;color:#647f90}.result-booking{display:flex;align-items:center;gap:18px;background:#f6fafc;border:1px solid #e0eaf0;border-radius:14px;padding:22px;text-align:left;margin:22px 0}.result-booking h2{margin:0}.result-booking small{display:block;font-size:14px;margin-bottom:5px}.result-date{margin-left:auto}.result-date strong{display:block;font-size:19px}.result-date span{font-size:14px;color:#738996}.parent-next-action{text-align:left;padding:6px 2px}.parent-next-action h3{font-size:19px;margin:12px 0 10px}.parent-next-action p{font-size:16px;color:#59798d}.parent-next-action small{display:block;font-size:13px}.parent-change{text-align:left;border-top:1px solid #dce7ec;margin-top:24px;padding-top:12px}.parent-empty>h2{text-align:center}.parent-empty>p{text-align:center;color:#678292}.parent-empty form{margin-top:26px}
.parent-query-card{display:flex;align-items:center;flex-wrap:wrap;gap:20px;border:1px solid #cbdfe7;border-radius:18px;background:#eaf3f7;padding:26px;margin:28px 0}.query-card-icon{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:13px;background:white;color:#1f7891;font-size:25px;font-weight:700}.query-card-copy{flex:1 1 420px;min-width:0}.parent-query-card h2{font-size:21px;margin:0 0 8px}.parent-query-card p{font-size:14px;color:#5c788b;margin:0}.parent-query-card .parent-eyebrow{font-size:12px;margin-bottom:5px}.parent-query-card>a{flex:0 0 auto}.student-code{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px!important}.student-code strong{color:#315669;font-size:16px;overflow-wrap:anywhere}.student-code button{font-size:13px!important;min-height:36px!important;padding:6px 10px!important}.parent-footer{font-size:13px;color:#8b9eaa}.query-share{background:#f3f8fa;border:1px solid #d5e5ec;border-radius:10px;padding:14px 18px;margin:16px 0}.query-share summary,.order-return-fold summary{cursor:pointer;font-weight:650;color:#266a82}.query-share p{font-size:14px;margin-top:12px}.query-copy{display:flex;gap:10px}.query-copy input{min-width:0;flex:1}.query-copy button{flex:none}
@media(max-width:650px){.parent-redesign .match-shell{padding:18px 14px 28px}.parent-brand{gap:10px;margin-bottom:26px}.parent-brand strong{font-size:18px}.parent-brand small{font-size:12px}.parent-brand-mark{width:38px;height:42px;font-size:24px}.parent-brand>a{font-size:13px;padding:8px;max-width:115px;text-align:center}.parent-order-heading h1{font-size:26px}.parent-redesign .panel{padding:22px 18px;border-radius:16px}.parent-redesign h2{font-size:21px}.parent-redesign .match-slot-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}.parent-redesign .match-slot-buttons strong{font-size:19px}.wizard-actions{padding:12px;bottom:8px;display:block;border-radius:13px}.wizard-actions p{font-size:13px;margin-bottom:10px}.wizard-actions>div{gap:8px}.wizard-actions .primary{flex:1;min-width:0}.wizard-actions button{font-size:15px;padding:12px}.parent-redesign #match-teachers{grid-template-columns:1fr}.parent-redesign .match-card-actions{flex-direction:row}.parent-review{padding:4px 14px}.parent-review>div{display:block;padding:12px 0}.parent-review strong{display:block;text-align:left;margin-top:4px}.parent-pending-note{padding:16px}.parent-pending-note strong{font-size:18px}.parent-redesign .parent-result{padding:28px 20px}.parent-result h1{font-size:25px}.result-booking{flex-wrap:wrap;padding:18px;gap:14px}.result-date{margin-left:0;flex-basis:100%;padding-top:14px;border-top:1px solid #e0eaf0}.parent-query-card{padding:22px 18px;gap:14px}.query-card-icon{display:none}.query-card-copy{flex-basis:100%}.parent-query-card>a{width:100%}.query-copy{flex-wrap:wrap}.query-copy input{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){.parent-redesign *{scroll-behavior:auto!important;transition:none!important}}

/* Focused education coordination workspace */
.coordination-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.coordination-heading h2{margin-bottom:8px}.coordination-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:20px 0}.coordination-stat{display:grid;grid-template-columns:1fr auto;gap:8px;padding:18px 20px;border:1px solid #dbe7ef;border-radius:12px;background:#f6fafc;color:#194e68;text-decoration:none;transition:background .2s,border-color .2s}.coordination-stat:hover{background:#edf7f9;border-color:#5db8c3}.coordination-stat strong{font-size:30px;grid-row:span 2;color:#087c91}.coordination-stat small{color:#698394}.coordination-item{display:flex;justify-content:space-between;gap:18px;padding:17px 4px;border-top:1px solid #e6eef3;text-decoration:none}.coordination-item>div{display:flex;align-items:center;gap:14px}.coordination-item small{color:#73899b}.coordination-state{font-size:14px;color:#087c91;background:#edf7f8;padding:6px 10px;border-radius:7px}.coordination-empty{padding:28px;text-align:center;color:#73899b;background:#fafcfd;border-radius:10px}.coordination-adjust{padding:14px;background:#f5f9fc;border-radius:10px}.coordination-adjust summary{cursor:pointer;font-weight:600}.captcha-status{font-size:14px}.captcha-box img{object-fit:contain}
@media(max-width:650px){.coordination-heading{align-items:flex-start}.coordination-heading .button{white-space:nowrap}.coordination-stats{gap:8px}.coordination-stat{padding:12px;display:flex;flex-direction:column}.coordination-stat strong{font-size:26px}.coordination-item,.coordination-item>div{align-items:flex-start;flex-direction:column;gap:8px}}

/* V2.0.4: stable viewport footer and focused scheduling workspace */
.parent-redesign .parent-order-heading{padding:20px 24px;margin-bottom:22px;background:#fff;border:1px solid #dce8ef;border-radius:16px}.parent-order-heading .parent-eyebrow{font-size:14px;letter-spacing:0;margin-bottom:5px}.parent-redesign .parent-order-heading h1{font-size:25px;margin:0 0 12px}.parent-redesign .parent-order-tags span{background:#f1f6f8;color:#496778}.parent-wizard{padding-bottom:160px}
.parent-redesign .wizard-actions{position:fixed;bottom:0;left:0;right:0;margin:0;width:100%;border:0;border-top:1px solid #d6e4eb;border-radius:0;box-shadow:0 -6px 24px #1a465510;background:#fff;padding:16px max(24px,calc((100vw - 1100px)/2)) calc(16px + env(safe-area-inset-bottom));z-index:30;transform:none}.parent-redesign .wizard-actions p{max-width:500px}.parent-redesign .wizard-actions>div{flex-shrink:0}
.coordination-board a,.coordination-board a:hover,.coordination-board a:active{transform:none;text-decoration:none;line-height:inherit}.coordination-stat,.coordination-item{transition:background-color .22s,border-color .22s;}.coordination-item:hover{background:#f5fafb}.coordination-board a:hover strong,.coordination-board a:hover small,.coordination-board a:hover span{transform:none;text-decoration:none}
.match-order-workspace{border-color:#bddce3;padding:26px}.match-workspace-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding-bottom:20px;border-bottom:1px solid #e1ebf0}.match-kicker{font-size:12px;color:#708998;display:block;margin-bottom:4px}.match-workspace-heading h2{font-size:22px}.match-workspace-heading p{font-size:14px;color:#718694;margin:7px 0 0}.match-status-label{display:inline-flex;padding:7px 12px;border-radius:8px;font-size:14px;font-weight:600;white-space:normal;background:#edf3f6;color:#4e687a}.match-state-submitted{background:#eaf2ff!important;color:#205aad!important}.match-state-change{background:#fff1df!important;color:#a65b06!important}.match-state-help{background:#f1ecfb!important;color:#7750a3!important}.match-state-confirmed{background:#e7f5ee!important;color:#237b55!important}
.match-workspace-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;padding:22px 0}.match-workspace-grid h3,.match-resolution h3{margin:0 0 16px;font-size:17px}.match-intent-summary dl{margin:0;display:grid;gap:12px}.match-intent-summary dl>div{display:grid;grid-template-columns:90px 1fr;gap:12px}.match-intent-summary dt{color:#768b99;font-size:14px}.match-intent-summary dd{margin:0;font-weight:600;font-size:16px}.match-parent-message{padding:14px 16px;background:#f4f8fb;border-radius:10px;margin-top:18px}.match-parent-message strong{font-size:13px;color:#6c8596}.match-parent-message p{margin:7px 0 0;font-size:15px;overflow-wrap:anywhere}.match-link-share{border-left:1px solid #e5edf2;padding-left:28px;min-width:0}.match-link-share>p{font-size:14px;color:#748995}.match-link-meta{margin-top:14px;line-height:1.9}.match-link-share input{font-size:13px}.match-resolution{border-top:1px solid #e1ebf0;padding:22px 0 0}.match-resolution .form-grid{gap:18px}.match-resolution textarea{min-height:84px}.match-task-tools{margin-top:30px;padding-top:22px;border-top:1px solid #e1ebf0}.match-task-tools>summary{cursor:pointer;color:#647d8e;font-size:14px;padding:8px 0}.match-task-tools>div{padding-top:20px}.match-task-tools form+form{margin-top:24px;padding-top:20px;border-top:1px solid #e5edf2}.parent-result.is-change .parent-result-icon{background:#fff0d9;color:#a65b06}.parent-result.is-change .parent-pending-note{background:#fff5e7;border-color:#eed2a9}.parent-result.is-pending .parent-result-icon{background:#eaf2ff;color:#205aad}
@media(max-width:700px){.parent-redesign .wizard-actions{padding:12px 16px calc(12px + env(safe-area-inset-bottom));display:block}.parent-wizard{padding-bottom:180px}.parent-redesign .parent-order-heading{padding:18px}.match-workspace-heading{flex-direction:column;gap:12px}.match-workspace-grid{grid-template-columns:1fr;gap:20px}.match-link-share{border-left:0;border-top:1px solid #e5edf2;padding:20px 0 0}.match-order-workspace{padding:20px}.match-workspace-heading h2{font-size:20px}}

.course-guide{padding:16px 18px;background:#edf7f9;border-radius:10px;color:#3e697e;margin-top:16px}.course-audit>summary{cursor:pointer;font-weight:600}.course-audit>.panel{margin-top:20px;box-shadow:none}.teacher-list-avatar{width:44px;height:44px;object-fit:cover;border-radius:50%;display:block;margin-bottom:8px}.quick-avatar{margin-top:12px;min-width:130px}.quick-avatar>summary{cursor:pointer;color:#087b91;font-size:14px}.quick-avatar[open]{min-width:230px;max-width:310px}.quick-avatar form{display:block;margin-top:12px}.quick-avatar .form-actions{margin-top:12px}.quick-avatar input{font-size:13px}.text-limit-hint{text-align:right;font-weight:400}.parent-redesign .teacher-intro p,.parent-redesign .match-case{overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.8}

/* V2.0.6 compact work queues and responsive teacher table */
.parent-redesign .has-wizard{padding-bottom:calc(var(--wizard-bar-height,110px) + 12px)}.parent-redesign .has-wizard .parent-wizard{padding-bottom:0;margin-bottom:0}.parent-redesign .has-wizard .parent-footer{display:none}.parent-redesign .has-wizard [data-wizard-page]{margin-bottom:0}
.submission-banner{display:flex;gap:18px;align-items:center;padding:24px;border:1px solid #a9d7c2;background:#edf8f1;border-radius:14px;margin-bottom:24px}.submission-banner h2{font-size:21px;color:#216447}.submission-banner p{margin:8px 0 0;color:#4b7564}.submission-mark{display:grid;place-items:center;flex:none;width:44px;height:44px;border-radius:50%;background:#258565;color:white;font-size:24px}.edu-handoff{border-color:#b7d3ea}.edu-handoff header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.edu-handoff h2{font-size:23px}.edu-handoff h2 strong{display:inline-block;background:#e8f1ff;color:#245fab;padding:1px 12px;border-radius:9px;margin-left:10px}.edu-handoff header p{margin:9px 0 0;font-size:14px;color:#6b8395}.handoff-order{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 4px;border-top:1px solid #e2ebf2;text-decoration:none}.handoff-order:hover{text-decoration:none;background:#f4f8fd}.handoff-order>div{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.handoff-order small{display:block;flex-basis:100%}.handoff-action{white-space:nowrap;font-weight:600}.handoff-empty{color:#71899a;margin-bottom:0}.metric-link{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:12px;color:inherit}.metric-link .metric{border:0;box-shadow:none;margin:0}.metric-link>span{padding:0 18px 14px;font-size:13px;color:#19728c}.metric-link:hover{text-decoration:none;background:#f4f9fc}
.teachers-compact table{table-layout:fixed;width:100%;min-width:850px}.teachers-compact th,.teachers-compact td{white-space:normal;overflow-wrap:anywhere;padding:13px 10px;vertical-align:top}.teachers-compact th:nth-child(1){width:16%}.teachers-compact th:nth-child(2){width:12%}.teachers-compact th:nth-child(3){width:15%}.teachers-compact th:nth-child(4){width:16%}.teachers-compact th:nth-child(5){width:9%}.teachers-compact th:nth-child(6){width:18%}.teachers-compact th:nth-child(7){width:14%}.teachers-compact .match-recommend-form{min-width:0;margin-top:8px}.teachers-compact .recommend-switch{font-size:13px;gap:6px;white-space:normal}.teachers-compact .recommend-track{flex:none;width:40px;height:24px}.teachers-compact .recommend-track>span{width:18px;height:18px}.teachers-compact .recommend-switch[aria-checked=true] .recommend-track>span{transform:translateX(16px)}.teachers-compact .avatar-shortcut{display:block;font-size:13px;padding:5px 9px;margin-top:10px;white-space:normal}.quick-avatar-dialog{width:min(460px,calc(100vw - 32px));max-height:85vh;overflow:auto}.quick-avatar-dialog .form-grid{grid-template-columns:1fr}.quick-avatar-dialog input[type=file]{max-width:100%;font-size:14px}
@media(max-width:700px){.edu-handoff header,.handoff-order{align-items:flex-start;flex-direction:column;gap:12px}.edu-handoff header .button{width:100%}.submission-banner{padding:18px;align-items:flex-start}.submission-banner h2{font-size:18px}}

/* Teacher selection: readable cards, anchored choices */
.match-teacher-card{display:flex;flex-direction:column;gap:16px;padding:22px;border:1px solid #dce7ec;border-radius:18px;background:#fff;box-shadow:0 4px 18px #163c5208}
.match-teacher-head{align-items:center;gap:16px}.match-teacher-head h3{font-size:21px;margin:0 0 6px}.match-teacher-head .muted{font-size:14px;color:#607589;margin:0}
.match-teacher-card .teacher-intro{background:#f5f9fb;border-radius:12px;padding:14px 16px}.teacher-intro h4{font-size:14px;margin:0 0 8px}.teacher-intro p{font-size:15px;line-height:1.8;margin:0;overflow-wrap:anywhere}
.match-teacher-card details{font-size:15px;line-height:1.8}.match-card-actions{margin-top:auto;display:flex;gap:12px;padding-top:12px;border-top:1px solid #edf2f5}.match-card-actions label{flex:1;justify-content:center;min-height:46px;border-radius:10px}.match-card-actions label:has(input:checked){background:#e8f6f5;border-color:#008d99;color:#006b77}
@media(max-width:600px){.match-teacher-card{padding:18px;gap:12px}.match-teacher-head h3{font-size:20px}}

/* V2.0.7: consistent detail actions and compact teacher rows */
.detail-toolbar{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.detail-toolbar .button{min-height:44px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:10px 18px;font-size:14px;line-height:22px}
.detail-toolbar>.badge{background:#edf3f8;color:#355770;border:0;padding:8px 12px;box-shadow:none}
.teachers-compact .table-wrap{overflow-x:auto}
.teachers-compact table{table-layout:fixed;min-width:950px;width:100%}
.teachers-compact th,.teachers-compact td{padding:18px 14px;vertical-align:middle;line-height:1.65;overflow-wrap:anywhere;font-size:14px}
.teachers-compact th:nth-child(1){width:16%}.teachers-compact th:nth-child(2){width:12%}.teachers-compact th:nth-child(3){width:14%}.teachers-compact th:nth-child(4){width:16%}.teachers-compact th:nth-child(5){width:9%}.teachers-compact th:nth-child(6){width:19%}.teachers-compact th:nth-child(7){width:14%}
.teachers-compact td strong{font-size:16px;display:block}.teachers-compact td small{display:block;font-size:12px;margin-top:5px;color:#738497}
.teachers-compact .match-recommend-form{display:block;margin:8px 0 0}.teachers-compact .recommend-switch{white-space:nowrap}.teachers-compact [data-switch-feedback]{max-width:190px}
.teachers-compact .avatar-shortcut{display:block;margin-top:10px;padding:6px 10px;font-size:13px}.teachers-compact td:last-child{white-space:normal}

.teacher-picker{border:1px solid #dce8ed;border-radius:14px;padding:18px;min-width:0}.teacher-picker legend{font-size:16px;font-weight:600;padding:0 8px}.teacher-search input{width:100%;box-sizing:border-box}.teacher-picker-list{max-height:320px;overflow:auto;scrollbar-width:thin;scrollbar-color:#a2c6ce #f2f7f9;padding-right:6px}.teacher-picker-list::-webkit-scrollbar{width:6px}.teacher-picker-list::-webkit-scrollbar-thumb{background:#a2c6ce;border-radius:8px}.teacher-pick-option{display:flex!important;flex-direction:row!important;align-items:center;gap:12px;padding:14px 12px;border:1px solid #e1ebef;border-radius:10px;margin:8px 0;background:#fff}.teacher-pick-option[hidden]{display:none!important}.teacher-pick-option input[type=radio]{width:22px;height:22px;flex:0 0 22px;accent-color:#008c99}.teacher-pick-option>span{flex:1;min-width:0}.teacher-pick-option strong{display:block;font-size:16px}.teacher-pick-option small{display:block;color:#708799;margin-top:5px}.teacher-pick-option em{font-style:normal;font-size:12px;background:#edf7f8;padding:5px 8px;border-radius:6px}.teacher-pick-option:has(input:checked){background:#edf8f8;border-color:#1894a0}.teacher-pick-option:has(input:disabled){opacity:.55}.teacher-choice-status{color:#007c88;margin:12px 0 0}.manual-coordination>p{line-height:1.8}
@media(max-width:600px){.teacher-picker{padding:12px}.teacher-pick-option{flex-wrap:wrap}.teacher-pick-option em{margin-left:34px}}

/* Teacher library only: compact rows, fixed column widths, internal horizontal scroll. */
.teacher-library td:nth-child(6)>.badge{float:left;margin:4px 8px 0 0}.teacher-library td:nth-child(6) .match-recommend-form{margin:0}.teacher-library .recommend-switch{min-height:32px;height:32px;padding:4px 0}.teacher-library td:nth-child(6) [data-switch-feedback]{clear:both;display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;height:17px}
.teacher-list-tools{padding:16px;margin-bottom:16px}.teacher-tool-row{display:flex;align-items:flex-start;gap:16px;justify-content:space-between}.teacher-list-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;flex:1;min-width:0}.teacher-list-filters>label{width:105px;flex:0 0 105px}.teacher-list-filters>label:first-of-type{width:230px;flex:1 1 210px;max-width:310px}.teacher-list-filters label>span:first-child{font-size:12px;margin-bottom:5px}.teacher-list-filters input,.teacher-list-filters select{height:36px;padding:6px 10px;font-size:14px}.teacher-list-filters .teacher-fee-filter{width:180px;flex-basis:180px}.teacher-fee-filter>span:last-child{display:flex;gap:5px;align-items:center}.teacher-fee-filter input{width:78px;min-width:0}.teacher-fee-filter b{font-weight:400}.teacher-filter-actions,.teacher-main-actions{display:flex;gap:8px;align-items:center}.teacher-main-actions{flex:none;padding-top:23px}.teacher-list-tools .button{height:36px;min-height:36px;padding:6px 12px;display:inline-flex;align-items:center;justify-content:center;font-size:14px;white-space:nowrap;box-sizing:border-box}
.teacher-library .panel{padding:18px 16px}.teacher-library h2{margin-bottom:14px}.teacher-library .table-wrap{overflow-x:auto;scrollbar-width:thin;scrollbar-color:#a9c4d1 #f2f6f8}.teacher-library table{min-width:1390px;width:100%;table-layout:fixed}.teacher-library th:nth-child(1){width:185px}.teacher-library th:nth-child(2){width:210px}.teacher-library th:nth-child(3){width:140px}.teacher-library th:nth-child(4){width:150px}.teacher-library th:nth-child(5){width:175px}.teacher-library th:nth-child(6){width:210px}.teacher-library th:nth-child(7){width:320px}.teacher-library th,.teacher-library td{padding:10px 12px;vertical-align:middle;font-size:14px;line-height:1.45;overflow-wrap:normal}.teacher-library td strong{font-size:15px}.teacher-library td small{margin-top:4px;font-size:12px}.teacher-library .teacher-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.teacher-skill-tags{display:flex;gap:4px;flex-wrap:wrap;max-height:46px;overflow:hidden}.teacher-skill-tags>span{padding:2px 6px;background:#eef5f8;border:1px solid #dce8ee;color:#446579;border-radius:4px;white-space:nowrap;font-size:12px;line-height:16px}.teacher-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;overflow-wrap:anywhere}.teacher-library .badge{font-size:12px;padding:4px 8px}.teacher-library .match-recommend-form{margin-top:5px}.teacher-library [data-switch-feedback]{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4;margin-top:3px}.teacher-library .recommend-switch{font-size:12px}.teacher-row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap;flex-wrap:nowrap}.teacher-row-actions .button,.teacher-row-actions .avatar-shortcut,.teacher-row-actions .teacher-delete{display:inline-flex;align-items:center;justify-content:center;height:32px;box-sizing:border-box;min-height:32px;padding:5px 9px;font-size:13px;line-height:20px;margin:0;border-radius:6px;white-space:nowrap}.teacher-row-actions .teacher-archive-control{margin:0}.teacher-row-actions .teacher-delete{background:#fff3f4;border:1px solid #efcbd1}.teacher-row-actions .teacher-archive-control[open]{min-width:0}.teacher-row-actions .teacher-archive-confirm{position:relative;margin-top:8px;max-width:270px;min-width:200px}.teacher-row-actions:has(.teacher-archive-control[open]){align-items:flex-start}.teacher-row-actions .teacher-archive-confirm .form-grid{display:block}
@media(max-width:1100px){.teacher-tool-row{flex-direction:column}.teacher-main-actions{align-self:flex-end;padding-top:0}.teacher-list-filters{width:100%}}@media(max-width:600px){.teacher-list-tools{padding:12px}.teacher-list-filters>label:first-of-type{max-width:none;flex-basis:100%}.teacher-library .panel{padding:12px}.teacher-library .table-wrap{max-width:100%}}

.teacher-archive-modal{position:fixed;inset:0;margin:auto;box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-width:480px;max-height:85vh;overflow:auto;padding:24px;white-space:normal;text-align:left}.teacher-archive-modal::backdrop{background:#17324675}.teacher-archive-modal-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.teacher-archive-modal h2{margin:0;font-size:21px}.teacher-archive-modal-heading button{background:transparent;border:0;color:#748899;font-size:24px;padding:0;min-height:32px;width:32px}.teacher-archive-modal .teacher-archive-name{font-weight:600;font-size:16px;color:#23546c;margin:18px 0 8px;overflow-wrap:anywhere}.teacher-archive-modal p{font-size:14px;line-height:1.7;margin:8px 0 18px}.teacher-archive-modal .form-grid{display:block}.teacher-archive-modal label{font-size:14px}.teacher-archive-modal textarea{min-height:100px;width:100%;box-sizing:border-box}.teacher-row-actions .teacher-archive-modal .form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.teacher-row-actions .teacher-archive-modal .form-actions button{height:40px;font-size:14px;padding:8px 14px}.teacher-library .teacher-archive-modal h2{margin:0}.teacher-library .teacher-archive-modal .teacher-archive-name{font-size:16px}

/* Formal parent fixed intentions only. Trial controls and existing wizard toolbar retained. */
.parent-weekly-days{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.parent-weekly-days>label{display:flex;flex-direction:column;gap:10px;padding:16px;border:1px solid #d6e6ec;border-radius:12px;background:#f7fbfc}.parent-weekly-days>label>span{display:flex;gap:10px;align-items:center}.parent-weekly-days input[type=checkbox],.weekly-coordination-fields input[type=checkbox]{width:24px;height:24px;accent-color:#168574;flex:none}.parent-weekly-days select{min-height:48px;font-size:17px}.parent-weekly-days select[hidden]{display:none}.parent-weekly-days>label:has(input:checked){border-color:#168574;background:#eaf7f4}#weekly-teachers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#weekly-teachers .match-teacher-card{margin:0;min-width:0}#weekly-teachers p{overflow-wrap:anywhere}.weekly-coordination-fields{border:1px solid #dce8ed;border-radius:12px;padding:16px}.weekly-coordination-fields>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.weekly-coordination-fields label>span{display:flex;align-items:center;gap:8px}.weekly-coordination-fields input[type=time]{width:100%}
@media(max-width:650px){.parent-weekly-days,#weekly-teachers,.weekly-coordination-fields>div{grid-template-columns:1fr}.parent-weekly-days>label{padding:14px}.parent-weekly-days>label>span{font-size:18px}}

#weekly-teachers .match-teacher-card>p{min-height:0;margin:10px 0 16px}#weekly-teachers .match-teacher-card>h4{margin:16px 0 8px}#weekly-teachers .match-teacher-card:only-child{grid-column:1 / -1}#weekly-teachers~[data-weekly-help]{margin-top:18px}

/* Formal multi-slot selector only; trial controls unchanged. */
.weekly-date-filter{display:flex;align-items:center;gap:12px;margin:18px 0}.weekly-date-filter select{min-height:46px;max-width:330px}.weekly-slot-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.weekly-slot-buttons button{min-height:46px;font-size:16px;border:1px solid #cbdde3;background:#fff;color:#20536a}.weekly-slot-buttons button[aria-pressed=true]{background:#e2f4ee;border:2px solid #168574;color:#0b6959;font-weight:700}.weekly-slot-calendar{margin:16px 0}.weekly-slot-calendar [hidden]{display:none}.weekly-coordination-fields [data-weekly-staff]{display:flex;flex-direction:column;gap:10px}.weekly-coordination-fields [data-weekly-row]{display:grid;grid-template-columns:100px minmax(130px,1fr) auto;gap:10px;align-items:center}.weekly-coordination-fields [data-slot-add]{margin-top:12px}#weekly-choice-form .wizard-actions>p{max-height:88px;overflow:auto;overflow-wrap:anywhere;line-height:1.5}#weekly-choice-form .selected-time{overflow-wrap:anywhere}
@media(max-width:650px){.weekly-date-filter{display:block}.weekly-date-filter select{width:100%;max-width:none;margin-top:8px}.weekly-slot-buttons{grid-template-columns:repeat(3,minmax(0,1fr))}.weekly-coordination-fields [data-weekly-row]{grid-template-columns:85px minmax(100px,1fr) auto;gap:6px}.weekly-coordination-fields [data-slot-remove]{padding:8px}.weekly-slot-buttons button{padding:9px 4px}}

/* V2.0.24 formal calendar: compact forms, bounded teacher selection. */
.formal-tabs,.formal-slot-legend{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}.formal-slot-legend span{padding:8px 12px;border:1px solid #d6e5ec;border-radius:8px;background:#f7fafc}.formal-teacher-scroll{max-height:360px;overflow:auto;overscroll-behavior:auto;border:1px solid #d6e5ec;border-radius:10px;padding:8px}.formal-teacher-scroll label{display:flex;flex-direction:row;align-items:center;gap:12px;padding:8px}.formal-teacher-scroll label[hidden]{display:none}.formal-teacher-scroll input{width:20px;height:20px;flex:0 0 20px}.formal-teacher-scroll small{display:block;color:#6d8193}.formal-teacher-selector>button{margin:8px 8px 8px 0}.formal-plan-review{margin-top:16px}.formal-teacher-scroll::-webkit-scrollbar{width:8px}.formal-teacher-scroll::-webkit-scrollbar-thumb{background:#adbec9;border:2px solid #f7fafc;border-radius:8px}.weekly-coordination-fields [data-weekly-row]{grid-template-columns:100px minmax(140px,1fr) auto}.formal-teacher-scroll{scrollbar-width:thin;scrollbar-color:#adbec9 #f7fafc}@media(max-width:600px){.formal-tabs .button{flex:1 1 140px}.match-days{overflow:auto}.weekly-coordination-fields [data-weekly-row]{grid-template-columns:80px minmax(120px,1fr) auto}}
