/* Final admin-only alignment layer: shared Modave proportions and responsive behaviour. */
/* Student feedback: scoped to staff and guardian report screens, never table actions elsewhere. */
.manage-shell.student-progress-page:not(.portal-shell) .manage-related{margin-top:24px;padding:24px;border:1px solid var(--admin-line,#e6d9df);background:#fff;min-width:0}
.student-progress-page :is(h1,h2,h3,p,td){overflow-wrap:anywhere}
.student-progress-page h2{margin:0 0 16px}
.manage-shell.student-progress-page:not(.portal-shell) .manage-form{display:grid;gap:20px;padding:0;border:0;box-shadow:none;background:transparent;min-width:0;margin-top:20px}
.student-progress-page .manage-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.student-progress-page .manage-form-grid>div{min-width:0}
.student-progress-page .progress-criterion .manage-form-grid{margin-bottom:20px}
.student-progress-page .progress-criterion select{width:100%;max-width:100%;box-sizing:border-box;padding:12px}
.student-progress-page .manage-form :is(input:not([type=checkbox]),textarea){width:100%;max-width:100%;box-sizing:border-box;padding:12px}
.student-progress-page .manage-form label{display:block;margin-bottom:8px}
.manage-shell.student-progress-page:not(.portal-shell) div.manage-actions{display:flex;flex-wrap:wrap;gap:12px;text-align:left;white-space:normal;margin-top:16px}
.manage-shell.student-progress-page:not(.portal-shell) .manage-actions a{text-decoration:none;font-size:11px;white-space:normal}
.student-progress-page details>summary{min-height:44px;cursor:pointer;display:list-item;color:var(--admin-wine,#4b1e3d);font:600 14px/1.6 var(--sans,'DM Sans',Arial,sans-serif)}
.student-progress-page details[open]>summary{margin-bottom:16px}
.student-progress-page summary:focus-visible{outline:3px solid var(--ritz-pink,#f05b8b);outline-offset:4px}
.ritz-admin-workspace .manage-shell.student-progress-page .manage-form label:has(input[type=checkbox]){display:flex;align-items:center;gap:12px;min-height:44px;font-size:14px;font-weight:400;letter-spacing:0;text-transform:none;cursor:pointer}
.ritz-admin-workspace .manage-shell.student-progress-page .manage-form input[type=checkbox]{width:24px;height:24px;min-width:24px;flex:0 0 24px;margin:0;accent-color:var(--admin-wine,#4b1e3d)}
.teacher-pay-history{margin-top:12px;max-width:28rem;white-space:normal}
.teacher-pay-history summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px;color:var(--admin-wine,#4b1e3d);font-size:14px;font-weight:600}
.teacher-pay-history summary::before{content:'+'}.teacher-pay-history[open] summary::before{content:'−'}
.teacher-pay-history summary:focus-visible{outline:3px solid var(--ritz-pink,#f05b8b);outline-offset:3px}
.teacher-pay-history ul{list-style:none;padding:0;margin:8px 0}.teacher-pay-history li{padding:12px 0;border-top:1px solid var(--admin-line,#e6d9df);overflow-wrap:anywhere}
.student-progress-page .manage-pagination{display:flex;align-items:center;gap:16px;margin-top:24px;flex-wrap:wrap}
.student-progress-page .manage-pagination a{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border:1px solid var(--admin-line,#e6d9df)}
.manage-shell.student-progress-page:not(.portal-shell) .manage-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:end;margin:24px 0}
.student-progress-page .manage-filter label{display:flex;flex-direction:column;gap:8px;min-width:0;font-size:12px;font-weight:600;color:var(--admin-wine,#4b1e3d)}
.student-progress-page .manage-filter :is(input:not([type=hidden]),select){width:100%;min-width:0;box-sizing:border-box;padding:12px}
.student-progress-page .manage-filter .manage-calendar-filter-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px}
@media(max-width:600px){.manage-shell.student-progress-page:not(.portal-shell) .manage-filter{grid-template-columns:minmax(0,1fr)}.student-progress-page .manage-filter label:first-of-type{grid-column:auto}}
@media(max-width:600px){.manage-shell.student-progress-page:not(.portal-shell) .manage-related{padding:18px}.student-progress-page .manage-form-grid{grid-template-columns:minmax(0,1fr)}.student-progress-page div.manage-actions>*{width:100%;box-sizing:border-box}.student-progress-page .manage-table td.manage-actions{white-space:normal}}
.location-cost-room{min-width:0}.location-cost-room>summary{padding:12px 0;color:var(--admin-wine);font-weight:600;cursor:pointer}.location-cost-room[open]>summary{margin-bottom:16px}
.location-cost-form :is(input,textarea){max-width:100%;box-sizing:border-box}.location-cost-form .manage-table td{vertical-align:middle}
/* Parent replacement holds are short explanations, not full-height empty panels. */
.account-replacements-page .manage-empty{margin:12px 0;padding:16px!important;border-left:3px solid var(--ritz-pink);background:#fff;text-align:left!important;font-size:14px;line-height:1.6}
.manage-shell:not(.portal-shell) .manage-term-context{display:flex;align-items:center;justify-content:space-between;gap:24px;margin:0 0 20px;padding:28px;background:var(--admin-paper);border:1px solid var(--admin-line);border-left:3px solid var(--admin-rose);box-shadow:0 16px 42px rgba(75,31,61,.06)}
.manage-shell:not(.portal-shell) .manage-term-context__intro{min-width:0;max-width:760px}
.manage-shell:not(.portal-shell) .manage-term-context h2{margin:8px 0 10px;color:var(--admin-wine);overflow-wrap:anywhere}
.manage-shell:not(.portal-shell) .manage-term-context__dates{margin:0 0 8px;color:var(--admin-wine);font-size:14px;font-weight:600;line-height:1.5}
.manage-shell:not(.portal-shell) .manage-term-context__help{margin:0;color:var(--admin-muted);font-size:14px;line-height:1.6}
.manage-shell:not(.portal-shell) .manage-heading-actions.manage-term-context__actions{flex-shrink:0;flex-direction:column;align-items:stretch;min-width:190px}
.manage-shell:not(.portal-shell) .manage-calendar-filters--term{grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:end}
.manage-shell:not(.portal-shell) .manage-calendar-filters.manage-calendar-filters--term label,.manage-shell:not(.portal-shell) .manage-calendar-filters.manage-calendar-filters--term label:first-of-type{min-width:0;margin:0;grid-column:auto}
.manage-shell:not(.portal-shell) .manage-calendar-filter-actions{display:flex;align-items:stretch;gap:10px}
.manage-shell:not(.portal-shell) .manage-calendar-filter-actions>*{width:auto;white-space:nowrap;box-sizing:border-box}
@media(max-width:1000px){.manage-shell:not(.portal-shell) .manage-term-context{align-items:flex-start;flex-direction:column}.manage-shell:not(.portal-shell) .manage-term-context__actions{flex-direction:row;flex-wrap:wrap;min-width:0}.manage-shell:not(.portal-shell) .manage-calendar-filters--term{grid-template-columns:repeat(2,minmax(0,1fr))}.manage-shell:not(.portal-shell) .manage-calendar-filter-actions{grid-column:1/-1;justify-content:flex-end}}
@media(max-width:720px){.manage-shell:not(.portal-shell) .manage-term-context{padding:22px}.manage-shell:not(.portal-shell) .manage-term-context__actions{width:100%}.manage-shell:not(.portal-shell) .manage-term-context__actions>*{flex:1;min-width:0}.manage-shell:not(.portal-shell) .manage-calendar-filter-actions>*{flex:1}}
@media(max-width:480px){.manage-shell:not(.portal-shell) .manage-calendar-filters--term{grid-template-columns:minmax(0,1fr)}.manage-shell:not(.portal-shell) .manage-term-context__actions{flex-direction:column}}
.manage-withdrawal-review .manage-detail-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:16px 24px;margin:24px 0}
.manage-withdrawal-review .manage-detail-grid dt{color:#74676f;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.manage-withdrawal-review .manage-detail-grid dd{margin:8px 0 0;font-size:24px;line-height:1.3}
.manage-shell.manage-withdrawal-review:not(.portal-shell) .manage-detail>.manage-form{padding:0;border:0;box-shadow:none;margin-top:20px}
.pay-preview-page .pay-preview-agreement,.pay-preview-page .pay-preview-calculator,.pay-preview-page .pay-preview-evidence,.pay-preview-page .pay-preview-result{margin-top:24px}
.pay-preview-page .pay-preview-agreement h2,.pay-preview-page .pay-preview-calculator h2,.pay-preview-page .pay-preview-evidence h2{margin:8px 0 0}
.pay-preview-page .pay-preview-agreement dl,.pay-preview-page .pay-preview-evidence dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:0}
.pay-preview-page :is(dt){color:#74676f;font-size:10px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.pay-preview-page :is(dd){margin:5px 0 0;color:#2b232b;font-size:16px}
.pay-preview-page .pay-preview-calculator>p,.pay-preview-page .pay-preview-evidence>p{margin:12px 0 24px;color:#74676f;line-height:1.6}
.pay-preview-page .pay-preview-form .manage-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.pay-preview-page .pay-preview-form label{display:flex;flex-direction:column;gap:8px;color:#4b1f3d;font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.pay-preview-page .pay-preview-form select,.pay-preview-page .pay-preview-form input{box-sizing:border-box;width:100%;min-height:50px;padding:10px 12px;border:1px solid #d9cdd2;border-radius:0;background:#fff;color:#2b232b;font-size:14px;font-weight:400;letter-spacing:0;text-transform:none}
.pay-preview-page .pay-preview-form input:disabled{background:#f5f0f1;color:#74676f}
.pay-preview-page .pay-preview-optional{font-size:10px;font-weight:400;letter-spacing:0;text-transform:none}
.pay-preview-page .pay-preview-form .manage-form-actions{margin-top:22px}
.pay-preview-page .pay-preview-error{margin-top:24px;padding:16px 20px;border-left:3px solid #a72549;background:#fff1f3;color:#7c1633}
.pay-preview-page .pay-preview-evidence dl{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:20px}
.pay-preview-page .pay-preview-evidence>p{margin:20px 0 0}
@media(max-width:800px){.pay-preview-page .pay-preview-form .manage-form-grid{grid-template-columns:1fr}}
@media(max-width:600px){.pay-preview-page .pay-preview-evidence dl{grid-template-columns:1fr 1fr}}
/* Body digits and explicit numeric fields stay readable without JS/text rewriting.
   Admin headings below use DM Sans for both letters and digits. */
@font-face{font-family:'Ritz Admin Numerals';font-style:normal;font-weight:400 600;font-display:swap;src:local('Arial'),local('Helvetica'),url('/fonts/ritz/dm-sans-latin.woff2') format('woff2');unicode-range:U+0030-0039}
/* Keep each admin heading in one readable sans family, including embedded digits. */
.manage-shell:not(.portal-shell){--admin-heading-font:'DM Sans',Arial,sans-serif;--admin-number-font:Arial,Helvetica,sans-serif;font-family:'Ritz Admin Numerals','DM Sans',Arial,sans-serif;font-variant-numeric:lining-nums tabular-nums}
.manage-shell:not(.portal-shell) :is(.admin-number,.manage-class-finance__rates dd,.pay-preview-result__amount,.fee-invoice-totals dd){font-family:var(--admin-number-font)!important;font-variant-numeric:lining-nums tabular-nums;letter-spacing:0}
.manage-shell:not(.portal-shell) :is(.manage-table,time,input[type=number],input[type=date],input[type=month]){font-variant-numeric:lining-nums tabular-nums}
.manage-shell:not(.portal-shell) :is(h1,h2,h3,h4,h5,h6){font-family:var(--admin-heading-font)!important;font-weight:500!important;font-style:normal;letter-spacing:-.025em}
.manage-shell:not(.portal-shell) .manage-heading h1{font-size:clamp(30px,3.6vw,46px);line-height:1.18}
.manage-shell:not(.portal-shell) h2{font-size:clamp(28px,3.5vw,40px);line-height:1.1}
.manage-shell:not(.portal-shell) h3{font-size:clamp(24px,2.5vw,30px)!important;line-height:1.15!important}
.manage-shell:not(.portal-shell){--admin-wine:#4b1f3d;--admin-rose:var(--ritz-pink);--admin-ink:#2b232b;--admin-muted:#74676f;--admin-line:#dfd3d7;--admin-paper:#fff;max-width:1280px;padding-top:clamp(42px,6vw,72px)}
.manage-shell:not(.portal-shell):has(>.manage-sidebar){display:block}
.manage-shell:not(.portal-shell):has(>.manage-sidebar)>:not(.manage-heading):not(.manage-sidebar){min-width:0}
.manage-sidebar{position:static;display:grid;grid-template-columns:220px minmax(0,1fr);margin:0 0 30px;border:1px solid #25172b;background:#10091a;box-shadow:0 18px 46px rgba(29,12,25,.18);overflow:hidden}
.manage-sidebar__brand{display:flex;align-items:center;gap:13px;min-height:72px;padding:15px 16px;background:#10091a;color:#fff;text-decoration:none;transition:background-color .2s ease}
.manage-sidebar__brand:hover,.manage-sidebar__brand:focus-visible{background:#201226;color:#fff}
.manage-sidebar__brand:focus-visible{outline:3px solid rgba(236,80,139,.38);outline-offset:-3px}
.manage-sidebar__brand-logo{display:block;width:88px;height:auto;object-fit:contain}
.manage-sidebar__brand-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:4px;padding-left:13px;border-left:1px solid rgba(255,255,255,.2)}
.manage-sidebar__brand-copy strong{color:#fff;font-family:Arial,sans-serif;font-size:11px;font-weight:700;letter-spacing:.08em;line-height:1.25;text-transform:uppercase}
.manage-sidebar__brand-copy small{color:var(--admin-rose);font-size:9px;font-weight:600;letter-spacing:.1em;line-height:1.3;text-transform:uppercase}
.manage-sidebar__modules{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-width:0}
.manage-sidebar__module{min-width:0;padding:15px 10px;border-left:1px solid rgba(255,255,255,.1)}
.manage-shell:not(.portal-shell) .manage-sidebar__module h2{margin:0 11px 8px!important;color:#b9aeb8!important;font-family:Arial,sans-serif!important;font-size:9px!important;font-weight:700!important;letter-spacing:.16em!important;line-height:1.2!important;text-transform:uppercase}
.manage-sidebar__module nav,.manage-settings nav{display:grid;gap:3px}
.manage-sidebar__module a,.manage-settings a,.manage-settings summary{display:flex;align-items:center;min-height:40px;padding:9px 11px;border-left:3px solid transparent;border-radius:0 4px 4px 0;color:#f3edf2;font-size:12px;line-height:1.35;text-decoration:none;transition:background-color .2s ease,color .2s ease}
.manage-sidebar__module a:hover,.manage-sidebar__module a:focus-visible,.manage-settings a:hover,.manage-settings a:focus-visible,.manage-settings summary:hover,.manage-settings summary:focus-visible{background:rgba(255,255,255,.08);color:#fff}
.manage-sidebar__module a:focus-visible,.manage-settings a:focus-visible,.manage-settings summary:focus-visible{outline:2px solid rgba(240,91,139,.6);outline-offset:-2px}
.manage-sidebar__module a.active,.manage-settings a.active,.manage-settings summary.active{border-left-color:var(--admin-rose);background:rgba(255,255,255,.11);color:#fff;font-weight:700}
.manage-settings{min-width:0;border-left:1px solid rgba(255,255,255,.1)}
.manage-settings summary{position:relative;cursor:pointer;list-style:none;font-weight:700}
.manage-settings summary::-webkit-details-marker{display:none}
.manage-settings summary:after{content:'+';margin-left:auto;color:var(--admin-rose);font-size:16px}
.manage-settings[open] summary:after{content:'−'}
.manage-settings nav{position:static;min-width:0;padding:0 12px 14px;background:transparent;border:0;box-shadow:none}
@media(max-width:1000px){.manage-sidebar{display:block}.manage-sidebar__modules{grid-template-columns:repeat(2,minmax(0,1fr))}.manage-sidebar__module{border-top:1px solid rgba(255,255,255,.1)}.manage-settings{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.1)}.manage-settings nav{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 14px 14px}}
@media(max-width:360px){.manage-sidebar__modules{grid-template-columns:1fr}.manage-settings{grid-column:auto}.manage-settings nav{grid-template-columns:1fr}}
@media(min-width:821px) and (max-width:1200px){.manage-shell:not(.portal-shell):has(>.manage-sidebar) .manage-calendar-filters,.manage-shell:not(.portal-shell):has(>.manage-sidebar) .manage-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.manage-shell:not(.portal-shell):has(>.manage-sidebar) .manage-calendar-filters label:first-of-type,.manage-shell:not(.portal-shell):has(>.manage-sidebar) .manage-filter label:first-of-type{grid-column:auto}.manage-shell:not(.portal-shell):has(>.manage-sidebar) :is(.manage-calendar-filters,.manage-filter) :is(.manage-primary,.manage-secondary){box-sizing:border-box;width:100%}}
.manage-shell:not(.portal-shell) .manage-heading{align-items:flex-end;margin-bottom:32px;padding-bottom:26px;border-bottom:1px solid var(--admin-line)}
.manage-shell:not(.portal-shell) .manage-heading>div:first-child{max-width:780px}
.manage-shell:not(.portal-shell) .manage-heading h1{margin:9px 0 10px;color:var(--admin-wine)}
.manage-shell:not(.portal-shell) .manage-heading p,.manage-shell:not(.portal-shell) .manage-related-heading p{max-width:760px;margin:0;color:var(--admin-muted);line-height:1.6}
.manage-shell:not(.portal-shell) .eyebrow{color:var(--admin-rose);font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase}
.manage-shell:not(.portal-shell) .manage-primary,.manage-shell:not(.portal-shell) .manage-secondary{min-height:48px;padding:13px 22px;border-radius:0;font-size:10px;font-weight:700;letter-spacing:.11em;line-height:1.2;transition:background-color .2s,border-color .2s,color .2s,transform .2s}
.manage-shell:not(.portal-shell) .manage-primary{border-color:var(--admin-wine);background:var(--admin-wine);color:#fff}
.manage-shell:not(.portal-shell) .manage-primary:hover,.manage-shell:not(.portal-shell) .manage-primary:focus-visible{border-color:var(--admin-rose);background:var(--admin-rose);color:#fff}
.manage-shell:not(.portal-shell) :is(button.manage-primary,button.manage-secondary):disabled{border-color:#cfc1c8;background:#eee7eb;color:#685661;cursor:not-allowed;transform:none}
.manage-shell:not(.portal-shell) .manage-secondary{border-color:var(--admin-wine);background:transparent;color:var(--admin-wine)}
.manage-shell:not(.portal-shell) .manage-secondary:hover,.manage-shell:not(.portal-shell) .manage-secondary:focus-visible{border-color:var(--admin-wine);background:var(--admin-wine);color:#fff}
.manage-shell:not(.portal-shell) .manage-primary:focus-visible,.manage-shell:not(.portal-shell) .manage-secondary:focus-visible,.manage-shell:not(.portal-shell) input:focus-visible,.manage-shell:not(.portal-shell) select:focus-visible,.manage-shell:not(.portal-shell) textarea:focus-visible{outline:3px solid rgba(179,60,105,.22);outline-offset:2px}
.manage-shell:not(.portal-shell) .manage-form,.manage-shell:not(.portal-shell) .manage-detail,.manage-shell:not(.portal-shell) .manage-filter,.manage-shell:not(.portal-shell) .manage-calendar-panel,.manage-shell:not(.portal-shell) .manage-calendar,.manage-shell:not(.portal-shell) .manage-session-generator{border:1px solid #eadfe2;background:var(--admin-paper);box-shadow:0 18px 50px rgba(75,31,61,.07)}
.manage-shell:not(.portal-shell) .manage-form,.manage-shell:not(.portal-shell) .manage-detail{padding:clamp(26px,4vw,48px)}
.manage-shell:not(.portal-shell) .manage-form-grid{gap:22px 28px}
.manage-form--cohort .cohort-field-recurrence-text{grid-column:1/-1}
.manage-shell:not(.portal-shell) .class-roster-filter{display:flex;align-items:flex-end;gap:12px;margin:0 0 18px;padding:16px 18px;border:1px solid #eadfe2;background:#fff}
.manage-shell:not(.portal-shell) .class-roster-filter label{display:block;min-width:240px;margin:0}
.manage-shell:not(.portal-shell) .class-roster-filter label span{display:block;margin-bottom:7px;color:var(--admin-wine);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
.manage-shell:not(.portal-shell) .class-roster-filter select{box-sizing:border-box;width:100%;min-height:46px;padding:10px 12px;border:1px solid #d9cdd2;background:#fff;color:var(--admin-ink);font-size:14px}
.manage-shell:not(.portal-shell) .class-roster-filter .manage-secondary{min-height:46px}
.manage-shell:not(.portal-shell) .manage-form label,.manage-shell:not(.portal-shell) .manage-filter label span,.manage-shell:not(.portal-shell) .manage-calendar-filters label span,.manage-shell:not(.portal-shell) .manage-session-generator__form label{color:var(--admin-wine);font-size:10px;font-weight:700;letter-spacing:.1em}
.manage-shell:not(.portal-shell) .manage-form input:not([type=checkbox]),.manage-shell:not(.portal-shell) .manage-form select,.manage-shell:not(.portal-shell) .manage-form textarea,.manage-shell:not(.portal-shell) .manage-filter input,.manage-shell:not(.portal-shell) .manage-filter select,.manage-shell:not(.portal-shell) .manage-calendar-filters select,.manage-shell:not(.portal-shell) .manage-session-generator__form input,.manage-shell:not(.portal-shell) .manage-session-generator__form select{min-height:50px;border:1px solid #d9cdd2;border-radius:0;background:#fff;color:var(--admin-ink);font-size:14px}
.manage-shell:not(.portal-shell) .manage-form textarea{min-height:132px;line-height:1.55}
.manage-shell:not(.portal-shell) .manage-form .hint-block{margin-top:7px;color:#81747b;font-size:11px;line-height:1.45}
.manage-shell:not(.portal-shell) .manage-form-actions,.manage-shell:not(.portal-shell) .manage-heading-actions,.manage-shell:not(.portal-shell) .manage-attendance-header-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.manage-shell:not(.portal-shell) .manage-form-actions>*{margin:0}
.manage-shell:not(.portal-shell) .manage-payroll-form .manage-payroll-rates{min-width:0;margin:32px 0 0;padding:28px 0 0;border:0;border-top:1px solid var(--admin-line)}
.manage-shell:not(.portal-shell) .manage-payroll-rates legend{float:left;width:100%;margin:0 0 8px;padding:0;color:var(--admin-wine);font-family:var(--admin-heading-font);font-size:clamp(28px,3.5vw,40px);font-weight:500;line-height:1.1}
.manage-shell:not(.portal-shell) .manage-payroll-rates>p{clear:both;margin:0 0 22px;color:var(--admin-muted);line-height:1.6}
.manage-shell:not(.portal-shell) .manage-payroll-rates .pay-band{grid-template-columns:repeat(3,minmax(0,1fr)) auto;align-items:end;padding:18px 0;border-top:1px solid #eee4e5}
.manage-shell:not(.portal-shell) .manage-payroll-rates .pay-band label{min-width:0;margin:0}
.manage-shell:not(.portal-shell) .manage-payroll-rates .remove-pay-band{white-space:nowrap}
.manage-shell:not(.portal-shell) .manage-payroll-rates .pay-band:only-child .remove-pay-band{display:none}
.manage-shell:not(.portal-shell) .manage-payroll-optional{margin-top:28px;padding-top:20px;border-top:1px solid var(--admin-line)}
.manage-shell:not(.portal-shell) .manage-payroll-optional summary{margin-bottom:18px;color:var(--admin-wine);font-size:11px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;cursor:pointer}
.manage-shell:not(.portal-shell) .manage-payroll-optional:not([open]) summary{margin-bottom:0}
.manage-shell:not(.portal-shell) .manage-payroll-form .manage-form-actions{padding-top:28px;border-top:1px solid var(--admin-line)}
.manage-shell:not(.portal-shell) .manage-invoice-form>.manage-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.manage-shell:not(.portal-shell) .manage-invoice-lines{min-width:0;margin:32px 0 0;padding:28px 0 0;border:0;border-top:1px solid var(--admin-line)}
.manage-shell:not(.portal-shell) .manage-invoice-lines legend{float:left;width:100%;margin:0 0 8px;padding:0;color:var(--admin-wine);font-family:var(--admin-heading-font);font-size:clamp(28px,3.5vw,40px);font-weight:500;line-height:1.1}
.manage-shell:not(.portal-shell) .manage-invoice-lines>p{clear:both;max-width:760px;margin:0 0 22px;color:var(--admin-muted);line-height:1.6}
.manage-shell:not(.portal-shell) .manage-invoice-lines .invoice-line{grid-template-columns:minmax(0,2fr) minmax(0,1fr) auto;align-items:end;padding:18px 0;border-top:1px solid #eee4e5}
.manage-shell:not(.portal-shell) .manage-invoice-lines .invoice-line label{min-width:0;margin:0}
.manage-shell:not(.portal-shell) .manage-invoice-lines .remove-invoice-line{white-space:nowrap}
.manage-shell:not(.portal-shell) .manage-invoice-lines .invoice-line:only-child .remove-invoice-line{display:none}
.manage-shell:not(.portal-shell) .manage-invoice-form .manage-form-actions{padding-top:28px;border-top:1px solid var(--admin-line)}
.manage-shell:not(.portal-shell) .booking-term-next-steps ol{display:grid;gap:10px;list-style:none;counter-reset:booking-step;margin:12px 0 0;padding:0}
.manage-shell:not(.portal-shell) .booking-term-next-steps li{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--admin-line);background:#fff;counter-increment:booking-step}
.manage-shell:not(.portal-shell) .booking-term-next-steps li:before{content:counter(booking-step);display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--admin-wine);color:#fff;font-size:12px;font-weight:700}
@media(max-width:720px){.manage-shell:not(.portal-shell) .booking-term-next-steps li{grid-template-columns:28px minmax(0,1fr)}.manage-shell:not(.portal-shell) .booking-term-next-steps li>a{grid-column:2}}
.manage-shell:not(.portal-shell) .manage-invoice-overlap{margin:28px 0 0;padding:24px;border-left:4px solid var(--ritz-pink);background:#f8f3f1}
.manage-shell:not(.portal-shell) .manage-invoice-overlap h2{margin:0 0 8px;font-size:clamp(25px,3vw,34px)}
.manage-shell:not(.portal-shell) .manage-invoice-overlap p{margin:0 0 12px;line-height:1.55}
.manage-shell:not(.portal-shell) .manage-invoice-overlap ul{margin:0 0 18px;padding-left:20px;line-height:1.7;overflow-wrap:anywhere}
.manage-shell:not(.portal-shell) .manage-invoice-overlap .field-feeinvoiceform-overlap_reviewed label{display:flex;align-items:flex-start;gap:10px;margin:0;font-size:13px;letter-spacing:0;line-height:1.45;text-transform:none}
@media(max-width:900px){.manage-shell:not(.portal-shell) .manage-payroll-rates .pay-band{grid-template-columns:repeat(2,minmax(0,1fr))}.manage-shell:not(.portal-shell) .manage-payroll-rates .remove-pay-band{justify-self:start}}
@media(max-width:900px){.manage-shell:not(.portal-shell) .manage-invoice-form>.manage-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manage-shell:not(.portal-shell) .manage-invoice-lines .invoice-line{grid-template-columns:repeat(2,minmax(0,1fr))}.manage-shell:not(.portal-shell) .manage-invoice-lines .remove-invoice-line{justify-self:start}}
@media(max-width:720px){.manage-shell:not(.portal-shell) .manage-payroll-rates .pay-band{grid-template-columns:1fr}.manage-shell:not(.portal-shell) .manage-payroll-rates .remove-pay-band{justify-self:stretch}}
@media(max-width:720px){.manage-shell:not(.portal-shell) .manage-invoice-form>.manage-form-grid,.manage-shell:not(.portal-shell) .manage-invoice-lines .invoice-line{grid-template-columns:1fr}.manage-shell:not(.portal-shell) .manage-invoice-lines .remove-invoice-line{justify-self:stretch}}
.manage-shell:not(.portal-shell) .manage-related{margin-top:clamp(36px,5vw,58px)}
.manage-shell:not(.portal-shell) .manage-related-heading{align-items:flex-end;margin-bottom:20px}
.manage-shell:not(.portal-shell) .manage-related-heading h2,.manage-shell:not(.portal-shell) .manage-calendar__toolbar h2,.manage-shell:not(.portal-shell) .manage-session-generator h2{line-height:1.1}
.manage-session-generator__notice,.manage-session-generator__readiness{margin-top:16px!important;padding:14px 16px;border-left:3px solid var(--ritz-pink);background:#f8f0f2;color:var(--admin-wine)}
.manage-session-generator__readiness summary{cursor:pointer;font-size:13px;font-weight:700;line-height:1.5}
.manage-session-generator__readiness p{margin:10px 0!important}
.manage-session-generator__readiness ul{max-height:180px;margin:10px 0 0;padding-left:20px;overflow:auto}
.manage-session-generator__readiness li{margin:6px 0;font-size:13px;line-height:1.4}
.manage-session-generator__readiness a{color:var(--admin-wine);text-decoration:underline;text-underline-offset:3px}
.manage-term-conflict-actions{display:grid;gap:8px;margin:4px 0;padding:12px 14px;border-left:3px solid var(--ritz-pink);background:#fff5f7;color:var(--admin-wine)}
.manage-term-conflict-actions p{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;margin:0!important;font-size:13px;line-height:1.5}
.manage-term-conflict-actions .manage-record-link{white-space:nowrap}
.manage-shell:not(.portal-shell) .manage-session-generator{grid-template-columns:minmax(0,1fr);gap:22px;align-items:start}
.manage-shell:not(.portal-shell) .manage-session-generator h2{font-size:28px!important;line-height:1.2!important;max-width:100%;margin:6px 0 10px}
.manage-shell:not(.portal-shell) .manage-session-generator>div>p{max-width:76ch;font-size:14px;line-height:1.6}
.manage-shell:not(.portal-shell) .manage-session-generator__form{align-self:start;grid-template-columns:minmax(0,2fr) minmax(180px,1fr) auto;gap:14px 20px;align-items:end}
.manage-shell:not(.portal-shell) .manage-session-generator__form #term-window-help{grid-column:1/-1;order:4;margin:0;color:var(--admin-muted);font-size:14px;line-height:1.5}
.manage-shell:not(.portal-shell) .manage-session-generator__form .manage-primary{min-height:50px;order:3}
.manage-shell:not(.portal-shell) .manage-session-generator__form .manage-primary:disabled{border-color:#b8aeb3;background:#b8aeb3;color:#fff;cursor:not-allowed}
.manage-shell:not(.portal-shell) .manage-class-edit{margin-top:0}
.manage-shell:not(.portal-shell) :is(#class-edit,#class-overview,#class-schedule,#class-students,#class-finance,#class-enrolments,#class-sessions,#class-withdrawals,#class-roster,#student-attendance,#attendance,#session-makeups,#session-edit,#session-history,#session-update){scroll-margin-top:118px}
.manage-shell:not(.portal-shell) .manage-form--cohort .manage-form-grid{row-gap:22px}
.manage-shell:not(.portal-shell) .manage-form--cohort .manage-form-section-title{margin:10px 0 -6px;padding-bottom:10px;border-bottom:1px solid var(--admin-line);color:var(--admin-wine);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.manage-shell:not(.portal-shell) .manage-form--cohort .manage-form-section-title:first-child{margin-top:0}
.manage-shell:not(.portal-shell) .manage-form--cohort .manage-form-section-title h2{margin:0;color:var(--admin-wine);font-family:var(--admin-heading-font);font-size:22px;line-height:1.3;letter-spacing:0;text-transform:none}
.manage-shell:not(.portal-shell) .manage-form--cohort .manage-form-section-title p{margin:6px 0 0;color:var(--admin-muted);font-size:14px;font-weight:400;line-height:1.5;letter-spacing:0;text-transform:none}
.manage-shell:not(.portal-shell) .manage-class-overview{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,2fr);gap:28px;align-items:center;padding:30px;background:#fff;border:1px solid var(--admin-line);box-shadow:0 16px 42px rgba(75,31,61,.06)}
.manage-shell:not(.portal-shell) .manage-class-overview__intro p{margin:7px 0 12px;color:var(--admin-wine);font-family:var(--admin-number-font);font-variant-numeric:lining-nums tabular-nums;font-size:clamp(24px,2.5vw,30px);line-height:1.15}
.manage-shell:not(.portal-shell) .manage-class-overview dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0}
.manage-shell:not(.portal-shell) .manage-class-overview dt{margin-bottom:5px;color:var(--admin-muted);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.manage-shell:not(.portal-shell) .manage-class-overview dd{margin:0;color:var(--admin-ink);font-size:16px;line-height:1.45}
.manage-shell:not(.portal-shell) .manage-class-workspace-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:0 0 20px;border:1px solid var(--admin-line);background:var(--admin-line)}
.manage-shell:not(.portal-shell) .manage-class-workspace-nav .manage-secondary{min-width:0;padding:16px 14px;border:0;background:#fff;text-align:center}
.manage-shell:not(.portal-shell) .manage-class-workspace-nav .manage-secondary:hover,.manage-shell:not(.portal-shell) .manage-class-workspace-nav .manage-secondary:focus-visible{background:var(--admin-paper);color:var(--admin-wine)}
.manage-shell:not(.portal-shell) .manage-anchor-target{display:block;height:0;position:relative}
.manage-shell:not(.portal-shell) .manage-source-summary{margin-bottom:28px;padding:clamp(22px,3vw,32px);border:1px solid var(--admin-line);border-left:4px solid var(--admin-rose);background:var(--admin-paper);box-shadow:0 16px 42px rgba(75,31,61,.06)}
.manage-source-notice{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;margin:0 0 16px;border:1px solid var(--admin-line);border-left:3px solid var(--admin-rose);background:#fff}
.manage-source-notice p{margin:6px 0 0;color:var(--admin-muted);font-size:14px;line-height:1.5}
.manage-source-notice .manage-secondary{flex-shrink:0}
.manage-held-class-workspace .manage-history-accordion{padding:22px;border:1px solid var(--admin-line);background:#fff}
.manage-shell:not(.portal-shell) .manage-held-class-workspace .manage-class-section{margin-top:24px;padding-top:24px}
.manage-shell:not(.portal-shell) .manage-held-class-workspace h2{margin:8px 0 12px}
.manage-shell:not(.portal-shell) .manage-held-class-workspace .manage-related-heading{margin-bottom:16px}
@media(max-width:720px){.manage-source-notice{align-items:stretch;flex-direction:column}.manage-source-notice .manage-secondary{text-align:center}}
.manage-shell:not(.portal-shell) .manage-source-summary__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.manage-shell:not(.portal-shell) .manage-source-summary h2{margin:7px 0 0;color:var(--admin-wine);font-family:var(--admin-heading-font);font-size:clamp(26px,3vw,36px);font-weight:400;line-height:1.1}
.manage-shell:not(.portal-shell) .manage-source-summary p{max-width:760px;margin:18px 0 0;color:var(--admin-muted);line-height:1.6}
.manage-shell:not(.portal-shell) .manage-source-summary__facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0 0}
.manage-shell:not(.portal-shell) .manage-source-summary__facts>div{padding:14px 16px;border:1px solid var(--admin-line);background:#fff}
.manage-shell:not(.portal-shell) .manage-source-summary__facts dt{color:var(--admin-muted);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.manage-shell:not(.portal-shell) .manage-source-summary__facts dd{margin:6px 0 0;color:var(--admin-wine);font-size:18px;line-height:1.3}
.manage-shell:not(.portal-shell) .manage-source-summary .manage-source-summary__next{color:var(--admin-ink)}
.manage-shell:not(.portal-shell) .manage-class-section{padding-top:32px;border-top:1px solid var(--admin-line)}
.manage-shell:not(.portal-shell) .manage-class-section .manage-related-heading{gap:20px}
.manage-shell:not(.portal-shell) .manage-class-section__secondary{margin:18px 0 0}
.manage-shell:not(.portal-shell) .manage-class-section__secondary a{color:var(--admin-wine);font-size:11px;font-weight:700;letter-spacing:.08em;text-decoration:underline;text-decoration-color:var(--admin-rose);text-underline-offset:4px;text-transform:uppercase}
.manage-shell:not(.portal-shell) .manage-class-finance__rates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}
.manage-shell:not(.portal-shell) .manage-class-finance__rates>div{padding:20px;border:1px solid var(--admin-line);background:#fff}
.manage-shell:not(.portal-shell) .manage-class-finance__rates dt{color:var(--admin-muted);font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.manage-shell:not(.portal-shell) .manage-class-finance__rates dd{margin:8px 0 0;color:var(--admin-wine);font-size:clamp(24px,3vw,34px);line-height:1.2}
.manage-shell:not(.portal-shell) .manage-class-roster{border-top:1px solid var(--admin-line)}
.manage-shell:not(.portal-shell) .manage-class-roster>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 0;color:var(--admin-wine);font-family:var(--admin-heading-font);font-size:clamp(24px,2.5vw,30px);font-weight:500;line-height:1.15;list-style:none;cursor:pointer}
.manage-shell:not(.portal-shell) .manage-class-roster>summary::-webkit-details-marker{display:none}
.manage-shell:not(.portal-shell) .manage-class-roster>summary::after{content:'+';margin-left:auto;color:var(--admin-rose);font-family:Arial,sans-serif;font-size:24px}
.manage-shell:not(.portal-shell) .manage-class-roster[open]>summary::after{content:'−'}
.manage-shell:not(.portal-shell) .manage-class-roster{margin-top:22px}
.manage-shell:not(.portal-shell) .manage-class-roster .manage-related-heading{margin:0 0 18px}
@media(max-width:900px){.manage-shell:not(.portal-shell) .manage-class-overview{grid-template-columns:1fr}.manage-shell:not(.portal-shell) .manage-class-section .manage-related-heading{align-items:flex-start;flex-direction:column}.manage-shell:not(.portal-shell) .manage-class-section .manage-heading-actions{width:100%;display:flex;flex-wrap:wrap}}
@media(max-width:900px){.manage-shell:not(.portal-shell) .manage-source-summary__facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.manage-shell:not(.portal-shell) .manage-class-overview{padding:22px}.manage-shell:not(.portal-shell) .manage-class-overview dl{grid-template-columns:1fr 1fr}.manage-shell:not(.portal-shell) .manage-class-section .manage-heading-actions>*{width:100%;box-sizing:border-box}}
@media(max-width:720px){.manage-shell:not(.portal-shell) .manage-class-workspace-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.manage-shell:not(.portal-shell) .manage-class-finance__rates{grid-template-columns:1fr}}
@media(max-width:720px){.manage-shell:not(.portal-shell) .manage-source-summary__heading{align-items:flex-start;flex-direction:column}.manage-shell:not(.portal-shell) .manage-source-summary__heading .manage-secondary{width:100%;box-sizing:border-box}}
@media(max-width:720px){.manage-shell:not(.portal-shell) .manage-heading>div:first-child{box-sizing:border-box;min-width:0;width:100%}.manage-shell:not(.portal-shell) .manage-heading h1{white-space:normal}.manage-shell:not(.portal-shell) .manage-heading p{overflow-wrap:anywhere}}
@media(max-width:480px){.manage-shell:not(.portal-shell) .manage-class-overview dl{grid-template-columns:1fr}}
@media(max-width:480px){.manage-shell:not(.portal-shell) .manage-source-summary__facts{grid-template-columns:1fr}}
.manage-shell:not(.portal-shell).manage-employee-statement{display:grid;gap:24px}
.manage-shell:not(.portal-shell).manage-employee-statement>.manage-heading{margin-bottom:0}
.manage-employee-statement .manage-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:22px 0}
.manage-employee-statement .manage-metric-grid article{min-width:0;padding:18px;border:1px solid var(--admin-line);background:var(--admin-soft)}
.manage-employee-statement .manage-metric-grid span{display:block;margin-bottom:8px;color:var(--admin-muted);font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.manage-employee-statement .manage-metric-grid strong{display:block;color:var(--admin-wine);font-size:clamp(22px,3vw,32px);line-height:1.1}
.manage-employee-statement .employee-statement-line{margin-top:14px;padding-top:14px;border-top:1px solid var(--admin-line)}
.manage-employee-statement .manage-history-item{padding:16px 0;border-top:1px solid var(--admin-line)}
.manage-employee-statement .manage-history-item h3{margin:0 0 6px;font-size:18px}
.manage-shell:not(.portal-shell) .manage-table-wrap{border:1px solid #eadfe2;background:#fff;box-shadow:0 16px 42px rgba(75,31,61,.06);scrollbar-color:#9ca3af #f3f4f6}
.manage-term-selection-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 16px}.manage-term-selection-tools[hidden]{display:none}.manage-term-selection-tools #term-selection-count{color:#6e626a;font-size:12px}
.manage-shell:not(.portal-shell) .manage-table th{padding:15px 18px;background:#f5ecea;color:#685963;font-size:10px;letter-spacing:.12em}
.manage-shell:not(.portal-shell) .manage-table td{padding:14px 18px;color:#4e444b;line-height:1.4;vertical-align:middle}
.manage-shell:not(.portal-shell) .manage-table tbody tr:hover{background:#fffaf8}
.manage-shell:not(.portal-shell) .manage-teacher-pay-table,.manage-shell:not(.portal-shell) .manage-teacher-classes-table{min-width:0;table-layout:auto}
.manage-shell:not(.portal-shell) .manage-teacher-pay-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.manage-shell:not(.portal-shell) .manage-teacher-pay-actions .manage-secondary{min-height:40px;padding:9px 12px;font-size:9px;white-space:nowrap}
.manage-shell:not(.portal-shell) .manage-teacher-row-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.manage-shell:not(.portal-shell) .manage-teacher-row-actions .manage-secondary{min-height:40px;padding:9px 12px;font-size:9px;white-space:nowrap}
.manage-shell:not(.portal-shell) #teacher-pay{margin-top:32px}
.manage-shell:not(.portal-shell) .manage-teacher-details-heading{margin-top:clamp(36px,5vw,58px)}
.manage-shell:not(.portal-shell) .manage-actions{display:table-cell;vertical-align:middle;text-align:center;white-space:nowrap}
.manage-shell:not(.portal-shell) .manage-actions a{margin:0;font-size:11px;font-weight:600;text-decoration:underline;text-decoration-color:#d7bdc7;text-underline-offset:4px}
.manage-shell:not(.portal-shell) .manage-actions a:hover{color:var(--admin-rose);text-decoration-color:currentColor}
.manage-shell:not(.portal-shell) .manage-actions.manage-class-actions{width:260px;min-width:240px;text-align:left;white-space:normal}
.manage-shell:not(.portal-shell) .manage-class-actions__links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-width:300px}
.manage-shell:not(.portal-shell) .manage-table .manage-class-actions__links a{display:flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;margin:0;padding:10px 12px;font-family:var(--admin-heading-font);font-size:11px;font-weight:600;letter-spacing:.02em;line-height:1.25;text-decoration:none;text-transform:none;white-space:normal;text-align:center}
.manage-shell:not(.portal-shell) .manage-class-actions__links .manage-primary{background:var(--admin-wine);border-color:var(--admin-wine);color:#fff!important}
.manage-shell:not(.portal-shell) .manage-class-actions__links .manage-secondary{background:#fff;border-color:var(--admin-line);color:var(--admin-wine)!important}
.manage-shell:not(.portal-shell) .manage-class-actions__links a:only-child,.manage-shell:not(.portal-shell) .manage-class-actions__links a:nth-child(3):last-child{grid-column:1/-1}
.manage-shell:not(.portal-shell) .manage-class-actions__links a:hover{border-color:var(--admin-rose);background:var(--admin-rose);color:#fff!important}
.manage-shell:not(.portal-shell) .manage-class-actions__more{max-width:300px;margin-top:6px;font-family:var(--admin-heading-font);font-size:12px;line-height:1.4}
.manage-shell:not(.portal-shell) .manage-class-actions__more>summary{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;min-height:44px;padding:9px 0;border-top:1px solid var(--admin-line);color:var(--admin-muted);font:600 12px/1.4 var(--admin-heading-font);list-style:none;cursor:pointer}
.manage-shell:not(.portal-shell) .manage-class-actions__more>summary::-webkit-details-marker{display:none}
.manage-shell:not(.portal-shell) .manage-class-actions__more>summary::after{content:'+';margin-left:12px;color:var(--admin-wine);font-size:18px;font-weight:400}
.manage-shell:not(.portal-shell) .manage-class-actions__more[open]>summary::after{content:'−'}
.manage-shell:not(.portal-shell) .manage-class-actions__extra{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:4px 0 8px}
.manage-shell:not(.portal-shell) .manage-class-actions__extra a,.manage-shell:not(.portal-shell) .manage-class-actions__extra .manage-delete-button{display:inline-flex;align-items:center;box-sizing:border-box;min-height:44px;margin:0;padding:8px 0;font:500 12px/1.4 var(--admin-heading-font);text-transform:none;letter-spacing:0}
.manage-shell:not(.portal-shell) .manage-class-actions__extra .manage-delete-form{margin:0}
.manage-shell:not(.portal-shell) .manage-class-actions__extra .manage-delete-button{border:0;background:transparent;color:#b4233f;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.manage-shell:not(.portal-shell) .manage-class-actions :is(a,summary,button):focus-visible{outline:2px solid var(--admin-rose);outline-offset:3px}
.manage-shell:not(.portal-shell) .manage-class-actions__hold{display:inline-flex;align-items:center;box-sizing:border-box;min-height:28px;margin-top:9px;padding:5px 9px;border-left:2px solid var(--admin-rose);background:var(--admin-rose-pale);color:var(--admin-wine);font:600 11px/1.35 var(--admin-heading-font)}
@media(max-width:720px){.manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td.manage-actions.manage-class-actions{display:block;width:auto;min-width:0}.manage-shell:not(.portal-shell) .manage-class-actions__links,.manage-shell:not(.portal-shell) .manage-class-actions__more{max-width:none}.manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td.manage-class-actions::before{display:block;margin-bottom:9px}}
.manage-shell:not(.portal-shell) .manage-empty{border:1px dashed #dfd3d7;background:rgba(255,255,255,.55)}
.manage-shell:not(.portal-shell) .manage-filter,.manage-shell:not(.portal-shell) .manage-calendar-panel{padding:22px}
.manage-shell:not(.portal-shell) .manage-filter.student-attendance-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto auto;gap:14px;align-items:end;margin-bottom:20px}
.manage-shell:not(.portal-shell) .student-attendance-filter label{min-width:0}
@media(max-width:720px){.manage-shell:not(.portal-shell) .manage-filter.student-attendance-filter{grid-template-columns:1fr}.manage-shell:not(.portal-shell) .student-attendance-filter label:first-of-type{grid-column:auto}}
.manage-shell:not(.portal-shell) .manage-filter .manage-primary,.manage-shell:not(.portal-shell) .manage-filter .manage-secondary,.manage-shell:not(.portal-shell) .manage-calendar-filters .manage-primary,.manage-shell:not(.portal-shell) .manage-calendar-filters .manage-secondary{min-height:50px}
.manage-shell:not(.portal-shell) .manage-pagination .pagination{justify-content:center}
.manage-shell:not(.portal-shell) .manage-pagination .pagination li a,.manage-shell:not(.portal-shell) .manage-pagination .pagination li span{min-width:44px;height:44px;border-radius:0}
.manage-shell:not(.portal-shell) .manage-session-log__list{list-style:none;margin:0;padding:0;border:1px solid #eadfe2;background:#fff;box-shadow:0 16px 42px rgba(75,31,61,.06)}
.manage-shell:not(.portal-shell) .manage-session-log__list>li+li{border-top:1px solid #eee4e5}
.manage-shell:not(.portal-shell) .manage-session-log__entry>summary{display:grid;grid-template-columns:minmax(150px,1fr) minmax(210px,auto) 20px;align-items:center;gap:12px;padding:14px 18px;cursor:pointer;list-style:none}
.manage-shell:not(.portal-shell) .manage-session-log__entry>summary::-webkit-details-marker{display:none}
.manage-shell:not(.portal-shell) .manage-session-log__entry>summary:hover,.manage-shell:not(.portal-shell) .manage-session-log__entry>summary:focus-visible{background:#fff8f8}
.manage-shell:not(.portal-shell) .manage-session-log__entry>summary:focus-visible{outline:2px solid var(--admin-rose);outline-offset:-2px}
.manage-shell:not(.portal-shell) .manage-session-log__event{font-weight:700;color:var(--admin-wine)}
.manage-shell:not(.portal-shell) .manage-session-log__meta{font-size:12px;color:var(--admin-muted);text-align:right}
.manage-shell:not(.portal-shell) .manage-session-log__toggle::after{content:'+';color:var(--admin-rose);font:24px/1 Arial,sans-serif}
.manage-shell:not(.portal-shell) .manage-session-log__entry[open] .manage-session-log__toggle::after{content:'−'}
.manage-shell:not(.portal-shell) .manage-session-log__details{padding:0 18px 16px;color:#4e444b;overflow-wrap:anywhere}
.manage-shell:not(.portal-shell) .manage-session-log__details ul{margin:0;padding-left:20px}
.manage-shell:not(.portal-shell) .manage-session-log__details li+li{margin-top:5px}
.manage-shell:not(.portal-shell) .manage-session-log__details p{margin:0}
.manage-shell:not(.portal-shell) .manage-session-log .manage-pagination{margin-top:18px}
@media(max-width:600px){.manage-shell:not(.portal-shell) .manage-session-log__entry>summary{grid-template-columns:1fr 20px;gap:4px 10px}.manage-shell:not(.portal-shell) .manage-session-log__meta{grid-row:2;text-align:left}.manage-shell:not(.portal-shell) .manage-session-log__toggle{grid-column:2;grid-row:1/3}}

@media(max-width:900px){
 .manage-shell:not(.portal-shell){padding-inline:clamp(20px,4vw,34px)}
 .manage-shell:not(.portal-shell) .manage-heading{align-items:flex-start;flex-direction:column}
 .manage-shell:not(.portal-shell) .manage-heading>.manage-primary,.manage-shell:not(.portal-shell) .manage-heading>.manage-secondary{width:auto}
 .manage-shell:not(.portal-shell) .manage-calendar-filters,.manage-shell:not(.portal-shell) .manage-filter{grid-template-columns:repeat(2,minmax(0,1fr))}
 .manage-shell:not(.portal-shell) .manage-calendar-filters label:first-of-type,.manage-shell:not(.portal-shell) .manage-filter label:first-of-type{grid-column:1/-1}
 .manage-shell:not(.portal-shell) .manage-calendar-filters .manage-primary,.manage-shell:not(.portal-shell) .manage-calendar-filters .manage-secondary,.manage-shell:not(.portal-shell) .manage-filter .manage-primary,.manage-shell:not(.portal-shell) .manage-filter .manage-secondary{width:100%}
}

@media(min-width:721px) and (max-width:1100px){
 .manage-shell:not(.portal-shell) .manage-filter.account-session-filter{grid-template-columns:repeat(2,minmax(0,1fr))}
 .manage-shell:not(.portal-shell) .manage-filter.account-session-filter .manage-primary,.manage-shell:not(.portal-shell) .manage-filter.account-session-filter .manage-secondary{width:100%;box-sizing:border-box}
}

/* The withdrawal selector has four wide, interactive columns. Switch only this
   table to the existing Modave card contract at tablet width so the date field
   stays visible without changing other admin tables' desktop layout. */
@media(max-width:900px){
 .manage-shell:not(.portal-shell) .manage-table-wrap:has(.manage-withdrawal-courses){overflow:visible;border:0;background:transparent;box-shadow:none}
 .manage-shell:not(.portal-shell) .manage-table.manage-withdrawal-courses{display:block;min-width:0;background:transparent}
 .manage-shell:not(.portal-shell) .manage-table.manage-withdrawal-courses thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .manage-shell:not(.portal-shell) .manage-table.manage-withdrawal-courses tbody{display:grid;gap:16px}
 .manage-shell:not(.portal-shell) .manage-table.manage-withdrawal-courses tr{display:block;border:1px solid #e4d9dc;background:#fff;box-shadow:0 12px 30px rgba(75,31,61,.06)}
 .manage-shell:not(.portal-shell) .manage-table.manage-withdrawal-courses td{display:grid;grid-template-columns:minmax(128px,34%) minmax(0,66%);gap:14px;padding:13px 16px;border-top:1px solid #eee4e5;text-align:left!important;overflow-wrap:anywhere}
 .manage-shell:not(.portal-shell) .manage-table.manage-withdrawal-courses td:first-child{border-top:0}
 .manage-shell:not(.portal-shell) .manage-table.manage-withdrawal-courses td::before{content:attr(data-label);align-self:center;color:#765f6b;font-size:9px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
}

@media(max-width:720px){
 .manage-shell:not(.portal-shell){padding:34px 20px 64px}
 .manage-shell:not(.portal-shell) .manage-heading{gap:20px;margin-bottom:22px;padding-bottom:22px}
 .manage-shell:not(.portal-shell) .manage-heading h1{font-size:clamp(28px,8vw,36px);overflow-wrap:anywhere}
 .manage-shell:not(.portal-shell) .manage-heading>.manage-primary,.manage-shell:not(.portal-shell) .manage-heading>.manage-secondary,.manage-shell:not(.portal-shell) .manage-heading-actions,.manage-shell:not(.portal-shell) .manage-heading-actions>*,.manage-shell:not(.portal-shell) .manage-form-actions,.manage-shell:not(.portal-shell) .manage-form-actions>*{width:100%;box-sizing:border-box}
 .manage-shell:not(.portal-shell) .manage-tabs{margin-inline:-20px;padding:0 20px 4px;scroll-padding-inline:20px;overscroll-behavior-inline:contain}
 .manage-shell:not(.portal-shell) .manage-tabs a{min-height:52px;padding-inline:16px;flex:0 0 auto;scroll-snap-align:start}
 .manage-shell:not(.portal-shell) .manage-form,.manage-shell:not(.portal-shell) .manage-detail,.manage-shell:not(.portal-shell) .manage-filter,.manage-shell:not(.portal-shell) .manage-calendar-panel,.manage-shell:not(.portal-shell) .manage-calendar,.manage-shell:not(.portal-shell) .manage-session-generator{padding:20px}
 .manage-shell:not(.portal-shell) .manage-form-grid,.manage-shell:not(.portal-shell) .manage-calendar-filters,.manage-shell:not(.portal-shell) .manage-filter,.manage-shell:not(.portal-shell) .manage-filter.account-session-filter,.manage-shell:not(.portal-shell) .manage-session-generator__form{grid-template-columns:1fr}
 .manage-shell:not(.portal-shell) .manage-calendar-filters label:first-of-type,.manage-shell:not(.portal-shell) .manage-filter label:first-of-type{grid-column:auto}
 .manage-shell:not(.portal-shell) .manage-related{margin-top:38px}
 .manage-shell:not(.portal-shell) .manage-related-heading{align-items:flex-start;flex-direction:column;gap:18px}
 .manage-shell:not(.portal-shell) .manage-related-heading>.manage-heading-actions,.manage-shell:not(.portal-shell) .manage-attendance-header-actions,.manage-shell:not(.portal-shell) .manage-attendance-header-actions>*{width:100%}
 .manage-shell:not(.portal-shell) .manage-table-wrap{overflow:visible;border:0;background:transparent;box-shadow:none}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive{display:block;min-width:0;background:transparent}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive tbody{display:grid;gap:16px}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive tr{display:block;border:1px solid #e4d9dc;background:#fff;box-shadow:0 12px 30px rgba(75,31,61,.06)}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td{display:grid;grid-template-columns:minmax(92px,34%) minmax(0,66%);gap:14px;padding:13px 16px;border-top:1px solid #eee4e5;text-align:left!important;overflow-wrap:anywhere}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td:first-child{border-top:0}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td::before{content:attr(data-label);align-self:center;color:#765f6b;font-size:9px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td.manage-actions{display:flex;align-items:center;justify-content:flex-start;gap:16px}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td.manage-actions::before{margin-right:auto}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td.manage-empty{display:block;padding:34px 20px!important;border:1px dashed #dfd3d7;text-align:center!important}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td.manage-empty::before{content:none}
 .manage-shell:not(.portal-shell) .manage-attendance-actions:has(.manage-attendance-checkbox),.manage-shell:not(.portal-shell) .manage-attendance-form:has(.manage-attendance-checkbox){justify-content:flex-start;width:auto}
 .manage-shell:not(.portal-shell) .manage-calendar__toolbar{align-items:flex-start;flex-direction:column}
 .manage-shell:not(.portal-shell) .manage-calendar__toolbar-actions{align-items:stretch;width:100%}
 .manage-shell:not(.portal-shell) .manage-calendar__view-toggle,.manage-shell:not(.portal-shell) .manage-calendar__controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
 .manage-shell:not(.portal-shell) .manage-calendar__controls{grid-template-columns:48px 1fr 48px}
 .manage-shell:not(.portal-shell) .manage-calendar__legend{justify-content:flex-start;flex-wrap:wrap}
 .manage-shell:not(.portal-shell) .manage-session-list>summary{padding:16px}
 .manage-shell:not(.portal-shell) .manage-detail table,.manage-shell:not(.portal-shell) .manage-detail tbody,.manage-shell:not(.portal-shell) .manage-detail tr,.manage-shell:not(.portal-shell) .manage-detail th,.manage-shell:not(.portal-shell) .manage-detail td{display:block;width:100%}
 .manage-shell:not(.portal-shell) .manage-detail th{padding:16px 0 5px;border:0;color:#765f6b;font-size:9px;letter-spacing:.11em;text-transform:uppercase}
 .manage-shell:not(.portal-shell) .manage-detail td{padding:0 0 16px;border-bottom:1px solid #eee4e5;overflow-wrap:anywhere}
 .manage-shell:not(.portal-shell) .manage-pagination{overflow-x:auto;justify-content:flex-start;padding-bottom:4px}
 .manage-shell:not(.portal-shell) .manage-pagination .pagination{justify-content:flex-start;flex-wrap:nowrap}
}

@media(max-width:420px){
 .manage-shell:not(.portal-shell){padding-inline:16px}
 .manage-shell:not(.portal-shell) .manage-tabs{margin-inline:-16px;padding-inline:16px;scroll-padding-inline:16px}
 .manage-shell:not(.portal-shell) .manage-form,.manage-shell:not(.portal-shell) .manage-detail,.manage-shell:not(.portal-shell) .manage-filter,.manage-shell:not(.portal-shell) .manage-calendar-panel,.manage-shell:not(.portal-shell) .manage-calendar,.manage-shell:not(.portal-shell) .manage-session-generator{padding:16px}
 .manage-term-conflict-actions p{align-items:flex-start;flex-direction:column}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td{grid-template-columns:1fr;gap:5px}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td.manage-actions{flex-wrap:wrap}
 .manage-shell:not(.portal-shell) .manage-table.manage-admin-responsive td.manage-actions::before{width:100%;margin:0}
}

/* Let the admin calendar surface appear sooner by removing duplicate dividers. */
.manage-shell:not(.portal-shell){padding-top:42px}
.manage-shell:not(.portal-shell) .manage-heading{margin-bottom:20px;padding-bottom:0;border-bottom:0}
.manage-shell:not(.portal-shell) .manage-tabs{border-top:0}

/* Give the medium-width session generator fields room by placing its action below. */
@media (min-width: 901px) and (max-width: 1100px) {
    .manage-shell:not(.portal-shell) .manage-session-generator__form{grid-template-columns:repeat(2,minmax(0,1fr));}
.manage-shell:not(.portal-shell) .manage-session-generator__form .manage-primary{grid-column:1/-1;width:100%;}
}

.manage-shell:not(.portal-shell) .cohort-search-filter{grid-template-columns:minmax(240px,1fr) minmax(160px,220px) auto auto;}
@media (max-width: 560px){.manage-shell:not(.portal-shell) .cohort-search-filter{grid-template-columns:1fr;}}
@media (min-width:561px) and (max-width:900px){
 .manage-shell:not(.portal-shell) .cohort-search-filter{grid-template-columns:minmax(180px,1fr) minmax(140px,.65fr) auto auto}
 .manage-shell:not(.portal-shell) .cohort-search-filter label:first-of-type{grid-column:auto}
 .manage-shell:not(.portal-shell) .cohort-search-filter .manage-primary,.manage-shell:not(.portal-shell) .cohort-search-filter .manage-secondary{width:auto}
}

.manage-shell:not(.portal-shell) .manage-preview:hover,
.manage-shell:not(.portal-shell) .manage-preview:focus-visible{background:var(--admin-rose);border-color:var(--admin-rose);color:#fff!important}

/* Keep calendar view and date controls aligned as one compact selector. */
.manage-shell:not(.portal-shell) .manage-calendar__toolbar-actions .manage-secondary{
    min-height:30px;
    height:30px;
    padding:0 10px;
    font-size:10px;
}
.manage-shell:not(.portal-shell) .manage-calendar__view-toggle a.is-active{
    background:var(--admin-wine);
    border-color:var(--admin-wine);
    color:#fff;
}
.manage-shell:not(.portal-shell) .manage-calendar__controls .manage-secondary:first-child,
.manage-shell:not(.portal-shell) .manage-calendar__controls .manage-secondary:last-child{
    font-size:16px;
}

@media (max-width: 720px){
    .manage-shell:not(.portal-shell) .class-roster-filter{align-items:stretch;flex-direction:column;}
    .manage-shell:not(.portal-shell) .class-roster-filter label{min-width:0;}
    .manage-shell:not(.portal-shell) .class-roster-filter .manage-secondary{width:100%;}
}

/* Keep session attendance readable on phones: the repeated date is summarized above the roster. */
.manage-attendance-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;margin:0 0 16px;border:1px solid #eadfe2;background:#eadfe2}
.manage-attendance-summary>div{min-width:0;padding:14px 16px;background:#fff}
.manage-attendance-summary span,.manage-attendance-summary small{display:block;color:#765f6b;font-size:9px;font-weight:700;letter-spacing:.11em;text-transform:uppercase}
.manage-attendance-summary strong{display:block;margin:5px 0 2px;color:#4b1f3d;font-size:15px;overflow-wrap:anywhere}
.manage-attendance-summary small{font-size:10px;font-weight:400;letter-spacing:0;text-transform:none}
@media (max-width:720px){
 .manage-attendance-summary{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px}
 .manage-attendance-summary>div{padding:11px 12px}
 .manage-attendance-summary>div:last-child{grid-column:1/-1}
 .manage-attendance .manage-table.manage-admin-responsive tbody{gap:10px}
 .manage-attendance .manage-table.manage-admin-responsive td{grid-template-columns:78px minmax(0,1fr);gap:10px;padding:10px 12px}
 .manage-attendance .manage-table.manage-admin-responsive td.manage-actions{min-height:42px}
}
@media (max-width:420px){
 .manage-attendance-summary{grid-template-columns:1fr}
 .manage-attendance .manage-table.manage-admin-responsive td{grid-template-columns:1fr;gap:5px}
}
/* Read-only enrolment key/value rows retain one semantic label on small screens. */
.manage-shell .manage-table.enrolment-detail-table{min-width:0;table-layout:fixed;width:100%}
.manage-shell .enrolment-detail-table th{width:34%;white-space:normal}
.manage-shell .enrolment-detail-table td{overflow-wrap:anywhere}
.manage-shell:not(.portal-shell) .manage-detail .enrolment-detail-table{display:table}
.manage-shell:not(.portal-shell) .manage-detail .enrolment-detail-table tbody{display:table-row-group}
.manage-shell:not(.portal-shell) .manage-detail .enrolment-detail-table tr{display:table-row}
.manage-shell:not(.portal-shell) .manage-detail .enrolment-detail-table th{display:table-cell;width:34%;padding:14px 12px}
.manage-shell:not(.portal-shell) .manage-detail .enrolment-detail-table td{display:table-cell;width:66%;padding:14px 12px}
.manage-shell.manage-withdrawal-review:not(.portal-shell) .manage-pagination .pagination{max-width:100%;flex-wrap:wrap;justify-content:center}
.manage-shell:not(.portal-shell) .manage-invoice-form [data-field="amount_dollars"]{font-family:var(--admin-number-font)!important;font-variant-numeric:lining-nums tabular-nums}
/* Compact task navigation: one primary row, only the current workspace's links. */
.admin-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;box-sizing:border-box;min-height:64px;padding:8px clamp(18px,4vw,60px);border-bottom:1px solid rgba(240,91,139,.25);background:var(--ritz-navy,#020e20);color:#fff;font:500 13px/1.4 var(--sans,'DM Sans',Arial,sans-serif)}
.admin-topbar__brand{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:#fff;text-decoration:none;white-space:nowrap}
.admin-topbar__wordmark{font:500 32px/1 var(--serif,'Cormorant Garamond',Georgia,serif);letter-spacing:-.025em}
.admin-topbar__context{color:var(--ritz-pink,#f05b8b);font:600 10px/1.3 var(--sans,'DM Sans',Arial,sans-serif);letter-spacing:.14em;text-transform:uppercase}
.admin-topbar nav{display:flex;align-items:center;gap:20px}.admin-topbar form{margin:0}.admin-topbar nav a,.admin-topbar button{display:inline-flex;align-items:center;min-height:44px;color:#fff;text-decoration:none}.admin-topbar button{padding:0;border:0;background:none;font:inherit;cursor:pointer}.admin-topbar nav a:hover,.admin-topbar button:hover{color:var(--ritz-pink,#f05b8b)}
.ritz-admin-workspace>main>.manage-shell{padding-top:28px}.ritz-admin-workspace .manage-heading h1{font-size:clamp(32px,4vw,48px);line-height:1.12}
.manage-shell .manage-sidebar{display:block;width:100%;padding:0;margin:0 0 24px;background:#fff;color:var(--admin-wine,#4b1f3d);border:1px solid var(--admin-line,#ddd0d6);box-shadow:none;overflow:visible;position:static}
.manage-shell .manage-sidebar__brand{display:none!important}
.manage-shell .manage-sidebar__modules{display:flex;flex-wrap:wrap;align-items:start;padding:0;gap:0}
.manage-shell .manage-sidebar__module{display:contents}
.manage-shell .manage-sidebar__module h2{margin:0;padding:0;border:0;font:600 14px/1.4 var(--sans);letter-spacing:0;text-transform:none}
.manage-shell .manage-sidebar__module h2 a{display:block;padding:16px 18px;color:inherit;border-bottom:3px solid transparent;text-decoration:none}
.manage-shell .manage-sidebar__module h2 a.active{background:#faf3f6;border-bottom-color:var(--ritz-pink);color:#4b1f3d}
.manage-shell .manage-sidebar__module>nav{order:3;display:flex;flex-wrap:wrap;flex-basis:100%;gap:8px 18px;padding:10px 18px;border-top:1px solid var(--admin-line,#ddd0d6);background:#fff}
.manage-shell .manage-sidebar__module>nav a{padding:5px 8px;color:#665b63;font:500 13px/1.4 var(--sans)}
.manage-shell .manage-sidebar__module>nav a.active{color:#4b1f3d;background:#f8eef3;border:0;border-radius:0}
.manage-shell .manage-settings{margin-left:auto;min-width:120px;border:0;position:static;padding:0;background:#fff;color:#4b1f3d}
.manage-shell .manage-settings summary{padding:16px 18px;font:600 14px/1.4 var(--sans);min-height:54px}.manage-shell .manage-settings[open]{width:100%;order:2}
.manage-shell .manage-settings nav{position:static;background:transparent;border:0;box-shadow:none;display:flex;flex-wrap:wrap;gap:8px;padding:8px 18px 16px}.manage-shell .manage-settings:not([open]) nav{display:none}
.manage-shell .manage-settings nav a{padding:8px 12px;color:#4b1f3d;background:#faf3f6}
.admin-task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.admin-task-grid article{padding:20px;background:#fff;border:1px solid var(--admin-line,#ddd0d6);display:flex;flex-direction:column;align-items:start}.admin-task-grid h2{margin:0 0 8px;font:600 17px/1.4 var(--sans);color:#4b1f3d}.admin-task-grid p{font-size:14px;line-height:1.65}.admin-task-grid .admin-task-owner{margin:0;color:#665b63;font-size:12px}.admin-task-grid a{margin-top:auto}
.manage-shell .manage-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.manage-shell :is(a,button,input,select,summary):focus-visible,.admin-topbar :is(a,button):focus-visible{outline:3px solid #d82c70;outline-offset:3px}
@media(max-width:1000px){.admin-task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manage-shell .manage-sidebar__module h2 a{padding:14px 12px}}
@media(max-width:600px){.admin-task-grid{grid-template-columns:1fr}.admin-topbar{padding:14px 18px}.admin-topbar nav{gap:12px}.manage-shell .manage-sidebar__module h2{flex:1 1 45%;min-width:0}.manage-shell .manage-sidebar__module h2 a{padding:12px}.manage-shell .manage-settings{flex:1 1 100%;margin:0}.manage-shell .manage-sidebar__module>nav{gap:8px;padding:8px 12px}.ritz-admin-workspace>main>.manage-shell{padding-top:20px}}
/* Retired dark-bar rules used stronger selectors; preserve contrast on white. */
.manage-shell:not(.portal-shell) .manage-sidebar .manage-sidebar__module h2 a{font:600 14px/1.4 var(--sans);letter-spacing:0;text-transform:none;color:#4b1f3d;background:transparent;border-radius:0}
.manage-shell:not(.portal-shell) .manage-sidebar .manage-sidebar__module h2 a.active{background:#faf3f6;border-left:0;border-bottom:3px solid var(--ritz-pink)}
.manage-shell:not(.portal-shell) .manage-sidebar .manage-settings summary{color:#4b1f3d;background:#fff}
.manage-shell.admin-dashboard .admin-task-grid h2{font:600 17px/1.4 var(--sans)!important;letter-spacing:0;text-transform:none;margin:0 0 8px}
.manage-shell.admin-dashboard .admin-priority-summary{margin:24px 0 32px}
.manage-shell.admin-dashboard .admin-priority-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}
.manage-shell.admin-dashboard .admin-priority-grid article{min-width:0;min-height:150px;padding:18px;border:1px solid var(--admin-line,#e6d9df);background:#fff;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px}
.manage-shell.admin-dashboard .admin-priority-grid strong{font:600 clamp(28px,4vw,42px)/1 var(--sans)!important;color:var(--admin-wine,#4b1f3d)}
.manage-shell.admin-dashboard .admin-priority-grid .manage-record-link{margin-top:auto}
@media(max-width:800px){.manage-shell.admin-dashboard .admin-priority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.manage-shell.admin-dashboard .admin-priority-grid{grid-template-columns:1fr}.manage-shell.admin-dashboard .admin-priority-grid article{min-height:128px}}
.manage-shell.admin-dashboard .admin-workflow-guides{display:grid;gap:16px;margin:24px 0 32px}
.manage-shell.admin-dashboard .admin-workflow-help{margin:0;padding:0;background:#fff;border:1px solid var(--admin-line,#ddd0d6)}
.manage-shell.admin-dashboard .admin-workflow-help>summary{padding:20px 24px;cursor:pointer;font:600 16px/1.5 var(--sans);color:var(--admin-wine,#4b1f3d)}
.manage-shell.admin-dashboard .admin-workflow-help>summary:focus-visible{outline:2px solid var(--ritz-pink,#f04f91);outline-offset:-3px}
.manage-shell.admin-dashboard .admin-workflow-help[open]>summary{border-bottom:1px solid var(--admin-line,#ddd0d6)}
.manage-shell.admin-dashboard .admin-workflow-help>p{margin:18px 24px;line-height:1.7}
.manage-shell.admin-dashboard .admin-workflow-help>.manage-heading-actions{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:12px;margin:0;padding:0 24px 4px}
.manage-shell.admin-dashboard .admin-workflow-help>.manage-heading-actions>a{margin:0;white-space:normal;text-align:center}
.manage-shell.admin-dashboard .admin-workflow-help>p:last-child{margin:16px 24px 24px}
@media(max-width:600px){.manage-shell.admin-dashboard .admin-workflow-guides{gap:12px;margin:20px 0 28px}.manage-shell.admin-dashboard .admin-workflow-help>summary{padding:18px}.manage-shell.admin-dashboard .admin-workflow-help>p{margin:16px 18px}.manage-shell.admin-dashboard .admin-workflow-help>.manage-heading-actions{padding:0 18px 4px}.manage-shell.admin-dashboard .admin-workflow-help>.manage-heading-actions>a{width:100%}.manage-shell.admin-dashboard .admin-workflow-help>p:last-child{margin:16px 18px 18px}}
.manage-shell .manage-table .manage-actions :is(.manage-primary,.manage-secondary){min-height:36px;padding:8px 12px;font:600 12px/1.4 var(--sans);letter-spacing:.02em}
@media(min-width:841px){.manage-shell .manage-table td.manage-actions{display:table-cell;vertical-align:middle}.manage-shell .manage-table td.manage-actions>a{margin:3px 6px 3px 0}}
.manage-shell .class-workflow-guide ol{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;padding:0;list-style:none;counter-reset:class-step}
.manage-shell .class-workflow-guide li{counter-increment:class-step;display:flex;flex-direction:column;align-items:flex-start;border-top:2px solid #f04f91;padding-top:14px;min-width:0}
.manage-shell .class-workflow-guide li strong{font-family:Arial,sans-serif;font-size:16px;color:#4b1f3d}
.manage-shell .class-workflow-guide li strong:before{content:counter(class-step) ". ";font-variant-numeric:tabular-nums}
.manage-shell .class-workflow-guide li p{font-size:14px;line-height:1.6;flex:1}
.manage-shell .class-workflow-guide li a{font-size:12px;white-space:normal;text-align:center}
@media(max-width:1000px){.manage-shell .class-workflow-guide ol{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.manage-shell .class-workflow-guide ol{grid-template-columns:1fr}}
/* Phone workspaces remain a compact top menu, not a full-height sidebar. */
body.ritz-admin-workspace>main{padding-top:0}
body.ritz-parent-workspace>main{padding-top:0}
.ritz-parent-workspace>main>.manage-shell{padding-top:28px}
.ritz-parent-workspace .manage-heading h1{font-size:clamp(32px,4vw,48px);line-height:1.12}
.manage-shell .manage-parent-nav .manage-sidebar__modules{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));align-items:stretch}
.manage-shell .manage-parent-nav .manage-sidebar__module h2{min-width:0;margin:0!important}
.manage-shell .manage-parent-nav .manage-sidebar__module h2 a{height:100%;min-height:48px;box-sizing:border-box;display:flex;align-items:center;border-left:0;border-radius:0;padding:12px 14px;font:600 14px/1.35 var(--sans,'DM Sans',Arial,sans-serif);letter-spacing:0;text-transform:none;color:#4b1f3d}
.manage-shell .manage-parent-nav .manage-sidebar__module h2 a:hover{background:#faf3f6;color:#4b1f3d}
.ritz-parent-workspace .portal-summary{border:1px solid var(--admin-line,#ddd0d6);box-shadow:none}
.ritz-parent-workspace .parent-profile-workspace .account-profile-page{padding:0;background:none}
.ritz-parent-workspace .parent-profile-workspace .account-profile-layout{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:20px}
.ritz-parent-workspace .parent-profile-workspace .account-profile-intro{padding:0}
.ritz-parent-workspace .parent-profile-workspace .account-profile-note{margin:0}
.ritz-parent-workspace .parent-profile-workspace .account-profile-card{border:1px solid var(--admin-line,#ddd0d6);box-shadow:none}
@media(max-width:680px){
 .ritz-parent-workspace>main>.manage-shell{padding-top:20px}
 .manage-shell .manage-parent-nav .manage-sidebar__modules{grid-template-columns:repeat(2,minmax(0,1fr))}
 .manage-shell .manage-parent-nav .manage-sidebar__module h2 a{padding:10px 12px;font-size:13px}
 .ritz-parent-workspace .parent-profile-workspace .account-profile-layout{grid-template-columns:minmax(0,1fr)}
 .ritz-parent-workspace .admin-topbar{gap:8px;padding:8px 14px}
 .ritz-parent-workspace .admin-topbar__brand{gap:8px}
 .ritz-parent-workspace .admin-topbar nav{gap:10px;font-size:12px}
}
@media(max-width:600px){
 .manage-shell:not(.portal-shell) .manage-sidebar .manage-sidebar__modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 .manage-shell:not(.portal-shell) .manage-sidebar .manage-sidebar__module{display:contents}
 .manage-shell:not(.portal-shell) .manage-sidebar .manage-sidebar__module h2{width:auto;min-width:0;margin:0}
 .manage-shell:not(.portal-shell) .manage-sidebar .manage-sidebar__module h2 a{height:100%;min-height:48px;padding:12px;font-size:12px;display:flex;align-items:center;box-sizing:border-box}
 .manage-shell:not(.portal-shell) .manage-sidebar .manage-sidebar__module>nav{grid-column:1/-1;order:3}
 .manage-shell:not(.portal-shell) .manage-sidebar .manage-settings{width:auto;min-width:0;margin:0;align-self:stretch;grid-column:auto;order:0}
 .manage-shell:not(.portal-shell) .manage-sidebar .manage-settings summary{font-size:12px;min-height:48px;padding:12px}
 .manage-shell:not(.portal-shell) .manage-sidebar .manage-settings[open]{grid-column:1/-1;width:100%;order:2}
}
.manage-shell.manage-progression:not(.portal-shell) .manage-related{margin-top:20px}
.manage-shell.manage-progression:not(.portal-shell) .manage-form{padding:20px}
.manage-shell.manage-progression:not(.portal-shell) .progression-due-form .manage-form-grid{grid-template-columns:minmax(160px,320px) auto;align-items:end}
.manage-shell.manage-progression:not(.portal-shell) .progression-due-form .manage-form-actions{margin:0}
.manage-shell.manage-progression:not(.portal-shell) .progression-confirmation{display:flex;align-items:flex-start;gap:12px;min-height:44px;padding:12px 0;font-size:14px;line-height:1.6;font-weight:400;text-transform:none;letter-spacing:0;cursor:pointer}
.ritz-admin-workspace .manage-shell .manage-withdrawal-confirmation{display:flex;align-items:center;gap:12px;min-height:44px;font-size:14px;line-height:1.6;font-weight:400;text-transform:none;letter-spacing:0;cursor:pointer}
.ritz-admin-workspace .manage-shell .manage-withdrawal-confirmation input[type=checkbox]{flex:0 0 24px;width:24px;height:24px;min-height:24px;margin:0;accent-color:#4b203e}
.ritz-admin-workspace .manage-shell:not(.portal-shell) .manage-form label.manage-withdrawal-confirmation{font-size:14px!important;letter-spacing:0!important;line-height:1.6;font-weight:400;text-transform:none}
.ritz-admin-workspace .late-fee-summary dd{overflow-wrap:anywhere;font-size:28px;line-height:1.35}
.ritz-admin-workspace .late-fee-summary .late-fee-reference{font-size:16px;line-height:1.6}
.manage-shell.manage-progression:not(.portal-shell) .progression-confirmation input{flex:0 0 24px;width:24px;height:24px;min-height:24px;margin:0;accent-color:#4b1f3d;cursor:pointer}
.manage-shell.manage-progression:not(.portal-shell) .manage-form-actions{flex-wrap:wrap}
.manage-shell.manage-progression .progression-correction__effects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}
.manage-shell.manage-progression .progression-correction__effects article{min-width:0;padding:20px;border:1px solid #eadfe2;background:#fbf6f7}
.manage-shell.manage-progression .progression-correction__effects h3{margin:6px 0 10px;font-family:var(--sans,'DM Sans',Arial,sans-serif);font-size:18px;line-height:1.35;color:#4b1f3d}
.manage-shell.manage-progression .progression-correction__effects strong{display:block;margin:6px 0 10px;font-family:var(--sans,'DM Sans',Arial,sans-serif);font-size:26px;line-height:1.2;color:#4b1f3d;font-variant-numeric:tabular-nums}
.manage-shell.manage-progression .progression-correction__effects p{margin:0;color:#5f555b;font-size:14px;line-height:1.65}
.manage-shell.manage-progression .progression-correction__hold{margin:20px 0;padding:20px;border-left:4px solid #bd6a45;background:#fff6ee}
.manage-shell.manage-progression .progression-correction__hold h3{margin:5px 0 10px;font-family:var(--sans,'DM Sans',Arial,sans-serif);font-size:20px;color:#4b1f3d}
.manage-shell.manage-progression .progression-correction__hold ul{margin:0;padding-left:20px}
.manage-shell.manage-progression .progression-dependency-queue{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.2fr);gap:24px;margin:20px 0;padding:20px;border:1px solid #eadfe2;background:#fff}
.manage-shell.manage-progression .progression-dependency-queue h4{margin:5px 0 8px;font-family:var(--sans,'DM Sans',Arial,sans-serif);font-size:20px;line-height:1.35;color:#4b1f3d}
.manage-shell.manage-progression .progression-dependency-queue p{margin:0;color:#6e626a;font-size:14px;line-height:1.6}
.manage-shell.manage-progression .progression-dependency-queue ol{display:grid;gap:10px;margin:0;padding:0;list-style:none;counter-reset:progression-dependency}
.manage-shell.manage-progression .progression-dependency-queue li{counter-increment:progression-dependency;display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;padding:12px 14px;border:1px solid #eadfe2;background:#fbf6f7}
.manage-shell.manage-progression .progression-dependency-queue li>div{display:grid;grid-template-columns:28px minmax(0,1fr);gap:2px 10px;min-width:0}
.manage-shell.manage-progression .progression-dependency-queue li>div:before{content:counter(progression-dependency);grid-row:1/3;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#4b1f3d;color:#fff;font:700 13px/1 var(--sans,'DM Sans',Arial,sans-serif)}
.manage-shell.manage-progression .progression-dependency-queue strong,.manage-shell.manage-progression .progression-dependency-queue span{grid-column:2;overflow-wrap:anywhere}
.manage-shell.manage-progression .progression-dependency-queue span{font-size:13px;color:#6e626a}
.manage-shell.manage-progression .progression-dependency-queue .manage-secondary{flex:0 0 auto;min-height:42px;padding:11px 14px}
.manage-shell.manage-progression .progression-correction__form{margin-top:20px}
.manage-shell.manage-progression .progression-confirmation span{display:grid;gap:2px}
.manage-shell.manage-progression .progression-confirmation strong{font-size:15px;color:#4b1f3d}
.manage-shell.manage-progression .progression-confirmation small{font-size:13px;line-height:1.55;color:#6e626a}
.manage-shell.manage-progression .progression-correction__history{margin-top:20px;padding:16px 18px;border-top:1px solid #eadfe2}
.manage-shell.manage-progression .progression-correction__history summary{cursor:pointer;font-weight:700;color:#4b1f3d}
.manage-shell.manage-progression .progression-deposit-review{margin:24px 0;padding:20px;border:1px solid #eadfe2;background:#fff}
.manage-shell.manage-progression .progression-discount-review{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:16px;margin:20px 0;padding:16px;border:1px solid #eadfe2;background:#fbf6f7}
.manage-shell.manage-progression .progression-discount-review dt{font-size:13px;line-height:1.5;color:#6e626a}
.manage-shell.manage-progression .progression-discount-review dd{margin:6px 0 0;font-size:22px;line-height:1.4;color:#4b1f3d;font-variant-numeric:tabular-nums}
.manage-shell.manage-progression .progression-deposit-review h3{margin:0 0 16px;font-size:24px}
.manage-shell.manage-progression .progression-deposit-review dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
.manage-shell.manage-progression .progression-deposit-review dl>div{min-width:0;padding:12px;background:#fbf6f7}
.manage-shell.manage-progression .progression-deposit-review dt{font-size:12px;line-height:1.5;color:#6e626a}
.manage-shell.manage-progression .progression-deposit-review dd{margin:6px 0 0;font-size:24px;line-height:1.3;font-variant-numeric:tabular-nums;color:#4b1f3d}
.manage-shell.manage-progression .progression-deposit-review p{margin:16px 0 0;font-size:13px;line-height:1.6}
.location-cost-page .manage-status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0 22px}
.location-cost-page .manage-status-card{min-width:0;padding:18px;border:1px solid #eadfe2;background:#fff}
.location-cost-page .manage-status-card__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;color:#4b1f3d}
.location-cost-page .manage-status-card__heading strong{font-size:14px;line-height:1.45}
.location-cost-page .manage-status-card__heading span{font-size:18px;font-weight:600}
.location-cost-page .manage-status-card p{margin:12px 0 0;font-size:13px;line-height:1.55;color:#6e626a}
.location-cost-page .manage-progress{height:7px;margin-top:12px;overflow:hidden;background:#f1e8eb}
.location-cost-page .manage-progress span{display:block;height:100%;background:#e84f87}
@media(max-width:760px){.location-cost-page .manage-status-grid{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.location-cost-page .manage-status-grid{grid-template-columns:1fr}.location-cost-page .manage-status-card{padding:16px}}
@media(max-width:600px){.manage-shell.manage-progression .progression-deposit-review dl{grid-template-columns:1fr}}
@media(max-width:600px){.manage-shell.manage-progression:not(.portal-shell) .progression-due-form .manage-form-grid{grid-template-columns:1fr}}
@media(max-width:760px){.manage-shell.manage-progression .progression-correction__effects{grid-template-columns:1fr}.manage-shell.manage-progression .progression-correction__effects article{padding:16px}}
@media(max-width:760px){.manage-shell.manage-progression .progression-dependency-queue{grid-template-columns:1fr;padding:16px}.manage-shell.manage-progression .progression-dependency-queue li{align-items:stretch;flex-direction:column}.manage-shell.manage-progression .progression-dependency-queue .manage-secondary{width:100%;box-sizing:border-box;text-align:center}}
/* Operational payroll stays compact; public/editorial typography is unchanged. */
.manage-shell.manage-payroll-workspace .manage-heading h1{font-size:clamp(28px,3vw,40px);line-height:1.15;margin-bottom:12px}
.manage-shell.manage-payroll-workspace .manage-detail{padding:20px;margin-top:18px}
.manage-shell.manage-payroll-workspace .manage-detail h2{font-size:28px;margin-bottom:16px}
.manage-shell.manage-payroll-workspace .manage-form{padding:20px}
.manage-shell.manage-payroll-workspace .manage-payroll-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:0 0 16px}
.manage-shell.manage-payroll-workspace .manage-payroll-totals>div{padding:14px;background:#faf6f8;border:1px solid #e3d8df;min-width:0}
.manage-shell.manage-payroll-workspace .manage-payroll-totals dt{font:600 11px/1.4 Arial,sans-serif;text-transform:uppercase;letter-spacing:.06em;margin-bottom:8px}
.manage-shell.manage-payroll-workspace .manage-payroll-totals dd{font-size:clamp(20px,2.1vw,28px);line-height:1.3;margin:0;overflow-wrap:anywhere}
@media(max-width:600px){.manage-shell.manage-payroll-workspace .manage-payroll-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.manage-shell.manage-payroll-workspace .manage-payroll-totals>div{padding:10px}.manage-shell.manage-payroll-workspace .manage-payroll-totals>div:last-child{grid-column:1/-1}.manage-shell.manage-payroll-workspace .manage-detail,.manage-shell.manage-payroll-workspace .manage-form{padding:16px}}
.manage-shell:not(.portal-shell) .manage-form.manage-term-workflow{padding:0;background:transparent;border:0;box-shadow:none}
.manage-shell:not(.portal-shell) .manage-term-workflow>.manage-related{margin-top:24px;padding:24px;background:#fff;border:1px solid var(--admin-border,#eadfe2)}
.manage-shell:not(.portal-shell) .manage-term-workflow>.manage-related h2{margin:0 0 14px;font-family:inherit;font-size:24px;line-height:1.3;font-weight:600}
.manage-shell.studio-planning-page:not(.portal-shell) .manage-related{margin-top:22px}
.manage-shell.studio-planning-page:not(.portal-shell) .manage-related h2{margin:0 0 12px;font-family:inherit;font-size:22px;line-height:1.3;font-weight:600}
.studio-planning-page .manage-form{padding:24px}.studio-planning-page .manage-field{min-width:0}.studio-planning-page .manage-field small{display:block;margin-top:6px;font-size:12px;line-height:1.5;color:var(--admin-muted,#6e626a)}
.studio-planning-page [data-planning-monthly]{margin-top:20px}.studio-planning-page summary{cursor:pointer}.studio-planning-page [data-planning-monthly][open] summary{margin-bottom:18px}
/* Pay preview: operational names and amounts stay readable, not display typography. */
.manage-shell.pay-preview-page .pay-preview-agreement{display:block;--admin-heading-font:var(--sans,'DM Sans',Arial,sans-serif)}
.manage-shell.pay-preview-page .pay-preview-agreement .pay-preview-agreement__name{margin:7px 0 18px;font:600 20px/1.4 var(--sans,'DM Sans',Arial,sans-serif);color:var(--admin-wine,#4b1f3d);overflow-wrap:anywhere;letter-spacing:0}
.manage-shell.pay-preview-page .pay-preview-agreement dl{grid-template-columns:minmax(0,1.4fr) minmax(0,1.2fr) minmax(75px,.4fr) minmax(60px,.3fr);padding-top:16px;border-top:1px solid var(--admin-border,#eadfe2);gap:18px 24px}
.manage-shell.pay-preview-page .pay-preview-agreement dd{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
.manage-shell.pay-preview-page .pay-preview-result{display:grid;grid-template-columns:minmax(180px,max-content) minmax(0,1fr);align-items:start;gap:20px 32px;border-left:4px solid var(--ritz-pink)!important}
.manage-shell.pay-preview-page .pay-preview-result__amount{margin:10px 0 0;color:var(--admin-wine,#4b1f3d);font:600 clamp(30px,3vw,40px)/1.15 Arial,Helvetica,sans-serif;letter-spacing:-.02em;font-variant-numeric:lining-nums tabular-nums;white-space:nowrap}
.manage-shell.pay-preview-page .pay-preview-result__copy{min-width:0}
.manage-shell.pay-preview-page .pay-preview-result__copy p{margin:0 0 12px;max-width:none;font-size:14px;line-height:1.6;color:var(--admin-muted,#74676f)}
.manage-shell.pay-preview-page .pay-preview-result__copy p:last-child{margin-bottom:0}
@media(max-width:900px){.manage-shell.pay-preview-page .pay-preview-agreement dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){.manage-shell.pay-preview-page .pay-preview-result{grid-template-columns:minmax(0,1fr);gap:18px}}
@media(max-width:600px){.manage-shell.pay-preview-page .pay-preview-result{grid-template-columns:minmax(0,1fr);gap:18px}.manage-shell.pay-preview-page .pay-preview-agreement .pay-preview-agreement__name{font-size:18px}.manage-shell.pay-preview-page .pay-preview-agreement dl{gap:16px}}
@media(max-width:380px){.manage-shell.pay-preview-page .pay-preview-agreement dl{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.admin-topbar{padding:8px 16px;gap:12px}.admin-topbar__brand{gap:8px}.admin-topbar__wordmark{font-size:28px}.admin-topbar__context{font-size:9px}.admin-topbar nav{gap:12px;font-size:12px}}
/* Pause audit stays secondary to the review form, with readable operational data. */
.manage-form .pause-lesson-check{display:flex;align-items:center;gap:12px;box-sizing:border-box;min-height:48px;padding:8px 12px;margin:0;cursor:pointer;text-transform:none;letter-spacing:normal;font:500 16px/1.4 var(--sans,'DM Sans',Arial,sans-serif);color:#4b1f3d}
.ritz-admin-workspace .manage-shell:not(.portal-shell) .manage-form input[type=checkbox],.manage-form .pause-lesson-check input[type=checkbox],.manage-form .manage-checkbox-label input[type=checkbox],.manage-form .manage-check input[type=checkbox]{appearance:auto;width:24px;height:24px;min-width:24px;flex:0 0 24px;margin:0;accent-color:#4b1f3d;cursor:pointer}
.manage-shell:not(.portal-shell) .manage-form .manage-checkbox-label,.manage-shell:not(.portal-shell) .manage-form .manage-check{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:12px 0;cursor:pointer;line-height:1.6;font-size:14px;letter-spacing:normal;text-transform:none}
.manage-form .pause-lesson-check>span{font:inherit;letter-spacing:normal;text-transform:none}
.manage-form .pause-lesson-check .admin-number{font-size:inherit;letter-spacing:normal}
.manage-shell:not(.portal-shell) .manage-form label.pause-lesson-check{font:500 16px/1.4 var(--sans,'DM Sans',Arial,sans-serif);letter-spacing:normal;text-transform:none}
.manage-table:has(.pause-lesson-check){min-width:0;width:100%}
.manage-form .pause-lesson-check:hover,.manage-form .pause-lesson-check:has(input:checked){background:#fff0f5}
.manage-form .pause-lesson-check:focus-within{outline:2px solid var(--ritz-pink,#f05b8b);outline-offset:2px}
.manage-form .pause-lesson-check:has(input:disabled){cursor:not-allowed;background:#f7f3f4;color:#70646b}
.manage-form .pause-lesson-check input:disabled{cursor:not-allowed}
.manage-shell:not(.portal-shell) .manage-form .pause-availability{display:block;margin-top:4px;max-width:30ch;font:400 14px/1.5 var(--sans,'DM Sans',Arial,sans-serif);color:#655760}

/* Mid-term transfer: one readable admin journey instead of disconnected forms. */
.transfer-workflow__intro{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.transfer-workflow__intro h2,.transfer-workflow__current h2,.transfer-workflow__result h2{margin:4px 0 8px}
.transfer-workflow__steps{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:1px;margin:24px 0;padding:0;list-style:none;background:#eadfe3;border:1px solid #eadfe3}
.transfer-workflow__steps li{display:grid;grid-template-columns:32px minmax(0,1fr);align-items:center;gap:10px;min-height:76px;padding:12px;background:#fff;color:#786a72}
.transfer-workflow__steps li span{display:grid;place-items:center;width:30px;height:30px;border:1px solid #cdbdc4;border-radius:50%;font:700 13px/1 var(--sans,'DM Sans',Arial,sans-serif)}
.transfer-workflow__steps li strong{font:700 11px/1.35 var(--sans,'DM Sans',Arial,sans-serif);letter-spacing:.05em;text-transform:uppercase}
.transfer-workflow__steps li.is-complete{background:#edf7f0;color:#22613c}.transfer-workflow__steps li.is-complete span{border-color:#70b486;background:#70b486;color:#fff}
.transfer-workflow__steps li.is-current{background:#fff0f5;color:#4b1f3d;box-shadow:inset 0 -3px 0 var(--ritz-pink,#f05b8b)}.transfer-workflow__steps li.is-current span{border-color:var(--ritz-pink,#f05b8b);background:var(--ritz-pink,#f05b8b);color:#fff}
.transfer-workflow__current{border-left:4px solid var(--ritz-pink,#f05b8b)}
.transfer-workflow__review{margin-top:24px;padding-top:20px;border-top:1px solid #eadfe3}
.transfer-workflow__totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:20px 0;background:#eadfe3;border:1px solid #eadfe3}
.transfer-workflow__totals>div{min-width:0;padding:16px;background:#fff}.transfer-workflow__totals dt{margin:0 0 8px;font:700 11px/1.3 var(--sans,'DM Sans',Arial,sans-serif);letter-spacing:.08em;text-transform:uppercase;color:#786a72}.transfer-workflow__totals dd{margin:0;font:600 18px/1.35 var(--sans,'DM Sans',Arial,sans-serif);color:#4b1f3d;overflow-wrap:anywhere}
.transfer-workflow__current>.manage-form,.transfer-workflow__review>.manage-form,.transfer-workflow__cancel>.manage-form{margin-top:20px;padding:20px;background:#fff;border:1px solid #eadfe3;box-shadow:none}
.transfer-workflow__cancel{margin-top:24px}.transfer-workflow__cancel[open]>summary{margin-bottom:16px}
@media(max-width:900px){.transfer-workflow__steps{grid-template-columns:repeat(2,minmax(0,1fr))}.transfer-workflow__steps li:last-child{grid-column:1/-1}.transfer-workflow__totals{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.transfer-workflow__intro{display:grid}.transfer-workflow__steps{grid-template-columns:1fr}.transfer-workflow__steps li:last-child{grid-column:auto}.transfer-workflow__totals{grid-template-columns:1fr}.transfer-workflow__current>.manage-form,.transfer-workflow__review>.manage-form,.transfer-workflow__cancel>.manage-form{padding:16px}}
.manage-credit-allocation .manage-table{min-width:0;table-layout:fixed;width:100%}
.manage-credit-allocation .manage-table input{min-width:0;max-width:100%;box-sizing:border-box}
.manage-credit-allocation .manage-table td{overflow-wrap:anywhere}
.manage-history-accordion{padding:20px 24px;border:1px solid #e6d9df;background:#fff}
.manage-history-accordion>summary{display:flex;align-items:center;gap:10px;min-height:44px;cursor:pointer;font:600 18px/1.4 var(--sans,'DM Sans',Arial,sans-serif);color:var(--plum,#4b1e3d);list-style:none}
.manage-history-accordion>summary::-webkit-details-marker{display:none}
.manage-history-accordion>summary::after{content:'+';margin-left:auto;color:var(--ritz-pink,#f05b8b)}
.manage-history-accordion[open]>summary::after{content:'−'}
.manage-history-accordion>summary:focus-visible{outline:2px solid var(--ritz-pink,#f05b8b);outline-offset:4px}
.manage-pause-history{padding:24px;border:1px solid #e6d9df;background:#fff}
.manage-pause-history h2{margin:8px 0 12px}
.manage-pause-history .manage-table td{padding:14px 18px;vertical-align:top}
.manage-pause-history__details summary{min-height:44px;display:flex;align-items:center;cursor:pointer;color:var(--plum,#4b1e3d);font:600 14px/1.5 var(--sans,'DM Sans',Arial,sans-serif)}
.manage-pause-history__details summary::before{content:'+';margin-right:8px;color:var(--ritz-pink,#f05b8b)}
.manage-pause-history__details[open] summary::before{content:'−'}
.manage-pause-history__details p{margin:8px 0 0;overflow-wrap:anywhere;font-size:14px}
.manage-pause-history__details summary:focus-visible{outline:2px solid var(--ritz-pink,#f05b8b);outline-offset:3px}
@media(max-width:600px){.manage-pause-history{padding:18px}.manage-pause-history .manage-table td{padding:10px 12px}}
.manage-fund-audit>summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;list-style:none;font:600 14px/1.5 var(--sans,'DM Sans',Arial,sans-serif);color:var(--plum,#4b1e3d)}
.manage-fund-audit>summary::-webkit-details-marker{display:none}
.manage-fund-audit>summary::before{content:'+';color:var(--ritz-pink,#f05b8b)}
.manage-fund-audit[open]>summary::before{content:'−'}
.manage-tuition-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0}
.manage-tuition-totals>div{min-width:0;background:#fff;border:1px solid #e5d6df;padding:20px}
.manage-tuition-totals dt{font:600 11px/1.5 var(--sans,'DM Sans',Arial,sans-serif);letter-spacing:.08em;text-transform:uppercase;color:#74676f}
.manage-tuition-totals dd{margin:8px 0 0;font:500 24px/1.3 var(--sans,'DM Sans',Arial,sans-serif);font-variant-numeric:tabular-nums;color:#49203f;overflow-wrap:anywhere}
.manage-tuition-totals>div:last-child{border-top:3px solid var(--ritz-pink,#f05b8b)}
#discount-save-held{padding:16px 20px;border-left:3px solid var(--ritz-pink,#f05b8b);background:#fff;margin:20px 0}
@media(max-width:600px){.manage-tuition-totals{grid-template-columns:1fr;gap:10px}.manage-tuition-totals>div{padding:16px}}
.manage-fund-audit>summary:focus-visible{outline:2px solid var(--ritz-pink,#f05b8b);outline-offset:3px}
.manage-fund-audit>p,.manage-fund-note{max-width:48ch;margin:6px 0;overflow-wrap:anywhere;white-space:normal;font:400 14px/1.6 var(--sans,'DM Sans',Arial,sans-serif)}
#student-funds.manage-detail{padding:24px}
#student-funds td[data-label="Amount"],#student-funds td[data-label="Recorded balance"]{font-family:var(--sans,'DM Sans',Arial,sans-serif);font-variant-numeric:tabular-nums;white-space:nowrap}
@media(min-width:601px){
 #student-funds .manage-fund-history{table-layout:fixed;width:100%;min-width:0}
 #student-funds .manage-fund-history th:nth-child(1){width:15%}
 #student-funds .manage-fund-history th:nth-child(2){width:12%}
 #student-funds .manage-fund-history th:nth-child(3){width:25%}
 #student-funds .manage-fund-history th:nth-child(4){width:15%}
 #student-funds .manage-fund-history th:nth-child(5){width:33%}
 #student-funds td[data-label="Date"]{white-space:nowrap}
}
@media(max-width:600px){
 #student-funds .manage-fund-balances{display:table;table-layout:fixed;width:100%;min-width:0}
 #student-funds .manage-fund-balances thead{display:table-header-group}
 #student-funds .manage-fund-balances tbody{display:table-row-group}
 #student-funds .manage-fund-balances tr{display:table-row}
 #student-funds .manage-fund-balances :is(th,td){display:table-cell;width:auto;padding:12px 8px;vertical-align:middle}
 #student-funds .manage-fund-balances th{font-size:10px;letter-spacing:.4px}
 #student-funds .manage-fund-balances td{font-size:14px}
 #student-funds .manage-fund-history tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 #student-funds .manage-fund-history td:last-child{grid-column:1/-1}
 #student-funds .manage-fund-history td{min-width:0;overflow-wrap:anywhere}
}
.enquiry-page .manage-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.enquiry-page fieldset{min-width:0;border:0;padding:0;margin:0}
.enquiry-page legend{font-size:1.25rem;font-weight:600;margin-bottom:24px}
.enquiry-page .form-group{margin-bottom:20px}
.enquiry-page .manage-related>summary{cursor:pointer;font-weight:600;padding:12px 0}
.enquiry-messages>.manage-related{padding:24px;margin-top:24px;background:#fff;border:1px solid var(--admin-line,#e6d9df);min-width:0}
.enquiry-messages .manage-related h2{font-size:24px;line-height:1.4;margin:0 0 20px}
.enquiry-messages p,.enquiry-messages li{overflow-wrap:anywhere}
.enquiry-messages details{margin:16px 0;border-top:1px solid var(--admin-line,#e6d9df)}
.enquiry-messages details>summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:600}
.enquiry-messages details[open]{padding-bottom:16px}
.manage-shell.enquiry-messages:not(.portal-shell) label.enquiry-option-check{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:12px 0;font-size:14px;font-weight:400;line-height:1.6;text-transform:none;letter-spacing:normal;cursor:pointer}
.enquiry-messages .enquiry-option-check input[type="checkbox"]{width:22px;height:22px;min-width:22px;flex:0 0 22px;margin:0;accent-color:#4b1f3d}
.enquiry-messages .enquiry-option-check input:focus-visible{outline:2px solid #4b1f3d;outline-offset:3px}
.enquiry-messages .manage-actions{margin-top:16px}
@media(max-width:600px){.enquiry-messages>.manage-related{padding:16px}.enquiry-messages .manage-form{padding:16px}}
.manage-shell.enquiry-admissions .manage-related{padding:24px;margin-top:24px;background:#fff;border:1px solid var(--admin-line,#e6d9df);min-width:0}
.enquiry-admissions .manage-related h2{font-size:22px;line-height:1.4;margin:0 0 16px;overflow-wrap:anywhere}
.manage-shell.enquiry-admissions .manage-form,.manage-shell.enquiry-admissions .manage-filter{padding:0;border:0;box-shadow:none;margin-top:20px}
.enquiry-admissions .manage-form{display:grid;gap:16px}
.enquiry-admissions .manage-form>label{margin:0}
.enquiry-admissions .manage-form :is(select,textarea){width:100%;max-width:100%;box-sizing:border-box}
.enquiry-admissions details>summary{min-height:44px;padding:12px 0;cursor:pointer;overflow-wrap:anywhere;font-weight:600}
.enquiry-admissions details[open]{padding-bottom:20px}
.enquiry-admissions p{overflow-wrap:anywhere}
.enquiry-admissions .manage-pagination{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:20px}
.enquiry-admissions .manage-pagination a{display:inline-flex;min-height:44px;align-items:center}
@media(max-width:600px){.enquiry-page .manage-form-grid{grid-template-columns:minmax(0,1fr)}}
.enquiry-options .manage-checkbox-label { display: flex; gap: 12px; align-items: center; min-height: 44px; padding: 8px 0; }
.enquiry-options input[type="checkbox"] { width: 22px; height: 22px; flex: 0 0 22px; accent-color: #4b203f; }
.enquiry-option-swatch { border-left: 4px solid; padding-left: 12px; color: #302331; }
.manage-shell:not(.portal-shell) .manage-filter.enquiry-filter { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
.manage-shell:not(.portal-shell) .enquiry-filter .manage-calendar-filter-actions { grid-column: 1 / -1; justify-content: flex-end; }
@media (max-width: 1000px) { .manage-shell:not(.portal-shell) .manage-filter.enquiry-filter { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 600px) { .manage-shell:not(.portal-shell) .manage-filter.enquiry-filter { grid-template-columns: 1fr; } }
.admin-replacement-readiness .manage-status-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:20px 0}
.admin-replacement-readiness .manage-status-grid article{min-width:0;padding:18px;border:1px solid var(--admin-line,#e6d9df);background:#fff;display:grid;gap:6px}
.admin-replacement-readiness .manage-status-grid strong{font:600 28px/1.15 var(--sans,'DM Sans',Arial,sans-serif);font-variant-numeric:tabular-nums;color:var(--plum,#4b1e3d)}
.admin-replacement-readiness .manage-status-grid article>span:last-child{font-size:14px;color:#675c64;overflow-wrap:anywhere}
.admin-replacement-readiness .manage-list-actions{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0}
.admin-replacement-readiness .manage-list-actions a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid var(--admin-line,#e6d9df);background:#fff}
@media(max-width:800px){.admin-replacement-readiness .manage-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.admin-replacement-readiness .manage-status-grid{grid-template-columns:1fr}}

/* Shared record details: compact status header, cards and labelled facts. */
.admin-record-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 14px;margin-top:12px;color:#675c64}
.admin-record-meta .admin-number{color:var(--admin-wine,#4b1e3d)}
.admin-record-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;margin:24px 0}
.admin-record-grid>.admin-record-card{min-width:0;margin:0;padding:clamp(18px,3vw,32px);overflow-wrap:anywhere}
.admin-record-card h2{margin:6px 0 18px}
.admin-record-card h3{margin:20px 0 8px}
.admin-record-facts{margin:0}
.admin-record-facts>div{display:grid;grid-template-columns:minmax(96px,32%) minmax(0,1fr);gap:12px;padding:12px 0;border-top:1px solid var(--admin-line,#e6d9df)}
.admin-record-facts dt{color:#675c64;font-weight:600}
.admin-record-facts dd{min-width:0;margin:0;overflow-wrap:anywhere}
.booking-confirmation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.booking-confirmation-grid article{display:grid;gap:4px;min-width:0;padding:14px;border:1px solid var(--admin-line,#e6d9df);overflow-wrap:anywhere}
.booking-confirmation-grid article span,.booking-confirmation-grid article small{color:#675c64}
.booking-management .booking-status-payment_review{background:#fbefd9;color:#654b1c}
@media(max-width:760px){.admin-record-grid,.booking-confirmation-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:440px){.admin-record-facts>div{grid-template-columns:minmax(0,1fr);gap:4px}}

/* Keep the holiday filter, native date input and mobile rows within the workspace. */
@media(max-width:767px){
 .manage-shell.manage-holidays:not(.portal-shell) .manage-filter{grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px}
 .manage-shell.manage-holidays:not(.portal-shell) .manage-filter label{min-width:0}
 .manage-shell.manage-holidays:not(.portal-shell) .manage-filter label:first-of-type{grid-column:auto}
 .manage-shell.manage-holidays:not(.portal-shell) .manage-filter input{width:100%;min-width:0}
 /* Native iOS date controls can otherwise impose their intrinsic width on the form. */
 .manage-shell.manage-holidays:not(.portal-shell) .manage-form-grid{grid-template-columns:minmax(0,1fr)}
 .manage-holidays .manage-form-grid>label{min-width:0}
 .manage-holidays .manage-form-grid input[type=date]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;text-align:left}
 .manage-holidays .manage-form-grid input[type=date]::-webkit-date-and-time-value{text-align:left}
 .manage-shell.manage-holidays:not(.portal-shell) .manage-table.manage-admin-responsive tbody{gap:12px}
 .manage-shell.manage-holidays:not(.portal-shell) .manage-table.manage-admin-responsive td{grid-template-columns:minmax(0,32%) minmax(0,1fr);align-items:center;gap:10px;padding:8px 12px}
 .manage-shell.manage-holidays:not(.portal-shell) .manage-table.manage-admin-responsive td .manage-secondary{justify-self:start;min-height:44px}
 .manage-shell.manage-holidays:not(.portal-shell) .manage-pagination .pagination{flex-wrap:wrap}
 .manage-holidays #holiday-editor{scroll-margin-top:80px}
}
