/* Customer home: personal utility, services, calendar, then people. */
.customer-home{background:#f5f7f8;padding-bottom:112px!important}
.customer-home .home-mast{padding:20px 20px 24px;border-radius:0 0 28px 28px;margin-bottom:16px}
.personal-top{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;margin-bottom:20px}.personal-brand{justify-self:center;display:flex;align-items:center;gap:7px;font-size:20px;font-weight:750;letter-spacing:-.025em}.personal-brand .icon{width:24px;height:24px}.personal-profile{background:rgba(255,255,255,.13);color:#fff}.personal-profile:hover{background:rgba(255,255,255,.22)}.personal-greeting{font-size:24px;line-height:1.25;margin:0 0 18px;font-weight:650;letter-spacing:-.03em}.customer-home .location-button{min-height:44px;margin-bottom:18px}.customer-home .location-button strong{font-size:14px;font-weight:550}.customer-home .location-button .icon{width:20px;height:20px}.customer-home .location-button small{display:none}
.header-wallet{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #6992ad;border-radius:14px;padding:12px 14px;color:#fff;background:transparent;width:100%;text-align:left;min-height:66px}.header-wallet>span:first-child{display:flex;align-items:center;gap:10px}.header-wallet small{display:block;font-size:12px;color:#dfecf3}.header-wallet strong{display:block;font-size:20px;font-variant-numeric:tabular-nums}.header-wallet .wallet-arrow{display:flex;align-items:center;font-size:14px;gap:8px}.header-wallet .wallet-arrow .icon{width:18px;height:18px}.header-wallet:hover{background:rgba(255,255,255,.06)}
.service-panel{background:white;border-radius:20px;padding:20px 12px;margin:0 0 16px}.customer-home .service-shelf{margin:0;gap:8px}.customer-home .service-shortcut>.service-art{width:64px;height:64px;border-radius:20px}.customer-home .service-shortcut strong{font-size:14px}.customer-home .service-shortcut .icon{width:30px;height:30px}
.calendar-panel{background:#fff;border-radius:20px;padding:20px;margin-bottom:26px}.calendar-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.calendar-title h2{font-size:20px;margin:0;letter-spacing:-.025em}.calendar-title .count-label{font-size:12px;color:#586268;background:#f0f4f6;border-radius:6px;padding:3px 7px}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.calendar-toolbar h3{font-size:14px;font-weight:600;margin:0}.calendar-controls{display:flex;gap:2px}.calendar-controls .icon-button{width:44px;height:44px}.calendar-controls .icon{width:18px;height:18px}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:2px;list-style:none;padding:0;margin:0}.calendar-weekday{font-size:12px;text-align:center;color:var(--muted);padding:7px 0}.calendar-day{border:0;background:transparent;border-radius:10px;min-width:0;min-height:44px;padding:5px 0;position:relative;color:var(--text);font-size:14px;font-weight:500}.calendar-day.today{color:var(--teal);box-shadow:inset 0 0 0 1px #b6cbd9}.calendar-day.has-order{background:#e9f0f5;color:#074767;font-weight:700}.calendar-day.has-order:after{content:"";position:absolute;bottom:5px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:currentColor}.calendar-day.selected{background:var(--teal);color:#fff}.calendar-day:hover{background:#dce7ee}.calendar-day.selected:hover{background:#064767}.calendar-hint{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;color:var(--muted);margin:14px 0 0}.calendar-hint>span{display:flex;align-items:center;gap:6px}.calendar-hint i{width:6px;height:6px;border-radius:50%;background:var(--teal)}.calendar-hint .link-btn{font-size:12px;min-height:32px;padding:4px}.calendar-current-store{display:none}
.customer-home .nearby-head{margin:0 0 14px}.customer-home .nearby-head h2{font-size:20px}.agent-carousel{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0;padding:0 0 8px;scrollbar-width:none}.agent-carousel::-webkit-scrollbar{display:none}.agent-preview{flex:0 0 162px;scroll-snap-align:start;background:#fff;border:0;border-radius:18px;padding:10px;text-align:left;overflow:hidden;color:var(--text)}.agent-preview img{width:100%;height:146px;object-fit:cover;border-radius:12px;object-position:center 30%;background:#e1e6e9}.agent-preview h3{font-size:16px;margin:12px 4px 5px}.agent-preview p{display:flex;align-items:center;gap:5px;margin:0 4px 5px;font-size:14px;color:var(--muted)}.agent-preview .icon{width:15px;height:15px;color:#966000}.agent-preview .rating-number{color:var(--text);font-weight:650}.agent-preview .agent-job-count{font-size:12px}.carousel-foot{display:flex;justify-content:flex-end;margin-top:4px}.carousel-foot .icon-button{width:44px;height:44px;color:var(--teal)}
.profile-back{display:flex;align-items:center;gap:8px;margin:0 0 24px;font-size:16px;font-weight:650}.profile-back button{margin-left:-10px}.agent-profile-summary{background:#f5f7f8;border-radius:20px;padding:24px 16px;text-align:center}.agent-profile-summary>img{width:100px;height:100px;border-radius:50%;object-fit:cover;margin:0 auto 12px}.agent-profile-summary h1{font-size:24px;letter-spacing:-.025em;margin:0 0 20px}.agent-profile-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}.agent-profile-stats>div+div{border-left:1px solid #d5dce1}.agent-profile-stats strong{display:flex;align-items:center;justify-content:center;gap:4px;font-size:20px}.agent-profile-stats strong .icon{width:18px;height:18px;color:#966000}.agent-profile-stats small{font-size:12px;color:var(--muted);display:block;margin-top:4px}.agent-profile-book{width:100%;margin:20px 0 4px}.agent-review-heading{display:flex;justify-content:space-between;align-items:center;margin:26px 0 10px;gap:10px}.agent-review-heading h2{font-size:20px;margin:0}.demo-label{font-size:12px;padding:3px 7px;border-radius:6px;background:#edf1f3;color:#586268;white-space:nowrap}.customer-review{padding:18px 0;border-bottom:1px solid var(--line)}.customer-review header{display:flex;justify-content:space-between;align-items:center;gap:12px}.customer-review h3{font-size:16px;margin:0}.customer-review time{font-size:12px;color:var(--muted)}.customer-review .review-stars{display:flex;align-items:center;gap:3px;color:#966000;margin:9px 0}.customer-review .review-stars .icon{width:15px;height:15px;fill:#f6e6c2}.customer-review p{font-size:14px;margin:8px 0 0;color:#424f58}.customer-review .review-service{font-size:12px;color:var(--muted);margin-left:8px}
.date-order{padding:16px 0;border-bottom:1px solid var(--line)}.date-order-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.date-order h3{font-size:16px;margin:0 0 5px}.date-order p{font-size:14px;color:var(--muted);margin:5px 0}.date-order .date-time{font-size:14px;display:flex;align-items:center;gap:6px}.date-order .btn{width:100%;margin-top:12px}.date-empty{padding:22px 0;color:var(--muted);font-size:16px}.date-empty .icon{width:40px;height:40px;color:#85929b;display:block;margin-bottom:16px}
.inbox-list{margin-top:8px}.inbox-row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;width:100%;text-align:left;padding:18px 0;border:0;border-bottom:1px solid var(--line);background:none;color:var(--text)}.inbox-avatar{width:48px;height:48px;border-radius:50%;object-fit:cover}.inbox-brand{display:grid;place-items:center;background:#e9f0f5;color:var(--teal)}.inbox-row h2{font-size:16px;margin:0 0 5px}.inbox-row p{font-size:14px;color:var(--muted);margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.inbox-meta{align-self:start;text-align:right;min-width:30px}.inbox-meta time{font-size:12px;color:var(--muted)}.unread-dot{display:block;border-radius:50%;width:7px;height:7px;margin:10px 0 0 auto;background:var(--teal)}.nav-unread{position:absolute;top:5px;left:calc(50% + 8px);width:6px;height:6px;border-radius:50%;background:var(--teal)}.thread-header{display:flex;align-items:center;gap:10px;padding-bottom:18px;border-bottom:1px solid var(--line)}.thread-header .icon-button{margin-left:-10px}.thread-header img{width:38px;height:38px;border-radius:50%;object-fit:cover}.thread-header h1{font-size:20px;letter-spacing:-.02em;margin:0}.thread-header p{font-size:12px;color:var(--muted);margin:2px 0 0}.conversation-log{display:flex;flex-direction:column;gap:12px;padding:22px 0;min-height:240px}.conversation-log .bubble{max-width:86%;align-self:flex-start;white-space:pre-wrap;overflow-wrap:anywhere}.conversation-log .bubble.me{align-self:flex-end}.conversation-log time{font-size:12px;display:block;opacity:.8;margin-top:6px}.conversation-compose{display:grid;grid-template-columns:1fr 48px;gap:10px;position:sticky;bottom:0;background:#fff;padding:16px 0}.conversation-compose button{border:0;background:var(--teal);color:#fff;border-radius:12px;min-height:48px}.conversation-note{font-size:12px;color:var(--muted);text-align:center;margin:12px 0}.profile-portal{display:flex;justify-content:space-between;align-items:center;color:var(--teal);text-decoration:none;border-top:1px solid var(--line);padding:18px 0;margin-top:20px;font-size:16px;min-height:52px}
/* Skeletons keep the real layout stable while identity images decode. */
.skeleton-shell{display:none}.is-loading>.home-content{display:none}.is-loading>.skeleton-shell{display:block}.skeleton{background:#e2e7eb;border-radius:10px;position:relative;overflow:hidden}.skeleton:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.65),transparent);transform:translateX(-100%);animation:skeleton-sweep 1.4s linear infinite}.skeleton-services{height:128px;background:#fff;border-radius:20px;margin-bottom:16px;display:flex;align-items:center;justify-content:space-around}.skeleton-services .skeleton{width:64px;height:76px;border-radius:18px}.skeleton-calendar{height:364px;margin-bottom:26px;background:#fff;border-radius:20px;padding:20px}.skeleton-title{height:20px;width:150px;margin-bottom:28px}.skeleton-calendar .skeleton{height:220px;width:100%}.skeleton-cards{display:flex;gap:12px;overflow:hidden}.skeleton-cards .skeleton{min-width:162px;height:220px;border-radius:18px}@keyframes skeleton-sweep{to{transform:translateX(100%)}}
@media(min-width:900px){.customer-home .home-mast{padding:24px 40px 28px;margin-bottom:20px}.personal-top{margin-bottom:20px}.personal-greeting{font-size:30px}.header-wallet{max-width:100%}.service-panel{padding:24px 20px;margin-bottom:20px}.customer-home .service-shortcut>.service-art{width:72px;height:72px}.customer-home .service-shortcut strong{font-size:16px}.calendar-panel{padding:24px}.calendar-day{min-height:48px;font-size:14px}.calendar-weekday{font-size:12px}.agent-preview{flex-basis:200px}.agent-preview img{height:176px}.nav-unread{left:31px;top:10px}.agent-profile-summary{padding:28px}.agent-profile-summary>img{width:120px;height:120px}}
@media(max-width:360px){.customer-home .home-mast{padding-left:16px;padding-right:16px}.calendar-panel{padding:14px 10px}.personal-greeting{font-size:24px}.personal-brand{font-size:20px}.header-wallet .wallet-arrow{font-size:12px;gap:3px}.agent-preview{flex-basis:150px}.agent-preview img{height:136px}.calendar-title h2{font-size:20px}.service-panel{padding-left:6px;padding-right:6px}.calendar-grid{gap:0}.calendar-day{min-height:44px}.customer-home .service-shortcut strong{font-size:12px}}
@media(prefers-reduced-motion:reduce){.skeleton:after{animation:none;display:none}.agent-carousel{scroll-behavior:auto}}
.conversation-compose[hidden],.nav-unread[hidden]{display:none}
.customer-home .personal-greeting{max-width:none;font-size:24px}
.header-wallet>span:first-child{display:flex;align-items:center;gap:10px}
.header-wallet strong #homeWallet{display:inline}

/* Photo-led header with a separate brand row and a functional frosted wallet. */
.customer-home .home-mast{background:linear-gradient(100deg,rgba(4,41,36,.91),rgba(4,41,36,.66)),url('../assets/home-laundry.png') right 42%/cover;border-radius:0 0 30px 30px;padding:22px 20px 26px;isolation:isolate}
.personal-top{display:flex;justify-content:center;margin-bottom:30px}.personal-brand{font-size:22px;color:#fff}.greeting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.customer-home .personal-greeting{font-size:20px;font-weight:600;line-height:1.3;margin:0;letter-spacing:-.02em;color:#fff}.personal-profile{flex:none;border:1px solid #ffffff40;background:#ffffff18}
.wallet-glass{display:grid;grid-template-columns:1.15fr 1fr;border:1px solid #ffffff66;border-radius:22px;background:rgba(255,255,255,.16);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 8px 24px #001d2420;overflow:hidden}
.header-wallet,.header-points{border:0;border-radius:0;min-height:92px;padding:16px 12px;background:transparent;color:#fff;display:flex;align-items:center;gap:9px;text-align:left;position:relative;min-width:0}.header-wallet{justify-content:flex-start}.header-wallet:after{content:'';position:absolute;right:0;top:20px;bottom:20px;width:1px;background:#ffffff50}.header-wallet .icon,.header-points>.icon:first-child{width:26px;height:26px;flex:none}.header-wallet small,.header-points small{font-size:12px;color:#fff;display:block;margin-bottom:5px}.header-wallet strong,.header-points strong{font-size:20px;display:block;white-space:nowrap;font-variant-numeric:tabular-nums}.wallet-plus{position:absolute;right:10px;top:10px;font-size:16px;line-height:18px;border:1px solid #ffffff90;border-radius:50%;width:20px;height:20px;text-align:center}.header-points>.icon:last-child{width:16px;height:16px;margin-left:auto}.header-points:hover{background:#ffffff15}.header-points>.icon:first-child{color:#ffda83;fill:#ffda8320}
.calendar-grid{gap:5px}.calendar-day{background:#eff1f3;min-height:48px;border-radius:12px;overflow:hidden;transition:background .2s ease-out,transform .2s ease-out}.calendar-day:active{transform:scale(.94)}.calendar-day.has-order:not(.completed-day){background:#d9e6ee}.calendar-day.has-order:not(.completed-day):after{width:5px;height:5px;bottom:6px}.calendar-day.completed-day{background:#dee5e9;min-height:48px}.calendar-day.completed-day:after{display:none}.calendar-photo{position:absolute;inset:0;background-size:auto 160%;background-position:42% 0}.completed-day .day-number{position:absolute;top:3px;left:3px;font-size:10px;font-weight:700;background:#ffffffeb;color:#14303e;min-width:16px;height:16px;border-radius:50%;display:grid;place-items:center}.calendar-day.selected{outline:2px solid var(--teal);outline-offset:1px}.calendar-day.selected:not(.completed-day){color:#fff;background:var(--teal)}.day-count{position:absolute;right:2px;top:2px;border-radius:50%;background:#b77f38;color:#fff;font-size:10px;min-width:15px}.completed-basket{height:150px;border-radius:14px;margin:12px 0;background-size:cover;background-position:center top;overflow:hidden}.points-summary{text-align:center;padding:24px 12px}.points-summary strong{font-size:40px;color:var(--teal)}.points-summary p{font-size:14px;color:var(--muted);max-width:32ch;margin:12px auto}.points-history{padding:16px;background:#eef3f6;border-radius:14px;color:var(--teal)}
@media(min-width:900px){.customer-home .home-mast{padding:26px 40px 30px;background-position:center,right 45%;background-size:cover,75% auto;background-repeat:no-repeat;background-color:#243e4f}.personal-top{margin-bottom:32px}.calendar-day{min-height:64px}.wallet-glass{max-width:520px}.greeting-row{max-width:520px}.header-wallet,.header-points{padding:18px}.personal-brand{font-size:24px}}
@media(max-width:360px){.header-wallet,.header-points{padding:16px 9px;gap:7px}.header-wallet strong,.header-points strong{font-size:18px}.header-wallet .icon,.header-points>.icon:first-child{width:22px;height:22px}.calendar-grid{gap:4px}.calendar-day{min-height:42px}.customer-home .personal-greeting{font-size:18px}}
@media(prefers-reduced-motion:reduce){.calendar-day{transition:none}.calendar-day:active{transform:none}}
.completed-basket{background-size:140% auto;background-position:center top}
.support-contact-message{width:100%}.support-contact-message p{margin:0 0 14px;font-size:14px;line-height:1.5}.support-contact-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.support-contact-cta{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:8px;border:1px solid #a8bcc9;border-radius:10px;background:#fff;color:#17445a;font-size:13px;font-weight:600}.support-contact-cta .icon{width:16px;height:16px;flex:none}.support-contact-cta:hover{background:#e3ebf1}


/* One continuous navigation indicator and matching iPhone safe area. */
#bottomNav button.active:before{display:none}#bottomNav .nav-sliding-marker{position:absolute;top:0;left:8px;height:3px;pointer-events:none;transition:transform .34s cubic-bezier(.22,1,.36,1),width .34s ease}#bottomNav .nav-sliding-marker:after{content:'';display:block;width:40%;height:3px;margin:auto;background:var(--teal);border-radius:0 0 4px 4px}html.home-chrome{background:#12303f}html.home-chrome body{padding-top:env(safe-area-inset-top);background:#12303f}html.home-chrome #home{background:#f4f6f7}@media(prefers-reduced-motion:reduce){#bottomNav .nav-sliding-marker{transition:none}}

.home-business-card{display:flex;align-items:center;gap:14px;padding:20px;margin:18px 0;border:1px solid #bfe5f4;border-radius:22px;background:linear-gradient(110deg,#e5f3ff,#e0f8f3);color:#103658;text-decoration:none;box-shadow:0 6px 20px #1765820a}.home-business-card>span:nth-child(2){flex:1;min-width:0}.home-business-card strong{display:block;font-size:20px}.home-business-card small{display:block;margin-top:6px;line-height:1.5;color:#52758c}.home-business-card svg{width:25px;height:25px}.home-business-symbol{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:15px;background:white;color:#0076dc}.home-business-card:focus-visible{outline:3px solid #0076dc;outline-offset:3px}
