/* Shift Happens, adapted for everyday work. Layout and behaviour stay with the
   component styles; this file owns the shared surfaces, type and appearance. */
html[data-theme]{color-scheme:dark;scrollbar-color:var(--rs-border) var(--rs-canvas)}
html[data-theme=light]{color-scheme:light}
html[data-theme] body,
html[data-theme] body :is(.glass,dialog,.ui-toast,.walkthrough-welcome,.walkthrough-dock){
 --ink:var(--rs-text);--muted:var(--rs-muted);--accent:var(--rs-accent);--teal:var(--rs-accent);
 --line:var(--rs-border);--border:var(--rs-border);--glass:var(--rs-surface);--glass-solid:var(--rs-surface);--surface:var(--rs-surface);--paper:var(--rs-surface);--wash:var(--rs-wash);
 --panel:var(--rs-surface);--soft:var(--rs-wash);--surface-soft:var(--rs-wash);--tint:var(--rs-rose);
 --product-gradient:linear-gradient(var(--rs-action),var(--rs-action));--product-wash:var(--rs-wash);--product-shadow:none;
 --admin-soft:var(--rs-rose);--admin-hover:var(--rs-wash);--admin-border:var(--rs-border);--admin-focus:var(--rs-focus);
 --pay-wash:color-mix(in srgb,var(--rs-blue) 7%,transparent);--pay-edge:var(--rs-border);--pay-ink:var(--rs-blue);
 --rs-display:var(--rs-body);--rs-ink:var(--rs-text);--rs-paper:var(--rs-canvas);--rs-secondary:var(--rs-muted);--rs-teal:var(--rs-accent);--rs-hairline:var(--rs-border);
 color:var(--rs-text);
}
html[data-theme] body{background:var(--rs-canvas);font-family:var(--rs-body);font-size:16px;-webkit-font-smoothing:antialiased}
html[data-theme] .ambient{display:none}
html[data-theme] ::selection{background:var(--rs-accent);color:var(--rs-canvas)}
html[data-theme] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible{outline:2px solid var(--rs-focus);outline-offset:3px}
html[data-theme] body :is(h1,h2,h3){color:var(--rs-text)}
html[data-theme] body :is(h1,h1.smaller,.page-heading h1,.document-heading h1,.enquiry-intro h1,.pricing-hero h1){font-family:var(--rs-heading);font-size:clamp(40px,4.5vw,66px);font-weight:700;line-height:.98;letter-spacing:-.025em;text-transform:uppercase;text-wrap:balance}
html[data-theme] body h2{font-family:var(--rs-body);font-weight:600;letter-spacing:-.025em;line-height:1.2}
html[data-theme] body h3{font-family:var(--rs-body);font-weight:600;letter-spacing:-.015em}
html[data-theme] body :is(p,small,.muted,.helper,.breadcrumbs,.defaults-scope,.draft-scope,.console-identity){color:var(--rs-muted)}
html[data-theme] body :is(.eyebrow,.arrow,.draft-scope strong,.back-link,.draft-back,.rule-mandatory,.rule-active-label){color:var(--rs-accent)}
html[data-theme] body main{padding-top:36px}
/* The mode palette and contrasting active marker carry the identity without taking
   space away from the roster. Workspace mode remains explicit in the labels. */
