/* Operational components own geometry here; themes supply the same tokens. */
:root{--product-font:system-ui,-apple-system,"Segoe UI",sans-serif;--product-rail:88px;--product-header:64px}
body[data-theme="atelier"]{--ui-bg:#f1f3ed;--ui-panel:#fffef9;--ui-panel-alt:#e8ede1;--ui-ink:#19332d;--ui-muted:#516456;--ui-line:#bdc9b8;--ui-accent:#1d694e;--ui-accent-ink:#fff;--ui-sidebar:#12261f;--ui-sidebar-ink:#f0f5ed;--ui-sidebar-muted:#b8c9bd;--ui-sidebar-hover:#284c3c}
body[data-theme]{font-family:var(--product-font);background:var(--ui-bg);color:var(--ui-ink);--shadow:none}
body[data-theme] :is(h1,h2,h3,strong,button,input,select,textarea,.page-heading h1,.card-header h2,.stat-number,.arrival-title h2,.floor-title h1,.brand){font-family:var(--product-font)}
body[data-theme] :is(input:not([type=checkbox]):not([type=radio]),textarea,select){background:var(--ui-panel);color:var(--ui-ink);border:1px solid var(--ui-line);border-radius:6px}
body[data-theme] :is(input,textarea)::placeholder{color:var(--ui-muted);opacity:1}
body[data-theme] :is(.btn,.btn.small,.floor-tool,.pill-tab){border-radius:6px;font-size:15px;font-weight:600;min-height:48px;line-height:1.35;box-shadow:none}
body[data-theme] .btn.primary,body[data-theme] .btn.dark{background:var(--ui-accent);border-color:var(--ui-accent);color:var(--ui-accent-ink)}
body[data-theme] :is(.btn.primary,.btn.dark):is(:hover,:focus-visible,:active){background:var(--ui-accent);color:var(--ui-accent-ink);border-color:var(--ui-accent)}
body[data-theme] button:disabled{opacity:.5;cursor:not-allowed}
body[data-theme] :is(.card,.stat-card,.arrival-card,.guest-card,.menu-card,.setup-panel,.modal,.drawer,.ticket){border-radius:8px;box-shadow:none}
body[data-theme] main{padding:16px 20px 28px;max-width:none}
body[data-theme] .page-heading{flex-direction:row;align-items:center;gap:12px;margin:0 0 16px;min-height:48px}
body[data-theme] .page-heading h1{font-size:24px;line-height:1.2;letter-spacing:-.5px;margin:0}
body[data-theme] .page-heading .eyebrow,body[data-theme] .page-heading p{display:none}
body[data-theme] .heading-actions{width:auto;display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
body[data-theme] .card-header{padding:14px 16px;gap:8px}
body[data-theme] .card-header h2{font-size:18px}
body[data-theme] .card-header p{display:none}
body[data-theme] :is(.stats,.grid-main,.split-card,.guest-grid,.menu-grid,.outreach-grid,.kitchen-grid){gap:12px}
body[data-theme] .stats{grid-template-columns:repeat(4,minmax(0,1fr));margin:0 0 16px}
body[data-theme] .stat-card{min-height:0;padding:12px 16px}
body[data-theme] .stat-number{font-size:26px;margin-top:4px;font-variant-numeric:tabular-nums}
body[data-theme] .stat-foot,body[data-theme] .stat-icon{display:none}
body[data-theme] .topbar{height:var(--product-header);padding:8px 20px;position:sticky;top:0;z-index:19;background:var(--ui-panel);gap:16px}
.breadcrumbs{display:flex;align-items:center;gap:12px;min-width:0;flex:1}
body[data-theme] .breadcrumbs strong{font-size:18px;color:var(--ui-ink)}
.header-venue{font-size:14px;color:var(--ui-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body[data-theme] .top-actions{gap:8px;flex:none}.top-date{display:none}
.user-menu{position:relative}.user-menu summary{display:flex;gap:8px;align-items:center;min-height:48px;padding:4px 8px;cursor:pointer;border:1px solid var(--ui-line);border-radius:6px;list-style:none;color:var(--ui-ink)}.user-menu summary::-webkit-details-marker{display:none}.user-menu summary::after{content:'⌄';margin-left:4px}.user-menu-content{position:absolute;right:0;top:calc(100% + 8px);width:240px;padding:8px;display:grid;gap:6px;background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:8px;box-shadow:0 12px 28px #0002;z-index:85}.user-menu-content .btn{justify-content:flex-start;width:100%}
body[data-theme] .sidebar,body[data-theme].sidebar-collapsed .sidebar{width:var(--product-rail);padding:12px 8px;height:100dvh;gap:8px;background:var(--ui-sidebar);color:var(--ui-sidebar-ink);transition:none}
body[data-theme] .sidebar .brand,body[data-theme].sidebar-collapsed .sidebar .brand{margin:0;min-height:48px;justify-content:center}
body[data-theme] .sidebar :is(.brand-wordmark,.workspace,.nav-caption,.sidebar-toggle,.sidebar-bottom,.nav-secondary){display:none}
body[data-theme] .sidebar nav{margin:0;padding:0;overflow:visible;flex:1}
body[data-theme] #nav>.nav-primary,body[data-theme].sidebar-collapsed #nav>.nav-primary{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:8px 2px;margin:4px 0;min-height:68px;position:relative;font-size:12px;line-height:1.2;text-align:center;border-radius:6px;color:var(--ui-sidebar-muted)}
body[data-theme] #nav>.nav-primary.active{color:var(--ui-sidebar-ink);background:var(--ui-sidebar-hover);box-shadow:inset 3px 0 var(--ui-accent)}
body[data-theme].sidebar-collapsed #nav .nav-label{display:block;overflow-wrap:anywhere}
body[data-theme] #nav>.nav-primary .nav-icon{font-size:23px;width:auto}
body[data-theme] #nav>.nav-primary .nav-count{position:absolute;top:5px;right:5px;margin:0;font-size:11px;padding:2px 5px}
body[data-theme] .mobile-nav-toggle{display:flex;position:static;order:5;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-height:64px;width:100%;padding:6px 2px;background:transparent;border:1px solid transparent;color:var(--ui-sidebar-ink);border-radius:6px;font-size:14px}
body[data-theme] .topbar>#operationStatus{flex:none;position:relative;top:auto;overflow:visible;background:transparent;border:0;max-height:none;max-width:260px}
body[data-theme] #syncStatus{padding:4px 0;font-size:12px;line-height:1.4;color:var(--ui-muted)}
#syncStatus::before{content:'●';margin-right:6px;color:var(--ui-accent)}
body[data-theme] .topbar #draftStatus{padding:0;border:0;overflow:visible;max-height:none}
.topbar .draft-tray summary{min-height:28px;font-size:12px}.topbar .draft-tray-content{position:absolute;top:100%;right:0;width:min(520px,80vw);max-height:60dvh;overflow:auto;padding:16px;background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:8px;box-shadow:0 8px 24px #0002}
body[data-theme] .topbar #commandStatus:not([hidden]){position:absolute;right:0;top:100%;width:min(640px,85vw);max-height:60dvh;overflow:auto;background:var(--ui-panel);border:1px solid var(--ui-line);border-radius:8px;box-shadow:0 8px 24px #0002}
body[data-theme] #operationStatus:has(#commandStatus:not([hidden])){border-left:3px solid #c66b1a}
body[data-theme] .active-draft{font-size:12px}
body[data-theme] .floor-list-tools{margin:8px 0;gap:12px;flex-wrap:nowrap}
body[data-theme] .floor-list-tools label{min-width:180px;max-width:280px;gap:0;font-size:0}
body[data-theme] .floor-list-tools input{min-height:48px}
body[data-theme] .floor-filters{flex-wrap:nowrap}
body[data-theme] .floor-filters .btn{gap:6px;min-height:48px;padding:8px 10px;white-space:normal;font-size:14px}
body[data-theme] .floor-list-areas{flex-wrap:nowrap;overflow:auto;gap:6px;padding:2px 0}
body[data-theme] .floor-list-areas .btn{flex:none;min-height:48px;padding:8px 10px;font-size:14px}
body[data-theme] .floor-list-layout{margin-top:8px}.floor-results{margin:0 0 8px;font-size:13px;color:var(--ui-muted)}
body[data-theme] .service-table-grid{grid-template-columns:repeat(auto-fill,minmax(175px,1fr));gap:10px}
body[data-theme] button.service-table{min-height:124px;gap:5px;padding:12px;justify-content:flex-start;border-radius:6px}
body[data-theme] .service-table-head{gap:4px;flex-wrap:nowrap}
body[data-theme] .service-table-head strong{font-size:21px;white-space:nowrap}
body[data-theme] .service-table-head>span{font-size:12px;text-align:right}
body[data-theme] .service-table-state{font-size:15px}.service-table-party{font-size:14px}
body[data-theme] .service-table>span:last-child:not(.service-table-head){font-size:13px;color:var(--ui-muted)}
/* Table controls share two rows instead of introducing the same task twice. */
.service-floor{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px}
body[data-theme] .service-floor>.page-heading{display:contents}
.service-floor>.page-heading>div:first-child{display:none}
.service-floor>.page-heading .heading-actions{grid-column:2;grid-row:1;align-self:start}
body[data-theme] .service-floor>.floor-list-areas{grid-column:1;grid-row:1;margin:0;align-self:start;gap:6px}
.floor-list-areas span{margin-left:4px;font-size:12px;color:var(--ui-muted);font-variant-numeric:tabular-nums}
.station-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:12px}.station-tabs{display:flex;gap:8px;overflow:auto;padding:2px}.station-tabs .btn{flex:none}.station-tabs [aria-pressed=true]{border:2px solid var(--ui-accent);background:var(--ui-panel-alt);color:var(--ui-ink)}
.station-ticket-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:12px;align-items:start}
body[data-theme] .station-ticket{margin:0;padding:0;border:1px solid var(--ui-line);border-top:4px solid var(--ui-accent);border-radius:6px;overflow:hidden}
body[data-theme] .station-ticket .ticket-head{display:flex;flex-wrap:nowrap;align-items:flex-start;justify-content:space-between;padding:12px;gap:8px;border-bottom:1px solid var(--ui-line);background:var(--ui-panel-alt)}
body[data-theme] .station-ticket .ticket-head strong{font-size:22px}.station-ticket .ticket-head small{display:block;font-size:13px;line-height:1.4;margin-top:3px}
.ticket-age{font-size:18px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap;padding:4px 6px;background:var(--ui-panel);border-radius:4px;color:var(--ui-ink)}
.host-task-tabs{display:flex;gap:8px;margin:0 0 12px}.host-task-tabs .btn{gap:8px;min-height:48px}.host-task-tabs [aria-pressed=true]{background:var(--ui-accent);color:var(--ui-accent-ink);border-color:var(--ui-accent)}
.host-columns{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,1fr);gap:16px;align-items:start}.host-columns>div{min-width:0}.host-floor{min-width:0;position:sticky;top:80px}
body[data-theme] .host-toolbar{margin:0 0 12px;gap:12px;align-items:center}.host-toolbar>div{display:none}body[data-theme] .host-toolbar .search{width:100%}
body[data-theme] .host-columns .arrival-card{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:12px;margin-bottom:10px}
body[data-theme] .arrival-title h2{font-size:17px}.arrival-main p{margin:4px 0!important}.arrival-time strong{font-size:16px!important}.arrival-time small{font-size:12px!important}
body[data-theme] .arrival-actions{grid-column:1/-1;display:flex;gap:8px;margin:0}.arrival-actions .btn{flex:1;padding:8px}.arrival-allergy{font-size:14px!important}
.host-note{font-size:13px!important;padding:12px!important;margin-top:12px!important;background:var(--ui-panel-alt)!important;color:var(--ui-ink)!important}
body[data-theme] .setup-status{padding:12px 16px;margin-bottom:12px}.setup-status p{font-size:14px;margin:4px 0}.setup-status-icon{display:none}
.published-plan .floor-card{max-width:1100px}.published-plan .room{margin:16px;min-height:400px}
.open-checks{display:grid;gap:8px}.open-check{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,1fr) auto;gap:16px;align-items:center;min-height:92px;width:100%;padding:14px 16px;text-align:left;border:1px solid var(--ui-line);border-radius:6px;background:var(--ui-panel);color:var(--ui-ink)}.open-check strong{font-size:20px}.open-check small{display:block;font-size:14px;color:var(--ui-muted);margin-top:4px}.open-check>span:last-child{text-align:right;font-variant-numeric:tabular-nums}.open-check b{font-size:14px}
.check-request{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:12px;background:var(--ui-panel-alt);border-radius:6px}
.check-split-preview{margin:16px 0;padding:12px;border:1px solid var(--ui-line);border-radius:6px}.check-split-preview>summary{min-height:48px;cursor:pointer;display:flex;align-items:center;font-weight:600}.check-split-preview>summary::before{content:'▸';margin-right:8px}.check-split-preview[open]>summary::before{content:'▾'}.check-split-preview>p{font-size:14px;color:var(--ui-muted);line-height:1.5}.check-preview-tabs{display:flex;gap:8px}.check-preview-tabs .btn{flex:1;min-width:0}.check-preview-tabs [aria-pressed=true]{border:2px solid var(--ui-accent);background:var(--ui-panel-alt)}.split-count{display:flex;justify-content:center;gap:16px;align-items:center;margin:12px 0}.split-count output{min-width:60px;text-align:center;font-size:20px;font-variant-numeric:tabular-nums}
.station-ticket[data-age-band=waiting]{border-top-color:#b67810!important}.station-ticket[data-age-band=late]{border-top-color:#c34e36!important}.station-ticket[data-age-band=late] .ticket-age{outline:2px solid #c34e36;outline-offset:0}
body[data-theme] .station-ticket .ticket-body{padding:0 12px}
body[data-theme] .station-ticket .ticket-line{display:grid;grid-template-columns:minmax(0,1fr);padding:12px 0;gap:8px;border-bottom:1px solid var(--ui-line)}
body[data-theme] .station-ticket .ticket-line b{font-size:18px}.station-ticket .ticket-line small{font-size:14px;display:block;margin:4px 0}
.station-ticket .ticket-actions{display:flex;width:100%;margin:0}.station-ticket .ticket-actions .btn{width:100%;min-height:52px;font-size:16px}
.ticket-modifiers,.ticket-note{font-size:16px;display:block;margin:8px 0;line-height:1.4}.ticket-note{border-left:3px solid var(--ui-line);padding-left:8px}
body[data-theme] .ticket-allergy{margin:12px;padding:10px;font-size:16px;font-weight:700;border:2px solid #bf641b;background:var(--ui-panel);color:var(--ui-ink)}
body[data-theme] .service-floor>.floor-list-tools{grid-column:1/-1;grid-row:2;margin:0}
body[data-theme] .service-floor>.floor-list-layout{grid-column:1/-1;grid-row:3;margin-top:0}
.service-floor .floor-results{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:900px){.header-venue,#staffName{display:none}.topbar>#operationStatus{max-width:220px}body[data-theme] .grid-main{grid-template-columns:1fr}body[data-theme] .floor-list-tools{flex-wrap:wrap}body[data-theme] .floor-list-tools label{flex:1;max-width:none}body[data-theme] .floor-filters{flex:1}}
@media(max-width:700px){
  :root{--product-rail:0px;--product-header:56px;--product-taskbar:72px}
  html{scroll-padding-top:64px;scroll-padding-bottom:90px}
  .app-shell{display:block}
  body[data-theme] .sidebar,body[data-theme].sidebar-collapsed .sidebar{position:fixed;top:auto;bottom:0;left:0;right:0;z-index:19;display:flex;flex-direction:row;align-items:stretch;gap:4px;width:100%;height:auto;min-height:var(--product-taskbar);padding:6px 8px max(6px,env(safe-area-inset-bottom));border-top:1px solid var(--ui-line);box-shadow:none}
  body[data-theme] .sidebar .brand,body[data-theme].sidebar-collapsed .sidebar .brand{display:none}
  body[data-theme] #nav,body[data-theme].sidebar-collapsed #nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex:3;min-width:0;width:auto}
  body[data-theme] #nav>.nav-primary,body[data-theme].sidebar-collapsed #nav>.nav-primary{min-height:58px;margin:0;padding:4px 2px;font-size:12px;gap:4px}
  body[data-theme] #nav>.nav-primary .nav-icon{display:block;font-size:20px}
  body[data-theme] .mobile-nav-toggle{flex:1;width:auto;min-height:58px;font-size:15px}
  body[data-theme] .topbar{height:var(--product-header);padding:4px 12px;gap:8px}.breadcrumbs strong{font-size:17px!important}
  body[data-theme] .topbar>#operationStatus{max-width:140px}body[data-theme] .topbar #syncStatus{font-size:11px;max-width:140px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
  body[data-theme] .topbar .active-draft{font-size:11px}.topbar .draft-tray summary{min-height:24px;font-size:11px}
  .topbar .user-menu summary{padding:3px;min-width:40px;min-height:44px;border:0}.user-menu summary::after{display:none}body[data-theme] .top-avatar{display:grid}
  body[data-theme] .topbar .icon-button{display:none}
  body[data-theme] main{padding:12px 12px calc(var(--product-taskbar) + 20px + env(safe-area-inset-bottom))}
  body[data-theme] .page-heading{gap:8px;align-items:flex-start;margin-bottom:10px}.page-heading h1{font-size:21px!important}
  body[data-theme] .heading-actions{gap:6px}.heading-actions .btn{width:auto!important;padding:8px 10px!important;font-size:14px!important}
  body[data-theme] .floor-list-tools{gap:8px;margin:8px 0}.floor-list-tools label{width:100%;max-width:none!important}
  body[data-theme] .floor-filters .btn{display:flex;flex:1;justify-content:center;gap:5px;min-height:48px;padding:6px;font-size:13px}
  body[data-theme] .floor-list-areas .btn{padding:8px;font-size:13px}
  .service-floor{gap:8px}.service-floor>.page-heading .heading-actions{grid-column:1/-1;grid-row:1}.service-floor>.floor-list-areas{grid-row:3!important;grid-column:1/-1!important}.service-floor>.floor-list-layout{grid-row:4!important}
  body[data-theme] .service-table-grid{grid-template-columns:1fr;gap:8px}
  body[data-theme] button.service-table{min-height:88px;position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;padding:10px 12px}
  .service-table-head{grid-row:1;grid-column:1}.service-table-state{grid-row:1;grid-column:2;align-self:center}.service-table-party{grid-row:2;grid-column:1}.service-table>span:last-child:not(.service-table-head):not(.service-table-state):not(.service-table-party){grid-row:2;grid-column:2;max-width:160px;text-align:right}
  body[data-theme] .service-table-head>span{margin-left:auto}.service-table-head strong{font-size:19px!important}
  body[data-theme] .stats{gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.stat-card{padding:10px!important}.stat-top{font-size:13px!important}.stat-number{font-size:24px!important}
  body[data-theme] .floor-main{padding:0 0 var(--product-taskbar)}
  body[data-theme] .floor-hint{display:none}
  body[data-theme] .seat-mobile-bar{bottom:calc(var(--product-taskbar) + env(safe-area-inset-bottom))}
  body:is(.modal-open,.drawer-open) .sidebar{visibility:hidden}
  body[data-theme] .navigation-backdrop{bottom:calc(var(--product-taskbar) + env(safe-area-inset-bottom))}
  .station-toolbar{flex-wrap:wrap;gap:8px}.station-tabs{flex:1;min-width:0}.station-toolbar>.btn{font-size:13px;padding:8px}.station-ticket-grid{grid-template-columns:1fr}
  .host-columns{display:block}.host-floor{display:none}.host-task-tabs{gap:6px}.host-task-tabs .btn{flex:1;padding:8px;font-size:14px}
  .open-check{grid-template-columns:minmax(0,1fr) auto;padding:12px;gap:8px}.open-check>span:nth-child(2){grid-row:2;grid-column:1}.open-check>span:last-child{grid-column:2;grid-row:1/3}.open-check strong{font-size:18px}.check-preview-tabs{gap:6px}.check-preview-tabs .btn{padding:8px;font-size:13px}
  body.order-workspace-open #toastRoot{bottom:84px}
}
@media(forced-colors:active){body[data-theme] :is(.btn,.service-table,.nav-primary){border:1px solid ButtonText}body[data-theme] :is(.btn.primary,.btn.dark){forced-color-adjust:auto}}

.separate-checks{display:grid;gap:10px;margin:16px 0}.separate-checks article{padding:12px;border:1px solid var(--ui-line);border-radius:6px;display:grid;grid-template-columns:1fr auto;gap:8px}.separate-checks article small{grid-column:1/-1;color:var(--ui-muted);font-size:14px}.separate-checks article .btn{grid-column:1/-1}
.station-ticket .ticket-actions{flex-direction:column;gap:8px}.service-context{flex-wrap:wrap}.allergy-context{white-space:pre-line}
.admin-toolbar{display:flex;gap:12px;align-items:end;margin-bottom:12px}.admin-toolbar label{flex:1}.admin-toolbar input{width:100%}.admin-categories{display:flex;gap:8px;overflow:auto;margin:12px 0}.admin-categories .btn{flex:none}.admin-categories [aria-pressed=true]{border:2px solid var(--ui-accent)}
.catalog-list,.guest-records{display:grid;gap:8px}.catalog-row,.guest-record{padding:12px 16px;border:1px solid var(--ui-line);border-radius:6px;background:var(--ui-panel)}.catalog-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.catalog-row strong,.guest-record summary strong{font-size:18px}.catalog-row small,.guest-record small{display:block;font-size:14px;color:var(--ui-muted);margin-top:5px}.catalog-row .inline-actions{grid-column:1/-1;flex-wrap:wrap}.catalog-row .inline-actions .btn{min-width:120px}.catalog-price{font-size:18px;font-variant-numeric:tabular-nums}.guest-record summary{min-height:60px;cursor:pointer;display:flex;align-items:center;gap:12px;justify-content:space-between}.guest-record summary::after{content:'▸';font-size:22px}.guest-record[open] summary::after{content:'▾'}.guest-record p{font-size:16px;overflow-wrap:anywhere}.guest-record .danger-note{padding:12px;border:2px solid #bf641b;border-radius:6px;color:var(--ui-ink)}
.activity-detail{grid-column:1/-1;font-size:14px;color:var(--ui-muted);overflow-wrap:anywhere}.activity-detail summary{min-height:48px;display:flex;align-items:center;cursor:pointer}.activity-row{display:grid!important;grid-template-columns:1fr auto!important;gap:8px!important}.activity-row .row-info{min-width:0}.activity-row .row-info strong{font-size:16px}.activity-row .row-info small{font-size:14px}.rehearsal-settings{margin-top:20px;border:1px solid var(--ui-line);border-radius:8px;padding:16px}.rehearsal-settings>summary{min-height:48px;cursor:pointer;font-weight:600}
@media(min-width:1000px){.catalog-row{grid-template-columns:minmax(0,1fr) auto minmax(360px,auto)}.catalog-row .inline-actions{grid-column:3}.guest-records{max-width:1000px}.admin-workspace{max-width:1400px}}

body[data-theme] .station-ticket .ticket-line small{color:var(--ui-muted);opacity:1}

.catalog-row .inline-actions .btn:first-child{min-width:52px}.admin-workspace>.page-heading{flex-wrap:wrap}.admin-workspace>.page-heading h1{flex:1}
@media(max-width:700px){.admin-workspace>.page-heading h1{flex-basis:100%}.admin-workspace>.page-heading>.btn{flex:1}.admin-toolbar{flex-wrap:wrap}.catalog-row .inline-actions .btn{min-width:0;flex:1}.catalog-row .inline-actions .btn:first-child{flex:0 0 52px}}

.sent-round{border-bottom:1px solid var(--ui-line);padding:6px 0}.sent-round summary{min-height:48px;display:flex;align-items:center;gap:4px;cursor:pointer;flex-wrap:wrap;font-size:14px}.sent-round summary::before{content:'▸'}.sent-round[open] summary::before{content:'▾'}.service-corrections{border-top:1px solid var(--ui-line);padding:16px 0}.service-corrections p{font-size:16px}.service-corrections small{font-size:14px;color:var(--ui-muted)}
body[data-theme] .order-review-pane .order-saved-drafts article p{font-size:14px}.round-help>summary{min-height:48px}
body[data-theme] .topbar .draft-tray summary,body.order-workspace-open .draft-tray summary{min-height:48px}
body[data-theme] .topbar>#operationStatus:has(.draft-tray) #syncStatus{display:none}

.service-guest-notes{flex:0 0 100%}.service-guest-notes summary{min-height:48px;display:flex;align-items:center;cursor:pointer;font-size:15px;font-weight:600}.service-guest-notes summary::before{content:"▸";margin-right:8px}.service-guest-notes[open] summary::before{content:"▾"}.service-guest-notes[open]{max-height:180px;overflow:auto}.service-guest-notes p{font-size:16px;white-space:pre-line;margin:6px 0}
body[data-theme] :is(.outreach-form label,.setup-form label,.field label){color:var(--ui-ink)}
body[data-theme] :is(.outreach-hint,.outreach-body>p,.outreach-recipients,.setup-status p,.setup-size-note,.setup-tip,.appearance-note p){color:var(--ui-muted)}
body[data-theme] .account-row.selected{border-color:var(--ui-accent)}
body[data-theme] .arrival-time{min-width:0;padding-right:8px;align-self:start;border-color:var(--ui-line)}
body[data-theme] .arrival-time strong{color:var(--ui-ink)}
body[data-theme] .arrival-time small{color:var(--ui-muted);font-size:14px!important}
body[data-theme] .arrival-state{max-width:100%;white-space:normal;overflow-wrap:anywhere;background:var(--ui-panel-alt);color:var(--ui-ink)}
body[data-theme] .arrival-allergy{color:var(--ui-ink);border-left:3px solid #bf641b;padding-left:8px;line-height:1.5;overflow-wrap:anywhere}
body[data-theme] .arrival-title span{color:var(--ui-muted)}
body[data-theme] .host-task-tabs [aria-pressed=true]{background:var(--ui-accent);color:var(--ui-accent-ink);border-color:var(--ui-accent)}
@media(max-width:700px){
  .host-task-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .host-task-tabs .btn{display:block;min-width:0;white-space:normal;overflow-wrap:anywhere}
  .host-task-tabs .btn span{margin-left:4px}
  body[data-theme] .host-columns .arrival-card{grid-template-columns:minmax(0,1fr);align-items:start}
  body[data-theme] .arrival-time{flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px;border:0;padding:0}
  body[data-theme] .arrival-state{max-width:100%;margin-left:auto}
  .arrival-main{min-width:0}.arrival-actions .btn{white-space:normal}
}
body[data-theme] .modal-actions .btn.primary,.separate-checks .btn.primary{min-height:56px}
body[data-theme] .service-order-window .order-menu-grid>.order-menu-tile.btn{min-height:112px;height:auto;gap:4px;overflow:hidden}
.service-guest-notes{flex:0 0 auto;max-width:350px;margin:0}
.service-guest-notes>summary{padding:8px 12px;border:1px solid var(--ui-line);border-radius:6px;background:var(--ui-panel)}
.service-guest-notes[open]{flex-basis:100%;max-width:none}
body[data-theme] .service-order-window .modal-head{padding:4px 16px;min-height:56px}
.service-order-window .service-context{padding:4px 16px;min-height:56px}
.service-order-window .order-view-tabs{padding:4px 16px;min-height:56px}

/* Operational tasks precede the floor; never rely on color for urgency. */
.service-attention{margin-bottom:16px}
.service-attention .card-header{gap:12px;flex-wrap:wrap}
.attention-row{display:grid;grid-template-columns:minmax(140px,1fr) minmax(0,3fr) auto;align-items:center;gap:12px;width:100%;min-height:64px;padding:12px 16px;border:0;border-top:1px solid var(--ui-line);background:var(--ui-panel);color:var(--ui-ink);font:inherit;text-align:left;cursor:pointer}
.attention-row>span:first-child{display:flex;flex-direction:column;gap:4px;min-width:0}
.attention-row small{overflow-wrap:anywhere}
.attention-reasons{display:flex;flex-wrap:wrap;gap:6px 16px;min-width:0;overflow-wrap:anywhere}
.attention-reasons>span:first-child{font-weight:700}
.attention-open{font-weight:600}
.attention-row:focus-visible{outline:3px solid var(--ui-accent,#19765b);outline-offset:-3px}
@media(max-width:600px){.attention-row{grid-template-columns:minmax(0,1fr) auto}.attention-reasons{grid-column:1 / -1;grid-row:2}.attention-open{grid-column:2;grid-row:1}.service-attention .card-header{padding:12px}}

.directory-pager{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.5rem 0;flex-wrap:wrap}.directory-pager span{font-size:.85rem;color:var(--muted)}.choice-directory{padding:0 1rem}.order-catalog>.directory-pager{padding-inline:1rem}
