/* SIVAR CLEAN 1.0.1: operational tools and the cleaner's mobile portal. */
:root{--release-teal:#078b9f;--release-line:#dce7ef;--release-muted:#60758b}
.zone-card-grid,.development-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}
.zone-card,.development-card{min-width:0;overflow-wrap:anywhere}
.zone-card .actions,.development-card .actions{align-items:center}
.capacity-rule,.area-tag,.training-progress{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--release-line)}
.area-tag{padding:10px 14px;border:1px solid var(--release-line);border-radius:10px;background:#f2f8fc;margin:8px 0}
#operatingAreas{margin:12px 0 24px}.network-total{display:block;font-size:23px;margin-top:20px;color:#12644e}
#networkAvailability{align-items:end}#networkAvailability .button{margin-bottom:15px}
.rank-chip{display:inline-flex;align-items:center;gap:6px;border-radius:20px;background:#e8f3ff;color:#1e5b91;padding:5px 12px;font-size:12px;font-weight:700;white-space:nowrap}
.rank-professional{background:#edf1ff;color:#5146a4}.rank-diamond{background:#e6f8f5;color:#087261}
.rank-track{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:24px 0}
.rank-track span{padding:16px 10px;text-align:center;border:1px solid var(--release-line);border-radius:10px;color:var(--release-muted)}
.rank-track .active{border:2px solid var(--release-teal);background:#edfafa;color:#08768a;font-weight:700}
.staff-card{display:flex;gap:16px;align-items:center;border:1px solid var(--release-line);border-radius:12px;padding:15px;margin:12px 0;background:#fff}
.staff-card>div{min-width:0}.staff-card strong{display:block;margin-bottom:6px}.staff-card p{overflow-wrap:anywhere;margin:8px 0 0;font-size:13px}
.staff-portrait,.staff-placeholder{width:82px;height:96px;object-fit:cover;border-radius:10px;flex-shrink:0}
.staff-placeholder{display:grid;place-items:center;background:#e9f4fa;font-size:30px;color:var(--release-teal)}
.assigned-staff,.booking-enhancements,.location-picker{margin:24px 0}.assigned-staff h3{font-size:19px}
.booking-enhancements fieldset{margin-top:18px}.booking-enhancements .checkbox{align-items:flex-start;padding:8px 0;line-height:1.5}
.property-map,.service-map{width:100%;height:285px;border:1px solid var(--release-line);border-radius:12px;overflow:hidden;position:relative;z-index:0;margin:12px 0}
.service-map:has(>p){height:auto;min-height:70px;padding:20px;background:#f3f8fc}
.leaflet-container{font-family:inherit}.leaflet-control-attribution{font-size:10px!important}.location-picker .actions{margin-top:10px}
.capacity-network{border:1px solid #cfe7ec;border-radius:12px;padding:16px 18px;background:#f0fbfc;margin-top:16px}
.capacity-network>strong{display:block;font-size:18px}.capacity-network p{margin:8px 0;font-size:13px}
.network-day{color:#577285;font-size:9px!important;line-height:1.2}.live-calendar .calendar-day{min-height:80px}
.live-calendar .global-capacity-day{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.live-calendar .global-capacity-day small{font-size:.72rem;font-weight:750;line-height:1.1;white-space:nowrap;color:inherit}.calendar-capacity-note{max-width:540px;font-size:.8rem;margin-top:12px}.capacity-unavailable{width:100%;padding:15px;border:1px solid #edcf78;border-radius:10px;background:#fff9e8;color:#70550f;font-size:.9rem}.capacity-local{margin-top:10px}
.opportunity-metrics{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.opportunity-metrics>span{padding:12px 16px;background:#eaf4ff;border-radius:12px;color:#3e5e7d;font-size:13px}
.opportunity-metrics b{font-size:21px;color:#123d65;margin-right:5px}
.opportunity-filters{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-bottom:20px}.opportunity-filters label{flex:1;min-width:140px}.opportunity-filters input,.opportunity-filters select{margin-bottom:0}
.opportunity-filters .text-button{min-height:44px}.opportunity-feed{display:flex;flex-direction:column;gap:16px;margin-bottom:22px}
.opportunity-feed .opportunity-card{margin:0;display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:18px;align-items:start;padding:22px}
.opportunity-feed .date-tile{margin:0;min-width:0;width:60px;height:76px}.opportunity-feed .opportunity-main{min-width:0}
.opportunity-feed .opportunity-main h3{font-size:20px;line-height:1.3;margin:6px 0 10px;overflow-wrap:normal}
.opportunity-feed .opportunity-pay{margin:0;min-width:150px;max-width:240px;font-size:inherit;padding:16px;background:#e9f8f1;border-radius:12px;white-space:normal}
.opportunity-pay strong{display:block;font-size:25px;color:#218461;line-height:1.3}.opportunity-pay small{display:block;color:#397b64;font-size:12px;line-height:1.6;margin-top:5px}
.opportunity-feed .opportunity-main .actions{flex-direction:row;align-items:center}.opportunity-main .button{white-space:normal;word-break:normal}
.opportunity-lock{display:flex;gap:8px;align-items:start;color:#647586;font-weight:600}.opportunity-lock svg{height:18px;width:18px;flex-shrink:0;margin-top:3px}
.opportunity-feed .locked-opportunity{grid-template-columns:64px minmax(0,1fr);background:#f5f8fb;border-color:#e2e8ed;box-shadow:none}
.locked-opportunity .date-tile{background:#ecf0f4}.locked-opportunity h3{color:#51687e}.locked-opportunity small{color:#687b8c}
.review-pay{background:#e9f8f1;border:1px solid #d2ecdf;padding:18px;border-radius:12px;margin:20px 0;display:flex;flex-direction:column;gap:6px;color:#217858}
.review-pay strong{font-size:32px}.opportunity-review .summary-list{margin:20px 0}.opportunity-review h3{margin-top:24px}
.provider-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.provider-more .button{display:flex;align-items:center;gap:10px;text-align:left;white-space:normal}.provider-more svg{width:22px;height:22px;flex-shrink:0}
#providerBottomNav{display:none}
.evidence-status{margin-bottom:22px!important}.evidence-clock{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:18px 0;padding:14px;background:#f0f8ff;border-radius:10px}
.evidence-clock strong{font-size:27px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#0754b5}
.evidence-section{margin:24px 0}.evidence-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.evidence-gallery>a,.evidence-gallery>figure{display:flex;flex-direction:column;border:1px solid var(--release-line);border-radius:10px;padding:8px;min-width:0;background:#fff;margin:0;color:#53677a}
.evidence-gallery img{width:100%;height:150px;object-fit:cover;border-radius:6px}.evidence-gallery small{font-size:11px;margin-top:8px}
.evidence-gallery .text-button{min-height:38px}.evidence-gallery>p{grid-column:1/-1}
.camera-panel{margin:24px 0!important}.camera-panel video{display:block;width:100%;max-height:380px;border-radius:12px;background:#173454;object-fit:contain}
.camera-panel .full{width:100%}.evidence-chat{margin-top:24px!important}.evidence-messages{max-height:330px;overflow:auto;display:flex;flex-direction:column;gap:12px;margin:20px 0}
.evidence-message{padding:14px;border-radius:10px;background:#f0f7fe}.evidence-message strong{font-size:13px}.evidence-message time{font-size:12px;float:right;color:#688096}
.evidence-message p{margin:10px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.evidence-message.is-correction{background:#fff7e8;border:1px solid #f0dba7}.evidence-message .pill{display:block;width:fit-content;margin-top:8px}
.evidence-actions{margin-top:24px}.warning{background:#fff0d8;color:#875b0a}
@media(max-width:900px){.zone-card-grid,.development-grid{grid-template-columns:1fr}.opportunity-feed .opportunity-card{grid-template-columns:60px minmax(0,1fr)}.opportunity-feed .opportunity-pay{grid-column:2;grid-row:2;max-width:none;min-width:0}.opportunity-feed .opportunity-main .actions{margin-top:15px}}
@media(max-width:740px){
 .provider-mobile .dashboard-layout{display:block}.provider-mobile #dashboardNav{display:none}
 .provider-mobile .portal-header{height:66px;padding:0 16px;gap:12px}.provider-mobile .portal-header .brand{width:118px}.provider-mobile .portal-header .brand img{width:118px;height:48px}
 .provider-mobile .portal-greeting,.provider-mobile .explore-site,.provider-mobile .profile-avatar{display:none}
 .provider-mobile .portal-actions{margin-left:auto}.provider-mobile .notification-bell{width:40px;height:40px}
 .provider-mobile .dashboard-content{padding:24px 16px calc(100px + env(safe-area-inset-bottom))}
 .provider-mobile #providerBottomNav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));position:fixed;inset:auto 0 0;background:#fff;border-top:1px solid #dbe7ef;padding:7px 10px calc(8px + env(safe-area-inset-bottom));z-index:30;box-shadow:0 -3px 18px #1734540c}
 #providerBottomNav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:0;border-radius:10px;background:transparent;color:#647c91;padding:9px 2px;min-height:57px;font:inherit;font-size:10px;font-weight:600}
 #providerBottomNav svg{width:22px;height:22px}#providerBottomNav .active{background:#e9f4ff;color:#0064d9}
 .provider-mobile h2{font-size:26px;letter-spacing:-.03em;line-height:1.25}.provider-mobile .portal-heading p{margin:10px 0 14px;font-size:14px}
 .provider-mobile .opportunity-metrics{gap:8px}.provider-mobile .opportunity-metrics>span{flex:1;padding:12px 10px;font-size:11px}.provider-mobile .opportunity-metrics b{font-size:20px}
 .opportunity-filters{display:grid;grid-template-columns:1fr 1fr;gap:10px}.opportunity-filters label{min-width:0;font-size:12px}.opportunity-filters .text-button{grid-column:1/-1;text-align:left;padding:0;min-height:30px}
 .opportunity-feed .opportunity-card{grid-template-columns:48px minmax(0,1fr);gap:14px 12px;padding:17px;border-radius:16px;box-shadow:0 3px 12px #17345407}
 .opportunity-feed .date-tile{width:48px;height:67px}.opportunity-feed .date-tile b{font-size:28px}
 .opportunity-feed .opportunity-main h3{font-size:18px;margin:4px 0 8px}.opportunity-feed .opportunity-main .eyebrow{font-size:9px;letter-spacing:.08em;line-height:1.5}
 .opportunity-feed .opportunity-main p{font-size:13px;line-height:1.55;margin:6px 0}.opportunity-feed .opportunity-main .actions{display:grid;grid-template-columns:1fr auto;gap:10px}
 .opportunity-main .button.compact{padding:12px 14px;font-size:13px;min-height:46px}.opportunity-feed .opportunity-main .text-button{padding:6px;min-height:42px;font-size:12px}
 .opportunity-feed .opportunity-pay{grid-column:1/-1;grid-row:auto;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 10px;padding:13px 16px;margin:0}
 .opportunity-pay strong{font-size:25px;grid-row:1/3}.opportunity-pay small{font-size:11px;margin:0;text-align:right}
 .opportunity-feed .locked-opportunity{grid-template-columns:48px minmax(0,1fr);box-shadow:none}.locked-opportunity small{font-size:11px;line-height:1.5}
 .provider-mobile .reservation-card{padding:20px 18px;border-radius:16px;background:#fff;margin-bottom:16px}.provider-mobile .reservation-top{display:block}.provider-mobile .reservation-top strong{display:block;margin:15px 0 0;font-size:25px;color:#1c815d}
 .provider-mobile .reservation-card .button{width:100%;margin-top:5px}.provider-mobile .reservation-card .reservation-top h3{font-size:19px;margin:12px 0 6px}
 .provider-mobile .stats{gap:8px;margin:18px 0 24px}.provider-mobile .stat{padding:15px 10px;border-radius:12px}.provider-mobile .stat strong{font-size:26px}.provider-mobile .stat span{font-size:11px}
 .provider-mobile #soundNotice{font-size:12px;padding:8px 12px}.provider-mobile #soundNotice span{font-size:12px}
 .provider-more{grid-template-columns:1fr}.provider-mobile .movement{align-items:flex-start}.provider-mobile .movement>div{min-width:0}
 .development-grid,.zone-card-grid{gap:14px}.rank-track{gap:6px}.rank-track span{font-size:12px;padding:14px 5px}
 .staff-card{gap:12px;padding:12px}.staff-portrait,.staff-placeholder{width:66px;height:80px}.staff-card p{font-size:12px}
 .property-map,.service-map{height:260px}.live-calendar .calendar-day{min-height:70px;padding:4px 1px}.network-day{font-size:8px!important}
 .evidence-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.evidence-gallery img{height:120px}.evidence-clock{flex-wrap:wrap;gap:10px}.evidence-clock strong{font-size:27px}
 .evidence-actions{display:flex;flex-direction:column}.evidence-actions .button{width:100%}.capacity-rule{align-items:flex-start;overflow-wrap:anywhere;font-size:13px}
 #modal{max-width:100%;width:calc(100% - 20px);max-height:calc(100dvh - 30px);padding:20px 16px;border-radius:18px}#modalBody{min-width:0}#modal .form-grid{grid-template-columns:1fr}
 #modal .summary-list{grid-template-columns:90px minmax(0,1fr);gap:10px;font-size:13px}.opportunity-review .review-countdown{padding:16px}.review-pay strong{font-size:29px}
}
