/* Final component corrections: preserve page identities and native controls. */
:root{
 --theme-surface:#fff;--theme-alt:#f0f5f3;--theme-soft:#e9f4f0;
 --theme-input-line:#81938f;--theme-button:#14756e;--theme-button-hover:#0c5b55;--theme-button-ink:#fff;
 --theme-strong:#102c3a;--theme-strong-ink:#f7fafb;--theme-focus:#0b716b;
 --theme-success:#e5f3ec;--theme-success-ink:#236348;--theme-warning:#fff2d9;--theme-warning-ink:#765011;
 --theme-error:#fbeaec;--theme-error-ink:#913745;--theme-info:#eaf2f7;--theme-info-ink:#284d65;
 --theme-deal:#f0e7fa;--theme-deal-ink:#512c72;
 --assist-canvas:#fff1f0;--assist-surface:#fffafb;--assist-soft:#fae5e6;--assist-line:#b75e72;
 --assist-notice:#ffe9ec;--assist-notice-ink:#552332;--assist-link:#81203d;
 --private-surface:#fff8ed;--private-ink:#543e26;--private-muted:#6e5942;--private-line:#8a5b37;
}
html:is([data-theme="night"],[data-theme="sunset"]){
 --theme-soft:var(--teal-wash);
 --assist-canvas:#281a24;--assist-surface:#34232e;--assist-soft:#412735;--assist-line:#d291a3;
 --assist-notice:#472737;--assist-notice-ink:#ffe1e9;--assist-link:#ffc1d2;
 --private-surface:#392e24;--private-ink:#f6e9d4;--private-muted:#dfc8aa;--private-line:#caa57a;
}
/* Text-field widths must never stretch checkboxes or radios in admin tables. */
html[data-theme] body input:is([type="checkbox"],[type="radio"]){
 width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;
 padding:0;flex:0 0 18px;accent-color:var(--teal);vertical-align:middle;
}
html[data-theme] body :is(.check-row,.checkbox-row,.asm-end-confirm,.mr-choice,label:has(>input[type="checkbox"])){
 display:flex;align-items:flex-start;gap:9px;max-width:100%;text-align:start;white-space:normal;
}
html[data-theme] body :is(.check-row,.checkbox-row,.asm-end-confirm,.mr-choice,label:has(>input[type="checkbox"]))>input[type="checkbox"]{margin:3px 0 0}
html[data-theme] body :is(.check-row,.checkbox-row,.radio-card)>span{min-width:0;overflow-wrap:anywhere}
html[data-theme] body .workspace-column-options label{display:inline-flex;align-items:center;white-space:normal}
html[data-theme] body .workspace-column-options input[type="checkbox"]{margin:0}
html[data-theme] body .asm-end-confirm{font-size:.85rem;color:inherit}
html[data-theme] body input:is([type="checkbox"],[type="radio"]):focus-visible{outline:3px solid var(--theme-focus);outline-offset:3px;box-shadow:none}
html[data-theme] body input:disabled+span{color:var(--muted)}
/* Readable input boundaries, placeholders, and links within coloured notices. */
html[data-theme] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),select,textarea){border-color:var(--theme-input-line)}
html[data-theme] :is(input,textarea)::placeholder{color:var(--muted);opacity:1}
html[data-theme] :is(.date-separator,.calendar-day.outside-month>time){color:var(--muted)}
html[data-theme] :is(.alert,.manual-price-note,.kc-scheduling-note,.pmr-callout) a:not(.button){color:inherit;text-decoration:underline}
html[data-theme] :is(.alert,.manual-price-note,.pmr-callout) :is(small,.caption){color:inherit}
html[data-theme] .alert-warning{background:var(--theme-warning);color:var(--theme-warning-ink);border-color:var(--theme-warning-ink)}
html[data-theme] .manual-price-note :is(h2,h3,label){color:inherit}
/* Fill gaps in the original Night/Morning/Afternoon component coverage. */
html[data-theme]:not([data-theme="day"]) :is(.empty-state,.detail-art,.pricing-card,.price-card,.radio-card,.workspace-table-scroll){background:var(--theme-surface);border-color:var(--line)}
html[data-theme]:not([data-theme="day"]) :is(.pricing-card.featured,.pricing-card.is-featured,.price-card.featured,.featured-plan){background:var(--teal-wash);border-color:var(--teal)}
html[data-theme]:not([data-theme="day"]) .workspace-books-table th[aria-sort]{background:var(--teal-wash)}
html[data-theme]:not([data-theme="day"]) :is(.workspace-books-table th a,.workspace-row-actions a){color:var(--teal)}
html[data-theme]:not([data-theme="day"]) :is(.date-feedback.is-error,.field-error){background:var(--theme-error);color:var(--theme-error-ink)}
html[data-theme]:not([data-theme="day"]) .button-coral{background:var(--theme-button);border-color:var(--theme-button);color:var(--theme-button-ink)}
html[data-theme]:not([data-theme="day"]) .button-coral:hover{background:var(--theme-button-hover);color:var(--theme-button-ink)}
html[data-theme] .calendar-event.countdown-event{background:var(--theme-deal);color:var(--theme-deal-ink)}
html[data-theme] .calendar-event :is(.calendar-event-type,small){color:inherit}
html[data-theme] .calendar-kind-nav{border-color:var(--line)}
html[data-theme] .pmr-callout{background:var(--teal-wash);color:var(--ink)}
/* Keep unavailable-retailer explanations and cancelled labels readable. */
html[data-theme] .sb-development-card{opacity:1}
html[data-theme] .calendar-event.event-cancelled{opacity:1}
/* The monthly report deliberately remains a light, email-style preview. */
html[data-theme] .mr-report :is(h2,h3,h4,strong,th,td){color:#123340}
html[data-theme] .mr-report :is(.mr-meta,.caption,small,.muted){color:#52666b}
html[data-theme] .mr-report a:not(.button){color:#0c675e}
/* Assistance alerts and staff-only notes each use a complete colour pair. */
html[data-theme] .asm-notice{background:var(--assist-notice);color:var(--assist-notice-ink);border-color:var(--assist-line)}
html[data-theme] .asm-notice a:not(.button){color:var(--assist-link);text-decoration:underline}
html[data-theme] .asm-notice :is(small,.caption){color:inherit}
html[data-theme] body .panel.asm-private{background:var(--private-surface);color:var(--private-ink);border-color:var(--private-line)}
html[data-theme] .asm-private :is(h2,h3,label){color:var(--private-ink)}
html[data-theme] .asm-private :is(small,.caption){color:var(--private-muted)}
html[data-theme] .asm-private a:not(.button){color:var(--private-ink)}
html[data-theme] .asm-verification{background:var(--theme-warning);color:var(--theme-warning-ink);border-color:var(--theme-warning-ink)}
html[data-theme] .asm-verification :is(label,small){color:inherit}
html[data-theme] .asm-status-help{color:var(--ink)}
/* Rose support mode stays obvious in both light and dark appearances. */
html[data-theme] body.assist-session{
 --navy:#482031;--navy-light:#633447;--ink:#442934;--muted:#745560;
 --teal:#8b2944;--teal-dark:#6b2036;--teal-wash:#f6e2e7;--danger:#9a2341;
 --paper:var(--assist-canvas);--canvas:var(--assist-canvas);--white:var(--assist-surface);
 --line:#dfbdc3;--theme-surface:var(--assist-surface);--theme-alt:var(--assist-soft);--theme-soft:var(--assist-soft);
 --theme-input-line:#aa7887;--theme-button:#922b47;--theme-button-hover:#702039;--theme-button-ink:#fff;
 --theme-focus:#81203d;color-scheme:light;background:var(--assist-canvas);color:var(--ink);
}
html:is([data-theme="night"],[data-theme="sunset"]) body.assist-session{
 --navy:#ffe3ec;--navy-light:#f3cad8;--ink:#f9e5eb;--muted:#d8b8c5;
 --teal:#ffb6cb;--teal-dark:#ffd0df;--teal-wash:#4a2d3b;--danger:#ffb8c8;
 --line:#785361;--theme-input-line:#bd8c9e;--theme-button:#f3aac1;--theme-button-hover:#ffd1df;--theme-button-ink:#3e1d2c;
 --theme-focus:#ffcfdf;color-scheme:dark;
}
html[data-theme] body.assist-session :is(.workspace-main,.sidebar,.panel){background:var(--theme-surface);border-color:var(--line)}
html[data-theme] body.assist-session .workspace-main{background:var(--assist-canvas);border-top-color:var(--assist-line)}
html[data-theme] body.assist-session .sidebar{background:var(--assist-soft);border-right-color:var(--assist-line)}
html[data-theme] body.assist-session .site-header{background:#6e2434;color:#fff;border-bottom-color:#ce7181}
html[data-theme] body.assist-session .site-header :is(.brand,.asm-end-confirm){color:#fff}
html[data-theme] body.assist-session .site-header .button{background:#fff;color:#6e2434;border-color:#e3b8c2}
html[data-theme] body.assist-session .member-assist-banner{background:var(--assist-notice);color:var(--assist-notice-ink);border-color:var(--assist-line)}
html[data-theme] body.assist-session :is(.button-secondary,.button-danger){background:var(--theme-surface)}
html[data-theme] body.assist-session .button-secondary{color:var(--navy);border-color:var(--theme-input-line)}
html[data-theme] body.assist-session .button-secondary:hover{background:var(--teal-wash);color:var(--teal-dark)}
html[data-theme] body.assist-session .asm-private{background:var(--private-surface);border-color:var(--private-line)}
html[data-theme] body.assist-session .asm-verification{background:var(--theme-warning);color:var(--theme-warning-ink)}
.asm-book-active a:focus-visible{outline-color:#81203d!important}
@media(forced-colors:active){html[data-theme] body input:is([type="checkbox"],[type="radio"]){forced-color-adjust:auto}}
