/* (DP Oct 20) Busy-time pricing editor. Responsive; motion only via the shared sheet (transform). */
.dp-top{padding:14px 16px}
.dp-sw{display:flex;gap:12px;align-items:center;cursor:pointer}
.dp-sw>span:last-child{display:flex;flex-direction:column;gap:2px}
.dp-sw input{position:absolute;opacity:0;width:1px;height:1px}
.dp-tg{flex:0 0 46px;height:28px;border-radius:14px;background:var(--c-border-strong);position:relative;transition:background .2s ease}
.dp-tg::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.25);transition:transform .2s ease}
.dp-sw input:checked+.dp-tg{background:var(--c-teal)}
.dp-sw input:checked+.dp-tg::after{transform:translateX(18px)}
.dp-sw input:focus-visible+.dp-tg{outline:3px solid var(--c-focus);outline-offset:2px}
.dp-chk{margin:10px 0 4px}
.dp-rule{display:flex;gap:10px;align-items:center;padding:10px 0;border-top:1px solid var(--c-border)}
.dp-rule .sp{min-width:0}
.dp-chg{font-weight:800;white-space:nowrap;padding:3px 8px;border-radius:8px;background:var(--c-surface-2)}
.dp-chg.pk,.dp-c.pk{background:var(--c-warning-bg);color:var(--c-text)}
.dp-chg.op,.dp-c.op{background:var(--c-success-bg);color:var(--c-text)}
.dp-chips{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.dp-bchip{display:inline-flex;align-items:center;gap:4px;padding:4px 4px 4px 10px;border-radius:16px;background:var(--c-surface-2);font-size:14px}
.dp-bchip button{border:0;background:none;font-size:18px;line-height:1;width:28px;height:28px;border-radius:14px;cursor:pointer;color:var(--c-muted)}
.dp-boadd{gap:8px;flex-wrap:wrap}
.dp-boadd input{min-height:40px;padding:6px 10px;border:1px solid var(--c-border-strong);border-radius:10px;background:var(--c-surface);color:var(--c-text)}
.dp-prevh{gap:8px;flex-wrap:wrap}
.dp-prevh select{min-height:38px;border-radius:10px;border:1px solid var(--c-border-strong);padding:4px 8px;background:var(--c-surface);color:var(--c-text);max-width:100%}
.dp-heat{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-top:10px;border:1px solid var(--c-border);border-radius:12px}
.dp-heat table{border-collapse:separate;border-spacing:2px;font-size:12px;min-width:100%}
.dp-heat th{font-weight:600;color:var(--c-muted);white-space:nowrap;padding:4px 6px;text-align:center}
.dp-heat tbody th{text-align:left;position:sticky;left:0;background:var(--c-surface);z-index:1}
.dp-c{text-align:center;padding:7px 4px;border-radius:6px;min-width:44px;font-variant-numeric:tabular-nums;background:var(--c-surface-2);box-shadow:inset 0 -4px 0 rgba(13,110,120,calc(var(--b,0)*.9))}
.dp-c.fx{background:var(--c-info-bg)}
.dp-c.bo{background:repeating-linear-gradient(45deg,var(--c-surface-2) 0 6px,var(--c-surface) 6px 12px);color:var(--c-muted)}
.dp-leg{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:8px;color:var(--c-muted)}
.dp-leg i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:5px;vertical-align:-1px;background:var(--c-surface-2)}
.dp-leg i.pk{background:var(--c-warning-bg)}.dp-leg i.op{background:var(--c-success-bg)}.dp-leg i.fx{background:var(--c-info-bg)}
.dp-leg i.bo{background:repeating-linear-gradient(45deg,var(--c-surface-2) 0 3px,var(--c-surface) 3px 6px);border:1px solid var(--c-border)}
.dp-leg i.busy{box-shadow:inset 0 -4px 0 rgba(13,110,120,.9)}
.dp-auto-b{display:flex;gap:8px;flex-wrap:wrap}
.plock-card.dp-auto{flex-wrap:wrap}
.dp-pn{width:min(560px,100%);max-height:92vh;max-height:92dvh;overflow:auto;background:var(--c-surface);color:var(--c-text);border-radius:20px 20px 0 0;box-shadow:0 -8px 30px rgba(0,0,0,.25);overscroll-behavior:contain}
.prs-center .dp-pn{border-radius:20px}
.dp-day input{position:absolute;opacity:0;width:1px;height:1px}
.dp-day input:checked+span{background:var(--c-teal);color:var(--c-on-primary,#fff);border-color:var(--c-teal)}
.dp-day input:focus-visible+span{outline:3px solid var(--c-focus)}
.dp-err{color:var(--c-danger);min-height:1.2em;margin:4px 0}
@media (max-width:520px){.dp-rule{flex-wrap:wrap}.dp-rule .sp{flex:1 1 100%}.dp-shb .btn{flex:1}.dp-shb .sp{display:none}}
/* client booking: price on each slot */
.slot:has(.sp-t){flex-direction:column;gap:0;line-height:1.1;padding:5px 2px;min-height:52px}
.slot .sp-pr{display:block;font-size:11px;font-weight:600;opacity:.8;letter-spacing:.01em}
.slot .sp-t{display:block;font-size:17px;font-weight:800}
.pr-key{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin:-2px 0 6px;font-size:13px;color:var(--c-muted)}
.pr-k{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.pr-k b{color:var(--c-text);font-weight:700}
.pr-k i{width:16px;height:12px;border-radius:4px;border:2px solid var(--c-border-strong);background:var(--c-surface)}
.pr-k i.op{border-color:var(--c-success)}.pr-k i.pk{border-color:var(--c-warning)}
.slot.pk:not(.on){box-shadow:inset 0 0 0 2px var(--c-warning)}
.slot.op:not(.on){box-shadow:inset 0 0 0 2px var(--c-success)}
.pt-tag{display:inline-block;font-size:11px;font-weight:700;padding:1px 6px;border-radius:6px;margin-left:6px;vertical-align:1px}
.pt-tag.pk{background:var(--c-warning-bg);color:var(--c-text)}.pt-tag.op{background:var(--c-success-bg);color:var(--c-text)}

/* date strip: same scheme as the key (dot + subtle outline); the selected day keeps its normal highlight */
.chip.dt-op,.chip.dt-pk{position:relative}
.chip.dt-op::after,.chip.dt-pk::after{content:"";position:absolute;top:5px;right:5px;width:7px;height:7px;border-radius:50%}
.chip.dt-op::after{background:var(--c-success)}.chip.dt-pk::after{background:var(--c-warning)}
.chip.dt-op:not(.on){box-shadow:inset 0 0 0 2px var(--c-success)}
.chip.dt-pk:not(.on){box-shadow:inset 0 0 0 2px var(--c-warning)}

/* (PEAK2 Oct 27) time-window sheet + limits card: one label style, 44px controls, sticky footer */
.dp-pn{display:flex;flex-direction:column}
.dp-sh{display:flex;flex-direction:column;min-height:0;flex:1}
.dp-shc{padding:18px 16px 4px}
.dp-sh h2{margin:0 0 14px}
.dp-l{display:block;font-size:13px;font-weight:700;color:var(--c-muted);margin:0 0 6px;letter-spacing:.01em}
.dp-fld{display:block;margin:0 0 16px}
.dp-ctl{box-sizing:border-box;width:100%;height:44px;border-radius:12px;border:1px solid var(--c-border-strong);background:var(--c-surface-2,var(--c-surface));color:var(--c-text);font:inherit;padding:0 12px;display:flex;align-items:center;gap:8px}
.dp-ctl select,.dp-ctl input{all:unset;flex:1;min-width:0;align-self:stretch;line-height:42px;color:inherit;cursor:pointer;font-size:inherit;font-family:inherit}
.dp-svc .sp{flex:1;min-width:0}
.dp-ctl svg{flex:none;color:var(--c-muted)}
.dp-g2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.dp-time{display:block;min-width:0}
.dp-days{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.dp-day span{display:flex;align-items:center;justify-content:center;aspect-ratio:1;max-height:44px;border-radius:50%;border:1px solid var(--c-border-strong);cursor:pointer;font-weight:700}
.dp-qp{display:flex;gap:6px;margin-top:8px;flex-wrap:wrap}
.dp-pill{all:unset;cursor:pointer;font-size:13px;font-weight:600;padding:6px 12px;border-radius:999px;border:1px solid var(--c-border);color:var(--c-muted)}
.dp-pill:focus-visible{outline:3px solid var(--c-focus)}
.dp-chrow{display:grid;grid-template-columns:1fr 92px;gap:8px}
.dp-seg{display:flex;height:44px;border-radius:12px;border:1px solid var(--c-border-strong);overflow:hidden;box-sizing:border-box}
.dp-seg label{flex:1;display:flex}
.dp-seg input,.dp-svc input,.dp-whoc input{position:absolute;opacity:0;width:1px;height:1px}
.dp-seg span{flex:1;display:flex;align-items:center;justify-content:center;font-weight:700;cursor:pointer;border-left:1px solid var(--c-border)}
.dp-seg label:first-child span{border-left:0}
.dp-seg input:checked+span{background:var(--c-teal);color:var(--c-on-primary,#fff)}
.dp-seg input:focus-visible+span{outline:3px solid var(--c-focus);outline-offset:-3px}
.dp-amt i{font-style:normal;color:var(--c-muted);font-weight:700}
.dp-allr{display:flex;align-items:center;justify-content:space-between;min-height:44px;cursor:pointer;position:relative}
.dp-allr .dp-l{margin:0;color:var(--c-text);font-size:15px}
.dp-tgi{position:absolute;opacity:0;width:1px;height:1px}
.dp-allr .dp-tg{width:46px;height:28px;border-radius:999px;background:var(--c-border-strong);position:relative;flex:none;transition:background .15s}
.dp-allr .dp-tg::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .15s}
.dp-tgi:checked+.dp-tg{background:var(--c-teal)}.dp-tgi:checked+.dp-tg::after{transform:translateX(18px)}
.dp-tgi:focus-visible+.dp-tg{outline:3px solid var(--c-focus)}
.dp-svcs{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.dp-svcs.all{display:none}
.dp-svc{display:flex;align-items:center;gap:10px;padding:6px 10px 6px 6px;border-radius:12px;border:1px solid var(--c-border);cursor:pointer}
.dp-svc:has(input:checked){border-color:var(--c-teal);box-shadow:inset 0 0 0 1px var(--c-teal)}
.dp-th{width:44px;height:44px;border-radius:10px;overflow:hidden;flex:none;background:var(--c-surface-2);display:flex;align-items:center;justify-content:center;font-size:20px}
.dp-th img{width:100%;height:100%;object-fit:cover}
.dp-svc b{display:block;font-size:15px}
.dp-ex{font-size:13px;color:var(--c-muted)}
.dp-ex em{font-style:normal;font-weight:700;color:var(--c-text)}.dp-ex em.pk{color:var(--c-warning)}.dp-ex em.op{color:var(--c-success)}
.dp-ck{width:24px;height:24px;border-radius:50%;border:2px solid var(--c-border-strong);display:flex;align-items:center;justify-content:center;color:transparent;font-size:13px;font-weight:800;flex:none}
.dp-svc:has(input:checked) .dp-ck{background:var(--c-teal);border-color:var(--c-teal);color:var(--c-on-primary,#fff)}
.dp-note{display:flex;gap:6px;align-items:flex-start;font-size:12px;color:var(--c-muted);margin:4px 0}
.dp-note svg{flex:none;margin-top:1px}
.dp-shb{position:sticky;bottom:0;display:flex;gap:8px;align-items:center;padding:12px 16px calc(12px + env(safe-area-inset-bottom));background:var(--c-surface);border-top:1px solid var(--c-border)}
.dp-shb .btn{min-height:44px}
.dp-who{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}
.dp-whoc{display:flex;flex-direction:column;align-items:center;gap:8px;padding:12px 8px;border-radius:14px;border:1px solid var(--c-border);cursor:pointer;text-align:center}
.dp-whoc:has(input:checked){border-color:var(--c-teal);box-shadow:inset 0 0 0 1px var(--c-teal)}
.dp-whoc:has(input:focus-visible){outline:3px solid var(--c-focus)}
.dp-av{display:flex}
.dp-av>*{width:34px;height:34px;border-radius:50%;object-fit:cover;border:2px solid var(--c-surface);margin-left:-10px;background:var(--c-surface-2);display:flex;align-items:center;justify-content:center;font-weight:700}
.dp-av>*:first-child{margin-left:0}
.dp-caps{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:8px}
.dp-cap{min-width:0}
.dp-cap .dp-ctl{padding:0 10px}
/* (SUGG Nov 3) traffic-based suggestions */
.dp-sug .sg-h{display:flex;gap:10px;align-items:flex-start;margin-bottom:6px}.dp-sug .sg-h h2{margin:0 0 2px}.dp-sug .sg-ic{flex:none;width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--c-surface-2);font-size:18px}
.dp-sug .sg{border:1px solid var(--c-border);border-radius:14px;padding:14px;margin-top:10px;background:var(--c-surface-2);animation:sgIn .25s ease-out}@keyframes sgIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.dp-sug .sg.mm{border-color:color-mix(in srgb,var(--c-warning,#e6a23c) 55%,transparent)}
.dp-sug .sg-t{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.dp-sug .sg-t b{font-size:15.5px}
.dp-sug .sg-pill{flex:none;font-weight:800;font-size:13px;padding:3px 9px;border-radius:8px}.sg-pill.pk{background:var(--c-warning-bg);color:var(--c-text)}.sg-pill.op{background:var(--c-success-bg);color:var(--c-text)}.sg-pill.warn{background:color-mix(in srgb,var(--c-warning,#e6a23c) 22%,transparent);color:var(--c-text)}
.dp-sug .sg-why{margin:4px 0 10px}.dp-sug .sg-ev{display:flex;gap:10px;align-items:center;margin:0 0 12px;flex-wrap:wrap}
.sg-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;width:150px}.sg-strip div{display:grid;gap:2px}.sg-strip i{display:block;height:8px;border-radius:2px;background:var(--c-border)}.sg-strip span{font-size:10px;color:var(--c-muted);text-align:center}
.sg-strip .h0{background:#2a3a33}.sg-strip .h1{background:#3b5c48}.sg-strip .h2{background:#8a6a2c}.sg-strip .h3{background:#c8822d}.sg-strip .h4{background:#e6a23c}
.dp-sug .sg-b{display:flex;gap:8px;flex-wrap:wrap}.dp-sug .btn.ghost{background:transparent;border:0;color:var(--c-muted)}
.dp-sug .sg-f{display:flex;justify-content:space-between;gap:8px 16px;flex-wrap:wrap;margin-top:12px}.dp-sug .sg-n{display:flex;gap:6px;align-items:center;cursor:pointer}
.sg-from{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:var(--c-surface-2);margin:0 0 14px;font-size:13.5px}
/* (FIX Nov 3) a select inside a .dp-ctl field (From/To time) is the field: no inner box from the global select style, own chevron, centered */
.dp-ctl select:not([multiple]):not([size]){-webkit-appearance:none;appearance:none;flex:1;min-width:0;align-self:center;min-height:0;margin:0;padding:10px 24px 10px 0;border:0;border-radius:0;box-shadow:none;outline:none;color:inherit;font:inherit;font-size:16px;line-height:22px;height:42px;box-sizing:border-box;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center/16px 16px;cursor:pointer}
.dp-ctl select option{background:var(--c-surface);color:var(--c-text)}
.dp-ctl:focus-within{outline:2px solid var(--c-primary);outline-offset:0;border-color:transparent}
.dp-selw{position:relative;cursor:pointer;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;background-size:16px 16px}
.dp-selw .dp-tv{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:1}
.dp-selw select:not([multiple]):not([size]){position:absolute;inset:0;width:100%;height:100%;opacity:0;padding:0;background:none;cursor:pointer}
.dp-addon .row{gap:8px;align-items:center;margin-bottom:6px}.dp-addon .dp-addp{font-size:15px}.dp-addon .dp-auto-b{margin-top:10px}.dp-addtag{color:var(--c-primary);border:1px solid color-mix(in srgb,var(--c-primary) 55%,transparent);background:transparent;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
/* (#610) date fields are PFDP calendar buttons: keep the look of the other controls */
.dp-fld .pfdp-f.dp-ctl{margin:0;padding:0 12px;border:1px solid var(--c-border-strong);border-radius:12px;background:var(--c-surface-2,var(--c-surface));color:var(--c-text);font-size:inherit;font-weight:inherit}
.dp-boadd .pfdp-f{width:auto;flex:1 1 180px;min-height:40px}
