/* Loaded after workspace styles: phone rules must not restore the desktop sidebar. */
.department-mobile-nav{display:none}
@media screen and (max-width:760px){
 #app>.side{display:none}
 #app>.shell{margin-left:0;min-width:0}
 .shell>.topbar{padding:12px 16px;min-height:0;height:auto;gap:10px;align-items:center;justify-content:space-between}
 .topbar .mobilebrand{display:flex;font-size:22px;gap:9px}
 .mobilebrand img{width:32px;height:32px;object-fit:contain}
 .topbar .crumb,.topright .time,.topright .session-email{display:none}
 .topbar .topright{display:flex;flex-wrap:wrap;width:100%;gap:8px;justify-content:flex-start;align-items:center}
 .topright .sync-feedback{order:5;flex-basis:100%;max-width:none;font-size:11px;overflow-wrap:anywhere}
 .topright .sync-feedback:empty,#bar-save-status:empty{display:none}
 .topright .btn,.topright .session-signout,.topright .lang{min-height:44px;font-size:12px}
 .topright .btn{padding:10px 12px}
 .topright .lang{margin-left:auto;padding:4px;align-items:center}
 .topright .lang button{min-width:34px;min-height:34px;font-size:12px}
 .topright .session-signout{padding:10px 12px;white-space:nowrap}
 .shell>.trialbar{margin:12px 16px 0;padding:10px 12px;font-size:11px;line-height:1.6}
 .shell main{min-width:0;padding:24px 16px 36px}
 #app:has(.mobilebar) main{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 .heading{gap:14px;flex-wrap:wrap}
 .heading h1{font-size:32px;overflow-wrap:anywhere}
 .heading .btn{min-height:44px;white-space:normal}
 .page-back-row{margin-bottom:18px}
 .page-back-row .btn{min-height:44px}
 .filters{flex-wrap:wrap}
 .filter{min-height:42px}
 .tasks,.op-more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .task,.op-more-grid>.panel{min-width:0}
 .op-more-grid>.panel{padding:18px 14px}
 .op-more-grid h2{font-size:20px;overflow-wrap:anywhere}
 .field input,.field select,.field textarea,.inventory-workspace input,.inventory-workspace select,.hk-count-fields input,.hk-count-fields select,.bar-ingredient-row select{font-size:16px}
 .fields{grid-template-columns:minmax(0,1fr)}
 .mobilebar{padding-left:8px;padding-right:8px}
 .mobilebar button{flex:1;min-width:0;min-height:44px;padding:2px 8px;font-size:10px}
 .department-mobile-nav{display:block;background:#191919;color:#f4f4ef;border-bottom:1px solid #343431}
 .department-mobile-nav>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:72px;padding:14px 16px;list-style:none;cursor:pointer}
 .department-mobile-nav>summary::-webkit-details-marker{display:none}
 .department-mobile-nav>summary:focus-visible{outline:3px solid #d0a43b;outline-offset:-4px}
 .mobile-workspace-brand{display:flex;align-items:center;gap:10px;min-width:0}
 .mobile-workspace-brand img{width:38px;height:38px;object-fit:contain;border-radius:8px}
 .mobile-workspace-brand strong{display:block;font:600 21px/1.1 'League Spartan',sans-serif}
 .mobile-workspace-brand small{display:block;font-size:9px;letter-spacing:1.1px;margin-top:4px;color:#bdbdb7}
 .mobile-menu-label{font-size:13px;border:1px solid #55554f;border-radius:8px;padding:10px 12px;white-space:nowrap}
 .department-mobile-nav[open] .mobile-menu-label{background:#333331;color:white}
 .department-mobile-nav>nav{padding:0 12px 12px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;max-height:65svh;overflow-y:auto}
 .department-mobile-nav .navbtn{min-width:0;min-height:48px;margin:0;padding:12px;font-size:12px;line-height:1.4}
 .bar-ingredient-row{grid-template-columns:minmax(0,1fr) 80px 28px 36px}
 .bar-ingredient-row .field{min-width:0}
 .hk-savebar{flex-wrap:wrap}
}
@media screen and (max-width:380px){
 .tasks,.op-more-grid{grid-template-columns:minmax(0,1fr)}
 .heading h1{font-size:29px}
 .topright .btn,.topright .session-signout{padding:8px;font-size:11px}
 .bar-ingredient-row{grid-template-columns:minmax(0,1fr) 68px 24px 32px;gap:5px}
}

/* Everyday workflow navigation — v2.18 */
.workspace-more{margin:6px 0}.workspace-more>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.workspace-more>summary::-webkit-details-marker{display:none}.workspace-more-links{border-left:1px solid #4b4b47;margin-left:19px;padding-left:8px}.workspace-more-links .navbtn{font-size:13px}.request-status-tabs,.daily-sections{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.request-status-tabs .filter,.daily-sections .filter{min-height:44px}.daily-buckets[hidden]{display:none!important}.workflow-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.workspace-search{position:relative}.workspace-search>summary{list-style:none;cursor:pointer}.workspace-search>summary::-webkit-details-marker{display:none}.quick-search-panel{position:absolute;right:0;top:calc(100% + 12px);z-index:60;width:min(480px,calc(100vw - 32px));max-height:70dvh;overflow:auto;padding:22px;background:#fff;border:1px solid #e3e1da;border-radius:18px;box-shadow:0 18px 50px #0002}.quick-search-panel label{display:block;font-size:13px;font-weight:700;margin-bottom:10px}.quick-search-panel input{width:100%;box-sizing:border-box;padding:14px;border:1px solid #d9d8d0;border-radius:10px;min-height:48px;font-size:16px}.quick-search-result{display:flex;flex-direction:column;gap:5px;padding:14px 0;border-bottom:1px solid #ecebe6;text-decoration:none;color:#242423}.quick-search-result small{color:#77786e}.quick-search-result:hover strong{color:#ed1635}.request-focus{outline:2px solid #ed1635;outline-offset:4px}
@media(max-width:800px){.department-mobile-nav nav .workspace-more>summary{width:100%;box-sizing:border-box}.department-mobile-nav nav .workspace-more-links{display:flex;flex-direction:column}.department-mobile-nav nav .workspace-more-links .navbtn{width:100%;box-sizing:border-box}.department-mobile-nav nav{align-items:stretch}.request-status-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.request-status-tabs button{white-space:normal}.workflow-actions{position:sticky;bottom:calc(18px + env(safe-area-inset-bottom));z-index:12;background:#fffefb;padding:12px;border:1px solid #e4e1d8;border-radius:14px;box-shadow:0 -3px 18px #0000000a}.workflow-actions .primary{min-height:48px;flex:1}.workspace-search{position:static}.quick-search-panel{position:fixed;left:16px;right:16px;top:100px;max-height:65dvh;width:auto}.daily-sections{display:grid;grid-template-columns:1fr}.daily-sections .filter{text-align:left}}
.restock-create>summary,.restock-low>summary{cursor:pointer;font-size:17px;font-weight:700;min-height:32px}.restock-create[open]>summary,.restock-low[open]>summary{margin-bottom:20px}.workspace-more>summary:focus-visible,.restock-create>summary:focus-visible,.restock-low>summary:focus-visible{outline:2px solid #ed1635;outline-offset:3px}
@media(max-width:800px){body:has(.bottomnav) .workflow-actions{bottom:calc(84px + env(safe-area-inset-bottom))}.department-mobile-nav nav .workspace-more{grid-column:1 / -1}}

/* Admin daily desk — v2.19 */
.admin-home>.heading{margin:0 0 18px}.admin-home>.heading h1{margin-bottom:5px}.admin-home>.heading .sub{margin-top:4px}.home-metrics{margin-bottom:16px}.home-metrics .op-metric{padding:18px 22px;gap:5px;min-height:112px}.home-metrics .op-metric strong{font-size:28px}.home-metrics .is-urgent{border-color:#f2c9ce;background:#fffafb}.home-metrics .is-urgent strong{color:#bb2038}.home-quick-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}.home-quick-actions .btn{gap:8px;min-height:44px}.home-quick-actions svg{width:17px;height:17px}.home-followups{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.home-followups .btn{font-size:11px}.home-priorities.admin-daily{margin:16px 0 20px;padding:22px}.home-priorities .helptext{margin:6px 0 0}.home-priorities .home-date-tabs{margin:16px 0 10px;display:flex;flex-wrap:wrap;gap:6px}.home-priorities .department-tabs{margin-bottom:12px}.home-priorities .daily-task{padding:12px 0;gap:14px}.home-priorities .daily-task h3{font-size:16px;margin:3px 0}.home-priorities .daily-task p{margin:3px 0}.home-priorities .daily-task-actions .btn{min-height:40px}.daily-urgency{display:inline-block;color:#ad1d33;background:#fcebed;padding:2px 7px;border-radius:5px;font-weight:700;margin-right:4px}.home-task-note{font-size:11px;color:var(--muted);margin:14px 0 0}.home-disclosure{border:1px solid var(--line);border-radius:14px;background:#fff;margin:12px 0}.home-disclosure>summary{list-style:none;cursor:pointer;min-height:62px;padding:18px 22px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:700}.home-disclosure>summary::-webkit-details-marker{display:none}.home-disclosure>summary .helptext{font-size:11px;font-weight:400}.home-disclosure>summary:focus-visible{outline:3px solid #d0a43b;outline-offset:3px}.home-disclosure-body{padding:0 22px 20px}.home-disclosure .inventory-valuation{margin-top:0}.home-record-checks .op-attention{padding:12px}.home-record-links{margin-top:16px}
@media(max-width:800px){.home-metrics .op-metric{min-height:0;padding:15px}.home-metrics .op-metric strong{font-size:24px}.home-quick-actions{display:grid;grid-template-columns:1fr 1fr}.home-quick-actions .btn{justify-content:center;padding:10px;font-size:12px}.home-quick-actions>.btn:last-child{grid-column:1/-1}.home-priorities.admin-daily{padding:17px}.home-priorities .row-between{gap:10px;align-items:flex-start}.home-priorities .row-between h2{font-size:22px}.home-priorities .row-between>.btn{font-size:11px;padding:9px;white-space:normal;text-align:center}.home-date-tabs{display:grid!important;grid-template-columns:1fr 1fr}.home-date-tabs .filter{font-size:11px;min-height:43px;padding:9px}.home-priorities .daily-task{flex-direction:row;align-items:center}.home-priorities .daily-task>div:first-child{min-width:0}.home-priorities .daily-task h3{overflow-wrap:anywhere}.home-priorities .daily-task-actions{width:auto;max-width:42%;flex-shrink:0}.home-priorities .daily-task-actions .btn{white-space:normal;text-align:center;font-size:11px;padding:8px}.home-disclosure>summary{padding:16px;align-items:flex-start;flex-direction:column;gap:4px}.home-disclosure-body{padding:0 16px 16px}}
.shell:has(.admin-home)>main{padding-top:28px}@media(max-width:800px){.shell:has(.admin-home)>main{padding-top:22px}}

.home-metrics .op-metric strong{font-size:clamp(20px,2vw,26px);white-space:nowrap}.filters .filter.active .count-pill{background:#ffffff26;color:inherit}@media(max-width:800px){.home-metrics .op-metric strong{font-size:24px}}
