/* The same blue Enterprise palette as the Windows shell, sized for field work. */
:root{color-scheme:dark;--bg:#07101d;--bg2:#0b1525;--p:#0f1b2e;--p2:#16263e;--line:#324963;--t:#f7f9fc;--m:#b3c2d6;--b:#6aa8ff;--brand2:#816cff}
:root[data-theme=light]{color-scheme:light;--bg:#f3f6fb;--bg2:#edf2f8;--p:#fff;--p2:#e7eef8;--line:#b4c4d8;--t:#101c2d;--m:#445872;--b:#2761b8;--brand2:#6849df}
body.worker-mobile{background:radial-gradient(circle at 6% 0%,#3d81f02b,transparent 35%),var(--bg);color:var(--t);font:16px/1.5 Inter,ui-sans-serif,system-ui,sans-serif;padding-bottom:calc(94px + env(safe-area-inset-bottom));overflow-wrap:anywhere}
.worker-mobile .wrap{max-width:980px;margin:auto;padding:16px}
.worker-mobile .top{background:var(--bg2);align-items:center;position:relative;padding:17px;min-height:82px}
.worker-brand{display:flex;gap:12px;align-items:center;font-weight:850;font-size:18px}.worker-brand small{font-size:12px;color:var(--m)}
.worker-logo{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:15px;color:#fff;background:linear-gradient(135deg,#6aa8ff,#816cff);font-size:24px;font-weight:850}
.worker-mobile .top>div:last-child{display:none!important}
.worker-mobile #progress,.worker-mobile .mgh-messenger-fab,.worker-mobile .mgh-floating-chat,.worker-mobile #mgh-cloud-link{display:none!important}
.worker-mobile .hero{background:linear-gradient(135deg,var(--p2),var(--p));border:1px solid var(--line);border-radius:18px;padding:20px}
.worker-mobile .hero h1{font-size:28px;line-height:1.2}.worker-mobile .hero p,.worker-mobile .sub,.worker-mobile .q p,.worker-mobile .photo-meta span,.worker-mobile .report-item p,.worker-mobile .form label,.worker-mobile .voice-help{font-size:14px;color:var(--m)}
.worker-mobile .panel,.worker-mobile .project{background:var(--p);border:1px solid var(--line);border-radius:18px;padding:17px;min-width:0}
.worker-mobile h2{font-size:20px}.worker-mobile h3{font-size:17px}.worker-mobile h4{font-size:16px}.worker-mobile .q b,.worker-mobile .report-head b,.worker-mobile .photo-meta b{font-size:15px}
.worker-mobile .btn,.worker-mobile button,.worker-mobile input,.worker-mobile textarea,.worker-mobile select{font:inherit;min-height:46px}
.worker-mobile .btn,.worker-mobile button{cursor:pointer}.worker-mobile .btn{font-size:14px;padding:11px 14px;background:var(--p2);color:var(--t);border:1px solid var(--line);border-radius:12px}
.worker-mobile .btn.primary{background:linear-gradient(135deg,#285caf,#554bc0);color:#fff;border-color:#78a8ff}
.worker-mobile .input,.worker-mobile .textarea,.worker-mobile .select{font-size:16px;background:var(--bg2);color:var(--t);border-color:var(--line)}
.worker-mobile :focus-visible{outline:3px solid var(--b);outline-offset:3px}.worker-mobile button:disabled{opacity:.6;cursor:default}
.worker-mobile .bottom{background:var(--bg2);border-color:var(--line);gap:3px;padding-top:9px;padding-bottom:calc(9px + env(safe-area-inset-bottom))}
.worker-mobile .bottom button{color:var(--m);font-size:11px;border-radius:12px;min-height:56px}.worker-mobile .bottom button b{color:inherit;font-size:20px}
.worker-mobile .bottom button[aria-current=page]{background:var(--p2);color:var(--t);box-shadow:inset 0 3px var(--b)}
.worker-mobile .bottom button{padding:6px 2px;white-space:nowrap;font-size:clamp(9px,2.65vw,11px)}
.worker-mobile .syncbar,.worker-mobile .syncdetails{max-width:948px;margin:12px auto;font-size:13px;background:var(--p);color:var(--t);border-color:var(--line)}
.worker-mobile .syncbar{flex-wrap:wrap}.worker-mobile .syncbar>span{flex:1;min-width:160px}.worker-mobile .syncbar>div{flex:none}.worker-mobile .syncbar .btn{white-space:nowrap}.worker-mobile .syncbar>.worker-receipt{flex:0 0 100%;min-width:0}
.worker-mobile .syncbar.offline,.worker-mobile .syncbar.blocked{border-color:#d09d49}.worker-mobile .syncbar .btn{font-size:13px}
.worker-mobile .syncdetails-head,.worker-mobile .syncitem b,.worker-mobile .syncitem span{font-size:13px}
.worker-mobile .feedback-list,.worker-mobile .report-item,.worker-mobile .photo-card,.worker-mobile .q,.worker-mobile .answer{background:var(--bg2);color:var(--t)}
.worker-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.worker-grid .btn{text-align:left;display:grid;gap:3px}.worker-grid .btn small{color:var(--m);font-size:12px}.worker-grid .btn.primary small{color:#e4edff}
.worker-mobile .worker-tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.worker-mobile .worker-tools>*{flex:1;min-width:100px}
.worker-context{position:sticky;top:0;z-index:19;background:var(--bg2);border:1px solid var(--line);padding:10px 14px;max-width:948px;margin:auto;border-radius:0 0 14px 14px}
.worker-context label{font-size:12px;color:var(--m)}.worker-context select{width:100%;padding:8px;background:var(--p);color:var(--t);border:1px solid var(--line);border-radius:10px}
.worker-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:12px 0}.worker-week button{padding:8px 1px;min-width:0;border-radius:10px;border:1px solid var(--line);background:var(--bg2);color:var(--t);font-size:12px}.worker-week small{display:block;font-size:10px;min-height:16px}.worker-week .weekend{background:#8f99a326;border-color:#89919b80}.worker-week [aria-pressed=true]{outline:2px solid var(--b);outline-offset:0}
.worker-day-row{margin-top:12px;padding:15px;border:1px solid var(--line);border-radius:14px;background:var(--bg2)}.worker-day-row h3{margin:0 0 5px}.worker-day-row p{margin:4px 0 12px}.worker-day-row a{color:var(--b)}
.worker-mobile .worker-week .btn{padding:8px 1px;font-size:12px}.worker-mobile .worker-week small{white-space:nowrap}
.worker-mobile .worker-note{color:var(--m);font-size:13px}.worker-clock{font-size:30px;font-weight:850;font-variant-numeric:tabular-nums;margin:5px 0}.worker-mobile .worker-state{color:var(--m);font-size:14px;white-space:pre-wrap}
.worker-mobile .worker-details>summary{font-size:17px;font-weight:750;padding:12px 0;min-height:48px}.worker-mobile #workerMessenger{width:100%;height:900px;max-height:none;border:0;border-radius:16px;background:var(--p)}
.worker-mobile #home>.hero .chips{display:none}.worker-mobile .worker-report-summary{margin:0 0 12px;color:var(--m)}
.worker-mobile .mgh-workday,.worker-mobile .mgh-workday-task,.worker-mobile .mgh-preparation,.worker-mobile .r26-material-quick{color:var(--t);background:var(--p);border-color:var(--line)}
.worker-mobile .mgh-workday p,.worker-mobile .mgh-workday label,.worker-mobile .r19-muted{font-size:14px}.worker-mobile .mgh-workday-task{padding:14px}.worker-mobile .mgh-workday-check input{min-height:26px;width:26px}
.worker-mobile #r18WorkflowBody>.progress,.worker-mobile #r18WorkflowBody>.progress+p{display:none}
.worker-mobile .mgh-dictate-button,.worker-mobile .mgh-dictation button,.worker-mobile .mgh-dictation a{color:var(--t);background:var(--p2);border-color:var(--line);min-height:46px}
.worker-mobile .mgh-dictation{color:var(--t);background:var(--p);border-color:var(--line)}
.worker-mobile .mgh-dictation textarea,.worker-mobile .mgh-dictation-original,.worker-mobile .mgh-dictation-status,.worker-mobile .r22-suggestion{color:var(--t);background:var(--bg2);border-color:var(--line)}
.worker-mobile .r26-material-tiles button{color:var(--t);background:var(--p2);border-color:var(--line)}.worker-mobile .r26-material-tiles small{color:var(--m)}
.worker-mobile .r26-material-tiles{grid-template-columns:repeat(auto-fit,minmax(min(100%,138px),1fr))}
@media(max-width:359px){.worker-mobile #workerMore .worker-grid{grid-template-columns:1fr}}
.worker-mobile .r19-section,.worker-mobile .r19-card,.worker-mobile .r19-summary{color:var(--t);background:var(--p);border-color:var(--line)}
.worker-mobile .login{max-width:450px;margin:8vh auto}.worker-mobile #login h1{font-size:24px}.worker-mobile .pilot-field-card{font-size:14px}
@media(max-width:520px){.worker-mobile .wrap{padding:12px}.worker-mobile .syncbar,.worker-mobile .syncdetails{margin:10px 12px}.worker-mobile .top{padding:14px}.worker-mobile .worker-context{margin:0 12px}.worker-mobile .syncbar>div{flex-wrap:wrap}.worker-mobile .syncbar .btn{flex:1;white-space:normal}.worker-mobile .panel{padding:14px}.worker-mobile .worker-grid .btn{padding:12px 10px}}
@media(prefers-reduced-motion:reduce){.worker-mobile *{scroll-behavior:auto!important;transition:none!important}}

#practiceMobile fieldset{border:1px solid #294467;border-radius:12px;padding:12px;min-width:0;margin:14px 0}#practiceMobile legend{color:#8ab5ff;padding:0 6px}#practiceMobile details{padding:12px 0}#practiceMobile .input{max-width:100%;box-sizing:border-box}#practiceMobile .mk-field{min-width:0}

/* Field capture: readable targets, anchored feedback and motion only on interaction. */
body.worker-mobile{padding-bottom:calc(var(--worker-nav-height,94px) + 22px)}
.worker-mobile :is(input,textarea,select,summary,section,.btn){scroll-margin-top:calc(var(--worker-context-height,98px) + 16px);scroll-margin-bottom:calc(var(--worker-nav-height,94px) + 20px)}
.worker-mobile :is(input,textarea,select,.btn){min-width:0;max-width:100%}
.worker-mobile .toast{bottom:calc(var(--worker-nav-height,94px) + 12px);font-size:14px;max-height:35dvh;overflow:auto;box-shadow:0 8px 30px #0006}
.worker-mobile #modal{overflow:auto;align-items:start!important}.worker-mobile #modal>.panel{margin:auto;max-height:calc(100dvh - 36px);overflow:auto}
.worker-mobile .worker-capture-grid{gap:12px}.worker-mobile .worker-capture-grid .btn{padding:16px;align-content:start;min-height:158px;border-top:2px solid var(--b);background:linear-gradient(145deg,var(--p2),var(--p));box-shadow:0 8px 22px #00000016;white-space:normal}
.worker-capture-grid strong{font-size:16px;line-height:1.3}.worker-mobile .worker-capture-grid small{font-size:13px;line-height:1.45}.worker-capture-grid .worker-action-icon{margin-bottom:8px}
.worker-mobile #r18Workflow{padding:0;border:0;background:transparent}.worker-mobile #r18WorkflowBody>details{border:1px solid var(--line);border-radius:14px;padding:0 12px;margin:12px 0;background:var(--bg2)}
.worker-mobile #r18WorkflowBody>details>summary{font-weight:700;min-height:54px;padding:15px 0;color:var(--t)}
.worker-mobile #r18WorkflowBody>details[open]{border-color:var(--b);padding-bottom:16px}
.worker-mobile #r18WorkflowBody>details>.btn{margin-top:10px;white-space:normal}
.worker-mobile .r26-capture-review{border-left:3px solid var(--b);border-radius:8px;background:var(--p2);padding:14px;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere}
.worker-mobile .r26-capture-review[data-ready=false]{border-color:var(--m);color:var(--m)}
.worker-mobile .worker-context{padding-top:calc(10px + env(safe-area-inset-top))}
@media(max-width:359px){.worker-mobile .worker-capture-grid{grid-template-columns:1fr}.worker-mobile .worker-capture-grid .btn{min-height:120px}.worker-mobile .photo-preview{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.worker-capture-grid .btn:hover,.worker-quick .btn:hover{border-color:var(--b);box-shadow:0 0 0 1px var(--b),0 8px 24px #397eff15}}
@media(prefers-reduced-motion:no-preference){.worker-mobile .btn{transition:border-color .16s,background .16s,box-shadow .16s}.worker-mobile .btn:active{filter:brightness(1.12)}.worker-mobile .toast:not(.hidden){animation:worker-feedback .18s ease-out}@keyframes worker-feedback{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}}
@media(prefers-reduced-motion:reduce){.worker-mobile *,.worker-mobile *::before,.worker-mobile *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep status information on the same content grid as the selected assignment. */
.worker-mobile{--worker-content-width:980px}.worker-mobile.worker-workspace{--worker-content-width:860px}
.worker-mobile #app>.wrap{box-sizing:border-box;max-width:var(--worker-content-width);padding-inline:16px}
.worker-mobile #workerLiveStatus{box-sizing:border-box;margin:12px auto;padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:var(--p);color:var(--m);line-height:1.5;overflow-wrap:anywhere;text-align:left}
.worker-mobile #app>.worker-context,.worker-mobile #app>.syncbar,.worker-mobile #app>.syncdetails,.worker-mobile #app>#workerLiveStatus{box-sizing:border-box;width:calc(100% - 32px);max-width:calc(var(--worker-content-width) - 32px);margin-left:auto;margin-right:auto}
.worker-mobile #syncQueuePanel #workerLiveStatus{width:100%;max-width:none;margin:10px 0 0}
