/* Action-first employee screens. Workflow state and actions stay server-rendered. */
.mobile-screen{display:flex;flex-direction:column;gap:24px;max-width:760px;min-width:0}
.mobile-screen *{box-sizing:border-box}
.mobile-screen h1,.mobile-screen h2,.mobile-screen h3,.mobile-screen p{margin:0}
.mobile-screen h1{font-size:clamp(25px,4vw,32px);line-height:1.2;letter-spacing:-.04em}
.mobile-screen h2{font-size:19px;line-height:1.3;font-weight:700}
.mobile-screen h3{font-size:16px;line-height:1.4;font-weight:650}
.mobile-screen .eyebrow{font-size:10px;letter-spacing:.14em;line-height:1.6}
.mobile-screen .subtitle,.mobile-screen .field-hint{color:var(--dispatch-muted);font-size:14px;line-height:1.55}
.mobile-screen .btn{min-height:44px;display:inline-flex;align-items:center;justify-content:center;white-space:normal;font-weight:650;border-radius:12px}
.mobile-greeting{display:flex;align-items:center;justify-content:space-between;gap:16px}
.mobile-greeting>div,.mobile-screen-heading{display:flex;flex-direction:column;gap:7px;min-width:0}
.mobile-initials{display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;border-radius:50%;background:var(--mobile-accent-soft,#dcf6ed);color:var(--dispatch-accent);font-weight:750;text-decoration:none;letter-spacing:-.02em}
.mobile-status-line{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;flex-wrap:wrap;min-height:44px;padding:8px 12px;border:1px solid var(--dispatch-accent);border-radius:12px;background:var(--dispatch-panel)}
.mobile-status-value{font-size:14px;font-weight:700;line-height:1.4;color:var(--dispatch-accent);background:var(--mobile-accent-soft,#dcf6ed);border-radius:7px;padding:3px 8px}
.mobile-status-standby{display:inline-flex;align-items:center;gap:4px;font-size:12px;line-height:1.4;color:var(--dispatch-muted)}
.mobile-status-standby>[aria-hidden]{color:var(--dispatch-accent);font-weight:700}
.mobile-profile{gap:16px}
.mobile-profile .panel{padding:18px;border-radius:16px;margin:0;min-width:0}
.mobile-profile-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.mobile-profile-summary>strong{font-size:15px}
.mobile-profile-summary>span{font-size:13px;color:var(--dispatch-accent)}
.mobile-profile-summary>.field-hint{flex-basis:100%;font-size:12px}
.mobile-profile-form,.mobile-profile-field,.mobile-profile-contact{display:flex;flex-direction:column;gap:10px;min-width:0}
.mobile-profile-form{gap:22px}
.mobile-profile .validation-summary-valid{display:none}
.mobile-profile-field+.mobile-profile-field{border-top:1px solid var(--dispatch-line);padding-top:20px}
.mobile-profile .form-label{margin:0;font-size:14px;font-weight:600}
.mobile-profile .form-control{width:100%;min-width:0;font-size:16px;border-radius:10px}
.mobile-profile input[type=file]{font-size:13px;padding:9px}
.mobile-profile-photo-row{display:flex;gap:14px;align-items:center}
.mobile-profile-photo,.mobile-profile-photo-placeholder{width:84px;height:84px;border-radius:16px;flex-shrink:0;object-fit:cover;background:var(--dispatch-bg)}
.mobile-profile-photo-placeholder{display:grid;place-items:center;font-size:12px;color:var(--dispatch-muted)}
.mobile-profile [hidden]{display:none!important}
.mobile-profile .profile-list{margin:6px 0 0;gap:14px}
.mobile-profile .profile-list dd{font-size:14px;margin-bottom:0}
.mobile-profile .mobile-card-actions>.btn{flex:1}
.mobile-address-results{display:flex;flex-direction:column;max-height:240px;overflow-y:auto;border:1px solid var(--dispatch-line);border-radius:10px;background:var(--dispatch-panel)}
.mobile-address-results button{width:100%;min-height:48px;padding:12px;text-align:left;border:0;background:transparent;color:var(--dispatch-text);font-size:14px;line-height:1.5}
.mobile-address-results button+button{border-top:1px solid var(--dispatch-line)}
.mobile-address-results button:hover,.mobile-address-results button[aria-selected=true]{background:var(--mobile-accent-soft,#dcf6ed);color:var(--dispatch-accent)}
.mobile-work-hero{display:flex;flex-direction:column;gap:18px;padding:24px;border-radius:24px;background:var(--mobile-hero,#122d3d);color:var(--mobile-hero-text,#f1fbfd);box-shadow:0 6px 18px #07132210;overflow-wrap:anywhere}
.mobile-screen .mobile-work-hero h2{font-size:clamp(25px,4vw,31px);line-height:1.18;letter-spacing:-.035em;margin-bottom:14px;color:inherit}
.mobile-screen .mobile-work-hero>h2{margin-bottom:0}
.mobile-screen .mobile-work-hero h3{font-size:18px;margin-bottom:6px;color:inherit}
.mobile-work-hero .eyebrow,.mobile-hero-caption,.mobile-hero-address{color:#c2d7e2}
.mobile-work-hero .badge-soft{background:#d1f6e9;color:#095346;flex-shrink:0;font-weight:650}
.mobile-card-heading{display:flex;justify-content:space-between;align-items:center;gap:10px}
.mobile-hero-caption,.mobile-hero-address{font-size:14px;line-height:1.55}
.mobile-shift-facts{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:16px;border-top:1px solid #42606f;padding-top:16px;margin:0}
.mobile-shift-facts dt{color:#b9d4df;font-size:12px;font-weight:500;margin-bottom:5px}
.mobile-shift-facts dd{font-size:14px;font-weight:650;line-height:1.5;margin:0}
.mobile-shift-progress{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0;padding:0}
.mobile-shift-progress li{display:flex;flex-direction:column;gap:7px;align-items:center;text-align:center;font-size:11px;line-height:1.4;color:#b9d4df}
.mobile-shift-progress li>span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid #688796;font-size:12px}
.mobile-shift-progress .is-done>span{background:#c6f3e8;border-color:#c6f3e8;color:#124639}
.mobile-shift-progress .is-current{color:#fff;font-weight:700}
.mobile-shift-progress .is-current>span{border:2px solid #ffce79;color:#ffce79}
.mobile-text-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:650;font-size:14px;text-decoration:none;color:var(--dispatch-accent)}
.mobile-text-link:hover{text-decoration:underline;text-underline-offset:3px}
.mobile-work-hero .mobile-text-link{color:#88efd9;align-self:flex-start}
.mobile-attention{display:flex;flex-direction:column;gap:7px;padding:18px 20px;border-radius:18px;background:var(--mobile-warm-soft,#fff0d2);color:var(--mobile-warm-text,#754800);border:1px solid currentColor}
.mobile-attention p,.mobile-attention .eyebrow{color:inherit;font-size:13px;line-height:1.55}
.mobile-home-section{min-width:0}
.mobile-section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:5px}
.mobile-section-heading>a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:650;text-decoration:none;flex-shrink:0}
.mobile-empty-copy{font-size:14px;line-height:1.6;color:var(--dispatch-muted);padding:12px 0}
.mobile-work-preview{padding:16px 0;display:flex;flex-direction:column;gap:10px;border-top:1px solid var(--dispatch-line)}
.mobile-preview-copy{display:flex;flex-direction:column;gap:6px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.mobile-inline-status{font-size:13px;color:var(--dispatch-muted);line-height:1.5}
.mobile-preview-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 0;min-height:76px;border-top:1px solid var(--dispatch-line);color:var(--dispatch-text);text-decoration:none}
.mobile-preview-link>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.mobile-preview-link strong{font-weight:650;font-size:15px;line-height:1.4}
.mobile-preview-link span:not(.mobile-chevron){font-size:14px;line-height:1.5;color:var(--dispatch-muted);overflow-wrap:anywhere}
.mobile-preview-link small{font-size:12px;line-height:1.5;color:var(--dispatch-muted)}
.mobile-preview-body{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mobile-chevron{font-size:26px;line-height:1;color:var(--dispatch-accent);flex-shrink:0}
.mobile-support-links{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mobile-support-links>a{display:flex;flex-direction:column;gap:6px;min-height:95px;padding:17px;border:1px solid var(--dispatch-line);border-radius:18px;background:var(--dispatch-panel);color:var(--dispatch-text);text-decoration:none}
.mobile-support-links>a:first-child{background:var(--mobile-accent-soft,#dcf6ed)}
.mobile-support-links strong{font-size:14px;line-height:1.4;font-weight:650;display:flex;justify-content:space-between;gap:6px}
.mobile-support-links>a>span{font-size:12px;line-height:1.5;color:var(--dispatch-muted)}
.mobile-list-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px 18px;flex-wrap:wrap;margin-top:-12px}
.mobile-live-status{font-size:12px;line-height:1.5;color:var(--dispatch-muted);padding-left:13px;position:relative}
.mobile-live-status:before{content:"";position:absolute;left:0;top:.48em;width:6px;height:6px;border-radius:50%;background:currentColor}
.mobile-job-list,.mobile-message-list>[data-messages-page]{display:flex;flex-direction:column;gap:16px}
.mobile-screen .mobile-job-card,.mobile-screen .mobile-message-card,.mobile-screen .mobile-empty-state{padding:22px;border-radius:22px;margin:0;display:flex;flex-direction:column;gap:14px;min-width:0}
.mobile-screen .mobile-job-action{border-color:var(--dispatch-accent);box-shadow:inset 0 4px var(--dispatch-accent)}
.mobile-screen .mobile-job-card h2,.mobile-screen .mobile-message-card h2{font-size:23px;line-height:1.3;letter-spacing:-.03em;overflow-wrap:anywhere}
.mobile-kind-label{font-size:11px;line-height:1.4;color:var(--dispatch-muted);text-align:right}
.mobile-job-address{font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.mobile-job-facts{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:12px 18px;margin:0}
.mobile-job-facts dt{font-size:11px;font-weight:500;color:var(--dispatch-muted);margin-bottom:4px}
.mobile-job-facts dd{font-size:13px;line-height:1.5;font-weight:600;margin:0;overflow-wrap:anywhere}
.mobile-card-status{align-self:flex-start;padding:7px 11px;border-radius:12px;background:var(--dispatch-bg);color:var(--dispatch-muted);font-size:12px;line-height:1.5;font-weight:600}
.mobile-card-status.is-action{background:var(--mobile-warm-soft,#fff0d2);color:var(--mobile-warm-text,#754800)}
.mobile-card-status.is-open{background:var(--mobile-accent-soft,#dcf6ed);color:var(--dispatch-accent)}
.mobile-deadline{font-size:13px;line-height:1.6;color:var(--dispatch-muted)}
.mobile-job-description{display:flex;flex-direction:column;gap:5px;border-top:1px solid var(--dispatch-line);padding-top:12px}
.mobile-job-description>.message-body{font-size:14px;line-height:1.6}
.mobile-eligibility{border-left:3px solid var(--mobile-warm-text,#754800);padding:0 0 0 12px;font-size:13px;line-height:1.6;color:var(--dispatch-muted)}
.mobile-card-actions,.mobile-response-actions{display:flex;flex-wrap:wrap;gap:10px;margin:0;align-items:center}
.mobile-card-actions form{margin:0}
.mobile-card-actions .btn{min-width:90px;padding-left:18px;padding-right:18px}
.mobile-disclosure{border-top:1px solid var(--dispatch-line);font-size:13px;line-height:1.6}
.mobile-disclosure summary{min-height:44px;padding:11px 0;color:var(--dispatch-muted);font-size:13px;font-weight:600;cursor:pointer}
.mobile-disclosure summary:focus-visible{outline:3px solid #efbb63;outline-offset:4px;border-radius:4px}
.mobile-disclosure[open]>p{padding:0 0 10px}
.mobile-delivery .delivery-list{padding-left:19px;margin:0 0 10px;line-height:1.6;color:var(--dispatch-muted)}
.mobile-message-card .message-body{font-size:15px;line-height:1.7}
.mobile-message-card>.eyebrow{color:var(--dispatch-accent)}
.mobile-message-broadcast{box-shadow:inset 4px 0 var(--mobile-warm-text,#754800)}
.mobile-message-card .mobile-text-link{align-self:flex-start}
.mobile-message-card[id]{scroll-margin-top:190px}
.mobile-list-pager{display:flex;gap:10px;flex-wrap:wrap;padding-top:6px}
.mobile-list-pager>p{width:100%;font-size:12px}
@media(max-width:480px){.mobile-screen{gap:22px}.mobile-work-hero{padding:20px}.mobile-screen .mobile-job-card,.mobile-screen .mobile-message-card,.mobile-screen .mobile-empty-state{padding:19px}.mobile-screen h1{font-size:27px}.mobile-greeting{gap:12px}.mobile-initials{width:44px;height:44px}.mobile-shift-facts{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.mobile-job-facts{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr)}.mobile-section-heading{gap:8px}.mobile-section-heading h2{font-size:18px}.mobile-support-links{gap:10px}.mobile-support-links>a{padding:15px}.mobile-list-toolbar .mobile-text-link{font-size:13px}}
@media(max-width:340px){.mobile-support-links{grid-template-columns:1fr}.mobile-job-facts,.mobile-shift-facts{grid-template-columns:1fr}.mobile-greeting h1{font-size:24px}.mobile-screen .mobile-job-card,.mobile-screen .mobile-message-card{padding:16px}}

/* Completed history: compact summaries, with full shift details on demand. */
.mobile-app .completed-page-heading{display:flex;align-items:center;gap:10px;min-height:40px;color:var(--dispatch-text)}
.mobile-app .completed-page-heading h1{margin:0;font-size:24px;line-height:1.25;letter-spacing:-.025em}
.completed-page-heading .mobile-icon{width:24px;height:24px;color:var(--dispatch-accent)}
.mobile-screen.completed-report{gap:14px}
.completed-report [data-live-list]{display:flex;flex-direction:column;gap:12px;min-width:0}
.completed-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 16px;border:1px solid var(--dispatch-line);border-radius:16px;background:var(--dispatch-panel)}
.completed-summary>div{display:flex;flex-direction:column;gap:3px;min-width:0}
.completed-summary>div:last-child{text-align:right}
.completed-summary span{font-size:12px;line-height:1.4;color:var(--dispatch-muted)}
.completed-summary strong{font-size:25px;line-height:1.2;font-weight:750;font-variant-numeric:tabular-nums}
.completed-summary>div:last-child strong{font-size:19px}
.completed-summary small{font-size:13px;font-weight:500;color:var(--dispatch-muted)}
.completed-hours-note{font-size:12px;line-height:1.5;color:var(--dispatch-muted)}
.completed-table{border:1px solid var(--dispatch-line);border-radius:16px;background:var(--dispatch-panel);overflow:hidden}
.completed-columns,.completed-row>summary{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.5fr) minmax(44px,.6fr) 22px;gap:8px;align-items:center;padding:12px}
.completed-columns{font-size:11px;line-height:1.4;font-weight:600;color:var(--dispatch-muted);background:var(--dispatch-bg)}
.completed-columns>span:nth-child(3){text-align:right}
.completed-row{border-top:1px solid var(--dispatch-line);scroll-margin-top:170px}
.completed-row>summary{min-height:65px;list-style:none;cursor:pointer;font-size:14px;line-height:1.4}
.completed-row>summary::-webkit-details-marker{display:none}
.completed-row>summary:focus-visible{outline:3px solid var(--dispatch-accent);outline-offset:-3px}
.completed-ticket{font-weight:700;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.completed-start{display:flex;flex-direction:column;min-width:0;font-size:12px;gap:2px}
.completed-start small{font-size:11px;color:var(--dispatch-muted)}
.completed-hours{text-align:right;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.completed-expand{display:flex;align-items:center;justify-content:center;color:var(--dispatch-accent)}
.completed-expand svg{width:20px;height:20px;transition:transform .15s ease}
.completed-row[open] .completed-expand svg{transform:rotate(180deg)}
.completed-row[open]>summary{background:var(--mobile-accent-soft,var(--dispatch-bg))}
.completed-details{padding:16px;border-top:1px solid var(--dispatch-line);overflow-wrap:anywhere}
.completed-detail-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px;flex-wrap:wrap}
.completed-report .completed-detail-heading h2{font-size:16px;line-height:1.4}
.completed-detail-heading>span{font-size:12px;color:var(--dispatch-muted)}
.completed-report .completed-address{margin-top:7px;font-size:13px;line-height:1.5}
.completed-facts{display:grid;grid-template-columns:1fr;gap:12px;margin:16px 0 0}
.completed-facts dt{font-size:11px;font-weight:500;color:var(--dispatch-muted);line-height:1.4;margin-bottom:3px}
.completed-facts dd{margin:0;font-size:13px;line-height:1.5}
.completed-pagination{display:flex;flex-direction:column;gap:8px}
.completed-pagination>p{font-size:12px;color:var(--dispatch-muted)}
.completed-pagination>div{display:flex;align-items:center;justify-content:space-between;gap:8px}
.completed-pagination .btn{padding:8px 14px;font-size:13px;min-width:68px}
.completed-pagination [aria-disabled=true]{opacity:.5;cursor:default}
.completed-page-number{font-size:12px;text-align:center;color:var(--dispatch-muted)}
.mobile-screen .completed-empty{padding:20px;margin:0;border-radius:16px}
.completed-empty h2{margin-bottom:8px}
@media(min-width:600px){.completed-columns,.completed-row>summary{padding:12px 16px;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr) minmax(60px,.6fr) 24px}.completed-start{font-size:14px}.completed-start small{font-size:12px}.completed-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.completed-expand svg{transition:none}}

/* History follows the completed-jobs list: compact summaries, full detail on demand. */
.mobile-app .mobile-history-section{display:flex;flex-direction:column;gap:12px;min-width:0}
.mobile-history-section>.mobile-section-heading{align-items:flex-start;gap:12px;margin:0}
.mobile-history-section .field-hint{margin-top:5px;font-size:12px;line-height:1.5}
.mobile-compact-list{min-width:0;border:1px solid var(--dispatch-line);border-radius:16px;background:var(--dispatch-panel);overflow:hidden}
.mobile-compact-row{min-width:0;scroll-margin-top:205px;color:var(--dispatch-text)}
.mobile-compact-row+.mobile-compact-row{border-top:1px solid var(--dispatch-line)}
.mobile-compact-row>summary{display:grid;align-items:center;gap:8px;padding:12px;min-height:68px;list-style:none;cursor:pointer;line-height:1.4}
.mobile-compact-job>summary{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(38px,.5fr) 20px}
.mobile-compact-message>summary{grid-template-columns:minmax(0,1fr) auto 20px;gap:5px 9px}
.mobile-compact-row>summary::-webkit-details-marker{display:none}
.mobile-compact-row>summary:focus-visible{outline:3px solid var(--dispatch-accent);outline-offset:-3px}
.mobile-compact-title{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere}
.mobile-compact-title strong{font-size:14px;font-weight:700;line-height:1.4}
.mobile-compact-title small{font-size:11px;line-height:1.4;color:var(--dispatch-muted)}
.mobile-compact-date,.mobile-compact-date time{display:flex;flex-direction:column;gap:2px;font-size:12px;min-width:0}
.mobile-compact-date small{font-size:11px;color:var(--dispatch-muted)}
.mobile-compact-value{text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;font-size:12px}
.mobile-compact-value strong{font-size:14px}
.mobile-compact-value small{font-size:11px;font-weight:500;color:var(--dispatch-muted)}
.mobile-compact-expand{display:flex;align-items:center;justify-content:center;color:var(--dispatch-accent)}
.mobile-compact-expand svg{width:20px;height:20px;transition:transform .15s ease}
.mobile-compact-row[open]>summary .mobile-compact-expand svg{transform:rotate(180deg)}
.mobile-compact-row[open]>summary{background:var(--mobile-accent-soft,var(--dispatch-bg))}
.mobile-compact-message .mobile-compact-date{text-align:right}
.mobile-compact-message.has-action>summary{box-shadow:inset 3px 0 var(--dispatch-accent)}
.mobile-compact-message.has-action .mobile-compact-title small{color:var(--dispatch-accent);font-weight:650}
.mobile-compact-preview{grid-column:1/-1;display:block;min-width:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--dispatch-muted);font-size:12px;line-height:1.5}
.mobile-compact-row[open] .mobile-compact-preview{display:none}
.mobile-compact-details{display:flex;flex-direction:column;gap:12px;border-top:1px solid var(--dispatch-line);padding:14px;min-width:0;overflow-wrap:anywhere;font-size:13px;line-height:1.6}
.mobile-compact-details>.message-body,.mobile-compact-scope>.message-body{white-space:pre-wrap;margin:0;font-size:14px;line-height:1.65}
.mobile-compact-details .completed-facts{margin:0}
.mobile-compact-details>.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;align-self:flex-start;min-height:44px}
.mobile-compact-details>.mobile-text-link{min-height:44px;display:inline-flex;align-items:center;gap:8px;align-self:flex-start}
.mobile-compact-scope{display:flex;flex-direction:column;gap:5px;padding-top:12px;border-top:1px solid var(--dispatch-line)}
@media(min-width:600px){.mobile-compact-row>summary{padding:12px 16px}.mobile-compact-title strong{font-size:15px}.mobile-compact-job>summary{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(55px,.5fr) 24px}}
@media(prefers-reduced-motion:reduce){.mobile-compact-expand svg{transition:none}}
