
:root{
 --wine:#6e2d45;--rose:#c76581;--rose2:#f4dfe6;--bg:#f8f4f6;--card:#fff;
 --line:#eadde2;--ink:#2e262b;--muted:#82757c;--good:#287a54;--bad:#a83b4e;
 --shadow:0 12px 32px rgba(80,35,54,.08)
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink)}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
a{color:inherit}
.hidden{display:none!important}
.shell{max-width:1440px;margin:auto;padding:18px}
.topbar{background:#fff;border:1px solid var(--line);border-radius:18px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;position:relative;box-shadow:var(--shadow)}
.brand{font:800 24px Georgia,serif;color:var(--wine);line-height:1}
.brand small{display:block;font:700 8px Inter,sans-serif;letter-spacing:2.5px;margin-top:5px;text-align:center}
.userbox{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}
.rolepill,.pill{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;background:#f4edf0;color:var(--wine);font-weight:700}
.layout{display:grid;grid-template-columns:235px minmax(0,1fr);gap:18px;margin-top:18px}
.side{background:#fff;border:1px solid var(--line);border-radius:18px;padding:10px;height:max-content;position:sticky;top:10px}
.side button{display:flex;align-items:center;gap:9px;width:100%;border:0;background:transparent;padding:12px;border-radius:11px;color:var(--muted);text-align:left}
.side button.active{background:#f6e8ed;color:var(--wine);font-weight:800}
.content{min-width:0}
.card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:17px;box-shadow:0 7px 22px rgba(80,35,54,.035);margin-bottom:14px}
.head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.head h2,.head h3{margin:0}
.btn{border:0;background:var(--rose);color:white;padding:10px 14px;border-radius:10px;font-weight:800}
.btn.secondary{background:#f2e6ea;color:var(--wine)}
.btn.ghost{background:transparent;color:var(--wine);border:1px solid var(--line)}
.btn.bad{background:#f9e3e7;color:var(--bad)}
.btn.small{padding:7px 9px;font-size:11px}
.filters{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.filters button{border:1px solid var(--line);background:#fff;padding:8px 11px;border-radius:999px;color:var(--muted);font-weight:700}
.filters button.active{background:var(--wine);border-color:var(--wine);color:#fff}
.filters select,.filters input{border:1px solid var(--line);background:#fff;padding:8px 10px;border-radius:10px;color:var(--ink)}
.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:14px}
.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px}
.stat .label{color:var(--muted);font-size:12px}
.stat b{display:block;color:var(--wine);font-size:28px;margin-top:7px}
.stat small{color:var(--muted)}
.money b{font-size:25px}
.split{display:grid;grid-template-columns:1.15fr .85fr;gap:14px}
.tablewrap{overflow:auto}
table{width:100%;border-collapse:collapse}
th,td{padding:11px 9px;border-bottom:1px solid var(--line);text-align:left;white-space:nowrap;font-size:13px}
th{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.4px}
.customer{font-weight:700}
.muted{color:var(--muted);font-size:12px}
.empty{text-align:center;padding:34px;color:var(--muted)}
.good{color:var(--good)}
.badtext{color:var(--bad)}
.login{max-width:430px;margin:9vh auto;background:#fff;border:1px solid var(--line);border-radius:22px;padding:25px;box-shadow:var(--shadow)}
.login .brand{font-size:32px;text-align:center;margin-bottom:25px}
.login h1{text-align:center;font:700 27px Georgia,serif;color:var(--wine);margin:8px 0}
.login p{text-align:center;color:var(--muted)}
.field{display:grid;gap:6px;margin:12px 0}
.field label{font-size:11px;font-weight:800;color:var(--muted)}
.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:10px;padding:11px;background:#fff}
.login .btn{width:100%;margin-top:8px}
.msg{font-size:12px;margin-top:10px}
.item{display:flex;align-items:center;gap:13px;padding:12px 0;border-bottom:1px solid var(--line)}
.item:last-child{border-bottom:0}
.thumb{width:60px;height:60px;border-radius:12px;object-fit:cover;background:#f4e5ea}
.grow{flex:1;min-width:0}
.actions{display:flex;gap:6px;flex-wrap:wrap}
.formrow{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.performance{display:grid;gap:9px}
.perfrow{display:grid;grid-template-columns:minmax(130px,1.4fr) repeat(4,1fr);gap:8px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:12px}
.perfrow.header{border:0;color:var(--muted);font-size:10px;text-transform:uppercase;padding-top:0}
.perfrow b{color:var(--wine)}
.notice{padding:12px;border:1px solid #f1df9c;background:#fff9df;border-radius:10px;font-size:12px}
.modalback{position:fixed;inset:0;background:rgba(40,25,33,.48);display:flex;align-items:center;justify-content:center;padding:18px;z-index:100;overflow-y:auto}
.modal{background:#fff;border-radius:18px;padding:20px;max-width:480px;width:100%;max-height:calc(100vh - 36px);max-height:calc(100dvh - 36px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 25px 70px rgba(0,0,0,.22)}
.modal > .actions{position:sticky;bottom:-20px;background:#fff;padding:12px 0 20px;z-index:1;border-top:1px solid var(--line)}
.contact-inbox-item{align-items:flex-start;flex-wrap:wrap}.contact-message-body{white-space:pre-wrap;overflow-wrap:anywhere;max-width:75ch;margin:10px 0 0;line-height:1.5}
@media(max-width:600px){.modalback{padding:10px}.modal{max-height:calc(100dvh - 20px);padding:16px}.modal > .actions{bottom:-16px;padding-bottom:16px}}
.modal h3{margin-top:0}
.booking-total{font-weight:800;color:var(--wine)}
@media(max-width:980px){
 .stats{grid-template-columns:repeat(2,1fr)}
 .split{grid-template-columns:1fr}
 .perfrow{grid-template-columns:1.3fr repeat(2,1fr)}
 .perfrow .hide-sm{display:none}
}
@media(max-width:760px){
 .shell{padding:10px}
 .topbar{position:static}
 .layout{grid-template-columns:1fr}
 .side{position:static;display:flex;overflow:auto;gap:5px}
 .side button{min-width:max-content}
 .stats{grid-template-columns:1fr 1fr;gap:8px}
 .stat{padding:13px}
 .stat b{font-size:23px}
 .formrow{grid-template-columns:1fr}
 .user-email{display:none}
 .performance{overflow:auto}
 .perfrow{min-width:610px}
}

/* V3 quick counter payment */
.booking-paid,.booking-paid-complete{white-space:nowrap}
@media(max-width:760px){
  td .actions{min-width:220px}
}

.thumb[src='']{display:none}

/* V6 App Design */
.design-row{
  display:grid;
  grid-template-columns:minmax(180px,1fr) 190px auto;
  gap:14px;
  align-items:center;
  padding:14px 0;
  border-bottom:1px solid var(--line,#eadfe2);
}
.design-preview{
  height:86px;border-radius:12px;overflow:hidden;
  background:#f7f1f3;display:flex;align-items:center;justify-content:center;
  color:#9a858b;font-size:11px;
}
.design-preview img{width:100%;height:100%;object-fit:cover}
@media(max-width:760px){
  .design-row{grid-template-columns:1fr}
  .design-preview{height:130px}
}

/* V7 Staff Performance */
.staff-welcome{background:linear-gradient(135deg,#fff9fb,#fbe8ef)}
.mini-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:10px}
.mini-stats>div{background:#fff;border:1px solid #f1d9e2;border-radius:14px;padding:14px}
.mini-stats span{display:block;color:#7b6870;font-size:12px;margin-bottom:6px}
.mini-stats b{font-size:20px;color:#6e2d45}
.service-mix{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.mixrow{display:flex;justify-content:space-between;gap:14px;padding:11px 13px;border-radius:12px;background:#fff7fa;border:1px solid #f2dce4}
@media(max-width:760px){
 .mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
 .service-mix{grid-template-columns:1fr}
}

/* V8 Walk-In / Reception */
.floor .pill.paid{background:#e9f7ef;color:#23784b}
.modalbox.wide{max-width:820px}
.wi-line{display:grid;grid-template-columns:2fr 1.5fr 1fr auto;gap:10px;align-items:end;padding:12px;margin:10px 0;border:1px solid #efdce4;border-radius:14px;background:#fff9fb}
.wi-line label{margin:0}
.actions.end{justify-content:flex-end;margin-top:18px}
@media(max-width:720px){.wi-line{grid-template-columns:1fr 1fr}.wi-line .wi-remove{align-self:end}}

/* V8.2 Brand & Header */
.brand-editor{margin:16px 0 20px;padding:18px;border:1px solid #ecd8e0;border-radius:16px;background:#fff9fb}
.brand-editor h3{margin:0 0 4px}
#brand-save-msg{margin-left:10px}

/* V8.3 portal identity */
.portal-person{display:flex;flex-direction:column;align-items:flex-end;line-height:1.15}
.portal-person strong{color:#6f263f;font-size:14px}
.portal-person span{font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#9a6074;margin-top:3px}
@media(max-width:700px){.user-email{display:none}.portal-person{align-items:flex-end}}

/* V8.6 Professional Walk-In */
.wi-overlay{position:fixed;inset:0;z-index:9999;background:rgba(30,22,27,.58);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;padding:24px;overflow:auto}
.wi-modal{width:min(1120px,96vw);max-height:94vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 28px 80px rgba(43,18,29,.28);border:1px solid #eadde2}
.wi-titlebar{display:flex;align-items:center;gap:14px;padding:22px 26px;border-bottom:1px solid #eee2e6;position:sticky;top:0;background:#fff;z-index:3}
.wi-titlebar h2{margin:0;font-size:25px}.wi-titlebar p{margin:3px 0 0;color:#7f7378}.wi-titleicon{width:48px;height:48px;border-radius:13px;background:#cf5d7f;color:white;display:grid;place-items:center;font-size:24px}.wi-close{margin-left:auto;width:42px;height:42px;border:1px solid #ddd0d5;border-radius:10px;background:#f8f5f6;font-size:25px;cursor:pointer}
.wi-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.9fr);gap:18px;padding:20px 24px 25px}.wi-left,.wi-right{display:flex;flex-direction:column;gap:16px}.wi-panel{border:1px solid #eadde2;border-radius:15px;overflow:hidden;background:#fff}.wi-panel-title{padding:13px 16px;background:linear-gradient(90deg,#fff5f8,#f9eff2);color:#7a1f3e;display:flex;justify-content:space-between;gap:10px;align-items:center}.wi-small{font-size:12px;color:#8c747d;font-weight:400}.wi-panel>label,.wi-panel>.wi-two,.wi-panel>.wi-addrow,.wi-panel>.wi-summaryrow,.wi-panel>.wi-total,.wi-panel>.wi-radio{margin-left:16px;margin-right:16px}.wi-two{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:15px 0}.wi-panel label{font-weight:600;color:#352c30}.wi-panel label span{font-weight:400;color:#8a7c82;font-size:12px}.wi-panel input,.wi-panel select,.wi-panel textarea{width:100%;box-sizing:border-box;border:1px solid #d9cdd2;border-radius:8px;padding:10px 11px;background:#fff;font:inherit;margin-top:6px}.wi-addrow{display:grid;grid-template-columns:1.45fr 1.15fr .7fr auto;gap:10px;align-items:end;padding:15px 0}.wi-addbtn{height:42px}.wi-added-head{display:flex;justify-content:space-between;align-items:center;padding:11px 16px;background:#fff7f9;border-top:1px solid #f1e5e9;border-bottom:1px solid #f1e5e9;color:#7a1f3e}.wi-textbtn{border:0;background:transparent;color:#8a3452;font-weight:700;cursor:pointer}.wi-lines{min-height:118px;padding:10px 16px 15px}.wi-empty{text-align:center;color:#8f8589;padding:27px 10px}.wi-empty small{display:block;margin-top:6px}.wi-line-pro{display:grid;grid-template-columns:1.5fr 1fr .65fr 34px;gap:10px;align-items:center;padding:10px;border-bottom:1px solid #eee4e7}.wi-remove-pro{border:0;border-radius:8px;background:#f6e9ee;color:#7a1f3e;height:30px;cursor:pointer}.wi-notes{padding-bottom:14px}.wi-notes label{display:block;margin-top:14px}.wi-notes textarea{min-height:70px;resize:vertical}.wi-summaryrow{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid #eee4e7}.wi-discount{display:flex;width:145px;gap:6px}.wi-discount input{margin:0}.wi-discount select{margin:0;width:58px}.wi-total{display:flex;justify-content:space-between;align-items:center;padding:16px 0;font-size:21px;color:#7a1f3e}.wi-total b{font-size:28px}.wi-radio{display:flex!important;align-items:center;gap:9px;padding:10px 0;font-weight:500!important}.wi-radio input{width:auto;margin:0}.wi-right .wi-panel{padding-bottom:8px}.wi-full{width:calc(100% - 32px);margin:12px 16px 4px}.wi-complete{font-size:16px;padding:13px}
@media(max-width:850px){.wi-overlay{padding:10px;align-items:flex-start}.wi-modal{width:100%;max-height:none}.wi-grid{grid-template-columns:1fr;padding:14px}.wi-addrow{grid-template-columns:1fr 1fr}.wi-addbtn{grid-column:1/-1}.wi-two{grid-template-columns:1fr}.wi-titlebar{padding:16px}.wi-titlebar h2{font-size:21px}}
@media(max-width:520px){.wi-addrow{grid-template-columns:1fr}.wi-addbtn{grid-column:auto}.wi-line-pro{grid-template-columns:1fr 1fr}.wi-titlebar p{font-size:12px}}

/* V8.7 actual professional walk-in */
.wi-pro-overlay{position:fixed;inset:0;z-index:10000;background:rgba(35,27,31,.58);display:flex;align-items:center;justify-content:center;padding:22px;overflow:auto}
.wi-pro-modal{width:min(1120px,96vw);max-height:94vh;overflow:auto;background:#fff;border-radius:20px;box-shadow:0 28px 85px rgba(42,18,29,.3);border:1px solid #eadde2}
.wi-pro-head{display:flex;align-items:center;gap:14px;padding:20px 24px;border-bottom:1px solid #eadde2;background:#fff;position:sticky;top:0;z-index:2}
.wi-pro-head h2{margin:0;font-size:25px}.wi-pro-head p{margin:4px 0 0;color:#807278}.wi-pro-icon{width:48px;height:48px;border-radius:13px;background:#cf5d7f;color:#fff;display:grid;place-items:center;font-size:24px}.wi-pro-close{margin-left:auto;width:42px;height:42px;border:1px solid #ddd0d5;border-radius:10px;background:#f8f5f6;font-size:25px;cursor:pointer}
.wi-pro-body{display:grid;grid-template-columns:minmax(0,2fr) minmax(290px,.9fr);gap:18px;padding:20px 24px 25px}.wi-pro-main,.wi-pro-side{display:flex;flex-direction:column;gap:16px}.wi-pro-card{border:1px solid #eadde2;border-radius:15px;background:#fff;overflow:hidden;padding:0 16px 16px}.wi-pro-card h3{margin:0 -16px 14px;padding:13px 16px;background:linear-gradient(90deg,#fff5f8,#f9eff2);color:#7a1f3e;font-size:16px}.wi-pro-card h3 span,.wi-pro-card label span{font-size:12px;color:#8b7b82;font-weight:400}.wi-pro-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.wi-pro-card input,.wi-pro-card select,.wi-pro-card textarea{box-sizing:border-box;width:100%;padding:10px;border:1px solid #d9cdd2;border-radius:8px;background:#fff;font:inherit;margin-top:6px}.wi-pro-card textarea{min-height:80px;resize:vertical}.wi-pro-card .wi-line{display:grid;grid-template-columns:1.45fr 1.1fr .65fr 38px;gap:10px;align-items:end;padding:12px 0;border-bottom:1px solid #f0e5e8}.wi-pro-card .wi-line .iconbtn{margin-bottom:1px}.wi-pro-sum{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid #eee4e7}.wi-pro-disc{display:flex;gap:6px;width:150px}.wi-pro-disc input,.wi-pro-disc select{margin:0}.wi-pro-disc select{width:58px}.wi-pro-total{display:flex;justify-content:space-between;align-items:center;padding-top:16px;color:#7a1f3e;font-size:20px}.wi-pro-total b{font-size:28px}.wi-pro-radio{display:flex!important;align-items:center;gap:8px;padding:9px 0}.wi-pro-radio input{width:auto;margin:0}.wi-pro-full{width:100%;margin-top:9px;padding:12px}
@media(max-width:850px){.wi-pro-overlay{padding:10px;align-items:flex-start}.wi-pro-modal{width:100%;max-height:none}.wi-pro-body{grid-template-columns:1fr;padding:14px}.wi-pro-two{grid-template-columns:1fr}.wi-pro-card .wi-line{grid-template-columns:1fr 1fr}.wi-pro-head{padding:15px}.wi-pro-head h2{font-size:21px}}
@media(max-width:520px){.wi-pro-card .wi-line{grid-template-columns:1fr}.wi-pro-head p{font-size:12px}}

.wi-row-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.btn.danger{background:#fff4f5!important;color:#9f2f45!important;border:1px solid #e8bdc6!important}
.btn.danger:hover{background:#fbe5e9!important}

/* V8.11 combined performance */
.performance-combined .perfrow{grid-template-columns:1.35fr .9fr .8fr 1fr 1fr 1fr}
.perf-source{display:block;margin-top:3px;color:#8b7b82;font-weight:400;white-space:nowrap}
@media(max-width:850px){
 .performance-combined .perfrow{grid-template-columns:1.25fr .9fr .9fr 1fr}
 .performance-combined .perfrow>div:nth-child(3),.performance-combined .perfrow>div:nth-child(4){display:none}
}

/* V8.12 per-service discount */
.wi-pro-card .wi-line{grid-template-columns:1.35fr 1.05fr .62fr .85fr .55fr 38px}
.wi-line-disc{display:flex;gap:5px}.wi-line-disc input{min-width:0}.wi-line-disc select{width:58px}
.wi-line-final{display:block;padding:12px 4px 9px;color:#7a1f3e;font-size:16px}
.wi-discount-tag{display:inline-block;margin:3px 0 3px 5px;padding:2px 7px;border-radius:999px;background:#fff0f4;color:#9b3153;font-size:11px;font-weight:700}
@media(max-width:900px){.wi-pro-card .wi-line{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.wi-pro-card .wi-line{grid-template-columns:1fr}}

/* V8.13 Walk-In dashboard */
.walkin-dashboard{margin-top:18px}
.walkin-dashboard .walkin-period{font-size:12px;color:#8d7d84}
.walkin-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:14px}
.walkin-kpis>div{padding:16px;border:1px solid #f0e4e8;border-radius:16px;background:linear-gradient(180deg,#fff,#fffafb)}
.walkin-kpis span{display:block;font-size:12px;color:#87777e;font-weight:700;margin-bottom:7px}
.walkin-kpis b{display:block;font-size:23px;color:#402f36}
.walkin-kpis small{display:block;color:#9b8b91;margin-top:5px;line-height:1.35}
.walkin-kpis .discount b{color:#a33f5e}.walkin-kpis .paid b{color:#6f4050}
@media(max-width:1050px){.walkin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.walkin-kpis{grid-template-columns:1fr}}

/* V8.14 source-separated sales dashboard */
.sales-periods{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.sales-periods button{border:1px solid #eadbe0;background:#fff;border-radius:999px;padding:7px 11px;color:#745965;font-size:12px;font-weight:700;cursor:pointer}
.sales-periods button.active{background:#7d2948;color:#fff;border-color:#7d2948}
.source-total,.source-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:14px}
.source-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}
.source-total>div,.source-kpis>div{padding:15px;border:1px solid #f0e4e8;border-radius:16px;background:#fffafb}
.source-total span,.source-kpis span{display:block;font-size:12px;color:#87777e;font-weight:700;margin-bottom:7px}
.source-total b,.source-kpis b{display:block;font-size:22px;color:#402f36}
.source-total small,.source-kpis small{display:block;color:#9b8b91;margin-top:5px}
.source-total .grand{background:#fff3f6}.source-total .grand b,.source-kpis .paid b{color:#8a284a}
.walkin-head-actions{display:flex;align-items:flex-end;gap:8px;flex-direction:column}
@media(max-width:1050px){.source-total,.source-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.source-total,.source-kpis{grid-template-columns:1fr}.sales-periods{justify-content:flex-start}.walkin-head-actions{align-items:flex-start}}

/* V8.15 cleaner dashboard */
.online-clean{grid-template-columns:repeat(3,minmax(0,1fr))}
.online-clean .discount b{color:#a33f5e}
.booking-discount{display:inline-block;margin-top:3px;color:#a33f5e;font-weight:700}
@media(max-width:900px){.online-clean{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.online-clean{grid-template-columns:1fr}}

.myday-list{display:grid;gap:10px}.myday-row{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #eadde2;border-radius:14px;background:#fff}.myday-time{min-width:88px;display:flex;flex-direction:column}.myday-time small{color:#806f76}
@media(max-width:700px){.myday-row{align-items:flex-start;flex-wrap:wrap}.myday-row .actions{width:100%}.myday-row .actions button{flex:1}}

/* V8.19 Staff My Bookings */
.staff-booking-list{display:grid;gap:10px;margin-top:12px}
.staff-booking-row{display:flex;align-items:center;gap:16px;padding:14px 16px;border:1px solid #eadde2;border-radius:14px;background:#fff}
.staff-booking-date{min-width:145px;display:flex;flex-direction:column;gap:2px}.staff-booking-date span{font-weight:700;color:#8e294b}
.staff-booking-meta{display:flex;flex-direction:column;align-items:flex-end;gap:5px}.count-pill{display:inline-flex;min-width:34px;height:34px;align-items:center;justify-content:center;border-radius:20px;background:#f4e3e9;color:#7f2443;font-weight:800}
.staff-booking-list.past{opacity:.88}
@media(max-width:700px){.staff-booking-row{align-items:flex-start;flex-wrap:wrap}.staff-booking-date{min-width:120px}.staff-booking-meta{width:100%;align-items:flex-start}}

/* V8.20 simplified staff day + clickable refresh */
.myday-simple-list{display:grid;gap:10px;margin-top:12px}
.myday-simple-row{display:flex;align-items:center;gap:18px;padding:16px;border:1px solid #eadde2;border-radius:14px;background:#fff}
.myday-simple-time{min-width:95px;font-size:1.05rem;font-weight:800;color:#8e294b}
.staff-refresh-btn{position:relative!important;z-index:20!important;pointer-events:auto!important;cursor:pointer!important}
.pagehead{position:relative}.pagehead>button{pointer-events:auto;position:relative;z-index:20}
@media(max-width:700px){.myday-simple-row{padding:13px}.myday-simple-time{min-width:82px}}

/* V8.21 reception queue */
.queue-counts{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:14px 0 18px}.queue-counts span{background:#fff;border:1px solid #eadde2;border-radius:12px;padding:10px 15px}.queue-counts b{color:#8e294b;font-size:1.25rem;margin-right:5px}.queue-counts button{margin-left:auto}
.queue-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #eee0e5;padding:16px 0}.queue-row>div:first-child{display:grid;gap:4px}.queue-row small{display:block;color:#75636b}.queue-actions{display:flex;gap:6px;flex-wrap:wrap}
.field[hidden]{display:none!important}
@media(max-width:700px){.queue-row{align-items:flex-start;flex-direction:column}.queue-actions{width:100%}.queue-counts button{margin-left:0}}

/* V8.24 payment methods */
.payment-method-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.payment-method-note{font-size:12px;margin:12px 0 0}
@media(max-width:900px){.payment-method-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.payment-method-kpis{grid-template-columns:1fr}}

/* V8.25 memberships */
.member-hint{font-size:13px;color:#674455;display:grid;gap:5px;margin-top:10px}.member-hint small{color:#7d6b74}.member-hint button{justify-self:start}.queue-row .pill{justify-self:start}

/* V8.49: compact loyalty lookup on desktop and phones. */
.loyalty-search-row{display:flex;flex-wrap:wrap;gap:12px;align-items:end}
.loyalty-search-row .field{flex:1 1 260px;min-width:0;margin:0}
.loyalty-search-row .field input{width:100%}
.loyalty-search-row #loyalty-find{flex:0 0 auto;min-height:52px;padding:10px 20px}
@media(max-width:520px){.loyalty-search-row #loyalty-find{width:100%}}
/* Gift voucher QR card: local rendering with a four-module quiet zone. */
.gift-preview-card{max-width:580px}.gift-card-printable{text-align:center;border:1px solid #eadce0;border-radius:14px;background:white;padding:24px;margin:16px 0;color:#34232c}.gift-card-brand{letter-spacing:.18em;font-weight:800;color:#702b47}.gift-card-printable .gift-qr{max-width:100%;height:auto;image-rendering:pixelated;display:block;margin:12px auto}.gift-card-code{font-weight:800;font-size:1.3rem;letter-spacing:.1em}.gift-card-printable small{display:block;max-width:300px;margin:12px auto;color:#59444d}#gift-print-overlay{display:none}
@media print{body.gift-printing .shell,body.gift-printing #app{display:none!important}body.gift-printing #gift-print-overlay{display:block!important;position:static;width:100%;background:white}body.gift-printing #gift-print-overlay .gift-card-printable{width:360px;margin:30px auto;border:1px solid #222;box-shadow:none}body.gift-printing #gift-print-overlay .gift-qr{width:260px;height:260px}}

.roster-scroll{overflow:auto;background:white;border:1px solid #ead9df;border-radius:10px;margin:22px 0}.roster-table{border-collapse:collapse;min-width:1080px;width:100%}.roster-table th,.roster-table td{border:1px solid #eee;padding:12px;text-align:left}.roster-day{width:100%;background:#fff7fa;color:#5d293d;border:1px solid #e7cfd9;padding:12px 8px;border-radius:6px;cursor:pointer;font:14px Arial}.roster-day.modified{background:#fff0d8;border-color:#ce9c5c}.roster-day small{display:block;margin-top:8px;font-size:12px}.roster-calendar{display:grid;min-width:850px}.roster-column-head{padding:15px;text-align:center;background:#fff8fa;border-bottom:1px solid #ddd}.roster-column-head small{font-size:14px}.roster-timeline,.roster-timecol{height:720px;position:relative;border-right:1px solid #eee}.roster-timeline{background:repeating-linear-gradient(to bottom,#fff 0,#fff 59px,#eee 59px,#eee 60px)}.roster-timecol span{position:absolute;left:8px;font-size:14px;color:#777}.roster-block{position:absolute;left:4px;right:4px;overflow:hidden;padding:5px 8px;border:1px solid #ccc;border-radius:4px;text-align:left;font:14px/1.3 Arial;cursor:pointer}.roster-block b,.roster-block small{display:block}.roster-block small{font-size:12px}.calendar-online{background:#e5e9ff;color:#344176}.calendar-walkin{background:#fff0de;color:#865523}.calendar-off{background:#eee;color:#888}.calendar-break{background:repeating-linear-gradient(45deg,#eee,#eee 5px,#ddd 5px,#ddd 10px);color:#555}.roster-legend{display:flex;gap:15px;flex-wrap:wrap;margin:20px 0;font-size:14px}.roster-legend span{padding:8px;border-radius:5px}

.modal .field[hidden]{display:none!important}

/* Sarah team workspace: daily calendar and weekly roster share one toolbar. */
.team-eyebrow{color:#9c4962;font-size:12px;letter-spacing:2px;font-weight:700;margin:0 0 8px}.team-title h1{font-family:Georgia,serif;font-size:32px;font-weight:400}.team-tabs{display:flex;gap:10px;border-bottom:1px solid #ead9df;padding:0 0 15px;margin-bottom:20px}.team-toolbar{flex-wrap:wrap;gap:10px;margin:20px 0}.team-toolbar label{display:flex;align-items:center;gap:8px}.team-toolbar input{border:1px solid #d6c9ce;padding:9px;border-radius:5px;background:white;font:inherit}.team-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:12px 0 22px}.team-metric{background:white;border:1px solid #ead9df;border-radius:8px;padding:18px}.team-metric span{color:#786b71;font-size:14px}.team-metric b{display:block;font-size:27px;margin-top:6px}.team-edit-hours{display:block;margin:9px auto 0}.team-normal{margin-top:25px}.team-normal small{display:block;color:#786b71;margin-top:5px}.roster-day:disabled{cursor:default;opacity:1}.roster-column-head small{display:block}.team-normal .item{flex-wrap:wrap;gap:10px}
@media(max-width:700px){.team-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.team-title{align-items:flex-start;flex-direction:column}.team-tabs .btn{font-size:14px}.team-toolbar .btn{font-size:14px;padding:9px 12px}.team-metric{padding:14px}}

.team-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.team-title>div{min-width:0;flex:1}.team-title>#team-add-walkin{flex:0 0 auto;margin-left:auto;white-space:nowrap;align-self:center}
@media(max-width:700px){.team-title{flex-direction:column;align-items:stretch;gap:12px}.team-title>#team-add-walkin{align-self:flex-end;margin-left:auto;max-width:100%;white-space:normal}.team-title h1{font-size:28px}}

.service-category{padding:0;overflow:hidden}.service-category>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;background:#fbf1f5;padding:20px 22px;list-style:none}.service-category>summary:before{content:'▸';color:#9c4962}.service-category[open]>summary:before{content:'▾'}.service-category>summary span{flex:1;font-size:20px;font-weight:700;color:#6e2d45}.service-category>summary small{font-size:13px;color:#786b71}.service-category-body{padding:18px 22px}.service-subgroup h3{background:#faf6f8;padding:12px 14px;border-left:3px solid #c76581;font-size:16px;margin:14px 0 0}.service-subgroup .item:last-child{border-bottom:0}@media(max-width:700px){.service-category>summary{padding:16px;flex-wrap:wrap}.service-category>summary small{width:100%;padding-left:20px}.service-category-body{padding:12px 16px}}

.content-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:8px;background:#fff4f7;border:1px solid #dfced4;border-radius:10px 10px 0 0}.content-toolbar button{padding:7px 10px;border:1px solid #dfced4;border-radius:6px;background:white;cursor:pointer}.content-toolbar label{display:flex;align-items:center;gap:5px}.content-toolbar input[type=color]{width:38px;height:30px;padding:2px}.content-editor{min-height:220px;max-height:400px;overflow:auto;padding:14px;border:1px solid #dfced4;border-radius:0 0 10px 10px;background:white;line-height:1.6}.content-editor:focus{outline:2px solid #6e2d45}.content-editor h2{font-size:1.4em}.content-editor ul,.content-editor ol{padding-left:24px}

.roster-scroll{max-height:70vh;max-height:70dvh;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable}.roster-calendar .roster-column-head{position:sticky;top:0;z-index:5;background:#fff8fb}.roster-timeline button.roster-block{overflow-y:auto!important;overflow-x:hidden;white-space:normal;line-height:1.3;scrollbar-width:thin;padding:3px 7px;color:#30272b}.roster-timeline button.roster-block small{display:block;white-space:normal}.roster-timeline button.roster-block:focus-visible{outline:3px solid #6e2d45;z-index:6}.modal{overflow-y:auto!important;scrollbar-gutter:stable}.modalback{overflow-y:auto!important}

.calendar-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.calendar-main{min-width:0}.calendar-detail-panel{background:white;border:1px solid #ead9df;border-radius:12px;padding:22px;position:sticky;top:20px;max-height:80vh;overflow-y:auto;overflow-wrap:anywhere}.calendar-detail-panel h2{font-size:22px}.calendar-detail-panel p{line-height:1.55}.calendar-detail-panel .actions{flex-wrap:wrap;gap:8px}.calendar-detail-panel .btn{white-space:normal}.calendar-filters{display:flex;gap:16px;align-items:end;flex-wrap:wrap;margin:20px 0}.calendar-filters label{display:grid;gap:6px;min-width:170px}.calendar-filters select{padding:10px}.calendar-empty-slot{position:absolute;left:2px;right:2px;height:15px;border:0;border-bottom:1px dotted #ddd;background:transparent;cursor:pointer;z-index:1;padding:0;font-size:11px;color:#6e2d45}.calendar-empty-slot span{visibility:hidden}.calendar-empty-slot:hover,.calendar-empty-slot:focus-visible{background:#f5dce7;outline:2px solid #a34d66;z-index:3}.calendar-empty-slot:hover span,.calendar-empty-slot:focus-visible span{visibility:visible}.roster-timeline .roster-block{z-index:2}.roster-timeline .calendar-off,.roster-timeline .calendar-break{z-index:0;pointer-events:none}
@media(max-width:1000px){.calendar-workspace{grid-template-columns:minmax(0,1fr)}.calendar-detail-panel{position:static;max-height:none}.calendar-filters label{flex:1;min-width:130px}}

.customer-history{border-top:1px solid #ead9df;margin-top:22px;padding-top:18px}.customer-history h3{font-size:18px}.customer-history .head{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.customer-history select,.customer-history textarea{width:100%;box-sizing:border-box;padding:10px}.customer-history-visits{list-style:none;padding:0;margin:12px 0}.customer-history-visits li{padding:12px 0;border-top:1px solid #eee;overflow-wrap:anywhere}.customer-history-visits b,.customer-history-visits span,.customer-history-visits small{display:block}.customer-history-visits small{color:#77656e}.customer-history-visits p{font-size:13px;margin:6px 0}.customer-history h4{margin-top:24px}

/* Details float over the page rather than reducing the schedule width. */
.calendar-workspace{display:block}.calendar-detail-panel{position:fixed;top:18px;right:18px;bottom:18px;width:min(390px,calc(100vw - 36px));max-height:none;box-sizing:border-box;z-index:80;box-shadow:-10px 0 40px #37212b33;border-radius:14px;overflow-y:auto;overscroll-behavior:contain}.calendar-detail-panel[hidden]{display:none!important}.calendar-detail-toolbar{position:sticky;top:-22px;margin:-22px -22px 18px;padding:14px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff;border-bottom:1px solid #ead9df;z-index:2}.calendar-detail-toolbar b{font-size:16px}.calendar-detail-content h2{margin-top:0}.calendar-main .roster-scroll{width:100%;box-sizing:border-box}
@media(max-width:600px){.calendar-detail-panel{top:8px;right:8px;bottom:8px;width:calc(100vw - 16px)}}

body.schedule-is-expanded{overflow:hidden}.schedule-view.is-expanded{position:fixed;inset:10px;z-index:70;overflow:auto;box-sizing:border-box;background:#fbf7fa;padding:24px;border:1px solid #e6d3dc;border-radius:14px;box-shadow:0 0 0 20px #fbf7fa}.schedule-view.is-expanded .team-title{padding-right:190px}.schedule-view.is-expanded #schedule-expand{position:fixed;top:24px;right:30px;z-index:75;background:#6e2d45;color:white}.schedule-view.is-expanded .team-metrics{display:none}.schedule-view.is-expanded .team-eyebrow{display:none}.schedule-view.is-expanded .team-title h1{margin:0;font-size:26px}.schedule-view.is-expanded .team-title p{margin:8px 0}.schedule-view.is-expanded .team-toolbar{margin:10px 0}.schedule-view.is-expanded .calendar-filters{margin:10px 0}.schedule-view.is-expanded .roster-legend{margin:10px 0}.schedule-view.is-expanded .roster-scroll{max-height:calc(100dvh - 240px);margin:12px 0}.schedule-view.is-expanded .roster-column-head{padding:10px}.schedule-view.is-expanded .team-normal{margin-top:20px}@media(max-width:600px){.schedule-view.is-expanded{inset:0;border-radius:0;padding:14px}.schedule-view.is-expanded .team-title{padding-right:110px}.schedule-view.is-expanded #schedule-expand{top:12px;right:12px;padding:10px}.schedule-view.is-expanded .roster-scroll{max-height:70dvh}}

/* Family checkout keeps each reference and price visible on narrow screens. */
.family-payment-bill{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #eadce2;white-space:normal}
.family-payment-bill>div{min-width:0}.family-payment-bill small,.family-payment-bill span{display:block;overflow-wrap:anywhere}.family-payment-bill>strong{white-space:nowrap}
.checkout-membership{margin:12px 0;padding:14px}.checkout-membership label{display:block;margin:10px 0}.checkout-membership input:not([type=checkbox]),.checkout-membership select{width:100%;max-width:100%}

/* Calendar payment and service state stays visible over each appointment colour. */
.calendar-block-heading{display:flex;align-items:center;justify-content:space-between;gap:4px;flex-wrap:wrap}.calendar-block-heading b{min-width:0;overflow-wrap:anywhere}
.calendar-status-badge{display:inline-block;border-radius:4px;padding:1px 4px;font:bold 10px/1.35 Arial;white-space:nowrap;color:#61400c;background:#fff0c8;border:1px solid #d5a147}
.calendar-status-badge.status-paid{background:#dceaff;color:#194d87;border-color:#8bb4e7}.calendar-status-badge.status-completed-paid{background:#d6f1df;color:#155d32;border-color:#79b992}
.calendar-status-badge.status-completed-unpaid{background:#fff0c8;color:#75410a;border-color:#d5a147}.calendar-state-completed-paid,.calendar-state-completed-unpaid{box-shadow:inset 0 0 0 1px #237a49}
.roster-legend .calendar-legend-unpaid{background:#fff0c8;border-left:5px solid #b77416}.roster-legend .calendar-legend-paid{background:#dceaff;border-left:5px solid #2865b0}.roster-legend .calendar-legend-completed{background:#d6f1df;border-left:5px solid #237a49}

.calendar-family-badge{display:block;font-size:11px;font-weight:700;color:#452759;overflow-wrap:anywhere}.family-calendar-summary{padding:14px;background:#f4edf8;border:1px solid #dbcbe5;border-radius:10px;margin-bottom:14px}

.calendar-overlap-badge{display:block;font-size:10px;font-weight:700;color:#8a2a20;background:#fff1dd;border-radius:3px;padding:1px 3px}.roster-block.calendar-online,.roster-block.calendar-walkin{overflow:auto;min-width:0}

.booking-payment-breakdown,.combined-payment-receipt{padding:14px;border:1px solid #dccbd7;border-radius:10px;background:#fff;margin:12px 0;overflow-wrap:anywhere}.combined-payment-receipt{background:#edf6ef;border-color:#bdd8c6}.booking-payment-breakdown h4{margin:0 0 10px}.payment-detail-row{display:flex;justify-content:space-between;gap:16px;padding:5px 0;border-bottom:1px solid #f0e7ec}.payment-detail-row span{min-width:0;overflow-wrap:anywhere}.payment-detail-row strong{flex-shrink:0}.booking-payment-breakdown small,.combined-payment-receipt small{display:block;color:#665b63;line-height:1.5}.family-payment-bill .booking-payment-breakdown{grid-column:1/-1;font-size:13px}

.save-feedback{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:10000;max-width:90vw;padding:12px 20px;background:#234d37;color:white;border-radius:8px;box-shadow:0 4px 18px #0003}
/* V8.130: readable staff calendar, text-only technician headers. */
.schedule-view .team-title h1{font-size:27px}.schedule-view .team-title p{margin:5px 0}.schedule-view .team-eyebrow{display:none}.schedule-view .team-tabs{padding-bottom:9px;margin-bottom:10px}.schedule-view .team-toolbar{margin:10px 0}.schedule-view .team-metrics{gap:8px;margin:8px 0}.schedule-view .team-metric{padding:9px 12px;display:flex;align-items:center;justify-content:space-between;gap:10px}.schedule-view .team-metric b{font-size:20px;margin:0}.schedule-view .team-metric span{font-size:12px}.schedule-view .calendar-filters{margin:10px 0;gap:10px}.schedule-view .roster-legend{margin:10px 0}.schedule-view .calendar-main>p{font-size:12px;margin:8px 0}.schedule-view .roster-scroll{margin:10px 0;max-height:72dvh;scrollbar-width:auto}.roster-calendar{min-width:0;isolation:isolate}.roster-calendar .roster-column-head{background:#fff;padding:12px 8px;border-right:1px solid #e4e4e9;box-shadow:0 2px 3px #2424350b}.roster-column-head b{font-size:16px;color:#30272b}.roster-column-head small{font-size:12px;color:#6f6b74}.roster-column-head .team-edit-hours{font-size:11px;padding:4px 8px;margin:5px auto 0}.roster-calendar .roster-column-head:first-child{left:0;z-index:8}.roster-timeline,.roster-timecol{height:var(--calendar-height,1800px)}.roster-timeline{background:repeating-linear-gradient(to bottom,transparent 0,transparent 36.5px,#f2f2f5 36.5px,#f2f2f5 37.5px),repeating-linear-gradient(to bottom,#fff 0,#fff 74px,#e0e0e8 74px,#e0e0e8 75px);border-right:1px solid #e0e0e8}.roster-timecol{position:sticky;left:0;background:#fff;z-index:6;border-right:1px solid #d9d9e3}.roster-timecol span{left:8px;font-size:12px;color:#53515b;white-space:nowrap;line-height:16px}.calendar-empty-slot{height:37.5px;border-bottom:0;font-size:12px}.roster-timeline button.roster-block{padding:5px 7px;border-radius:5px;border-top:1px solid #ffffffa6;border-right:1px solid #ffffffa6;border-bottom:1px solid #ffffffa6;box-shadow:0 1px 2px #24243512;line-height:1.3}.calendar-booking-top{display:flex;align-items:center;justify-content:space-between;gap:5px;min-width:0}.calendar-time-range{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-booking-top .calendar-status-badge{position:static;flex-shrink:0;font-size:9px;line-height:12px;padding:1px 3px}.roster-block .calendar-customer-name{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:19px}.roster-block .calendar-service{font-size:12px;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;line-height:17px}.calendar-short-booking .calendar-service,.calendar-short-booking .calendar-family-badge{display:none!important}.calendar-off{background:#f3f3f6;border:0;border-radius:0;font-size:12px;padding-top:8px}.calendar-break{border:0;font-size:12px}.schedule-view.is-expanded .roster-scroll{max-height:calc(100dvh - 220px)}
@media(max-width:700px){.schedule-view .team-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.schedule-view .team-metric{padding:7px 10px}.schedule-view .team-title h1{font-size:24px}.schedule-view .team-toolbar .btn{padding:8px 10px}.schedule-view .calendar-filters label{min-width:115px}.schedule-view .roster-scroll{max-height:70dvh}}
/* V8.132: same-time drag reassignment. */
.roster-block[draggable=true]{cursor:grab}.roster-block.calendar-is-dragging{opacity:.55;cursor:grabbing}.roster-timeline.calendar-drop-allowed{box-shadow:inset 0 0 0 2px #65a788;background-color:#f4fff8}.roster-column-head.calendar-drop-allowed{background:#edf9f0}.roster-timeline.calendar-drop-hover,.roster-column-head.calendar-drop-hover{box-shadow:inset 0 0 0 3px #287348;background-color:#e2f5e8}#calendar-move-status{display:block;margin-top:5px;font-weight:600;color:#38634b}

/* Sarah workspace inspired by the supplied booking admin reference. */
:root{--wine:#245bc6;--rose:#2563eb;--rose2:#e9f0ff;--bg:#f2f5fa;--line:#dfe6f1;--ink:#172336;--muted:#687b96;--shadow:0 3px 12px #1f3b6510}
.shell{max-width:none;padding:0 20px 20px}.topbar{border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;margin:0 -20px;padding:16px 24px}.brand{font-family:inherit;font-size:23px}.brand small{letter-spacing:1px}.layout{grid-template-columns:150px minmax(0,1fr);gap:24px;margin-top:22px}.side{border:0;border-right:1px solid var(--line);border-radius:0;padding:6px;background:white;max-height:calc(100dvh - 100px);overflow-y:auto}.side button{padding:11px 9px;font-size:12px;gap:7px}.side button.active{background:#2563eb;color:white}.side button span{font-size:20px;min-width:23px;text-align:center}.card{border-radius:12px;box-shadow:none}.btn{font-weight:650;border-radius:8px;background:#2563eb}.btn.secondary{background:white;border:1px solid #c9d9f7;color:#245bc6}.team-tabs .btn:not(.secondary){background:#2563eb}.schedule-view .team-title h1{font-size:30px}.schedule-view .team-title p{font-size:14px}.schedule-view .team-tabs{border:0}.team-toolbar{background:transparent}.roster-column-head{background:#f5f8ff!important;padding:16px!important}.roster-column-head b{font-size:15px!important}.roster-calendar{border-radius:12px}.roster-scroll{border-color:#dce4f1;border-radius:12px}.calendar-filters{align-items:end}.calendar-filters input{border:1px solid #d8e1ef;border-radius:8px;padding:10px;min-width:180px}.calendar-up-next{display:flex;align-items:center;gap:12px;margin:14px 0;font-size:12px}.calendar-up-next>span{color:#657894;letter-spacing:1px}.calendar-up-next .btn{background:#edf0ff;border-radius:22px;color:#314a83;white-space:normal;text-align:left}.team-metrics .team-metric{background:white;border:1px solid #e0e7f1;border-radius:10px}.roster-timeline{background:repeating-linear-gradient(to bottom,transparent 0,transparent 36.5px,#edf1f8 36.5px,#edf1f8 37.5px),repeating-linear-gradient(to bottom,#fff 0,#fff 149px,#dce4ef 149px,#dce4ef 150px)}.calendar-empty-slot:hover{background:#eaf1ff}.modalback .modal{border-radius:14px}.calendar-details-panel{box-shadow:0 10px 35px #1a3f6520}
@media(max-width:900px){.shell{padding:0 12px 12px}.topbar{margin:0 -12px;padding:12px}.layout{grid-template-columns:1fr;gap:12px}.side{display:flex;position:static;max-height:none;border-right:0;overflow-x:auto;padding:6px}.side button{min-width:110px;width:auto;flex-shrink:0}.calendar-filters label{min-width:140px;flex:1}.calendar-up-next{align-items:flex-start}.userbox{font-size:12px}}

/* V135: service durations and clear checkout charges. */
.wi-pro-card .wi-line{grid-template-columns:minmax(130px,1.3fr) minmax(105px,1fr) 82px 82px 120px 72px 32px;gap:8px}
.checkout-extra-charge .formrow{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px}
.checkout-extra-charge input{width:100%;box-sizing:border-box}.checkout-extra-charge small{display:block;margin:8px 0}
@media(max-width:1100px){.wi-pro-card .wi-line{grid-template-columns:1fr 1fr}.wi-pro-modal{width:min(1100px,96vw)}}
@media(max-width:520px){.wi-pro-card .wi-line,.checkout-extra-charge .formrow{grid-template-columns:1fr}}

/* V136: header-wide booking/customer/service search. */
.header-search{display:flex;gap:6px;flex:1;max-width:540px;min-width:220px;margin:0 16px}.header-search input{width:100%;min-width:0;padding:10px 12px;border:1px solid #d7e1ee;border-radius:9px;background:#fff}.header-search-results{max-height:65dvh;overflow:auto}.header-search-result{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #e0e7ef}.header-search-result strong,.header-search-result span,.header-search-result small{display:block}.header-search-result span{font-size:12px;overflow-wrap:anywhere}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:1000px){.topbar{flex-wrap:wrap}.header-search{order:3;flex-basis:100%;max-width:none;margin:8px 0 0}.header-search-result{flex-wrap:wrap}}
