.technician-mode .tech-task-list .tech-job-card{gap:7px;border-color:#dfe7f1;border-radius:14px;padding:18px;box-shadow:0 2px 6px #1c30500c}
.technician-mode .tech-job-head strong{color:#17213a;font-size:15px;font-weight:700}
.technician-mode .tech-job-head .priority{border-color:#cbdcff;border-radius:999px;background:#f1f6ff;color:#426bdf}
.technician-mode .tech-job-foot{margin-top:7px}
.technician-mode .tech-job-actions{gap:9px;margin-top:8px}
.technician-mode .tech-job-actions button{min-height:48px;border-radius:10px;background:#fff;font-size:12px;font-weight:600}
.technician-mode .tech-job-actions button.complete{border-color:#416cf2;background:#416cf2;color:#fff}
.technician-mode .tech-job-actions button:disabled{opacity:.55}
.tech-task-view{width:min(420px,calc(100vw - 20px));max-height:calc(100dvh - 20px);border-radius:16px;background:#fff}
.tech-task-view .tech-task-view-header{position:relative;display:flex;min-height:104px;align-items:flex-start;gap:10px;border:0;padding:22px 18px 8px}
.tech-task-view-header>div{min-width:0;flex:1}
.tech-task-view-header small{display:block;margin-bottom:3px;color:#8493b0;font-size:10px;font-weight:650}
.tech-task-view .tech-task-view-header h2{overflow-wrap:anywhere;color:#12223c;font-size:14px;font-weight:700;letter-spacing:0;line-height:1.2}
.tech-task-view>header .tech-task-close{display:grid;width:36px;height:36px;flex:none;place-items:center;border:0;border-radius:9px;background:transparent;color:#475569;font-size:23px;font-weight:400;line-height:1}
.tech-task-view>header .tech-task-close:hover{background:#f1f5f9;color:#1e293b}
.tech-task-view>header .tech-task-close:focus-visible{outline:2px solid #416cf2;outline-offset:2px}
.tech-task-handle{position:absolute;top:6px;left:50%;width:38px;height:4px;transform:translateX(-50%);border-radius:9px;background:#cad4e3}
.tech-task-view-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}
.tech-task-view-badges>span{display:inline-flex;align-items:center;gap:4px;border-radius:999px;padding:4px 8px;font-size:10px;font-weight:700}
.tech-task-view-badges svg{width:11px;height:11px;fill:none;stroke:currentColor;stroke-width:2}
.tech-task-view-badges .type{background:#eaf2ff;color:#3475ea}
.tech-task-view-badges .status{background:#f0eaff;color:#8158d9}
.tech-task-view-badges .status.completed{background:#e5f7ed;color:#16845d}
.tech-task-view-badges .priority{background:#fff1ca;color:#a76910}
.tech-task-view .tech-job-detail{display:grid;gap:14px;overflow-y:auto;padding:6px 18px 14px}
.tech-customer-card{border:1px solid #e9edf4;border-radius:11px;background:#f9fbfe;padding:12px;box-shadow:0 2px 8px #142d4b08}
.tech-customer-card h3,.tech-task-section h3{display:flex;align-items:center;gap:7px;margin:0;color:#21314d;font-size:12px;font-weight:700}
.tech-customer-card h3 svg,.tech-task-section h3 svg{width:14px;height:14px;fill:none;stroke:#5e7395;stroke-width:1.8}
.tech-customer-card p{display:flex;align-items:flex-start;gap:8px;margin:7px 0 0;color:#435571;font-size:12px;line-height:1.4}
.tech-customer-card p svg{width:13px;height:13px;flex:none;fill:none;stroke:#657c9f;stroke-width:1.8}
.tech-customer-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}
.tech-customer-actions a{display:flex;min-height:35px;align-items:center;justify-content:center;gap:6px;border:1px solid #d7e3f6;border-radius:7px;background:#fff;color:#3468e3;font-size:12px;font-weight:700;text-decoration:none;box-shadow:0 1px 3px #142d4b0d}
.tech-customer-actions a[aria-disabled="true"]{color:#9faec7;pointer-events:none}
.tech-customer-actions svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8}
.tech-task-section{display:grid;gap:7px}
.tech-task-schedule{display:flex;justify-content:space-between;gap:7px;color:#526783;font-size:12px}
.tech-task-schedule span:last-child{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}
.tech-task-schedule svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.7}
.tech-task-section #tech-job-map,.tech-task-section>.tech-detail-map-unavailable{height:110px;overflow:hidden;border:1px solid #e4ebf2;border-radius:8px;background:#e6f0f3}
.tech-task-section>.tech-detail-map-unavailable{display:grid;place-items:center;margin:0;padding:12px;color:#71819a;text-align:center;font-size:12px}
.tech-task-description{margin:0;color:#526580;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.tech-task-view .tech-detail-photos{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tech-task-view .tech-detail-photos img{aspect-ratio:1;object-fit:cover}
.tech-task-view .tech-detail-more{font-size:11px}
.tech-task-view>.tech-detail-actions{display:flex;min-height:61px;flex:none;align-items:center;justify-content:flex-end;gap:8px;margin:0;border-top:1px solid #e8edf4;padding:10px 18px calc(10px + env(safe-area-inset-bottom))}
.tech-task-view>.tech-detail-actions button{min-height:39px;border-radius:8px;font-size:12px}
.tech-task-view>.tech-detail-actions .primary{background:#3d6bf1;color:#fff}
.tech-complete-modal{width:min(450px,calc(100vw - 20px));max-height:calc(100dvh - 20px);border-radius:16px}
.tech-complete-modal>header{padding:20px 24px}
.tech-complete-modal form{gap:12px;padding:20px 24px 24px}
.tech-complete-modal form>footer{position:sticky;bottom:0;background:#fff;padding-top:9px}
.task-location-picker{position:fixed;z-index:240;inset:0;background:#0e182b}
.task-location-panel{display:grid;width:100%;height:100dvh;grid-template-rows:auto minmax(0,1fr) auto auto;background:#fff}
.task-location-panel>header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 17px}
.task-location-panel h2{margin:0;color:#1d2b43;font-size:17px}
.task-location-panel p{margin:4px 0 0;color:#6b7a90;font-size:11px}
.task-location-panel>header button{display:grid;width:35px;height:35px;place-items:center;border:1px solid #dce4ef;border-radius:9px;background:#fff;color:#394a64;font-size:23px;cursor:pointer}
#task-location-picker-map{min-height:0;background:#233b42}
.task-location-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 17px}
.task-location-toolbar button{display:flex;min-height:38px;align-items:center;gap:6px;border:1px solid #d7e2f2;border-radius:9px;background:#fff;padding:0 11px;color:#356aec;font-size:12px;font-weight:700;cursor:pointer}
.task-location-toolbar svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8}
.task-location-toolbar span{color:#687991;font-size:11px;text-align:right}
.task-location-panel>footer{display:flex;justify-content:flex-end;gap:9px;border-top:1px solid #e8edf4;padding:12px 17px calc(12px + env(safe-area-inset-bottom))}
.task-location-panel>footer button{min-height:42px;border-radius:9px;padding:0 17px;font-size:12px;cursor:pointer}
.task-location-panel>footer button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:480px){.technician-mode .tech-task-list .tech-job-card{padding:17px 18px}.tech-task-view{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.tech-task-view .tech-job-detail{padding:6px 16px 12px}.tech-task-view>.tech-detail-actions{padding-left:16px;padding-right:16px}.task-location-toolbar{align-items:stretch;flex-direction:column}.task-location-toolbar span{text-align:left}}
@media(max-width:480px){.tech-task-view .tech-task-section #tech-job-map{height:170px}}
