/* HBKL Studio - same tokens as kaylielafoy.com (Kaylie's v2.0 brief). Calendar colors follow her
   Studio OS spec: berry = cuts/styles, orange = color, blue = foils, violet = consultations,
   chartreuse = protected time. Colored fills are dark tints with a colored edge so ivory text keeps contrast. */
@font-face { font-family: 'Outfit'; font-weight: 300 700; font-display: swap; src: url(../fonts/outfit-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-weight: 300 700; font-display: swap; src: url(../fonts/manrope-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400 600; font-display: swap; src: url(../fonts/dm-sans-normal.woff2) format('woff2'); }

:root {
  --charcoal: #17171B; --surface: #1F1E24; --surface-2: #29272F; --ivory: #F4EEE9; --muted: #BFB7B0;
  --rasp: #C13D78; --rasp-btn: #B23670; --rasp-btn-hover: #A8336A; --rasp-text: #E2769F;
  --orange: #E87932; --chartreuse: #B6C944; --blue: #6498C9; --purple: #8763A7; --purple-text: #B497D4;
  --danger: #E06A6A;
  --line: rgba(244, 238, 233, .12); --line-strong: rgba(244, 238, 233, .24);
  --head: 'Outfit', system-ui, sans-serif; --body: 'Manrope', system-ui, sans-serif; --label: 'DM Sans', 'Manrope', system-ui, sans-serif;
  --ppm: 1.5px; /* calendar pixels per minute */
  --nav-h: 64px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--charcoal); color: var(--ivory); font: 400 16px/1.5 var(--body); }
a { color: var(--rasp-text); }
h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.5rem, 5vw, 2rem); }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; margin-top: 1.4em; }
.muted { color: var(--muted); margin: 0; }
.hint { color: var(--muted); font-size: .9rem; }
.ic { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 2px solid var(--rasp-text); outline-offset: 2px; }
[hidden] { display: none !important; }

