/* Soul Beauty & Spa — ivory, beige, gold */
:root {
  --ivory: #fbf8f2;
  --paper: #ffffff;
  --beige: #f1e8d6;
  --beige-2: #e7dcc6;
  --line: #e6dcc9;
  --gold: #a9844c;
  --gold-soft: #c9ab7a;
  --ink: #2f2820;
  --ink-2: #5d5244;
  --muted: #8b7f6d;
  --ok: #4f7a52;
  --ok-bg: #edf3ea;
  --warn: #9a6a1c;
  --warn-bg: #fbf1de;
  --bad: #a14a3b;
  --bad-bg: #f8e9e5;
  --radius: 10px;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, "Noto Sans Hebrew", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overscroll-behavior: none; }
body { overscroll-behavior: none; margin: 0; background: var(--ivory); color: var(--ink); font: 15px/1.5 var(--sans); }
a { color: var(--ink); text-decoration-color: var(--gold-soft); text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: .01em; margin: 0 0 .4em; }
h1 { font-size: 30px; line-height: 1.15; }
h2 { font-size: 22px; margin-top: 1.4em; }
h3 { font-size: 18px; }
.num, td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* --- shell --- */
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-inner { max-width: 1320px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 6px 20px 0; height: 70px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.brand .bt { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.brand b { font-family: var(--serif); font-size: 20px; letter-spacing: .18em; font-weight: 600; }
.brand span { font-size: 10px; letter-spacing: .28em; color: var(--gold); margin-top: 4px; text-transform: uppercase; }
nav.main { display: flex; flex-wrap: nowrap; gap: 2px; flex: 1; min-width: 0; }
nav.main a { text-decoration: none; padding: 7px 11px; border-radius: 8px; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
nav.main a:hover { background: var(--ivory); color: var(--ink); }
nav.main a.on { background: var(--beige); color: var(--ink); }
.badge { display: inline-block; min-width: 19px; padding: 0 6px; height: 19px; line-height: 19px; border-radius: 10px; background: var(--gold); color: #fff; font-size: 11px; text-align: center; margin-left: 4px; font-weight: 600; }
.top form { margin: 0; }
.btn.menu-btn { display: none; }
main { max-width: 1240px; margin: 0 auto; padding: 26px 20px 80px; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.head p { margin: 2px 0 0; color: var(--muted); }

/* --- buttons & forms --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); padding: 9px 15px; border-radius: 8px; font: 500 14px var(--sans); cursor: pointer; text-decoration: none; min-height: 40px; }
.btn:hover { border-color: var(--gold-soft); color: var(--ink); }
.btn.primary { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn.primary:hover { background: #463c30; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: #fff; letter-spacing: .04em; }
.btn.gold:hover { background: #966f37; color: #fff; }
.btn.quiet { border-color: transparent; background: transparent; color: var(--ink-2); }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 5px 10px; min-height: 32px; font-size: 13px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 4px; font-weight: 500; }
input, select, textarea { width: 100%; font: 15px var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 9px 11px; min-height: 42px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-soft); outline-offset: 0; border-color: var(--gold-soft); }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; accent-color: var(--gold); }
textarea { min-height: 70px; }
.field { margin-bottom: 14px; }
.hint { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inline { display: inline; }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--paper); border: 1px solid var(--line); border-radius: 9px; padding: 3px; gap: 2px; }
.seg a { text-decoration: none; padding: 6px 11px; border-radius: 7px; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.seg a.on { background: var(--beige); color: var(--ink); font-weight: 600; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.filters form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.filters input, .filters select { width: auto; min-height: 36px; padding: 6px 9px; font-size: 14px; }

/* --- cards --- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card + .card { margin-top: 16px; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 16px; }
.stat .k { font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stat .v { font-family: var(--serif); font-size: 27px; font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.stat.hl { border-color: var(--gold-soft); background: linear-gradient(180deg, #fffdf8, #faf3e6); }
.stat.hl .v { color: #7d5d2c; }
.stat .s { font-size: 12px; color: var(--muted); margin-top: 3px; }
.stats.s4 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.stats.s5 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }

/* --- tables --- */
.tbl-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th { text-align: left; font-size: 11.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 11px 12px; border-bottom: 1px solid var(--line); background: #fdfbf6; white-space: nowrap; }
td { padding: 10px 12px; border-bottom: 1px solid #f1ebdf; vertical-align: top; }
tr:last-child td { border-bottom: none; }
tr.total td { font-weight: 700; border-top: 2px solid var(--gold-soft); background: #fdfaf3; }
tr.void td { color: var(--muted); text-decoration: line-through; text-decoration-color: #c9bfae; }
tr.void td.keep { text-decoration: none; }
tbody tr.link { cursor: pointer; }
tbody tr.link:hover td { background: #fdf9f0; }
.emp-name { font-weight: 600; text-decoration: none; }
.owed { font-weight: 700; color: #7d5d2c; }
.neg { color: var(--bad); }
.pos { color: var(--ok); }
.empty { padding: 30px; text-align: center; color: var(--muted); }

/* --- pills & flashes --- */
.pill { display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 20px; background: var(--beige); color: var(--ink-2); white-space: nowrap; font-weight: 500; }
.pill.ok { background: var(--ok-bg); color: var(--ok); }
.pill.warn { background: var(--warn-bg); color: var(--warn); }
.pill.bad { background: var(--bad-bg); color: var(--bad); }
.pill.gold { background: #f6ecd9; color: #7d5d2c; }
.flash { padding: 11px 14px; border-radius: 8px; margin-bottom: 14px; border: 1px solid; font-size: 14px; }
.flash.ok { background: var(--ok-bg); border-color: #cfe0c9; color: #33543a; }
.flash.error { background: var(--bad-bg); border-color: #ecc9c0; color: #7c3022; }
.notice { background: var(--warn-bg); border: 1px solid #f0dcb4; color: #6d4c14; padding: 12px 14px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.notice.calm { background: #f7f2e8; border-color: var(--line); color: var(--ink-2); }

details > summary { cursor: pointer; color: var(--ink-2); font-weight: 500; }
details[open] > summary { margin-bottom: 10px; }
pre { background: #f8f4ec; padding: 12px; border-radius: 8px; overflow: auto; font-size: 12px; max-height: 340px; }
.two { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.kv { display: grid; grid-template-columns: 150px 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.login { max-width: 380px; margin: 9vh auto; }
.login-logo { display: block; width: 240px; max-width: 70%; margin: 0 auto 22px; border-radius: 22px; box-shadow: 0 6px 24px rgba(80,60,40,.10); }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.balance-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.balance-banner .big { font-family: var(--serif); font-size: 40px; font-weight: 600; color: #7d5d2c; line-height: 1; }

/* --- checkout (built for iPad touch as well as desktop) --- */
.day-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.day-now { text-align: center; padding: 0 6px; }
.day-now b { display: block; font-weight: 600; }
.co-day { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.co-list { display: grid; gap: 10px; }
.co-appt { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.co-appt .time { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.co-appt .who { font-weight: 600; font-size: 16px; }
.co-appt .what { color: var(--ink-2); font-size: 14px; }
.co-appt .price { font-variant-numeric: tabular-nums; font-weight: 600; font-size: 16px; text-align: right; }
.co-appt.done { opacity: .72; }
.btn.big { min-height: 54px; padding: 12px 22px; font-size: 17px; border-radius: 10px; }
.co-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.co-due { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.co-due .v { font-family: var(--serif); font-size: 44px; font-weight: 600; color: #7d5d2c; line-height: 1; font-variant-numeric: tabular-nums; }
.co-due.paid .v { color: var(--ok); }
.co-sums { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; font-size: 14.5px; margin-top: 14px; }
.co-sums dt { color: var(--ink-2); }
.co-sums dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.co-methods { display: grid; gap: 10px; margin-top: 16px; }
.co-methods details { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.co-methods summary { list-style: none; padding: 16px 18px; font-size: 17px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; min-height: 56px; }
.co-methods summary::-webkit-details-marker { display: none; }
.co-methods summary::after { content: "›"; font-size: 22px; color: var(--gold); transition: transform .15s; }
.co-methods details[open] summary::after { transform: rotate(90deg); }
.co-methods details > div { padding: 0 18px 18px; }
.co-methods input { min-height: 50px; font-size: 18px; }
.co-wait { border: 2px solid var(--gold-soft); background: #fffaf0; border-radius: 12px; padding: 18px; margin-top: 16px; }
.co-wait .pulse { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-right: 8px; animation: copulse 1.2s infinite; }
@keyframes copulse { 50% { opacity: .25; } }
.sim { border: 2px dashed #b9a27a; border-radius: 12px; padding: 16px; margin-top: 14px; background: #fdfbf6; }
.sim h3 { font-family: var(--sans); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--warn); }
.sim .btn-row .btn { flex: 1 1 200px; min-height: 48px; }
.co-lines td { vertical-align: middle; }

/* --- responsive --- */
@media (max-width: 1400px) { .top .brand .bt { display: none; } }
@media (max-width: 1240px) {
  nav.main a { padding: 7px 8px; font-size: 13.5px; }
  .top .btn.gold.hide-sm { display: none; }
}
@media (max-width: 980px) {
  .co-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .co-appt { grid-template-columns: 56px minmax(0, 1fr); }
  .co-appt .price, .co-appt .act { grid-column: 2; text-align: left; }
}
@media (max-width: 1100px) {
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats.s5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .btn.menu-btn { display: inline-flex; margin-left: auto; }
  nav.main { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 8px 12px 14px; border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(60, 45, 20, .08); }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px; font-size: 15px; }
  .top .logout { display: none; }
  nav.main .m-only { display: block; }
  .two, .g2, .g3 { grid-template-columns: 1fr; }
  .stats, .stats.s4, .stats.s5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: 26px; }
  main { padding: 18px 16px 70px; }
  .stat .v { font-size: 22px; }
  .kv { grid-template-columns: 120px 1fr; }
  .hide-sm { display: none; }
  /* employee overview becomes cards */
  table.cards thead { display: none; }
  table.cards, table.cards tbody, table.cards tr, table.cards td { display: block; width: 100%; }
  table.cards tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  table.cards td { border: none; padding: 3px 0; display: flex; justify-content: space-between; text-align: right; }
  table.cards td::before { content: attr(data-label); color: var(--muted); font-size: 13px; text-align: left; padding-right: 12px; }
  table.cards td.name { font-size: 17px; padding-bottom: 6px; }
  table.cards td.name::before { content: none; }
  table.cards tr.total td.name::before { content: none; }
}
nav.main .m-only { display: none; }
@media print {
  .top, .filters, .btn, form { display: none !important; }
  body { background: #fff; }
  .card, .tbl-wrap, .stat { border-color: #ddd; }
}

/* checkout service picker */
.svc-pick { max-height: 340px; overflow-y: auto; border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px 12px; background: var(--paper); }
.svc-h { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 12px 0 6px; font-weight: 600; }
.svc-items { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-b { border: 1px solid var(--line); background: var(--ivory); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 14px; cursor: pointer; min-height: 40px; }
.svc-b:hover { background: var(--beige); }
.svc-b.other { background: transparent; border-style: dashed; margin-top: 10px; }

/* visible validation */
.err { border-color: var(--bad) !important; box-shadow: 0 0 0 3px rgba(155,59,46,.15) !important; }
.err-msg { color: var(--bad); font-size: 13px; margin-top: 4px; font-weight: 500; }
.svc-b.picked { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-b[data-count]::after { content: attr(data-count); margin-left: 6px; font-size: 12px; opacity: .85; }

/* placeholders must not look like typed values */
input::placeholder, textarea::placeholder { color: #b9ada0; opacity: 1; font-style: italic; }

/* on-page confirmation */
.cfm { position: fixed; inset: 0; background: rgba(40,30,20,.35); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.cfm-card { background: var(--paper, #fff); border-radius: 16px; padding: 22px 24px; max-width: 420px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.cfm-msg { margin: 0 0 16px; font-size: 16px; line-height: 1.45; }
.cfm .btn { min-height: 46px; font-size: 16px; }

/* 6.0.7: an expense opens underneath its row, across the page */
.exp-more > td { background: #fbf8f2; padding: 16px; }
.exp-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 24px; align-items: start; }
.exp-panel h4 { margin: 0 0 6px; }
tr.row-open > td { background: #fbf8f2; }
.flash.float { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 90; max-width: 90vw; box-shadow: 0 8px 24px rgba(0,0,0,.15); }

.seg-dates { font-size: 11px; opacity: .7; white-space: nowrap; }

/* 6.0.11 */
.back-link { margin-bottom: 12px; }
.pm-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.pm-chip { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; font-size: 13px; white-space: nowrap; }
.pm-total { background: #f7f2e8; }
@media (min-width: 900px) { .two.even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

.day-strip .is-today { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.more-filters { margin-bottom: 12px; }
.more-filters > summary { cursor: pointer; font-size: 14px; margin-bottom: 8px; }

/* --- native booking calendar --- */
.cal-wrap { overflow-x: auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.cal { display: grid; gap: 0 6px; min-width: 100%; }
.cal-head { font-weight: 600; padding: 4px 8px 8px; }
.cal-times { position: sticky; left: 0; z-index: 3; background: var(--paper); }
.cal-week { gap: 0 10px; }
.cal-week .cal-head { border-bottom: 2px solid var(--line); margin-bottom: 6px; text-align: center; }
.cal-week .cal-head.today { border-bottom-color: var(--gold); }
.cal-week .cal-head a { text-decoration: none; color: var(--ink); font-weight: 600; }
.cal-week .cal-head.today a { color: var(--gold); }
.cal-wrap:has(.cal-week) { width: min(calc(100vw - 40px), 1760px); margin-inline: calc((100% - min(calc(100vw - 40px), 1760px)) / 2); box-sizing: border-box; }
.cal-week .cal-col { background: #faf7f1; border-radius: 10px; }
.cal-week .cal-col.today { box-shadow: inset 0 0 0 1px var(--gold-soft); }
.cal-week .cal-work { background: #fff; }
.cal-week .cal-line { border-top-color: #f3eee4; }
.cal-week .cal-item, .cal-week .cal-item.setmore, .cal-week .cal-item.setmore.tight { left: 4px; right: 4px; padding: 5px 8px; border-radius: 8px; font-size: 12.5px; line-height: 1.3; background: #f6efe3; border-left: 3px solid var(--gold); box-shadow: 0 1px 2px rgba(47,40,32,.08); }
.cal-week .cal-item b { font-weight: 600; }
.cal-week .cal-item .t { display: block; font-size: 11.5px; color: var(--ink-2); font-weight: 500; }
.cal-week .cal-item .small { display: block; font-size: 11.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-week .cal-buffer { background: rgba(47,40,32,.05); }
.cal-week .cal-item.lane-1, .cal-week .cal-item.setmore.lane-1 { background: #eef3ec; border-left-color: #6f8f7a; }
.cal-week .cal-item.lane-2, .cal-week .cal-item.setmore.lane-2 { background: #efeef6; border-left-color: #7d7aa8; }
.cal-week .cal-item.lane-3, .cal-week .cal-item.setmore.lane-3 { background: #f6edef; border-left-color: #a8707d; }
.cal-week .cal-item.cat-pedicure { background: #efeef6; border-left-color: #7d7aa8; }
.cal-week .cal-item.cat-massage { background: #eef3ec; border-left-color: #6f8f7a; }
.cal-week .cal-item.cat-lashes { background: #f6edef; border-left-color: #a8707d; }
.cal-times span { position: absolute; right: 6px; font-size: 11.5px; color: var(--muted); transform: translateY(-7px); }
.cal-col { position: relative; background: #f5f1e8; border-radius: 8px; overflow: hidden; }
.cal-work { position: absolute; left: 0; right: 0; background: var(--paper); }
.cal-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.cal-item { position: absolute; left: 4px; right: 4px; border-radius: 6px; padding: 3px 7px; overflow: hidden; font-size: 12.5px; line-height: 1.3; text-decoration: none; background: var(--beige); border-left: 3px solid var(--gold); color: var(--ink); }
.cal-item.no_show { background: var(--bad-bg); border-left-color: var(--bad); }
.cal-item.setmore { background: repeating-linear-gradient(135deg, #f1ece2, #f1ece2 8px, #f8f4ec 8px, #f8f4ec 16px); border-left-color: var(--muted); color: var(--ink); }
.slot-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.slot { display: inline-flex; }
.slot input { position: absolute; opacity: 0; }
.slot > span { display: block; min-height: 40px; line-height: 24px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); cursor: pointer; font-variant-numeric: tabular-nums; }
.slot.good span { border-color: var(--gold-soft); background: #fbf5e8; }
.slot input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.slot input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.cal-block-wrap { position: absolute; top: 0; bottom: 0; pointer-events: none; }
.cal-block-wrap .cal-item { pointer-events: auto; }
.cal-item.drag { cursor: grab; touch-action: none; user-select: none; }
.cal-item.dragging { cursor: grabbing; z-index: 5; box-shadow: 0 4px 14px rgba(47,40,32,.25); opacity: .92; }
.cal-head.today a { font-weight: 700; color: var(--gold); }
.cal-col { cursor: copy; }
.cal-item.tight { left: 2px; right: 2px; padding: 3px 6px; font-size: 12px; line-height: 1.25; }
.cal-item.setmore.lane-0 { border-left-color: var(--gold); }
.cal-item.setmore.lane-1 { border-left-color: #6f8f7a; }
.cal-item.setmore.lane-2 { border-left-color: #7d7aa8; }
.cal-item.setmore.lane-3 { border-left-color: #a8707d; }
.cal-item.lane-1 { border-left-color: #6f8f7a; background: #e9f0e8; }
.cal-item.lane-2 { border-left-color: #7d7aa8; background: #ecebf5; }
.cal-item.lane-3 { border-left-color: #a8707d; background: #f5eaec; }
.cal-item.setmore.tight { background: #f1ece2; }
.cal-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-inline-end: 4px; vertical-align: -1px; background: var(--beige); border-left: 3px solid var(--gold); }
.cal-key.lane-1 { background: #e9f0e8; border-left-color: #6f8f7a; }
.cal-key.lane-2 { background: #ecebf5; border-left-color: #7d7aa8; }
.cal-key.lane-3 { background: #f5eaec; border-left-color: #a8707d; }
.filters select { max-width: 100%; }
.cal-buffer { position: absolute; left: 0; right: 0; bottom: 0; background: repeating-linear-gradient(135deg, rgba(47,40,32,.14), rgba(47,40,32,.14) 3px, transparent 3px, transparent 7px); pointer-events: none; }
.cal-item.cat-manicure { background: #f7ece4; border-left-color: #b9805c; }
.cal-item.cat-pedicure { background: #ecebf5; border-left-color: #7d7aa8; }
.cal-item.cat-massage { background: #e9f0e8; border-left-color: #6f8f7a; }
.cal-item.cat-lashes { background: #f5eaec; border-left-color: #a8707d; }
.cal-item.no_show { background: var(--bad-bg) !important; border-left-color: var(--bad) !important; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(560px, 100vw); background: var(--ivory); border-left: 1px solid var(--line); box-shadow: -8px 0 28px rgba(47,40,32,.14); padding: 14px 16px 40px; overflow-y: auto; z-index: 40; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 10px; margin-bottom: 14px; }
.stats-row .card { margin: 0; padding: 10px 12px; }
.svc-group { border: 1px solid var(--line); border-radius: 10px; background: var(--paper); margin-bottom: 8px; }
.svc-group > summary { cursor: pointer; padding: 13px 14px; font-weight: 600; font-size: 16px; }
.svc-group[open] > summary { border-bottom: 1px solid var(--line); }
.svc-group .opt { border: 0; border-radius: 0; margin: 0; border-bottom: 1px solid var(--line); }
.svc-pick { display: block; padding: 11px 14px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line); }
.svc-pick:hover { background: var(--ivory); }
.svc-pick.svc-short { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 13px 14px; }

/* --- boxes line up on every page --- */
.two { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: stretch; }
.two > .card, .two > details.card, .two > form.card, .two > div { margin-top: 0 !important; }
.card.fold, details.card { padding: 14px 18px; }
.card.fold { margin-top: 10px !important; margin-bottom: 0 !important; }
.two > .card.fold { margin-top: 0 !important; }
.card.fold > details > summary, details.card > summary { cursor: pointer; font-family: var(--serif); font-size: 18px; font-weight: 600; }
.fold-body { padding-top: 12px; }
@media (max-width: 860px) { .two { grid-template-columns: minmax(0, 1fr) !important; } }

/* Rows that stay closed until you press Edit, and one person's tabs: the way Setmore lays these out. */
.rowfold { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; margin: 6px 0; }
.rowfold > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 10px 14px; cursor: pointer; }
.rowfold > summary::-webkit-details-marker { display: none; }
.rowfold > summary img, .rowfold > summary .nopic { width: 42px; height: 42px; object-fit: cover; border-radius: 8px; background: var(--beige); flex: none; }
.rowfold .rf-main { min-width: 0; flex: 1; }
.rowfold .rf-name { font-weight: 600; }
.rowfold .rf-sub { font-size: 13px; color: var(--muted); }
.rowfold .rf-who { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; max-width: 40%; }
.rowfold .rf-edit { flex: none; }
.rowfold[open] .rf-edit { background: var(--beige); }
.rowfold > .rf-body { padding: 14px; border-top: 1px solid var(--line); }
.rowfold .field-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.who-table input[type=number] { width: 84px; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px 18px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.tabs a { padding: 8px 2px; text-decoration: none; color: var(--ink-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.on { color: var(--ink); font-weight: 600; border-bottom-color: var(--gold); }
.tab-pane.js-hide { display: none; }
.day-row { display: grid; grid-template-columns: 40px 110px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
.day-row .times { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.day-row .times[hidden] { display: none; }
.day-row .times input { width: 150px; }
.day-row .dayoff { color: var(--muted); font-size: 13px; }
@media (max-width: 720px) {
  .rowfold .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rowfold .rf-who { display: none; }
  .day-row { grid-template-columns: 34px 84px minmax(0, 1fr); }
  .day-row .times input { width: 124px; }
}
.rowfold, .card.fold { scroll-margin-top: 80px; }

/* One simple way to move between days */
.pager { display: flex; align-items: center; gap: 6px; }
.pager-go { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-size: 24px; line-height: 1; text-decoration: none; }
.pager-now { position: relative; margin: 0; min-width: 118px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0 10px; font-size: 16px; }
.pager-now input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.pager-today { margin-inline-start: 6px; font-size: 14px; font-weight: 600; }
.co-sum { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; }
.co-sum-total { display: flex; align-items: baseline; justify-content: space-between; font-size: 15px; color: var(--ink-2); }
.co-sum-total b { font-family: var(--serif); font-size: 26px; color: var(--ink); font-variant-numeric: tabular-nums; }
.co-sum-parts { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: 13px; color: var(--muted); }
.co-sum-parts b { color: var(--ink-2); font-weight: 600; }
.cal-top { align-items: center; gap: 10px; flex-wrap: wrap; }
.cal-top h1 { margin: 0; }
.cal-who { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 2px; -webkit-overflow-scrolling: touch; }
.cal-who a { flex: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; color: var(--ink-2); text-decoration: none; }
.cal-who a.on { background: var(--beige); border-color: var(--beige); color: var(--ink); font-weight: 600; }
.cal-hint { margin: 0 0 8px; }
.phone-only { display: none; }
.cal-item.drag { touch-action: pan-x pan-y; -webkit-touch-callout: none; -webkit-user-select: none; }
.cal-dragging { overflow: hidden; }
@media (max-width: 720px) {
  .desk-only { display: none; }
  .phone-only { display: inline; }
  p.phone-only { display: block; margin-top: 14px; }
  .cal-top h1 { display: none; }
  .cal-top { justify-content: space-between; flex-wrap: nowrap; margin-bottom: 10px; }
  .cal-top .pager { flex: 1; justify-content: flex-start; }
  .cal-top .pager-now { min-width: 0; flex: 1; padding: 0 4px; }
  .cal-top .pager-today { display: none; }
  .cal-view { flex: none; }
  .cal-view a { padding: 10px 12px; font-size: 14px; }
  .cal-wrap { padding: 6px; }
  .cal-item { font-size: 13.5px; }
  .co-day { width: 100%; }
  .co-day .pager { width: 100%; }
  .co-day .pager-now { flex: 1; }
  .co-appt { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 4px 10px; padding: 12px 14px; }
  .co-appt .time { font-size: 18px; }
  .co-appt .who { font-size: 15.5px; }
  .co-appt .what { font-size: 13px; }
  .co-appt .price { grid-column: 3; grid-row: 1; font-size: 15px; text-align: right; }
  .co-appt .act { grid-column: 1 / -1; }
  .co-appt .act .btn, .co-appt .act form { width: 100%; }
  .co-appt .act .btn.big { min-height: 44px; padding: 8px 12px; }
}

/* Fingers, on any size of screen: iPads too */
@media (hover: none) and (pointer: coarse) {
  .desk-only.cal-hint-part, .cal-hint .desk-only { display: none; }
  .cal-hint .phone-only { display: inline; }
  .top a, .btn, .seg a { min-height: 40px; }
}
@media (min-width: 721px) and (max-width: 1100px) {
  .cal-top h1 { flex-basis: 100%; }
  .cal-top .pager { flex: 1; }
  .cal-wrap:has(.cal-week) { width: 100%; margin-inline: 0; }
}

.emp-list { display: grid; gap: 8px; max-width: 640px; }
.emp-row { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 10px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; text-decoration: none; }
.emp-row span { color: var(--muted); font-size: 20px; font-weight: 400; }

.co-more { display: flex; gap: 18px; margin-top: 18px; font-size: 14px; }
.agenda { display: grid; gap: 10px; max-width: 640px; }
.agenda-day { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.agenda-day.today { border-color: var(--gold-soft); }
.agenda-day h3 { margin: 0 0 8px; font-size: 16px; }
.agenda-day h3 span { color: var(--muted); font-weight: 400; font-size: 14px; }
.agenda-row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px; padding: 7px 0; color: var(--ink); text-decoration: none; font-size: 14.5px; }
.agenda-row b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.agenda-row.no_show { color: var(--bad); }
.agenda-gap { margin: 2px 0; padding: 3px 10px; background: #f5f1e8; border-radius: 8px; color: var(--muted); font-size: 13px; }
@media (max-width: 720px) { .co-title { display: none; } }
.cal-who { scrollbar-width: none; }
.cal-who::-webkit-scrollbar { display: none; }

.per-custom summary { cursor: pointer; font-size: 13px; color: var(--ink-2); }
.per-custom form { margin-top: 8px !important; }
.appt-list { display: grid; gap: 8px; }
.appt-row { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.appt-row .at { font-variant-numeric: tabular-nums; }
.appt-row .who { display: grid; min-width: 0; }
.appt-row .who span { color: var(--ink-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.set-h { margin: 18px 0 8px; font-size: 15px; color: var(--ink-2); }
.set-list { max-width: none; }
@media (min-width: 721px) { .set-list { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
.emp-row .badge { margin-inline-start: auto; margin-inline-end: 10px; }
/* Phone: one column, even edges, nothing wider than the screen */
@media (max-width: 720px) {
  .lead { display: none; }
  .head { align-items: center; margin-bottom: 12px; }
  .head .btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; width: 100%; }
  .head .btn-row > .btn, .head .btn-row > form, .head .btn-row > form .btn { width: 100%; justify-content: center; }
  .back-link { margin-bottom: 8px; }
  .filters { flex-wrap: nowrap; flex-direction: column; align-items: stretch; gap: 8px; margin-bottom: 12px; }
  .filters > form { width: 100%; }
  .seg { display: flex; flex-wrap: wrap; max-width: 100%; }   /* rough edge 9 Nov 2026: wrap, no sideways scroll */
  .seg::-webkit-scrollbar, .tabs::-webkit-scrollbar { display: none; }
  .seg a { flex: 1 1 auto; text-align: center; padding: 9px 10px; font-size: 14px; }
  .cal-who { flex-wrap: wrap; overflow-x: visible; }
  .seg-dates { display: none; }
  .cal-view { display: inline-flex; flex: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
  .tabs a { flex: none; }
  .tbl-wrap { border-radius: var(--radius); }
  table.cards td { align-items: baseline; gap: 12px; }
  table.cards td[colspan] { display: block; text-align: left; }
  table.cards tr:last-child { border-bottom: 0; }
  .two, .two.even { gap: 12px; }
  .stat { padding: 12px 14px; }
  h2 small, h2 .small, h2 .muted { display: none; }
}
.appt-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.appt-item .appt-row { border: 0; background: none; }
.appt-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 14px 12px; }
.appt-acts .btn { justify-content: center; }

/* A nail tech's week: full width, days side by side on an iPad or computer */
.agenda { max-width: none; align-items: start; gap: 12px; }
@media (min-width: 721px) { .agenda { grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); } }
.agenda-day { padding: 14px 16px; }
.agenda-day.today { border-color: var(--gold); box-shadow: inset 0 3px 0 var(--gold); }
.agenda-day.past { opacity: .62; }
.agenda-day h3 { display: flex; align-items: baseline; gap: 8px; font-size: 18px; margin-bottom: 10px; }
.agenda-day h3 em { margin-inline-start: auto; font-style: normal; font-size: 13px; color: var(--muted); background: #f5f1e8; border-radius: 999px; padding: 1px 9px; }
.agenda-row { grid-template-columns: 104px minmax(0, 1fr); padding: 9px 0; border-top: 1px solid var(--line); align-items: start; }
.agenda-row .at { font-size: 14px; }
.agenda-row .what { display: grid; min-width: 0; }
.agenda-row .what b { font-weight: 600; font-size: 15px; }
.agenda-row .what span { color: var(--ink-2); font-size: 13.5px; }
.agenda-gap { margin: 0; padding: 4px 0 4px 104px; background: none; border-radius: 0; border-top: 1px dashed var(--line); color: var(--gold); font-weight: 600; }
[dir="rtl"] .agenda-gap { padding: 4px 104px 4px 0; }

.cust-mode { margin-bottom: 12px; }
.cust-mode a { padding: 9px 14px; font-size: 14px; }
.cust-results { display: grid; gap: 6px; margin-bottom: 12px; }
.cust-pick { display: flex; justify-content: space-between; gap: 12px; width: 100%; padding: 11px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; font: inherit; color: var(--ink); text-align: start; cursor: pointer; }
.cust-pick span { color: var(--muted); font-size: 13px; }
.cust-chosen { padding: 11px 14px; background: var(--beige); border-radius: 10px; margin-bottom: 12px; }
.cust-new[hidden], #cust-new[hidden], #cust-existing[hidden] { display: none; }

.day-fold > summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
.day-fold .day-sum { margin-inline-start: auto; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.day-fold .day-sum b { color: var(--ink); font-weight: 600; }
.day-line { display: flex; justify-content: space-between; gap: 14px; padding: 11px 14px; border-top: 1px solid var(--line); }
.day-fold > summary + .day-line { border-top: 0; }
.day-line b { font-weight: 600; }
.day-line .num { white-space: nowrap; font-variant-numeric: tabular-nums; }

.box-fold { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; }
.box-fold > summary { display: flex; justify-content: flex-start; align-items: baseline; gap: 10px; padding: 13px 14px; font-weight: 600; font-size: 15px; cursor: pointer; }
.box-fold > summary span { margin-inline-start: auto; font-size: 13.5px; font-weight: 400; color: var(--ink-2); }
.box-fold[open] > summary { border-bottom: 1px solid var(--line); }
.box-in { display: block; padding: 12px 14px; }
.move-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.move-times label { display: block; cursor: pointer; }
.move-times input { position: absolute; opacity: 0; width: 0; height: 0; min-height: 0; }
.move-times span { display: block; padding: 9px 4px; text-align: center; font-size: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.move-times .good span { border-color: var(--gold); }
.move-times input:checked + span { background: var(--gold); border-color: var(--gold); color: #fff; font-weight: 600; }

.agenda-row { grid-template-columns: 160px minmax(0, 1fr); }
.agenda-gap { padding-inline-start: 150px; }
[dir="rtl"] .agenda-gap { padding: 4px 150px 4px 0; }
.move-times { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); }
.co-appt { grid-template-columns: 96px minmax(0, 1fr) auto auto; }
@media (max-width: 720px) { .co-appt { grid-template-columns: 78px minmax(0, 1fr) auto; } .agenda-row { grid-template-columns: 158px minmax(0, 1fr); } .agenda-row .at { font-size: 13.5px; } .agenda-gap { padding-inline-start: 158px; } }
.filters.other-day { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 8px; align-items: stretch; max-width: 380px; }
.filters.other-day label { grid-column: 1 / -1; }
.filters.other-day input, .filters.other-day .btn { width: 100%; min-height: 44px; margin: 0; }
.appt-row { grid-template-columns: 172px minmax(0, 1fr) auto; }
.cal-item .te { font-weight: 500; }
.cal-week .cal-item .t, .cal-week .cal-item .te { display: inline; font-size: 11.5px; color: var(--ink-2); font-weight: 500; }
@media (max-width: 720px) { .appt-row { grid-template-columns: 82px minmax(0, 1fr) auto; } }

/* sign in: show the password */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px; }
.pw-eye { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 8px; color: var(--muted, #8a7f72); cursor: pointer; }
.pw-eye.on .pw-slash { display: none; }
.push-row { margin: 28px 0 0; text-align: center; }
@media (min-width: 861px) and (max-width: 1100px) { nav.main a { padding: 6px 6px; font-size: 13px; } .top-inner { gap: 10px; } }
.user-edit { min-width: 260px; max-width: 340px; padding: 10px 0 4px; text-align: left; }
/* Phone calendar (owner 8 Nov): it scrolls inside its own frame, so the day controls stay in reach,
   the names / days row stays at the top and the times stay at the left. */
@media (max-width: 720px) {
  .cal-wrap { max-height: max(360px, calc(100dvh - 200px)); overflow: auto; overscroll-behavior: contain; padding-top: 0; padding-left: 0; }
  .cal > .cal-head, .cal > div:first-child { position: sticky; top: 0; z-index: 4; background: var(--paper); padding-top: 8px; }
  .cal > div:first-child { left: 0; z-index: 6; }
  .cal-times { left: 0; z-index: 5; }
}
.cal-times span:first-child { transform: none; }   /* the first hour sits fully inside the frame */
.act-fold > summary { font-weight: 600; font-size: 16px; cursor: pointer; padding: 2px 0; }
.act-fold[open] > summary { margin-bottom: 12px; }
/* iPad/iPhone Safari draws date and time boxes taller and centred: make them match every other box */
input[type=date], input[type=time], input[type=datetime-local], input[type=month] { -webkit-appearance: none; appearance: none; height: 42px; line-height: 22px; text-align: left; display: block; }
input[type=date]::-webkit-date-and-time-value, input[type=time]::-webkit-date-and-time-value { text-align: left; margin: 0; }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select { height: 42px; }
input[type=file] { padding: 6px 8px; }
/* Deposit pop-up on the public booking page */
.dep-dlg { border: 0; border-radius: 18px; padding: 26px 24px 22px; max-width: 460px; width: calc(100% - 32px); background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(47,40,32,.25); }
.dep-dlg::backdrop { background: rgba(47,40,32,.45); }
.dep-dlg h2 { font-family: var(--serif); margin: 0 0 14px; font-size: 24px; }
.dep-sum { background: var(--ivory); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; }
.dep-sum div { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.dep-sum div:first-child b { font-size: 20px; color: var(--gold); }
.dep-rules { margin: 0 0 18px; padding-inline-start: 18px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.dep-rules li { margin-bottom: 8px; }
.dep-rules b { color: var(--ink); }
.dep-dlg .btn-row { flex-direction: column; gap: 8px; }
.dep-dlg .btn-row .btn { width: 100%; justify-content: center; }
.chosen-svcs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; } .pill-x { text-decoration: none; margin-inline-start: 4px; font-weight: 700; color: var(--muted); }

/* Reports on an iPad (QA 9 Nov 2026): tighter cells, the first column stays put, and a hint when it scrolls */
.scroll-hint { display: none; margin: 0 0 6px; }
.table-scrolls .scroll-hint { display: block; }
.rep-table td:first-child, .rep-table th:first-child { position: sticky; left: 0; z-index: 1; background: var(--paper); box-shadow: 1px 0 0 var(--line); }
.rep-table th:first-child { background: #fdfbf6; }
@media (max-width: 1240px) { .rep-table table { font-size: 13px; } .rep-table th, .rep-table td { padding: 8px 8px; } .rep-table th { letter-spacing: .03em; } }

/* client's nail photos on a booking (10 Nov 2026) */
.nail-photos{display:flex;flex-wrap:wrap;gap:8px}.nail-photos img{width:120px;height:120px;object-fit:cover;border-radius:8px;display:block}

/* after booking: paid and remaining (10 Nov 2026) */
.pay-sum{margin:12px 0 8px;border-top:1px solid rgba(0,0,0,.08);padding-top:10px}.pay-sum div{display:flex;justify-content:space-between;gap:12px;margin:4px 0;font-size:1.05em}

/* Payment tag on calendar bookings (owner 11 Nov 2026) */
.pay-tag { display: inline-block; justify-self: start; margin-top: 3px; padding: 1px 7px; border-radius: 999px; font-size: 11.5px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.pay-tag.paid { background: var(--ok-bg); color: var(--ok); }
.pay-tag.deposit { background: #f6ecd6; color: #8a6418; }
.pay-tag.unpaid { background: #f3e3df; color: var(--bad); }
.cal-item .pay-tag { margin-top: 2px; font-size: 10.5px; padding: 0 5px; }

/* Set up user: services she does (owner 11 Nov 2026) */
.svc-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px 14px; padding: 8px 0 4px; }
.svc-pick label { display: flex; gap: 8px; align-items: center; font-weight: 400; font-size: 14.5px; }
a.stat-link { color: inherit; text-decoration: none; cursor: pointer; }
a.stat-link:hover { border-color: var(--gold); }
