.work-mode-switch{position:relative;z-index:1200;max-width:100%}
.work-mode-switch>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;border:1px solid #ffffff24;border-radius:16px;background:#ffffff08;color:#ffe16b;cursor:pointer;list-style:none;min-height:46px}
.work-mode-switch>summary::-webkit-details-marker{display:none}
.work-mode-menu{position:absolute;right:0;top:calc(100% + 8px);width:245px;max-width:85vw;padding:8px;background:#302428;border:1px solid #ffffff24;border-radius:18px;box-shadow:0 12px 36px #0004}
.work-mode-switch[open] .work-mode-menu{animation:work-mode-open .18s ease-out both}
@keyframes work-mode-open{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.work-mode-switch[open] .work-mode-menu{animation:none}}
.work-mode-menu form{margin:0}.work-mode-menu button{display:block;width:100%;text-align:left;border:0;border-radius:12px;background:transparent;color:#fff4e4;padding:12px;cursor:pointer}
.work-mode-menu button[aria-pressed=true]{background:#ffda4d;color:#2a1c1c}
.worker-summary,.worker-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 22px}
.worker-order{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid #ffffff18;padding:20px 0}
.worker-order:last-child{border-bottom:0}.worker-order h3,.worker-order h2{margin:10px 0 6px}.worker-order p{margin:4px 0;color:#c4b9bb}
.worker-empty{padding:35px 0;text-align:center;color:#c4b9bb}.worker-empty>.icon{width:40px;height:40px;color:#ffdb57}.worker-empty h3{color:#fff3df}
.worker-form{max-width:720px}.worker-form form{display:grid;gap:14px}.worker-form .worker-links{margin:10px 0}
.worker-profile-link{display:flex;justify-content:space-between;padding:18px 0;color:#ffde60}
.workspace .mobile-app-header .work-mode-switch{margin-left:auto;min-width:140px}
/* Work roles are available beside the delivery address on the storefront. */
.mobile-app-header.has-header-mode{grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr) auto}
.header-mode-switch{justify-self:end}
.header-mode-switch>summary{display:flex;flex-direction:row;gap:5px;justify-content:center;padding:8px;min-width:44px;min-height:40px;border-radius:12px;font-size:10px}
.header-mode-switch>summary .icon{width:17px;height:17px}
.header-mode-switch .work-mode-menu{right:0;max-height:65dvh;overflow-y:auto}
@media(min-width:769px){.mobile-app-header.has-header-mode{grid-template-columns:minmax(160px,1fr) minmax(0,1.7fr) minmax(80px,1fr)}.header-mode-switch>summary{flex-direction:row;gap:8px;padding:12px 16px;font-size:13px}}
@media(max-width:768px){.worker-order{align-items:stretch;flex-direction:column;gap:10px}.worker-order .button{width:100%}.worker-links>.button{flex:1;white-space:normal}.workspace .mobile-app-header{display:flex;justify-content:space-between}.workspace .mobile-app-header .mobile-profile-link{max-width:45%}.workspace .mobile-app-header .work-mode-menu{min-width:210px}.worker-summary{align-items:flex-start}}

/* A separate, high-contrast next step in courier onboarding. */
.worker-phone-check{display:grid;grid-template-columns:24px minmax(0,1fr);align-items:start;gap:12px;padding:18px;margin:20px 0 26px;border:1px solid #ffda4d80;border-radius:18px;background:#392c20;color:#fff4e4}
.worker-phone-check>.icon{width:24px;height:24px;color:#ffda4d;margin-top:2px}
.worker-phone-check strong{display:block;color:#ffde60;font-size:17px;line-height:1.4}
.worker-phone-check p{margin:7px 0 0;color:#fff4e4;line-height:1.5;font-size:14px}
.worker-phone-check>.button{grid-column:2;justify-self:start;margin-top:4px;background:#ffda4d;color:#211b1b;min-height:48px;white-space:normal;text-align:center}
.worker-phone-check.is-verified{border-color:#80bb9670;background:#25332b}
.worker-phone-check.is-verified strong,.worker-phone-check.is-verified>.icon{color:#b9e4c6}
@media(max-width:480px){.worker-phone-check{padding:16px;gap:10px}.worker-phone-check>.button{grid-column:1/-1;justify-self:stretch;width:100%}.worker-phone-check strong{font-size:16px}}
