/* QSH158 · adapted from DX156 template-29, Không Gian Thư Giãn.
   Customer presentation only. Existing routes, forms, service data and staff UI remain owned by the application. */
.app.mode-customer {
  --rn-noir:#f7f7f2; --rn-charcoal:#fff; --rn-surface:#edf2ec; --rn-surface-2:#e2ece3;
  --rn-gold:#174b43; --rn-gold-hover:#123d36; --rn-gold-pressed:#0d302b;
  --rn-ivory:#172b29; --rn-muted:#49635d; --rn-line:#cbd8ce;
  --rn-danger:#a12626; --rn-denied:#a12626;
  --bg-main:#f7f7f2; --bg-card:#fff; --bg-subtle:#edf2ec;
  --primary:#172b29; --primary-light:#49635d; --accent:#174b43; --accent-dark:#123d36;
  --accent-soft:#e2ece3; --border:#cbd8ce; --ivory:#f7f7f2;
  --surface:#fff; --surface-2:#edf2ec; --ink:#172b29; --muted:#49635d;
  --line:#cbd8ce; --gold:#174b43; --gold-2:#174b43;
  --chrome:#fff; --chrome-2:#f7f7f2; --chrome-3:#edf2ec;
  --qsh-bg:#f7f7f2; --qsh-surface:#fff; --qsh-surface-alt:#edf2ec;
  --qsh-ink:#172b29; --qsh-ink-muted:#49635d; --qsh-primary:#174b43;
  --qsh-primary-ink:#fff; --qsh-accent:#174b43; --qsh-accent-ink:#fff;
  --qsh-hairline:#cbd8ce; --qsh-nav-active:#174b43;
  --shadow-sm:0 2px 12px #172b2906; --shadow-md:0 8px 28px #172b2910;
  --shadow-lg:0 20px 55px #172b2920;
  color-scheme:light; background:#f7f7f2!important; color:#172b29!important;
  min-height:100dvh;
}
html:has(.app.mode-customer),body:has(.app.mode-customer){background:#f7f7f2!important;color:#172b29!important;color-scheme:light}
.app.mode-customer .shell,.app.mode-customer .main{background:#f7f7f2!important;color:#172b29!important}
.app.mode-customer .topbar{background:#fffffff5!important;border-color:#cbd8ce!important;box-shadow:0 1px 0 #172b2908}
.app.mode-customer .brand b{color:#172b29!important}
.app.mode-customer .brand small{color:#49635d!important}
.app.mode-customer .customer-rail{background:#fff!important;border-color:#cbd8ce!important}
.app.mode-customer .nav-item{color:#49635d!important}
.app.mode-customer .nav-item:hover{background:#edf2ec!important;color:#174b43!important}
.app.mode-customer .nav-item.active{background:#e2ece3!important;color:#174b43!important;box-shadow:inset 0 0 0 1px #a5bdb0!important}
.app.mode-customer .main{max-width:1320px;width:100%;margin-inline:auto;padding-top:32px}
.app.mode-customer .qsh-hero{min-height:330px;padding:clamp(28px,4.5vw,60px)!important;background:#e8eee3!important;border:1px solid #cbd8ce!important;border-radius:20px!important;box-shadow:none!important}
.app.mode-customer .qsh-hero::after{display:none!important}
.app.mode-customer .qsh-hero h1{max-width:820px;color:#172b29!important;font-size:clamp(36px,4.2vw,62px)!important;line-height:1.12;letter-spacing:-.035em}
.app.mode-customer .qsh-hero p{max-width:620px;color:#49635d!important;line-height:1.7}
.app.mode-customer .qsh-eyebrow{color:#43655b!important;font-weight:600;letter-spacing:.12em}
.app.mode-customer .qsh-section{margin-top:36px}
.app.mode-customer .qsh-section h2{color:#172b29;font-size:clamp(25px,2.4vw,34px);line-height:1.25}
.app.mode-customer .qsh-needs{gap:12px}
.app.mode-customer .qsh-need{min-height:64px;padding:16px 20px;background:#fff!important;border:1px solid #cbd8ce!important;border-radius:12px;color:#172b29!important;font-weight:500}
.app.mode-customer .qsh-need:hover{background:#edf2ec!important;border-color:#174b43!important;transform:none}
/* Template-29 directory family: one readable service row with its existing booking action. */
.app.mode-customer #homeServices.qsh-service-grid{grid-template-columns:1fr;gap:0;border-top:1px solid #cbd8ce}
.app.mode-customer #homeServices .qsh-service{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;min-height:116px;padding:23px 4px;border:0;border-bottom:1px solid #cbd8ce;border-radius:0;background:transparent!important;box-shadow:none}
.app.mode-customer #homeServices .qsh-service h3{margin:6px 0;font-size:20px;line-height:1.4;color:#172b29}
.app.mode-customer #homeServices .qsh-service p{margin:4px 0;color:#49635d!important}
.app.mode-customer .qsh-commerce{gap:12px}
.app.mode-customer .qsh-commerce button{min-height:100px;padding:20px;background:#fff!important;color:#172b29!important;border-color:#cbd8ce!important;border-radius:12px}
.app.mode-customer .qsh-commerce small{color:#49635d!important;line-height:1.5}
.app.mode-customer :is(.card,.panel,.item,.qsh-state,.qsh-today-card,.qsh-wallet-card,.customer-mini,.wallet-card,.qsh-qcare-reply){background:#fff!important;color:#172b29!important;border-color:#cbd8ce!important;box-shadow:none}
.app.mode-customer :is(.qsh-wallet-card,.customer-mini,.wallet-card){background:#e8eee3!important}
.app.mode-customer :is(.field input,.field select,.field textarea,.search input,.dhub-input input,.qty){background:#fff!important;color:#172b29!important;border-color:#8aa496!important}
.app.mode-customer input::placeholder,.app.mode-customer textarea::placeholder{color:#64776f!important;opacity:1}
.app.mode-customer :is(.btn,.icon-btn,.tab,.qsh-slot){min-height:44px;background:#fff!important;color:#174b43!important;border-color:#8aa496!important;border-radius:8px!important;box-shadow:none!important}
.app.mode-customer :is(.btn.primary,.btn.gold,.booking-submit,.tab.active){background:#174b43!important;color:#fff!important;border-color:#174b43!important}
.app.mode-customer :is(.btn.primary,.btn.gold,.booking-submit):hover{background:#123d36!important;color:#fff!important;border-color:#123d36!important}
.app.mode-customer :is(.qsh-slot.selected,.qsh-booking-steps span.active,.qsh-row[data-state="selected"],.booking-slot[data-state="selected"]){background:#e2ece3!important;color:#174b43!important;border-color:#174b43!important}
.app.mode-customer :is(.booking-policy,.qsh-booking-review){background:#edf2ec!important;color:#49635d!important;border-color:#cbd8ce!important}
.app.mode-customer :is(.btn.danger,.qsh-error){background:#fff0ef!important;color:#a12626!important;border-color:#dba09a!important}
.app.mode-customer :is(button,a,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #996000!important;outline-offset:3px!important}
.app.mode-customer .customer-bottom{background:#fffffff7!important;border-color:#cbd8ce!important;box-shadow:0 -4px 20px #172b290a!important}
.app.mode-customer .customer-bottom button{color:#49635d!important;min-height:52px}
.app.mode-customer .customer-bottom button.active,.app.mode-customer .customer-bottom button.active b{color:#174b43!important}
.app.mode-customer .dhub-btn{background:#174b43!important;color:#fff!important;border-color:#174b43!important}
.app.mode-customer :is(.dhub-panel,.notify,.modal){background:#fff!important;color:#172b29!important;border-color:#cbd8ce!important}
.app.mode-customer .dhub-msg{color:#172b29!important}
@media(max-width:767px){
 .app.mode-customer .main{padding-top:18px!important;padding-bottom:calc(112px + env(safe-area-inset-bottom))!important}
 .app.mode-customer .qsh-hero{min-height:0;padding:28px 22px!important;border-radius:16px!important}
 .app.mode-customer .qsh-hero h1{font-size:clamp(34px,9vw,46px)!important;line-height:1.15}
 .app.mode-customer .qsh-hero-actions{display:flex;flex-direction:column;gap:10px}
 .app.mode-customer .qsh-hero-actions .btn{width:100%;min-height:48px}
 .app.mode-customer .qsh-needs{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .app.mode-customer .qsh-need{min-height:68px;padding:12px;font-size:14px;line-height:1.5}
 .app.mode-customer #homeServices .qsh-service{min-height:116px;padding:20px 2px;gap:12px;grid-template-columns:minmax(0,1fr) auto}
 .app.mode-customer #homeServices .qsh-service h3{font-size:17px}
 .app.mode-customer #homeServices .qsh-service .btn{padding:10px 12px;white-space:nowrap}
 .app.mode-customer .qsh-commerce{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .app.mode-customer .qsh-commerce button{padding:16px;min-height:100px}
}
@media(max-width:359px){.app.mode-customer #homeServices .qsh-service{grid-template-columns:1fr}.app.mode-customer #homeServices .qsh-service .btn{justify-self:start}}
@media(prefers-reduced-motion:reduce){.app.mode-customer *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