html[data-theme] body .topbar{max-width:1400px;background:var(--rs-canvas);border-color:var(--rs-border);gap:16px;padding-block:16px;flex-wrap:wrap}
html[data-theme] .topbar .brand,html[data-theme] .public-brand{font-family:var(--rs-body);font-size:23px;font-weight:600;letter-spacing:-.055em;color:var(--rs-text)}
html[data-theme] :is(.topbar .brand-icon,.public-brand img){display:none}
html[data-theme] .topbar>nav{gap:12px;margin-left:auto}
html[data-theme] .topbar>.appearance-toggle{color:var(--rs-muted)}
html[data-theme] .topbar nav>a:not(.button){color:var(--rs-muted);border-radius:3px}
html[data-theme] .topbar nav>a[aria-current=page]{color:var(--rs-accent);background:var(--rs-rose)}
html[data-theme] .workspace-mode-switch{border-color:var(--rs-border);background:var(--rs-surface);border-radius:4px;box-shadow:none}
html[data-theme] .workspace-mode-switch button{background:transparent;color:var(--rs-muted);border-radius:3px}
html[data-theme] .workspace-mode-switch button.selected{color:var(--rs-on-action)}
html[data-theme] .workspace-mode-thumb{background:var(--rs-action);border-radius:3px;box-shadow:none}
html[data-theme] .workspace-mode-banner{color:var(--rs-muted);font-size:12px;margin-bottom:22px}
html[data-theme] .workspace-mode-banner .scope-dot{background:var(--rs-accent);border-radius:1px}
html[data-theme] .account-menu-panel{background:var(--rs-raised);border-color:var(--rs-border);border-radius:5px;box-shadow:5px 5px 0 var(--rs-shadow)}
html[data-theme] .account-menu-panel :is(a,button){color:var(--rs-text)}
html[data-theme] .account-menu-panel :is(a,button):hover{background:var(--rs-wash);color:var(--rs-text)}
html[data-theme] .account-menu>summary{border-radius:4px}
/* Strong outer edges, quieter dividers inside. */
html[data-theme] body :is(.glass,.section-card,.hospital-card,.roster-card,.personal-calendar,.team-calendar,.auth-card,.enquiry-panel,.plan-card,.book-form){background:var(--rs-surface);border-color:var(--rs-border);border-radius:5px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme] body :is(.hospital-card,.auth-card){box-shadow:5px 5px 0 var(--rs-shadow)}
html[data-theme] .hospital-card{border-top:4px solid var(--rs-accent)}
html[data-theme] .hospital-card h2{font-family:var(--rs-heading);font-size:36px;line-height:1;text-transform:uppercase}
html[data-theme] :is(.hospital-monogram,.group-symbol,.calendar-tile){background:var(--rs-rose);color:var(--rs-accent);border-radius:3px}
html[data-theme] .hospital-monogram{font-family:var(--rs-heading);font-size:36px}
html[data-theme] .card-bottom{border-color:var(--rs-border);color:var(--rs-muted)}
html[data-theme] body :is(.row-card,.hub-card,.leave-detail-row,.console-member,.library-rule,.rule-maker,.rule-card,.allocation-limit,.allocation-round,.allocation-picker-shift,.extra-slot,.team-board-options,.board-empty,.feedback-list-item,.feedback-comment){background:var(--rs-surface);border-color:var(--rs-border);border-radius:4px;box-shadow:none}
html[data-theme] .person-card.row-card>summary,html[data-theme] body :is(.person-shift-summary,.console-stats>div,.hospital-mode-entry,.allocator-example,.request-choice){background:var(--rs-wash);border-color:var(--rs-border)}
html[data-theme] body :is(.person-card.row-card[open],.person-card.row-card[open]>summary){border-color:var(--rs-accent);box-shadow:none}
html[data-theme] body .management-panels>.two-col>.section-card{background:transparent;border:0;box-shadow:none}
html[data-theme] .pill,html[data-theme] .platform-badge{background:var(--rs-rose);border-color:var(--rs-border);color:var(--rs-accent);border-radius:3px;letter-spacing:0}
html[data-theme] body :is(button,.button){font-family:var(--rs-body);border-radius:4px;background:var(--rs-raised);border-color:var(--rs-border);color:var(--rs-text);box-shadow:none}
html[data-theme] body :is(button,.button):hover{background:var(--rs-wash);color:var(--rs-text);transform:none}
html[data-theme] body :is(button.primary,.button.primary,.cta,.enquiry-submit){background:var(--rs-action);color:var(--rs-on-action);border:1px solid color-mix(in srgb,var(--rs-accent) 65%,var(--rs-action));border-radius:4px;box-shadow:none}
html[data-theme] body :is(button.primary,.button.primary,.cta,.enquiry-submit):hover{background:var(--rs-action-hover);color:var(--rs-on-action)}
html[data-theme] body :is(.quiet,.text-link){background:transparent;border-color:transparent;color:var(--rs-text)}
html[data-theme] body .danger{color:var(--rs-error-ink)}
html[data-theme] body :is(input:not([type=checkbox],[type=radio],[type=range],[type=color]),textarea,select){background:var(--rs-raised);border-color:var(--rs-border);border-radius:4px;color:var(--rs-text);box-shadow:none;font-family:var(--rs-body)}
html[data-theme] body :is(input,textarea)::placeholder{color:var(--rs-muted);opacity:1}
html[data-theme] body :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--rs-accent)}
html[data-theme] input[type=color]{background:var(--rs-raised);border-color:var(--rs-border)}
html[data-theme] option{color:var(--rs-text);background:var(--rs-surface)}
html[data-theme] :is(input,select,textarea):disabled{opacity:.65}
html[data-theme] body :is(.notice,.enquiry-error,.capacity-warning){background:var(--rs-warning-bg);border-color:var(--rs-warning-ink);color:var(--rs-warning-ink);border-radius:4px}
html[data-theme] body :is(.notice.error,.enquiry-error){background:var(--rs-error-bg);border-color:var(--rs-error-ink);color:var(--rs-error-ink)}
html[data-theme] body :is(.notice.success,.check-icon){background:var(--rs-success-bg);border-color:var(--rs-success-ink);color:var(--rs-success-ink)}
html[data-theme] .notice :is(p,small,h2,h3){color:inherit}
html[data-theme] body .ui-toast{background:var(--rs-success-bg);color:var(--rs-success-ink);border-color:var(--rs-success-ink)}
html[data-theme] body .ui-toast.error{background:var(--rs-error-bg);color:var(--rs-error-ink);border-color:var(--rs-error-ink)}
html[data-theme] body .ui-toast p{color:inherit}
/* Phase navigation and the editable working surface. */
html[data-theme] body :is(.group-tabs,.context-tabs,.generation-tabs,.calendar-views,.calendar-scope-tabs,.leave-view-tabs,.personal-team-nav){background:var(--rs-surface);border-color:var(--rs-border);border-radius:4px;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme] body .group-tabs.production-phases{background:transparent;border-radius:0}
html[data-theme] body .group-tabs.production-phases>a{border-radius:3px;color:var(--rs-muted)}
html[data-theme] body .group-tabs.production-phases>a.active{background:var(--rs-rose);color:var(--rs-accent)}
html[data-theme] body :is(.group-tabs a.active,.context-tabs a.active,.personal-team-nav a[aria-current=page]){background:var(--rs-rose);border-color:var(--rs-border);color:var(--rs-accent);box-shadow:none}
html[data-theme] body .production-phases .phase-number{border-color:var(--rs-border);background:transparent;color:var(--rs-muted);border-radius:3px}
html[data-theme] body .production-phases>a.active .phase-number{background:var(--rs-action);border-color:var(--rs-action);color:white}
html[data-theme] body :is(.draft-launcher,.draft-sidebar,.generation-live,.generation-live-head){background:var(--rs-surface);border-color:var(--rs-border);border-radius:4px;box-shadow:none}
html[data-theme] .draft-launcher{border-left:4px solid var(--rs-accent)}
html[data-theme] .draft-sidebar .generation-tabs button{background:transparent;color:var(--rs-muted)}
html[data-theme] .draft-sidebar .generation-tabs button.active{background:var(--rs-rose);border-color:var(--rs-border);color:var(--rs-accent);box-shadow:none}
html[data-theme] .draft-sidebar .step-number{background:var(--rs-wash);color:var(--rs-muted);border-radius:3px}
html[data-theme] .draft-sidebar .active .step-number{background:var(--rs-action);color:white}
html[data-theme] body :is(.savebar,.leave-view-header){background:var(--rs-raised);border-color:var(--rs-border);border-radius:5px;box-shadow:0 5px 0 var(--rs-shadow);backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme] body :is(.generation-stages span,.progress){background:var(--rs-wash)}
html[data-theme] .generation-stages li.active span{background:var(--rs-accent);color:var(--rs-canvas)}
html[data-theme] body :is(.rule-tags span,.capability-choices .checklabel,.multi-choice,.shift-code:not(.admin),.allocation-place){background:var(--rs-wash);border-color:var(--rs-border);color:var(--rs-text)}
html[data-theme] body :is(.allocation-modes button[aria-pressed=true],.allocation-place[aria-pressed=true]){background:var(--rs-action);color:white}
html[data-theme] body :is(.rule-maker,.rule-name:focus){background:var(--rs-rose);border-color:var(--rs-accent)}
html[data-theme] .multi-choice .checklabel{background:var(--rs-raised);color:var(--rs-text);border-color:var(--rs-border);border-radius:3px}
/* Calendars retain the user's shift and leave colours. Only the canvas changes. */
html[data-theme] body :is(.roster-scroll,.table-scroll,#roster-table,.team-grid-scroll){background:var(--rs-surface);border-color:var(--rs-border);border-radius:4px}
html[data-theme] body :is(th,.roster-grid thead th,.team-roster-grid thead th,.insight-table thead th,.roster-grid thead th:first-child){background:var(--rs-wash);color:var(--rs-text);border-color:var(--rs-border)}
html[data-theme] body :is(.roster-grid th:first-child,.roster-grid td:first-child,.insight-table td:first-child,.insight-table th:first-child,.shift-tally th:first-child,.shift-tally td:first-child,.team-roster-grid th:first-child){background:var(--rs-raised);color:var(--rs-text)}
html[data-theme] body :is(.roster-grid td,.team-roster-grid td){background:var(--rs-surface);border-color:var(--rs-border)}
html[data-theme] body :is(.roster-grid .weekend,.team-roster-grid .weekend,.personal-calendar-day.weekend){background:var(--rs-raised)}
html[data-theme] body .roster-grid tfoot :is(td,th){background:var(--rs-wash);color:var(--rs-muted);border-color:var(--rs-border)}
html[data-theme] body .roster-grid .person-highlighted>:is(td,th){background:var(--rs-rose);box-shadow:inset 0 1px var(--rs-accent),inset 0 -1px var(--rs-accent)}
html[data-theme] body :is(.personal-calendar-day,.calendar-day,.shift-calendar-day,.hub-day){background:var(--rs-surface);border-color:var(--rs-border);color:var(--rs-text);border-radius:3px}
html[data-theme] body :is(.personal-calendar-day.is-today,.calendar-day.selected,.hub-day[aria-pressed=true]){border-color:var(--rs-accent);outline-color:var(--rs-accent);background:var(--rs-rose);box-shadow:inset 0 0 0 1px var(--rs-accent)}
html[data-theme] body .personal-group-choice{background:var(--rs-surface);border-color:var(--rs-border);border-radius:3px}
html[data-theme] body :is(.personal-calendar .calendar-views,.calendar-scope-tabs){background:var(--rs-wash);border-color:var(--rs-border)}
html[data-theme] body :is(.calendar-views button,.calendar-scope-tabs button){background:transparent;color:var(--rs-muted);border-radius:3px}
html[data-theme] body :is(.calendar-views button[aria-pressed=true],.calendar-scope-tabs button[aria-selected=true],.leave-view-tabs [aria-selected=true]){background:var(--rs-rose);color:var(--rs-accent);box-shadow:none}
html[data-theme] .pay-fortnight-marker{background:var(--rs-raised);color:var(--rs-blue)}
html[data-theme] body :is(.personal-calendar-event,.team-duty){border-radius:3px}
html[data-theme] :is(.personal-calendar-event,.team-duty) :is(small,p){color:inherit}
html[data-theme] .hub-day[data-load="1"]{background:color-mix(in srgb,var(--rs-rose) 45%,var(--rs-surface))}
html[data-theme] .hub-day[data-load="2"]{background:var(--rs-rose)}
html[data-theme] .hub-day[data-load="3"]{background:color-mix(in srgb,var(--rs-accent) 25%,var(--rs-surface))}
html[data-theme] .hub-day[data-load="4"]{background:color-mix(in srgb,var(--rs-accent) 35%,var(--rs-surface))}
html[data-theme] body :is(.hub-empty,.hub-capacity,.leave-fortnight,.leave-detail-list,.leave-other-track,.leave-track-scroll,.leave-capacity-track){background:var(--rs-surface);border-color:var(--rs-border);border-radius:4px}
html[data-theme] body #requests-app .leave-fortnight{border:1px solid var(--rs-border);border-radius:5px;background:var(--rs-surface)}
html[data-theme] body :is(.leave-capacity-track,.leave-other-track){background:var(--rs-wash)}
html[data-theme] :is(.leave-room,.leave-capacity-meta,.leave-fortnight-title strong span){color:var(--rs-muted)}
html[data-theme] body :is(.leave-capacity-track.overflow,.hub-capacity.over){background:var(--rs-warning-bg);border-color:var(--rs-warning-ink)}
html[data-theme] .leave-overflow-label{color:var(--rs-warning-ink)}
html[data-theme] body :is(.holiday-card,.calendar-request-row:hover,.calendar-request-row.is-selected,.feedback-list-item.selected){background:var(--rs-wash);border-color:var(--rs-border)}
/* Dialogs, confirmations and secondary account surfaces. */
html[data-theme] body :is(dialog,.shift-dialog,.hub-dialog,.holiday-dialog,.feedback-dialog,.team-sick-dialog,.exchange-dialog,.walkthrough-welcome,.walkthrough-dock,.ui-toast){background:var(--rs-raised);border:1px solid var(--rs-border);border-radius:6px;color:var(--rs-text);box-shadow:8px 8px 0 var(--rs-shadow)}
html[data-theme] body dialog::backdrop{background:#080f1dad;backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
html[data-theme] body :is(.walkthrough-welcome,.walkthrough-dock) :is(p,li,small){color:var(--rs-muted)}
html[data-workspace-mode=administration] .walkthrough-welcome li:before{background:var(--rs-rose);color:var(--rs-accent)}
html[data-workspace-mode=administration] body :is(.walkthrough-progress,.walkthrough-locate){color:var(--rs-accent)}
html[data-workspace-mode=administration] body .walkthrough-team{color:var(--rs-muted)}
html[data-workspace-mode=administration] :is(.walkthrough-meter,.walkthrough-dots i){background:var(--rs-border)}
html[data-workspace-mode=administration] :is(.walkthrough-meter span,.walkthrough-dots i.current){background:var(--rs-accent)}
html[data-workspace-mode=administration] .walkthrough-highlight{outline-color:var(--rs-focus)!important;box-shadow:0 0 0 7px var(--rs-shadow)!important}
html[data-theme] body :is(.feedback-launcher,.feedback-categories label:has(:checked)){background:var(--rs-action);color:white;border-color:var(--rs-accent)}
html[data-theme] body :is(.feedback-capture,.feedback-categories label,.sample-upload,.console-member,.team-card:not(.sick),.board-summary span){background:var(--rs-surface);border-color:var(--rs-border);color:var(--rs-text)}
html[data-theme] body :is(.console-stats strong,.platform-badge,.console-nav>a[aria-current=page]){color:var(--rs-accent)}
html[data-theme] #billboard{--board-ink:var(--rs-text)}
html[data-theme] #billboard:fullscreen{background:var(--rs-canvas)}
html[data-theme] body :is(.console-arrival,.rs-island){background:var(--rs-canvas);color:var(--rs-text)}
html[data-theme] body footer{color:var(--rs-muted);border-color:var(--rs-border)}
/* Moving selection markers sit behind the labels, including on small screens. */
html[data-theme] body .workspace-mode-switch button{background:transparent}
html[data-theme] body .workspace-mode-switch button.selected{background:var(--rs-action);color:white}
html[data-theme] body[data-workspace-mode] .group-tabs.production-phases>a.active .phase-number{background:var(--rs-action);border-color:var(--rs-action);color:white}
html[data-theme] body #calendar-controls [data-pill-tabs].rs-tabs-ready:before{background:var(--rs-rose)}
html[data-theme] body #calendar-controls [data-pill-tabs].rs-tabs-ready button:is([aria-selected=true],[aria-pressed=true]){background:transparent;color:var(--rs-accent)}
html[data-theme] .breadcrumbs a{color:var(--rs-accent)}
html[data-theme] body :is(.leave-track-label.pending-label,.pending-track .leave-room,.leave-pending-warning,.leave-missing-text){color:var(--rs-warning-ink)}
html[data-theme] body :is(.team-calendar-day,.team-calendar-day.is-weekend,.team-calendar-day.other-month){background:var(--rs-surface);border-color:var(--rs-border)}
html[data-theme] body .team-calendar-day.is-weekend{background:var(--rs-raised)}
html[data-theme] body .team-calendar-day.is-today{background:var(--rs-rose);border-color:var(--rs-accent)}
html[data-theme] body .team-person-filters button{background:var(--rs-raised);color:var(--rs-text)}
html[data-theme] body .team-person-filters button[aria-pressed=true]{background:var(--rs-action);color:white}
html[data-theme] body .personal-calendar-day.is-today time{background:var(--rs-action);color:white}
html[data-theme] body .personal-calendar-day header small{color:var(--rs-muted)}
/* Public information and booking share the same identity as the homepage. */
html[data-theme] .public-site .public-header{background:var(--rs-canvas);border-color:var(--rs-border);backdrop-filter:none;-webkit-backdrop-filter:none;height:auto;min-height:76px;padding-block:12px}
html[data-theme] .public-site .public-header nav{gap:20px}
html[data-theme] .public-site .public-menu-links{background:var(--rs-raised);border-color:var(--rs-border);border-radius:4px;box-shadow:5px 5px 0 var(--rs-shadow)}
html[data-theme] .public-site .public-header .login-link{background:var(--rs-action);color:white;border-radius:4px}
html[data-theme] .public-site :is(.outlined-cta,.billing-choice,.price-breakdown,.pilot-plan,.demo-intro-panel,.price-card,.pricing-onboarding,.plan-callout){background:var(--rs-surface);border-color:var(--rs-border);color:var(--rs-text);border-radius:4px}
html[data-theme] .public-site :is(.billing-choice small,.price-saving,.document-body a,.document-kicker){color:var(--rs-accent)}
html[data-theme] .public-site :is(.price-saving,.sample-upload){background:var(--rs-rose)}
html[data-theme] .public-site .public-footer{border-color:var(--rs-border)}
html[data-theme] .public-site .billing-choice input:checked+span{background:var(--rs-rose);color:var(--rs-accent);box-shadow:none;border-radius:3px}
html[data-theme] .public-site .setup-offer{background:var(--rs-rose);color:var(--rs-text);border:1px solid var(--rs-border);border-radius:5px}
html[data-theme] .public-site .setup-offer :is(h2,p,p.plan-amount,span.amount-period,.text-link){color:var(--rs-text)}
html[data-theme] .template-order-toolbar{display:flex;align-items:center;gap:12px;padding:0 0 18px;margin:0 0 24px;border-bottom:1px solid var(--rs-border)}
html[data-theme] .template-order-toolbar>span:first-child{color:var(--rs-muted);margin-right:auto;font-size:14px}
html[data-theme] .template-order-toolbar .shift-order-actions{display:flex;gap:6px}
html[data-theme] body :is(.calendar-assignment,.cover-recipient,.cover-composer,.cover-email-changes){background:var(--rs-surface);border-color:var(--rs-border);border-radius:4px}
html[data-theme] body :is(.calendar-assignment.person-highlighted,.daily-person.person-highlighted){background:var(--rs-rose);border-color:var(--rs-accent)}
html[data-theme] body #personal-shift-calendar .fortnight-navigation{background:var(--rs-raised);border-radius:4px;backdrop-filter:none}
html[data-theme] body .cover-fortnight .cover-cell-changed{background:var(--rs-warning-bg)}
html[data-theme] body [data-cover-side=after] .cover-cell-changed{background:var(--rs-success-bg)}
html[data-theme] body .cover-verified{background:var(--rs-success-bg);color:var(--rs-success-ink);border-color:var(--rs-success-ink)}
html[data-theme] body .cover-proposal-actions{box-shadow:none}
@media(hover:hover) and (pointer:fine){
 html[data-theme] body :is(.hospital-card,.roster-card):hover{border-color:var(--rs-accent);box-shadow:5px 5px 0 var(--rs-shadow);transform:none}
 html[data-theme] .topbar nav>a:hover{background:var(--rs-wash);color:var(--rs-text)}
}
@media(max-width:1100px){html[data-theme] .topbar>nav{gap:4px}html[data-theme] .public-site .public-header nav{gap:14px}}
@media(max-width:650px){
 html[data-theme] body .topbar{padding:12px 16px;gap:8px}
 html[data-theme] .topbar .brand{font-size:21px}
 html[data-theme] .topbar>.appearance-toggle{order:1;margin-left:auto}
 html[data-theme] .topbar .workspace-mode-switch{order:2;margin-left:0}
 html[data-theme] body .topbar>nav{order:3;width:auto;flex:1;flex-wrap:wrap;justify-content:flex-end}
 html[data-theme] .topbar:has(.workspace-mode-switch)>nav{flex-basis:100%;justify-content:flex-start}
 html[data-theme] .topbar>nav>.account-menu{margin-left:auto}
 html[data-theme] body :is(h1,h1.smaller,.page-heading h1){font-size:40px}
 html[data-theme] body main{padding-top:24px}
 html[data-theme] body :is(.section-card,.personal-calendar,.team-calendar){padding:18px}
 html[data-theme] .public-site .public-header{padding-inline:16px}
 html[data-theme] .public-site .public-header nav{gap:10px}
 html[data-theme] .public-site .public-brand{font-size:20px}
 html[data-theme] .public-site .public-header .login-link{font-size:12px;padding:10px}
 html[data-theme] body dialog[open]:modal{border-radius:10px 10px 0 0;box-shadow:none}
 html[data-theme] body .shift-template>summary{grid-template-columns:minmax(55px,auto) minmax(0,1fr) 14px}
 html[data-theme] body .shift-template>summary>.shift-code{grid-column:1;grid-row:1}
 html[data-theme] body .shift-template>summary>span:nth-of-type(2){grid-column:2;grid-row:1}
 html[data-theme] body .shift-template>summary>.template-cst{grid-column:1/3;grid-row:2}
 html[data-theme] body .shift-template>summary:after{grid-column:3;grid-row:1/3}
}
@media(max-width:370px){html[data-theme] .public-site .public-header{flex-wrap:wrap;gap:10px}html[data-theme] .public-site .public-header nav{margin-left:auto}}
@media(prefers-contrast:more){html[data-theme]{--rs-border:var(--rs-muted)}html[data-theme] :is(button,.button,input,select,textarea){border-width:2px}}
@media print{
 html[data-theme] body{--rs-canvas:#fff;--rs-surface:#fff;--rs-raised:#fff;--rs-wash:#eef1f5;--rs-rose:#f1e4eb;--rs-text:#14283f;--rs-muted:#45556a;--rs-border:#aaa;--rs-accent:#772d45;--rs-shadow:transparent;color-scheme:light;background:#fff;color:#14283f}
 html[data-theme] body :is(.glass,.savebar,.section-card,.hospital-card){box-shadow:none}
 html[data-theme] .appearance-toggle{display:none}
}
