/* Consolidated administrator theme, loaded after legacy styles. */
/* The shared dialog is outside #main, so its palette follows the active role. */
dialog[data-panel-role664="admin"]{--dialog-navy664:#173c60;--dialog-blue664:#245d9c;--dialog-light664:#edf1f6;color:#173c60;background:#fff;border-color:#cbd9e8;border-radius:5px;font-family:"RL67 UI",Arial,sans-serif}
dialog[data-panel-role664="admin"] #dialog-body header{background:var(--dialog-navy664)!important;color:#fff!important;border-color:var(--dialog-navy664)!important;gap:12px}
dialog[data-panel-role664="admin"] #dialog-body header :is(h2,h3){color:#fff!important;font-family:inherit;font-size:16px!important;font-weight:600!important;line-height:1.5;letter-spacing:.2px}
dialog[data-panel-role664="admin"] #dialog-body header>svg{width:22px;height:22px;flex:0 0 22px;stroke:currentColor!important;color:#fff!important}
dialog[data-panel-role664="admin"] #dialog-body header>button{color:#fff!important;background:transparent!important;border:0!important;min-width:32px;min-height:32px}
dialog[data-panel-role664="admin"] #dialog-body header p{color:#e3edf8!important}
dialog[data-panel-role664="admin"] :is(input,select,textarea,button){font-family:inherit}
dialog[data-panel-role664="admin"] label{font-size:14px;line-height:1.5;color:#173c60}
dialog[data-panel-role664="admin"] input:not([type=checkbox]):not([type=radio]):not([type=file]),dialog[data-panel-role664="admin"] select,dialog[data-panel-role664="admin"] textarea{font-size:14px!important;font-weight:400;line-height:1.5;background:#fff;color:#173c60;border-color:#bdcfe2;border-radius:5px}
dialog[data-panel-role664="admin"] input:not([type=checkbox]):not([type=radio]):not([type=file]),dialog[data-panel-role664="admin"] select{min-height:44px;box-sizing:border-box}
dialog[data-panel-role664="admin"] button:not([aria-label="Zamknij"]){font-size:14px;font-weight:500;line-height:1.4;border-radius:5px}
dialog[data-panel-role664="admin"] :is(button.primary:not(.danger):not(.delete):not(.approval-reject634),button[type=submit]):not(.danger):not(.delete):not(#rb-cancel-save374),dialog[data-panel-role664="admin"].lesson-modal445 .lesson-actions445 button.primary:not(.danger):not(.delete):not(.approval-reject634),dialog[data-panel-role664="admin"] .photo-file432>span{background:var(--dialog-blue664)!important;border-color:var(--dialog-blue664)!important;color:#fff!important;min-height:44px;box-sizing:border-box}
dialog[data-panel-role664="admin"] #dialog-body footer{background:var(--dialog-light664)!important;border-color:#cbd9e8!important}
dialog[data-panel-role664="admin"] #dialog-body footer button:not(.primary):not([type=submit]),dialog[data-panel-role664="admin"] #dialog-close{background:#f4f7fb;color:#173c60;border:1px solid #bdcfe2;min-height:44px;box-sizing:border-box}
dialog[data-panel-role664="admin"] .lesson-content445,dialog[data-panel-role664="admin"] .photo-content432,dialog[data-panel-role664="admin"] .rb-cancel-content376,dialog[data-panel-role664="admin"] .history-dialog654{background:#fff;color:#173c60}
dialog[data-panel-role664="admin"] :is(.lesson-summary445,.rb-cancel-summary376,.photo-preview-area432){background:#f5f8fc}
dialog[data-panel-role664="admin"] button:disabled{opacity:.5}

dialog[data-panel-role664="admin"] [data-session]{background:#245d9c;border-color:#245d9c;color:#fff;min-height:44px}

/* Instructor palette: navy sections, blue actions, light content. */
#main.design249[data-design-role249="admin"]{--section-navy663:#173c60;--action-blue663:#245d9c;--filter-light663:#edf1f6}
#main.design249[data-design-role249="admin"] :is(.design-bar249,.member-panel295>h2,.member-payment-bar333,.course-panel-head242,.course-read654 h3),#main.design249[data-design-role249="admin"] #room-booking342 :is(.rb-step,.rb-list-section374>header,.rh-panel387>h2,.rh-summary-title389,.rb-locations353>h2){background:var(--section-navy663)!important;color:#fff!important;border-color:var(--section-navy663)!important}
#main.design249[data-design-role249="admin"] #room-booking342 :is(.rb-step,.rb-list-section374>header,.rh-panel387>h2,.rh-summary-title389,.rb-locations353>h2){display:flex;align-items:center;gap:12px;box-sizing:border-box;min-height:56px;padding:15px 20px;border-radius:5px 5px 0 0;font-family:inherit;font-size:16px;font-weight:600;line-height:1.5}
#main.design249[data-design-role249="admin"] #room-booking342 .rb-step h2{font-size:16px;font-weight:600;line-height:1.5;color:inherit;margin:0}
#main.design249[data-design-role249="admin"] #room-booking342 .rb-step p{color:#e3edf8;margin:4px 0 0;line-height:1.5}
#main.design249[data-design-role249="admin"] #room-booking342 .rb-step>span{background:transparent;color:inherit;border-radius:0;width:22px;height:22px;flex:0 0 22px}
#main.design249[data-design-role249="admin"] #room-booking342 :is(.rb-step,.rb-list-section374>header,.rh-panel387>h2,.rh-summary-title389,.rb-locations353>h2) svg{width:22px;height:22px;flex:0 0 22px;color:inherit;stroke:currentColor!important}
#main.design249[data-design-role249="admin"] :is(button.primary:not(.danger):not(.delete):not(.approval-reject634),.groups62-bottom button,.substitution-stats93 button.selected,.cancellation-tabs281 button.selected,.course-tabs242 button[aria-selected="true"],.calendar54-period button.selected),#main.design249[data-design-role249="admin"] #room-booking342 :is(.rb-tabs button.active,.rb-locations353 button.selected,.rb-rooms button.selected,.rb-submit button.primary:not(.danger):not(.delete):not(.approval-reject634)){background:var(--action-blue663)!important;border-color:var(--action-blue663)!important;color:#fff!important}
#main.design249[data-design-role249="admin"] :is(button.primary:not(.danger):not(.delete):not(.approval-reject634),.groups62-bottom button,.substitution-stats93 button.selected,.cancellation-tabs281 button.selected,.course-tabs242 button[aria-selected="true"]),#main.design249[data-design-role249="admin"] #room-booking342 :is(.rb-tabs button.active,.rb-locations353 button.selected,.rb-rooms button.selected){--icon-color:#fff}
#main.design249[data-design-role249="admin"] :is(.groups62-filters label,.attendance-filters336,.substitution-filters93,.calendar54-filters,.cancellation-toolbar339),#main.design249[data-design-role249="admin"] #room-booking342 :is(.rb-list-controls>label,.rh-filters387){background:var(--filter-light663)!important;color:#173c60}
#main.design249[data-design-role249="admin"] .course-read654 section,#main.design249[data-design-role249="admin"] .course-panel242,#main.design249[data-design-role249="admin"] .member-panel295,#main.design249[data-design-role249="admin"] .cancellation-list{background:#fff}
#main.design249[data-design-role249="admin"] #room-booking342 .rb-tiles button.rb-selected{background:var(--action-blue663)!important;color:#fff!important;border-color:var(--action-blue663)!important}

#main[data-design-role249="admin"] .instructor-action667,#dialog[data-panel-role664="admin"] .instructor-action667{display:inline-flex!important;align-items:center;justify-content:center;gap:8px!important}
#main[data-design-role249="admin"] .instructor-action-icon667,#dialog[data-panel-role664="admin"] .instructor-action-icon667{width:20px!important;height:20px!important;flex:0 0 20px!important;stroke:currentColor!important;color:inherit!important;vertical-align:middle;margin:0!important}
#main[data-design-role249="admin"] .substitution-stats93 button>svg{width:20px!important;height:20px!important;flex:0 0 20px!important;stroke-width:1.8}

#main[data-design-role249="admin"] :is(.course-tabs242,.rb-tabs,.cancellation-tabs281) button>svg{width:20px!important;height:20px!important;flex:0 0 20px!important;stroke-width:1.8}
/* Administrator: the same visual hierarchy as instructor and parent panels. */
#main.design249[data-design-role249="admin"]{--admin-navy675:#173c60;--admin-blue675:#245d9c;color:#173c60}
#main.design249[data-design-role249="admin"] :is(.design-bar249,.panel>.panel-head,.panel>h3,.course-panel-head242,.course-read654 h3,.pc-ledger-heading,.reception477>.panel-head,.settings-disclosure66>summary,.admin-profile122>h2){background:#173c60!important;color:#fff!important;border-color:#173c60!important;box-sizing:border-box;min-height:56px;padding:15px 20px;line-height:1.5;border-radius:5px 5px 0 0}
#main.design249[data-design-role249="admin"] :is(.design-title249,.panel>.panel-head h2,.panel>.panel-head h3,.panel>h3,.course-panel-head242 h2,.course-read654 h3,.settings-disclosure66>summary,.admin-profile122>h2){font-family:inherit!important;font-size:16px!important;font-weight:600!important;line-height:1.5!important;letter-spacing:.2px;color:inherit}
#main.design249[data-design-role249="admin"] :is(.design-bar249,.panel>.panel-head,.course-panel-head242,.settings-disclosure66>summary,.admin-profile122>h2) :is(h2,h3,.design-title249){color:#fff!important}
#main.design249[data-design-role249="admin"] :is(.design-bar249,.panel>.panel-head,.settings-disclosure66>summary,.admin-profile122>h2)>svg{width:22px;height:22px;flex:0 0 22px;stroke:currentColor;color:inherit}
#main.design249[data-design-role249="admin"] :is(button.primary:not(.danger):not(.delete):not(.approval-reject634),.groups62-bottom button,.course-tabs242 button[aria-selected="true"],.calendar54-period button.selected){background:#245d9c!important;color:#fff!important;border-color:#245d9c!important}
#main.design249[data-design-role249="admin"] :is(button,input,select,textarea){font-family:inherit}
#main.design249[data-design-role249="admin"] button:not(.calendar54-event):not(.calendar54-date):not(.task-sort-heading152){border-radius:5px}
#main.design249[data-design-role249="admin"] :is(.groups62-filters>label,.attendance-filters336,.calendar54-filters,.task-toolbar,.toolbar,.pc-finance-toolbar){background:#edf1f6;color:#173c60}
#main.design249[data-design-role249="admin"] :is(.course-read654 section,.course-panel242,.admin-profile122){background:#fff}
#main.design249[data-design-role249="admin"] :is(.admin-profile122,.course-config-panel656) :is(input:not([type=checkbox]):not([type=radio]),select){min-height:44px;font-size:14px;box-sizing:border-box}
#main.design249[data-design-role249="admin"] .instructor-action667,dialog[data-panel-role664="admin"] .instructor-action667{display:inline-flex!important;align-items:center;justify-content:center;gap:8px!important}
dialog[data-panel-role664="admin"] .instructor-action-icon667{width:20px!important;height:20px!important;flex:0 0 20px!important;margin:0!important;color:inherit;stroke:currentColor}
/* Statuses and destructive actions retain their existing semantic colors. */

#main.design249[data-design-role249="admin"] .pc-section>summary{background:#173c60!important;color:#fff!important;border-color:#173c60!important;min-height:56px;font-family:inherit;font-size:16px;font-weight:600;line-height:1.5}
#main.design249[data-design-role249="admin"] .pc-section>summary>svg{stroke:currentColor;color:inherit;width:22px;height:22px;flex:0 0 22px}
#main.design249[data-design-role249="admin"] .pc-section>summary>strong{color:inherit}
dialog[data-panel-role664="admin"] .signup-section622>summary{background:#173c60;color:#fff;border-color:#173c60;font-size:16px;font-weight:600}
html body dialog[data-panel-role664="admin"] #dialog-body button[data-action-icon667="reject"],html body #main[data-design-role249="admin"] button[data-action-icon667="reject"]{background:#f9edf0!important;color:#923d4c!important;border:1px solid #c98f9d!important}

/* 4.676: grouped settings use readable two-line disclosure headings. */
#main.design249[data-design-role249="admin"] .settings-group644>h2{display:none}
#main.design249[data-design-role249="admin"] #settings-page-bar123{background:transparent!important;border:0!important;padding:0!important;margin:0 0 22px!important;min-height:0;box-shadow:none}
#main.design249[data-design-role249="admin"] #settings-page-bar123>button{min-height:44px;padding:10px 16px;background:#edf1f6;color:#173c60;border:1px solid #c6d5e4;border-radius:5px;font-family:inherit;font-size:14px;font-weight:500}
#main.design249[data-design-role249="admin"] .settings-group644 .settings-disclosure66>summary{display:grid!important;grid-template-columns:minmax(0,1fr) 22px;gap:4px 16px;align-items:center;min-height:90px;padding:16px 20px!important}
#main.design249[data-design-role249="admin"] .settings-group644 .settings-disclosure66>summary>h3{grid-column:1;grid-row:1;display:flex!important;align-items:center;gap:12px;margin:0!important;font-size:16px!important;line-height:1.5!important}
#main.design249[data-design-role249="admin"] .settings-group644 .settings-disclosure66>summary>small{display:block;grid-column:1;grid-row:2;color:#dce8f5!important;font-family:inherit;font-size:13px!important;font-weight:400;line-height:1.5;letter-spacing:0;text-transform:none;padding:0 0 0 34px!important;margin:0!important}
#main.design249[data-design-role249="admin"] .settings-group644 .settings-disclosure66>summary::after{grid-column:2;grid-row:1/3;align-self:center;justify-self:end;margin:0!important;color:#fff}
#main.design249[data-design-role249="admin"] #general-content .settings-disclosure66>summary .settings-icon66{display:inline-flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;background:transparent!important;color:#fff!important;border:0;border-radius:0;padding:0}
#main.design249[data-design-role249="admin"] #general-content .settings-disclosure66>summary .settings-icon66 svg{width:22px;height:22px;stroke:currentColor;color:inherit}

/* Final administrator section layer. Keep action/selection colors separate. */
html body #main.design249[data-design-role249="admin"] :is(
 .design-bar249,.tasks-heading239,.duplicate-heading310,.package-heading260,.package-heading544,
 .settings95 .settings-body66>.settings-disclosure95>summary,
 .settings95 .message-templates>.settings-disclosure66>summary,
 .settings-disclosure66>summary,.settings-kind95-company>summary,
 .monthly-finance-heading,#report-form>h3,.report-download-card>h3,
 .communication-history64>.panel-head,.reminder-title64,#invoice-register>.panel-head,
 .participants-panel>.panel-head,.locations-heading193,.reception-list477>.panel-head,
 .member-panel295>h2,.course-panel-head242,.course-read654 h3,
 .pc-section>summary,.profile155 details[data-profile-section155]>summary,
 .pc-ledger-heading,.cancellation-bar281,.member-payment-bar333
){background:#173c60!important;background-image:none!important;color:#fff!important;border-color:#173c60!important}
html body #main.design249[data-design-role249="admin"] :is(.design-bar249,.tasks-heading239,.duplicate-heading310,.package-heading260,.package-heading544,.settings-disclosure66>summary,.monthly-finance-heading,.report-download-card>h3,.communication-history64>.panel-head,.reminder-title64,.reception-list477>.panel-head,.course-panel-head242,.pc-section>summary,.profile155 details[data-profile-section155]>summary) :is(h2,h3,.design-title249){color:#fff!important}
html body #main.design249[data-design-role249="admin"] .settings-disclosure66>summary :is(small,.template-subtitle80,.template-subtitle81){color:#dce8f5!important}
html body #main.design249[data-design-role249="admin"] #room-booking342 :is(.rb-step,.rb-config346>header,.rb-list-section374>header,.rh-panel387>h2,.rh-summary-title389,.rb-locations353>h2){background:#173c60!important;background-image:none!important;color:#fff!important;border-color:#173c60!important}
html body #main.design249[data-design-role249="admin"] #room-booking342 :is(.rb-step,.rb-config346>header,.rb-list-section374>header,.rh-panel387>h2,.rh-summary-title389,.rb-locations353>h2) :is(h2,h3){color:#fff!important}
/* Shared forms and custom native dialogs receive the same section palette. */
html body #dialog[data-panel-role664="admin"] #dialog-body header,
html body dialog[data-panel-role664="admin"] :is(.quota-head559,.modal-head446,.signup-section622>summary,.register-content446>section>h3){background:#173c60!important;background-image:none!important;color:#fff!important;border-color:#173c60!important}
html body #dialog[data-panel-role664="admin"] #dialog-body header :is(h2,h3),
html body dialog[data-panel-role664="admin"] :is(.quota-head559,.modal-head446,.signup-section622>summary,.register-content446>section>h3) :is(h2,h3){color:#fff!important}
html body #main.design249[data-design-role249="admin"] :is(#admin-profile122>h2,#program-home142>h2){background:#173c60!important;background-image:none!important;color:#fff!important;border-color:#173c60!important}
html body #dialog[data-panel-role664="admin"].package-catalog547 .plan-card483>h2{background:#173c60!important;color:#fff!important}

/* All grouped settings headings share one icon/text/chevron structure. */
html body #main.design249[data-design-role249="admin"] #general-content .settings-disclosure66>summary.settings-summary678{display:grid!important;grid-template-columns:22px minmax(0,1fr) 22px!important;grid-template-rows:auto!important;gap:16px!important;align-items:center!important;min-height:90px!important;padding:16px 20px!important;background:#173c60!important;border-color:#173c60!important;color:#fff!important}
html body #main.design249[data-design-role249="admin"] #general-content summary.settings-summary678>.settings-title678{grid-column:2;grid-row:1;min-width:0;display:flex;flex-direction:column;gap:7px}
html body #main.design249[data-design-role249="admin"] #general-content summary.settings-summary678>.settings-title678>h3{display:block!important;margin:0!important;padding:0!important;font-family:inherit!important;font-size:16px!important;font-weight:600!important;line-height:1.5!important;color:#fff!important}
html body #main.design249[data-design-role249="admin"] #general-content summary.settings-summary678>.settings-title678>small{display:block!important;margin:0!important;padding:0!important;font-family:inherit!important;font-size:13px!important;font-weight:400!important;line-height:1.5!important;color:#dce8f5!important;letter-spacing:0!important;text-transform:none!important}
html body #main.design249[data-design-role249="admin"] #general-content summary.settings-summary678>:is(.settings-icon66,svg){grid-column:1;grid-row:1;align-self:start;margin:3px 0 0!important;width:22px!important;height:22px!important;background:transparent!important;color:#fff!important}
html body #main.design249[data-design-role249="admin"] #general-content summary.settings-summary678::after{grid-column:3!important;grid-row:1!important;align-self:center!important;justify-self:end;margin:0!important;color:#fff!important}
html body #main.design249[data-design-role249="admin"]:has(#general-content:not([data-settings-page="home"])) .page-heading .eyebrow{display:none!important}
/* Exactly one icon: suppress legacy CSS masks when an SVG is installed. */
html body #main[data-design-role249="admin"] button.instructor-action667::before,
html body dialog[data-panel-role664="admin"] button.instructor-action667::before,
html body #main[data-design-role249="admin"] button[data-action-text679="1"]::before,
html body dialog[data-panel-role664="admin"] button[data-action-text679="1"]::before{content:none!important;display:none!important;mask:none!important;background:none!important;width:0!important;height:0!important}
html body #main[data-design-role249="admin"] .participant-filters>.panel-head h3{display:flex;align-items:center;gap:12px;color:#fff!important}
html body #main[data-design-role249="admin"] .participant-search-heading679{width:22px;height:22px;flex:0 0 22px;color:inherit;stroke:currentColor}
/* Selection is driven by filters, never by a tile's ordinal position. */
html body #main.design249[data-design-role249="admin"] .participant-stats .stat:nth-child(n){background:#edf1f6!important;color:#173c60!important;border-color:#ccd8e8!important;outline:none;outline-offset:0}
html body #main.design249[data-design-role249="admin"] .participant-stats .stat:nth-child(n) small{color:#526b82!important}
html body #main.design249[data-design-role249="admin"] .participant-stats .stat[aria-pressed="true"]{background:#245d9c!important;color:#fff!important;border-color:#245d9c!important}
html body #main.design249[data-design-role249="admin"] .participant-stats .stat[aria-pressed="true"] small{color:#e3edf8!important}
html body #main.design249[data-design-role249="admin"] .participant-stats .stat:focus-visible{outline:3px solid #79b5dc;outline-offset:2px}

/* 4.680: account data belongs below the package, administrator left/company right. */
html body #main.design249[data-design-role249="admin"] #general-content[data-settings-page="home"] .settings-body66>#admin-profile122{grid-column:2;grid-row:1;margin:0;min-width:0}
html body #main.design249[data-design-role249="admin"] #general-content[data-settings-page="home"] .settings-body66>.settings-kind95-company{grid-column:1;grid-row:1;min-width:0}
@media(max-width:1100px){html body #main.design249[data-design-role249="admin"] #general-content[data-settings-page="home"] .settings-body66>#admin-profile122,html body #main.design249[data-design-role249="admin"] #general-content[data-settings-page="home"] .settings-body66>.settings-kind95-company{grid-column:1;grid-row:auto}}

/* 4.681: equal section heading heights, company left and administrator right. */
html body #main.design249[data-design-role249="admin"] #general-content[data-settings-page="home"] .settings-body66>#admin-profile122>h2,
html body #main.design249[data-design-role249="admin"] #general-content[data-settings-page="home"] .settings-body66>.settings-kind95-company>summary{height:90px!important;min-height:90px!important;box-sizing:border-box!important;margin:0!important;padding:16px 20px!important}
@media(max-width:650px){html body #main.design249[data-design-role249="admin"] #general-content[data-settings-page="home"] .settings-body66>#admin-profile122>h2,html body #main.design249[data-design-role249="admin"] #general-content[data-settings-page="home"] .settings-body66>.settings-kind95-company>summary{height:auto!important}}

/* 4.682: settings disclosures expand in a single full-width column. */
html body #main.design249[data-design-role249="admin"] #general-content:not([data-settings-page="home"]) .settings-grid644{grid-template-columns:minmax(0,1fr)!important;width:100%;gap:18px}
html body #main.design249[data-design-role249="admin"] #general-content:not([data-settings-page="home"]) .settings-grid644>*{grid-column:1/-1!important;min-width:0;max-width:100%;box-sizing:border-box}
html body #main.design249[data-design-role249="admin"] #general-content:not([data-settings-page="home"]) .settings-grid644>.settings-disclosure66{width:100%}
/* Communication settings: clear navigation, equal delivery columns and actions. */
html body #main.design249[data-design-role249="admin"] .settings-links644 .communication-link683{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:center;column-gap:14px;text-align:left;padding:18px 20px;min-height:86px;background:#fff;border-color:#cbd8e6;color:#173c60}
html body #main.design249[data-design-role249="admin"] .communication-link683>svg{width:24px;height:24px;color:#245d9c}
html body #main.design249[data-design-role249="admin"] .settings-link-text683{display:flex;flex-direction:column;gap:5px;text-align:left}
html body #main.design249[data-design-role249="admin"] .settings-link-text683 strong{font-size:15px;font-weight:600;line-height:1.5}
html body #main.design249[data-design-role249="admin"] .settings-link-text683>span{font-size:13px;font-weight:400;line-height:1.5;color:#58718b}
html body #main.design249[data-design-role249="admin"] .communication-link683:hover{background:#edf3fa;border-color:#8aaaca}
html body #main.design249[data-design-role249="admin"] #notification-rules648{border:1px solid #cbd8e6;border-left-width:1px;border-radius:5px;overflow:hidden}
html body #main.design249[data-design-role249="admin"] #notification-rules648>.panel{padding:20px;margin:0;border:0}
html body #main.design249[data-design-role249="admin"] #notification-rules648>.panel>p{margin:0 0 18px;line-height:1.6;font-size:14px;max-width:100%}
html body #main.design249[data-design-role249="admin"] .notification-table648{table-layout:fixed;width:100%;min-width:820px;border:1px solid #d6e0eb;border-collapse:collapse;font-size:14px}
.notification-table648 .notification-event683{width:38%}.notification-table648 .notification-channel683{width:12%}.notification-table648 .notification-action683{width:26%}
html body #main.design249[data-design-role249="admin"] .notification-table648 thead th{background:#e9eff6;color:#173c60;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5;text-transform:none;padding-top:14px;padding-bottom:14px;border-bottom:1px solid #cbd8e6}
html body #main.design249[data-design-role249="admin"] .notification-table648 tbody :is(td,th){font-family:inherit;font-size:14px;line-height:1.5;padding-top:14px;padding-bottom:14px;vertical-align:middle}
html body #main.design249[data-design-role249="admin"] .notification-table648 .notification-category683 th{background:#edf2f7;color:#173c60;font-size:13px;font-weight:600;letter-spacing:.2px;border-top:1px solid #cbd8e6;border-bottom:1px solid #cbd8e6;padding:11px 14px;text-transform:none}
html body #main.design249[data-design-role249="admin"] .notification-table648 tbody tr:not(.notification-category683){background:#fff}
html body #main.design249[data-design-role249="admin"] .notification-table648 tbody tr:not(.notification-category683):hover{background:#f5f8fc}
html body #main.design249[data-design-role249="admin"] .notification-table648 input[type=checkbox]{display:block;width:20px;height:20px;margin:auto;accent-color:#245d9c;cursor:pointer}
html body #main.design249[data-design-role249="admin"] .notification-table648 td:last-child button{width:210px;max-width:100%;min-height:44px;white-space:normal;line-height:1.4;padding:10px 12px;font-size:13px;background:#edf3fa;color:#173c60;border:1px solid #bdcfe2}
html body #main.design249[data-design-role249="admin"] .notification-manual683{display:block;margin-top:4px;font-size:12px;color:#61758c}
html body #main.design249[data-design-role249="admin"] #notification-rules-form648>.muted{margin:18px 0;font-size:13px;line-height:1.7;color:#58718b}
html body #main.design249[data-design-role249="admin"] .notification-save683{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding-top:18px;border-top:1px solid #d6e0eb}
html body #main.design249[data-design-role249="admin"] .notification-save683>button{min-height:44px;margin:0}
html body #main.design249[data-design-role249="admin"] .notification-save683>[role=status]{margin:0;font-size:14px}
@media(max-width:700px){html body #main.design249[data-design-role249="admin"] .settings-links644{grid-template-columns:1fr}html body #main.design249[data-design-role249="admin"] #notification-rules648>.panel{padding:14px}}
/* Semantic icons for administrator section and dialog titles. */
html body #main.design249[data-design-role249="admin"] .admin-heading-title684,
html body dialog[data-panel-role664="admin"] .admin-heading-title684{display:flex!important;align-items:center;gap:12px!important;min-width:0}
html body #main.design249[data-design-role249="admin"] .admin-heading-icon684,
html body dialog[data-panel-role664="admin"] .admin-heading-icon684{display:inline-block;width:22px!important;height:22px!important;flex:0 0 22px!important;color:inherit!important;stroke:currentColor!important;margin:0!important;vertical-align:middle}

/* 4.687 Calendar settings: scoped controls, readable preview, shared section style. */
#settings-calendar141 .calendar-hours687{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:720px;margin:0 0 22px}
#settings-calendar141 .calendar-hours687 label,#settings-calendar141 .calendar-step687 label{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0}
#settings-calendar141 .calendar-step687{max-width:348px}
#settings-calendar141 .calendar-hours687 input,#settings-calendar141 .calendar-step687 select{width:100%;min-height:44px;box-sizing:border-box}
#settings-calendar141 .calendar-help687{background:none!important;border:0!important;padding:0!important;margin:10px 0 20px;color:#52677b;font-size:14px;line-height:1.6}
#settings-calendar141 .calendar-content687{margin-top:28px}
#settings-calendar141 .calendar-content687 h4{font-size:16px;margin:0 0 12px}
#settings-calendar141 .calendar-preview687{position:static!important;width:100%!important;max-width:380px!important;box-sizing:border-box;display:flex!important;flex-direction:column;gap:8px;padding:18px!important;background:#eaf2fc!important;border:1px solid #c8d8ea;border-left:4px solid #8861b5;border-radius:5px;color:#173c60;min-height:0!important;height:auto!important;font-size:14px!important;line-height:1.5!important}
#settings-calendar141 .calendar-preview687 *{font-size:14px!important;line-height:1.5!important;white-space:normal!important}
#settings-calendar141 .calendar-preview687 strong{font-size:16px!important}
#settings-calendar141 .calendar-footer687{margin-top:28px;padding-top:22px;border-top:1px solid #dce6ee}
#settings-calendar141 .calendar-footer687 .program-result141:empty{display:none}
@media(max-width:650px){#settings-calendar141 .calendar-hours687{grid-template-columns:minmax(0,1fr);gap:18px}#settings-calendar141 .calendar-step687{max-width:none}}
/* 4.688 Decision dialogs: metadata beside a full-height editor. */
#dialog.approval-modal401{width:min(1200px,calc(100vw - 40px))!important;max-width:1200px!important;height:min(820px,90dvh)!important;max-height:90dvh!important;box-sizing:border-box}
#dialog.approval-modal401>#dialog-body{height:100%!important;max-height:none!important;overflow:hidden!important;padding:0!important}
#dialog.approval-modal401 .approval-card401{height:100%;max-height:100%;min-height:0}
#dialog.approval-modal401 #approval-form{flex:1;min-height:0}
#dialog.approval-modal401 .approval-content401{flex:1;min-height:0;overflow:hidden;grid-template-columns:minmax(240px,.8fr) minmax(0,2fr);grid-template-rows:auto auto auto 1fr auto;gap:16px 24px;align-items:start;padding:22px 24px}
#dialog.approval-modal401 .approval-person401{grid-column:1;grid-row:1;margin:0;padding:16px}
#dialog.approval-modal401 .approval-person401 strong{font-size:18px;overflow-wrap:anywhere}
#dialog.approval-modal401 .approval-person401 small{line-height:1.6}
#dialog.approval-modal401 .approval-content401>label{grid-column:1;grid-row:2;margin:0}
#dialog.approval-modal401 .approval-recipient401{grid-column:1;grid-row:3;padding:14px;font-size:14px;line-height:1.5}
#dialog.approval-modal401 .approval-status401{grid-column:1;grid-row:4;background:none;padding:0;font-size:13px;line-height:1.6}
#dialog.approval-modal401 .approval-message401{grid-column:2;grid-row:1/5;align-self:stretch;min-height:0;display:flex;flex-direction:column;margin:0;padding:18px}
#dialog.approval-modal401 .approval-message401 h3{flex:none;font-size:15px}
#dialog.approval-modal401 .approval-message401 label{flex:none;margin-bottom:14px}
#dialog.approval-modal401 .approval-message401 label[hidden]{display:none!important}
#dialog.approval-modal401 .approval-message401 label.approval-editor688{flex:1;min-height:0;display:flex;flex-direction:column}
#dialog.approval-modal401 .approval-editor688 textarea{flex:1;width:100%;height:auto!important;min-height:130px!important;max-height:none;resize:none;overflow-y:auto;box-sizing:border-box;font:inherit;font-weight:400;font-size:14px;line-height:1.6;padding:12px}
#dialog.approval-modal401 .approval-message401 p{margin:0;font-size:12px;line-height:1.5}
#dialog.approval-modal401 #approval-error{grid-column:1/-1;grid-row:5;margin:0}
#dialog.approval-modal401 #approval-form>footer{padding:14px 24px}
#dialog.approval-modal401[data-decision688="reject"] #approval-form>footer button[type="submit"]{color:#a52c3a!important;background:#fff5f5!important;border:1px solid #c4606b!important}
#dialog.approval-modal401[data-decision688="reject"] #approval-form>footer button[type="submit"]:hover{background:#fce6e8!important}
#dialog.approval-modal401 #approval-form>footer button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:800px),(max-height:650px){#dialog.approval-modal401{width:calc(100vw - 24px)!important;height:94dvh!important;max-height:94dvh!important}#dialog.approval-modal401 .approval-content401{display:flex;flex-direction:column;overflow-y:auto;padding:16px;gap:14px}#dialog.approval-modal401 .approval-content401>*{width:100%;box-sizing:border-box}#dialog.approval-modal401 .approval-message401{flex:none;min-height:360px}#dialog.approval-modal401 .approval-editor688 textarea{min-height:180px!important}#dialog.approval-modal401 #approval-form>footer{padding:12px;flex-wrap:wrap}#dialog.approval-modal401 #approval-form>footer button{height:auto!important;max-height:none!important;white-space:normal}}

/* 4.689 Instructor actions: one help note and consistent button rows. */
#main.design249 .instructor-help689{margin:0;padding:12px 18px;font-size:13px;line-height:1.6;color:#52677b;border-bottom:1px solid #dce6ee;background:#fff}
#main.design249 .instructors-table .instructor-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
#main.design249 .instructors-table .instructor-actions button{height:44px!important;min-height:44px!important;box-sizing:border-box;padding:8px 10px!important;margin:0!important;line-height:1.3;font-size:13px}
#main.design249 .instructors-table .instructor-actions [data-instructor-invite635]{grid-column:1/-1}
#main.design249 .instructors-table .instructor-phone{white-space:nowrap}
@media(max-width:1100px){#main.design249 .instructors-table .instructor-actions{grid-template-columns:1fr}}
/* Invitation editor shares the decision-dialog layout; preview stays in the left column. */
#dialog.invitation-editor693 .approval-status401 p{margin:0 0 12px}
#dialog.invitation-editor693 .approval-status401 details{margin-top:16px}
#dialog.invitation-editor693 .approval-status401 summary{cursor:pointer;font-weight:600;margin-bottom:10px}
#dialog.invitation-editor693 .approval-status401 pre{font:inherit;white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow-y:auto;background:#edf3fa;border-radius:5px;padding:12px}
#dialog.invitation-editor693 .approval-status401 small{display:block;font-size:12px;line-height:1.5}
#dialog.invitation-editor693 input[readonly]{background:#edf3fa}
#dialog.invitation-editor693 .approval-content401{grid-template-rows:auto auto auto minmax(0,1fr) auto}
#dialog.invitation-editor693 .approval-status401{min-height:0;max-height:100%;overflow-y:auto}
@media(max-width:800px),(max-height:650px){#dialog.invitation-editor693 .approval-status401{max-height:none;overflow:visible}}

/* 4.694 Compact calendar settings; controls and fonts retain their sizes. */
#settings-calendar141 .calendar-time-row694{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:8px}
#settings-calendar141 .calendar-time-row694>label{display:flex;flex-direction:column;gap:8px;margin:0;min-width:0}
#settings-calendar141 .calendar-time-row694 :is(input,select){width:100%;height:44px;box-sizing:border-box;margin:0}
#settings-calendar141 .calendar-compact694>.calendar-help687{margin:6px 0 12px}
#settings-calendar141 .calendar-weekend694{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid #dce6ee}
#settings-calendar141 .calendar-weekend694 .program-toggle141{min-width:240px;max-width:340px;flex:1;margin:0;padding:10px 14px;background:#f3f6fa;border:1px solid #e2e9f1;border-radius:5px}
#settings-calendar141 .calendar-weekend694 .calendar-help687{margin:0;flex:2}
#settings-calendar141 .calendar-compact694 .calendar-content687{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.85fr);gap:28px;align-items:start;margin-top:20px}
#settings-calendar141 .calendar-compact694 .calendar-content687 h4{margin:0 0 10px;font-size:16px}
#settings-calendar141 .calendar-choices694 .calendar-help687{margin:0 0 10px}
#settings-calendar141 .calendar-choices694 .program-fields141{grid-template-columns:minmax(0,1fr)!important;gap:0!important;margin:0!important}
#settings-calendar141 .calendar-choices694 .program-toggle141{min-height:48px;padding:10px 14px}
#settings-calendar141 .calendar-sample694{padding-left:24px;border-left:1px solid #dce6ee}
#settings-calendar141 .calendar-sample694 .calendar-preview687{max-width:none!important;margin:0!important;padding:16px!important}
#settings-calendar141 .calendar-compact694 .calendar-footer687{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:20px;padding-top:16px}
#settings-calendar141 .calendar-compact694 .calendar-footer687 .program-result141{margin:0}
@media(max-width:700px){#settings-calendar141 .calendar-time-row694{grid-template-columns:minmax(0,1fr);gap:16px}#settings-calendar141 .calendar-compact694 .calendar-content687{grid-template-columns:minmax(0,1fr);gap:20px}#settings-calendar141 .calendar-sample694{padding:0;border:0}#settings-calendar141 .calendar-weekend694{align-items:stretch;flex-direction:column;gap:8px}#settings-calendar141 .calendar-weekend694 .program-toggle141{min-width:0;max-width:none}#settings-calendar141 .calendar-compact694 .calendar-footer687{justify-content:flex-end}}

/* 4.697 Compact seasons and breaks, scoped to the settings section. */
#settings-seasons141 .program-season-top141{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;margin:0 0 22px}
#settings-seasons141 .program-season-top141>label{flex:0 1 520px;min-width:220px;margin:0;display:flex;flex-direction:column;gap:8px}
#settings-seasons141 .program-season-top141 select{margin:0;width:100%;height:44px;box-sizing:border-box}
#settings-seasons141 .program-season-top141>button{min-height:44px;margin:0}
#settings-seasons141 #program-season-dates141 .season-fields697{display:grid!important;grid-template-columns:minmax(0,2fr) repeat(2,minmax(0,1fr))!important;gap:20px!important;margin:0!important}
#settings-seasons141 .season-fields697>label{display:flex;flex-direction:column;gap:8px;margin:0!important;min-width:0}
#settings-seasons141 .season-fields697 input{width:100%;height:44px;min-height:44px;box-sizing:border-box;margin:0}
#settings-seasons141 .season-save697{display:flex;justify-content:flex-end;margin-top:16px}
#settings-seasons141 .season-breaks-head697{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:22px 0 12px;padding-top:20px;border-top:1px solid #dce6ee}
#settings-seasons141 .season-breaks-head697 h4{font-family:inherit;font-size:16px;font-weight:600;line-height:1.5;margin:0;color:#173c60}
#settings-seasons141 .season-breaks-head697 button{margin:0;min-height:44px}
#settings-seasons141 .program-breaks141{margin:0;width:100%}
#settings-seasons141 .season-help697{font-size:14px;line-height:1.6;color:#52677b;background:none;border:0;padding:0;margin:14px 0 0}
@media(max-width:700px){#settings-seasons141 #program-season-dates141 .season-fields697{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}#settings-seasons141 .program-season-top141>label{flex:1 1 100%;min-width:0}#settings-seasons141 .season-breaks-head697{align-items:flex-start}}

/* 4.698 Compact feature groups in Organization settings. */
#general-content .organization-features698 .feature-groups698{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:start;margin:0!important}
#general-content .organization-features698 .feature-group698{border:1px solid #dce6ee;border-radius:5px;overflow:hidden;min-width:0}
#general-content .organization-features698 .feature-group698>h4{margin:0;padding:12px 14px;font-family:inherit;font-size:16px;font-weight:600;line-height:1.5;color:#173c60;background:#edf3fa;border-bottom:1px solid #dce6ee}
#general-content .organization-features698 .feature-group698>.program-toggle141{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:48px;margin:0;padding:10px 14px;font-size:14px;line-height:1.5}
#general-content .organization-features698 .feature-group698>.program-toggle141:last-child{border-bottom:0}
#general-content .organization-features698 .feature-help698{font-size:14px;line-height:1.6;color:#52677b;margin:14px 0 0;padding:0;background:none;border:0}
#general-content .organization-features698 .feature-footer698{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;margin-top:20px;padding-top:16px;border-top:1px solid #dce6ee}
#general-content .organization-features698 .feature-footer698 .program-result141{margin:0}
@media(max-width:700px){#general-content .organization-features698 .feature-groups698{grid-template-columns:minmax(0,1fr)!important;gap:16px!important}}

/* 4.699 Clear registration actions and matching regulations border. */
#settings-registration141 .registration-settings620{display:block}
#settings-registration141 .registration-settings620>p{margin:0 0 18px;font-size:14px;line-height:1.6}
#settings-registration141 .registration-actions699{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
#settings-registration141 .registration-actions699>:is(button,a){display:inline-flex;align-items:center;justify-content:center;gap:9px;box-sizing:border-box;height:44px;min-height:44px;margin:0;padding:10px 16px;border-radius:5px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;text-decoration:none}
#settings-registration141 .registration-actions699 svg{width:20px;height:20px;flex:0 0 20px}
#main.design249[data-design-role249="admin"] #general-content .template-regulations77{border-left:1px solid #cbd8e6!important}
@media(max-width:600px){#settings-registration141 .registration-actions699{align-items:stretch;flex-direction:column}#settings-registration141 .registration-actions699>:is(button,a){width:100%;height:auto;min-height:44px}}

/* 4.700 Regulations toolbar and consistent document actions. */
#main.design249 #settings-regulations66>.regulations-toolbar700{display:flex!important;align-items:center;justify-content:space-between;gap:20px;background:transparent!important;color:#173c60!important;min-height:0!important;margin:0 0 18px!important;padding:0!important;border:0!important}
#settings-regulations66>.regulations-toolbar700>:is(h3,strong){display:none!important}
#settings-regulations66>.regulations-toolbar700>p{margin:0;flex:1;color:#52677b;font-size:14px;line-height:1.6}
#settings-regulations66>.regulations-toolbar700>button{flex:0 0 auto;min-height:44px;margin:0}
#settings-regulations66 .season79{overflow:visible}
#settings-regulations66 .season79>summary{border-radius:5px 5px 0 0}
#settings-regulations66 .season-actions79{gap:12px;padding:14px 16px}
#main.design249 #settings-regulations66 [data-season-regulation]{background:#245d9c!important;border-color:#245d9c!important;color:#fff!important}
#settings-regulations66 .season-menu700{position:relative;margin-left:auto}
#settings-regulations66 .season-menu700>summary{display:flex;align-items:center;justify-content:center;gap:8px;list-style:none;min-height:44px;padding:10px 16px;border:1px solid #bdcfe2;border-radius:5px;background:#edf2f8;color:#173c60;font-size:14px;font-weight:600;cursor:pointer}
#settings-regulations66 .season-menu700>summary::-webkit-details-marker{display:none}
#settings-regulations66 .season-menu700>div{position:absolute;right:0;top:calc(100% + 6px);z-index:40;background:#fff;border:1px solid #bdcfe2;border-radius:5px;padding:6px;box-shadow:0 8px 24px #173c6026;min-width:240px}
#main.design249 #settings-regulations66 .season-menu700 [data-delete-season]{margin:0;width:100%;min-height:44px;color:#a52c3a!important;background:#fff4f4!important;border:1px solid #cb8490!important;font-size:14px}
#settings-regulations66 .regulation-actions79{align-items:center;justify-content:center;gap:10px}
#settings-regulations66 .regulation-actions79>:is(button,a.button){display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-height:44px;margin:0;padding:10px 14px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;border-radius:5px}
#settings-regulations66 .season-note79{padding:9px 16px;font-size:13px;line-height:1.5;margin:0}
#settings-regulations66 .season-note79+.season-note79{border-top:0;padding-top:0}
@media(max-width:700px){#main.design249 #settings-regulations66>.regulations-toolbar700{align-items:flex-start;flex-direction:column;gap:12px}#settings-regulations66 .season-menu700{margin-left:0}#settings-regulations66 .season-menu700>div{right:auto;left:0}}

/* 4.701 Waiting-list settings: one compact control and a shared save footer. */
#general-content .waiting-settings701 .program-fields141{display:block!important;margin:0!important;max-width:720px}
#general-content .waiting-settings701 .program-toggle141{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:10px 14px;margin:0;background:#f3f6fa;border:1px solid #e0e7ef;border-radius:5px;font-size:14px}
#general-content .waiting-settings701 :is(.waiting-description701,.waiting-note701){font-size:14px;line-height:1.6;color:#52677b;background:none;border:0;padding:0}
#general-content .waiting-settings701 .waiting-description701{margin:8px 0 0}
#general-content .waiting-settings701 .waiting-note701{margin:12px 0 0}
#general-content .waiting-settings701 .waiting-footer701{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:16px;padding-top:16px;border-top:1px solid #dce6ee}
#general-content .waiting-settings701 .waiting-footer701 .program-result141{margin:0}

/* 4.703 Rejection settings: short copy, editing beside the explanation. */
#general-content #rejection-option702 .rejection-message703{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;max-width:720px;margin-top:14px}
#general-content #rejection-option702 .rejection-message703 .waiting-note701{margin:0;flex:1 1 260px}
#general-content #rejection-option702 .rejection-message703 button{flex:0 0 auto;margin:0;min-height:44px}
@media(max-width:600px){#general-content #rejection-option702 .rejection-message703{align-items:flex-start;gap:10px}}

/* 4.705 Contextual notes belong beside the settings they explain. */
#settings-seasons141 .program-season-top141{margin-bottom:8px}
#settings-seasons141 :is(.season-shared705,.season-break-help705){display:block;font-family:inherit;font-size:14px;font-weight:400;line-height:1.6;color:#52677b;background:none;border:0;padding:0;overflow-wrap:anywhere}
#settings-seasons141 .season-shared705{margin:0 0 20px}
#settings-seasons141 .season-breaks-head697{margin-bottom:8px}
#settings-seasons141 .season-break-help705{margin:0 0 14px}

/* 4.706 Season form typography and an empty row aligned to the table edge. */
#settings-seasons141 .program-breaks141 td.season-empty706{padding-left:0!important;text-align:left!important;padding-top:14px;padding-bottom:14px;font-family:inherit;font-size:14px;line-height:1.6;color:#52677b}
#settings-seasons141 :is(#program-season141,.season-fields697 input){font-family:inherit!important;font-size:14px!important;font-weight:400!important;line-height:1.5;color:#173c60}
#settings-seasons141 .season-breaks-head697{margin-top:16px;padding-top:16px}

/* 4.713 — compact class billing defaults, scoped away from other settings. */
#general-content .billing-settings713 fieldset{min-width:0;margin:0 0 20px;padding:0;border:0}
#general-content .billing-settings713 legend{font-size:15px;font-weight:600;color:#173c60;margin:0 0 12px;padding:0}
#general-content .billing-prices713 .program-fields141{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0}
#general-content .billing-schedule713 .program-fields141{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0}
#general-content .billing-settings713 :is(input,select){font-family:inherit!important;font-size:14px!important;font-weight:400!important;min-height:44px}
#general-content .billing-settings713 label{font-size:14px;line-height:1.5;margin:0}
#general-content .billing-help713{font-size:13px;line-height:1.6;color:#536679;margin:8px 0 0}
#general-content .billing-note713{font-size:14px;line-height:1.6;color:#536679;margin:14px 0 16px;padding:0;background:none;border:0}
#general-content .billing-footer713{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;margin-top:16px}
#general-content .billing-footer713 button{min-height:44px;font-size:14px;font-weight:600;margin:0;order:2}
#general-content .billing-footer713 [role=status]{margin:0;order:1}
#general-content .billing-footer713 [role=status]:empty{display:none}
#general-content .settlement-features713 .program-fields141{margin:0}
#general-content .settlement-features713 .program-toggle141{min-height:48px;padding:10px 14px;margin:0;font-size:14px}
#general-content #settings-billing141,#general-content .settlement-features713{padding-top:20px;padding-bottom:20px}
@media(max-width:850px){#general-content .billing-prices713 .program-fields141{grid-template-columns:1fr}#general-content .billing-schedule713 .program-fields141{grid-template-columns:1fr;gap:16px}}

/* 4.714 — override legacy space-between labels in billing fields. */
#general-content #settings-billing141 .billing-settings713 .program-fields141{align-items:start}
#general-content #settings-billing141 .billing-settings713 .program-fields141 label{display:flex;flex-direction:column;justify-content:flex-start;align-self:start;gap:6px;min-width:0;margin:0}
#general-content #settings-billing141 .billing-settings713 .program-fields141 label>input,
#general-content #settings-billing141 .billing-settings713 .program-fields141 label>select{height:44px;min-height:44px;margin:0;width:100%;box-sizing:border-box}
#general-content #settings-billing141 .billing-settings713 .billing-schedule713 .program-fields141>div{min-width:0;align-self:start}
#general-content #settings-billing141{border-top:0}

/* 4.717 — compact access settings and clear recovery search spacing. */
#general-content #reception-inline716 .reception-empty477{padding:16px 20px 20px}
#general-content #reception-inline716 .reception-empty-icon477{width:44px;height:44px;margin-bottom:8px}
#general-content #reception-inline716 .reception-empty477 p{margin:8px 0 14px;max-width:560px}
#general-content #settings-recovery66>p{display:block;margin:0 0 16px;font-size:14px;line-height:1.6}
#general-content #settings-recovery66 .recovery-search-label{display:block;margin:0 0 12px;font-size:14px}
#general-content #settings-recovery66 .recovery-search-label input{display:block;margin-top:6px;min-height:44px;font-size:14px;font-weight:400}
#general-content #recovery-search-results>p{margin:0;font-size:13px;line-height:1.6}
#general-content .work-organization717 .program-fields141{margin:0}
#general-content .work-organization717 .program-toggle141{min-height:48px;margin:0;padding:10px 14px;font-size:14px}

/* 4.718 — communication uses four full-width disclosure sections. */
#general-content [data-settings-group644="communication"] .settings-grid644{display:grid;grid-template-columns:minmax(0,1fr)!important;gap:18px}
#general-content [data-settings-group644="communication"] .settings-grid644>details{width:100%;margin:0}
#general-content #delivery-slot718 #message-service685{border:0;border-radius:0;margin:0;overflow:visible}
#general-content #delivery-slot718 .message-service-body685{padding:0}
#general-content #delivery-slot718 .message-service-body685>p{margin:14px 0}
#general-content #delivery-slot718 .message-service-status685{gap:14px}
#general-content .communication-options718 .program-fields141{margin:0}
#general-content #admin-notice-settings136>section.panel>p{display:block;margin:0 0 16px;font-size:14px;line-height:1.6}

/* 4.722 — simple cash receipt form, consistent with RL67 dialogs. */
#dialog.cash-modal722{width:min(660px,calc(100vw - 32px));max-width:660px;padding:0}
#dialog.cash-modal722 #dialog-body{padding:0}
#dialog.cash-modal722 .modal-head446{margin:0;border-radius:0}
#dialog.cash-modal722 #dialog-close{display:none}
#dialog.cash-modal722 .cash-form722{padding:20px 22px 0;margin:0}
#dialog.cash-modal722 .cash-form722 label{display:block;font-size:14px;font-weight:600;margin:0 0 8px}
#dialog.cash-modal722 .cash-form722 :is(input,select,textarea){font:inherit;font-size:14px;font-weight:400;width:100%;margin-top:6px;border-radius:5px}
#dialog.cash-modal722 .cash-form722 :is(input,select){min-height:44px}
#dialog.cash-modal722 .cash-form722 textarea{min-height:86px;resize:vertical}
#dialog.cash-modal722 .cash-context722{font-size:13px;color:#536679;margin:0 0 16px;line-height:1.6}
#dialog.cash-modal722 .cash-help722{font-size:13px;color:#657990;margin:0 0 16px;line-height:1.5}
#dialog.cash-modal722 .cash-amount722{display:flex;align-items:stretch;margin-top:6px}
#dialog.cash-modal722 .cash-amount722 input{margin:0;border-top-right-radius:0;border-bottom-right-radius:0;background:#fff}
#dialog.cash-modal722 .cash-amount722 span{display:flex;align-items:center;padding:0 14px;background:#eef3f8;border:1px solid #cbd8e6;border-left:0;border-radius:0 5px 5px 0;font-weight:400}
#dialog.cash-modal722 .cash-form722 footer{display:flex;justify-content:space-between;gap:12px;padding:16px 0;margin-top:16px;border-top:1px solid #d7e2ee;background:#fff}
#dialog.cash-modal722 .cash-form722 footer button{min-height:44px;font-size:14px;margin:0}
#dialog.cash-modal722 #business-error:empty{display:none}

/* 4.724 — compact receipt and central participant field catalog. */
#dialog.cash-modal722 .cash-row724{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;margin:0 0 10px;align-items:start}
#dialog.cash-modal722 .cash-row724>label{margin:0!important}
#dialog.cash-modal722 .cash-row724 input{height:44px}
#dialog.cash-modal722 .cash-amount722 input{font-size:18px;font-variant-numeric:tabular-nums}
#dialog.cash-modal722 .cash-form722 .cash-context722{padding:10px 12px;border:1px solid #d8e3ee;background:#f3f7fb;border-radius:5px;margin:0 0 16px!important}
#dialog.cash-modal722 .cash-form722 .cash-help722{margin:0 0 16px!important}
#dialog.cash-modal722 .cash-form722 textarea{min-height:68px}
#dialog.cash-modal722 .cash-form722 footer{margin-top:16px!important;padding:14px 0!important;background:#fff!important}
#general-content .field-settings-help724{display:block;font-size:14px;line-height:1.6;margin:0 0 16px}
#general-content .field-settings-actions724{display:flex;justify-content:flex-end;margin-bottom:16px}
#general-content #field-catalog724 td{font-size:14px;vertical-align:middle}
#general-content #field-catalog724 td small{display:block;font-size:12px;color:#657990;margin-top:4px}
#general-content #field-create121{margin-top:20px;border:1px solid #d1dfec;border-radius:5px;padding:18px;background:#f7f9fc}
#general-content #field-create121[hidden]{display:none}
#general-content #field-create121 h3{font-size:16px;margin:0 0 12px}
#general-content #field-create121 p{font-size:14px;line-height:1.6;margin:0 0 16px}
#general-content #field-create121 label{display:block;font-size:14px;margin:0 0 16px}
#general-content #field-create121 .checkbox-label{display:flex;align-items:center;justify-content:space-between;gap:16px}
#general-content #field-create121 input[type=checkbox]{width:20px;height:20px;min-height:20px}
#general-content #field-create121 .field-create-actions121{display:flex;justify-content:flex-end;gap:12px}
@media(max-width:520px){#dialog.cash-modal722 .cash-row724{grid-template-columns:1fr}}

/* 4.725 — compact participant action menu with stable icon columns. */
html body #main .profile170 .actions-menu725>div{width:340px;min-width:0;max-width:calc(100vw - 32px);padding:4px 0;margin-top:6px;max-height:min(620px,calc(100dvh - 120px));overflow-y:auto;border:1px solid #ccd9e7;border-radius:5px;box-shadow:0 8px 24px #173c6020;background:#fff}
html body #main .profile170 .actions-menu725 .action-section175{padding:3px 0 5px;margin:0;border-color:#e1e8ef}
html body #main .profile170 .actions-menu725 .action-heading175{font-size:11px;font-weight:600;line-height:1.4;letter-spacing:.05em;padding:8px 16px 5px;margin:0;color:#657990}
html body #main .profile170 .actions-menu725 .action-row175{display:grid!important;grid-template-columns:20px minmax(0,1fr);align-items:center;justify-content:start!important;gap:10px!important;width:100%;min-height:40px;padding:8px 16px;margin:0;border:0;border-radius:0;white-space:normal;text-align:left!important;background:#fff;color:#173c60;font-family:inherit;font-size:14px;line-height:1.4}
html body #main .profile170 .actions-menu725 .action-row175:hover{background:#edf3f9}
html body #main .profile170 .actions-menu725 .action-icon175{display:flex;align-items:center;justify-content:center;width:20px;height:20px;padding:0;margin:0;border:0;border-radius:0;background:transparent!important;color:inherit!important}
html body #main .profile170 .actions-menu725 .action-icon175 svg{display:block;width:20px;height:20px;margin:0}
html body #main .profile170 .actions-menu725 .action-label175{display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:left;min-width:0}
html body #main .profile170 .actions-menu725 .action-label175 strong{font-size:14px;font-weight:500;line-height:1.4;color:inherit}
html body #main .profile170 .actions-menu725 .action-label175 small{font-size:12px;font-weight:400;color:#657990;line-height:1.4}
html body #main .profile170 .actions-menu725 .action-remove175{border-top:1px solid #e1e8ef;margin-top:3px;padding-top:10px;padding-bottom:10px;color:#a13245!important;background:#fff!important}
html body #main .profile170 .actions-menu725 .action-remove175:hover{background:#fff2f4!important}

/* 4.726 — participant birthday editor: two columns and a visible footer. */
#dialog.birthday-dialog726{width:min(1080px,calc(100vw - 32px));max-width:1080px;max-height:90dvh;padding:0!important;overflow:hidden}
#dialog.birthday-dialog726 #dialog-body{display:flex;flex-direction:column;max-height:90dvh;padding:0;overflow:hidden}
#dialog.birthday-dialog726 .modal-head446{flex:0 0 auto;margin:0}
#dialog.birthday-dialog726 #dialog-close{display:none!important}
#dialog.birthday-dialog726 .message-editor685{display:flex;flex-direction:column;min-height:0;padding:0;overflow:hidden}
#dialog.birthday-dialog726 .message-editor685>.panel{display:flex;flex-direction:column;min-height:0;padding:0!important;margin:0!important;width:100%;border:0}
#dialog.birthday-dialog726 .birthday-form726{display:flex;flex-direction:column;min-height:0;max-height:calc(90dvh - 84px);margin:0}
#dialog.birthday-dialog726 .birthday-scroll726{overflow-y:auto;min-height:0;padding:22px 24px}
#dialog.birthday-dialog726 .birthday-layout726{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px}
#dialog.birthday-dialog726 .birthday-layout726 h3{font-size:16px;font-weight:600;line-height:1.5;color:#173c60;margin:0 0 14px}
#dialog.birthday-dialog726 .birthday-greeting107{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:#fff!important}
#dialog.birthday-dialog726 .participant-birthday-options107{padding:0!important;margin:0 0 16px!important;background:transparent!important;border:0}
#dialog.birthday-dialog726 .birthday-form726 .program-toggle141{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:50px;margin:0!important;padding:10px 12px;background:#f5f8fb;border-bottom:1px solid #e1e8f0;font-size:14px;font-weight:400}
#dialog.birthday-dialog726 .birthday-form726 .program-toggle141 input{appearance:none;width:42px;min-width:42px;height:24px;min-height:24px;margin:0;padding:0;border:0;border-radius:20px;background:#b6c2ce;position:relative;cursor:pointer}
#dialog.birthday-dialog726 .program-toggle141 input:before{content:'';position:absolute;width:18px;height:18px;top:3px;left:3px;background:#fff;border-radius:50%;transition:transform .15s}
#dialog.birthday-dialog726 .program-toggle141 input:checked{background:#27859b}
#dialog.birthday-dialog726 .program-toggle141 input:checked:before{transform:translateX(18px)}
#dialog.birthday-dialog726 .program-toggle141 input:focus-visible{outline:2px solid #245d9c;outline-offset:3px}
#dialog.birthday-dialog726 .birthday-form726 label{font-size:14px;margin:0 0 14px}
#dialog.birthday-dialog726 .birthday-form726 :is(select,input:not([type=checkbox]),textarea){font:inherit;font-size:14px;font-weight:400;min-height:44px}
#dialog.birthday-dialog726 .birthday-form726 textarea{min-height:170px;resize:vertical}
#dialog.birthday-dialog726 .birthday-help726,#dialog.birthday-dialog726 .birthday-eligibility107{font-size:13px;line-height:1.6;color:#536679;padding:0!important;margin:0 0 12px!important;border:0!important;background:none!important}
#dialog.birthday-dialog726 .birthday-extra726{margin-top:18px;padding-top:14px;border-top:1px solid #d7e2ee;font-size:13px;line-height:1.6;color:#536679}
#dialog.birthday-dialog726 .birthday-extra726 summary{cursor:pointer;font-weight:600;color:#173c60}
#dialog.birthday-dialog726 .birthday-extra726 p{font-size:13px;margin:10px 0}
#dialog.birthday-dialog726 .birthday-footer726{display:flex;align-items:center;gap:12px;flex:0 0 auto;margin:0!important;padding:16px 24px!important;border-top:1px solid #d7e2ee;background:#fff!important}
#dialog.birthday-dialog726 .birthday-footer726 [data-message-close685]{margin-right:auto}
#dialog.birthday-dialog726 .birthday-footer726 button{min-height:44px;margin:0;font-size:14px;white-space:nowrap}
#dialog.birthday-dialog726 .birthday-footer726 [role=status]{font-size:13px;line-height:1.5;max-width:40%;margin:0}
#dialog.birthday-dialog726 .birthday-footer726 [role=status]:empty{display:none}
@media(max-width:760px){#dialog.birthday-dialog726 .birthday-layout726{grid-template-columns:1fr;gap:20px}#dialog.birthday-dialog726 .birthday-scroll726{padding:18px}#dialog.birthday-dialog726 .birthday-footer726{padding:14px 18px!important;flex-wrap:wrap}#dialog.birthday-dialog726 .birthday-footer726 [role=status]{max-width:100%;order:3;width:100%}}

/* 4.727 — one company location catalog with user-defined sections. */
#location-settings727{min-width:0;width:100%}
#location-settings727 .locations-help727{font-size:14px;line-height:1.6;margin:0 0 16px;color:#536679}
.locations-tools727,.locations-actions727{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.locations-tools727{margin:0 0 18px}
.locations-actions727 button,.locations-tools727 button{min-height:44px;font-size:14px}
#location-settings727>details{width:100%;margin:0 0 18px;border:1px solid #d1dfec;border-radius:5px;overflow:hidden;background:#fff}
#location-settings727>details>summary{display:grid;grid-template-columns:minmax(0,1fr) 22px;gap:4px 16px;padding:16px 20px;min-height:90px;cursor:pointer;background:#173c60;color:#fff;list-style:none}
#location-settings727>details>summary h3{display:flex;align-items:center;gap:12px;font-size:16px;margin:0;color:#fff}
#location-settings727>details>summary small{grid-column:1;font-size:13px;color:#dce8f5;padding-left:34px}
#location-settings727>details>summary:after{content:'⌄';grid-column:2;grid-row:1/3;align-self:center}
#location-settings727>details[open]>summary:after{content:'⌃'}
#location-settings727>details>summary::-webkit-details-marker{display:none}
#location-settings727 .settings-icon66 svg{width:22px;height:22px}
#location-settings727 section.settings-panel66{padding:20px;margin:0;border:0}
#location-settings727 td{font-size:14px;vertical-align:middle}
#location-settings727 th:first-child,#location-settings727 td:first-child{text-align:left}
#location-settings727 th:not(:first-child),#location-settings727 td:not(:first-child){text-align:center}
.locations-group-actions727{display:flex;justify-content:flex-end;padding:8px}
@media(max-width:650px){#location-settings727 .locations-tools727{align-items:stretch;flex-direction:column}#location-settings727 section.settings-panel66{padding:14px}}

#location-settings727 .location-section-delete729{color:#a13245;border-color:#d7a7b1;background:#fff}
#location-settings727 .location-section-delete729:hover{background:#fff2f4}

/* 4.733: section-specific location actions in the navy header. */
#location-settings727>details>summary{grid-template-columns:minmax(0,1fr) auto 20px;column-gap:16px}
#location-settings727>details>summary:after{grid-column:3}
#location-settings727>details>summary .location-add733{grid-column:2;grid-row:1/3;align-self:center;display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0;background:#fff;color:#173c60;border:1px solid #d3dfec;border-radius:6px;min-height:40px;padding:8px 14px;font-size:14px;font-weight:600;white-space:nowrap}
#location-settings727>details>summary .location-add733:hover{background:#eaf2fa}
#location-settings727>details>summary .location-add733 svg{width:18px;height:18px}
@media(max-width:650px){#location-settings727>details>summary{grid-template-columns:minmax(0,1fr) 20px}#location-settings727>details>summary:after{grid-column:2;grid-row:1/3}#location-settings727>details>summary .location-add733{grid-column:1/-1;grid-row:3;justify-self:end;margin-top:10px}}

/* 4.734: override common settings grids so actions have their own column. */
html body #main.design249[data-design-role249="admin"] #general-content #location-settings727>details>summary{display:grid!important;grid-template-columns:minmax(0,1fr) max-content 20px!important;grid-template-rows:auto auto!important;gap:4px 16px!important;align-items:center!important}
html body #main.design249[data-design-role249="admin"] #general-content #location-settings727>details>summary>h3{grid-column:1!important;grid-row:1!important;min-width:0}
html body #main.design249[data-design-role249="admin"] #general-content #location-settings727>details>summary>small{grid-column:1!important;grid-row:2!important}
html body #main.design249[data-design-role249="admin"] #general-content #location-settings727>details>summary>.location-add733{grid-column:2!important;grid-row:1/3!important;width:auto!important;min-width:190px!important;max-width:none!important;height:44px!important;box-sizing:border-box;flex-shrink:0;overflow:visible!important;text-transform:none;letter-spacing:0}
html body #main.design249[data-design-role249="admin"] #general-content #location-settings727>details>summary:after{display:block!important;grid-column:3!important;grid-row:1/3!important;position:static!important;width:20px;justify-self:end}
#general-content[data-settings-page="locations"] #settings-page-bar123{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 20px;padding:0;border:0;background:transparent}
html body #main #general-content[data-settings-page="locations"] #settings-page-bar123 .location-section-add734{background:#245d9c!important;border-color:#245d9c!important;color:#fff!important;min-height:44px;font-size:14px;padding:10px 16px;margin-left:auto}
html body #main #general-content[data-settings-page="locations"] #settings-page-bar123 .location-section-add734:hover{background:#1d4d83!important}
@media(max-width:650px){html body #main.design249[data-design-role249="admin"] #general-content #location-settings727>details>summary{grid-template-columns:minmax(0,1fr) 20px!important}html body #main.design249[data-design-role249="admin"] #general-content #location-settings727>details>summary>.location-add733{grid-column:1/-1!important;grid-row:3!important;justify-self:end;margin-top:10px}html body #main.design249[data-design-role249="admin"] #general-content #location-settings727>details>summary:after{grid-column:2!important}}

#dialog.location-editor736{width:min(680px,calc(100vw - 32px));max-height:90dvh;padding:0}
#dialog.location-editor736 #dialog-body{padding:0}
#dialog.location-editor736 #dialog-close{display:none!important}
#dialog.location-editor736 #location-form727{padding:22px 24px;margin:0}
#dialog.location-editor736 .location-fields736{display:grid;grid-template-columns:minmax(110px,1fr) minmax(0,2fr);gap:16px}
#dialog.location-editor736 .location-full736{grid-column:1/-1}
#dialog.location-editor736 label{display:flex;flex-direction:column;gap:7px;margin:0;font-size:14px;font-weight:600;color:#173c60}
#dialog.location-editor736 input,#dialog.location-editor736 select{width:100%;min-width:0;box-sizing:border-box;height:44px;font:inherit;font-weight:400}
#dialog.location-editor736 .location-footer736{display:flex;justify-content:flex-end;gap:10px;margin-top:22px;padding-top:18px;border-top:1px solid #d5e1ed}
#dialog.location-editor736 [role=alert]:empty{display:none}
#location-settings727 .location-delete736{color:#a13245;border-color:#d7a7b1;background:#fff}
#location-settings727 .location-delete736:hover{background:#fff2f4}
@media(max-width:480px){#dialog.location-editor736 .location-fields736{grid-template-columns:1fr}#dialog.location-editor736 #location-form727{padding:18px}}

#section-layout-form737{padding:22px 24px}
#section-layout-form737>p{font-size:14px;line-height:1.5;color:#536679;margin:0 0 18px}
#section-layout-list737{display:grid;gap:10px}
.section-order-row737{display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;gap:8px;align-items:center;border:1px solid #d1dfec;border-radius:5px;padding:10px 12px}
#dialog.location-editor736 .section-order-row737 label{flex-direction:row;align-items:center;gap:12px}
#dialog.location-editor736 .section-order-row737 input{width:18px;height:18px;flex-shrink:0;accent-color:#245d9c}
.section-order-row737 button{width:44px;min-height:40px;font-size:20px}
#general-content[data-settings-page="locations"] #settings-page-bar123 .section-layout737{margin-left:auto;min-height:44px}
html body #main #general-content[data-settings-page="locations"] #settings-page-bar123 .location-section-add734{margin-left:0}

/* 4.738: remove inherited negative header margins; keep content inside the dialog. */
html body #dialog.location-editor736{width:min(680px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;box-sizing:border-box;overflow-x:hidden!important;overflow-y:auto;padding:0!important}
html body #dialog.location-editor736>#dialog-body{width:100%!important;min-width:0!important;max-width:100%;box-sizing:border-box;padding:0!important;overflow-x:hidden!important}
html body #dialog.location-editor736 .modal-head446{display:flex!important;align-items:center!important;gap:12px!important;margin:0!important;padding:16px 22px!important;min-height:64px;height:auto;box-sizing:border-box;width:100%;max-width:100%;border-radius:0}
html body #dialog.location-editor736 .modal-head446 h2{min-width:0;flex:1;margin:0!important;line-height:1.4!important;overflow-wrap:anywhere;font-size:16px!important}
html body #dialog.location-editor736 .modal-head446>button{margin:0 0 0 auto!important;flex:0 0 32px;width:32px;height:32px;padding:0!important;align-self:center}
html body #dialog.location-editor736 :is(#location-form727,#section-layout-form737,#location-section-form727){width:100%;min-width:0;max-width:100%;box-sizing:border-box;margin:0!important;padding:20px 24px!important}
html body #dialog.location-editor736 .location-footer736{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;padding:18px 0 0!important;margin:20px 0 0!important;background:transparent!important;border-top:1px solid #d5e1ed;min-width:0;flex-wrap:wrap}
html body #dialog.location-editor736 .location-footer736 button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px!important;height:44px!important;box-sizing:border-box;padding:10px 16px!important;margin:0!important;font-size:14px!important;line-height:22px!important}
html body #dialog.location-editor736 #section-layout-list737,html body #dialog.location-editor736 .section-order-row737{min-width:0;max-width:100%;box-sizing:border-box}
html body #dialog.location-editor736 .section-order-row737 label{min-width:0;overflow-wrap:anywhere}
#settings-page-bar123 .section-layout737{display:inline-flex;align-items:center;justify-content:center;gap:8px}
#settings-page-bar123 .section-layout737>svg{width:18px;height:18px;flex:0 0 18px}
@media(max-width:480px){html body #dialog.location-editor736 :is(#location-form727,#section-layout-form737,#location-section-form727){padding:18px!important}html body #dialog.location-editor736 .modal-head446{padding:14px 18px!important}}

html body #dialog.location-delete-dialog739{width:min(560px,calc(100vw - 32px))!important;position:fixed;inset:0;margin:auto!important}
#location-delete-form739{padding:22px 24px;box-sizing:border-box;min-width:0}
#location-delete-form739>p{font-size:14px;line-height:1.6;margin:0 0 12px;overflow-wrap:anywhere}
#location-delete-form739 [role=alert]{color:#a13245}
html body #dialog.location-editor736 .location-confirm-delete739{background:#a13245!important;border-color:#a13245!important;color:#fff!important}
html body #dialog.location-editor736 .location-confirm-delete739:hover{background:#86293a!important}

#dialog.approval-modal401 [data-save-decision-template740]{margin-right:auto}#dialog.approval-modal401 [data-template-result740]{font-size:13px;max-width:240px;line-height:1.4;color:#173c60}#dialog.approval-modal401 [data-template-result740]:empty{display:none}

/* 4.742: room list columns and one action footer. */
html body #dialog.location-rooms742 .location-rooms413{display:flex;flex-direction:column;gap:10px;padding:20px 22px!important}
#dialog.location-rooms742 .location-room-help742{margin:0 0 6px;font-size:14px;line-height:1.5;color:#536679}
html body #dialog.location-rooms742 .location-room413{margin:0!important}
html body #dialog.location-rooms742 .location-room-head413{display:grid!important;grid-template-columns:minmax(0,1fr) 90px 100px 100px;gap:12px;align-items:center;padding:12px 14px;min-height:60px;box-sizing:border-box}
#dialog.location-rooms742 .location-room-head413>strong{min-width:0;font-size:14px;overflow-wrap:anywhere}
#dialog.location-rooms742 .location-room-area742{text-align:center;white-space:nowrap;font-size:14px;color:#173c60;font-variant-numeric:tabular-nums}
#dialog.location-rooms742 .location-room-status742{justify-self:center;background:#e0eee8;color:#285c48;border-radius:4px;padding:5px 8px;font-size:12px;line-height:18px;white-space:nowrap}
#dialog.location-rooms742 .location-room-status742.is-inactive742{background:#e6eaf0;color:#596777}
#dialog.location-rooms742 .location-room-status742[hidden]{display:none!important}
html body #dialog.location-rooms742 .application-card399>footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 22px}
html body #dialog.location-rooms742 .application-card399>footer button{margin:0!important;min-height:44px;box-sizing:border-box}
@media(max-width:600px){html body #dialog.location-rooms742 .location-room-head413{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}#dialog.location-rooms742 .location-room-head413>strong{grid-column:1;grid-row:1}#dialog.location-rooms742 .location-room-area742{grid-column:1;grid-row:2;text-align:left}#dialog.location-rooms742 .location-room-status742{grid-column:2;grid-row:2;justify-self:end}#dialog.location-rooms742 .location-room-head413>button{grid-column:2;grid-row:1}}

html body #dialog.rejection-editor744{width:min(740px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;padding:0!important;box-sizing:border-box;max-height:90dvh;overflow-x:hidden}
#dialog.rejection-editor744 #dialog-body{padding:0!important;min-width:0}
#dialog.rejection-editor744 #dialog-close{display:none!important}
#dialog.rejection-editor744 .modal-head446{margin:0!important;padding:16px 22px!important;box-sizing:border-box;width:100%;min-height:64px}
#dialog.rejection-editor744 .modal-head446 h2{min-width:0;flex:1;margin:0;font-size:16px;overflow-wrap:anywhere}
#dialog.rejection-editor744 .message-editor685{padding:20px 24px!important}
#dialog.rejection-editor744 .message-editor685>.panel{padding:0!important;margin:0!important;border:0!important}
#dialog.rejection-editor744 .panel>p{margin:0 0 14px;font-size:14px;line-height:1.5}
#dialog.rejection-editor744 #rejection-settings634>p.muted{font-size:13px;margin:0 0 18px}
#dialog.rejection-editor744 textarea{min-height:180px;box-sizing:border-box;max-width:100%}
#dialog.rejection-editor744 :is(.rejection-tokens744,.message-preview685){margin:16px 0 0;padding:12px 14px;border:1px solid #d5e1ed;border-radius:5px}
.rejection-tokens744 dl{margin:12px 0 0}.rejection-tokens744 dl>div{display:grid;grid-template-columns:130px 1fr;gap:12px;padding:5px 0;font-size:13px}.rejection-tokens744 dd{margin:0}.rejection-tokens744 dt{color:#173c60}
#dialog.rejection-editor744 .rejection-footer744{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:20px 0 0;padding:18px 0 0;border-top:1px solid #d5e1ed;background:transparent}
#dialog.rejection-editor744 .rejection-footer744 button{height:44px;min-height:44px;margin:0!important;padding:10px 16px;box-sizing:border-box;font-size:14px}
#dialog.rejection-editor744 .rejection-footer744 [role=status]{margin-right:auto;font-size:13px}
#dialog.rejection-editor744 .rejection-footer744 [role=status]:empty{display:none}

#builtin-permissions745{padding:22px 24px}#dialog.location-editor736 #builtin-permissions745 .checkbox-label{display:flex;flex-direction:row;justify-content:space-between;align-items:center}#dialog.location-editor736 #builtin-permissions745 input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#245d9c}

#builtin-permissions745>label{margin-bottom:16px!important}#builtin-permissions745>p{font-size:13px;line-height:1.5;margin:18px 0 12px}#builtin-permissions745 .field-options747{border:1px solid #d5e1ed;border-radius:5px;padding:14px;margin:16px 0}#builtin-permissions745 .field-options747 h3{margin:0 0 10px;font-size:14px}#builtin-permissions745 .field-options747 label{margin-top:10px}#builtin-permissions745 .field-options747 p{font-size:13px}#dialog.location-editor736 #builtin-permissions745 textarea{box-sizing:border-box;width:100%;font:inherit;font-weight:400}

/* 4.748: explanation and add action share one toolbar. */
#main .field-settings-toolbar748{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 16px}
#main .field-settings-toolbar748 .field-settings-help724{flex:1;min-width:0;margin:0!important;padding:0;font-size:14px;line-height:1.5}
#main .field-settings-toolbar748 .field-settings-actions724{flex:0 0 auto;margin:0!important;padding:0}
#main .field-settings-toolbar748 button{margin:0!important;min-height:44px;white-space:nowrap}
#main [data-settings-group644="fields"] .settings-panel66{padding:20px 24px!important}
#main #field-catalog724>.table-wrap{margin:0}
@media(max-width:760px){#main .field-settings-toolbar748{align-items:flex-start;flex-wrap:wrap;gap:12px}#main .field-settings-toolbar748 .field-settings-actions724{margin-left:auto!important}}

/* 4.749: participant values with a fixed header/footer and optional history. */
html body #dialog.other-data749{width:min(820px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:90dvh!important;padding:0!important;overflow:hidden!important;box-sizing:border-box}
html body #dialog.other-data749[open]{display:flex;flex-direction:column}
html body #dialog.other-data749>#dialog-body{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0!important;width:100%;box-sizing:border-box}
#dialog.other-data749>#dialog-close{display:none!important}
html body #dialog.other-data749 .modal-head446{margin:0!important;padding:16px 22px!important;flex:0 0 auto;min-height:64px;width:100%;box-sizing:border-box}
#dialog.other-data749 .modal-head446 h2{min-width:0;flex:1;font-size:16px!important;margin:0!important;overflow-wrap:anywhere}
html body #dialog.other-data749 #participant-other99{display:flex!important;flex-direction:column!important;min-height:0;overflow:hidden;gap:0!important;margin:0!important;padding:0!important}
#dialog.other-data749 .other-scroll749{overflow-y:auto;min-height:0;padding:22px 24px;overscroll-behavior:contain}
#dialog.other-data749 .other-current749{display:grid;grid-template-columns:1fr 1fr;gap:18px 24px;align-items:center}
#dialog.other-data749 .other-current749 section{padding:0;margin:0;border:0;background:transparent}
#dialog.other-data749 .other-card749 label{margin:0;font-size:14px;display:flex;flex-direction:column;gap:7px}
#dialog.other-data749 .other-image749 .checkbox-label{margin:0;display:flex;align-items:center;gap:10px;font-size:14px}
#dialog.other-data749 .other-level749{grid-column:1/-1;display:flex;flex-direction:column;gap:6px;padding-top:16px!important;border-top:1px solid #d5e1ed!important;font-size:14px}
#dialog.other-data749 .other-level749 small{color:#596d82;font-size:13px}
#dialog.other-data749 .other-extra749{margin-top:20px;padding-top:18px;border-top:1px solid #d5e1ed}
#dialog.other-data749 .other-extra749 h3{margin:0 0 14px;font-size:15px}
#dialog.other-data749 .other-history749{margin-top:20px;border:1px solid #d5e1ed;border-radius:5px;padding:12px 14px;background:#f6f8fb}
#dialog.other-data749 .other-history749 summary{cursor:pointer;font-size:14px;font-weight:600;color:#173c60}
#dialog.other-data749 .other-history749>p{font-size:13px;color:#596d82;margin:12px 0}
#dialog.other-data749 .other-history749 .custom-row100{margin:10px 0 0;padding:12px;background:white}
#dialog.other-data749 .other-footer749{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:0 0 auto;margin:0;padding:14px 24px;border-top:1px solid #d5e1ed;background:#edf2f8;flex-wrap:wrap}
#dialog.other-data749 .other-footer749 button{width:auto!important;height:44px;min-height:44px;margin:0!important;font-size:14px;padding:10px 16px;box-sizing:border-box}
#dialog.other-data749 .other-footer749 [role=alert]{margin:0 auto 0 0;font-size:13px;color:#a13245}
#dialog.other-data749 .other-footer749 [role=alert]:empty{display:none}
@media(max-width:600px){#dialog.other-data749 .other-current749{grid-template-columns:1fr}#dialog.other-data749 .other-scroll749{padding:18px}#dialog.other-data749 .other-footer749{padding:14px 18px}}

/* 4.752: four SMS offers fit in the administrator catalogue. */
html body #dialog.sms-catalog711{width:min(1400px,calc(100vw - 40px))!important;max-width:calc(100vw - 40px)!important;max-height:92dvh!important;box-sizing:border-box;overflow-x:hidden}
html body #dialog.sms-catalog711 #dialog-body{min-width:0;max-width:100%;box-sizing:border-box}
html body #dialog.sms-catalog711 .sms-plans-grid711{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px;width:100%;min-width:0}
#dialog.sms-catalog711 .plan-card483{min-width:0;box-sizing:border-box}
html body #dialog.sms-catalog711 .plan-card483>h2{min-height:64px;padding:12px;font-size:18px;box-sizing:border-box}
html body #dialog.sms-catalog711 .plan-body483{padding:14px}
html body #dialog.sms-catalog711 .plan-price483{margin:16px 0 12px}
html body #dialog.sms-catalog711 .plan-price483 strong{font-size:28px;white-space:nowrap}
html body #dialog.sms-catalog711 .plan-limit483{padding:9px 8px;font-size:13px}
html body #dialog.sms-catalog711 .plan-monthly555{min-height:0;padding:10px 8px;margin:0 0 10px}
html body #dialog.sms-catalog711 .plan-status483{min-height:0;padding-top:12px}
@media(max-width:1100px){html body #dialog.sms-catalog711 .sms-plans-grid711{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:560px){html body #dialog.sms-catalog711{width:calc(100vw - 24px)!important;max-width:calc(100vw - 24px)!important;padding:16px!important}html body #dialog.sms-catalog711 .sms-plans-grid711{grid-template-columns:minmax(0,1fr)!important}}

html body #dialog.sms-buy753{width:min(960px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:90dvh!important;padding:0!important;overflow:hidden!important;box-sizing:border-box}
#dialog.sms-buy753[open],#dialog.sms-buy753>#dialog-body{display:flex;flex-direction:column;min-height:0}
#dialog.sms-buy753>#dialog-body{padding:0!important;overflow:hidden}
#dialog.sms-buy753>#dialog-close{display:none!important}
#dialog.sms-buy753 .modal-head446{margin:0!important;padding:16px 22px!important;min-height:64px;box-sizing:border-box;flex-shrink:0}
#dialog.sms-buy753 .modal-head446 h2{flex:1;min-width:0;margin:0;font-size:16px}
#sms-buy685{display:flex;flex-direction:column;min-height:0;margin:0!important;overflow:hidden;gap:0!important}
.sms-buy-scroll753{overflow-y:auto;min-height:0;padding:20px 24px}
.sms-balance753{margin:0 0 12px;font-size:14px}.sms-buy-note753{padding:12px 14px;background:#edf4fb;border-left:3px solid #83a7ca;font-size:14px;margin:0 0 18px}
.sms-pack-choices753{border:0;padding:0;margin:0 0 18px;min-width:0}.sms-pack-choices753 legend{font-size:14px;font-weight:600;margin-bottom:10px}.sms-pack-choices753>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
#dialog.sms-buy753 .sms-pack-choice753{display:flex;gap:8px;align-items:flex-start;border:1px solid #cbd9e8;border-radius:5px;padding:14px 10px;margin:0;cursor:pointer;min-width:0;box-sizing:border-box}
.sms-pack-choice753:has(input:checked){background:#edf4fb;border-color:#245d9c;box-shadow:inset 0 0 0 1px #245d9c}.sms-pack-choice753 input{margin-top:3px;accent-color:#245d9c;flex-shrink:0}.sms-pack-choice753>span{display:flex;flex-direction:column;gap:8px;min-width:0}.sms-pack-choice753 strong{font-size:14px}.sms-pack-choice753 b{font-size:22px;color:#173c60}.sms-pack-choice753 small{font-size:12px;color:#596d82}
.sms-buy-summary753{display:flex;justify-content:space-between;gap:20px;padding:16px;background:#f4f7fb;border:1px solid #d5e1ed;border-radius:5px}.sms-buy-summary753>div{display:flex;flex-direction:column;gap:6px}.sms-buy-summary753>div:last-child{text-align:right}.sms-buy-summary753 span{font-size:13px;color:#596d82}.sms-buy-summary753 strong{font-size:18px;color:#173c60}
.sms-buy-method753{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0;font-size:14px}.sms-buy-consent753{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.5}.sms-buy-consent753 input{flex-shrink:0;margin-top:4px}.sms-parts753{font-size:13px;color:#596d82;margin:14px 0}
.sms-buy-history753{border-top:1px solid #d5e1ed;padding-top:14px;font-size:14px}.sms-buy-history753 summary{cursor:pointer;font-weight:600}.sms-buy-history753 .table-wrap{margin-top:12px}
.sms-buy-footer753{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:14px 24px;border-top:1px solid #d5e1ed;background:#edf2f8;flex-shrink:0}.sms-buy-footer753 [role=status]{margin:0 auto 0 0;max-width:48%;font-size:13px;line-height:1.5}.sms-buy-footer753 [role=status]:empty{display:none}#dialog.sms-buy753 .sms-buy-footer753 button{margin:0!important;height:44px;min-height:44px;font-size:14px;padding:10px 16px;box-sizing:border-box}
@media(max-width:760px){.sms-pack-choices753>div{grid-template-columns:repeat(2,minmax(0,1fr))}.sms-buy-method753{align-items:flex-start;flex-direction:column}.sms-buy-footer753 [role=status]{max-width:100%;width:100%}}
@media(max-width:420px){.sms-buy-scroll753{padding:16px}.sms-pack-choice753 b{font-size:19px}.sms-buy-footer753{padding:14px 16px}.sms-buy-summary753{flex-wrap:wrap}}

html body #dialog.instructor-ledger-dialog755{width:min(1100px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:90dvh!important;padding:0!important;overflow:hidden!important;box-sizing:border-box}
#dialog.instructor-ledger-dialog755[open],#dialog.instructor-ledger-dialog755>#dialog-body,#dialog.instructor-ledger-dialog755 .instructor-ledger113{display:flex;flex-direction:column;min-height:0;overflow:hidden}
#dialog.instructor-ledger-dialog755>#dialog-body{padding:0!important}
#dialog.instructor-ledger-dialog755>#dialog-close{display:none!important}
#dialog.instructor-ledger-dialog755 .instructor-ledger113{margin:0;padding:0}
html body #dialog.instructor-ledger-dialog755 .ledger-head755{display:flex;align-items:center;gap:12px;flex:0 0 auto;background:#173c60;color:#fff;margin:0;padding:16px 22px;min-height:76px;box-sizing:border-box}
#dialog.instructor-ledger-dialog755 .ledger-head755>svg{width:22px;height:22px;flex:0 0 22px;color:#fff}
#dialog.instructor-ledger-dialog755 .ledger-head755>div{min-width:0;flex:1}
html body #dialog.instructor-ledger-dialog755 .ledger-head755 h2{font-size:16px!important;line-height:1.4;margin:0!important;padding:0!important;border:0!important;color:#fff!important}
#dialog.instructor-ledger-dialog755 .ledger-head755 p{font-size:13px;color:#dce8f5;margin:5px 0 0;line-height:1.4}
#dialog.instructor-ledger-dialog755 .ledger-head755>button{margin:0!important;width:32px;height:32px;flex:0 0 32px;padding:0!important;font-size:26px;line-height:1}
#dialog.instructor-ledger-dialog755 .ledger-scroll755{min-height:0;overflow-y:auto;padding:18px 22px;overscroll-behavior:contain}
#dialog.instructor-ledger-dialog755 #ledger-period113{margin-top:0!important}
@media(max-width:650px){#dialog.instructor-ledger-dialog755 .ledger-scroll755{padding:16px}html body #dialog.instructor-ledger-dialog755 .ledger-head755{padding:14px 16px}}

html body #dialog.template-dialog758{width:min(940px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:90dvh!important;padding:0!important;overflow:hidden!important;box-sizing:border-box}
#dialog.template-dialog758[open],#dialog.template-dialog758>#dialog-body{display:flex;flex-direction:column;min-height:0;overflow:hidden}
#dialog.template-dialog758>#dialog-body{padding:0!important}
#dialog.template-dialog758>#dialog-close{display:none!important}
#dialog.template-dialog758 .modal-head446{margin:0!important;padding:16px 22px!important;min-height:64px;box-sizing:border-box;flex-shrink:0}
#dialog.template-dialog758 .modal-head446 h2{min-width:0;flex:1;margin:0!important;font-size:16px}
#dialog.template-dialog758 .message-editor685{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:0!important}
#dialog.template-dialog758 .message-editor685>.panel{display:flex;flex-direction:column;min-height:0;overflow:hidden;border:0!important;margin:0!important;padding:0!important}
#dialog.template-dialog758 .message-editor685>.panel>p{padding:16px 24px 0;margin:0!important;font-size:13px;line-height:1.5;flex-shrink:0}
#dialog.template-dialog758 form{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0!important;gap:0!important}
#dialog.template-dialog758 .template-scroll758{padding:16px 24px;overflow-y:auto;min-height:0}
#dialog.template-dialog758 label{margin-bottom:14px;font-size:14px}
#dialog.template-dialog758 textarea{height:240px;min-height:180px;width:100%;max-width:100%;box-sizing:border-box;font-size:14px;line-height:1.5}
.template-tokens758{margin:12px 0;font-size:13px;border:1px solid #d5e1ed;border-radius:5px;padding:10px 12px}.template-tokens758 summary{cursor:pointer;font-weight:600;color:#173c60}.template-tokens758 p{margin:10px 0 0;line-height:1.5}
#dialog.template-dialog758 .message-preview685{margin:12px 0 0}
#dialog.template-dialog758 .template-footer758{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:14px 24px;border-top:1px solid #d5e1ed;background:#edf2f8;flex-shrink:0}
#dialog.template-dialog758 .template-footer758 button{height:44px;min-height:44px;font-size:14px;padding:10px 16px;margin:0!important}
#dialog.template-dialog758 .template-footer758 button.primary{order:2}
#dialog.template-dialog758 .template-footer758 button:not(.primary){order:1}
#dialog.template-dialog758 .template-footer758 [role=status]{order:0;margin:0 auto 0 0;font-size:13px;max-width:45%}
#dialog.template-dialog758 .template-footer758 [role=status]:empty{display:none}
#dialog.recurring-modal418 .recurring-content418{gap:12px}
#dialog.recurring-modal418 .template-tokens758{margin:10px 0 0}
@media(min-width:900px) and (min-height:850px){#dialog.template-dialog758 textarea{height:280px}}
@media(max-height:760px){#dialog.template-dialog758 textarea{height:180px;min-height:140px}#dialog.template-dialog758 .template-scroll758{padding:12px 20px}#dialog.template-dialog758 label{margin-bottom:10px}}

.template-tokens758 dl{margin:10px 0 0}.template-tokens758 dl>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:12px;padding:4px 0}.template-tokens758 dd{margin:0}.template-tokens758 dt{font-weight:600}@media(max-width:500px){.template-tokens758 dl>div{grid-template-columns:1fr;gap:3px}}

/* 4.759: compact group labels and task decisions. */
html body #main .tasks-table .task-group-card311{display:inline-flex;flex-direction:column;align-items:center;justify-content:center;width:auto;max-width:100%;min-width:0;min-height:0;padding:7px 12px!important;margin:0!important;border-radius:4px;box-sizing:border-box;gap:3px}
html body #main .tasks-table .task-group-card311 strong{font-size:13px;line-height:1.4}
html body #main .tasks-table .task-group-card311 small{font-size:12px;line-height:1.4;margin:0}
html body #main .participant-groups97{display:flex;flex-direction:column;align-items:center;gap:6px}
html body #main .participant-groups97 .participant-group97{display:inline-flex;flex-direction:column;width:auto;max-width:100%;min-width:0;min-height:0;padding:6px 10px!important;margin:0!important;gap:2px;border-radius:4px;box-sizing:border-box}
html body #main .participant-groups97 .participant-group97 strong{font-size:13px;line-height:1.4}
html body #main .participant-groups97 .participant-group97 small{font-size:12px;line-height:1.4;margin:0}
.participant-more759{width:100%;font-size:13px}.participant-more759 summary{display:inline-block;padding:4px 8px;color:#245d9c;cursor:pointer;font-weight:600;border-radius:4px}.participant-more759 summary:hover{background:#edf4fb}.participant-more759>div{display:flex;align-items:center;flex-direction:column;gap:6px;margin-top:6px}
@media(min-width:1450px){html body #main .tasks-table th:nth-child(1){width:24%}html body #main .tasks-table th:nth-child(2){width:17%}html body #main .tasks-table th:nth-child(3){width:14%}html body #main .tasks-table th:nth-child(4){width:13%}html body #main .tasks-table th:nth-child(5){width:32%}html body #main .tasks-table .task-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px!important}html body #main .tasks-table .task-actions button{width:100%;min-width:0;white-space:normal;min-height:42px;padding:8px!important;margin:0!important;font-size:12px;line-height:1.4;gap:6px}html body #main .tasks-table .task-actions button svg{width:18px;height:18px;flex:0 0 18px}}

/* 4.760: compact reminder schedule; no unnecessary desktop scroll. */
html body #dialog.recurring-modal418:not(.compose-modal426){width:min(1200px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:94dvh!important;height:auto!important;box-sizing:border-box}
html body #dialog.recurring-modal418:not(.compose-modal426)>#dialog-body{max-height:94dvh!important}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-head418{min-height:64px!important;padding:14px 20px!important;box-sizing:border-box}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);padding:16px!important;gap:12px!important}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418>section{min-width:0;padding:14px!important;box-sizing:border-box}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418 h3{margin:0 0 10px!important;font-size:14px}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-fields418{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px!important;margin:0!important}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-days433{display:contents}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-days433>small{grid-column:1/-1;font-size:11px;line-height:1.3;margin:0}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418 label{gap:5px!important;margin:0!important;font-size:13px;min-width:0}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418 :is(input:not([type=checkbox]),select){height:40px!important;min-height:40px!important;padding:8px 10px!important;font-size:14px}
html body #dialog.recurring-modal418:not(.compose-modal426) textarea{height:205px!important;min-height:150px!important;resize:vertical;font-size:14px;line-height:1.45}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-summary433{margin-top:10px;padding:8px 10px;font-size:12px}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-target418{line-height:1.35;font-size:11px}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-info418{padding:8px 12px;margin:0}
html body #dialog.recurring-modal418:not(.compose-modal426) #recurring-form>footer{padding:12px 20px!important}
@media(max-width:750px){html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418{grid-template-columns:1fr}}
@media(min-width:900px) and (min-height:800px){html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418{overflow-y:visible}}

#general-content .communication-save761{display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:20px;padding-top:16px;border-top:1px solid #d5e1ed}
#general-content .communication-save761 [role=status]{margin:0 auto 0 0;font-size:13px;line-height:1.5}
#general-content .communication-save761 button{margin:0!important;height:44px;min-height:44px;box-sizing:border-box;font-size:14px;padding:10px 16px}
html body #main.design249[data-design-role249="admin"] #general-content [data-settings-group644="fields"] summary.settings-summary678{grid-template-columns:22px minmax(0,1fr) max-content 22px!important}
html body #main.design249[data-design-role249="admin"] #general-content [data-settings-group644="fields"] summary.settings-summary678:after{grid-column:4!important}
html body #main #general-content .field-add-header761{grid-column:3;grid-row:1;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:140px;width:auto;min-height:44px;margin:0!important;padding:10px 16px;background:#fff!important;color:#173c60!important;border:1px solid #d3dfec;border-radius:5px;font-size:14px;font-weight:600;white-space:nowrap}
#main .field-settings-toolbar748{margin-bottom:16px}
@media(max-width:650px){html body #main.design249[data-design-role249="admin"] #general-content [data-settings-group644="fields"] summary.settings-summary678{grid-template-columns:22px minmax(0,1fr) 22px!important}html body #main #general-content .field-add-header761{grid-column:2!important;grid-row:2!important;justify-self:start;margin-top:10px!important}html body #main.design249[data-design-role249="admin"] #general-content [data-settings-group644="fields"] summary.settings-summary678:after{grid-column:3!important}}

html body #dialog:is(.document-editor764,.season-editor764){width:min(1120px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:92dvh!important;padding:0!important;box-sizing:border-box;overflow:hidden!important}
html body #dialog.season-editor764{width:min(640px,calc(100vw - 32px))!important}
#dialog:is(.document-editor764,.season-editor764)[open],#dialog:is(.document-editor764,.season-editor764)>#dialog-body{display:flex;flex-direction:column;min-height:0;overflow:hidden}
#dialog:is(.document-editor764,.season-editor764)>#dialog-body{padding:0!important}
#dialog:is(.document-editor764,.season-editor764)>#dialog-close{display:none!important}
#dialog:is(.document-editor764,.season-editor764) .modal-head446{margin:0!important;padding:16px 22px!important;min-height:64px;box-sizing:border-box;flex-shrink:0}
#dialog:is(.document-editor764,.season-editor764) .modal-head446 h2{flex:1;min-width:0;margin:0;font-size:16px}
#dialog:is(.document-editor764,.season-editor764) form{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0!important;gap:0!important}
.document-scroll764{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:20px;padding:20px 24px;min-height:0;overflow-y:auto}
.document-scroll764>section{min-width:0;border:1px solid #d5e1ed;border-radius:5px;padding:16px}
#dialog.document-editor764 h3{margin:0 0 16px;font-size:15px;color:#173c60}
#dialog:is(.document-editor764,.season-editor764) label{display:flex;flex-direction:column;gap:6px;font-size:14px;margin:0 0 14px}
#dialog.document-editor764 label.checkbox-label{flex-direction:row;align-items:center;gap:10px;margin:14px 0}
.document-help764{font-size:13px;color:#596d82;line-height:1.5;margin:12px 0 0}
.document-attachment764{display:flex;flex-direction:column;gap:10px;background:#edf4fb;border:1px solid #d5e1ed;padding:14px;border-radius:5px;font-size:14px;overflow-wrap:anywhere}
.document-attachment764 a{align-self:flex-start}
#dialog.document-editor764 textarea{width:100%;height:230px;min-height:150px;box-sizing:border-box;font-size:14px;line-height:1.5}
#dialog.document-editor764 [hidden]{display:none!important}
.season-body764{padding:20px 24px}
.document-footer764{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:14px 24px;border-top:1px solid #d5e1ed;background:#edf2f8;flex-shrink:0}
#dialog .document-footer764 button{margin:0!important;height:44px;min-height:44px;padding:10px 16px;font-size:14px;box-sizing:border-box}
.document-footer764 [role=alert]{font-size:13px;color:#a13245;margin:0 auto 0 0;max-width:50%}.document-footer764 [role=alert]:empty{display:none}
@media(max-width:750px){.document-scroll764{grid-template-columns:1fr;padding:16px;gap:14px}.document-footer764{padding:14px 16px}.document-footer764 [role=alert]{max-width:100%}}

/* 4.765: online signup toggle gets a dedicated row below capacity. */
html body #dialog:is(.group-modal414,.group-edit289) label:has(input[name="online_open"]),html body #course-config242 label:has(input[name="online_open"]){grid-column:1/-1!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;align-self:start;gap:10px!important;min-height:40px;margin:4px 0 0!important;padding:10px 0 0!important;border-top:1px solid #d5e1ed;font-size:14px;line-height:1.5;box-sizing:border-box}
html body #dialog:is(.group-modal414,.group-edit289) input[name="online_open"],html body #course-config242 input[name="online_open"]{flex:0 0 18px;width:18px!important;height:18px!important;min-height:18px!important;margin:0!important;accent-color:#245d9c}

/* 4.766: stable group facts and secondary actions. */
#main.design249 .groups62-card{position:relative}
#main.design249 .groups62-card>h2{padding-right:42px}
html body #main.design249 .groups62-card .groups62-info-row:nth-child(1){grid-area:1/1}
html body #main.design249 .groups62-card .groups62-info-row:nth-child(2){grid-area:2/1}
html body #main.design249 .groups62-card .groups62-info-row:nth-child(3){grid-area:3/1}
html body #main.design249 .groups62-card .groups62-info-row:nth-child(4){grid-area:4/1}
html body #main.design249 .groups62-card .groups62-info-row:nth-child(5){grid-area:1/2}
html body #main.design249 .groups62-card .groups62-info-row:nth-child(6){grid-area:2/2}
html body #main.design249 .groups62-card .groups62-info-row:nth-child(7){grid-area:3/2}
html body #main.design249 .groups62-card .groups62-info-row:nth-child(8){grid-area:4/2}
html body #main.design249 .groups62-card .groups62-bottom .groups62-edit{background:#edf2f8!important;color:#173c60!important;border-color:#cbd9e8!important}
.group-menu766{position:absolute;right:20px;top:20px;z-index:2}
.group-menu766>summary{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid #cbd9e8;border-radius:5px;background:#fff;color:#173c60;font-size:22px;cursor:pointer;list-style:none}
.group-menu766>summary::-webkit-details-marker{display:none}
.group-menu766>div{position:absolute;right:0;top:38px;min-width:165px;padding:6px;background:#fff;border:1px solid #cbd9e8;border-radius:5px;box-shadow:0 6px 18px #173c6020}
html body #main.design249 .groups62-card .group-menu766 .group-delete197{display:flex!important;justify-content:flex-start!important;width:100%!important;margin:0!important;padding:10px!important;background:#fff!important;border:0!important;color:#a13245!important;white-space:nowrap}
@media(max-width:650px){html body #main.design249 .groups62-card .groups62-info-row:nth-child(n){grid-area:auto}}

/* 4.767: compact instructor message, one footer */
html body #dialog.instructor-message767{width:960px!important;max-width:calc(100vw - 32px)!important;max-height:92dvh!important;padding:0!important;overflow:hidden!important}
#dialog.instructor-message767 #dialog-close{display:none!important}
#dialog.instructor-message767 #dialog-body{padding:0!important;display:flex!important;flex-direction:column;max-height:92dvh;overflow:hidden}
#dialog.instructor-message767 .message-head767{display:flex;align-items:center;gap:12px;background:#173c60;color:#fff;padding:20px 24px;margin:0;flex:none}
#dialog.instructor-message767 .message-head767 h2{margin:0!important;padding:0!important;background:none!important;color:inherit!important;font-size:17px!important;flex:1}
#dialog.instructor-message767 .message-head767>svg{width:22px;height:22px;flex:none}
#dialog.instructor-message767 .message-head767 button{background:transparent!important;color:#fff!important;border:0!important;font-size:28px;margin:0}
#dialog.instructor-message767 form{display:flex;flex-direction:column;min-height:0;margin:0}
#dialog.instructor-message767 .message-scroll767{padding:22px 24px;overflow:auto;display:grid;gap:18px}
#dialog.instructor-message767 .instructor-message-contact115{background:#f4f7fb;border:1px solid #d5e1ed;color:#173c60;padding:12px 16px;gap:4px}
#dialog.instructor-message767 .form-grid{padding:0!important;background:none!important;border:0!important;grid-template-columns:minmax(130px,1fr) minmax(0,3fr);gap:16px}
#dialog.instructor-message767 textarea{min-height:180px;max-height:32dvh;resize:vertical;font:inherit}
#dialog.instructor-message767 .message-footer767{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 24px;margin:0;flex:none;border-top:1px solid #d5e1ed}
#dialog.instructor-message767 .message-footer767 p{margin:0 auto 0 0;font-size:14px}
#dialog.instructor-message767 .message-footer767 button{margin:0;min-height:44px}
@media(max-width:600px){#dialog.instructor-message767 .form-grid{grid-template-columns:1fr}#dialog.instructor-message767 .message-footer767{flex-wrap:wrap}}

/* 4.768: consistent instructor dialogs */
html body #dialog.instructor-modal403{width:940px!important;max-width:calc(100vw - 32px)!important}
#dialog.instructor-modal403 .instructor-content403{padding:20px 24px}
#dialog.instructor-modal403 .instructor-content403>.form-grid{border:0!important;background:none!important;padding:0!important;gap:16px 20px}
#dialog.instructor-modal403 .identity-fields662{border:0;background:none;padding:0;margin:0;display:grid;grid-template-columns:minmax(170px,1fr) minmax(0,2fr);gap:18px;align-items:start}
#dialog.instructor-modal403 .identity-fields662 legend{padding:0;margin-bottom:12px;font-size:15px}
#dialog.instructor-modal403 .identity-parts662{margin:0;gap:18px}
#dialog.instructor-modal403 .identity-review662{grid-column:1/-1;margin:0;font-size:12px;line-height:1.4}
#dialog.instructor-modal403 .instructor-activation757{margin:12px 0 0;font-size:13px;line-height:1.5}
#dialog.instructor-modal403 .instructor-permission403{margin-top:14px}
html body #dialog.recovery-modal486 .recovery-footer486{justify-content:flex-end!important;gap:10px}
#dialog.recovery-modal486 .recovery-footer486 button{margin:0!important}
#dialog.recovery-modal486 #admin-recovery-form{border:0!important;background:none!important;padding:0!important}
#dialog.recovery-modal486 #admin-recovery-form>p.muted{background:none!important;border:0!important;padding:0!important;font-size:13px;line-height:1.5;margin:14px 0 0}
#dialog.recovery-modal486 .recovery-selected{padding:12px 16px!important;margin:0 0 16px!important;line-height:1.5}
#dialog.instructor-ledger-dialog755 .instructor-ledger113{display:flex!important;flex-direction:column;min-height:0;gap:0}
#dialog.instructor-ledger-dialog755 .ledger-scroll755{flex:1;padding:16px 22px}
#dialog.instructor-ledger-dialog755 #ledger-period113{padding:0!important;background:none!important;border:0!important;margin:0 0 10px!important}
#dialog.instructor-ledger-dialog755 .ledger-period114{display:flex;align-items:flex-end;gap:14px;padding:0!important;background:none!important}
#dialog.instructor-ledger-dialog755 .ledger-period114>label{flex:1;padding:0!important;background:none!important;border:0!important;margin:0}
#dialog.instructor-ledger-dialog755 .ledger-period114 button{flex:none;margin:0}
#dialog.instructor-ledger-dialog755 .ledger-method113{margin:0 0 12px;font-size:13px;line-height:1.5}
#dialog.instructor-ledger-dialog755 .ledger-buckets113{gap:10px;margin-bottom:10px}
#dialog.instructor-ledger-dialog755 .ledger-bucket113{background:#f0f5fb!important;color:#173c60!important;padding:12px 16px;gap:4px}
#dialog.instructor-ledger-dialog755 .ledger-bucket113 strong{font-size:24px}
#dialog.instructor-ledger-dialog755 .ledger-total113{padding:12px 16px;margin-bottom:10px}
#dialog.instructor-ledger-dialog755 .ledger-warning113{padding:10px 12px;margin:10px 0;font-size:13px}
#dialog.instructor-ledger-dialog755 .ledger-footer768{flex:none;display:flex;justify-content:flex-end;padding:14px 22px;border-top:1px solid #d5e1ed}
#dialog.instructor-ledger-dialog755 .ledger-footer768 button{margin:0;min-height:44px}
#dialog.invitation-editor693 .approval-person401{padding:14px 16px}
#dialog.invitation-editor693 .approval-person401 small{display:block;margin-top:6px;overflow-wrap:anywhere}
#dialog.invitation-editor693 .approval-content401{grid-template-rows:auto auto minmax(0,1fr) auto!important}
#dialog.invitation-editor693 .approval-status401{grid-row:3!important}
#dialog.invitation-editor693 .approval-status401 details{margin-top:12px}
#dialog.invitation-editor693 .approval-message401{background:#fff!important}
@media(max-width:650px){#dialog.instructor-modal403 .identity-fields662{grid-template-columns:1fr}#dialog.instructor-ledger-dialog755 .ledger-period114{flex-wrap:wrap}#dialog.instructor-ledger-dialog755 .ledger-buckets113{grid-template-columns:1fr 1fr}}

@media(max-width:800px),(max-height:650px){#dialog.invitation-editor693 .approval-status401{grid-row:auto!important}#dialog.invitation-editor693 .approval-content401{grid-template-rows:none!important}}

/* 4.769: decisions in one centered column at every viewport size. */
html body #main .tasks-table .task-actions{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important;width:100%!important;max-width:250px!important;margin:0 auto!important}
html body #main .tasks-table .task-actions button{width:100%!important;min-width:0!important;min-height:44px!important;margin:0!important;box-sizing:border-box;justify-content:center;white-space:normal;line-height:1.4;font-size:14px;padding:9px 12px!important;gap:8px}
html body #main .tasks-table .task-actions button svg{width:18px;height:18px;flex:0 0 18px}
@media(min-width:1450px){html body #main .tasks-table th:nth-child(1){width:27%}html body #main .tasks-table th:nth-child(2){width:23%}html body #main .tasks-table th:nth-child(3){width:14%}html body #main .tasks-table th:nth-child(4){width:14%}html body #main .tasks-table th:nth-child(5){width:22%}}

/* 4.771: centered confirmation above the room editor. */
html body dialog.room-confirm771{position:fixed;inset:0;margin:auto;width:520px;max-width:calc(100vw - 32px);max-height:90dvh;padding:0;border:1px solid #c7d6e8;border-radius:6px;background:#fff;color:#173c60;overflow:auto;font-family:inherit;box-shadow:0 20px 60px #0b223b40}
dialog.room-confirm771::backdrop{background:#0b223b80}
dialog.room-confirm771>header{display:flex;align-items:center;gap:12px;padding:20px 24px;background:#173c60;color:#fff}
dialog.room-confirm771>header svg{width:22px;height:22px;flex:none}
dialog.room-confirm771>header h2{flex:1;font:inherit;font-size:17px;font-weight:700;margin:0;padding:0;border:0;color:#fff}
dialog.room-confirm771>header button{background:none;color:#fff;border:0;font-size:28px;margin:0;padding:0 4px}
dialog.room-confirm771 .room-confirm-body771{padding:22px 24px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}
dialog.room-confirm771 .room-confirm-body771 p{margin:0 0 12px}
dialog.room-confirm771 .room-confirm-body771 p:last-child{margin-bottom:0}
dialog.room-confirm771>footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 24px;border-top:1px solid #d5e1ed;background:#f0f3f7}
dialog.room-confirm771>footer button{min-height:44px;margin:0;padding:10px 16px;font:inherit;font-size:14px;border-radius:4px;border:1px solid #bdcfe2;background:#f4f7fb;color:#173c60}
dialog.room-confirm771>footer .room-delete771{background:#fff5f5;color:#a52c3a;border-color:#c4606b}
dialog.room-confirm771>footer .primary{background:#245d9c;color:#fff;border-color:#245d9c}

/* 4.772: one focused room creation form, one footer. */
#dialog.location-rooms742.room-create772 header h2 small{display:block;font-size:13px;font-weight:400;line-height:1.5;margin-top:4px;color:#dce8f5}
html body #dialog.location-rooms742 .location-room413[hidden],#dialog.location-rooms742 .location-room-help742[hidden]{display:none!important}
html body #dialog.location-rooms742.room-create772 .location-room413{border:0!important;background:none!important;padding:0!important}
html body #dialog.location-rooms742.room-create772 .location-room-head413{display:none!important}
html body #dialog.location-rooms742.room-create772 #room-create772{display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:20px;padding:0!important;background:none!important;border:0!important;margin:0!important}
#dialog.location-rooms742.room-create772 #room-create772>label{margin:0!important;padding:0!important;background:none!important;display:flex;flex-direction:column;gap:8px;font-size:14px}
#dialog.location-rooms742.room-create772 #room-create772 input{margin:0;min-height:44px;box-sizing:border-box;width:100%;font:inherit}
#dialog.location-rooms742.room-create772 #room-create772>div{display:none!important}
@media(max-width:600px){html body #dialog.location-rooms742.room-create772 #room-create772{grid-template-columns:1fr}}

/* 4.773: aligned room fields and secondary optional hint. */
html body #dialog.location-rooms742.room-create772 #room-create772{align-items:start!important}
#dialog.location-rooms742 .room-optional773{display:block;color:#536679;font-size:12px;font-weight:400;line-height:1.4;margin:0}

/* 4.775: isolate pack cards from generic form/label layouts. */
html body #dialog.sms-buy753{width:min(1100px,calc(100vw - 32px))!important}
html body #dialog.sms-buy753 .sms-buy-scroll753{padding:16px 22px;overflow-x:hidden;min-width:0;box-sizing:border-box}
html body #dialog.sms-buy753 .sms-pack-choices753{display:block!important;min-width:0!important;width:100%!important;box-sizing:border-box;padding:0!important;margin:0 0 14px!important;border:0!important}
html body #dialog.sms-buy753 .sms-pack-choices753>div{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;min-width:0;width:100%;box-sizing:border-box}
html body #dialog.sms-buy753 label.sms-pack-choice753{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;grid-template-rows:auto!important;grid-column:auto!important;gap:10px!important;align-items:start!important;min-width:0!important;width:100%!important;max-width:100%!important;padding:14px!important;margin:0!important;position:relative;box-sizing:border-box;overflow:hidden;background:#fff;cursor:pointer}
html body #dialog.sms-buy753 label.sms-pack-choice753>input[type=radio]{display:block!important;position:static!important;grid-column:1!important;grid-row:1!important;width:18px!important;min-width:18px!important;max-width:18px!important;height:18px!important;min-height:18px!important;padding:0!important;margin:2px 0 0!important;accent-color:#245d9c}
html body #dialog.sms-buy753 label.sms-pack-choice753>span{display:flex!important;position:static!important;grid-column:2!important;grid-row:1!important;flex-direction:column!important;gap:6px!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important}
html body #dialog.sms-buy753 label.sms-pack-choice753 strong{display:block;font-size:14px!important;line-height:1.4;white-space:normal;overflow-wrap:normal}
html body #dialog.sms-buy753 label.sms-pack-choice753 b{display:block;font-size:22px!important;line-height:1.4;white-space:nowrap;color:#173c60}
html body #dialog.sms-buy753 label.sms-pack-choice753 small{display:block;font-size:12px!important;line-height:1.4;white-space:normal;font-weight:400}
html body #dialog.sms-buy753 label.sms-pack-choice753:has(input:checked){background:#edf4fb!important;border-color:#245d9c!important;box-shadow:inset 0 0 0 1px #245d9c}
html body #dialog.sms-buy753 label.sms-pack-choice753:focus-within{outline:2px solid #245d9c;outline-offset:2px}
#dialog.sms-buy753 .sms-buy-note753{padding:10px 12px;margin-bottom:14px}
#dialog.sms-buy753 .sms-buy-summary753{padding:12px 16px;margin-bottom:14px}
#dialog.sms-buy753 .sms-buy-method753{margin-bottom:12px;min-width:0;flex-wrap:wrap}
#dialog.sms-buy753 .sms-buy-consent753{min-width:0;align-items:flex-start}
#dialog.sms-buy753 .sms-buy-consent753>span{min-width:0;overflow-wrap:anywhere}
#dialog.sms-buy753 .sms-buy-history753 .table-wrap{max-width:100%;overflow-x:auto}
@media(max-width:900px){html body #dialog.sms-buy753 .sms-pack-choices753>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:420px){html body #dialog.sms-buy753 label.sms-pack-choice753{padding:10px!important;gap:6px!important}html body #dialog.sms-buy753 label.sms-pack-choice753 b{font-size:17px!important}}

/* 4.776: reception editor with one fixed action footer. */
html body #dialog.reception-dialog716{padding:0!important;overflow:hidden!important;width:min(1180px,calc(100vw - 32px))!important;max-height:92dvh!important}
#dialog.reception-dialog716>#dialog-close,#dialog.reception-dialog716>form{display:none!important}
html body #dialog.reception-dialog716>#dialog-body{display:flex!important;flex-direction:column!important;padding:0!important;min-height:0;max-height:92dvh;overflow:hidden!important}
#dialog.reception-dialog716 .reception-head776{display:flex;align-items:center;gap:12px;background:#173c60;color:#fff;padding:20px 24px;flex:none}
#dialog.reception-dialog716 .reception-head776 svg{width:22px;height:22px;flex:none}
html body #dialog.reception-dialog716 .reception-head776 h2{margin:0!important;padding:0!important;border:0!important;color:#fff!important;background:none!important;font-size:17px!important;flex:1}
#dialog.reception-dialog716 .reception-head776 button{margin:0;background:none;color:#fff;border:0;font-size:28px;padding:0 4px}
html body #dialog.reception-dialog716 #reception-form477{display:flex!important;flex-direction:column!important;min-height:0;overflow:hidden!important;margin:0!important;padding:0!important;gap:0!important;max-height:none!important}
#dialog.reception-dialog716 .reception-scroll776{min-height:0;overflow-y:auto;padding:20px 24px;overscroll-behavior:contain}
html body #dialog.reception-dialog716 #reception-form477>.reception-footer477{display:flex!important;align-items:center;justify-content:flex-end!important;gap:10px;padding:14px 24px!important;margin:0!important;flex:none;background:#f0f3f7;border-top:1px solid #d5e1ed}
#dialog.reception-dialog716 .reception-footer477 button{margin:0!important;min-height:44px;box-sizing:border-box}

/* 4.778: consistent breathing room in recurring reminders. */
html body #dialog.recurring-modal418:not(.compose-modal426){padding:0!important}
html body #dialog.recurring-modal418:not(.compose-modal426)>#dialog-body{padding:0!important}
html body #dialog.recurring-modal418:not(.compose-modal426) #recurring-form{margin:0!important;padding:0!important}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418{padding:20px!important;gap:16px!important;overflow-y:auto!important}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418>section{display:flex!important;flex-direction:column;gap:14px!important;padding:16px!important;align-self:start}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418 h3{margin:0!important}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418 label{display:flex;flex-direction:column;gap:7px!important;margin:0!important;line-height:1.4}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-fields418{gap:14px 16px!important;margin:0!important}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418 input,html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418 select,html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-content418 textarea{margin:0!important}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-days433>small{margin:-4px 0 0!important;font-size:12px;line-height:1.4}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-summary433{margin:0!important;padding:10px 12px!important;line-height:1.5}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-target418{margin:0!important;line-height:1.5;font-size:12px}
html body #dialog.recurring-modal418:not(.compose-modal426) .recurring-info418{margin:0!important}
html body #dialog.recurring-modal418:not(.compose-modal426) #recurring-error:empty{display:none!important}
html body #dialog.recurring-modal418:not(.compose-modal426) form>footer{margin:0!important;padding:14px 20px!important}

/* 4.779: shared communication template dialog. */
html body #dialog.message-unified779{width:min(1100px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:92dvh!important;padding:0!important;overflow:hidden!important}
#dialog.message-unified779>#dialog-close,#dialog.message-unified779>form{display:none!important}
html body #dialog.message-unified779>#dialog-body{display:flex!important;flex-direction:column;min-height:0;max-height:92dvh;overflow:hidden!important;padding:0!important}
#dialog.message-unified779 .modal-head446{margin:0!important;padding:20px 24px!important;flex:none;background:#173c60;color:#fff}
#dialog.message-unified779 .message-editor685{padding:24px!important;min-height:0;overflow-y:auto!important}
#dialog.message-unified779 .message-editor685>.panel{padding:0!important;margin:0!important;border:0!important;background:#fff!important}
#dialog.message-unified779 label{font-size:14px!important;line-height:1.5;margin:0 0 16px!important}
#dialog.message-unified779 textarea{min-height:240px!important;height:260px!important;box-sizing:border-box;font:inherit!important;line-height:1.5!important}
#dialog.message-unified779 .form-grid{gap:20px!important;padding:0!important;background:none!important;border:0!important}
#dialog.message-unified779 .message-original-save779{display:none!important}
#dialog.message-unified779 .message-footer779{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:14px 24px;flex:none;border-top:1px solid #d5e1ed;background:#f0f3f7}
#dialog.message-unified779 .message-footer779 button{margin:0!important;min-height:44px;font-size:14px}
#dialog.message-unified779 .birthday-columns779{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
#dialog.message-unified779 .birthday-columns779>form{padding:0!important;margin:0!important;background:#fff!important;border:0!important;min-width:0}
#dialog.message-unified779 .birthday-columns779>form[hidden]{display:none!important}
#dialog.message-unified779 .birthday-columns779 h3{font-size:16px;margin:0 0 16px}
#dialog.message-unified779 .birthday-columns779 .birthday-offsets104{gap:12px}
#dialog.message-unified779 .message-note779{font-size:13px;line-height:1.5;margin:0 0 16px;padding:12px;background:#f0f5fb}
#dialog.message-unified779 .birthday-footer726{padding:0!important;margin:0!important;border:0!important;background:none!important}
#dialog.message-unified779 .birthday-footer726>button{display:none!important}
#dialog.message-unified779 .birthday-scroll726{padding:0!important;overflow:visible!important}
#dialog.message-unified779 .birthday-greeting107{background:#fff!important;border:0!important;padding:0!important}
#dialog.message-unified779 .message-preview685{margin-top:16px}
@media(max-width:750px){#dialog.message-unified779 .birthday-columns779{grid-template-columns:1fr}#dialog.message-unified779 .message-footer779{flex-wrap:wrap}#dialog.message-unified779 textarea{min-height:180px!important}}

#dialog.message-unified779 .template-footer80:has(.message-original-save779){padding-top:0;margin-top:0;border:0;justify-content:flex-start}
#dialog.message-unified779 .template-tokens758 summary{margin:0;cursor:pointer}
#dialog.message-unified779 .template-tokens80{margin:10px 0 0;line-height:1.6}
#dialog.message-unified779 .birthday-layout726{gap:24px}
#dialog.message-unified779 .birthday-columns779 label.checkbox-label{display:flex;align-items:flex-start;gap:10px}
#dialog.message-unified779 .birthday-columns779 label.checkbox-label input{width:18px;height:18px;min-height:18px;margin-top:2px;flex:none}

/* 4.780: room action follows other location menu items. */
#main .location-menu199 [data-location-rooms405]{display:flex;align-items:center;gap:8px}
#main .location-menu199 [data-location-rooms405]>svg{display:block;width:18px;height:18px;flex:0 0 18px}

/* 4.781: explicit birthday layout independent of generic template dialogs. */
html body #dialog.instructor-birthday781{width:min(1120px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:92dvh!important;padding:0!important;overflow:hidden!important}
#dialog.instructor-birthday781>#dialog-close,#dialog.instructor-birthday781>form{display:none!important}
html body #dialog.instructor-birthday781>#dialog-body{display:flex!important;flex-direction:column!important;max-height:92dvh;min-height:0;padding:0!important;overflow:hidden!important}
#dialog.instructor-birthday781 .birthday-head781{display:flex;align-items:center;gap:12px;flex:none;padding:20px 24px;background:#173c60;color:#fff}
#dialog.instructor-birthday781 .birthday-head781 svg{width:22px;height:22px;flex:none}
html body #dialog.instructor-birthday781 .birthday-head781 h2{flex:1;font-size:17px!important;margin:0!important;padding:0!important;color:#fff!important;background:none!important;border:0!important}
#dialog.instructor-birthday781 .birthday-head781 button{margin:0;padding:0 4px;border:0;background:none;color:#fff;font-size:28px}
#dialog.instructor-birthday781 .birthday-scroll781{overflow-y:auto;min-height:0;padding:24px}
#dialog.instructor-birthday781 .birthday-columns781{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px}
#dialog.instructor-birthday781 .birthday-columns781>section{min-width:0}
#dialog.instructor-birthday781 h3{font-size:16px;margin:0 0 12px;color:#173c60}
#dialog.instructor-birthday781 .birthday-hint781{font-size:13px;line-height:1.5;margin:0 0 18px;color:#536679}
html body #dialog.instructor-birthday781 .birthday-columns781 form{display:flex;flex-direction:column;gap:16px;background:#fff!important;border:0!important;margin:0!important;padding:0!important;min-width:0}
#dialog.instructor-birthday781 form label{margin:0!important;line-height:1.5;font-size:14px}
#dialog.instructor-birthday781 form input:not([type=checkbox]),#dialog.instructor-birthday781 form select{width:100%;min-height:44px;margin:6px 0 0;box-sizing:border-box;font:inherit;font-size:14px}
#dialog.instructor-birthday781 .birthday-offsets104,#dialog.instructor-birthday781 .form-grid{display:grid;gap:12px;margin:0;padding:0;background:none;border:0}
#dialog.instructor-birthday781 .birthday-offsets104{grid-template-columns:repeat(3,minmax(0,1fr))}
#dialog.instructor-birthday781 .form-grid{grid-template-columns:1fr}
#dialog.instructor-birthday781 form .checkbox-label{display:flex;align-items:flex-start;gap:10px}
#dialog.instructor-birthday781 form input[type=checkbox]{width:18px;height:18px;min-height:18px;flex:none;margin:2px 0 0}
#dialog.instructor-birthday781 textarea{width:100%;min-height:260px;margin:6px 0 0;box-sizing:border-box;font:inherit;font-size:14px;line-height:1.5;resize:vertical}
#dialog.instructor-birthday781 [hidden],#dialog.instructor-birthday781 .birthday-source-save781{display:none!important}
#dialog.instructor-birthday781 .communication-save761{padding:0!important;margin:0!important;border:0!important;background:none!important}
#dialog.instructor-birthday781 .birthday-footer781{display:flex;justify-content:flex-end;align-items:center;flex-wrap:wrap;gap:10px;flex:none;padding:14px 24px;border-top:1px solid #d5e1ed;background:#f0f3f7}
#dialog.instructor-birthday781 .birthday-footer781 button{margin:0!important;min-height:44px;font-size:14px}
/* All participant birthday entry points use the same right-aligned cancellation. */
html body #dialog .birthday-footer726{justify-content:flex-end!important;gap:10px!important}
html body #dialog .birthday-footer726 [data-message-close685]{margin:0!important;order:1}
html body #dialog .birthday-footer726 [type=submit]{margin:0!important;order:2}
html body #dialog .birthday-footer726 [role=status]{order:0;margin:0 auto 0 0!important}
@media(max-width:750px){#dialog.instructor-birthday781 .birthday-columns781{grid-template-columns:1fr}#dialog.instructor-birthday781 .birthday-scroll781{padding:18px}}

/* 4.782: recovery template follows the common message editor. */
html body #dialog.recovery-template782{width:min(1100px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:92dvh!important;padding:0!important;overflow:hidden!important}
#dialog.recovery-template782>#dialog-close,#dialog.recovery-template782>form{display:none!important}
html body #dialog.recovery-template782>#dialog-body{padding:0!important;display:flex!important;flex-direction:column;max-height:92dvh;min-height:0;overflow:hidden!important}
#dialog.recovery-template782 .recovery-template-head782{display:flex;align-items:center;gap:12px;flex:none;padding:20px 24px;background:#173c60;color:#fff}
#dialog.recovery-template782 .recovery-template-head782>svg{width:22px;height:22px;flex:none}
html body #dialog.recovery-template782 .recovery-template-head782 h2{flex:1;font-size:17px!important;color:#fff!important;background:none!important;border:0!important;margin:0!important;padding:0!important}
#dialog.recovery-template782 .recovery-template-head782 button{margin:0;background:none;color:#fff;border:0;font-size:28px;padding:0 4px}
#dialog.recovery-template782 #recovery-template685{display:flex;flex-direction:column;min-height:0;overflow:hidden;margin:0!important;padding:0!important}
#dialog.recovery-template782 .recovery-template-scroll782{padding:24px;overflow-y:auto;min-height:0}
#dialog.recovery-template782 .recovery-template-intro782{margin:0 0 20px;font-size:14px;line-height:1.5}
#dialog.recovery-template782 .recovery-template-grid782{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
#dialog.recovery-template782 .recovery-template-grid782>section{display:flex;flex-direction:column;min-width:0;gap:16px}
#dialog.recovery-template782 h3{margin:0;font-size:16px}
#dialog.recovery-template782 label{display:flex;flex-direction:column;gap:8px;margin:0;font-size:14px;line-height:1.5}
#dialog.recovery-template782 input,#dialog.recovery-template782 textarea{margin:0;width:100%;box-sizing:border-box;font:inherit;font-size:14px;font-weight:400}
#dialog.recovery-template782 input{min-height:44px}
#dialog.recovery-template782 textarea{height:250px;min-height:180px;line-height:1.5;resize:vertical}
#dialog.recovery-template782 .recovery-sms-note782{font-size:13px;line-height:1.5;color:#536679;margin:0;min-height:73px;box-sizing:border-box}
#dialog.recovery-template782 .recovery-field-error782{color:#a52c3a;font-size:13px;margin:0}
#dialog.recovery-template782 .recovery-field-error782:empty{display:none}
#dialog.recovery-template782 [aria-invalid=true]{border-color:#a52c3a}
#dialog.recovery-template782 .recovery-template-footer782{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex:none;padding:14px 24px;background:#f0f3f7;border-top:1px solid #d5e1ed}
#dialog.recovery-template782 .recovery-template-footer782 button{margin:0;min-height:44px;font-size:14px}
#dialog.recovery-template782 .recovery-template-footer782 [role=status]{margin:0 auto 0 0;font-size:13px;line-height:1.5}
@media(max-width:750px){#dialog.recovery-template782 .recovery-template-grid782{grid-template-columns:1fr}#dialog.recovery-template782 .recovery-sms-note782{min-height:0}#dialog.recovery-template782 .recovery-template-footer782{flex-wrap:wrap}}

/* 4.787: recovery editor fits desktop height without shrinking type. */
html body #dialog.recovery-template782 .recovery-template-scroll782{padding:18px 24px!important}
html body #dialog.recovery-template782 .recovery-template-intro782{margin:0 0 16px!important;line-height:1.5}
html body #dialog.recovery-template782 .recovery-template-grid782{gap:24px!important}
html body #dialog.recovery-template782 .recovery-template-grid782>section{gap:12px!important}
html body #dialog.recovery-template782 .recovery-template-grid782 h3{margin:0!important;padding:0!important;font-size:16px;line-height:22px}
html body #dialog.recovery-template782 .recovery-template-grid782 label{margin:0!important;gap:6px!important;line-height:21px}
html body #dialog.recovery-template782 .recovery-sms-note782{min-height:71px!important;max-width:100%;margin:0!important;line-height:1.5}
html body #dialog.recovery-template782 textarea{height:180px!important;min-height:150px!important;max-height:35dvh;font-size:14px!important;line-height:1.5!important}
html body #dialog.recovery-template782 .template-tokens758{margin:14px 0 0!important;padding:10px 12px!important}
html body #dialog.recovery-template782 .template-tokens758 summary{margin:0!important}
@media(min-width:751px) and (min-height:760px){html body #dialog.recovery-template782,html body #dialog.recovery-template782>#dialog-body{height:auto!important}html body #dialog.recovery-template782 .recovery-template-scroll782{flex:0 1 auto}}
@media(max-width:750px){html body #dialog.recovery-template782 .recovery-sms-note782{min-height:0!important}}

/* 4.797: consistent actions in season, regulation and waiting-list settings. */
html body #main #general-content :is(button[data-new-season],button#program-new-season141,button[data-season-regulation],.waiting-footer701 button.primary){
 display:inline-flex;align-items:center;justify-content:center;gap:8px!important;
 min-height:44px!important;padding:10px 16px!important;box-sizing:border-box;
 border:1px solid #245d9c!important;border-radius:5px!important;
 background:#245d9c!important;color:#fff!important;
 font-family:inherit!important;font-size:14px!important;font-weight:600!important;
 line-height:1.4!important;white-space:normal;
}
html body #main #general-content :is(button[data-new-season],button#program-new-season141,button[data-season-regulation],.waiting-footer701 button.primary):hover:not(:disabled){
 background:#1d4e85!important;border-color:#1d4e85!important;
}
html body #main #general-content :is(button[data-new-season],button#program-new-season141,button[data-season-regulation],.waiting-footer701 button.primary) svg{
 width:18px!important;height:18px!important;flex:0 0 18px!important;color:inherit;
}

/* 4.826: cash receipt actions stay together, matching other form dialogs. */
html body #dialog.cash-modal722 .cash-form722>footer{justify-content:flex-end!important;gap:12px}
html body #dialog.cash-modal722 .cash-form722>footer>button{flex:0 0 auto;margin:0!important;min-height:44px;box-sizing:border-box}
@media(max-width:480px){html body #dialog.cash-modal722 .cash-form722>footer{flex-wrap:wrap}}

/* 4.827: wspólne stopki okien opłat, zniżek i linków. */
html body #dialog:has(.payment-footer827)>#dialog-close{display:none!important}
html body #dialog .payment-footer827{display:flex!important;justify-content:flex-end!important;align-items:center!important;gap:12px!important;flex-wrap:wrap;padding:18px 0 0!important;margin:0!important;width:100%!important;grid-column:1/-1}
html body #dialog .payment-footer827>button{flex:0 0 auto!important;width:auto!important;min-height:44px!important;margin:0!important;padding:10px 18px!important;box-sizing:border-box!important;border:1px solid #c5d3e3!important;font:inherit!important;line-height:1.4!important}
html body #dialog .payment-footer827>button.primary{background:#2b5f99!important;color:white!important;border-color:#2b5f99!important}
html body #dialog .payment-footer827>button:not(.primary){background:#f4f7fb!important;color:#193b5b!important}
html body #dialog .payment-choice827{margin:0 0 18px;padding:14px;border:1px solid #cbd8e8;border-radius:5px;min-width:0}
html body #dialog .payment-choice827>label{display:flex!important;align-items:center;gap:12px;padding:12px;margin:8px 0;border:1px solid #d3dfeb;border-radius:5px;cursor:pointer;background:white}
html body #dialog .payment-choice827 input{width:18px!important;height:18px!important;flex:0 0 18px;margin:0!important;appearance:auto}
html body #dialog .payment-choice827>label:has(input:checked){background:#eaf2fc;border-color:#2b5f99}
html body #dialog .payment-choice827 small{display:block;margin-top:4px}
