@font-face{font-family:SB;src:local('Inter'),local('Arial')}*{box-sizing:border-box}html{color-scheme:dark;background:#20242b}body{margin:0;font:15px/1.45 SB,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#20242b;color:#f1f2f5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid #9db7ff}button{cursor:pointer;color:inherit;border:1px solid #4b535f;background:#303640;border-radius:12px;padding:10px 15px;min-height:44px;touch-action:manipulation}button:hover{background:#3a424f}button:disabled{opacity:.5;cursor:wait}a{color:#9db7ff}input,textarea,select{width:100%;padding:12px;border:1px solid #505966;border-radius:12px;background:#282e37;color:#f1f2f5;min-height:46px;font-size:16px}textarea{resize:vertical;min-height:105px}label{display:grid;gap:6px;color:#c0c7d1;margin:12px 0}small,.muted{color:#b0b9c7;font-size:13px}h1,h2,h3,p{margin:0 0 12px}h1{font-size:30px;line-height:1.2;letter-spacing:-.7px}h2{font-size:22px;line-height:1.2;margin:24px 0 15px}h3{font-size:18px;line-height:1.3}p{overflow-wrap:anywhere}svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.brand{width:150px;height:auto;display:block}.top{height:104px;padding:20px 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #424a56;background:#252a32;gap:15px}.profile{display:flex;align-items:center;gap:12px;border:0;background:none;text-align:right;padding:0;min-height:48px;font-size:14px}.profile span{max-width:145px;overflow-wrap:anywhere}.avatar{width:44px;height:44px;border-radius:50%;background:#414b5c;display:grid;place-items:center;overflow:hidden;font-size:15px;color:#e7eaf0;flex-shrink:0}.avatar img{width:100%;height:100%;object-fit:cover}.layout{max-width:1440px;margin:auto;min-height:calc(100dvh - 104px)}.workspace{padding:30px 34px 125px;margin:0 0 0 210px;max-width:1200px}.nav{position:fixed;left:max(0px,calc((100vw - 1440px)/2));top:104px;width:210px;bottom:0;padding:28px 16px;border-right:1px solid #424a56;background:#252a32;display:flex;flex-direction:column;gap:9px;z-index:5}.nav button{border:0;background:none;display:flex;align-items:center;gap:13px;text-align:left;color:#bac3d1}.nav button.active{color:#91afff;background:#527cff1c}.nav .create{color:#f5f5f6}.nav .create .round{background:#cc5358;color:#fff;border-radius:50%;width:34px;height:34px;display:grid;place-items:center}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.primary{background:#527cff;border-color:#527cff;color:white;font-weight:600}.primary:hover{background:#668bff}.danger{color:#ffaaa6;border-color:#ba686b}.urgent{background:#cc53581c;border:1px solid #b66a6c;color:#ffb4ae;border-radius:8px;padding:4px 8px;font-size:12px}.blue{color:#9db7ff}.amber{color:#efc77f}.red{color:#ffa69d}.chips{display:flex;gap:8px;overflow-x:auto;padding:2px 0 12px;margin:16px 0 6px}.chips button{white-space:nowrap;padding:9px 16px}.chips .active{background:#527cff;border-color:#527cff;color:white}.card{border:1px solid #454e5c;border-radius:17px;padding:19px;background:#303640;margin:12px 0;text-align:left;overflow-wrap:anywhere}.card.click{cursor:pointer;transition:border-color .15s}.card.click:hover{border-color:#8ba5d9}.card h3{margin-bottom:6px}.card p{margin-bottom:6px}.eyebrow{font-size:12px;font-weight:650;letter-spacing:.5px;text-transform:uppercase;color:#b8c3d5;margin-bottom:6px}.card.alert{border-left:3px solid #d67b77}.empty{padding:42px 22px;border:1px dashed #4d5768;border-radius:18px;color:#b3bece;text-align:center;margin:22px 0}.stats{display:flex;gap:0;background:#303640;border:1px solid #454e5c;border-radius:14px;padding:16px;margin:20px 0}.stats>div{flex:1;padding:0 12px;border-right:1px solid #505966}.stats>div:last-child{border:0}.stats b{display:block;font-size:25px}.stats span{font-size:12px;color:#bac3d1}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grid .card{margin:0}.bar{height:8px;border-radius:6px;background:#5b6473;overflow:hidden;display:flex;margin:12px 0}.bar .done{background:#527cff}.bar .late{background:#e6938b}.link{border:0;background:none;color:#9db7ff;padding:8px 0}.sectiontitle{margin-top:25px}.badge{background:#e7b86b;color:#20242b;border-radius:20px;padding:1px 7px;font-size:12px}.online-warning{padding:12px 16px;background:#4a3d2e;border:1px solid #98764c;border-radius:12px;margin-bottom:20px;color:#f2cf96}.error{background:#522d32;border:1px solid #9b5e65;padding:13px;border-radius:12px;color:#ffd0cd}.meta{font-size:13px;color:#b7c2d0}.pill{display:inline-block;background:#445067;border-radius:7px;padding:3px 8px;font-size:12px}.detailhead{display:flex;align-items:center;gap:12px}.detailhead button{padding:10px}.detailbody{max-width:760px}.attachments{display:flex;gap:8px;flex-wrap:wrap}.attachments button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;padding:10px}.file{display:flex;align-items:center;gap:12px;border:1px solid #4b5564;border-radius:12px;padding:12px;margin:8px 0}.file img{width:74px;height:64px;object-fit:cover;border-radius:8px}.file audio,.file video{width:100%;max-height:240px}.comment{padding:12px 0;border-top:1px solid #45505e;white-space:pre-wrap}.actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:18px}.actions button{flex:1;min-width:150px}.login{max-width:450px;margin:10vh auto;padding:25px}.login .brand{width:210px;margin-bottom:30px}.loading{text-align:center;padding:20vh 20px;font-size:25px}.settingsrow{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #4b5564;padding:12px 0}.settingsrow:first-child{border:0}.settingsrow span{color:#b8c3d0}dialog{width:min(680px,calc(100vw - 30px));max-height:90dvh;padding:0;border:1px solid #566170;border-radius:22px;background:#282e37;color:#f1f2f5;overflow:auto}dialog::backdrop{background:#090b10bd;backdrop-filter:blur(5px)}.sheethead{position:sticky;top:0;display:flex;align-items:center;gap:14px;background:#282e37;padding:17px 22px;border-bottom:1px solid #4b5564;z-index:2}.sheethead h2{margin:0;font-size:20px}.sheetbody{padding:10px 22px 24px}.sheetbody form>.primary{width:100%;margin-top:16px}.sheetbody .grid{gap:20px}.hint{font-size:13px;color:#adb8c8;line-height:1.6}.bottomactions{position:sticky;bottom:0;background:#282e37;padding:12px 0 max(12px,env(safe-area-inset-bottom));border-top:1px solid #485361}.full{width:100%}#notice{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);padding:13px 20px;border-radius:12px;background:#e2e8f2;color:#19202b;max-width:90vw;z-index:50;display:none;box-shadow:0 8px 40px #0007}.recording{color:#ffaaa4;border-color:#e68a87}.nospace{margin:0}.period{width:auto;min-width:145px}.approval{border-left:3px solid #799bff}.source{font-size:13px;text-decoration:underline;cursor:pointer;color:#9db7ff}.preview-frame{background:#252a32;border-radius:12px;padding:12px;white-space:pre-wrap;max-height:300px;overflow:auto}.table{width:100%;border-collapse:collapse}.table td,.table th{padding:10px;border-bottom:1px solid #4b5564;text-align:left}.grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (min-width:1100px){.dashboard{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dashboard>.card{margin:0}.workspace.wide{max-width:none}.listcolumns{display:grid;grid-template-columns:1fr 1fr;gap:24px}}
@media (max-width:760px),(pointer:coarse) and (orientation:portrait){.top{height:98px;padding:16px 20px}.brand{width:132px}.profile{gap:8px;font-size:12px}.profile span{max-width:110px}.avatar{width:38px;height:38px}.workspace{margin:0;padding:24px 17px 115px;max-width:none}.nav{top:auto;left:0;right:0;bottom:0;width:100%;height:auto;min-height:88px;flex-direction:row;padding:9px 8px max(12px,env(safe-area-inset-bottom));border-right:0;border-top:1px solid #56616f;gap:0;justify-content:space-around;align-items:center}.nav button{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;padding:4px 0;font-size:11px;min-height:52px;background:none!important;border-radius:0}.nav button svg{width:26px;height:26px}.nav .create .round{width:46px;height:46px;margin-top:-15px}.nav .create .round svg{width:28px;height:28px}.card{padding:17px;border-radius:15px}h1{font-size:28px}.grid{grid-template-columns:1fr}.grid.compact{grid-template-columns:repeat(3,minmax(0,1fr))}.stats{padding:13px 5px}.stats>div{padding:0 9px}.stats b{font-size:24px}.stats span{font-size:11px}.attachments button{font-size:13px;min-width:65px;padding:10px 7px;gap:4px}.attachments button svg{width:20px}.actions button{min-width:120px}dialog{width:100%;max-width:none;margin:auto 0 0;max-height:92dvh;border-radius:22px 22px 0 0;border-bottom:0;padding-bottom:env(safe-area-inset-bottom)}.sheethead{padding:14px 17px}.sheetbody{padding:10px 17px 24px}.login{margin:8vh 16px;max-width:none}.settingsrow{font-size:13px}.detailbody{max-width:none}.hint{font-size:12px}.file img{width:60px;height:55px}.table{font-size:12px}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}@media print{body{color:#000;background:white}.nav,.top,button{display:none}.workspace{margin:0;padding:0}.card{color:#000;background:white;border:1px solid #888}small,.muted{color:#333}}
html[data-text-size=large] body{font-size:18px}html[data-text-size=large] .meta,html[data-text-size=large] small,html[data-text-size=large] .hint,html[data-text-size=large] .muted{font-size:15px}html[data-text-size=large] input,html[data-text-size=large] select,html[data-text-size=large] textarea{font-size:18px}html[data-text-size=large] .settingsrow{font-size:16px}
/* Shared bottom sheets, including desktop. */
dialog{position:fixed;inset:auto 0 0;margin:0 auto;width:min(680px,100%);max-width:100%;max-height:94dvh;border-radius:24px 24px 0 0;border-bottom:0;overscroll-behavior:contain;padding-bottom:env(safe-area-inset-bottom);scrollbar-width:thin}dialog[open]{animation:sheet-rise .25s cubic-bezier(.2,.8,.2,1)}@keyframes sheet-rise{from{transform:translateY(105%)}to{transform:translateY(0)}}.sheet-grip{height:24px;display:grid;place-items:center;touch-action:none;cursor:grab;position:sticky;top:0;background:#282e37;z-index:4}.sheet-grip span{height:5px;width:42px;border-radius:8px;background:#788392}.sheethead{top:24px;padding-top:8px}.sheethead button{flex-shrink:0}.sheethead h2{overflow-wrap:anywhere}.profile-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0 24px;border-bottom:1px solid #454e5c}.profile-work{display:grid;gap:7px;flex:1;min-width:0;overflow-wrap:anywhere}.profile-work small{font-size:11px;text-transform:uppercase;letter-spacing:.7px}.profile-work b{font-size:17px;margin-bottom:9px}.profile-identity{width:145px;text-align:center;display:grid;justify-items:center;gap:12px;overflow-wrap:anywhere;font-size:14px}.profile-photo-wrap{position:relative}.avatar-preview{padding:0;border:0;border-radius:50%;background:none}.avatar-large{width:92px;height:92px;font-size:28px}.edit-badge{position:absolute;bottom:-1px;right:-5px;min-height:32px;width:32px;padding:0;border:3px solid #282e37;border-radius:50%;background:#527cff;color:white}.pref-language{padding:20px 0;border-bottom:1px solid #454e5c;display:grid;gap:12px}.segments{display:flex;padding:4px;gap:3px;border:1px solid #4a5463;background:#20262f;border-radius:12px}.segments button{flex:1;min-width:0;font-size:13px;border:0;background:none;padding:8px 7px;min-height:36px;border-radius:8px;white-space:nowrap}.segments button[aria-pressed=true]{background:#527cff;color:white}.pref-row{display:flex;align-items:center;gap:12px;justify-content:space-between;min-height:62px;border-bottom:1px solid #454e5c;margin:0;position:relative;color:#f1f2f5;padding:12px 0}.pref-row>span:first-child{flex:1;min-width:0}.pref-row input[role=switch]{position:absolute;right:0;width:46px;height:32px;opacity:0;cursor:pointer;z-index:1;margin:0}.switch-track{width:44px;height:27px;border-radius:20px;background:#515a68;padding:3px;display:flex;align-items:center;flex-shrink:0}.switch-track:before{content:'';width:21px;height:21px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #0005;transition:transform .15s}.pref-row input:checked+.switch-track{background:#527cff}.pref-row input:checked+.switch-track:before{transform:translateX(17px)}.pref-row input:focus-visible+.switch-track{outline:2px solid #adc2ff;outline-offset:4px}.pref-row input:disabled+.switch-track{opacity:.5}.text-segments{max-width:215px}.segments .large-sample{font-size:17px}.pref-help{display:flex;align-items:center;width:100%;gap:14px;text-align:left;border:0;border-bottom:1px solid #454e5c;border-radius:0;background:none;padding:20px 0}.pref-help>span:nth-child(2){flex:1}.pref-help small{display:block;margin-top:4px;font-size:12px}.pref-save-status{text-align:center;font-size:12px;color:#acb7c7;margin:19px 0 5px}.profile-logout{display:block;width:100%;border:0;background:none;color:#eda8a9;margin-top:12px}.edit-photo{display:grid;justify-items:center;gap:8px;padding:14px 0}.avatar-edit{width:104px;height:104px;font-size:32px}.avatar-full{width:min(300px,70vw);height:min(300px,70vw);font-size:65px}.full-photo{display:grid;place-items:center;padding:25px 0}.edit-photo .link{margin:0}.form-error{color:#ffb3ac;background:#613c3c;padding:12px;border-radius:10px}.confirm-actions{display:grid;gap:10px}.online-warning.sync-state{display:block;width:100%;background:none;border:0;color:#aab5c4;text-align:left;margin:0 0 16px;padding:0;font-size:12px}.online-warning.sync-state.pending{color:#efc77f}.sync-state button{padding:0;min-height:30px;font-size:inherit;text-align:left}.queue-item{padding:12px 0;border-bottom:1px solid #485160;overflow-wrap:anywhere}html[data-text-size=large] .segments button{font-size:15px}html[data-text-size=large] .segments .large-sample{font-size:20px}html[data-text-size=large] .nav button{font-size:13px}html[data-text-size=large] .profile-identity{font-size:16px}html[data-text-size=large] .profile-work b{font-size:19px}@media (max-width:380px){.profile-identity{width:125px}.text-segments{max-width:185px}.segments button{padding:8px 5px}.profile-work b{font-size:15px}}@media (prefers-reduced-motion:reduce){dialog[open]{animation:none}.switch-track:before{transition:none}}
.support-chat{display:grid;gap:12px;margin:20px 0}.support-bubble{justify-self:end;max-width:92%;border-radius:14px 14px 3px 14px;background:#354865;border:1px solid #4a6183;padding:13px;overflow-wrap:anywhere}.support-bubble.developer{justify-self:start;border-radius:14px 14px 14px 3px;background:#343c48;border-color:#505b6c}.support-bubble b{font-size:12px;color:#c0cde1}.support-bubble p{white-space:pre-wrap;margin:7px 0}.support-bubble small{font-size:11px}
.text-segments{max-width:none;flex-shrink:0}.text-segments button{flex:0 0 auto;min-width:max-content}
/* Specialist workspace: one task, one form, no bordered back arrows. */
button[data-close],button[data-command=back]{border:0;background:none;box-shadow:none;min-width:44px;min-height:44px;padding:8px;color:#dae2ee}button[data-close]:hover,button[data-command=back]:hover{background:#ffffff0b}.top{height:104px;padding:14px 24px}.header-user{display:flex;align-items:center;gap:10px;position:relative}.header-avatar{width:70px;height:70px;font-size:23px}.profile{font-size:16px;gap:12px}.header-notifications{width:44px;height:44px;border:0;background:none;padding:8px;color:#a8c0ff}.header-notifications svg{width:28px;height:28px}.header-edit{position:absolute;bottom:-1px;right:-3px;width:25px;height:25px;min-height:25px;border:2px solid #252a32;border-radius:50%;background:#527cff;padding:4px;color:white}.header-edit svg{width:13px;height:13px}.deadline{display:inline-block;font-size:14px;font-weight:600;margin-top:8px}.chips{gap:7px}.specialist-detail .detailhead{display:flex;align-items:center;gap:10px;margin-bottom:18px}.specialist-detail .detailhead>.pill{margin-left:auto}.specialist-detail h1{margin-bottom:13px}.inline-description,.inline-history{border-bottom:1px solid #485364;padding:16px 0;margin-bottom:15px}.inline-description summary,.inline-history summary{cursor:pointer;font-weight:600;color:#cfdaec;min-height:32px}.inline-description p{margin:10px 0 0;white-space:pre-wrap}.inline-history .comment{margin-top:15px}.speech-input{position:relative;width:100%}.speech-input textarea{padding:13px 14px 58px;min-height:145px;resize:vertical;display:block}.inline-mic{position:absolute;right:9px;bottom:11px;width:40px;height:40px;min-height:40px;padding:8px;display:grid;place-items:center;border:0;background:#3d5278;color:#c6d9ff;border-radius:50%}.inline-mic.recording{background:#963f49;color:white}.voice-status{display:block;font-size:11px;max-width:calc(100% - 72px);position:absolute;left:12px;bottom:10px;line-height:1.3;pointer-events:none}.inline-attachments{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0 18px}.inline-attachments button{display:flex;align-items:center;justify-content:center;gap:7px;flex:1;min-width:80px;padding:10px 7px;font-size:13px;border:0;background:#354255}.inline-attachments svg{width:20px;height:20px}.attachment-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:10px;margin:12px 0}.attachment-tile{position:relative;min-width:0;background:#303d4e;border-radius:12px}.attachment-tile>button:first-child{width:100%;height:110px;padding:7px;border:0;display:grid;justify-items:center;align-content:center;gap:6px;background:none}.attachment-tile img{width:100%;height:70px;object-fit:cover;border-radius:6px}.attachment-tile span{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.attachment-tile .remove-attachment,.attachment-tile>button[data-result-remove]{position:absolute;right:1px;top:1px;border:0;background:#17202de6;min-height:32px;width:32px;padding:0;border-radius:50%;font-size:23px;color:white}.material-full{display:block;max-width:100%;max-height:70dvh;margin:auto}.urgent-check{display:flex;align-items:center;gap:9px;color:#efb4b7;font-size:14px}.urgent-check input{width:20px;min-height:20px;height:20px}.radio-reminder{font-size:12px;color:#ffd1c7;background:#5c3f3d;border-radius:9px;padding:12px;line-height:1.6}.location-label{font-size:12px}.incident-submit{z-index:3}.form-error[hidden],.radio-reminder[hidden]{display:none}.recording .primary{pointer-events:none}.sheetbody>form[data-form=incident]>.bottomactions>.primary{min-height:48px}html[data-text-size=large] .profile{font-size:18px}html[data-text-size=large] .speech-input textarea{font-size:18px}html[data-text-size=large] .deadline{font-size:16px}@media (max-width:760px),(pointer:coarse) and (orientation:portrait){.top{height:104px;padding:12px 16px}.brand{width:108px}.header-user{gap:6px}.profile{font-size:15px;gap:8px}.profile span{max-width:100px}.header-avatar{width:70px;height:70px}.layout{min-height:calc(100dvh - 104px)}.workspace{padding-top:16px;padding-bottom:125px}.nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:8px 7px max(12px,env(safe-area-inset-bottom));align-items:center}.nav:has(button:nth-child(5)){grid-template-columns:repeat(5,minmax(0,1fr))}.nav button{width:100%;min-height:64px;justify-content:center;gap:7px}.nav .create .round{margin-top:0;width:44px;height:44px}.nav button>svg{margin-top:9px;margin-bottom:9px}.chips:has(button:nth-child(2):last-child){display:grid;grid-template-columns:1fr 1fr;overflow:visible}.chips:has(button:nth-child(2):last-child) button{padding:10px 5px;font-size:14px}.specialist-detail .bottomactions{bottom:88px;margin-top:15px}.sheetbody .bottomactions{bottom:0}.inline-history{overflow-wrap:anywhere}.profile-summary .profile-identity .avatar-large{width:92px;height:92px}}@media (max-width:360px){.brand{width:88px}.top{padding-left:12px;padding-right:12px;gap:6px}.profile{font-size:14px;gap:6px}.profile span{max-width:80px}.header-user{gap:2px}.header-avatar{width:64px;height:64px}.header-notifications{width:38px}.header-edit{right:0}}@media (prefers-reduced-motion:reduce){.nav *{transition:none}}
/* Delivery state belongs to the whole row, including the link. */
.online-warning.sync-state.state-sent{color:#aab5c4}.online-warning.sync-state.state-sending{color:#9db7ff}.online-warning.sync-state.state-waiting{color:#efc77f}.online-warning.sync-state.state-error{color:#ffa69d}.sync-state button.link{color:inherit;display:flex;align-items:center;gap:8px;width:100%;min-height:30px}.delivery-dot{width:6px;height:6px;flex-shrink:0;border-radius:50%;background:currentColor}.delivery-arrow{margin-left:auto;font-size:20px}.state-sending .delivery-dot{animation:delivery-pulse 1s ease-in-out infinite}@keyframes delivery-pulse{50%{opacity:.35}}.incident-location{display:flex;align-items:flex-end;gap:9px}.incident-location label{flex:1;min-width:0}.location-qr{width:47px;height:47px;min-height:47px;padding:10px;display:grid;place-items:center;margin-bottom:12px;background:#354766;border-color:#526c95;color:#c6d9ff}.location-qr svg{width:25px;height:25px}.point-bound{font-size:12px;color:#c1d3f6;margin:0 0 16px}.submission-requirements{font-size:12px;color:#b4c2d7;margin:9px 0 14px;line-height:1.5}.urgent-check{line-height:1.5}.urgent-check input{flex-shrink:0}@media (prefers-reduced-motion:reduce){.state-sending .delivery-dot{animation:none}}
.control-circle{display:block;width:56px;height:56px;min-height:56px;border:0;border-radius:50%;background:#cc5358;padding:0;box-shadow:none}.control-circle:hover{background:#dc6268}.task-control-launch{display:grid;justify-items:center;gap:9px;padding:22px 0 25px;font-size:14px;color:#dfe6f1}.control-task-context{padding:10px 0 16px;display:grid;gap:8px}.control-task-context b{font-size:19px;line-height:1.4}.control-task-context small{color:#c3cfe1}.control-task-location{flex:1;min-width:0;display:grid;gap:6px;padding:0 0 12px}.control-task-location b{font-size:14px;font-weight:500}.control-task-location small{font-size:12px;color:#b6c3d8}
/* Quiet controls: background indicates actions; borders are reserved for input fields. */
button{border-color:transparent;box-shadow:none}button[data-close],button[data-command=back],.header-notifications,.header-edit,.edit-badge,.location-qr,.segments button,.chips button,.primary{border:0;box-shadow:none}.segments{border:0}.control-types{margin:16px 0 4px}.control-types button{font-size:13px;white-space:normal;min-height:42px;line-height:1.35}.control-description{margin-top:8px}.control-description .speech-input textarea{min-height:145px}.urgent-check[hidden]{display:none}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.top>.brand{width:174px;max-height:77px}.profile>span:not(.avatar){display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-height:48px}@media (max-width:760px),(pointer:coarse) and (orientation:portrait){.top>.brand{width:132px;flex-shrink:1;min-width:96px}.nav{height:calc(96px + env(safe-area-inset-bottom));min-height:96px;padding:7px 7px calc(10px + env(safe-area-inset-bottom));align-items:center}.nav button{display:grid;grid-template-rows:48px 16px;align-content:center;justify-items:center;gap:5px;padding:0;min-height:70px;height:70px;font-size:13px;line-height:16px}.nav button>svg{margin:0;width:31px;height:31px;align-self:center;justify-self:center}.nav .create .round{width:48px;height:48px;margin:0;align-self:center}.nav .create .round svg{width:30px;height:30px}.nav button>span:not(.round){line-height:16px}.nav:has(button:nth-child(5)) button{font-size:11.5px;grid-template-rows:39px 29px;gap:3px;height:73px;min-height:73px}.nav:has(button:nth-child(5)) button>span:not(.round){align-self:start;white-space:normal;text-align:center}.nav:has(button:nth-child(5)) button>svg{width:29px;height:29px}.nav:has(button:nth-child(5)) .create .round{width:39px;height:39px}.specialist-detail .bottomactions{bottom:96px}.workspace{padding-bottom:130px}.header-edit{bottom:0;right:-2px}.header-edit svg{width:13px;height:13px}}@media (max-width:360px){.top>.brand{width:100px;min-width:90px}.nav button{font-size:12.5px}.control-types button{font-size:12px}}html[data-text-size=large] .control-types button{font-size:15px}html[data-text-size=large] .nav button{font-size:14px}@media (max-width:760px),(pointer:coarse) and (orientation:portrait){html[data-text-size=large] .nav:has(button:nth-child(5)) button{font-size:12px}}@media (max-width:360px){html[data-text-size=large] .nav button{font-size:13px}}

/* Close controls stay at the right edge, with a generous invisible hit area. */
.sheethead{display:flex;align-items:center;justify-content:space-between;gap:12px}.sheethead h2{margin:0;flex:1}.sheethead button[data-close],.detailhead button[data-command=back]{margin-left:auto;border:0;border-radius:0;background:none;box-shadow:none;min-width:44px;min-height:44px;padding:10px}.sheethead button[data-close]:hover,.detailhead button[data-command=back]:hover{background:none}.detailhead{display:flex;align-items:center;gap:10px}.specialist-detail .detailhead>.pill{margin-left:auto;font-size:12px}.specialist-detail .detailhead button[data-command=back]{margin-left:0}.work-summary{font-size:13px;color:#bcc9db;margin:2px 0 14px}.task-overdue{border-left:3px solid #f0af74;background:#3a3332}.task-returned:not(.task-overdue){border-left:3px solid #c4a2e5;background:#34313e}.task-returned .eyebrow{color:#dfbdf6}.task-overdue .eyebrow{color:#f3c28b}.draft-resume{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;text-align:left;margin-bottom:14px;background:#303d53;color:#dce7ff}.draft-resume span{font-size:12px;color:#bdcce6;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.linked-incident{display:block;width:100%;text-align:left;color:#ffbbb6;background:#483237;margin:12px 0}.nav .create .round,.control-circle{background:#bd4f57}.keyboard-open dialog{max-height:var(--sheet-visible-height);bottom:var(--keyboard-inset)}.keyboard-open .sheetbody .bottomactions{position:sticky;bottom:0;padding:8px 0;background:#282e37}.keyboard-open .submission-requirements{display:none}.keyboard-open .control-description .speech-input textarea{min-height:110px}.keyboard-open .nav{visibility:hidden}

.control-types button[data-control-type=incident][aria-pressed=true]{background:#bd4f57;color:#fff}

.chips button[data-filter=done].active{background:#28674f;color:#e9fff4}

.header-theme{width:38px;height:44px;min-height:44px;padding:8px;border:0;background:none;color:#b9cae7;flex-shrink:0}.header-theme svg{width:23px;height:23px}.header-user{min-width:0}.profile{min-width:0}.profile>span:not(.avatar){min-width:0}.count-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:7px;background:#ffffff24;font-size:12px;margin-left:4px}.new-task-marker{display:inline-block;color:#b9d0ff;font-size:11px;margin:-3px 0 8px}.nav button{position:relative}.nav .nav-count{position:absolute;left:calc(50% + 9px);top:0;display:grid;place-items:center;min-width:19px;height:19px;border-radius:7px;padding:0 4px;background:#85454d;color:#fff;font-size:11px;line-height:19px!important}@media (max-width:360px){.header-theme{width:32px;padding:6px}.header-user{gap:2px}.profile>span:not(.avatar){max-width:62px}}
html[data-theme=light]{color-scheme:light;background:#eef1f5}html[data-theme=light] body{background:#eef1f5;color:#202a39}html[data-theme=light] .top,html[data-theme=light] .nav{background:#fff;border-color:#d4dce7}html[data-theme=light] .brand{filter:brightness(0) saturate(100%);opacity:.9}html[data-theme=light] .card{background:#fff;border-color:#d5dde7}html[data-theme=light] button{background:#e0e7f0;color:#25354c}html[data-theme=light] .primary,html[data-theme=light] .chips .active,html[data-theme=light] .segments button[aria-pressed=true]{background:#436be4;color:#fff}html[data-theme=light] .chips button[data-filter=done].active{background:#28674f;color:#fff}html[data-theme=light] .control-types button[data-control-type=incident][aria-pressed=true]{background:#b94250;color:#fff}html[data-theme=light] input,html[data-theme=light] textarea,html[data-theme=light] select{background:#fff;color:#202a39;border-color:#a6b4c6}html[data-theme=light] textarea::placeholder,html[data-theme=light] input::placeholder{color:#667386}html[data-theme=light] .muted,html[data-theme=light] small,html[data-theme=light] .meta,html[data-theme=light] label,html[data-theme=light] .work-summary,html[data-theme=light] .eyebrow{color:#546276}html[data-theme=light] dialog,html[data-theme=light] .sheet-grip,html[data-theme=light] .sheethead,html[data-theme=light] .bottomactions{background:#f8fafc;color:#202a39;border-color:#d2dbe7}html[data-theme=light] .segments{background:#e2e8f0}html[data-theme=light] .segments button{background:none}html[data-theme=light] .profile,html[data-theme=light] .header-theme,html[data-theme=light] .header-notifications,html[data-theme=light] .sheethead button[data-close],html[data-theme=light] button[data-command=back],html[data-theme=light] .nav button,html[data-theme=light] .link,html[data-theme=light] .pref-help,html[data-theme=light] .avatar-preview,html[data-theme=light] .profile-logout{background:none;box-shadow:none}html[data-theme=light] .header-edit,html[data-theme=light] .edit-badge{background:#436be4;color:#fff}html[data-theme=light] .header-theme,html[data-theme=light] .header-notifications,html[data-theme=light] .nav .active{color:#315bbd}html[data-theme=light] .nav .create .round,html[data-theme=light] .control-circle{background:#bd4f57}html[data-theme=light] .nav .nav-count{background:#85454d;color:#fff}html[data-theme=light] .deadline.red,html[data-theme=light] .red{color:#a3333e}html[data-theme=light] .amber{color:#8e570c}html[data-theme=light] .blue,html[data-theme=light] a,html[data-theme=light] .link{color:#315bbd}html[data-theme=light] .pill{background:#dce5f3;color:#334b70}html[data-theme=light] .task-overdue{background:#fff2e8;border-left-color:#bf7339}html[data-theme=light] .task-returned:not(.task-overdue){background:#f2eaf8;border-left-color:#9061b1}html[data-theme=light] .task-returned .eyebrow{color:#794793}html[data-theme=light] .task-overdue .eyebrow{color:#8e570c}html[data-theme=light] .draft-resume{background:#dfe9fc;color:#254b91}html[data-theme=light] .draft-resume span,html[data-theme=light] .new-task-marker{color:#315bbd}html[data-theme=light] .inline-description summary,html[data-theme=light] .inline-history summary{color:#334b70}html[data-theme=light] .pref-row,html[data-theme=light] .pref-help,html[data-theme=light] .inline-history,html[data-theme=light] .inline-description{color:#25354c;border-color:#d3dce7}html[data-theme=light] .inline-attachments button,html[data-theme=light] .location-qr{background:#dce6f4;color:#304b75}html[data-theme=light] .attachment-tile{background:#e1e8f1}html[data-theme=light] .attachment-tile>button:first-child{background:none}html[data-theme=light] .inline-mic{background:#d5e2f8;color:#315bbd}html[data-theme=light] .inline-mic.recording{background:#b94250;color:white}html[data-theme=light] .submission-requirements,html[data-theme=light] .control-task-location small,html[data-theme=light] .control-task-context small,html[data-theme=light] .point-bound{color:#546276}html[data-theme=light] .urgent-check{color:#a3333e}html[data-theme=light] .radio-reminder,html[data-theme=light] .form-error,html[data-theme=light] .linked-incident{background:#f8dfe0;color:#8b2934}html[data-theme=light] .state-sent{color:#546276}html[data-theme=light] .state-sending{color:#315bbd}html[data-theme=light] .state-waiting{color:#8e570c}html[data-theme=light] .state-error{color:#a3333e}html[data-theme=light] .support-bubble{background:#e0e9fa;color:#25354c}html[data-theme=light] .support-bubble.developer{background:#e7ecf2}html[data-theme=light] .support-bubble b{color:#315bbd}html[data-theme=light] .profile-logout{color:#a3333e}

.card:has(.new-task-marker){position:relative}.card:has(.new-task-marker) .eyebrow{padding-right:50px}.new-task-marker{position:absolute;right:16px;top:17px;margin:0}html[data-theme=light] .online-warning.sync-state.state-sent{color:#546276}html[data-theme=light] .online-warning.sync-state.state-sending{color:#315bbd}html[data-theme=light] .online-warning.sync-state.state-waiting{color:#8e570c}html[data-theme=light] .online-warning.sync-state.state-error{color:#a3333e}

html[data-theme=light] .nav .create,html[data-theme=light] .task-control-launch{color:#25354c}html[data-theme=light].keyboard-open .sheetbody .bottomactions{background:#f8fafc}

html[data-theme=light] .sync-state button.link{color:inherit}
/* Mobile Safari focuses a dialog's first button; keep the close glyph unboxed. */
button[data-close],button[data-command=back],button[data-close]:hover,button[data-command=back]:hover,button[data-close]:active,button[data-command=back]:active,button[data-close]:focus,button[data-command=back]:focus,button[data-close]:focus-visible,button[data-command=back]:focus-visible{appearance:none;-webkit-appearance:none;-webkit-tap-highlight-color:transparent;outline:0;border:0;background:transparent;box-shadow:none}
button[data-close]:focus-visible svg,button[data-command=back]:focus-visible svg{stroke-width:2.5;filter:drop-shadow(0 0 2px #9db7ff)}

html.sheet-open{overflow:hidden;scrollbar-gutter:stable}dialog[open]::backdrop{background:#090e16b8;backdrop-filter:blur(5px)}.online-warning.sync-state{min-height:30px}

.return-reason{padding:14px;background:#3e344b;color:#e6cef8;border-radius:12px;margin:15px 0}.return-reason p{margin:7px 0 0;white-space:pre-wrap}html[data-theme=light] .return-reason{background:#f0e5f8;color:#6f4186}

.radio-result{padding:14px;border-bottom:1px solid #485364;margin-bottom:15px}.radio-result p{margin:7px 0;white-space:pre-wrap}html[data-theme=light] .radio-result{border-color:#d3dce7}

html[data-theme=light] .profile-summary,html[data-theme=light] .pref-language{border-color:#d3dce7}

/* Separate personal execution from issued assignments without changing other roles. */
.work-tabs{margin-bottom:14px}.work-assign{margin-bottom:14px}.work-status{margin-bottom:18px}.work-tabs button{white-space:normal;line-height:1.35}.work-tabs .count-badge{display:inline-flex;align-items:center;justify-content:center;min-width:20px}.nav button[data-nav=work]>span{white-space:nowrap}

/* Manager: navigation tabs, subordinate status filters and contextual actions. */
.manager-work{--work-accent:#a6bfff;--work-muted:#b6c0ce;--work-line:#48515f;--work-chip:#303640;--work-selected:#3a4962;--work-counter:#354153;min-width:0}
.manager-work .work-tabs{display:flex;gap:18px;border-bottom:1px solid var(--work-line);margin:12px 0 18px}
.manager-work .work-tabs button{position:relative;flex:1;min-width:0;min-height:50px;padding:12px 0 14px;display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:0;background:transparent;color:var(--work-muted);font-size:15px;font-weight:600;line-height:1.35;white-space:nowrap}
.manager-work .work-tabs button[aria-selected=true]{color:var(--work-accent)}
.manager-work .work-tabs button[aria-selected=true]::after{content:'';position:absolute;height:3px;border-radius:3px;left:0;right:0;bottom:-1px;background:var(--work-accent)}
.manager-work .work-tabs .count-badge{min-width:20px;height:20px;margin:0;padding:0 5px;border-radius:10px;background:var(--work-counter);color:var(--work-muted);font-size:11px;font-weight:500;flex-shrink:0}
.manager-work .work-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 20px}
.manager-work .work-status{display:flex;gap:5px;margin:0;padding:3px;border-radius:10px;background:var(--work-chip);overflow:visible;min-width:0}
.manager-work .work-status button{min-height:38px;padding:8px 11px;border:0;border-radius:7px;background:transparent;color:var(--work-muted);font-size:13px;line-height:1.3;white-space:nowrap}
.manager-work .work-status button.active{background:var(--work-selected);color:var(--work-accent)}
.manager-work .work-status button[data-filter=done].active{background:#294f43;color:#caeadb}
.manager-work .work-assign{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;margin:0;padding:10px;border-radius:50%}
.manager-work .work-assign svg{width:24px;height:24px}
.manager-work .manager-control{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;padding:4px 0 4px 5px;border:0;background:transparent;color:var(--work-muted);font-size:13px;white-space:nowrap}
.manager-work .manager-control>span{width:21px;height:21px;border-radius:50%;background:#ce535c;flex-shrink:0}
.manager-work [role=tabpanel]:focus-visible{outline:2px solid var(--work-accent);outline-offset:5px}
html[data-theme=light] .manager-work{--work-accent:#315bbd;--work-muted:#546276;--work-line:#ccd5e1;--work-chip:#e1e7ef;--work-selected:#fff;--work-counter:#e1e7ef}
html[data-theme=light] .manager-work .work-status button[data-filter=done].active{background:#d5eade;color:#245d47}
@media (max-width:760px),(pointer:coarse) and (orientation:portrait){.nav:has(button:nth-child(4):last-child){grid-template-columns:repeat(4,minmax(0,1fr))}.nav:has(button:nth-child(4):last-child) button{font-size:12px}}
@media (max-width:360px){.manager-work .work-tabs{gap:10px}.manager-work .work-tabs button{font-size:14px;gap:4px}.manager-work .work-toolbar{gap:8px}.manager-work .work-status button{padding:8px;font-size:12px}.manager-work .manager-control{gap:5px;font-size:12px}.nav:has(button:nth-child(4):last-child) button{font-size:11px}}

/* Shared fixed-height header: full name above, job title and equal tools below. */
.top{display:grid;grid-template-columns:174px minmax(0,1fr);grid-template-rows:minmax(0,1fr) 44px;grid-template-areas:'brand identity' 'position tools';column-gap:16px;row-gap:0;height:104px;padding:7px 24px 2px}
.top>.brand{grid-area:brand;width:174px;min-width:0;max-width:100%;max-height:38px;object-fit:contain;object-position:left center;align-self:center}
.header-position{grid-area:position;grid-column:1 / 3;max-width:calc(100% - 172px);align-self:center;color:#bac3d1;font-size:12px;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
.header-user{grid-area:identity;grid-row:1 / 3;align-self:stretch;display:flex;justify-content:flex-end;align-items:flex-start;gap:0;min-width:0;pointer-events:none}
.header-user .profile{pointer-events:auto;min-width:0;justify-content:flex-end;align-items:flex-start;gap:10px;max-width:100%}
.top .header-user .profile>.profile-name{display:block;max-width:360px;max-height:none;overflow:visible;-webkit-line-clamp:unset;overflow-wrap:anywhere;font-size:15px;line-height:1.2;padding-top:2px;min-width:0}
.header-user .header-avatar{flex-shrink:0;width:64px;height:64px;font-size:22px}
.header-user .header-edit{pointer-events:auto;top:44px;bottom:auto;right:-2px}
.header-tools{grid-area:tools;display:flex;justify-content:flex-end;align-items:center;gap:2px;padding-right:74px;min-width:0;z-index:1}
.header-tools .header-theme,.header-tools .header-notifications{display:grid;place-items:center;width:44px;height:44px;min-height:44px;flex:0 0 44px;padding:9px;color:#b9cae7}
.header-tools .header-theme svg,.header-tools .header-notifications svg{width:26px;height:26px}
html[data-theme=light] .header-position{color:#546276}
html[data-text-size=large] .header-user .profile-name{font-size:17px}
@media (max-width:760px),(pointer:coarse) and (orientation:portrait){
 .top{grid-template-columns:132px minmax(0,1fr);column-gap:12px;padding:7px 16px 2px}
 .top>.brand{width:132px;min-width:0}
 .header-user .profile{flex:1;gap:8px}
 .header-user .profile-name{flex:1;max-width:none;font-size:14px}
 .header-tools{padding-right:72px}
 .nav:has(button:nth-child(4):last-child){grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,1.4fr)}
 html[data-text-size=large] .header-user .profile-name{font-size:16px}
}
@media (max-width:360px){.top{grid-template-columns:100px minmax(0,1fr);column-gap:8px;padding-left:12px;padding-right:12px}.top>.brand{width:100px;min-width:0}.header-user .profile{gap:6px}.header-user .header-avatar{width:58px;height:58px;font-size:20px}.header-user .header-edit{top:38px}.header-user .profile-name{font-size:13px}.header-tools{padding-right:64px;gap:0}.header-position{font-size:11px;max-width:calc(100% - 160px)}html[data-text-size=large] .header-user .profile-name{font-size:15px}}

/* Specialists and site managers: theme beside the photo, job and name below. */
.top.header-inline-role{grid-template-columns:174px minmax(0,1fr) 64px;grid-template-rows:64px minmax(0,1fr);grid-template-areas:"brand tools identity" "identityline identityline identityline";column-gap:12px;padding-top:7px;padding-bottom:5px}
.header-inline-role .header-tools{grid-area:tools;padding:0;align-self:start;justify-self:end;align-items:center;height:64px}
.header-inline-role .header-user{grid-area:identity;grid-row:1;align-self:start;height:64px;position:relative}
.header-inline-role .header-user .profile{padding:0;min-height:64px;max-width:64px;flex:0 0 64px}
.header-inline-role .header-user .header-avatar{width:64px;height:64px}
.header-inline-role .header-user .header-edit{top:44px;right:-2px}
.header-identity-line{grid-area:identityline;display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;color:#bac3d1}
.header-job{min-width:0;flex:1;font-size:12px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.header-full-name{flex:0 1 auto;min-width:0;max-width:56%;min-height:26px;padding:0;border:0;border-radius:0;background:none;color:inherit;font-size:14px;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:right}
.header-full-name:hover{background:none;color:#dce7ff}
html[data-theme=light] .header-identity-line{color:#546276}html[data-theme=light] .header-full-name{background:none;color:#25354c}
html[data-text-size=large] .header-full-name{font-size:16px}html[data-text-size=large] .header-job{font-size:14px}
@media (max-width:760px),(pointer:coarse) and (orientation:portrait){.top.header-inline-role{grid-template-columns:132px minmax(0,1fr) 64px;column-gap:8px}}
@media (max-width:360px){.top.header-inline-role{grid-template-columns:100px minmax(0,1fr) 64px;column-gap:6px}.header-identity-line{gap:8px}.header-full-name{font-size:13px}.header-job{font-size:11px}html[data-text-size=large] .header-full-name{font-size:15px}html[data-text-size=large] .header-job{font-size:13px}}

/* Counts replace the site manager's bell and stay at the top right of each tab. */
.nav button{position:relative}.nav button>.nav-count{position:absolute;top:0;right:6px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:10px;background:#85454d;color:#fff;font-size:10px;line-height:18px}
.manager-work .work-tabs button{padding-right:18px;padding-left:6px}.manager-work .work-tabs .count-badge{position:absolute;top:2px;right:0}
@media (max-width:760px),(pointer:coarse) and (orientation:portrait){.nav:has(button:nth-child(5)) button>.nav-count{top:0;right:1px}.nav:has(button:nth-child(5)) button[data-nav=events]>span:not(.nav-count){font-size:10px;letter-spacing:-.2px}}

.assignment-form textarea{min-height:135px;resize:vertical}.assignment-deadline{min-width:0;margin:4px 0 20px;padding:0;border:0}.assignment-deadline legend{margin-bottom:12px;font-size:15px;font-weight:600}.assignment-date-time{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px}.assignment-date-time label{min-width:0;margin:0}.assignment-date-time input{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:48px;font:inherit}.assignment-date-time input::-webkit-date-and-time-value{text-align:left}.assignment-date-time input::-webkit-calendar-picker-indicator{cursor:pointer;padding:4px}
@media (max-width:760px),(pointer:coarse) and (orientation:portrait){.nav:has(button:nth-child(5)){grid-template-columns:repeat(3,minmax(0,1fr)) minmax(0,.7fr) minmax(0,1.3fr)}.nav:has(button:nth-child(5)) button[data-nav=events]>span:not(.nav-count){font-size:11px;letter-spacing:-.2px}}
.nav button>.nav-count{left:auto}
@media (max-width:360px){.nav:has(button:nth-child(5)) button[data-nav=reports]>span:not(.nav-count){font-size:11px}}
@media (max-width:360px){.nav:has(button:nth-child(5)) button[data-nav=events]>span:not(.nav-count){font-size:10px}}
/* Theme is centered independently of the logo and photo. */
.top.header-inline-role{position:relative}.header-inline-role .header-tools{position:absolute;left:50%;top:7px;transform:translateX(-50%);width:44px;height:64px;padding:0;justify-content:center}
/* Pointer navigation must not draw a frame around the complete work area. */
.manager-work [role=tabpanel]:focus-visible{outline:none}html[data-input=keyboard] .manager-work [role=tabpanel]:focus-visible{outline:2px solid var(--work-accent);outline-offset:5px}
.assignment-form .speech-input textarea{padding-right:50px;padding-bottom:48px}.assignment-date-time>button{display:flex;align-items:center;gap:10px;min-height:76px;padding:12px;text-align:left;border:0;background:#343d4b;border-radius:12px;min-width:0}.assignment-date-time>button>span{display:grid;gap:5px;min-width:0}.assignment-date-time b{font-size:14px;white-space:normal}.assignment-date-time small{font-size:12px}.assignment-date-time>button>svg{width:22px;height:22px;color:#a6bfff}
.deadline-wheels{position:relative;display:grid;gap:10px;margin:10px 0 16px}.date-wheels{grid-template-columns:minmax(0,.7fr) minmax(0,1.5fr) minmax(0,1fr)}.time-wheels{grid-template-columns:1fr 1fr;max-width:360px;margin-left:auto;margin-right:auto}.wheel-group{min-width:0;text-align:center}.wheel-label{display:block;color:#b0b9c7;font-size:13px;margin-bottom:10px}.wheel{height:220px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;padding:88px 0;position:relative;touch-action:pan-y;mask-image:linear-gradient(transparent,#000 25%,#000 75%,transparent);background:#303640;border-radius:12px}.wheel::-webkit-scrollbar{display:none}.wheel button{display:block;width:100%;height:44px;min-height:44px;scroll-snap-align:center;scroll-snap-stop:always;padding:0 3px;border:0;border-radius:0;background:transparent;font-size:19px;color:#aab5c4;white-space:nowrap}.wheel button[aria-selected=true]{color:#f1f2f5;font-weight:600;background:#465674}.wheel-label+.wheel:focus-visible{outline:2px solid #9db7ff}.deadline-preview{text-align:center;font-size:18px;font-weight:600;margin:18px 0 22px}html[data-theme=light] .assignment-date-time>button,html[data-theme=light] .wheel{background:#e1e7ef;color:#25354c}html[data-theme=light] .wheel button{color:#546276;background:transparent}html[data-theme=light] .wheel button[aria-selected=true]{background:#c9d9f6;color:#25354c}html[data-theme=light] .wheel-label{color:#546276}
@media (max-width:360px){.assignment-date-time{gap:14px;grid-template-columns:1fr}.assignment-date-time>button{min-height:66px}.wheel button{font-size:17px}.deadline-wheels{gap:6px}}
.header-inline-role .header-tools{grid-area:auto}
.manager-work [role=tabpanel]:focus{outline:none}html[data-input=keyboard] .manager-work [role=tabpanel]:focus{outline:2px solid var(--work-accent);outline-offset:5px}
.curator-helper-entry,.curator-documents-entry{display:flex;align-items:center;gap:10px;width:100%;padding:13px 12px;background:#303a4c;border:0;border-radius:12px;text-align:left;color:#a6bfff;margin:0 0 16px}.curator-helper-entry b{font-weight:500;font-size:14px}.curator-helper-entry>span:first-of-type{margin-left:auto;font-size:12px;color:#bdcce6}.curator-helper-entry>span:last-of-type{font-size:20px}.curator-helper-entry svg{width:22px;height:22px}.curator-scope{margin:0 0 16px}.curator-scope select{border:0;background:transparent;min-height:44px;padding:8px 0;font-size:13px}.curator-tabs{display:flex;border-bottom:1px solid #48515f;gap:12px;margin:0 0 18px}.curator-tabs button{flex:1;background:none;border:0;border-radius:0;padding:12px 4px;color:#b6c0ce;font-weight:600}.curator-tabs button.active{border-bottom:3px solid #a6bfff;color:#a6bfff}.curator-tabs button span{font-size:11px;margin-left:4px}.curator-documents-entry>span{display:grid;gap:4px;flex:1}.curator-documents-entry b{font-size:14px;font-weight:500;color:#e0e7f3}.curator-documents-entry small{font-size:12px}.curator-document h3{font-size:17px;margin:0}.curator-citation{border-left:2px solid #728bb9;padding:4px 0 4px 12px;margin-bottom:14px}.curator-citation small{display:block}.curator-citation blockquote{margin:8px 0;color:#c8d2e4;font-size:13px;white-space:pre-wrap}.preserve-text{white-space:pre-wrap;overflow-wrap:anywhere}.curator-fieldset{min-width:0;border:0;padding:0;margin:18px 0}.curator-fieldset legend{font-size:14px;font-weight:600;margin-bottom:8px}.curator-check{display:flex;align-items:center;gap:8px;font-size:13px}.curator-check input{width:20px;height:20px;min-height:20px;flex:0 0 20px}.curator-upload-file{display:flex;align-items:center;gap:10px;padding:12px;background:#303640;border-radius:12px;margin-bottom:10px}.curator-upload-file>span{flex:1;min-width:0;overflow-wrap:anywhere;font-size:13px}.curator-upload-file small{display:block;font-size:11px;margin-top:4px}.curator-upload-file>button{border:0;background:none;padding:0;font-size:22px;min-width:44px}.curator-deadline{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0 18px}.curator-deadline button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;white-space:normal;font-size:13px}.curator-deadline svg{width:21px;height:21px}.sheetbody h1{font-size:26px}.sheetbody .primary.full svg{vertical-align:middle;margin-right:6px}html[data-theme=light] .curator-helper-entry,html[data-theme=light] .curator-documents-entry{background:#dfe9fc;color:#315bbd}html[data-theme=light] .curator-documents-entry b,html[data-theme=light] .curator-helper-entry>span:first-of-type{color:#334b70}html[data-theme=light] .curator-citation blockquote{color:#334b70}html[data-theme=light] .curator-upload-file{background:#e1e8f1}html[data-theme=light] .curator-tabs button{background:none;color:#546276}html[data-theme=light] .curator-tabs button.active{border-color:#436be4;color:#315bbd}@media (max-width:360px){.curator-helper-entry{gap:7px;padding:12px 9px}.curator-helper-entry>span:first-of-type{font-size:11px}.curator-deadline{grid-template-columns:1fr}}

/* The keyboard leaves the same scrollable sheet above the visible viewport edge. */
html.keyboard-open dialog{max-height:var(--sheet-visible-height);bottom:var(--keyboard-inset);scroll-behavior:auto;padding-bottom:0;overflow-anchor:none;scroll-padding:100px 0 24px}html.keyboard-open .sheetbody{padding-bottom:32px}html.keyboard-open textarea{max-height:var(--sheet-visible-height);scroll-margin-block:110px 24px}

html.keyboard-open:not(.sheet-open) body{padding-bottom:calc(var(--keyboard-inset) + 24px)}

/* Yekton AI has its own violet surface; the icon communicates current state. */
.curator-helper-entry.yekton-ai{background:#352d4d;color:#eee8ff;padding:13px 14px;gap:12px;min-height:68px;transition:background .15s}
.curator-helper-entry.yekton-ai:hover{background:#403558}
.curator-helper-entry.yekton-ai .yekton-ai-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;margin:0;color:#c4a5ff}
.curator-helper-entry.yekton-ai .yekton-ai-icon svg{width:27px;height:27px}
.curator-helper-entry.yekton-ai .yekton-ai-label{display:grid;gap:3px;flex:1;min-width:0;margin:0;text-align:left}
.curator-helper-entry.yekton-ai .yekton-ai-label b{font-size:15px;font-weight:600;color:inherit}
.curator-helper-entry.yekton-ai .yekton-ai-status{font-size:12px;line-height:1.35;color:#c8bfdc;white-space:normal;overflow-wrap:anywhere}
.curator-helper-entry.yekton-ai .yekton-ai-count{display:grid;place-items:center;flex:0 0 auto;min-width:28px;height:28px;border-radius:14px;background:#e8bd76;color:#2e2537;padding:0 7px;font-size:13px;font-weight:650;margin:0}
.curator-helper-entry.yekton-ai .yekton-ai-chevron{flex:0 0 auto;font-size:24px;color:#b5a5cd;margin:0}
.yekton-ai[data-ai-state=processing] .yekton-ai-icon{color:#8ccfff;animation:yekton-ai-pulse 1.8s ease-in-out infinite}
.yekton-ai[data-ai-state=attention] .yekton-ai-icon{color:#f2c47a}
.yekton-ai[data-ai-state=error] .yekton-ai-icon{color:#ff9f9f}
.yekton-ai[data-ai-state=error] .yekton-ai-status{color:#ffb8b8}
@keyframes yekton-ai-pulse{0%,100%{opacity:1}50%{opacity:.4}}
html[data-theme=light] .curator-helper-entry.yekton-ai{background:#ede5f8;color:#493367}
html[data-theme=light] .curator-helper-entry.yekton-ai .yekton-ai-icon{color:#7752ac}
html[data-theme=light] .curator-helper-entry.yekton-ai .yekton-ai-status{color:#675776}
html[data-theme=light] .curator-helper-entry.yekton-ai .yekton-ai-chevron{color:#775f95}
html[data-theme=light] .yekton-ai[data-ai-state=processing] .yekton-ai-icon{color:#266fad}
html[data-theme=light] .yekton-ai[data-ai-state=attention] .yekton-ai-icon{color:#966411}
html[data-theme=light] .yekton-ai[data-ai-state=error] .yekton-ai-icon,html[data-theme=light] .yekton-ai[data-ai-state=error] .yekton-ai-status{color:#b43649}
@media (prefers-reduced-motion:reduce){.yekton-ai[data-ai-state=processing] .yekton-ai-icon{animation:none}}

/* Text entry uses the full field after removing app dictation. */
.text-input textarea,.assignment-form .text-input textarea{width:100%;padding:12px;min-height:145px}
/* Review separates the instruction from the employee's evidence. */
.specialist-reply{margin:24px 0;padding:18px;background:#303c50;border-left:4px solid #91b5f8;border-radius:14px}.reply-heading{display:flex;align-items:center;gap:10px;justify-content:space-between}.reply-heading h2{margin:0}.reply-text{padding:8px 0}.reply-text p{white-space:pre-wrap}.reply-photos{display:grid;gap:12px}.review-count,.review-pill{background:#e5b652!important;color:#282016!important}.file-photo{padding:0;border:0;background:none;max-width:100%}.file-photo img{display:block;max-width:100%;border-radius:10px}.photo-viewer{inset:0;margin:0;width:100%;max-width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));background:#12161c;color:white;overflow:hidden}.photo-viewer[open]{display:flex;flex-direction:column;animation:none}.photo-viewer::backdrop{background:#12161c}.viewer-image{flex:1;min-height:0;width:100%;object-fit:contain;touch-action:pinch-zoom}.photo-toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:48px}.photo-toolbar button{background:none;border:0;min-width:48px;min-height:48px;padding:10px}.photo-toolbar span{overflow-wrap:anywhere}.photo-toolbar button[data-photo-close]{border-radius:0;box-shadow:none}.photo-toolbar button svg{width:25px;height:25px}html[data-theme=light] .specialist-reply{background:#e6edf9;border-color:#477ac9} .inline-attachments{flex-wrap:wrap}

.photo-original{color:#bad0fa;display:block;text-align:center;padding:8px;font-size:13px}
/* The send section stays in the form flow so it cannot cover media actions. */
.sheetbody form[data-form=result]>.bottomactions,.sheetbody form[data-form=incident]>.bottomactions{position:static;margin-top:16px}

.inline-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.inline-attachments button{min-width:0;min-height:44px}@media (min-width:600px){.inline-attachments{grid-template-columns:repeat(4,minmax(0,1fr))}}

.reply-heading{align-items:flex-start}.reply-heading h2{font-size:20px;line-height:1.25}.reply-heading .pill{white-space:nowrap;flex-shrink:0;font-size:11px}
@media (max-width:360px){.reply-heading{flex-wrap:wrap}.specialist-reply{padding:14px}}

.integrity-badge{display:block;text-align:left;border:0;background:none;color:#a9bbd6;padding:4px 0 12px;font-size:12px}.integrity-code,.file-checksum code,.sealed-snapshot{display:block;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font-size:12px}.file-checksum{font-size:11px;margin-top:6px}.file .grow>span{display:block}.sealed-snapshot{max-height:400px;overflow:auto}

/* Status is conveyed by compact pills; the card itself stays graphite. */
.eyebrow .pill{display:inline-flex;margin-left:6px;text-transform:none;letter-spacing:normal}
.status-assigned{background:#754117;color:#ffcb91}
.status-review,.new-task-marker,.nav-count.work-notification{background:#f6c64a;color:#30250c}
.status-complete{background:#194a37;color:#9ee6b8}
.status-overdue{background:#682d34;color:#ffc0c8}
.status-neutral{background:#39414e;color:#c0c7d1}
.capture-tools{display:flex;gap:16px;align-items:center;margin:14px 0 18px}
.capture-tools button{display:grid;place-items:center;width:52px;height:48px;padding:10px;border:0;background:transparent;color:inherit}
.capture-tools svg{width:27px;height:27px}
:is([data-close],[data-command="back"],[data-photo-close]),
:is([data-close],[data-command="back"],[data-photo-close]):is(:hover,:active,:focus,:focus-visible){border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;-webkit-tap-highlight-color:transparent}
:is([data-close],[data-command="back"],[data-photo-close]):focus-visible svg{color:#8cc8ff;stroke-width:2.8}
[data-theme="light"] .status-assigned{background:#ffe0bd;color:#834000}
[data-theme="light"] .status-complete{background:#d4efdf;color:#185d36}
[data-theme="light"] .status-overdue{background:#ffdce1;color:#9a2235}
.new-task-marker{padding:2px 7px;border-radius:8px;font-size:11px;line-height:16px;font-weight:600}
html .nav button>.nav-count.work-notification,
html[data-theme="light"] .nav button>.nav-count.work-notification{background:#f6c64a;color:#30250c}
html[data-theme="light"] .pill.status-assigned{background:#ffe0bd;color:#834000}
html[data-theme="light"] .pill.status-complete{background:#d4efdf;color:#185d36}
html[data-theme="light"] .pill.status-overdue{background:#ffdce1;color:#9a2235}
html[data-theme="light"] .pill.status-review,
html[data-theme="light"] .new-task-marker{background:#f6c64a;color:#30250c}
html[data-theme="light"] .pill.status-neutral{background:#dce5f3;color:#334b70}
:root{--twin-border:color-mix(in srgb,currentColor 18%,transparent)}
.twin-entry{display:flex;align-items:center;gap:8px;text-align:left;margin:0 0 16px;padding:14px 16px;border:1px solid var(--twin-border);border-radius:14px;background:transparent;color:inherit;flex-wrap:wrap}.twin-entry b{font-size:16px}.twin-entry small{flex:1;min-width:160px;opacity:.75}.twin-entry>span{font-size:24px}.twin-head{margin-bottom:12px}.twin-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.twin-stats span{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;font-size:11px;overflow-wrap:anywhere}.twin-stats b{font-size:23px}.twin-tabs{display:flex;gap:6px;overflow:auto;padding:4px 0 12px;scrollbar-width:thin}.twin-tabs button{flex-shrink:0;white-space:nowrap}.twin-tabs button[aria-pressed=true]{background:#235fa8;color:white}.twin-node small{display:block}.twin-content h2{margin-top:22px}.twin-source{border-left:3px solid #5799eb;margin:12px 0;padding:8px 12px;white-space:pre-wrap;overflow-wrap:anywhere}.twin-source button{white-space:normal;text-align:left}.twin-node summary{padding:10px 0;cursor:pointer}.twin-capture{margin:8px 0 14px;padding:10px 12px;border:1px solid var(--twin-border);border-radius:12px}.twin-capture summary{cursor:pointer;padding:5px 0}.twin-date-range{display:grid;grid-template-columns:1fr 1fr;gap:8px}.twin-date-range input{min-width:0;width:100%}.twin-review,.work-clock{border:1px solid var(--twin-border);border-radius:12px;padding:12px;margin:12px 0}.work-clock .actions{flex-wrap:wrap}.twin-content fieldset{min-width:0}.twin-content .card{overflow-wrap:anywhere}@media (max-width:360px){.twin-entry small{min-width:100%;order:3}.twin-stats{gap:3px}.twin-stats b{font-size:20px}}

.capture-tools{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:16px 0 20px}
.capture-tools button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:56px;height:auto;border:1px solid #4b5564;border-radius:12px;background:#303640;padding:12px 8px;font-size:15px;font-weight:600}
.capture-tools svg{width:25px;height:25px}
html[data-theme=light] .capture-tools button{background:#e1e8f1;color:#25354c;border-color:#b7c4d4}
.review-card .review-meta{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
.review-code{font-size:12px;color:#b7c2d0;text-align:right;max-width:65%}.review-code summary{cursor:pointer}.review-code .link{display:block;font-size:12px}
.review-update{height:28px}.review-update button{font-size:12px;min-height:24px;padding:2px 0}
.review-evidence{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.review-evidence figure{margin:0;min-width:0}.review-evidence .file-photo{display:block;width:100%;height:auto;aspect-ratio:1/1;padding:0;border:0;overflow:hidden;border-radius:12px;background:#1d222a}.review-evidence img{width:100%;height:100%;object-fit:cover}.review-evidence figcaption{font-size:11px;color:#b7c2d0;margin-top:5px;overflow-wrap:anywhere}
.review-card .review-result{border:0;background:none;padding:0;margin:0 0 18px;box-shadow:none}.review-card h2{font-size:20px;margin:0 0 10px}.review-text{white-space:pre-wrap;line-height:1.5}.review-received{display:block;margin-top:3px}.review-origin{padding:14px 0;border-top:1px solid #454e5c;margin:14px 0}.review-origin summary{cursor:pointer;font-weight:600}.review-origin p{white-space:pre-wrap;margin-top:12px}.review-location{margin:12px 0}.review-decision{padding:12px 0}.review-actions .actions{margin:16px 0 12px}.review-actions .actions button{min-width:0;padding:12px 8px;min-height:52px}.review-actions .report-share{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;font-weight:600}.report-share-note{font-size:12px;color:#b7c2d0;min-height:18px;margin:6px 0 0}
html[data-theme=light] .review-code,html[data-theme=light] .review-evidence figcaption,html[data-theme=light] .report-share-note{color:#546276}
html[data-theme=light] .review-card .review-result{background:none}
.review-evidence:has(figure:only-child){grid-template-columns:minmax(0,1fr)}
.review-evidence:has(figure:only-child) .file-photo{aspect-ratio:16/10}
/* The empty-field prompt is centred; entered text retains normal alignment. */
.control-description textarea:placeholder-shown{text-align:center}
.control-description textarea:not(:placeholder-shown){text-align:left}
.submission-requirements,.form-error{text-align:center}
.new-photo-title{font-size:13px;color:#b7c2d0;margin:14px 0 5px}
.previous-photos{margin:14px 0}.previous-photos summary{font-size:13px;cursor:pointer;margin-bottom:10px}
html .online-warning.sync-state.state-sent,
html[data-theme=light] .online-warning.sync-state.state-sent{color:#63c58a}
html[data-theme=light] .online-warning.sync-state.state-sent{color:#247546}
.nav button:is([data-nav=work],[data-nav=events])>.nav-count{left:32px;right:auto;top:3px}
@media (max-width:760px),(pointer:coarse) and (orientation:portrait){
 .nav button:is([data-nav=work],[data-nav=events])>.nav-count{left:calc(50% + 10px);right:auto;top:2px}
}
.enterprise-alert-zone{position:relative}.enterprise-alert-zone.has-incident-alert{min-height:94px;margin-bottom:18px}
.enterprise-alert-zone:has(.incident-alert-list).has-incident-alert{min-height:126px}
#incident-alert-slot:not(:empty){position:absolute;inset:0;z-index:3}
.incident-alert{border-radius:14px;background:#bd4f57;color:#fff;overflow:hidden;box-shadow:0 5px 20px #0002}
.incident-alert-main{border:0;background:transparent;color:inherit;display:flex;align-items:center;gap:12px;width:100%;padding:12px;text-align:left;min-height:94px;border-radius:0}
.incident-alert-main:hover{background:#cc5a63}.incident-alert-main>img,.incident-alert-symbol{width:64px;height:64px;object-fit:cover;border-radius:8px;flex-shrink:0}.incident-alert-symbol{display:grid;place-items:center;background:#ffffff12}.incident-alert-copy{min-width:0;flex:1;display:grid;gap:3px}.incident-alert-copy>b{font-size:14px}.incident-alert-copy>span{font-size:14px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.incident-alert-copy>small{font-size:11px;color:#f2cdd3}.incident-alert-list{display:block;width:100%;border:0;border-top:1px solid #ffffff30;border-radius:0;background:transparent;color:#fff;padding:6px 12px;min-height:32px;text-align:center;font-size:12px}
.incident-card-photo{display:block;width:100%;height:160px;object-fit:cover;border-radius:10px;margin:10px 0 13px}
.status-incident-new{background:#bd4f57;color:#fff}.incident-report-up{margin-top:10px;min-height:50px}.incident-report-recipient{font-size:12px;color:#b7c2d0;margin:5px 0 12px;text-align:center}
html[data-theme=light] .incident-alert,html[data-theme=light] .incident-alert button{background:#bd4f57;color:#fff}html[data-theme=light] .pill.status-incident-new{background:#bd4f57;color:#fff}html[data-theme=light] .incident-report-recipient{color:#546276}
.review-actions>.primary.full{min-height:52px;margin:12px 0}
.incident-close{margin-top:12px;min-height:50px}
.incident-alert-copy>b,.incident-alert-copy>small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Incident actions occupy two equal columns in the agreed order. */
.incident-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}
.incident-action-grid>button{width:100%;min-width:0;min-height:60px;margin:0;padding:10px 8px;font-size:14px;line-height:1.3;display:flex;align-items:center;justify-content:center;gap:7px;text-align:center}
.incident-action-grid .report-share{min-height:60px;font-weight:400}.incident-action-grid .report-share svg{width:20px;height:20px}
.incident-action-grid .incident-close,
html[data-theme=light] .incident-action-grid .incident-close{background:#287b4c;color:white;border-color:#287b4c}
.incident-action-grid .incident-close:hover{background:#318b58;border-color:#318b58}
.incident-action-grid .incident-report-up,
html[data-theme=light] .incident-action-grid .incident-report-up{background:#e9a244;color:#2d1d08;border-color:#e9a244}
.incident-action-grid .incident-report-up:hover{background:#f2af57;border-color:#f2af57}
.incident-action-grid+.incident-report-recipient{margin:8px 0 0}
html .nav button[data-nav=events]>.nav-count,
html[data-theme=light] .nav button[data-nav=events]>.nav-count{background:transparent;color:#ef737d;border-radius:0;box-shadow:none;font-size:13px;font-weight:700;padding:0;min-width:14px}
html[data-theme=light] .nav button[data-nav=events]>.nav-count{color:#b33342}
/* Incident assignment keeps evidence separate from the requested action. */
.assignment-context{padding:14px;border-radius:12px;background:#303640;margin:0 0 18px;overflow-wrap:anywhere}
.assignment-context>b{display:block;margin-bottom:10px}.assignment-context p{white-space:pre-wrap;margin:10px 0;max-height:160px;overflow:auto}.assignment-context small{display:block}
.assignment-context-photos{display:flex;gap:8px;overflow:auto}.assignment-context-photos button{padding:0;border:0;flex:0 0 84px;height:76px;overflow:hidden}.assignment-context-photos img{width:100%;height:100%;object-fit:cover}
.assignment-people{border:0;padding:0;margin:0 0 16px;min-width:0}.assignment-people legend{font-weight:600;margin-bottom:8px}
.assignment-person{display:flex;gap:12px;align-items:center;margin:0;padding:12px 0;border-bottom:1px solid #454e5c;cursor:pointer}.assignment-person input{width:22px;height:22px;min-height:22px;flex-shrink:0;accent-color:#e9a244}.assignment-person span{min-width:0}.assignment-person b{font-weight:500;display:block}.assignment-person small{display:block;margin-top:4px}.assignment-person strong{font-weight:500}.assignment-mode{margin-bottom:18px}.assignment-mode button{white-space:normal}
html[data-theme=light] .assignment-context{background:#e8edf4;color:#25354c}html[data-theme=light] .assignment-person{border-color:#c4cbd5}
.assignment-recipient-field{display:grid;gap:7px;margin:16px 0}.assignment-select{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left}.assignment-select>span:first-child{min-width:0;overflow-wrap:anywhere}.assignment-deadline-row{display:flex;align-items:center;gap:12px;margin:18px 0}.assignment-deadline-button{display:flex;gap:10px;align-items:center;text-align:left;flex:1;min-width:0;min-height:65px}.assignment-deadline-button span{display:grid;gap:4px}.assignment-deadline-button b{font-size:14px}.assignment-urgent{display:flex;align-items:center;gap:7px;margin:0;flex-shrink:0}.assignment-urgent input{width:22px;height:22px;min-height:22px;accent-color:#bd4f57}
.assignment-person[hidden],.deadline-calendar[hidden]{display:none}#assignment-search{margin-bottom:12px}.deadline-quick button{white-space:normal}.deadline-calendar{margin-top:10px}.deadline-month{display:flex;align-items:center;justify-content:space-between}.deadline-month button{border:0;background:none;font-size:24px}.deadline-month b{text-transform:capitalize}.deadline-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;text-align:center}.deadline-days small{padding:6px 0}.deadline-days button{padding:4px;min-width:0;border:0;background:none}.deadline-days button[aria-pressed=true]{background:#527cff;color:white}.deadline-days button:disabled{opacity:.25;cursor:default}.deadline-calendar+.time-wheels .wheel{height:132px;padding:44px 0}.deadline-calendar+.time-wheels{margin-top:16px}.deadline-preview{font-size:15px;margin:12px 0}.status-urgent,html[data-theme=light] .pill.status-urgent{background:#bd4f57;color:#fff}

/* Curator: one tab line, object control, evidence and model sections. */
.curator-dashboard{--hub-surface:#2b313b;--hub-line:#465264;--hub-muted:#b5c1d2;--hub-blue:#acc8ff;min-width:0}.hub-tabs{display:grid;grid-template-columns:.82fr 1.12fr 1fr 1.15fr;border-bottom:1px solid var(--hub-line);margin:5px 0 20px;gap:0}.hub-tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:4px;min-height:50px;padding:8px 2px;border:0;border-radius:0;background:transparent;color:var(--hub-muted);font-size:14px;white-space:nowrap}.hub-tabs button[aria-selected=true]{color:var(--hub-blue);box-shadow:inset 0 -3px var(--hub-blue)}.hub-tabs button:focus-visible{outline:2px solid var(--hub-blue);outline-offset:-3px}.hub-ai-symbol{display:inline-flex;color:#c4a5ff;flex-shrink:0}.hub-ai-symbol svg{width:18px;height:18px}.hub-tab-count{font-size:10px;font-weight:700;color:var(--hub-blue)}.hub-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:18px 0 10px}.hub-section-heading h2{font-size:17px;margin:0}.hub-section-heading small{white-space:nowrap}.hub-object{position:relative;background:var(--hub-surface);border:1px solid var(--hub-line);border-radius:12px;overflow:hidden;margin:0 0 12px;padding-right:6px}.hub-object:after{content:'';position:absolute;inset:0 0 0 auto;width:6px;background:#52647d}.hub-object[data-tone=normal]:after{background:#557ba8}.hub-object[data-tone=attention]:after{background:#7da3da}.hub-object[data-tone=urgent]:after{background:#b2d0ff}.hub-object-head{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px;background:transparent;border:0;text-align:left;color:inherit}.hub-object-head>span:first-child{display:grid;gap:6px;min-width:0}.hub-object-head b{font-size:17px}.hub-object-head small{color:var(--hub-muted);line-height:1.4}.hub-object-reason{font-size:12px;color:var(--hub-blue);line-height:1.5}.hub-object[data-tone=urgent] .hub-object-reason{color:#ffa8ae}.hub-object-body{padding:0 16px 14px;border-top:1px solid var(--hub-line)}.hub-object-row{display:flex;justify-content:space-between;align-items:center;width:100%;gap:12px;min-height:48px;border:0;border-bottom:1px solid var(--hub-line);border-radius:0;background:transparent;color:inherit;text-align:left;padding:10px 0}.hub-object-row>span:last-child{white-space:nowrap;color:var(--hub-blue)}.hub-object-row i{font-style:normal;margin-left:8px}.hub-object-body .actions{margin-top:14px;display:flex;flex-wrap:wrap}.hub-scope{display:block;margin-bottom:12px}.hub-scope select{width:100%}.hub-task-toolbar{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:10px;margin-bottom:14px}.hub-task-toolbar .chips{margin:0}.hub-ai-heading{display:flex;align-items:center;gap:10px;margin-bottom:16px}.hub-ai-heading h2{margin:0}.hub-ai-heading .hub-ai-symbol svg{width:25px;height:25px}.hub-ai-entry{position:relative;display:block;width:100%;padding:20px 36px 20px 18px;background:var(--hub-surface);border:1px solid var(--hub-line);border-radius:12px;text-align:left;margin-bottom:14px;color:inherit;line-height:1.5}.hub-ai-entry b{font-size:18px}.hub-ai-entry p{margin:7px 0;color:var(--hub-muted);font-size:14px}.hub-ai-entry>span:last-child{position:absolute;right:18px;top:22px;color:var(--hub-blue)}.hub-approval-note{color:var(--hub-muted);font-size:13px;line-height:1.7}.hub-back{padding-left:0}.hub-page-title{margin:12px 0 18px}.hub-upload{display:flex;justify-content:center;align-items:center;gap:8px;margin:0 0 16px}.hub-upload svg{width:20px;height:20px}.hub-documents,.hub-jobs{border:1px solid var(--hub-line);border-radius:10px;padding:14px;margin:14px 0}.hub-documents>summary,.hub-jobs>summary,.hub-model-details>summary,.hub-rollout>summary{cursor:pointer;line-height:1.5;min-height:28px}.hub-documents>summary>span{display:block;font-size:12px;margin-top:4px;color:var(--hub-blue)}.hub-document{border-top:1px solid var(--hub-line);padding-top:12px;margin-top:12px}.hub-document h3{margin:0 0 6px;font-size:15px}.hub-document p{font-size:13px;margin:8px 0}.hub-analysis-card{background:var(--hub-surface);border:1px solid var(--hub-line);border-radius:12px;padding:16px;margin:14px 0;overflow-wrap:anywhere}.hub-analysis-card h2{font-size:17px;margin:0 0 12px}.hub-analysis-card h3{font-size:17px;margin:8px 0}.hub-analysis-card p{line-height:1.55}.hub-attention{color:var(--hub-blue)}.hub-model-details{border-top:1px solid var(--hub-line);padding-top:12px}.hub-model-object{display:grid;grid-template-columns:1fr auto;gap:7px;width:100%;background:transparent;border:0;border-bottom:1px solid var(--hub-line);border-radius:0;padding:12px 0;text-align:left;color:inherit}.hub-model-object small{grid-column:1}.hub-model-object>span{grid-column:2;grid-row:1/3;align-self:center}.hub-needs{padding-left:20px;margin-bottom:0}.hub-needs li{padding:6px 0;line-height:1.55}.hub-needs li>small{display:block;color:var(--hub-muted)}.hub-needs .link{padding:4px;min-height:36px}.hub-direction{border:1px solid var(--hub-line);border-radius:12px;margin-bottom:14px;overflow:hidden}.hub-direction-head{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px;background:var(--hub-surface);border:0;border-radius:0;text-align:left;color:inherit}.hub-direction-head>span:first-child{display:grid;gap:6px}.hub-direction-body{padding:0 12px 12px}.hub-rollout{margin-top:14px;border-top:1px solid var(--hub-line);padding-top:12px}.hub-rollout>div{border-bottom:1px solid var(--hub-line);padding:12px 0}.hub-rollout p{margin:6px 0;font-size:13px}.hub-check{display:flex;align-items:center;gap:10px;padding:8px 0}.hub-check input{width:22px;min-height:22px;height:22px;flex-shrink:0}.hub-scope-note{padding:14px;border:1px solid #82709b;border-radius:10px;margin:14px 0}.hub-job{border-top:1px solid var(--hub-line);padding-top:12px;margin-top:12px}.hub-job p{font-size:13px;margin:6px 0}
html[data-theme=light] .curator-dashboard{--hub-surface:#fff;--hub-line:#d1dbe8;--hub-muted:#546276;--hub-blue:#315bbd}html[data-theme=light] .hub-tabs button,html[data-theme=light] .hub-object-head,html[data-theme=light] .hub-object-row,html[data-theme=light] .hub-model-object{background:transparent}html[data-theme=light] .hub-tabs button{color:var(--hub-muted)}html[data-theme=light] .hub-tabs button[aria-selected=true]{color:var(--hub-blue)}html[data-theme=light] .hub-ai-entry,html[data-theme=light] .hub-direction-head{background:var(--hub-surface);color:inherit}html[data-theme=light] .hub-object[data-tone=urgent] .hub-object-reason{color:#a3333e}html[data-theme=light] .hub-ai-symbol{color:#7955b3}
@media (max-width:380px){.hub-tabs button{font-size:12px;gap:2px}.hub-ai-symbol svg{width:15px;height:15px}.hub-tab-count{font-size:9px}.hub-object-head{padding:14px 12px}.hub-object-body{padding:0 12px 12px}.hub-section-heading h2{font-size:15px}.hub-analysis-card{padding:13px}.hub-object-body .actions button{flex:1;min-width:120px}}

/* Compact AI model: document status disclosure and proposals grouped by subject. */
.hub-analysis-summary{border:0;padding:0;margin:-4px 0 18px;color:var(--hub-muted);font-size:13px}.hub-analysis-summary>summary{min-height:44px;padding:10px 0;overflow-wrap:anywhere}.hub-analysis-content{color:inherit;border-top:1px solid var(--hub-line);padding:10px 0}.hub-analysis-content h3{font-size:15px;margin:18px 0 8px}.hub-analysis-summary .hub-jobs{border:0;border-top:1px solid var(--hub-line);border-radius:0;padding:12px 0 0;margin:14px 0 0}.hub-proposal-group{margin:20px 0 24px}.hub-proposal-group-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid var(--hub-line);padding-bottom:8px}.hub-proposal-group-heading h3{font-size:15px;margin:0;overflow-wrap:anywhere}.hub-proposal-group-heading small{color:var(--hub-muted);flex-shrink:0}.hub-proposal-group .hub-analysis-card{margin:10px 0}.hub-proposal h4{font-size:17px;margin:8px 0;line-height:1.4}
.chain-report h1{font-size:23px}.chain-report h2{font-size:18px}.chain-table-wrap{overflow:auto;margin:12px 0 18px;max-width:100%}.chain-table{width:100%;border-collapse:collapse;font-size:13px;table-layout:fixed}.chain-table th,.chain-table td{border:1px solid #566171;padding:10px 7px;vertical-align:top;text-align:left;overflow-wrap:anywhere}.chain-table th{background:#343e4e;font-weight:600}.chain-table p{margin:7px 0 0}.chain-table .link{font-size:12px;min-height:36px;text-align:left;padding:2px 0}.chain-table small{font-size:11px;display:block}.chain-confirm input{width:22px;min-height:22px;height:22px;flex-shrink:0}.chain-confirm{align-items:center;gap:12px}.chain-report .report-share{margin-top:18px}.chain-report .review-text{white-space:pre-wrap}
html[data-theme=light] .chain-table th{background:#e2e8f0}html[data-theme=light] .chain-table th,html[data-theme=light] .chain-table td{border-color:#bbc5d2}
@media (max-width:360px){.chain-table{font-size:12px}.chain-table th,.chain-table td{padding:8px 4px}}

/* AI workspace: decisions first, bounded action lists and compact proposal rows. */
.hub-ai-heading h1{margin:0;font-size:25px}.hub-ai .hub-page-title{font-size:25px;margin:8px 0 12px}.hub-ai .hub-back{min-height:36px;padding-top:4px;padding-bottom:4px}.hub-ai-entry{padding:16px 34px 16px 16px;margin-bottom:12px}.hub-ai-entry p{margin:5px 0;font-size:13px}.hub-ai-entry strong{display:block;color:var(--hub-blue);font-size:13px;margin:8px 0 3px;font-weight:600}.hub-ai-entry small{display:block}.hub-ai .hub-approval-note{margin:12px 0}.hub-attention-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--hub-line);padding:0 0 8px;margin-bottom:3px;font-size:12px;color:var(--hub-muted)}.hub-attention-bar button{background:transparent;color:var(--hub-blue);border:0;padding:9px 5px;min-height:44px;font-size:13px}.hub-attention-bar b{margin-left:3px}.hub-model-launch{display:block;padding:8px 0;min-height:44px;text-align:left;font-size:14px}.hub-document-tools .hub-upload{margin:0;width:100%;min-height:44px;font-size:14px}.hub-ai .hub-documents{margin:10px 0 0;padding:10px 13px}.hub-ai .hub-documents>summary{min-height:24px}.hub-ai .hub-documents>summary>span{font-size:11px}.hub-ai .hub-analysis-summary{margin:0 0 8px}.hub-ai .hub-analysis-summary>summary{min-height:38px;padding:8px 0;font-size:12px}.hub-analysis-needs{padding:12px 14px;margin:10px 0 18px}.hub-analysis-needs>.hub-section-heading{margin:0 0 8px;gap:8px}.hub-analysis-needs h2{font-size:16px;line-height:1.4;margin:0}.hub-analysis-needs .hub-needs{list-style:none;padding:0;margin:0}.hub-need-row{border-bottom:1px solid var(--hub-line)}.hub-need-row:last-child{border-bottom:0}.hub-needs .hub-need-row{padding:10px 0}.hub-need-row>small{font-size:11px;margin-bottom:4px}.hub-need-row>b{display:block;font-size:14px;line-height:1.45;overflow-wrap:anywhere}.hub-need-row>p{margin:5px 0 0;font-size:12px;color:var(--hub-muted);line-height:1.5}.hub-need-row .link{font-size:13px;min-height:36px;padding:5px 0 0}.hub-fold{border-top:1px solid var(--hub-line);margin-top:12px;padding-top:4px}.hub-fold>summary{cursor:pointer;min-height:44px;padding:11px 0;line-height:1.5;font-size:13px;color:var(--hub-blue)}.hub-proposal-group{margin:12px 0 16px}.hub-proposal-group-heading{padding-bottom:7px}.hub-proposal-group-heading h3{font-size:14px}.hub-proposal{margin:0;border-bottom:1px solid var(--hub-line)}.hub-proposal-open{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:0;border-radius:0;background:transparent;color:inherit;text-align:left;padding:12px 0}.hub-proposal-main{display:grid;gap:4px;min-width:0}.hub-proposal-main>b{font-size:15px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hub-proposal-scope{font-size:12px;color:var(--hub-blue);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-proposal-reason{font-size:12px;color:var(--hub-muted);line-height:1.45;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.hub-proposal-main small{font-size:11px;line-height:1.4}.hub-proposal-arrow{color:var(--hub-blue);flex-shrink:0}.hub-proposals{scroll-margin-top:12px}.hub-analysis-needs{scroll-margin-top:12px}.hub-proposals h2:focus,.hub-analysis-needs h2:focus{outline:0}.hub-proposals .hub-section-heading{margin-top:12px}.hub-direction-head .hub-direction-reason{font-size:12px;color:var(--hub-blue);line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.hub-direction-body .hub-attention-bar{margin-top:8px}.hub-model-object{color:inherit}.hub-model-object small{color:var(--hub-muted,#b5c1d2)}
html[data-theme=light] .hub-attention-bar button,html[data-theme=light] .hub-proposal-open{background:transparent}html[data-theme=light] .hub-proposal-open{color:inherit}
@media (max-width:380px){.hub-attention-bar{gap:3px}.hub-attention-bar button{font-size:12px;padding:8px 2px}.hub-proposal-main>b{font-size:14px}.hub-analysis-needs{padding:10px 12px}.hub-analysis-needs h2{font-size:15px}.hub-tab-count{position:absolute;right:3px;top:1px}}
.hub-project-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 18px;padding-bottom:14px;border-bottom:1px solid #465264}.hub-project-actions>button{flex:1;min-width:140px;min-height:44px}.hub-project-actions>.link{flex-basis:100%;font-size:13px;text-align:left;padding-left:0}html[data-theme=light] .hub-project-actions{border-color:#d1dbe8}
.hub-stage{border-left:3px solid #d6ac64;padding:9px 12px;margin:6px 0 12px;background:#ffffff05}.hub-stage>b,.hub-stage>small{display:block;line-height:1.5}.hub-stage>b{font-size:14px}.hub-stage>small{font-size:12px;margin-top:4px}.hub-stage .link{display:block;font-size:12px;min-height:36px;padding:5px 0;text-align:left}.hub-stage[data-stage=ready]{border-color:#83b69c}.hub-observation{padding:12px 0;border-bottom:1px solid var(--hub-line,#465264)}.hub-observation>b,.hub-observation>small{display:block;line-height:1.5}.hub-observation p{font-size:13px;line-height:1.55}.hub-observation .link{font-size:12px;overflow-wrap:anywhere}.hub-stage-note{border-left:3px solid #d6ac64;padding:12px;font-size:13px;line-height:1.6}form[data-baseline-form] fieldset{margin:14px 0;border:1px solid #465264;border-radius:10px;padding:12px}form[data-baseline-form] select{width:100%;min-height:96px}form[data-baseline-form] .hub-check{font-size:13px}html[data-theme=light] .hub-stage{background:#f4f0e7}html[data-theme=light] .hub-stage[data-stage=ready]{background:#edf5f0}html[data-theme=light] form[data-baseline-form] fieldset{border-color:#d1dbe8}
/* Training keeps the same bottom sheet and large touch targets as work forms. */
.training-detail .review-text{white-space:pre-wrap;overflow-wrap:anywhere}
.training-question-editor{margin:20px 0;padding:14px;border:1px solid var(--line,#48505e);border-radius:14px;min-width:0}
.training-question-editor legend{padding:0 8px;font-weight:600}
.training-option-editor{display:flex;align-items:center;gap:10px}.training-option-editor input[type=radio]{width:22px;min-width:22px;height:22px;margin:0}
.training-option-editor input:not([type=radio]){min-width:0;flex:1}
.training-question-editor blockquote{margin:12px 0;padding:8px 12px;border-left:3px solid #8495ae;font-size:.88em;overflow-wrap:anywhere}
.training-options,.training-people{border:0;padding:0;margin:18px 0;min-width:0}
.training-option{display:flex;align-items:center;gap:12px;min-height:56px;padding:12px 14px;margin:10px 0;border-radius:14px;background:var(--panel,#303641);border:1px solid var(--line,#626b7a);cursor:pointer}
.training-option:has(input:checked){border-color:#619aff;box-shadow:inset 3px 0 #619aff}.training-option input{width:22px;min-width:22px;height:22px;margin:0;accent-color:#619aff}.training-option span{overflow-wrap:anywhere}
.training-actions{display:flex;gap:10px;margin:20px 0}.training-actions button{flex:1;min-width:0;min-height:48px;white-space:normal}
.training-quiz progress{width:100%;height:7px;margin:16px 0;accent-color:#619aff}.training-quiz h2{line-height:1.4}
.training-confirm{align-items:flex-start;gap:10px}.training-confirm input{width:22px;min-width:22px;height:22px}
.training-attempt{padding:16px 0}.training-attempt summary{cursor:pointer}.training-attempt summary small{display:block;margin-top:6px;color:var(--muted,#aab3c4)}
.training-answer{margin:14px 0;padding:12px 14px;border-left:3px solid #e5aa49;background:var(--panel,#303641);border-radius:8px;overflow-wrap:anywhere}.training-answer.is-correct{border-color:#50b98b}
.training-library-card{display:flex;flex-direction:column;text-align:left;gap:8px;margin:12px 0;padding:16px}
[data-theme=light] .training-option,[data-theme=light] .training-answer{background:#f2f5fa;color:#192535}
.training-detail input,.training-detail textarea,.training-quiz input{font-size:16px}

/* Photo entry occupies a centered row across capture and attachment forms. */
.capture-tools{grid-template-columns:minmax(0,1fr);justify-items:center}
.capture-tools>button{width:min(240px,100%)}
.photo-actions{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:10px}
.photo-actions>.photo-action{grid-column:1/-1;justify-self:center;width:min(240px,100%);min-width:0;min-height:56px;display:flex;align-items:center;justify-content:center;gap:9px;margin:0}
.photo-actions>button:not(.photo-action){grid-column:1/-1;justify-self:center;width:min(240px,100%);min-width:0}
button[data-command="pick-profile-photo"]{align-self:center;margin-inline:auto}
/* Stable identity bar for every role. It stays in normal flow and never covers work. */
html{scroll-padding-top:calc(var(--app-header-height,104px) + 12px)}
.top,.top.header-inline-role{position:sticky;top:0;z-index:20;isolation:isolate;padding-top:calc(7px + env(safe-area-inset-top,0px));height:calc(104px + env(safe-area-inset-top,0px));flex-shrink:0}
@media (min-width:761px) and (orientation:landscape),(min-width:761px) and (pointer:fine),(min-width:761px) and (pointer:none){.nav{top:var(--app-header-height,104px)}.layout{min-height:calc(100dvh - var(--app-header-height,104px))}}
.chief-dashboard{max-width:1120px;margin:auto}.chief-scope{margin:16px 0}.chief-scope select{font-weight:600}
.chief-object-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.chief-object{border:1px solid #48515e;border-top:3px solid #7c8797;background:#292f39;border-radius:16px;overflow:hidden;min-width:0}
.chief-object-title{display:flex;justify-content:space-between;align-items:center;gap:10px;width:100%;padding:16px;text-align:left;background:none;border:0;border-radius:0;min-height:80px}
.chief-object-title b{display:block;font-size:18px;overflow-wrap:anywhere}.chief-object-title small{display:flex;align-items:center;gap:6px;margin-top:6px;font-size:12px}.chief-object-title i{display:inline-block;width:7px;height:7px;border-radius:50%;background:#929ba9;flex-shrink:0}
.chief-tone-critical{border-top-color:#f34850}.chief-tone-critical .chief-object-title small{color:#ffaaa8}.chief-tone-critical i{background:#f34850}
.chief-tone-attention{border-top-color:#e5a54c}.chief-tone-attention .chief-object-title small{color:#f3c478}.chief-tone-attention i{background:#e5a54c}
.chief-tone-current{border-top-color:#80aaff}.chief-tone-current i{background:#80aaff}
.chief-object-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:0 8px;gap:3px}.chief-object-metrics button{border:0;background:none;border-radius:10px;padding:9px 3px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:5px;min-height:76px}.chief-object-metrics b{font-size:24px;font-weight:600}.chief-object-metrics span{font-size:11px;color:#bac4d3;line-height:1.35;overflow-wrap:anywhere}
.chief-last-report{display:block;margin:0;padding:12px 16px;font-size:12px;text-align:left;width:100%;white-space:normal}
.chief-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;border-bottom:1px solid #495365;margin-top:24px}.chief-tabs button{display:flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:0;background:none;padding:12px 6px;color:#b6bfcd}.chief-tabs button[aria-selected=true]{color:#99b5ff;border-bottom:3px solid #709aff;font-weight:600}.chief-tabs button[aria-selected=false]{border-bottom:3px solid transparent}
.chief-task-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}.chief-task-toolbar .chips{min-width:0;flex:1;margin-top:12px}.chief-task-toolbar .chips button{font-size:12px;padding:9px 10px}.chief-new-assignment{padding:10px;flex-shrink:0}.chief-new-assignment svg{display:block}
.chief-ai-entry{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#303b50;border:0;border-radius:16px;padding:16px;margin:22px 0 12px}.chief-ai-entry>span:nth-child(2){flex:1;min-width:0}.chief-ai-entry small{display:block;margin-top:3px}.chief-ai-symbol{color:#b3a6ff}.chief-secondary{display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between}.chief-secondary button{padding:8px 0;font-size:12px}.chief-empty-structure{padding:0 4px}
@media (min-width:1200px){.chief-object-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:600px){.chief-object-grid{grid-template-columns:1fr}.chief-dashboard h1{font-size:27px}.chief-tabs button{font-size:14px}.chief-task-toolbar .chips button{font-size:11px;padding:9px 8px}.chief-secondary{gap:4px}}
html[data-theme=light] .chief-object{background:#fff;border-color:#c9d3e1;border-top-color:#8b95a4}html[data-theme=light] .chief-object-title,html[data-theme=light] .chief-object-metrics button{background:none}html[data-theme=light] .chief-tone-critical{border-top-color:#d92331}html[data-theme=light] .chief-tone-critical .chief-object-title small{color:#ad1825}html[data-theme=light] .chief-tone-attention{border-top-color:#b77719}html[data-theme=light] .chief-tone-attention .chief-object-title small{color:#81500b}html[data-theme=light] .chief-tone-current{border-top-color:#486fc9}html[data-theme=light] .chief-object-metrics span{color:#526279}html[data-theme=light] .chief-tabs{border-color:#c4cede}html[data-theme=light] .chief-tabs button{background:none;color:#526279}html[data-theme=light] .chief-tabs button[aria-selected=true]{color:#264fa6;border-bottom-color:#436be4}html[data-theme=light] .chief-ai-entry{background:#e4eaf9;color:#273b63}html[data-theme=light] .chief-ai-symbol{color:#6754ab}
.chief-objects-heading{margin-top:16px}.chief-objects-heading h2{font-size:18px;margin:0}.chief-objects-heading button{font-size:13px}.chief-objects-heading+.chief-object-grid{margin-top:12px}
@media (min-width:360px) and (max-width:600px){.chief-object-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chief-object-title{padding:12px 10px;min-height:94px;align-items:flex-start}.chief-object-title b{font-size:14px;line-height:1.35}.chief-object-title small{font-size:10px;line-height:1.35;align-items:flex-start}.chief-object-title i{margin-top:4px}.chief-object-metrics{padding:0 3px;gap:0}.chief-object-metrics button{min-height:76px;padding:6px 1px;gap:3px}.chief-object-metrics b{font-size:20px}.chief-object-metrics span{font-size:10px}.chief-last-report{padding:8px 10px;font-size:10px;line-height:1.4}}
@media (max-width:760px),(pointer:coarse) and (orientation:portrait){.chief-ai-entry{position:sticky;bottom:calc(108px + env(safe-area-inset-bottom));z-index:4;box-shadow:0 3px 14px #10141d40}}
.simulation-banner{display:flex;align-items:center;gap:10px;width:100%;text-align:left;background:#28364d;border:0;border-radius:12px;padding:12px;margin:0 0 16px}.simulation-banner>span:nth-child(2){flex:1;min-width:0}.simulation-banner b{display:block;font-size:14px}.simulation-banner small{display:block;font-size:11px;margin-top:3px}.simulation-indicator{width:9px;height:9px;border-radius:50%;background:#aab3c3;flex-shrink:0}.simulation-indicator.is-active{background:#82b1ff}.simulation-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.simulation-stats>div{text-align:center;padding:12px 4px;border-radius:12px;background:#303b50}.simulation-stats b{display:block;font-size:24px}.simulation-stats small{display:block;font-size:11px}.simulation-panel progress{width:100%;accent-color:#709aff}.simulation-finding{margin:14px 0;padding:14px;border:1px solid #56627a;border-radius:12px}.simulation-finding summary{cursor:pointer;font-weight:600}.simulation-finding summary small{display:block;margin:6px 0 14px;font-weight:400}.simulation-finding blockquote{margin:14px 0;padding:8px 12px;border-left:3px solid #8499c2;white-space:pre-wrap;overflow-wrap:anywhere}.simulation-finding blockquote small{display:block}.simulation-actions{display:flex;gap:8px;flex-wrap:wrap}.simulation-actions button{font-size:12px}.simulation-log{padding:12px 0;border-bottom:1px solid #48515f}.simulation-log button{padding:0;min-height:32px;text-align:left}.simulation-record-mark{color:#bdaaff;font-size:11px;display:inline-block;margin:0 0 5px}.simulation-position{margin:8px 0;color:#b8c7e2;font-size:13px}html[data-theme=light] .simulation-banner,html[data-theme=light] .simulation-stats>div{background:#e5ebf8;color:#273b63}html[data-theme=light] .simulation-record-mark{color:#694a95}html[data-theme=light] .simulation-position{color:#485d79}
/* Location-first mobile workspace. Counters are independent of assignments. */
.cp-home,.cp-team{min-width:0}.cp-shiftbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:2px 0 14px}.cp-shiftbar time{font-size:16px;font-weight:650;white-space:nowrap}.cp-shiftbar .segments{display:flex;min-width:0}.cp-shiftbar .segments button{min-height:44px;padding:8px 10px;font-size:14px;white-space:nowrap}.cp-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line,#465264);margin:0 0 12px}.cp-tabs button{background:transparent;border:0;border-radius:0;min-height:48px;padding:10px 4px;position:relative;color:var(--muted,#b5c1d2);font-size:17px;font-weight:650}.cp-tabs [aria-selected=true]{color:var(--text,#f3f5f8);box-shadow:inset 0 -3px #6485ff}.cp-task-count{display:inline-grid;place-items:center;background:#f28c28;color:#14171d;border-radius:50%;min-width:21px;height:21px;font-size:12px;margin-left:7px}.cp-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0}.cp-heading h1,.cp-heading h2{font-size:20px;margin:0}.cp-heading button{background:none;border:0;box-shadow:none;width:44px;height:44px;display:grid;place-items:center;padding:10px}.cp-heading button.link{width:auto;font-size:14px}.cp-heading svg{width:24px;height:24px}.cp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:10px;row-gap:12px}.cp-tile{border:0;background:none;box-shadow:none;padding:16px 2px 8px;min-height:112px;min-width:0;color:#767f8d;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;position:relative;border-radius:10px}.cp-tile:hover{background:#ffffff05}.cp-tile.cp-assigned{color:#d5d9df}.cp-glyph{position:relative;display:block;width:58px;height:58px;margin-bottom:8px}.cp-glyph>svg{width:100%;height:100%;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;fill:none}.cp-label{font-size:14px;line-height:1.23;color:var(--text,#f3f5f8);text-align:center;overflow-wrap:anywhere;font-weight:550}.cp-count{position:absolute;right:-15px;top:-14px;min-width:25px;height:25px;padding:0 5px;display:grid;place-items:center;border-radius:50%;font-size:14px;font-weight:750;box-shadow:0 0 0 3px var(--panel,#20242b)}.cp-working{background:#ffc52e;color:#17191e}.cp-review{background:#f28c28;color:#17191e}.cp-done{background:#21ad51;color:white}.cp-incident{background:#f33942;color:white}.cp-partial{font-size:10px;color:var(--muted,#b5c1d2);margin-top:2px}.cp-legend{display:flex;align-items:center;justify-content:space-between;gap:4px;margin:18px 0 8px;font-size:10px;white-space:nowrap}.cp-legend>span{display:flex;align-items:center;gap:4px}.cp-legend i{display:inline-block;width:11px;height:3px;border-radius:2px;flex-shrink:0}.cp-group-panel{position:fixed;left:0;right:0;bottom:calc(88px + env(safe-area-inset-bottom));top:230px;z-index:9;background:#282e37;border-radius:20px 20px 0 0;box-shadow:0 -8px 25px #0003;display:flex;flex-direction:column;padding:0 16px;animation:cp-rise 220ms ease-out}.cp-group-panel>.cp-heading{flex-shrink:0}.cp-group-content{overflow:auto;overscroll-behavior:contain;padding:8px 0 18px}.cp-group-grip{height:18px;display:grid;place-items:center;touch-action:none;flex-shrink:0}.cp-group-grip span{width:38px;height:4px;border-radius:8px;background:#858e9d}.cp-group-panel .cp-tile{min-height:112px}.cp-attendance{margin:8px 0;font-size:12px;color:var(--muted,#b5c1d2)}.cp-attendance button{width:100%;min-height:44px;background:#303b50;border:0;color:#d5dfff}.cp-nav-orange{color:#f28c28!important}.cp-team-toolbar{display:flex;gap:8px;align-items:center;justify-content:space-between}.cp-team-toolbar .cp-shiftbar{margin:0;flex:1}.cp-team-toolbar .cp-shiftbar time{display:none}.cp-team-toolbar>button{min-height:44px;padding:6px 10px;font-size:13px}.cp-person-row{display:flex;align-items:center;justify-content:space-between;gap:8px;border-bottom:1px solid #465264;padding:8px 0}.cp-person-row .cp-person{background:none;border:0;text-align:left;flex:1;min-width:0;padding:8px 0}.cp-person small{display:block;font-size:12px;line-height:1.4;color:var(--muted,#b5c1d2);margin-top:4px}.cp-person b{font-size:16px}.cp-person-row>.link{min-height:44px;padding:8px;font-size:14px;flex-shrink:0}.cp-roster-section{margin:12px 0;border:0}.cp-roster-section>summary,.cp-pick-group>summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:650}.cp-roster-person{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(65px,.7fr) minmax(0,1fr);gap:8px;align-items:center;border-top:1px solid #465264;padding:10px 0}.cp-roster-person small{display:block;font-size:11px;color:var(--muted,#b5c1d2);margin-bottom:3px}.cp-roster-person b{font-size:14px}.cp-roster-person select{padding:7px 4px;font-size:12px;min-width:0;min-height:44px}.cp-roster-places{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px;min-height:44px;font-size:11px;background:none;border:0;padding:4px}.cp-roster-places svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.4}.cp-roster-places span{width:100%}.cp-pick-row{display:flex;align-items:center;gap:12px;min-height:50px;border-bottom:1px solid #465264;padding:8px 0}.cp-pick-row svg{width:28px;height:28px;stroke:currentColor;fill:none;stroke-width:1.4;flex-shrink:0}.cp-pick-row span{flex:1}.cp-pick-row input{width:22px;height:22px}.cp-sticky-save{position:sticky;bottom:0;margin-top:14px}.cp-setting-row{display:grid;grid-template-columns:24px minmax(0,1fr) 52px;gap:8px;align-items:center;margin:8px 0}.cp-setting-row input{min-width:0;font-size:12px;padding:8px 4px}.cp-setting-row input[type=checkbox]{width:22px;height:22px}.cp-place-tabs{display:flex;gap:4px;justify-content:space-between;margin:12px 0}.cp-place-tabs button{flex:1;min-width:0;padding:10px 4px;font-size:12px}.cp-place-tabs [aria-pressed=true]{background:#4d6de0;color:white}.cp-responsibles{font-size:13px}.cp-capture-place select{max-width:100%}.cp-home .work-status{margin-top:15px}
html[data-theme=light] .cp-tile{color:#9098a5}html[data-theme=light] .cp-tile.cp-assigned{color:#374152}html[data-theme=light] .cp-group-panel{background:#f2f4f8}html[data-theme=light] .cp-count{box-shadow:0 0 0 3px #f2f4f8}html[data-theme=light] .cp-label{color:#202b3a}.cp-roster-person .cp-roster-places:focus-visible,.cp-tile:focus-visible{outline:2px solid #6485ff;outline-offset:2px}
@keyframes cp-rise{from{transform:translateY(65%);opacity:.5}to{transform:translateY(0);opacity:1}}
@media (min-width:761px) and (orientation:landscape),(min-width:761px) and (pointer:fine),(min-width:761px) and (pointer:none){.cp-home,.cp-team{max-width:900px;margin:auto}.cp-grid{gap:24px}.cp-tile{min-height:145px}.cp-glyph{width:72px;height:72px}.cp-label{font-size:16px}.cp-legend{font-size:13px}.cp-group-panel{left:calc(50% - 390px);right:auto;width:780px;bottom:24px;border-radius:20px;padding:0 24px}.cp-shiftbar{margin-top:12px}.cp-group-panel .cp-tile{min-height:145px}}
@media (max-width:360px){.cp-shiftbar time{font-size:13px}.cp-shiftbar .segments button{font-size:12px;padding:8px 6px}.cp-grid{gap:9px 6px}.cp-tile{min-height:105px}.cp-glyph{width:48px;height:48px}.cp-label{font-size:12px}.cp-legend{font-size:8px;gap:2px}.cp-legend>span{gap:3px}.cp-legend i{width:8px}.cp-heading h1,.cp-heading h2{font-size:18px}.cp-group-panel{padding:0 10px}.cp-count{font-size:12px;min-width:23px;height:23px;right:-12px}.cp-team-toolbar{gap:5px}.cp-team-toolbar>button{font-size:11px;padding:6px}.cp-tabs button{font-size:15px}}
@media (prefers-reduced-motion:reduce){.cp-group-panel{animation:none}}
.nav [data-nav=reports] .nav-count{color:#f28c28}.nav [data-nav=work] .nav-count.cp-nav-orange{color:#f28c28}.cp-period-reports>summary{min-height:44px;padding:12px 0;cursor:pointer}.cp-period-reports .row h1{font-size:18px}
html[data-theme=light] .cp-tabs [aria-selected=true]{color:#202b3a}html[data-theme=light] .cp-tile{background:transparent;border:0}html[data-theme=light] .cp-tile:hover{background:#30406008}html[data-theme=light] .cp-person{background:none;color:#202b3a}.cp-home .cp-legend{padding-bottom:6px}

/* Mobile control workspace: shared header and nine-place views. */
.cp-mobile-settings,.cp-presence{display:none}
@media (max-width:760px),(pointer:coarse) and (orientation:portrait){
 .top.header-inline-role.cp-header{grid-template-columns:90px minmax(0,1fr) 30px 56px;grid-template-rows:64px minmax(0,1fr);grid-template-areas:"brand presence tools identity" "identityline identityline identityline identityline";column-gap:5px;padding-left:12px;padding-right:12px}
 .cp-header>.brand{width:90px}
 .cp-header .header-tools{position:static;grid-area:tools;transform:none;width:30px;height:64px;align-self:center;justify-content:center}
 .cp-header .header-tools .header-theme{width:30px;flex-basis:30px;min-width:30px;padding:4px}
 .cp-header .header-tools .header-theme svg{width:23px;height:23px}
 .cp-header .header-user{height:64px;align-items:center;align-self:center}
 .cp-header .header-user .profile{min-height:56px;max-width:56px;flex-basis:56px}
 .cp-header .header-user .header-avatar{width:56px;height:56px}
 .cp-header .header-user .header-edit{top:39px}
 .cp-header .header-job{font-size:11px}
 .cp-header .header-full-name{font-size:13px}
 .cp-presence{grid-area:presence;display:flex;align-items:center;align-self:center;background:#303640;border:1px solid #566170;border-radius:20px;padding:2px;gap:0;min-width:0}
 .cp-presence button{flex:1;min-width:0;min-height:30px;padding:4px 3px;border:0;border-radius:18px;background:none;font-size:11px;line-height:1.2;white-space:nowrap;color:#c1c9d4}
 .cp-presence [aria-pressed=true]{background:#414b59;color:#fff}
 .cp-presence [data-cp-presence=working][aria-pressed=true]{background:#264a36;color:#88e4a5}
 .cp-presence button:disabled{opacity:.7;cursor:default}
 .workspace:has(>.cp-manager-home){height:calc(100dvh - 104px - env(safe-area-inset-top));min-height:440px;padding:4px 12px calc(106px + env(safe-area-inset-bottom));display:flex;flex-direction:column}
 .workspace:has(>.cp-manager-home) #sync-warning{margin:0 0 4px;flex-shrink:0}
 .cp-manager-home{flex:1;min-height:0;display:flex;flex-direction:column}
 .cp-manager-home>.cp-shiftbar{margin:0 0 2px;min-height:40px;flex-shrink:0}
 .cp-manager-home>.cp-shiftbar time{font-size:17px;line-height:24px}
 .cp-shiftbar .segments{padding:0;border:0;gap:0;background:#303640;overflow:visible;border-radius:9px}
 .cp-shiftbar .segments button{position:relative;min-height:24px;height:24px;padding:2px 9px;border-radius:9px;font-size:13px;line-height:20px}
 .cp-shiftbar .segments button:before{content:"";position:absolute;inset:-10px 0}
 .cp-manager-home>.cp-tabs{margin:0 0 2px;grid-template-columns:1fr 1fr auto;flex-shrink:0}
 .cp-manager-home>.cp-tabs button{min-height:44px;padding:6px 4px}
 .cp-manager-home>.cp-tabs .cp-mobile-settings{display:grid;place-items:center;width:44px;min-width:44px;color:inherit}
 .cp-manager-home>.cp-heading{display:none}
 .cp-manager-home>.cp-grid{flex:1;min-height:0;grid-template-rows:repeat(3,minmax(0,1fr));gap:0 8px}
 .cp-manager-home>.cp-grid>.cp-tile{min-height:0;padding:12px 2px 10px;justify-content:flex-end}
 .cp-manager-home>.cp-grid .cp-glyph{width:clamp(34px,7dvh,64px);height:clamp(34px,7dvh,64px);margin-bottom:6px;flex-shrink:0}
 .cp-manager-home>.cp-grid .cp-label{font-size:14px;line-height:1.2;min-height:34px;display:grid;align-content:end}
 .cp-manager-home>.cp-grid [data-cp-group=utilities] .cp-label{font-size:12px;letter-spacing:-.25px}
 .cp-manager-home .cp-count{top:-10px;right:-10px;min-width:22px;height:22px;font-size:12px}
 .cp-legend,.cp-manager-home>.cp-legend,.cp-group-panel .cp-legend{flex-shrink:0;margin:4px 0 0;padding:0;border:0;font-size:clamp(9px,2.85vw,12px);line-height:18px;gap:4px}
 .cp-legend>span{gap:4px}
 .cp-legend i{width:8px;height:8px;border-radius:2px}
 .cp-group-panel{bottom:calc(96px + env(safe-area-inset-bottom));padding:0 12px}
 .cp-group-panel>.cp-heading{margin:0}
 .cp-group-panel .cp-group-content{padding:0 0 10px;flex:1;min-height:0;display:flex;flex-direction:column}
 .cp-group-panel .cp-grid{flex:1;min-height:0;grid-template-rows:repeat(3,minmax(0,1fr));gap:0 8px}
 .cp-group-panel .cp-tile{min-height:0;padding:10px 2px 8px;justify-content:flex-end}
 .cp-group-panel .cp-glyph{width:clamp(30px,6dvh,58px);height:clamp(30px,6dvh,58px);margin-bottom:5px;flex-shrink:0}
 .cp-group-panel .cp-label{font-size:12px;line-height:1.2;min-height:29px;display:flex;flex-direction:column;justify-content:flex-end}
 html[data-theme=light] .cp-presence{background:#e2e8f0;border-color:#c4cdd8}
 html[data-theme=light] .cp-presence button{background:none;color:#435269}
 html[data-theme=light] .cp-presence [aria-pressed=true]{background:#d0d9e5;color:#25354c}
 html[data-theme=light] .cp-presence [data-cp-presence=working][aria-pressed=true]{background:#d4ecdf;color:#21623a}
}
@media (max-width:360px){
 .top.header-inline-role.cp-header{grid-template-columns:68px minmax(0,1fr) 26px 48px;column-gap:4px;padding-left:10px;padding-right:10px}
 .cp-header>.brand{width:68px}
 .cp-presence button{font-size:10px;padding:4px 2px}
 .cp-header .header-user .header-avatar{width:48px;height:48px}
 .cp-header .header-user .profile{max-width:48px;flex-basis:48px;min-height:48px}
 .cp-header .header-tools,.cp-header .header-tools .header-theme{width:26px;min-width:26px;flex-basis:26px}
 .cp-header .header-user .header-edit{top:35px}
 .cp-manager-home>.cp-grid .cp-label{font-size:12px;min-height:29px}
 .cp-manager-home>.cp-grid [data-cp-group=utilities] .cp-label{font-size:11px}
 .cp-manager-home>.cp-shiftbar time{font-size:15px}
 .cp-shiftbar .segments button{font-size:12px;padding:2px 7px}
 .cp-legend>span{gap:3px}.cp-legend i{width:7px;height:7px}
}
@media (max-width:760px) and (max-height:620px),(pointer:coarse) and (orientation:portrait) and (max-height:620px){
 .cp-manager-home>.cp-grid .cp-glyph{width:34px;height:34px;margin-bottom:4px}
 .cp-manager-home>.cp-grid>.cp-tile{padding-top:10px;padding-bottom:4px}
 .cp-group-panel .cp-grid{flex:none;min-height:240px;grid-auto-rows:minmax(80px,auto);grid-template-rows:repeat(3,minmax(80px,auto))}
 .cp-group-panel .cp-glyph{width:30px;height:30px}
}
/* Place setup is a category choice, then a simple typed list. */
.cp-settings-categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px -8px 12px}
.cp-settings-categories button{display:flex;align-items:center;justify-content:space-between;gap:3px;min-width:0;min-height:56px;padding:8px 6px;background:#363d48;border:0;font-size:15px;font-weight:400;border-radius:10px}
.cp-settings-categories button>span:first-child{white-space:nowrap;min-width:0}.cp-settings-categories button>span:last-child{font-size:19px;color:#b8c3d5}
.cp-settings-categories [data-cp-settings-group=utilities]{font-size:clamp(9.5px,2.7vw,11px);letter-spacing:-.15px}.cp-settings-categories [data-cp-settings-group=processing]{font-size:clamp(11px,3.35vw,13.5px)}
.cp-settings-categories button:active{background:#485467}
.cp-settings-place{display:grid;grid-template-columns:minmax(0,1fr) 50px;gap:8px;align-items:center;border-bottom:1px solid #465264}
.cp-settings-open{display:flex;align-items:center;gap:12px;min-width:0;min-height:62px;background:none;border:0;border-radius:0;padding:10px 0;text-align:left}
.cp-settings-open>svg{width:30px;height:30px;stroke-width:1.4;flex-shrink:0}.cp-settings-open>span:nth-child(2){flex:1;min-width:0;font-size:16px;line-height:1.3;overflow-wrap:anywhere}.cp-settings-open>span:last-child{color:#b8c3d5;font-size:21px}
.cp-visibility{position:relative;display:flex;align-items:center;justify-content:center;min-height:48px;margin:0;cursor:pointer}.cp-visibility input{position:absolute;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}.cp-visibility .switch-track{pointer-events:none}.cp-visibility input:checked+.switch-track{background:#527cff}.cp-visibility input:checked+.switch-track:before{transform:translateX(17px)}.cp-visibility input:focus-visible+.switch-track{outline:2px solid #9db7ff;outline-offset:3px}.cp-visibility input:disabled+.switch-track{opacity:.5}
.cp-add-place{position:sticky;bottom:0;margin:16px 0 0;min-height:48px;background:#363d48;border:0}
.cp-type-select{display:flex;align-items:center;gap:12px}.cp-type-select>span{display:grid;place-items:center;width:44px;flex-shrink:0}.cp-type-select svg{width:34px;height:34px;stroke-width:1.4}.cp-type-select select{min-width:0;flex:1}
html.cp-group-open,html.cp-group-open body{overflow:hidden;overscroll-behavior:none}.cp-group-panel{overscroll-behavior:none}.cp-group-grip,.cp-group-panel>.cp-heading{touch-action:none}
.cp-group-content>.cp-expanded-grid{flex:none;grid-template-rows:none;grid-auto-rows:minmax(110px,auto)}
html[data-theme=light] .cp-settings-categories button,html[data-theme=light] .cp-add-place{background:#e2e8f0;color:#25354c}html[data-theme=light] .cp-settings-open{background:none;color:#25354c}html[data-theme=light] .cp-settings-place{border-color:#c4cdd8}
@media (max-width:360px){.cp-settings-categories{gap:4px;margin-left:-10px;margin-right:-10px}.cp-settings-categories button{padding:6px 3px;font-size:13px}.cp-settings-categories [data-cp-settings-group=utilities]{font-size:clamp(9.5px,2.7vw,11px);letter-spacing:-.3px}.cp-settings-categories [data-cp-settings-group=processing]{font-size:clamp(11px,3.35vw,13.5px)}.cp-settings-categories button>span:last-child{font-size:15px}}
/* The places editor belongs to the Object tab. */
.cp-home>.cp-tabs{grid-template-columns:1fr 1fr}.cp-object-tab{display:flex;align-items:center;justify-content:center;gap:2px;min-width:0}.cp-object-tab:has([aria-selected=true]){box-shadow:inset 0 -3px #6485ff}.cp-object-tab>[data-cp-tab]{flex:0 1 auto;min-width:0}.cp-object-tab>[data-cp-tab][aria-selected=true]{box-shadow:none}.cp-object-tab>.cp-mobile-settings,.cp-manager-home>.cp-tabs .cp-object-tab>.cp-mobile-settings{display:grid;place-items:center;width:36px;min-width:36px;min-height:44px;padding:6px 4px;color:inherit}.cp-object-tab>.cp-mobile-settings svg{width:21px;height:21px}
@media (max-width:760px),(pointer:coarse) and (orientation:portrait){.cp-manager-home>.cp-tabs{grid-template-columns:1fr 1fr}.cp-object-tab>[data-cp-tab]{font-size:17px}}
/* Shared operational colors: viewed incidents stay red until closed. */
.tone-incident,[data-status-tone=incident]>h1,[data-status-tone=incident]>.row h3,[data-status-tone=incident] .review-result>h2{color:#ff6670!important}.tone-working{color:#ffd05c!important}.tone-review{color:#ffad5a!important}.tone-done{color:#66d98b!important}.tone-neutral{color:#9da8b8!important}
html .pill.status-incident,html .pill.status-incident-new{background:#ee3546;color:white}html .pill.status-working{background:#ffcf4c;color:#28200b}html .pill.status-review{background:#f49b39;color:#281b0d}html .pill.status-complete{background:#205c3c;color:#a1f0bc}
html[data-theme=light] .tone-incident,html[data-theme=light] [data-status-tone=incident]>h1,html[data-theme=light] [data-status-tone=incident]>.row h3{color:#bb1728!important}html[data-theme=light] .tone-working{color:#855b00!important}html[data-theme=light] .tone-review{color:#a44d00!important}html[data-theme=light] .tone-done{color:#21713e!important}
.object-status-numbers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px 10px 12px}.object-status-item{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:6px 2px;border:0;background:transparent!important;line-height:1.2}.object-status-item b{font-size:22px;font-weight:650}.object-status-item span{font-size:10px;text-align:center;white-space:normal}.object-status-item:active{background:#ffffff09!important}
.hub-object[data-tone=urgent]:after{background:#ee3546}.hub-object[data-tone=urgent] .hub-object-head b,.hub-object[data-tone=urgent] .hub-object-reason{color:#ff6670}.hub-object[data-tone=attention]:after{background:#f49b39}.hub-object[data-tone=normal]:after{background:#40b86a}
.chief-tone-critical .chief-object-title b,.chief-tone-critical .chief-object-metrics button:first-child b{color:#ff6670}.chief-object-metrics [data-chief-late] b{color:#ff6670}.chief-object-metrics [data-chief-approvals] b{color:#ffad5a}
.cp-place-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.cp-place-tabs .cp-status-tab{display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:flex-start;border:0;background:transparent;min-height:68px;padding:8px 2px;white-space:normal}.cp-status-tab b{font-size:22px}.cp-status-tab span{font-size:10px;line-height:1.2}.cp-place-tabs .cp-status-tab[aria-pressed=true]{background:#ffffff0c;box-shadow:inset 0 -2px currentColor}
html[data-theme=light] .hub-object[data-tone=urgent] .hub-object-head b,html[data-theme=light] .hub-object[data-tone=urgent] .hub-object-reason,html[data-theme=light] .chief-tone-critical .chief-object-title b{color:#bb1728}
.chief-object-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}html .pill.status-overdue{background:#ee3546;color:white}
[data-status-tone=incident] .review-code>summary{color:#ff6670}html[data-theme=light] [data-status-tone=incident] .review-code>summary{color:#bb1728}
html[data-theme=light] [data-status-tone=incident] .review-result>h2,html[data-theme=light] .chief-object-metrics [data-chief-late] b{color:#bb1728}html[data-theme=light] .chief-object-metrics [data-chief-approvals] b{color:#a44d00}

/* v49: compact watch roster with per-person assignment, shared with the home pencil. */
.cp-pencil{display:inline-flex;align-items:center;justify-content:center;width:44px;min-height:44px;padding:8px;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#c0c7d1}.cp-pencil svg{width:25px;height:25px;stroke-width:1.7}
.cp-team-period{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px}.cp-team-period h1{margin:0;font-size:18px;letter-spacing:0;line-height:1.3;color:#c0c7d1}
.cp-team-tabs{display:grid;grid-template-columns:1fr 1fr;margin:8px 0 0;border-bottom:1px solid #48515d}.cp-team-tabs button{border:0;border-radius:0;background:transparent;min-height:48px;padding:10px 4px;color:#b0b9c7;font-size:17px;font-weight:600}.cp-team-tabs button[aria-selected=true]{color:#d1d6e0;box-shadow:inset 0 -3px #6684ff}
.cp-team-summary{font-size:12px;color:#b0b9c7;margin:12px 0;line-height:1.5}.cp-team-employee{padding:14px 0;border-bottom:1px solid #414a56}.cp-employee-heading{display:flex;align-items:baseline;gap:7px;margin:0 0 10px;min-width:0}.cp-employee-heading>b{font-size:16px;color:#c0c7d1;overflow-wrap:anywhere}.cp-employee-heading>small{margin-left:auto;text-align:right;font-size:12px;flex:0 1 40%;line-height:1.3}
.cp-employee-count{border:0;background:transparent!important;box-shadow:none;min-height:32px;min-width:32px;padding:2px;font-weight:700;font-size:17px;flex-shrink:0}
.cp-employee-controls{display:grid;grid-template-columns:128px minmax(0,1fr);gap:10px;align-items:start}.cp-employee-shift{display:grid;grid-template-columns:1fr 1fr;border:1px solid #505966;border-radius:10px;overflow:hidden}.cp-employee-shift button{border:0;border-radius:0;background:transparent;min-height:44px;padding:7px 5px;font-size:14px}.cp-employee-shift button[aria-pressed=true]{background:#5477ff;color:#fff}.cp-employee-places{display:flex;align-items:center;justify-content:space-between;gap:6px;min-width:0;min-height:46px;padding:9px 11px;border:0;background:#303640;font-size:14px;text-align:left;color:#c0c7d1}.cp-employee-places>span:first-child{min-width:0;overflow-wrap:anywhere}.cp-employee-places>span:last-child{font-size:22px;line-height:1;flex-shrink:0}.cp-team-create{margin:16px 0 10px}
html[data-theme=light] .cp-team-period h1,html[data-theme=light] .cp-pencil,html[data-theme=light] .cp-employee-heading>b{color:#546276}html[data-theme=light] .cp-team-tabs button{background:transparent;color:#546276}html[data-theme=light] .cp-team-tabs button[aria-selected=true]{color:#315bbd}html[data-theme=light] .cp-employee-places{background:#e9edf3;color:#546276}html[data-theme=light] .cp-employee-shift button{background:transparent;color:#546276}html[data-theme=light] .cp-employee-shift button[aria-pressed=true]{background:#5477ff;color:#fff}html[data-theme=light] .cp-team-summary,html[data-theme=light] .cp-employee-heading small{color:#546276}html[data-theme=light] .cp-team-employee{border-bottom-color:#d1dbe8}
@media (max-width:360px){.cp-team-period h1{font-size:16px}.cp-employee-controls{grid-template-columns:116px minmax(0,1fr);gap:8px}.cp-employee-heading>b{font-size:15px}.cp-employee-heading>small{font-size:11px}.cp-team-tabs button{font-size:16px}}

.cp-object-tab>.cp-mobile-settings.cp-pencil,.cp-manager-home>.cp-tabs .cp-object-tab>.cp-mobile-settings.cp-pencil{width:44px;min-width:44px;padding:8px}.cp-object-tab>.cp-mobile-settings.cp-pencil svg{width:25px;height:25px;stroke-width:1.7}

/* v50: recipients on the current shift first; other shifts stay collapsed. */
.assignment-group-title{font-size:14px;font-weight:500;color:#b0b9c7;margin:12px 0 2px}.assignment-offshift{margin:14px 0 0;border-top:1px solid #454e5c}.assignment-offshift>summary{display:flex;align-items:center;gap:8px;min-height:48px;padding:10px 0;list-style:none;cursor:pointer;color:#c0c7d1}.assignment-offshift>summary::-webkit-details-marker{display:none}.assignment-offshift>summary small{margin-left:auto}.assignment-disclosure{font-size:24px;line-height:1;transition:transform .15s}.assignment-offshift[open] .assignment-disclosure{transform:rotate(90deg)}.assignment-offshift[hidden],[data-assignment-current][hidden],[data-assignment-no-results][hidden]{display:none!important}html[data-theme=light] .assignment-offshift{border-color:#c4cbd5}html[data-theme=light] .assignment-offshift>summary,html[data-theme=light] .assignment-group-title{color:#546276}

/* v51: visible native date/time fields and optional deadline for urgent assignments. */
.assignment-inline-deadline{margin:18px 0}.assignment-deadline-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:#c0c7d1}.assignment-deadline-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.assignment-deadline-shortcuts button{min-height:44px;font-size:12px;padding:8px 3px;border:0;background:#303640;color:#c0c7d1}.assignment-deadline-shortcuts button[aria-pressed=true]{background:#405680;color:#fff}.assignment-native-fields{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px}.assignment-native-fields label{min-width:0;margin-bottom:8px}.assignment-native-fields input{display:block;min-width:0;max-width:100%;width:100%;min-height:48px;font-size:16px;padding:10px;box-sizing:border-box;color-scheme:dark}.assignment-native-fields input::-webkit-date-and-time-value{text-align:left;min-height:24px}.assignment-deadline-summary p{font-size:13px;color:#b0b9c7;margin:2px 0;overflow-wrap:anywhere}.assignment-deadline-summary .link{padding:4px 0;min-height:36px;font-size:13px}.assignment-deadline-summary [hidden]{display:none!important}html[data-theme=light] .assignment-deadline-shortcuts button{background:#e9edf3;color:#546276}html[data-theme=light] .assignment-deadline-shortcuts button[aria-pressed=true]{background:#405680;color:#fff}html[data-theme=light] .assignment-deadline-heading,html[data-theme=light] .assignment-deadline-summary p{color:#546276}html[data-theme=light] .assignment-native-fields input{color-scheme:light}

/* v52: one stable row for date, time and urgency; native fields shrink within each column. */
.assignment-deadline-compact{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;align-items:end;gap:8px}.assignment-deadline-compact>label{min-width:0;margin:0;gap:5px;font-size:13px}.assignment-deadline-compact input[type=date],.assignment-deadline-compact input[type=time]{display:block;min-width:0;width:100%;max-width:100%;min-height:46px;padding:8px 5px;font-size:16px;box-sizing:border-box;color-scheme:dark}.assignment-deadline-compact input::-webkit-date-and-time-value{text-align:left;min-height:24px}.assignment-deadline-compact>.assignment-urgent{display:flex;align-items:center;align-self:end;min-height:46px;gap:5px;white-space:nowrap;font-size:13px}.assignment-inline-deadline>[data-assignment-deadline-summary]{font-size:12px;color:#b0b9c7;margin:8px 0 0}.assignment-deadline-compact .assignment-urgent input{width:20px;min-width:20px;height:20px;min-height:20px}
html[data-theme=light] .assignment-deadline-compact input[type=date],html[data-theme=light] .assignment-deadline-compact input[type=time]{color-scheme:light}html[data-theme=light] .assignment-inline-deadline>[data-assignment-deadline-summary]{color:#546276}
html[data-theme=light] .cp-home .cp-tabs,html[data-theme=light] .cp-home .cp-object-tab,html[data-theme=light] .cp-home .cp-tabs button{background:transparent!important;background-image:none!important}
@media (max-width:360px){.assignment-deadline-compact{gap:5px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) auto}.assignment-deadline-compact>.assignment-urgent{gap:3px;font-size:12px}.assignment-deadline-compact input[type=date],.assignment-deadline-compact input[type=time]{padding:8px 3px}}

/* v53: pin urgency to its right-hand column and reset generic input spacing. */
.assignment-deadline-compact{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) 78px}.assignment-deadline-compact>label:nth-child(1){grid-column:1;grid-row:1}.assignment-deadline-compact>label:nth-child(2){grid-column:2;grid-row:1}.assignment-deadline-compact>.assignment-urgent{grid-column:3;grid-row:1;justify-self:end;justify-content:flex-end;width:max-content;padding:0;margin:0;gap:6px}.assignment-deadline-compact .assignment-urgent input[type=checkbox]{flex:0 0 20px;width:20px;min-width:20px;max-width:20px;height:20px;min-height:20px;margin:0;padding:0;box-sizing:border-box}.assignment-deadline-compact>.assignment-urgent>span{display:block;line-height:20px}
.cp-watch-dates{width:calc(100% - 24px);max-width:320px;margin-inline:auto}.cp-watch-dates label{min-width:0}.cp-watch-dates input[type=date]{display:block;width:100%;min-width:0;max-width:100%;min-height:48px;text-align:center}.cp-watch-dates input::-webkit-date-and-time-value{text-align:center}
@media (max-width:360px){.assignment-deadline-compact{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) 72px}.assignment-deadline-compact>.assignment-urgent{gap:5px}}
/* Navigation returns use an unobstructed back arrow, consistently on every level. */
.sheethead>[data-close]{order:-1;margin-right:8px;margin-left:0;flex:none;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}
.sheethead>h2{flex:1;min-width:0}
.photo-toolbar>[data-photo-close]{order:-1;margin-right:auto}
.cp-heading>[data-cp-group-close],.ws-location-heading>[data-ws-sites]{order:-1;margin-right:8px;margin-left:0}
