/* Customer and admin dashboards. Uses the blue glass look from shop.css. */
.dash { max-width: 1240px; margin-inline: auto; padding: clamp(60px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 120px); }
.dash-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; }
.dash-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 5.4vw, 76px); line-height: .95; text-transform: uppercase; text-wrap: balance; }
.dash-head p { color: var(--dim); margin-top: 8px; }
.demo-flag { display: inline-block; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: rgba(255,200,80,.16); border: 1px solid rgba(255,200,80,.5); color: #ffd98a; }

.glass { background: linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.035) 48%, rgba(36,104,216,.1)); border: 1px solid var(--edge); border-radius: 28px; -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 30px 80px -50px rgba(36,104,216,.9); padding: clamp(18px, 2.4vw, 28px); min-width: 0; }
.glass h2 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1; text-transform: uppercase; }
.glass h3 { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-lite); }
.muted { color: var(--dim); font-size: 14px; }
.big { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: 1; text-transform: uppercase; margin-top: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.spread { justify-content: space-between; }
.stack { display: grid; gap: 14px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.mt { margin-top: 22px; }

/* tabs */
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 28px 0 22px; padding: 6px; border-radius: 999px; background: var(--glass); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { font: inherit; flex: none; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: none; border: 0; border-radius: 999px; padding: 11px 16px; cursor: pointer; position: relative; transition: background .2s; }
.tabs button:hover { background: var(--glass-2); }
.tabs button[aria-selected="true"] { background: linear-gradient(135deg, var(--blue-lite), var(--blue) 55%, var(--blue-deep)); box-shadow: 0 0 22px rgba(36,104,216,.9), inset 0 1px 0 rgba(255,255,255,.4); }
.tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.dot { display: inline-grid; place-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 6px; border-radius: 9px; background: #fff; color: var(--blue-deep); font-family: var(--mono); font-size: 11px; letter-spacing: 0; }
[data-pane] { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }

/* forms */
.field { display: grid; gap: 6px; }
.field label { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.field input, .field textarea, .field select { font: inherit; color: var(--white); background: rgba(5,7,13,.5); border: 1px solid var(--edge); border-radius: 14px; padding: 13px 14px; width: 100%; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--blue-lite); outline-offset: 1px; }
.field textarea { min-height: 84px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.btn-quiet { font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: var(--glass); border: 1px solid var(--edge); border-radius: 999px; padding: 9px 14px; cursor: pointer; text-decoration: none; }
.btn-quiet:hover { background: var(--glass-2); }
.btn-quiet.danger:hover { background: rgba(220,60,70,.25); border-color: rgba(255,120,130,.6); }
.btn-quiet:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
button:disabled { opacity: .5; cursor: not-allowed; }

/* login */
.login { max-width: 460px; margin: clamp(30px, 6vw, 70px) auto 0; }
.login h1 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 64px); line-height: .95; text-transform: uppercase; }

/* list rows */
.items { display: grid; }
.item { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.item:last-child { border-bottom: 0; }
.date-chip { width: 64px; text-align: center; border-radius: 16px; padding: 8px 4px; background: rgba(5,7,13,.45); border: 1px solid var(--edge); }
.date-chip b { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1; }
.date-chip span { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-lite); }
.item-main { min-width: 0; }
.item-main strong { display: block; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--edge); }
.pill.confirmed, .pill.paid, .pill.shipped, .pill.delivered { background: rgba(60,200,140,.16); border-color: rgba(90,220,160,.5); color: #9ff0c8; }
.pill.completed { background: rgba(255,255,255,.1); }
.pill.cancelled, .pill.no_show { background: rgba(220,60,70,.16); border-color: rgba(255,120,130,.5); color: #ffb3ba; }
.pill.pending, .pill.processing { background: rgba(255,200,80,.14); border-color: rgba(255,200,80,.5); color: #ffd98a; }
.pill.google { background: rgba(106,166,255,.16); border-color: rgba(106,166,255,.55); color: #cfe2ff; }
.empty-state { text-align: center; padding: 34px 12px; color: var(--dim); }
.empty-state .btn { margin-top: 16px; }

/* booking */
.steps { display: grid; gap: 22px; }
.svc-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.svc-pick button, .slot, .day { font: inherit; color: var(--white); cursor: pointer; background: rgba(5,7,13,.45); border: 1px solid var(--edge); transition: background .2s, border-color .2s, box-shadow .2s, transform .2s; }
.svc-pick button { text-align: left; border-radius: 20px; padding: 16px; }
.svc-pick strong { display: block; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.svc-pick span { display: block; margin-top: 6px; font-family: var(--mono); font-size: 13px; color: var(--dim); }
.days { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; }
.day { flex: none; width: 74px; border-radius: 18px; padding: 10px 4px; text-align: center; }
.day b { display: block; font-family: var(--display); font-weight: 400; font-size: 28px; line-height: 1.05; }
.day span { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.slot { border-radius: 14px; padding: 12px 6px; font-family: var(--mono); font-size: 14px; }
.svc-pick button:hover, .slot:hover, .day:hover { border-color: var(--blue-lite); transform: translateY(-2px); }
.svc-pick button[aria-pressed="true"], .slot[aria-pressed="true"], .day[aria-pressed="true"] { background: linear-gradient(135deg, var(--blue-lite), var(--blue) 60%, var(--blue-deep)); border-color: transparent; box-shadow: 0 0 24px rgba(36,104,216,.9), inset 0 1px 0 rgba(255,255,255,.4); }
.svc-pick button[aria-pressed="true"] span, .day[aria-pressed="true"] span { color: #e6f0ff; }
.svc-pick button:focus-visible, .slot:focus-visible, .day:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.confirm { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 20px; border-radius: 20px; background: rgba(5,7,13,.5); border: 1px solid var(--edge); }

/* messages */
.thread { display: flex; flex-direction: column; gap: 10px; max-height: 52svh; min-height: 220px; overflow-y: auto; padding: 6px 4px 12px; }
.msg { max-width: min(78%, 520px); padding: 11px 15px; border-radius: 18px 18px 18px 6px; background: rgba(255,255,255,.1); border: 1px solid var(--line); font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.mine { align-self: flex-end; border-radius: 18px 18px 6px 18px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); border-color: transparent; }
.msg small { display: block; margin-top: 4px; font-family: var(--mono); font-size: 10.5px; opacity: .7; }
.send { display: flex; gap: 10px; margin-top: 12px; }
.send input { flex: 1; min-width: 0; font: inherit; color: var(--white); background: rgba(5,7,13,.5); border: 1px solid var(--edge); border-radius: 999px; padding: 13px 18px; }
.send input:focus-visible { outline: 2px solid var(--blue-lite); }

/* admin */
.week { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.daycol { border-radius: 20px; padding: 14px; background: rgba(5,7,13,.4); border: 1px solid var(--line); min-width: 0; }
.daycol.today { border-color: var(--blue-lite); box-shadow: 0 0 26px -6px rgba(36,104,216,.9); }
.daycol h3 { display: flex; justify-content: space-between; margin-bottom: 10px; }
.ev { border-radius: 14px; padding: 10px 12px; margin-top: 8px; background: linear-gradient(135deg, rgba(36,104,216,.55), rgba(16,53,127,.55)); border: 1px solid rgba(106,166,255,.5); font-size: 13px; }
.ev.block { background: rgba(255,255,255,.07); border-style: dashed; border-color: var(--edge); }
.ev.cancelled, .ev.no_show { opacity: .5; text-decoration: line-through; }
.ev b { display: block; font-family: var(--mono); font-weight: 500; font-size: 12px; }
.ev .row { margin-top: 8px; gap: 6px; }
.ev .btn-quiet { padding: 5px 9px; font-size: 10px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; padding: 0 12px 10px 0; }
.table td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.table tr[data-id] { cursor: pointer; }
.table tr[data-id]:hover td { background: rgba(255,255,255,.04); }
.scroll-x { overflow-x: auto; }
.split-pane { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 18px; }
.people { display: grid; gap: 6px; align-content: start; max-height: 62svh; overflow-y: auto; }
.people button { font: inherit; text-align: left; color: var(--white); background: rgba(5,7,13,.4); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; cursor: pointer; }
.people button[aria-pressed="true"] { border-color: var(--blue-lite); background: rgba(36,104,216,.25); }
.gcal { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.gcal .status { display: flex; align-items: center; gap: 10px; }
.gcal .led { width: 12px; height: 12px; border-radius: 50%; background: #6b7280; }
.gcal .led.on { background: #4ade80; box-shadow: 0 0 14px #4ade80; }
@media (max-width: 760px) { .split-pane { grid-template-columns: 1fr; } .item { grid-template-columns: auto 1fr; } .item > :last-child { grid-column: 1 / -1; } }

.toast { position: fixed; left: 50%; bottom: 26px; z-index: 200; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 13px 20px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #fff; background: rgba(12,20,40,.92); border: 1px solid var(--edge); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 40px -6px rgba(36,104,216,.9); transition: transform .3s, opacity .3s; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }
.toast.bad { border-color: rgba(255,120,130,.7); box-shadow: 0 0 40px -6px rgba(220,60,70,.9); }
@media (prefers-reduced-motion: reduce) { [data-pane] { animation: none; } }

/* dashboards are working screens: keep the drips at the top, without drops falling over the content */
body:has(.dash) .drips i { display: none; }
body:has(.dash) .drips b { animation: none; transform: scaleY(.7); }

/* ---------- phones first ---------- */
.btn-quiet, .tabs button { min-height: 44px; }
.ev .btn-quiet { padding: 8px 14px; font-size: 11px; min-height: 40px; }
@media (max-width: 640px) {
  .tabs { border-radius: 22px; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(to right, #000 86%, transparent); mask-image: linear-gradient(to right, #000 86%, transparent); padding-right: 40px; }
  .tabs button { scroll-snap-align: start; }
  .field input, .field textarea, .field select { font-size: 16px; } /* stops iOS zooming in on focus */
  .thread { max-height: 46svh; }
}

/* ---------- staff: chairs & options ---------- */
.chair { display: grid; gap: 16px; }
.chair-head { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; }
.chair-head img { width: 76px; height: 76px; border-radius: 18px; object-fit: cover; }
.chair-head h3 { font-family: var(--display); font-weight: 400; font-size: 24px; letter-spacing: .01em; line-height: 1.02; margin-top: 4px; }
.chair-meta .muted b { color: var(--white); font-weight: 500; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 10px; }
.opt { font: inherit; color: var(--white); text-align: left; display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: rgba(5,7,13,.45); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, transform .2s, background .2s; }
.opt:hover { border-color: var(--blue-lite); transform: translateY(-2px); background: rgba(36,104,216,.14); }
.opt:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.opt.off { opacity: .5; }
.opt img { width: 60px; height: 60px; border-radius: 14px; object-fit: cover; }
.opt-main strong { display: block; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.opt-main > span { display: block; font-family: var(--mono); font-size: 12px; color: var(--dim); margin-top: 3px; }
.opt-main .cal-tag { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 999px; font-family: var(--body); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #cfe2ff; background: rgba(106,166,255,.14); border: 1px solid rgba(106,166,255,.4); }
.opt-main .cal-tag.own { color: #ffd98a; background: rgba(255,200,80,.12); border-color: rgba(255,200,80,.45); }
.opt-go { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-lite); padding-right: 6px; }

/* editor sheet: slides in from the right, bottom sheet on phones */
.sheet { position: fixed; inset: 0; z-index: 120; }
.sheet-veil { position: absolute; inset: 0; background: rgba(3,5,10,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.sheet-panel { position: absolute; top: 12px; right: 12px; bottom: 12px; width: min(560px, calc(100vw - 24px)); display: flex; flex-direction: column; border-radius: 30px; background: linear-gradient(170deg, rgba(255,255,255,.14), rgba(12,20,40,.94) 22%, rgba(8,12,24,.98)); border: 1px solid var(--edge); box-shadow: 0 40px 120px -30px rgba(36,104,216,.8); transform: translateX(105%); transition: transform .38s cubic-bezier(.2,.8,.2,1); }
.sheet.open .sheet-veil { opacity: 1; }
.sheet.open .sheet-panel { transform: none; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-family: var(--display); font-weight: 400; font-size: 28px; text-transform: uppercase; }
.sheet-head .x { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--edge); background: var(--glass); color: var(--white); font-size: 22px; cursor: pointer; }
.sheet-body { flex: 1; overflow-y: auto; padding: 18px 22px 24px; }
.sheet-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 22px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
.sheet fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.sheet legend { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.photo-pick { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: center; }
.photo-pick img { width: 112px; height: 112px; border-radius: 22px; object-fit: cover; border: 1px solid var(--edge); box-shadow: 0 0 30px -8px rgba(36,104,216,.8); }
.photo-pick label.btn-quiet { display: inline-flex; align-items: center; }
.cal-choice { display: grid; gap: 8px; }
.radio { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(5,7,13,.45); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s; }
.radio input { width: 18px; height: 18px; accent-color: var(--blue); flex: none; }
.radio strong { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.radio span span { display: block; font-size: 12px; color: var(--dim); margin-top: 2px; }
.radio:has(input:checked) { border-color: var(--blue-lite); background: rgba(36,104,216,.2); }
.addon-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 14px; }
.new-addon summary, details summary { cursor: pointer; font-size: 13px; color: var(--blue-lite); margin-top: 10px; }

/* ---------- staff: calendars ---------- */
.sched-chips { display: flex; flex-wrap: wrap; justify-content: flex-start; margin-top: 16px; border-radius: 26px; }
.sched-grid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); align-items: start; }
.week-hours { display: grid; gap: 8px; }
.wh { display: grid; grid-template-columns: auto 44px minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 10px; border-radius: 16px; background: rgba(5,7,13,.4); border: 1px solid var(--line); transition: border-color .2s, opacity .2s; }
.wh strong { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.wh input[type="time"] { font: inherit; font-family: var(--mono); font-size: 14px; color: var(--white); background: rgba(5,7,13,.6); border: 1px solid var(--edge); border-radius: 12px; padding: 9px 8px; min-width: 0; width: 100%; color-scheme: dark; }
.wh:not(.on) input[type="time"] { opacity: .3; pointer-events: none; }
.wh.on { border-color: rgba(106,166,255,.45); }
.switch { position: relative; display: inline-block; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid var(--edge); transition: background .2s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s cubic-bezier(.3,1.4,.5,1); }
.switch input:checked + span { background: linear-gradient(135deg, var(--blue-lite), var(--blue)); border-color: transparent; box-shadow: 0 0 14px rgba(36,104,216,.8); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.used { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.used .fact { font-family: var(--body); font-size: 12px; }

.admin-cal .cd { font-family: var(--mono); cursor: pointer; border: 1px solid transparent; color: var(--white); background: rgba(255,255,255,.03); transition: transform .15s, box-shadow .2s; }
.admin-cal .cd:hover:not(:disabled) { transform: scale(1.05); }
.admin-cal .cd.a-weekly { background: linear-gradient(160deg, rgba(106,166,255,.2), rgba(36,104,216,.08)); border-color: rgba(106,166,255,.35); }
.admin-cal .cd.a-custom { background: linear-gradient(160deg, rgba(255,200,80,.28), rgba(255,160,40,.1)); border-color: rgba(255,200,80,.6); color: #fff; }
.admin-cal .cd.a-closed { background: rgba(220,60,70,.14); border-color: rgba(255,120,130,.45); color: #ffb3ba; text-decoration: line-through; }
.admin-cal .cd.a-none { color: rgba(245,248,252,.4); }
.admin-cal .cd.past { opacity: .28; cursor: default; }
.admin-cal .cd[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 22px rgba(106,166,255,.9); transform: scale(1.06); }
.admin-cal .cd::after { display: none; }
.admin-key i.k-weekly { background: linear-gradient(160deg, rgba(106,166,255,.5), rgba(36,104,216,.3)); }
.admin-key i.k-custom { background: rgba(255,200,80,.5); border-color: rgba(255,200,80,.8); }
.admin-key i.k-closed { background: rgba(220,60,70,.4); border-color: rgba(255,120,130,.7); }
.admin-key { flex-wrap: wrap; }
.day-panel { padding: 16px; border-radius: 20px; background: rgba(5,7,13,.5); border: 1px solid var(--edge); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.seg span { display: grid; place-content: center; min-height: 40px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-align: center; transition: background .2s; }
.seg input:checked + span { background: linear-gradient(135deg, var(--blue-lite), var(--blue)); box-shadow: 0 0 16px rgba(36,104,216,.8); }
.seg input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.de-times input[type="time"] { font: inherit; font-family: var(--mono); color: var(--white); background: rgba(5,7,13,.6); border: 1px solid var(--edge); border-radius: 12px; padding: 10px; color-scheme: dark; }
.ev.pending { background: linear-gradient(135deg, rgba(255,190,70,.3), rgba(160,100,20,.25)); border-color: rgba(255,200,80,.55); }

@media (max-width: 640px) {
  .chair-head { grid-template-columns: 60px minmax(0, 1fr); }
  .chair-head img { width: 60px; height: 60px; }
  .chair-head > .row { grid-column: 1 / -1; }
  .chair-head > .row > * { flex: 1; justify-content: center; }
  .opts { grid-template-columns: 1fr; }
  .sheet-panel { top: auto; left: 0; right: 0; bottom: 0; width: auto; max-height: 92svh; border-radius: 28px 28px 0 0; transform: translateY(105%); }
  .photo-pick { grid-template-columns: 88px minmax(0, 1fr); }
  .photo-pick img { width: 88px; height: 88px; }
  .sched-grid { grid-template-columns: 1fr; }
  .wh { grid-template-columns: auto 38px minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px; padding: 8px; }
  .wh input[type="time"] { font-size: 13px; padding: 8px 4px; }
}
@media (prefers-reduced-motion: reduce) { .sheet-panel, .sheet-veil { transition: none; } }

/* ---------- client photos ---------- */
.nudge { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-bottom: 18px; border-color: rgba(106,166,255,.5); background: linear-gradient(135deg, rgba(36,104,216,.32), rgba(16,53,127,.2)); }
.nudge strong { display: block; font-family: var(--display); font-weight: 400; font-size: 26px; text-transform: uppercase; line-height: 1; margin-top: 6px; }
.nudge-ic { width: 54px; height: 54px; border-radius: 18px; display: grid; place-content: center; background: linear-gradient(135deg, var(--blue-lite), var(--blue)); box-shadow: 0 0 24px rgba(36,104,216,.8); }
.nudge-ic svg { width: 28px; height: 28px; color: #fff; }
.ph-progress { position: relative; width: 74px; height: 74px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: conic-gradient(var(--blue-lite) calc(var(--p) * 360deg), rgba(255,255,255,.1) 0); }
.ph-progress::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #0b1224; }
.ph-progress b, .ph-progress span { position: relative; }
.ph-progress b { font-family: var(--mono); font-size: 18px; font-weight: 500; }
.ph-progress span { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.ph { position: relative; margin: 0; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; }
.ph.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 14px; text-align: center; cursor: pointer; border: 1.5px dashed rgba(106,166,255,.5); background: radial-gradient(120% 80% at 50% 0%, rgba(106,166,255,.14), rgba(5,7,13,.4)); transition: border-color .2s, transform .2s, background .2s; }
.ph.empty:hover { border-color: var(--blue-lite); transform: translateY(-3px); background: radial-gradient(120% 80% at 50% 0%, rgba(106,166,255,.26), rgba(5,7,13,.4)); }
.ph.empty:focus-within { outline: 2px solid #fff; outline-offset: 2px; }
.ph.extra { border-color: rgba(255,255,255,.22); }
.ph-plus { width: 46px; height: 46px; border-radius: 50%; display: grid; place-content: center; font-size: 26px; font-weight: 300; background: linear-gradient(135deg, var(--blue-lite), var(--blue)); box-shadow: 0 0 20px rgba(36,104,216,.8); color: #fff; }
.ph.empty strong { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.ph.empty span:not(.ph-plus) { font-size: 12px; color: var(--dim); }
.ph.has img { width: 100%; height: 100%; object-fit: cover; }
.ph.has figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 8px; padding: 30px 10px 10px; background: linear-gradient(to top, rgba(5,7,13,.92), transparent); }
.ph.has figcaption strong { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ph.has figcaption .btn-quiet { min-height: 36px; padding: 6px 10px; font-size: 10px; display: inline-flex; align-items: center; cursor: pointer; }
.ph.busy::after { content: "Uploading…"; position: absolute; inset: 0; display: grid; place-content: center; background: rgba(5,7,13,.78); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ph-done { padding: 12px 16px; border-radius: 16px; background: rgba(60,200,140,.14); border: 1px solid rgba(90,220,160,.5); color: #9ff0c8; font-size: 14px; }
.signup h1 { font-size: clamp(36px, 7vw, 56px); }
/* staff: client sheet */
.client-ph { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.client-ph a { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 1px solid var(--edge); }
.client-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.client-ph a:hover img { transform: scale(1.05); }
.client-ph span { position: absolute; left: 6px; bottom: 6px; padding: 3px 8px; border-radius: 999px; background: rgba(5,7,13,.8); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.ph-count { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-family: var(--mono); font-size: 11px; background: rgba(106,166,255,.16); border: 1px solid rgba(106,166,255,.45); }
.ph-count.none { background: rgba(255,200,80,.12); border-color: rgba(255,200,80,.45); color: #ffd98a; }
@media (max-width: 640px) {
  .nudge { grid-template-columns: auto minmax(0, 1fr); }
  .nudge .btn { grid-column: 1 / -1; justify-content: center; }
  .ph-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
