/* Beauty Box — app-style booking, ivory & gold */
:root {
  --bg: #efe8dc;
  --paper: #fffdf9;
  --ivory: #f7f2ea;
  --sand: #efe6d8;
  --ink: #1f1a16;
  --ink-2: #4a4038;
  --muted: #8a7f73;
  --line: #ebe3d6;
  --gold: #a8844f;
  --gold-2: #c9a46c;
  --gold-soft: #f1e6d3;
  --deep: #241e19;
  --ok: #4f6b4a;
  --warn: #a4543a;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --r: 14px;
  --shadow: 0 24px 60px -28px rgba(60, 40, 20, .35);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--gold-soft); }
.serif { font-family: var(--serif); }
.muted { color: var(--muted); }
em { font-style: italic; color: var(--gold); }

/* ---------- app shell ---------- */
.app {
  width: 100%; max-width: 620px; min-height: 100vh; margin: 0 auto; background: var(--paper);
  position: relative; display: flex; flex-direction: column; box-shadow: 0 0 80px -30px rgba(60, 40, 20, .25);
}
#view { flex: 1; padding-bottom: 110px; }
.app-foot { text-align: center; font-size: .78rem; color: var(--muted); padding: 26px 16px 34px; letter-spacing: .04em; }
.app-foot a { text-decoration: none; border-bottom: 1px solid var(--line); }
.screen { animation: in .35s ease both; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- cover ---------- */
.cover { position: relative; height: 300px; overflow: hidden; background: var(--deep); }
.cover img { width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: saturate(.8); }
.cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36,30,25,.15), rgba(36,30,25,.65)); }
.crest {
  position: absolute; z-index: 1; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  border: 1.5px solid var(--gold-2); box-shadow: inset 0 0 0 7px rgba(36,30,25,.0), inset 0 0 0 8px rgba(201,164,108,.45);
}
.crest b { display: block; font-family: var(--serif); font-weight: 400; font-size: 3.1rem; line-height: .95; color: #f3e3c4; letter-spacing: .01em; }
.crest small { display: block; margin-top: 10px; font-size: .62rem; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-2); }
.crest i { display: block; font-style: normal; color: var(--gold-2); font-size: .8rem; margin-bottom: 6px; }
.sheet { position: relative; margin-top: -28px; background: var(--paper); border-radius: 26px 26px 0 0; padding: 0 20px; z-index: 2; }
.avatar-lg {
  width: 82px; height: 82px; border-radius: 50%; margin-top: -40px; display: grid; place-items: center;
  background: var(--deep); border: 4px solid var(--paper); box-shadow: 0 0 0 1px var(--gold-2) inset;
  font-family: var(--serif); font-size: 1.7rem; color: #f3e3c4; letter-spacing: .02em;
}
.biz h1 { font-family: var(--serif); font-weight: 500; font-size: 2.1rem; margin: 12px 0 2px; line-height: 1.1; letter-spacing: .01em; }
.biz p { margin: 0; color: var(--muted); font-size: .9rem; }
.open-badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .82rem; color: var(--ink-2); }
.open-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #b9ab98; }
.open-badge.on::before { background: #6f9a63; box-shadow: 0 0 0 4px rgba(111,154,99,.15); }

/* ---------- list rows ---------- */
.rows { margin: 22px 0 8px; }
.row {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 0; background: none; border: 0;
  text-align: left; text-decoration: none; color: inherit;
}
.row + .row { border-top: 1px solid var(--line); }
.row .ic {
  width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--ivory); display: grid; place-items: center; color: var(--ink-2);
  transition: background .2s;
}
.row:hover .ic { background: var(--gold-soft); }
.row .ic svg { width: 21px; height: 21px; }
.row .txt { flex: 1; min-width: 0; }
.row .lbl { font-size: 1rem; color: var(--ink); }
.row .cap { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.row .val { font-size: 1rem; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row .chev { color: #b9ad9d; flex: none; }
.row.set .ic { background: var(--deep); color: var(--gold-2); }
.row .x { border: 0; background: none; color: var(--muted); font-size: 1.2rem; padding: 6px 8px; line-height: 1; }
.row .x:hover { color: var(--warn); }

.section-title { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 30px 0 14px; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1; border: 0; padding: 0; background: var(--sand); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.tile:hover img { transform: scale(1.06); }
.tile span {
  position: absolute; inset: auto 0 0 0; padding: 22px 10px 9px; color: #fff; font-size: .82rem; letter-spacing: .06em; text-align: left;
  background: linear-gradient(transparent, rgba(30,22,16,.75));
}
.info { background: var(--ivory); border-radius: var(--r); padding: 6px 16px; }
.info .row .ic { background: var(--paper); width: 42px; height: 42px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 2px 0 10px; }
.hours-table td { padding: 5px 0; border-bottom: 1px dashed var(--line); }
.hours-table td:last-child { text-align: right; color: var(--ink-2); }
.hours-table tr.today td { color: var(--gold); font-weight: 400; }

/* ---------- sub-screen header ---------- */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: rgba(255,253,249,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.back { width: 38px; height: 38px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.back:hover { background: var(--ivory); }
.avatar-sm { width: 40px; height: 40px; border-radius: 50%; background: var(--deep); color: #f3e3c4; display: grid; place-items: center; font-family: var(--serif); font-size: 1rem; box-shadow: 0 0 0 1px var(--gold-2) inset; flex: none; }
.top .t1 { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; line-height: 1.1; }
.top .t2 { font-size: .78rem; color: var(--muted); }
.pad { padding: 0 20px; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin: 22px 0 16px; line-height: 1.1; }

/* ---------- staff ---------- */
.pro { padding: 18px 0; border-bottom: 1px solid var(--line); }
.pro-head { display: flex; align-items: center; gap: 14px; cursor: pointer; }
.pro .face {
  width: 54px; height: 54px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--serif); font-size: 1.5rem; color: #fff; background: linear-gradient(150deg, #d9c3a1, #9c7a4c);
}
.pro .face.any { background: var(--ivory); color: var(--ink-2); }
.pro .face.any svg { width: 24px; height: 24px; }
.pro .nm { font-size: 1.05rem; color: var(--ink); }
.pro .ttl { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.radio { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #cfc4b4; flex: none; margin-left: auto; position: relative; transition: border-color .2s; }
.on > .radio, .pro.on .radio { border-color: var(--ink); }
.pro.on .radio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--ink); }
.nearest { font-size: .85rem; color: var(--muted); margin: 12px 0 10px; }
.nearest b { color: var(--ink); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 0; background: var(--ivory); padding: 9px 16px; border-radius: 999px; font-size: .92rem; color: var(--ink);
  transition: background .2s, color .2s; letter-spacing: .02em;
}
.chip:hover { background: var(--gold-soft); }
.chip.on { background: var(--deep); color: #f3e3c4; }
.skeleton { height: 34px; width: 60%; border-radius: 999px; background: linear-gradient(90deg, var(--ivory), var(--sand), var(--ivory)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------- services ---------- */
.search { position: relative; margin-bottom: 8px; }
.search input { width: 100%; padding: 13px 16px 13px 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); outline: none; transition: border-color .2s; }
.search input:focus { border-color: var(--gold-2); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; color: var(--muted); }
.notice { font-size: .85rem; color: var(--ink-2); background: var(--gold-soft); border-radius: 10px; padding: 10px 14px; margin: 10px 0; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.notice button { border: 0; background: none; text-decoration: underline; font-size: .85rem; color: var(--ink); white-space: nowrap; }
.cat { border-bottom: 1px solid var(--line); }
.cat-h { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 0; border: 0; background: none; text-align: left; }
.cat-h img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; flex: none; }
.cat-h b { flex: 1; font-weight: 400; font-size: .95rem; letter-spacing: .16em; text-transform: uppercase; }
.cat-h .count { font-size: .78rem; color: var(--muted); }
.cat-h .chev { transition: transform .25s; color: #b9ad9d; }
.cat.open .cat-h .chev { transform: rotate(180deg); }
.cat-b { display: none; padding-bottom: 8px; }
.cat.open .cat-b { display: block; }
.svc { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px dashed var(--line); cursor: pointer; }
.svc .s-main { flex: 1; }
.svc .s-name { font-size: 1rem; color: var(--ink); }
.svc .s-desc { font-size: .84rem; color: var(--muted); margin-top: 2px; }
.svc .s-meta { font-size: .84rem; color: var(--ink-2); margin-top: 6px; }
.svc .s-meta b { font-weight: 400; color: var(--gold); }
.check { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid #cfc4b4; flex: none; display: grid; place-items: center; color: transparent; transition: all .2s; margin-top: 2px; }
.svc.on .check { background: var(--deep); border-color: var(--deep); color: #f3e3c4; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }

/* ---------- calendar ---------- */
.cal-top { display: flex; justify-content: space-between; align-items: center; margin: 18px 0 10px; }
.month-pill { border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; }
.arrows { display: flex; gap: 4px; }
.arrows button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; color: var(--ink); }
.arrows button:hover:not(:disabled) { background: var(--ivory); }
.arrows button:disabled { color: #d3c9bb; cursor: default; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; text-align: center; }
.cal .dw { font-size: .78rem; color: var(--muted); padding: 6px 0; }
.cal button {
  width: 42px; height: 42px; margin: 0 auto; border-radius: 50%; border: 0; background: none; font-size: .98rem; color: var(--ink);
  font-weight: 400; transition: background .2s; position: relative;
}
.cal button:hover:not(:disabled) { background: var(--gold-soft); }
.cal button:disabled { color: #cdc3b5; font-weight: 300; cursor: default; }
.cal button.today:not(.on)::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.cal button.on { background: var(--deep); color: #f3e3c4; }
.cal.loading { opacity: .45; pointer-events: none; }
.cal-card { background: var(--paper); border-radius: 0 0 22px 22px; box-shadow: 0 16px 30px -24px rgba(60,40,20,.4); padding-bottom: 12px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.times { padding-top: 18px; }
.times h4 { font-weight: 400; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 16px 0 10px; }
.none { text-align: center; padding: 30px 0; }
.none h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 0 0 6px; }
.none p { margin: 0 0 18px; color: var(--muted); }

/* ---------- buttons, bars ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px;
  background: var(--deep); color: #f3e3c4; padding: 14px 26px; font-size: .9rem; letter-spacing: .08em; text-decoration: none;
  transition: background .2s, transform .1s;
}
.btn:hover { background: #3a3029; }
.btn:active { transform: scale(.98); }
.btn.gold { background: var(--gold); color: #fff; }
.btn.gold:hover { background: #94733f; }
.btn.ghost { background: var(--ivory); color: var(--ink); }
.btn.block { width: 100%; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.bar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 620px; z-index: 30;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom)); background: rgba(255,253,249,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line); display: flex; align-items: center; gap: 14px; animation: up .3s ease;
}
@keyframes up { from { transform: translate(-50%, 100%); } to { transform: translate(-50%, 0); } }
.bar .sum { flex: 1; min-width: 0; }
.bar .sum b { display: block; font-weight: 400; font-size: 1rem; }
.bar .sum span { font-size: .82rem; color: var(--muted); }

/* ---------- details & done ---------- */
.card { background: var(--ivory); border-radius: var(--r); padding: 18px 18px 8px; margin-bottom: 22px; }
.card .li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.card .li:last-child { border-bottom: 0; }
.card .li span:first-child { color: var(--muted); }
.card .li span:last-child { text-align: right; }
.card .total { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .78rem; color: var(--muted); margin-bottom: 6px; letter-spacing: .04em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); outline: none; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { border-color: var(--gold-2); }
.field textarea { min-height: 84px; resize: vertical; }
.error { color: var(--warn); font-size: .9rem; min-height: 1.3em; margin: 4px 0 10px; }
.small { font-size: .82rem; color: var(--muted); }
.done { text-align: center; padding: 40px 0 10px; }
.seal { width: 86px; height: 86px; border-radius: 50%; margin: 0 auto 22px; display: grid; place-items: center; background: var(--deep); color: var(--gold-2); font-size: 2rem; box-shadow: 0 0 0 6px var(--paper), 0 0 0 7px var(--gold-2); }
.done h2 { font-family: var(--serif); font-weight: 500; font-size: 2rem; margin: 0 0 6px; }
.ref { display: inline-block; margin: 18px 0 24px; padding: 10px 22px; border: 1px dashed var(--gold-2); border-radius: 10px; font-family: var(--serif); font-size: 1.4rem; letter-spacing: .12em; }
.done .card { text-align: left; }
.stack { display: grid; gap: 10px; }

.toast {
  position: fixed; bottom: 96px; left: 50%; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 60;
  background: var(--deep); color: #f3e3c4; padding: 12px 20px; border-radius: 999px; font-size: .88rem; transition: all .3s; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 640px) {
  body { padding: 0; }
  .cover { height: 320px; }
}
@media (max-width: 380px) {
  .cal button { width: 38px; height: 38px; }
  .crest { width: 180px; height: 180px; }
  .crest b { font-size: 2.6rem; }
}

/* ================= ADMIN ================= */
.admin { max-width: 1180px; margin: 0 auto; padding: 0 20px 80px; }
.admin-page { background: var(--ivory); }
.login { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.login-card { background: var(--paper); width: min(420px, 100%); padding: 44px 34px; border-radius: 22px; box-shadow: var(--shadow); text-align: center; }
.login-card .avatar-lg { margin: 0 auto 14px; }
.login-card h2 { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; margin: 0 0 22px; }
.login-card .field { text-align: left; }
.a-bar { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; gap: 16px; flex-wrap: wrap; }
.a-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.a-brand b { font-family: var(--serif); font-weight: 500; font-size: 1.4rem; }
.tabs { display: flex; gap: 6px; background: var(--paper); padding: 5px; border-radius: 999px; }
.tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-size: .88rem; color: var(--ink-2); }
.tabs button.on { background: var(--deep); color: #f3e3c4; }
.a-tools { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin: 18px 0 22px; }
.a-tools h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; line-height: 1.1; }
.a-tools .cap { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.ctrl { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill { border: 1px solid var(--line); background: var(--paper); padding: 8px 16px; border-radius: 999px; font-size: .85rem; color: var(--ink-2); }
.pill:hover { border-color: var(--ink); }
.pill.on { background: var(--deep); border-color: var(--deep); color: #f3e3c4; }
.ctrl input[type=date], .ctrl select, .sel { border: 1px solid var(--line); background: var(--paper); padding: 8px 12px; border-radius: 10px; font-size: .88rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 20px; }
.stat { background: var(--paper); border-radius: var(--r); padding: 16px 18px; }
.stat span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat b { display: block; font-family: var(--serif); font-weight: 500; font-size: 2rem; line-height: 1.15; }
.tbl-wrap { background: var(--paper); border-radius: var(--r); overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; min-width: 860px; }
.tbl th { text-align: left; font-weight: 400; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .92rem; }
.tbl tr.day td { background: var(--sand); font-family: var(--serif); font-size: 1.1rem; padding: 8px 16px; }
.tbl .t { font-family: var(--serif); font-size: 1.25rem; white-space: nowrap; }
.tbl .s { font-size: .8rem; color: var(--muted); }
.tbl a { text-decoration: none; border-bottom: 1px dotted var(--gold-2); }
.tbl tr.cx td:not(:last-child) { opacity: .45; text-decoration: line-through; }
.st { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 8px; font-size: .84rem; }
.st[data-s=completed] { color: var(--ok); }
.st[data-s=no-show] { color: var(--warn); }
.st[data-s=cancelled] { color: var(--muted); }
.panel { background: var(--paper); border-radius: var(--r); padding: 24px; margin-bottom: 20px; }
.panel h3 { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin: 0 0 4px; }
.panel > p { margin: 0 0 18px; color: var(--muted); font-size: .9rem; }
.wk { display: grid; grid-template-columns: 130px 110px 1fr; gap: 10px 16px; align-items: center; }
.wk .d { font-size: .98rem; }
.wk label.sw { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.wk .times-in { display: flex; gap: 8px; align-items: center; }
.wk .times-in.off { opacity: .35; pointer-events: none; }
input[type=time] { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 10px; font-size: .9rem; }
input[type=checkbox] { accent-color: var(--deep); width: 17px; height: 17px; }
.sp-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.sp-form input[type=text] { border: 1px solid var(--line); border-radius: 8px; padding: 7px 10px; flex: 1; min-width: 160px; }
.sp-list .it { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.sp-list .it b { font-weight: 400; }
.tag { display: inline-block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: var(--gold); margin-left: 8px; }
.tag.closed { background: #f2dfd8; color: var(--warn); }
.link-btn { border: 0; background: none; color: var(--warn); font-size: .85rem; text-decoration: underline; }
.empty-a { text-align: center; padding: 60px 20px; font-family: var(--serif); font-size: 1.4rem; color: var(--muted); font-style: italic; }
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .wk { grid-template-columns: 1fr auto; }
  .wk .times-in { grid-column: 1 / -1; }
}

/* ---------- staff page: services, specialists, closures ---------- */
.tabs { flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--ivory); border-radius: 999px; padding: 4px; margin-bottom: 16px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font-size: .9rem; color: var(--ink-2); }
.seg button.on { background: var(--deep); color: #f3e3c4; }
.lbl { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-2); flex-wrap: wrap; }
.sp-form input[type=date] { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 10px; font-size: .9rem; }
.sub-h { font-weight: 400; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 24px 0 4px; }
.warn-box { background: #f8e8df; border: 1px solid #ebc9b8; color: #6e3420; border-radius: 12px; padding: 14px 16px; font-size: .9rem; margin: 6px 0 10px; }
.warn-box ul { margin: 8px 0 0; padding-left: 18px; }
.svc-head, .svc-row { display: grid; grid-template-columns: minmax(180px, 2.4fr) minmax(110px, 1fr) 110px 100px 112px 80px 80px; gap: 10px; align-items: center; }
.svc-row.new { grid-template-columns: minmax(180px, 2.4fr) minmax(110px, 1fr) 110px 100px 112px 80px; }
.svc-head { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 4px 0 8px; border-bottom: 1px solid var(--line); }
.svc-row { padding: 9px 0; border-bottom: 1px dashed var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-row input, .svc-row select, .st-card input:not([type=checkbox]), #st-new-form input:not([type=checkbox]) {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 8px 10px; font-size: .9rem; min-width: 0; }
.svc-row input:focus, .svc-row select:focus, .st-card input:focus { outline: none; border-color: var(--gold-2); }
.money { display: flex; align-items: center; gap: 4px; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.act { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--ink-2); cursor: pointer; }
.btn.save { padding: 8px 14px; font-size: .82rem; }
.hidden-svc { opacity: .5; }
.hidden-svc .f-name { text-decoration: line-through; }
.svc-cat h3 { margin-bottom: 10px; }
.st-card, #st-new-form { display: grid; gap: 14px; }
.st-top { display: grid; grid-template-columns: 40px 1fr 1fr; gap: 14px; align-items: end; }
.st-top .lbl { flex-direction: column; align-items: stretch; gap: 4px; font-size: .78rem; color: var(--muted); }
.st-cats { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.cat-tick { display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: .86rem; cursor: pointer; background: #fff; }
.cat-tick:has(input:checked) { background: var(--deep); color: #f3e3c4; border-color: var(--deep); }
.cat-tick input { width: 15px; height: 15px; }
.st-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
@media (max-width: 900px) {
  .svc-head { display: none; }
  .svc-row, .svc-row.new { grid-template-columns: 1fr 1fr; padding: 14px 0; }
  .svc-row .f-name { grid-column: 1 / -1; }
  .st-top { grid-template-columns: 40px 1fr; }
  .st-top .lbl:last-child { grid-column: 1 / -1; }
}
.money input { color: var(--ink); }
.svc-row input::placeholder { color: #c3b8a9; }

/* photos tab */
.ph-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ph-card { background: var(--paper); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.ph-img { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.ph-img.tall { aspect-ratio: 4 / 3; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; }
.ph-bd { padding: 14px 16px 16px; display: grid; gap: 4px; }
.ph-bd b { font-weight: 400; font-size: 1.05rem; }
.ph-bd .muted { font-size: .82rem; }
.ph-acts { display: flex; gap: 14px; align-items: center; margin-top: 8px; }
/* all staff-page text boxes: dark text */
.admin input, .admin select, .admin textarea { color: var(--ink); }
