*{box-sizing:border-box}body{margin:0;background:#f3f7f7;color:#17212b;font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial}.top{height:68px;background:#fff;border-bottom:1px solid #e5eeee;display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100% - 1100px)/2));position:sticky;top:0;z-index:2}.brand{display:flex;align-items:center;gap:10px;font-weight:800;color:#142d38;text-decoration:none;font-size:19px}.brandmark{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#087d70;color:#fff}.topright{display:flex;align-items:center;gap:12px;font-size:14px}.wrap{max-width:1100px;margin:26px auto;padding:0 18px;min-height:78vh}h1{font-size:27px;margin:0 0 20px}h2{font-size:20px;margin:0 0 14px}h3{margin:0 0 4px}.panel,.stat{background:#fff;border:1px solid #e8eeee;border-radius:20px;padding:20px;margin:0 0 18px;box-shadow:0 5px 22px rgba(24,54,62,.055)}.narrow{max-width:620px;margin:0 auto}.grid{display:grid;gap:14px}.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px}.stats.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.stat{margin:0;display:flex;flex-direction:column;gap:3px}.stat span,.muted{color:#71808a}.stat b{font-size:29px;color:#087d70}.stat small,.small{font-size:12px;color:#71808a}.two{grid-template-columns:repeat(2,minmax(0,1fr))}label{display:block;font-weight:650;margin:0 0 15px}input,select,textarea{display:block;width:100%;margin-top:6px;border:1px solid #dce5e6;border-radius:12px;padding:12px 13px;background:#fff;font:inherit;color:#17212b}input:focus,select:focus,textarea:focus{outline:2px solid #a7e4dc;border-color:#087d70}.btn{border:0;border-radius:12px;padding:11px 16px;font:700 14px inherit;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.btn-primary{background:#087d70;color:white}.btn-light{background:#eef5f5;color:#27414a}.btn-small{padding:7px 11px;font-size:12px}.full{width:100%}.row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.between{justify-content:space-between}.inline{display:inline}.alert{border-radius:12px;padding:12px 15px;margin:0 0 15px}.error{background:#fff0f0;color:#a52626}.success{background:#e8f8ef;color:#17663b}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;min-width:560px}th,td{text-align:left;padding:11px 10px;border-bottom:1px solid #edf1f1}th{color:#64747c;font-size:13px}.badge{background:#e5f7ed;color:#18734b;border-radius:99px;padding:5px 12px;font-size:12px;font-weight:700}.washcard{padding:18px}.photos{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:15px 0}.photos figure{margin:0;background:#f5f8f8;border-radius:14px;overflow:hidden}.photos img{display:block;width:100%;height:230px;object-fit:cover}.photos figcaption{text-align:center;padding:8px;font-weight:700;color:#50636b}.footer{text-align:center;padding:20px;color:#8a999f;font-size:12px}@media(max-width:760px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.wrap{margin:18px auto;padding:0 13px}h1{font-size:23px}.photos img{height:160px}.top{padding:0 13px}.topright{font-size:12px}.two{grid-template-columns:1fr}}@media(max-width:390px){.stats{grid-template-columns:1fr}.photos img{height:135px}}

/* Portal-specific themes */
.portal-agent{background:#eef7ff}.portal-agent .brandmark{background:#1769aa}.portal-agent .btn-primary{background:#1769aa}
.portal-customer{background:#f0faf5}.portal-customer .brandmark{background:#15966a}.portal-customer .btn-primary{background:#15966a}
.portal-admin{background:#f3f4f8}.portal-admin .brandmark{background:#25324a}
.brandlogo{width:38px;height:38px;object-fit:contain;border-radius:10px}.banner{display:block;margin:0 0 18px;border-radius:16px;overflow:hidden}.banner img{width:100%;max-height:190px;object-fit:cover;display:block}
.preview-logo{max-width:130px;max-height:90px;object-fit:contain;display:block;margin:5px 0 16px}.preview-banner{width:100%;max-height:160px;object-fit:cover;border-radius:12px;margin:5px 0 16px}.profile-photo{width:88px;height:88px;object-fit:cover;border-radius:50%;margin-bottom:15px}
label.check{display:flex;align-items:center;gap:10px;font-weight:500}.check input{width:auto;margin:0}.done-badge{background:#d9f8e8;color:#087d50;font-size:14px}.success{padding:10px 12px;border-radius:10px}

.table-avatar{width:30px;height:30px;border-radius:50%;object-fit:cover;vertical-align:middle;margin-right:8px}

.security-panel{background:#171d2a;color:#f5f7fb;border:1px solid #30394b;border-radius:20px;padding:20px;margin:0 0 20px;box-shadow:0 8px 26px rgba(0,0,0,.12)}.security-panel h2{color:#fff}.security-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.security-item{background:#242c3b;border:1px solid #3b4558;border-radius:14px;padding:14px 8px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:7px}.security-icon{width:62px;height:62px;border-radius:12px;display:grid;place-items:center;font-size:44px;font-weight:800}.security-icon.is-active{color:#16dc8a;background:#1b2634}.security-icon.is-locked{color:#fff;background:#313a4b;font-size:30px}.security-item small{color:#aab4c6}@media(max-width:760px){.security-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.security-icon{width:54px;height:54px}}
/* Live operations dashboard and distinct portal themes */
.portal-admin{background:#eef2f8}.portal-admin .wrap{max-width:1380px}
.dash-hero{background:linear-gradient(115deg,#25476a,#16324d);color:#fff;border-radius:22px;padding:24px 26px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 12px 28px rgba(20,48,76,.18)}.dash-hero h2{font-size:27px;margin:8px 0 2px;color:#fff}.dash-hero p{margin:0;color:#d1e0ed}.dash-hero .btn-light{background:#fff;color:#25476a}.hero-actions{display:flex;gap:8px;flex-wrap:wrap}.live-dot{display:inline-block;width:9px;height:9px;border-radius:50%;background:#21d58a;box-shadow:0 0 0 5px rgba(33,213,138,.16);margin-right:7px}.muted-light{color:#bfd0df;font-size:12px}.live-section-title{display:flex;align-items:center;justify-content:space-between;margin:22px 2px 12px}.live-section-title h2{margin:0}.live-section-title span{font-size:12px;color:#71808a}.live-stats{grid-template-columns:repeat(4,minmax(0,1fr))}.live-stats .stat{border:0;min-height:125px;position:relative;overflow:hidden}.live-stats .stat:after{content:"";position:absolute;width:92px;height:92px;border-radius:50%;right:-28px;bottom:-38px;background:rgba(255,255,255,.14)}.live-stats .stat span{font-size:14px;color:rgba(255,255,255,.84)}.live-stats .stat b{font-size:34px;color:#fff}.live-stats .stat small{color:rgba(255,255,255,.82)}.stat-navy{background:#25476a}.stat-blue{background:#0798d7}.stat-green{background:#77ad2a}.stat-cyan{background:#168e9e}.stat-purple{background:#9847ac}.stat-orange{background:#e89418}.tracking-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px}.tracking-panel{margin:0}.pill-count{background:#edf3fa;border-radius:99px;padding:5px 10px;font-size:12px;color:#25476a;font-weight:700}.track-list{display:grid;gap:8px}.track-row{display:flex;align-items:center;gap:10px;padding:9px 0;border-bottom:1px solid #edf1f5}.track-row:last-child{border-bottom:0}.track-avatar{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:white;font-weight:800;flex:0 0 auto}.staff-avatar{background:#25476a}.user-avatar{background:#0798d7}.track-info{min-width:0;flex:1}.track-info b{display:block}.track-info small{display:block;color:#7b8994;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.presence{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:800;min-width:58px}.presence i{width:8px;height:8px;border-radius:50%;display:inline-block}.presence.online{color:#159b63}.presence.online i{background:#18c77a;box-shadow:0 0 0 3px #ddf8eb}.presence.offline{color:#8a949d}.presence.offline i{background:#aeb7bf}.live-board{min-width:760px}.status-mark{display:inline-flex;padding:6px 10px;border-radius:99px;font-size:11px;font-weight:900;white-space:nowrap}.completed-mark{background:#e1f8eb;color:#07864d}.pending-mark,.pending-badge{background:#fff2d9;color:#9a6200}.photo-pending{min-height:160px;display:grid;place-content:center;text-align:center;background:#fff4dd;color:#946000;font-weight:800;border-radius:14px}.pending-note{background:#fff5df;color:#875900;padding:10px 12px;border-radius:10px}.privacy-callout{background:#edf5ff;border:1px solid #d7e8fa;border-radius:12px;padding:13px;color:#25476a;font-size:14px}.portal-agent{background:#edf5ff;color:#172d44}.portal-agent .top{border-bottom-color:#d7e6f4}.portal-agent .panel,.portal-agent .stat{border-color:#dceaf7}.portal-agent .btn-primary{background:#1769aa}.portal-customer{background:#f0faf5;color:#153e30}.portal-customer .top{border-bottom-color:#d7eee2}.portal-customer .panel,.portal-customer .stat{border-color:#dcefe5}.portal-customer .btn-primary{background:#15966a}.portal-customer .stat b{color:#15966a}
@media(max-width:900px){.dash-hero{align-items:flex-start;flex-direction:column}.tracking-grid{grid-template-columns:1fr}.live-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){.dash-hero{padding:18px}.hero-actions{width:100%}.hero-actions .btn{flex:1}.live-section-title{align-items:flex-start;gap:8px;flex-direction:column}.track-row{gap:7px}.track-info small{max-width:125px}.track-row .btn{padding:6px 8px}.live-stats .stat{min-height:112px;padding:15px}.live-stats .stat b{font-size:29px}}

/* Admin-managed portal themes, WhatsApp support, image zoom and monthly black verification board */
.portal-agent{background:var(--portal-bg,#edf5ff)}.portal-customer{background:var(--portal-bg,#f0faf5)}
.portal-agent .btn-primary,.portal-agent .brandmark{background:var(--portal-primary,#1769aa)}.portal-customer .btn-primary,.portal-customer .brandmark{background:var(--portal-primary,#15966a)}
.whatsapp-support{background:#e5f9ed;color:#087b43}.admin-menu{position:relative}.admin-menu summary{list-style:none;cursor:pointer;width:42px;height:42px;border-radius:13px;background:rgba(255,255,255,.18);color:#fff;font-size:27px;line-height:36px;text-align:center;font-weight:800}.admin-menu summary::-webkit-details-marker{display:none}.admin-menu-items{position:absolute;right:0;top:48px;z-index:20;min-width:210px;background:#fff;border:1px solid #e3eaf1;border-radius:14px;padding:7px;box-shadow:0 14px 35px rgba(10,25,40,.2)}.admin-menu-items a{display:block;padding:10px 12px;border-radius:9px;text-decoration:none;color:#26384b;font-weight:650}.admin-menu-items a:hover{background:#edf3fa}
.security-panel{background:#151a25}.month-matrix-wrap{overflow:auto;max-width:100%}.month-matrix{border-collapse:separate;border-spacing:4px;min-width:max-content;color:#fff}.month-matrix th{color:#aeb9ca;text-align:center;padding:7px 5px}.month-matrix th:first-child,.month-matrix td:first-child{position:sticky;left:0;background:#202838;z-index:1;text-align:left;min-width:145px}.month-matrix td{border:0;text-align:center;padding:8px 5px;background:#222b3a;border-radius:8px;min-width:31px}.month-matrix td:first-child{padding:8px 10px}.month-matrix td:first-child small{display:block;color:#aeb9ca;font-size:11px}.matrix-day{font-weight:900}.matrix-day.day-done{color:#12e28d;background:#193b34}.matrix-day.day-missed{color:#d5dbe5;background:#2b3444}.matrix-day.day-future{color:#687487;background:#1c2330}
.zoomable-photo{cursor:zoom-in}.image-viewer{display:none;position:fixed;inset:0;background:rgba(4,8,15,.94);z-index:1000;align-items:center;justify-content:center;overflow:auto;padding:70px 24px 30px}.image-viewer.open{display:flex}.image-viewer img{max-width:90vw;max-height:82vh;object-fit:contain;transition:transform .15s ease;transform-origin:center}.viewer-close,.viewer-zoom{position:fixed;top:18px;border:0;border-radius:50%;width:44px;height:44px;background:#fff;color:#111;font-size:28px;cursor:pointer}.viewer-close{right:20px}.viewer-zoom{right:75px}.viewer-zoom[data-zoom="out"]{right:128px}
@media(max-width:760px){.topright{gap:5px;flex-wrap:wrap;justify-content:flex-end}.topright>span{display:none}.month-matrix td{min-width:28px;padding:7px 3px}.month-matrix th:first-child,.month-matrix td:first-child{min-width:118px}.admin-menu-items{right:0}}

/* Professional customer and agent portal refinements */
.customer-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:26px 28px;margin:0 0 22px;border-radius:22px;background:linear-gradient(125deg,#101827,#26364d);color:#fff;box-shadow:0 14px 34px rgba(12,22,40,.18)}
.customer-hero h2{margin:7px 0;font-size:clamp(22px,4vw,32px)}.customer-hero p{margin:0;color:#cbd5e1}.eyebrow{font-size:11px;letter-spacing:2px;color:#8dd9bd;font-weight:800}.customer-stats .stat{min-height:130px}.section-heading{margin:28px 0 12px}.profile-card{display:flex;align-items:center;gap:18px;padding:24px;margin-bottom:20px;border-radius:20px;background:linear-gradient(130deg,#111827,#263449);color:#fff;box-shadow:0 12px 28px rgba(0,0,0,.14)}.profile-card h2{margin:0 0 6px}.profile-card p{margin:0 0 10px;color:#cbd5e1}.profile-avatar{width:68px;height:68px;flex:0 0 68px;border-radius:20px;display:grid;place-items:center;background:#16a879;color:#fff;font-size:28px;font-weight:800}.profile-card .badge{display:inline-flex}

/* ===== FINAL CUSTOMER DASHBOARD DESIGN (reference-inspired, readable) ===== */
/* Customer-only scope: leaves admin/agent portals and other pages unchanged. */
.portal-customer {
    background: #eaf8f7 !important;
    color: #17313b;
}
.portal-customer .customer-dashboard-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    align-items: stretch;
    margin: 0 0 28px;
}
.portal-customer .customer-dashboard-cards .customer-metric-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-width: 0;
    min-height: 320px;
    margin: 0 !important;
    padding: 26px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,.94) !important;
    border-radius: 28px !important;
    box-shadow: 0 12px 28px rgba(13, 55, 67, .16), inset 0 1px 0 rgba(255,255,255,.22) !important;
}
.portal-customer .customer-dashboard-cards .stat-green {
    background: linear-gradient(135deg, #35e94e 0%, var(--customer-card-green, #00b86b) 52%, #007f58 100%) !important;
}
.portal-customer .customer-dashboard-cards .stat-orange {
    background: linear-gradient(135deg, #ffb900 0%, var(--customer-card-orange, #ff7900) 54%, #f33b20 100%) !important;
}
.portal-customer .customer-dashboard-cards .stat-cyan {
    background: linear-gradient(135deg, #079fff 0%, var(--customer-card-blue, #0868f5) 58%, #1838e8 100%) !important;
}
/* Soft wave highlight, behind the card content. */
.portal-customer .customer-dashboard-cards .customer-metric-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 125%;
    height: 56%;
    left: -10%;
    bottom: -28%;
    border-radius: 48% 52% 0 0 / 35% 45% 0 0;
    background: rgba(255,255,255,.12);
    transform: rotate(-10deg);
    pointer-events: none;
}
.portal-customer .customer-dashboard-cards .metric-head {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    min-height: 70px;
}
.portal-customer .customer-dashboard-cards .metric-icon {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 58px !important;
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    box-shadow: none !important;
}
.portal-customer .customer-dashboard-cards .metric-icon svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    fill: none !important;
    stroke: #fff !important;
    stroke-width: 3.4 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}
.portal-customer .customer-dashboard-cards .metric-icon svg rect,
.portal-customer .customer-dashboard-cards .metric-icon svg path {
    fill: none !important;
    stroke: #fff !important;
}
/* The droplet silhouette is filled white; its slash stays a white stroke. */
.portal-customer .customer-dashboard-cards .metric-drop svg path:first-child {
    fill: #fff !important;
    stroke: #fff !important;
}
.portal-customer .customer-dashboard-cards .metric-title,
.portal-customer .customer-dashboard-cards .metric-foot small,
.portal-customer .customer-dashboard-cards .metric-bubble,
.portal-customer .customer-dashboard-cards .customer-metric-card > b {
    color: #fff !important;
    opacity: 1 !important;
    text-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.portal-customer .customer-dashboard-cards .metric-title {
    font-size: clamp(18px, 2.2vw, 26px) !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}
.portal-customer .customer-dashboard-cards .metric-rule {
    height: 3px !important;
    width: 100%;
    margin: 17px 0 14px !important;
    background: rgba(255,255,255,.42) !important;
    border: 0 !important;
    border-radius: 999px !important;
}
.portal-customer .customer-dashboard-cards .customer-metric-card > b {
    display: block !important;
    margin: 0 0 12px !important;
    font-size: clamp(48px, 5.4vw, 76px) !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: .01em;
    overflow-wrap: anywhere;
}
.portal-customer .customer-dashboard-cards .stat-cyan > b {
    font-size: clamp(38px, 4.4vw, 62px) !important;
    letter-spacing: .015em;
}
.portal-customer .customer-dashboard-cards .metric-foot {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    margin-top: auto !important;
}
.portal-customer .customer-dashboard-cards .metric-bubble {
    display: grid !important;
    place-items: center !important;
    flex: 0 0 52px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.22) !important;
    color: #fff !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
}
.portal-customer .customer-dashboard-cards .metric-foot small {
    font-size: clamp(15px, 1.75vw, 20px) !important;
    line-height: 1.4 !important;
    font-weight: 650 !important;
}
@media (max-width: 760px) {
    .portal-customer .customer-dashboard-cards { gap: 14px !important; }
    .portal-customer .customer-dashboard-cards .customer-metric-card {
        min-height: 270px;
        padding: 19px !important;
        border-radius: 24px !important;
    }
    .portal-customer .customer-dashboard-cards .metric-head { gap: 10px !important; min-height: 58px; }
    .portal-customer .customer-dashboard-cards .metric-icon { flex-basis: 44px !important; width: 44px !important; height: 44px !important; }
    .portal-customer .customer-dashboard-cards .metric-title { font-size: 18px !important; }
    .portal-customer .customer-dashboard-cards .metric-rule { margin: 13px 0 12px !important; }
    .portal-customer .customer-dashboard-cards .customer-metric-card > b { font-size: 48px !important; }
    .portal-customer .customer-dashboard-cards .stat-cyan > b { font-size: 38px !important; }
    .portal-customer .customer-dashboard-cards .metric-foot { gap: 8px !important; }
    .portal-customer .customer-dashboard-cards .metric-bubble { flex-basis: 40px !important; width: 40px !important; height: 40px !important; font-size: 24px !important; }
    .portal-customer .customer-dashboard-cards .metric-foot small { font-size: 14px !important; }
}
@media (max-width: 520px) {
    .portal-customer .customer-dashboard-cards { grid-template-columns: minmax(0, 1fr) !important; }
    .portal-customer .customer-dashboard-cards .customer-metric-card { min-height: 230px; padding: 22px !important; }
    .portal-customer .customer-dashboard-cards .metric-icon { flex-basis: 50px !important; width: 50px !important; height: 50px !important; }
    .portal-customer .customer-dashboard-cards .metric-title { font-size: 20px !important; }
    .portal-customer .customer-dashboard-cards .customer-metric-card > b { font-size: 58px !important; }
    .portal-customer .customer-dashboard-cards .stat-cyan > b { font-size: 44px !important; }
    .portal-customer .customer-dashboard-cards .metric-foot small { font-size: 16px !important; }
}

/* ===== Customer Dashboard final palette: green / orange / dark blue ===== */
.portal-customer .customer-dashboard-cards .stat-green {
    background: linear-gradient(135deg, #35e94e 0%, var(--customer-card-green, #00b86b) 52%, #007f58 100%) !important;
}
.portal-customer .customer-dashboard-cards .stat-orange {
    background: linear-gradient(135deg, #ffb900 0%, var(--customer-card-orange, #ff7900) 54%, #f33b20 100%) !important;
}
.portal-customer .customer-dashboard-cards .stat-cyan {
    background: linear-gradient(135deg, #1e40af 0%, var(--customer-card-blue, #123b91) 55%, #071b49 100%) !important;
}
/* Make every visible card label, number, payment status, and amount high contrast. */
.portal-customer .customer-dashboard-cards .customer-metric-card,
.portal-customer .customer-dashboard-cards .customer-metric-card .metric-title,
.portal-customer .customer-dashboard-cards .customer-metric-card .metric-foot small,
.portal-customer .customer-dashboard-cards .customer-metric-card .metric-bubble,
.portal-customer .customer-dashboard-cards .customer-metric-card > b {
    color: #fff !important;
    opacity: 1 !important;
}
.portal-customer .customer-dashboard-cards .metric-icon,
.portal-customer .customer-dashboard-cards .metric-icon svg,
.portal-customer .customer-dashboard-cards .metric-icon svg path,
.portal-customer .customer-dashboard-cards .metric-icon svg rect {
    color: #fff !important;
    stroke: #fff !important;
}
.portal-customer .customer-dashboard-cards .metric-bubble {
    background: rgba(255,255,255,.22) !important;
}



/* WashCare Pro customer dashboard: refreshed midnight / aqua / amber template */
.portal-customer{background:#101827;color:#eef5ff}
.portal-customer .top{background:#172338;border-bottom:1px solid #293a55}
.portal-customer .brand{color:#f4f8ff}
.portal-customer .wrap{max-width:1180px}
.portal-customer h1,.portal-customer h2,.portal-customer h3{color:#f3f7ff}
.portal-customer .muted,.portal-customer .stat small{color:#9fb0c8}
.portal-customer .panel,.portal-customer .stat{background:#1b2940;border:1px solid #2c3e5b;color:#eaf1fc;box-shadow:0 12px 30px rgba(0,0,0,.18)}
.portal-customer .customer-hero{background:linear-gradient(120deg,#087e8b,#173e69 58%,#302d61);border:1px solid #2e8294;border-radius:24px;padding:26px;margin-bottom:20px;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:16px;box-shadow:0 16px 36px rgba(0,0,0,.22)}
.portal-customer .customer-hero h2{font-size:28px;margin:7px 0;color:#fff}
.portal-customer .customer-hero p{color:#d4f4f5;margin:0}
.portal-customer .eyebrow{font-size:11px;font-weight:900;letter-spacing:2px;color:#a6f5e9}
.portal-customer .customer-metric-card{border-radius:20px;min-height:160px}
.portal-customer .customer-metric-card b{font-size:34px;color:#fff}
.portal-customer .customer-metric-card .metric-title{color:#d6e6fa}
.portal-customer .customer-metric-card .metric-icon{background:#24465e;border-radius:13px}
.portal-customer .customer-metric-card .metric-icon svg{fill:none;stroke:#69e2d0;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.portal-customer .customer-metric-card.stat-orange .metric-icon svg{stroke:#ffbf70}
.portal-customer .customer-metric-card .metric-rule{background:#344967}
.portal-customer .customer-metric-card .metric-foot{color:#a9bad1}
.portal-customer .btn-primary{background:#08a99a;color:#041b26}
.portal-customer .btn-light{background:#293d59;color:#eaf3ff}
.portal-customer input,.portal-customer select,.portal-customer textarea{background:#111d30;border-color:#354968;color:#f4f8ff}
.portal-customer .washcard .photos figure{background:#132139}
.portal-customer .washcard .photos figcaption{color:#c3d4e9}
.portal-customer .photo-pending{background:#3b3324;color:#ffd18a}
.portal-customer .done-badge{background:#123f3c;color:#7df0c8}
.portal-customer .pending-badge{background:#4a3922;color:#ffd18a}
.portal-customer .section-heading p{color:#9fb0c8}
.portal-customer .footer{color:#7f91aa}
@media(max-width:520px){.portal-customer .customer-hero{padding:19px;align-items:flex-start;flex-direction:column}.portal-customer .customer-hero h2{font-size:23px}}


/* WashCare Pro final responsive dashboard and banner corrections */
.banner-strip{width:min(100%,var(--wc-banner-width,360px));max-width:var(--wc-banner-width,360px);height:var(--wc-banner-height,100px);margin:0 auto 18px;overflow:hidden;position:relative;border-radius:7px;background:#e9eff6;box-shadow:0 2px 8px rgba(22,45,67,.10)}
.banner-track{display:flex;width:100%;height:var(--wc-banner-height,100px);transition:transform .55s ease;will-change:transform}
.banner-slide{display:block;flex:0 0 100%;width:100%;height:var(--wc-banner-height,100px);overflow:hidden}
.banner-slide img{display:block;width:100%;height:var(--wc-banner-height,100px);object-fit:cover;border:0}
.banner-dots{position:absolute;right:6px;bottom:4px;display:flex;gap:4px}
.banner-dot{width:5px;height:5px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.55)}.banner-dot.active{background:#fff;transform:scale(1.3)}
.banner-admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0 20px}.banner-admin-item{border:1px solid #e2e8ef;border-radius:12px;padding:10px}.banner-admin-item img{display:block;width:100%;max-width:320px;height:50px;object-fit:fill;border-radius:5px}.banner-admin-item span{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:13px}.banner-admin-item input{width:auto;margin:0}
.portal-admin{background:#edf2f8!important;color:#18283b}.portal-admin .top{background:#5c7fb8;border-bottom-color:#4f70a7}.portal-admin .brand{color:#fff}.portal-admin .brandmark{background:#fff;color:#315a91}.portal-admin .wrap{max-width:1160px}.portal-admin .dash-hero{background:linear-gradient(120deg,#163f61,#087eaa 60%,#0799c9);border-radius:22px}.portal-admin .live-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal-admin .live-stats .stat{min-height:142px;padding:22px;border-radius:25px;box-shadow:0 7px 20px rgba(25,58,87,.09)}.portal-admin .stat-navy{background:#1c4c6c}.portal-admin .stat-blue{background:#079fd0}.portal-admin .stat-green{background:#69ad00}.portal-admin .stat-cyan{background:#0097a5}.portal-admin .stat-purple{background:#a13db1}.portal-admin .stat-orange{background:#f39800}.portal-admin .customer-status-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.portal-admin .customer-live-panel{border-radius:20px}.portal-admin .live-section-title{margin-top:26px}.portal-admin .panel{border-radius:19px}.table-sub{display:block;color:#778493;font-size:11px;margin-top:2px}
.portal-customer{background:#e8f8f7!important;color:#152c38}.portal-customer .wrap{max-width:1000px}.portal-customer .customer-hero{background:linear-gradient(120deg,#087f8b,#164d70 60%,#243d78);border-radius:20px;padding:22px 24px}.portal-customer .customer-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}.portal-customer .customer-dashboard-cards .customer-metric-card{min-height:235px;padding:20px!important;border-radius:24px!important}.portal-customer .customer-dashboard-cards .metric-head{min-height:54px;gap:12px!important}.portal-customer .customer-dashboard-cards .metric-icon{flex-basis:48px!important;width:48px!important;height:48px!important}.portal-customer .customer-dashboard-cards .metric-title{font-size:clamp(16px,2.4vw,21px)!important;line-height:1.25}.portal-customer .customer-dashboard-cards .metric-rule{margin:12px 0 10px!important}.portal-customer .customer-dashboard-cards .customer-metric-card>b{font-size:clamp(38px,5vw,54px)!important}.portal-customer .customer-dashboard-cards .metric-foot small{font-size:14px!important}.portal-customer .customer-dashboard-cards .metric-bubble{width:38px!important;height:38px!important;flex-basis:38px!important}.current-wash-status{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 20px;margin:0 0 20px;border-radius:17px;background:#fff;border:1px solid #dbece9;box-shadow:0 5px 18px rgba(22,65,72,.06)}.current-wash-status h2{margin:3px 0 4px}.current-wash-status p{margin:0;color:#657680;font-size:13px}.current-wash-status strong{white-space:nowrap;padding:9px 13px;border-radius:999px;font-size:12px}.current-wash-status.is-pending strong{background:#fff0d5;color:#9a6200}.current-wash-status.is-complete strong{background:#dff8e9;color:#087c4b}
@media(max-width:760px){.portal-admin .live-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-admin .customer-status-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-admin .live-stats .stat{min-height:120px;padding:16px}.portal-customer .customer-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.portal-customer .customer-dashboard-cards .customer-metric-card{min-height:205px;padding:15px!important}.portal-customer .customer-dashboard-cards .metric-title{font-size:16px!important}.portal-customer .customer-dashboard-cards .customer-metric-card>b{font-size:40px!important}.portal-customer .customer-dashboard-cards .metric-foot small{font-size:12px!important}.current-wash-status{align-items:flex-start;flex-direction:column}.banner-strip{margin-bottom:14px}}
@media(max-width:420px){.portal-customer .customer-dashboard-cards .customer-metric-card{min-height:180px;padding:12px!important}.portal-customer .customer-dashboard-cards .metric-icon{flex-basis:38px!important;width:38px!important;height:38px!important}.portal-customer .customer-dashboard-cards .metric-title{font-size:14px!important}.portal-customer .customer-dashboard-cards .customer-metric-card>b{font-size:34px!important}.portal-admin .dash-hero h2{font-size:22px}.banner-strip{max-width:320px}}

/* PWA push setup hint */
.wc-push-help{display:inline-block;max-width:220px;font-size:10px;line-height:1.3;margin:0 4px;vertical-align:middle}
@media(max-width:700px){.wc-push-help{flex-basis:100%;max-width:100%;margin:5px 0 0;font-size:10px}}

/* WashCare navigation and service-note additions; existing page styling retained. */
.portal-bottom-nav{display:none}.wash-notes{background:#f1f7f8;border:1px solid #dce9e9;border-radius:13px;padding:12px 15px;margin:14px 0;color:#29424a}.wash-notes p{margin:5px 0 0;white-space:normal}.service-note-preview{white-space:normal!important;color:#365b68!important}@media(max-width:760px){.portal-bottom-nav{position:fixed;display:flex;left:0;right:0;bottom:0;z-index:20;justify-content:space-around;gap:4px;padding:8px 6px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #dfe9e9;box-shadow:0 -5px 18px rgba(20,50,60,.09)}.portal-bottom-nav a{min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;text-decoration:none;color:#52666d;font-size:18px;font-weight:800}.portal-bottom-nav a span{font-size:10px;font-weight:700}.portal-agent .portal-bottom-nav a{color:#1769aa}.portal-customer .portal-bottom-nav a{color:#15966a}body:has(.portal-bottom-nav) .wrap{padding-bottom:90px}}

/* Role-specific login heading; preserves the existing card and theme. */
.wc-role-login-heading{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:13px 14px;border-radius:13px;background:linear-gradient(120deg,#123b55,#087e82);color:#fff}
.wc-role-login-heading>span{font-size:27px}.wc-role-login-heading h2{font-size:19px;line-height:1.25;margin:0;font-weight:900;letter-spacing:.3px}
@media(max-width:420px){.banner-strip{max-width:min(100%,var(--wc-banner-width,360px))}.banner-strip,.banner-track,.banner-slide,.banner-slide img{height:var(--wc-banner-height,100px)}}
