
/* PURE STAFF MOBILE OPERATOR V2 — staff only, owner planner unaffected */
html{max-width:100%;overflow-x:clip}
body.jude-v1,body.mypureplanner-v1:not(.pure-owner-embedded){width:100%;max-width:100%;overflow-x:clip}
body.jude-v1 *,body.mypureplanner-v1:not(.pure-owner-embedded) *{box-sizing:border-box}
body.jude-v1 main,body.mypureplanner-v1:not(.pure-owner-embedded) main{min-width:0;max-width:100%;overflow-x:clip}
body.jude-v1 :is(#workspace,#staffWorkspace,#staffList,.staff-worklist,.jude-week,.pw-column-layout,.pw-week-board,.pw-seven-cols,.pw-day-col,.jude-day,.jude-state,.staff-card,.pure-v1-card),body.mypureplanner-v1:not(.pure-owner-embedded) :is(#workspace,#staffWorkspace,#staffList,.staff-worklist,.pw-week-board,.pw-seven-cols,.staff-card){min-width:0;max-width:100%}
body.jude-v1 .jude-week-times,body.jude-v1 .pw-week-total,body.jude-v1 .pw-staff-timer-overview,body.mypureplanner-v1:not(.pure-owner-embedded) .pw-staff-timer-overview{display:none!important}
body.jude-v1 .pure-v1-card.state-blue,body.mypureplanner-v1:not(.pure-owner-embedded) .pure-v1-card.state-blue{background:#f2f7fd!important;border-color:#c5d9ef!important;border-left:4px solid #2774b5!important}
body.jude-v1 .pure-v1-card.state-red,body.mypureplanner-v1:not(.pure-owner-embedded) .pure-v1-card.state-red{background:#fff3f2!important;border-color:#e9c4c1!important;border-left:4px solid #c44545!important}
body.jude-v1 .pure-v1-card.state-green,body.mypureplanner-v1:not(.pure-owner-embedded) .pure-v1-card.state-green{background:#f1fbf4!important;border-color:#c4e4ce!important;border-left:4px solid #318454!important}
body.jude-v1 .pure-v1-card.state-orange,body.mypureplanner-v1:not(.pure-owner-embedded) .pure-v1-card.state-orange{background:#fff8ed!important;border-color:#efd8b6!important;border-left:4px solid #d98228!important}
body.jude-v1 .jude-state.skipped{background:#fff8ee;border-color:#efdab8}
body.jude-v1 .jude-state.skipped h3{color:#995710}
body.jude-v1 .jude-stats .skipped{background:#fff1dd;color:#9b521a}
body.jude-v1 .pure-v1-card .chip.orange,body.mypureplanner-v1 .pure-v1-card .chip.orange{background:#ffebd4!important;color:#945114!important}
body.jude-v1 .pure-v1-card .chip.red,body.mypureplanner-v1 .pure-v1-card .chip.red{background:#f9dfdd!important;color:#ae3232!important}
body.jude-v1 .pure-v1-card,body.mypureplanner-v1:not(.pure-owner-embedded) .pure-v1-card{padding:8px 11px 7px!important;border-radius:10px!important;margin:5px 0!important;min-height:0!important;gap:3px!important}
body.jude-v1 .pure-v1-card .pure-staff-item-heading strong{font-size:15px!important;line-height:1.25!important}
body.jude-v1 .pure-v1-card .pure-v1-meta{margin-top:1px!important;font-size:10px!important;gap:3px!important;line-height:1.25!important}
body.jude-v1 .pure-v1-card .pure-v1-address{margin:3px 0!important;line-height:1.25!important;font-size:12px!important}
body.jude-v1 .pure-v1-card .pure-v1-access{padding:4px 7px!important;margin-top:3px!important;font-size:11px!important;line-height:1.28!important}
body.jude-v1 .pure-v1-card .pure-v1-details{margin:3px 0 0!important}
body.jude-v1 .pure-v1-card .pure-v1-details>summary{font-size:11px!important;padding:4px 0!important}
body.jude-v1 .pure-v1-card .pure-sorted-actions{margin-top:4px!important;gap:6px!important}
body.jude-v1 .pure-v1-card .pure-v1-sort-button,body.jude-v1 .pure-v1-card .pure-v1-undone-button{min-height:37px!important;padding:6px 9px!important;font-size:12px!important}
body.jude-v1 .pure-v1-card .pure-sorted-aux{margin-top:3px!important;gap:8px!important;font-size:11px!important}
body.jude-v1 .pure-v1-card .jude-job-timer{padding:5px 8px!important;margin:4px 0!important;gap:5px!important;min-height:37px!important}
body.jude-v1 .pure-v1-card .jude-timer-clock{font-size:13px!important;font-variant-numeric:tabular-nums}
body.jude-v1 .pure-v1-card .jude-timer-control,body.jude-v1 .pure-v1-card .jude-timer-reset{min-height:32px!important;padding:5px 9px!important;font-size:11px!important}
body.jude-v1 .pure-v1-card[data-status="due"]{touch-action:pan-y;overscroll-behavior-x:contain}
body.jude-v1 .staff-card.swipe-dragging{z-index:2;position:relative}
body.jude-v1 .pw-seven-cols{grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:4px!important}
body.jude-v1 .pw-day-col{min-width:0!important;padding:8px 1px!important;overflow:hidden!important;word-break:normal}
body.jude-v1 .pw-day-name{font-size:10px!important}
body.jude-v1 .pw-day-date{font-size:15px!important}
body.jude-v1 .pw-day-count{font-size:10px!important}
body.jude-v1 .pw-mini-stack{display:none!important}
@media(max-width:700px){
 body.jude-v1 .site-head-inner{padding-inline:12px!important;width:100%;max-width:100%}
 body.jude-v1 main{padding:10px 10px calc(88px + env(safe-area-inset-bottom,0px))!important;width:100%;max-width:100%}
 body.jude-v1 .jude-team-profile{padding:8px 10px!important;margin-bottom:7px!important;gap:9px!important}
 body.jude-v1 .jude-initials{width:37px!important;height:37px!important;font-size:13px!important}
 body.jude-v1 .jude-profile-text strong{font-size:15px!important}
 body.jude-v1 .jude-profile-text span{font-size:10px!important}
 body.jude-v1 .overview-head{margin:5px 0 7px!important}
 body.jude-v1 .overview-head h1{font-size:21px!important}
 body.jude-v1 .pw-week-board{padding:8px!important;margin:6px 0!important}
 body.jude-v1 .pw-board-head{gap:5px!important;margin-bottom:6px!important}
 body.jude-v1 .jude-day{padding:8px!important;margin:4px 0 8px!important}
 body.jude-v1 .jude-state{padding:7px!important;margin:7px 0!important}
 body.jude-v1 .jude-state h3{font-size:11px!important;margin-bottom:4px!important}
 body.jude-v1 .staff-contact-actions{max-width:100%}
 body.jude-v1 .jude-week,body.jude-v1 .pw-column-layout{overflow-x:clip}
}

/* Past-due mini markers and trial appointment cards use red; skipped uses orange. */
body.jude-v1 .pw-mini-job.overdue i{background:#c44545!important}
body.jude-v1 .pw-mini-job.skipped i{background:#d98228!important}
body.jude-v1 .pw-mini-job.done i{background:#318454!important}
body.jude-v1 .pw-mini-job.due i{background:#2774b5!important}

/* Historical copied test visits are visibly distinguished from real scheduled work. */
body.lewis-v1 .pw-history-warning{display:flex;flex-direction:column;gap:4px;border:1.5px solid #e2b26a;border-radius:10px;background:#fff3dd;padding:11px 13px;margin:8px 0;color:#784817;font-size:12px;line-height:1.45}
body.lewis-v1 .pw-history-warning strong{font-size:13px;color:#784817}
