/* Published salon identity shared by every professional section. */
.pro-designed{--pro-ui-font:"Segoe UI Variable","Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Arial,sans-serif}
.pro-designed:not(.auth-mode){--paper:var(--brand-background);--white:var(--brand-surface);--ink:var(--brand-page-ink);--line:var(--pro-line);--muted:var(--pro-muted);--green:var(--brand-accent);--soft:var(--pro-wash);background:var(--brand-background);color:var(--brand-page-ink);font-family:var(--pro-ui-font);font-weight:400}
.pro-designed:not(.auth-mode) :is(h1,h2,h3){font-family:var(--brand-heading-font);font-weight:600;letter-spacing:-.01em;color:inherit}
.pro-designed:not(.auth-mode) :is(button,input,select,textarea,label){font-family:var(--pro-ui-font)}
.pro-designed:not(.auth-mode) :is(button,label,select){font-weight:600}
.pro-designed:not(.auth-mode) :is(input,textarea){font-weight:500}
.pro-designed:not(.auth-mode) :is(input,select,textarea){background:var(--brand-surface);color:var(--brand-surface-ink);border-color:var(--pro-line);border-radius:calc(var(--pro-radius) / 2);box-shadow:none}
.pro-designed:not(.auth-mode) :where(button,.preview-link){background:var(--brand-surface);color:var(--brand-surface-ink);border-color:var(--pro-line);box-shadow:none;border-radius:var(--pro-radius)}
.pro-designed:not(.auth-mode) button.primary{background:var(--brand-accent);border-color:var(--brand-accent);color:var(--pro-accent-text)}
.pro-designed:not(.auth-mode) :where(.panel,.editor-card,.booking-summary,dialog,.save-bar){background:var(--brand-surface);color:var(--brand-surface-ink);border-color:var(--pro-line);box-shadow:none;border-radius:var(--pro-radius)}
.pro-designed:not(.auth-mode) :is(.muted,.eyebrow,.pro-agenda-hint,.pro-agenda-legend){color:var(--pro-muted)}
.pro-designed:not(.auth-mode) input[type=checkbox]{accent-color:var(--brand-accent)}
.pro-designed:not(.auth-mode) :focus-visible{outline-color:var(--brand-readable-accent)}
.pro-designed:not(.auth-mode) .danger{color:#ad3636;border-color:#ccaaaa}
.pro-designed:not(.auth-mode) .sidebar{background:var(--brand-surface);color:var(--brand-surface-ink);border-right:1px solid var(--pro-line)}
.pro-designed:not(.auth-mode) .sidebar :is(.workspace-label,.salon-label,.sidebar-bottom){color:var(--pro-muted)}
.pro-designed:not(.auth-mode) .sidebar .nav{color:var(--brand-surface-ink);background:transparent;font-size:13px;border-radius:0;padding:14px 8px}
.pro-designed:not(.auth-mode) .sidebar .nav.active{background:var(--pro-wash);box-shadow:inset 3px 0 var(--brand-accent)}
.pro-salon-mark{width:150px;height:64px;object-fit:contain;object-position:center}
.sidebar>.pro-salon-mark{width:100%;height:85px;margin:0 0 22px}
.pro-designed:not(.auth-mode)>.pro-header{background:var(--brand-surface);color:var(--brand-surface-ink);box-shadow:none;border-bottom:1px solid var(--pro-line);gap:14px}
.pro-designed:not(.auth-mode)>.pro-header .pro-salon-mark{order:1;width:140px;height:54px}
.pro-designed:not(.auth-mode)>.pro-header>button{order:0;min-width:80px;background:var(--pro-wash);border:1px solid var(--pro-line);color:var(--brand-surface-ink)}
.pro-designed:not(.auth-mode)>.pro-header .pro-header-info{order:2}.pro-designed:not(.auth-mode)>.pro-header .pro-header-info small{color:var(--pro-muted)}
.pro-designed:not(.auth-mode)>.pro-header .pro-header-logo{order:3;width:90px}
.pro-designed .pro-menu-nav button[aria-current=page]{background:var(--pro-wash);color:var(--brand-surface-ink);border-color:var(--brand-accent)}
.pro-designed .pro-menu-actions a{color:var(--brand-surface-ink)}
.pro-designed .section-head h1{font-size:38px}.pro-designed .section-head .eyebrow{letter-spacing:.12em;font-size:11px}
.pro-designed .pro-section-links a{border:0;border-bottom:2px solid var(--pro-line);border-radius:0;color:var(--brand-surface-ink);background:transparent;font-size:13px}
.pro-designed .pro-section-links a:hover{border-color:var(--brand-accent)}
.pro-designed .setup-assistant{background:var(--pro-wash);border:0;border-left:3px solid var(--brand-accent);padding:22px 26px}
.pro-designed .setup-assistant h2{font-size:28px}.pro-designed .setup-assistant textarea{background:var(--brand-surface)}
.pro-designed .service-fields{display:grid;grid-template-columns:1.8fr 1fr 1fr auto;column-gap:18px;padding:18px 22px;border:1px solid var(--pro-line);border-left:3px solid var(--brand-accent);margin:16px 0}
.pro-editor-caption{grid-column:1/-1;display:flex;align-items:center;gap:12px;padding-bottom:15px;margin-bottom:12px;border-bottom:1px solid var(--pro-line)}
.pro-editor-caption>span{color:var(--pro-muted);font-size:12px}.pro-editor-caption>strong{font-family:var(--brand-heading-font);font-size:25px;font-weight:500}
.pro-designed #staff-editor>.editor-card{border:1px solid var(--pro-line);border-top:3px solid var(--brand-accent);padding:24px;margin:20px 0}
.pro-staff-caption{display:flex;align-items:center;gap:14px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--pro-line)}
.pro-staff-caption strong{font:500 28px var(--brand-heading-font)}.pro-staff-initial{width:48px;height:48px;display:grid;place-items:center;border:1px solid var(--pro-line);background:var(--pro-wash);border-radius:50%;font:500 24px var(--brand-heading-font)}
.pro-designed .check-row label{background:var(--brand-surface);border-color:var(--pro-line);border-radius:var(--pro-radius)}
.pro-designed .check-row label:has(:checked){background:var(--pro-wash);border-color:var(--brand-accent)}
.pro-staff-hours{border-top:1px solid var(--pro-line);margin-top:20px;padding-top:6px}.pro-staff-hours summary{min-height:48px;padding:13px 0;font-size:16px;cursor:pointer;color:var(--brand-surface-ink)}
.pro-designed .hours-row{border-color:var(--pro-line);grid-template-columns:90px repeat(2,minmax(0,1fr))}.pro-designed .pro-hours-window label{color:var(--pro-muted)}
.pro-designed .save-bar{border:1px solid var(--brand-accent);box-shadow:0 4px 18px #0000000a}
.pro-designed #absence-list .editor-card{border:0;border-left:3px solid var(--brand-accent);border-bottom:1px solid var(--pro-line);border-radius:0;padding:20px 24px}
.pro-designed .modules-grid{gap:0 24px}.pro-designed .module{border:0;border-top:1px solid var(--pro-line);border-radius:0;padding:24px 0}.pro-designed .module h2{font-size:28px}
.pro-designed .pill,.pro-designed .pill.later{background:var(--pro-wash);color:var(--brand-surface-ink)}
.pro-designed #email-deliveries article{padding:16px 0;border-bottom:1px solid var(--pro-line)}
.pro-designed .slot{border-radius:var(--pro-radius);border-color:var(--pro-line);background:var(--brand-surface);color:var(--brand-surface-ink)}
.pro-designed .slot:has(input:checked),.pro-designed .slot.selected{background:var(--brand-accent);color:var(--pro-accent-text);border-color:var(--brand-accent)}
.pro-designed .brand-side{grid-template-columns:1fr 1fr}.pro-brand-preview{grid-column:1/-1}.pro-brand-sample{padding:20px;background:var(--brand-background);color:var(--brand-page-ink);font-family:var(--brand-body-font);border:1px solid var(--pro-line);border-radius:var(--pro-radius);margin-top:18px}
.pro-brand-sample img{width:150px;height:60px;object-fit:contain}.pro-brand-sample h3{font:500 26px var(--brand-heading-font)!important}.pro-brand-sample p{font-size:12px;color:var(--pro-muted)}
.pro-sample-appointment{display:flex;align-items:center;gap:18px;margin:18px 0;padding:18px;border-left:3px solid var(--brand-accent);border-radius:0 var(--pro-radius) var(--pro-radius) 0;background:var(--pro-wash);color:var(--brand-surface-ink)}
.pro-sample-appointment strong{font:500 21px var(--brand-heading-font)}.pro-sample-appointment span{margin-left:auto}
.pro-designed #site-builder{background:var(--pro-wash)}
/* Real time grid. The date strip scrolls independently and never moves bookings. */
.pro-designed #agenda-view .section-head{margin-bottom:12px}.pro-designed #agenda-view .metrics{display:flex;gap:26px;flex-wrap:wrap;margin:0 0 16px;border-bottom:1px solid var(--pro-line);padding-bottom:12px}
.pro-designed #agenda-view .metrics>div{padding:0;border:0;background:none;box-shadow:none;border-radius:0;display:flex;align-items:baseline;gap:8px}.pro-designed #agenda-view .metrics span{min-height:0;font-size:12px}.pro-designed #agenda-view .metrics strong{font:500 24px var(--brand-heading-font);margin:0;color:var(--brand-page-ink)}
.pro-designed #agenda-view>.panel{padding:18px}.pro-designed .agenda-toolbar{border-color:var(--pro-line);margin-bottom:12px;padding-bottom:12px}.pro-designed .agenda-toolbar h2{font-size:27px}.pro-designed .day-controls{gap:6px}
.pro-designed .day-controls button{font-size:12px;padding:10px}.pro-designed .day-controls input{width:155px;min-width:140px}
.pro-days{margin:0 0 18px;min-width:0}.pro-days-head{display:flex;align-items:center;gap:14px}.pro-days-month{flex:1;text-align:center;text-transform:capitalize;font-size:15px}
.pro-designed .pro-days-head button{min-width:44px;min-height:44px;font-size:22px;border:0}
.pro-days-strip{display:flex;gap:5px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;position:relative;padding:4px 1px 12px;touch-action:pan-x pan-y;scrollbar-width:thin}
.pro-designed .pro-days-strip button{flex:0 0 70px;display:grid;gap:4px;justify-items:center;min-height:74px;padding:10px 8px;border:1px solid transparent;background:transparent;border-radius:var(--pro-radius);scroll-snap-align:center}
.pro-days-strip small{font-size:11px;color:var(--pro-muted)}.pro-days-strip strong{font:500 26px var(--brand-heading-font)}
.pro-designed .pro-days-strip button[aria-pressed=true]{background:var(--brand-accent);color:var(--pro-accent-text)}.pro-days-strip button[aria-pressed=true] small{color:inherit}
.pro-designed .pro-days-strip button.is-today:not([aria-pressed=true]){border-color:var(--brand-accent)}
.pro-designed .pro-view-switch,.pro-density{display:flex;gap:3px;padding:3px;background:var(--pro-wash);border:1px solid var(--pro-line);border-radius:var(--pro-radius)}
.pro-designed .pro-view-switch button,.pro-designed .pro-density button{font-size:12px;padding:8px 12px;min-height:44px;border:0;background:transparent;color:var(--brand-surface-ink)}
.pro-designed :is(.pro-view-switch,.pro-density) button[aria-pressed=true]{background:var(--brand-surface-ink);color:var(--brand-surface);box-shadow:none}
.pro-designed .pro-agenda-controls{align-items:center;margin:12px 0;gap:12px}.pro-designed .pro-agenda-controls label{display:flex;align-items:center;gap:10px;font-size:12px;min-width:0}.pro-designed .pro-agenda-controls select{width:auto;min-width:170px;margin:0;font-size:14px}
.pro-agenda-legend{font-size:11px;margin:0 0 14px}.pro-designed .pro-agenda-hint{font-size:11px;margin:10px 0}
.pro-calendar-scroll{overflow-x:auto;overscroll-behavior-x:contain}.pro-calendar{display:grid;position:relative;align-items:start}.pro-grid-person{display:flex;gap:8px;justify-content:space-between;align-items:center;border-bottom:1px solid var(--pro-line);padding:12px 9px;min-height:48px}.pro-grid-person strong{font:500 21px var(--brand-heading-font)}.pro-grid-person small{color:var(--pro-muted);font-size:10px}
.pro-grid-hours time{display:block;font-size:10px;padding-top:4px;color:var(--pro-muted)}.pro-grid-lane{position:relative;border-left:1px solid var(--pro-line);background:repeating-linear-gradient(to bottom,var(--pro-line) 0,var(--pro-line) 1px,transparent 1px,transparent var(--pro-half-hour))}
.pro-grid-closed{position:absolute;left:0;right:0;background:repeating-linear-gradient(135deg,transparent 0,transparent 7px,var(--pro-line) 7px,var(--pro-line) 8px);opacity:.4;pointer-events:none}
.pro-designed button.pro-grid-event{position:absolute;padding:4px 8px;min-height:0;display:flex;align-items:center;justify-content:space-between;gap:6px;background:var(--pro-wash);color:var(--brand-surface-ink);border:0;border-left:2px solid var(--brand-accent);border-bottom:2px solid var(--brand-surface);border-radius:0 var(--pro-radius) var(--pro-radius) 0;text-align:left;box-shadow:none;overflow:hidden;font-size:12px}
.pro-event-copy{min-width:0}.pro-event-copy strong{display:block;font:500 18px/1.1 var(--brand-heading-font);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pro-event-copy small{font-size:10px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:3px}
.pro-event-status{flex-shrink:0;font:500 15px system-ui,sans-serif}.pro-designed button.pro-grid-event.short{padding:2px 6px}.pro-grid-event.short small{display:none}.pro-grid-event.short strong{font-size:16px}
.pro-designed button.pro-grid-event.no_show{border-left-color:#b75c4b}.pro-day-list{display:grid;gap:12px}.pro-designed .pro-list-event{display:flex;width:100%;justify-content:space-between;text-align:left;padding:18px;background:var(--pro-wash);border-left:3px solid var(--brand-accent)}.pro-designed .pro-list-event.cancelled{opacity:.65}
@media(min-width:1181px){.pro-designed .sidebar>.pro-salon-mark:not([hidden])~.workspace-label{margin-top:15px}.pro-designed .shell>main{padding:26px}}
@media(max-width:1180px){.pro-designed .shell>main{padding:20px}.pro-designed .service-fields{grid-template-columns:1.8fr 1fr 1fr}.pro-designed .service-fields label:last-child{grid-column:1/-1}.pro-designed .section-head h1{font-size:34px}}
@media(max-width:760px){.pro-designed .shell>main{padding:16px}.pro-designed .hours-row{grid-template-columns:1fr 1fr}.pro-designed .hours-row>span{grid-column:1/-1}.pro-designed .brand-side{grid-template-columns:1fr}.pro-designed .pro-header-info small{display:none}.pro-designed #agenda-view>.panel{padding:12px}.pro-designed .service-fields{padding:16px;grid-template-columns:1fr 1fr}.pro-designed .service-fields label:first-of-type{grid-column:1/-1}.pro-designed .pro-agenda-controls{align-items:stretch}.pro-designed .pro-agenda-controls label{width:100%}.pro-designed .pro-agenda-controls select{flex:1;min-width:0}.pro-designed .pro-view-switch{flex:1}.pro-designed .pro-days-strip button{flex-basis:62px}.pro-designed .panel{padding:20px}.pro-designed .save-bar{gap:10px}}
@media(max-width:480px){.pro-designed>.pro-header .pro-header-info{display:none}.pro-designed:not(.auth-mode)>.pro-header{padding:8px 12px}.pro-designed:not(.auth-mode)>.pro-header .pro-salon-mark{width:135px}.pro-designed:not(.auth-mode)>.pro-header .pro-header-logo{display:block;width:70px}.pro-designed .shell>main{padding:12px}.pro-designed .section-head h1{font-size:30px}.pro-designed .panel{padding:16px}.pro-designed #agenda-view .metrics{gap:10px 18px}.pro-designed .pro-view-switch button{padding:8px}.pro-designed .pro-sample-appointment{flex-wrap:wrap;gap:8px}}

.pro-designed .pro-days{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:5px}.pro-designed .pro-days-head{display:contents}.pro-designed .pro-days-head .pro-days-month{display:none}.pro-designed .pro-days-head button:first-child{grid-column:1;grid-row:1}.pro-designed .pro-days-head button:last-child{grid-column:3;grid-row:1}.pro-designed .pro-days-strip{grid-column:2;grid-row:1;min-width:0}.pro-designed #agenda-view>.metrics{margin-top:18px;border:0}.pro-designed .agenda-toolbar{gap:10px}.pro-designed #new-booking{font-size:13px;min-height:48px;padding:10px 14px}.pro-designed #agenda-view .agenda-toolbar h2{font-size:22px}

/* The working UI needs sturdy small text; salon typography remains on large headings. */
.pro-designed .pro-event-copy strong,.pro-designed .pro-grid-event.short strong{font:600 15px/1.2 var(--pro-ui-font)}
.pro-designed .pro-event-copy small{font:500 11px/1.25 var(--pro-ui-font);color:var(--brand-surface-ink)}
.pro-designed .pro-grid-person strong{font:600 16px/1.3 var(--pro-ui-font)}
.pro-designed .pro-grid-person small{font:500 12px/1.3 var(--pro-ui-font)}
.pro-designed .pro-grid-hours time{font:600 12px/1.3 var(--pro-ui-font);color:var(--brand-surface-ink);font-variant-numeric:tabular-nums}
.pro-designed .pro-days-strip strong{font:600 23px/1.2 var(--pro-ui-font);font-variant-numeric:tabular-nums}
.pro-designed .pro-days-strip small{font:500 12px/1.3 var(--pro-ui-font)}
.pro-designed #agenda-view .agenda-toolbar h2{font:600 20px/1.3 var(--pro-ui-font)}
.pro-designed #agenda-view .metrics strong{font:600 23px/1.3 var(--pro-ui-font);font-variant-numeric:tabular-nums}
.pro-designed .pro-editor-caption>strong{font:600 20px/1.3 var(--pro-ui-font)}
.pro-designed .pro-staff-caption strong{font:600 22px/1.3 var(--pro-ui-font)}
.pro-designed .pro-staff-initial{font:600 22px/1.3 var(--pro-ui-font)}
.pro-designed .pro-brand-sample{font-family:var(--pro-ui-font)}
.pro-designed .pro-brand-sample h3{font-weight:600!important}
.pro-designed .pro-sample-appointment strong{font:600 17px/1.3 var(--pro-ui-font)}
.pro-designed .pro-sample-appointment time{font-weight:600;font-variant-numeric:tabular-nums}
.pro-designed :is(.pro-agenda-hint,.pro-agenda-legend){font-size:12px;line-height:1.5}
/* Visit ledger: tactile controls, explicit text and colour-independent states. */
.visit-panel{margin:24px 0;padding:20px;border:1px solid var(--pro-line,#ddd);border-radius:var(--pro-radius,16px);font-family:Segoe UI,system-ui,sans-serif}
.visit-panel h3{margin:0 0 16px}.visit-state-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.visit-state{display:flex;flex-direction:column;gap:5px;border-left:3px solid var(--brand-accent,#777);padding:10px 12px;background:var(--pro-wash,#f5f5f5)}
.visit-state strong{font-size:17px}.visit-state span,.visit-state small{font-size:12px;line-height:1.5}.visit-state.unpaid,.visit-state.not_done{border-color:#b53729}
.visit-rule{font-size:14px;line-height:1.6}.visit-combined{width:100%;min-height:52px!important;font-size:16px!important}.visit-quick{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.visit-panel button{min-height:46px;white-space:normal;font-family:inherit;font-weight:600}.visit-exception{border-color:#ad5146!important}.visit-bank-note{font-size:12px;line-height:1.5}.visit-panel details{border-top:1px solid var(--pro-line,#ddd);padding:12px 0;margin-top:12px}.visit-panel summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}.visit-panel label{display:flex;flex-direction:column;gap:6px;font-size:14px}.visit-panel input{min-height:46px;width:100%;box-sizing:border-box}.visit-correction-form{display:grid;gap:12px}.visit-history article{border-left:2px solid var(--brand-accent,#777);padding:8px 14px;margin:12px 0}.visit-history article p{font-size:12px;line-height:1.5;margin:6px 0;overflow-wrap:anywhere}.visit-saved{font-weight:600;padding:12px;background:var(--pro-wash,#eee)}.visit-export{display:inline-flex;align-items:center;min-height:44px;margin:12px 0;font-size:13px}.pro-grid-event.visit-incident,.pro-list-event.visit-incident{border-left:3px solid #b53729!important}.pro-event-status{white-space:normal;flex-shrink:0;max-width:62px;text-align:right}.visit-panel[aria-busy=true]{opacity:.7}
@media(max-width:520px){.visit-panel{padding:14px}.visit-state-grid{grid-template-columns:1fr}.visit-quick button{flex:1 1 150px}}