.demo-bar { background: repeating-linear-gradient(135deg, #3a3416 0 12px, #332e14 12px 24px); color: var(--chartreuse); font: 600 .78rem/1.3 var(--label); letter-spacing: .06em; text-transform: uppercase; text-align: center; padding: 8px 16px; border-bottom: 1px solid rgba(182, 201, 68, .35); }

/* Shell: bottom bar on phones, sidebar from 900px */
.shell { min-height: 100vh; }
.main { padding: 20px 16px calc(var(--nav-h) + 28px + env(safe-area-inset-bottom)); max-width: 1200px; margin: 0 auto; }
.side { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around; background: rgba(23, 23, 27, .96); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); backdrop-filter: blur(8px); }
.side .brand, .side .nav-out, .side .ver { display: none; }
.nav-link { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 56px; min-height: 52px; justify-content: center; color: var(--muted); text-decoration: none; font: 500 .72rem var(--label); border-radius: 12px; padding: 4px 6px; }
.nav-link.on { color: var(--ivory); }
.nav-link.on .ic { color: var(--rasp-text); }
@media (min-width: 900px) {
  .shell { display: grid; grid-template-columns: 228px 1fr; }
  .side { position: sticky; top: 0; height: 100vh; flex-direction: column; justify-content: flex-start; gap: 4px; border-top: 0; border-right: 1px solid var(--line); padding: 22px 14px; background: var(--charcoal); }
  .side .brand { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; color: var(--muted); font: 500 .8rem var(--label); letter-spacing: .14em; text-transform: uppercase; margin: 0 8px 22px; }
  .side .brand img { width: 180px; height: auto; }
  .nav-link { flex-direction: row; gap: 12px; justify-content: flex-start; font-size: .95rem; min-height: 44px; padding: 0 14px; }
  .nav-link:hover { background: var(--surface); color: var(--ivory); }
  .nav-link.on { background: var(--surface-2); }
  .side .nav-out { display: block; margin-top: auto; }
  .side .nav-out button { background: none; border: 0; color: var(--muted); font: 500 .9rem var(--label); padding: 10px 14px; cursor: pointer; min-height: 44px; }
  .side .ver { display: block; color: rgba(191, 183, 176, .6); font-size: .75rem; margin: 0 14px; }
  .main { padding: 28px 32px 48px; margin: 0; max-width: 1360px; width: 100%; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid transparent; font: 600 .95rem var(--label); text-decoration: none; cursor: pointer; color: var(--ivory); background: none; }
.btn-primary { background: var(--rasp-btn); }
.btn-primary:hover { background: var(--rasp-btn-hover); }
.btn-ghost { border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { border-color: rgba(224, 106, 106, .5); color: #F2A3A3; }
.btn-sm { min-height: 44px; padding: 0 14px; font-size: .85rem; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--ivory); }
.icon-btn:hover { background: var(--surface-2); }

.page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; margin-bottom: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; margin-bottom: 16px; }
.flash { background: rgba(182, 201, 68, .12); border: 1px solid rgba(182, 201, 68, .4); border-radius: 14px; padding: 10px 16px; margin-bottom: 16px; }
.flash p { margin: 0; }
.err { color: #F2A3A3; background: rgba(224, 106, 106, .12); border: 1px solid rgba(224, 106, 106, .4); border-radius: 12px; padding: 10px 14px; }
.warn { background: rgba(232, 121, 50, .12); border: 1px solid rgba(232, 121, 50, .45); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.warn p { margin: 0 0 8px; }

/* Category colors */
.cat-cut, .cat-style { --c: var(--rasp); }
.cat-color { --c: var(--orange); }
.cat-highlight { --c: var(--blue); }
.cat-consult { --c: var(--purple); }
.cat-product { --c: var(--muted); }
.cat-block { --c: var(--chartreuse); }

/* Dashboard */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.tile { background: color-mix(in srgb, var(--c) 16%, var(--surface)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); border-radius: 18px; padding: 14px; text-decoration: none; color: var(--ivory); display: flex; flex-direction: column; gap: 2px; min-height: 84px; }
.tile strong { font: 600 clamp(1.3rem, 5vw, 1.8rem) var(--head); }
.tile span { color: var(--muted); font: 500 .8rem var(--label); }

/* Agenda rows */
.agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.agenda-row { display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 12px 8px 14px; border-radius: 14px; background: color-mix(in srgb, var(--c) 18%, var(--surface-2)); border-left: 4px solid var(--c); color: var(--ivory); text-decoration: none; }
a.agenda-row:hover { background: color-mix(in srgb, var(--c) 28%, var(--surface-2)); }
.agenda-row .when { font: 600 .9rem var(--label); min-width: 72px; color: var(--ivory); }
.agenda-row .what { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.agenda-row .what span { color: var(--muted); font-size: .88rem; }
.agenda-row .ic { color: var(--muted); }
.agenda-row form { margin-left: auto; }

/* Calendar header */
.cal-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.cal-nav { display: flex; align-items: center; gap: 10px; }
.cal-nav h1 { margin: 0; min-width: 8ch; text-align: center; font-size: clamp(1.2rem, 4.5vw, 1.6rem); }
.cal-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 899px) { .cal-tools .btn-primary, .hide-phone { display: none !important; } }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.seg a { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; color: var(--muted); text-decoration: none; font: 600 .88rem var(--label); }
.seg a.on { background: var(--rasp-btn); color: var(--ivory); }

/* Time grid */
.grid-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 0 8px 12px 0; }
.grid-cols { display: grid; grid-template-columns: 52px repeat(var(--ncols), minmax(0, 1fr)); }
.axis-pad, .col-head { height: 56px; }
.axis-body, .col-body { position: relative; height: calc(var(--span) * var(--ppm)); }
.axis-body span { position: absolute; top: calc((var(--t) - var(--lo)) * var(--ppm) - .6em); right: 8px; font: 500 .72rem var(--label); color: var(--muted); white-space: nowrap; }
.col { border-left: 1px solid var(--line); min-width: 0; }
.col-head { display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--muted); font: 500 .75rem var(--label); text-transform: uppercase; letter-spacing: .06em; }
.col-head strong { color: var(--ivory); font: 600 1.1rem var(--head); letter-spacing: 0; }
.col.is-today .col-head strong { background: var(--rasp-btn); border-radius: 999px; min-width: 32px; height: 32px; display: grid; place-items: center; }
.col-body { background-image: repeating-linear-gradient(to bottom, var(--line) 0 1px, transparent 1px calc(60 * var(--ppm))); cursor: copy; }
.col.is-closed .col-body { background-color: rgba(0, 0, 0, .18); }
.open { position: absolute; left: 0; right: 0; top: calc((var(--t) - var(--lo)) * var(--ppm)); height: calc(var(--h) * var(--ppm)); background: rgba(244, 238, 233, .025); pointer-events: none; }
.blk { position: absolute; left: 4px; right: 4px; top: calc((var(--t) - var(--lo)) * var(--ppm)); height: calc(var(--h) * var(--ppm)); border-radius: 10px; background: repeating-linear-gradient(135deg, rgba(182, 201, 68, .10) 0 8px, rgba(182, 201, 68, .04) 8px 16px); border: 1px dashed rgba(182, 201, 68, .45); color: var(--chartreuse); font: 600 .75rem var(--label); padding: 4px 8px; overflow: hidden; pointer-events: none; }
.appt { position: absolute; left: 4px; right: 4px; top: calc((var(--t) - var(--lo)) * var(--ppm)); height: calc(var(--h) * var(--ppm) - 2px); border-radius: 10px; background: color-mix(in srgb, var(--c) 30%, var(--surface-2)); border-left: 4px solid var(--c); color: var(--ivory); text-decoration: none; padding: 4px 8px; overflow: hidden; display: flex; flex-direction: column; font-size: .8rem; line-height: 1.25; box-shadow: 0 0 0 1px rgba(0, 0, 0, .25); z-index: 2; }
.appt::after { content: ""; position: absolute; left: -4px; right: 0; bottom: calc(var(--b) * var(--ppm) * -1); height: calc(var(--b) * var(--ppm)); }
.appt strong { font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt span { color: rgba(244, 238, 233, .82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Paid = charcoal (Kaylie): anything still in color hasn't been paid yet */
.is-paid { --c: #4A4750; }
.appt.is-paid, .agenda-row.is-paid { background: var(--surface-2); border-left-color: #4A4750; }
.appt.is-paid:hover, a.agenda-row.is-paid:hover { background: #312F37; }
.chip.is-paid { background: var(--surface-2); }
.paid-mark, .agenda-row .what .paid-mark, .appt .paid-mark { color: var(--chartreuse); font: 600 .78em var(--label); letter-spacing: .02em; white-space: nowrap; }
.appt:hover { background: color-mix(in srgb, var(--c) 42%, var(--surface-2)); }
.appt.dragging { opacity: .9; z-index: 10; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); cursor: grabbing; }
.grid-hint { margin-top: 10px; }
.mouse-only { display: none; }
@media (hover: hover) and (pointer: fine) { .mouse-only { display: inline; } .appt { cursor: grab; } }

/* Week: grid on wide screens, a day-by-day list on phones */
.week-list { display: none; }
@media (max-width: 759px) {
  .grid-wrap.is-week { display: none; }
  .week-list { display: block; }
  .day-card h2 a { color: var(--ivory); text-decoration: none; }
  .day-card.is-today { border-color: rgba(193, 61, 120, .55); }
}

/* Month */
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.month-dow { text-align: center; color: var(--muted); font: 600 .72rem var(--label); text-transform: uppercase; letter-spacing: .06em; padding: 6px 0; }
.mday { min-height: 64px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; color: var(--ivory); text-decoration: none; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mday:hover { border-color: var(--line-strong); }
.mday.is-other { opacity: .45; }
.mday.is-today { border-color: var(--rasp); }
.mday.is-today .mnum { color: var(--rasp-text); }
.mnum { font: 600 .9rem var(--head); }
.chips { display: none; }
.dots { display: flex; gap: 3px; flex-wrap: wrap; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
@media (min-width: 760px) {
  .mday { min-height: 112px; }
  .chips { display: flex; flex-direction: column; gap: 3px; }
  .dots { display: none; }
  .chip { font-size: .74rem; border-left: 3px solid var(--c); background: color-mix(in srgb, var(--c) 20%, var(--surface-2)); border-radius: 6px; padding: 1px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chip-t { color: var(--muted); }
  .more { font-size: .72rem; color: var(--muted); }
}

/* Forms */
.form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.form legend { font: 600 .78rem var(--label); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
label { display: block; font: 500 .88rem var(--label); color: var(--muted); margin: 10px 0 6px; }
input, select, textarea { width: 100%; min-height: 48px; background: var(--charcoal); color: var(--ivory); border: 1px solid var(--line-strong); border-radius: 12px; padding: 10px 12px; font: 400 1rem var(--body); }
textarea { min-height: 72px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--rasp-text); outline: none; }
input[type=checkbox] { width: 20px; height: 20px; min-height: 0; accent-color: var(--rasp-btn); }
label.check { display: inline-flex; align-items: center; gap: 8px; color: var(--ivory); margin: 0; min-height: 44px; }
.row2, .row3, .row4 { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } .row3 { grid-template-columns: 1.3fr 1fr 1fr; } .row4 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 559px) { .row4 { grid-template-columns: 1fr 1fr; } }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.status { font-weight: 600; }
.st-cancelled, .st-no_show { color: #F2A3A3; }
.st-completed { color: var(--chartreuse); }

/* Hours */
.hours-row { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "day day closed" "open rule close"; gap: 6px 8px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours-row .dayname { grid-area: day; font-weight: 600; }
.hours-row .check { grid-area: closed; justify-self: end; }
.hours-row input[name^=open] { grid-area: open; }
.hours-row select { grid-area: rule; padding: 10px 6px; }
.hours-row input[name^=close] { grid-area: close; }
.hours-row input[type=time] { padding: 10px 6px; }
.hours-row.is-closed input[type=time], .hours-row.is-closed select { opacity: .35; }
@media (min-width: 700px) { .hours-row { grid-template-columns: 120px 110px 1fr 160px 1fr; grid-template-areas: "day closed open rule close"; } .hours-row .check { justify-self: start; } }

/* Services */
.svc { border-left: 4px solid var(--c); }
.svc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.svc-head h2 { margin: 0; }
.tag { font: 600 .72rem var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-top: 8px; }
.svc-foot .btn { margin-left: auto; }

/* Clients */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.search { margin-bottom: 14px; }
.search input { border-radius: 999px; padding-left: 18px; }
.avatar { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--rasp) 30%, var(--surface-2)); border: 1px solid rgba(193, 61, 120, .5); font: 600 .85rem var(--head); color: var(--ivory); }
.avatar-lg { width: 64px; height: 64px; font-size: 1.3rem; }
.client-row { --c: var(--line-strong); }
.client-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin-bottom: 16px; }
.client-id { flex: 1; min-width: 180px; }
.client-id h1 { margin: 0; }
.client-actions { display: flex; gap: 8px; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.stats div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; display: flex; flex-direction: column; min-width: 0; }
.stats strong { font: 600 1rem var(--head); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stats span { color: var(--muted); font: 500 .74rem var(--label); }
.stats .is-warn strong { color: #F2A3A3; }
@media (max-width: 480px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.tabs { display: flex; margin-bottom: 16px; overflow-x: auto; max-width: 100%; }
.tabs a { white-space: nowrap; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; }
.facts dt { color: var(--muted); font: 500 .88rem var(--label); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts.stack { grid-template-columns: 1fr; gap: 0; margin: 10px 0; }
.facts.stack dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 10px; }
.facts.stack dd { white-space: pre-wrap; }
.formula { font: 500 1.05rem/1.5 var(--body); background: var(--charcoal); border: 1px solid rgba(232, 121, 50, .4); border-left: 4px solid var(--orange); border-radius: 12px; padding: 10px 14px; margin: 0 0 6px; white-space: pre-wrap; }
.pre { white-space: pre-wrap; margin: 0 0 8px; }
.drink { margin: 0 0 10px; }
.kind-pick { display: inline-flex; margin-bottom: 4px; }
.kind-pick label { margin: 0; }
.kind-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.kind-pick span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; color: var(--muted); font: 600 .88rem var(--label); cursor: pointer; }
.kind-pick input:checked + span { background: var(--rasp-btn); color: var(--ivory); }
.kind-pick input:focus-visible + span { outline: 2px solid var(--rasp-text); outline-offset: 2px; }
.notes, .photos { list-style: none; margin: 0; padding: 0; }
.note { padding: 14px 16px; }
.note-formula { border-left: 4px solid var(--orange); }
.note-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 6px; }
.note form { margin-top: 4px; }
.photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; display: block; background: var(--surface-2); }
.photo-meta { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.photo .hint { margin: 0; font-size: .8rem; }
.settings-list .agenda-row .ic:first-child { color: var(--c); }
.signout { margin: 20px 0 8px; }

/* Checkout + money */
.pay-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.pay-row strong { margin-left: auto; }
.pay-row.is-refund strong { color: #F2A3A3; }
.pay-row .hint { flex-basis: 100%; margin: 0; font-size: .82rem; }
.paid-banner { margin: 12px 0 4px; padding: 12px 16px; border-radius: 14px; background: rgba(182, 201, 68, .14); border: 1px solid rgba(182, 201, 68, .5); color: var(--chartreuse); font: 600 1.05rem var(--head); }
.paid-banner strong { color: var(--ivory); }
.pay-total { font: 600 1.1rem var(--head); margin: 12px 0 0; }
.pay-total strong { color: var(--chartreuse); }
.label-like { font: 500 .88rem var(--label); color: var(--muted); margin: 14px 0 8px; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pay-methods .btn { padding: 0 8px; }
details.refund { margin-top: 12px; }
details.refund summary { cursor: pointer; color: var(--muted); min-height: 44px; display: flex; align-items: center; }
.tax-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.year-pick select { min-height: 40px; padding: 6px 10px; width: auto; }
.table-wrap { overflow-x: auto; margin: 8px 0 10px; }
.money-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.money-table th, .money-table td { text-align: right; padding: 8px 6px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.money-table th:first-child { text-align: left; }
.money-table thead th { color: var(--muted); font: 600 .74rem var(--label); text-transform: uppercase; letter-spacing: .06em; }
.money-table tfoot th, .money-table tfoot td { border-bottom: 0; border-top: 1px solid var(--line-strong); }
.amt { margin-left: auto; font-family: var(--head); }
@media (max-width: 559px) { .money-table { font-size: .76rem; } .money-table thead th { font-size: .62rem; letter-spacing: .02em; } .money-table th, .money-table td { padding: 7px 3px; } }

/* Requests */
.req-banner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 14px; border-radius: 16px; text-decoration: none; color: var(--ivory); background: color-mix(in srgb, var(--purple) 26%, var(--surface)); border: 1px solid rgba(135, 99, 167, .6); }
.req-banner strong { font: 600 1.05rem var(--head); }
.req-banner span { color: var(--muted); font-size: .88rem; flex: 1; }
.appt.is-request { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--c) 22%, var(--surface-2)) 0 10px, color-mix(in srgb, var(--c) 12%, var(--surface-2)) 10px 20px); border: 1px dashed var(--c); border-left-width: 4px; }
.req-mark, .appt .req-mark { color: var(--purple-text); font: 600 .78em var(--label); }
.req-card { border-left: 4px solid var(--c); }
.req-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.req-head h2 { margin: 0 0 2px; }
.suggest { color: var(--purple-text); margin: 6px 0; }
.photos.inspo { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); margin: 10px 0; }
.pill { font: 600 .76rem var(--label); padding: 4px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong); white-space: nowrap; }
.req-confirmed .pill { color: var(--chartreuse); border-color: rgba(182, 201, 68, .5); }
.req-suggested .pill { color: var(--purple-text); border-color: rgba(135, 99, 167, .6); }

/* Texts */
.txt-banner { background: color-mix(in srgb, var(--orange) 22%, var(--surface)); border-color: rgba(232, 121, 50, .6); }
.pair-code { margin: 14px 0; padding: 16px; border-radius: 16px; background: var(--charcoal); border: 1px solid var(--line-strong); }
.pair-code p { margin: 0 0 4px; }
.pair-code .code { font: 600 2.2rem var(--head); letter-spacing: .12em; color: var(--chartreuse); margin-bottom: 0; }
.pair-code .code-sm { font: 600 1rem var(--label); margin-bottom: 10px; overflow-wrap: anywhere; }

/* Public client pages */
.public { min-height: 100vh; display: flex; flex-direction: column; }
.pub-head { padding: 18px 16px; border-bottom: 1px solid var(--line); }
.pub-head img { height: 30px; width: auto; display: block; }
.pub-main { width: 100%; max-width: 720px; margin: 0 auto; padding: 22px 16px 32px; flex: 1; }
.pub-foot { border-top: 1px solid var(--line); padding: 18px 16px 28px; color: var(--muted); font-size: .88rem; text-align: center; }
.back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); text-decoration: none; min-height: 44px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.slot { padding: 0 8px; }
.inline-upload { margin: 6px 0 10px; }
.inline-upload .btn { margin-top: 8px; }

/* Login */
.login-page { min-height: 100vh; display: flex; flex-direction: column; }
.login-card { margin: auto; width: min(380px, calc(100% - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px 22px; }
.login-logo { width: 180px; height: auto; display: block; }
.eyebrow { font: 600 .78rem var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 8px 0 18px; }
.login-card .btn { margin-top: 18px; }

@media (prefers-reduced-motion: no-preference) { .btn, .nav-link, .appt, .tile { transition: background-color .15s ease, border-color .15s ease; } }

/* Public week calendar: open / booked / unavailable runs, no client details */
.cal-key { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 8px 0 16px; color: var(--muted); font: 500 .88rem var(--label); }
.cal-key li { display: flex; align-items: center; gap: 6px; }
.cal-swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.cal-day h2 { margin-bottom: 10px; }
.cal-day.is-past { opacity: .6; }
.cal-today { font: 600 .75rem var(--label); color: var(--charcoal); background: var(--chartreuse); border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.cal-runs { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.cal-run { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; border-left: 4px solid var(--c); background: color-mix(in srgb, var(--c) 16%, var(--surface-2)); }
.cal-when { font: 600 .92rem var(--label); color: var(--ivory); }
.cal-what { color: var(--muted); font-size: .9rem; }
.is-open { --c: var(--chartreuse); }
.is-booked { --c: var(--rasp); }
.is-off { --c: #6B6672; }
.cal-swatch.is-open, .cal-swatch.is-booked, .cal-swatch.is-off { background: var(--c); }
