/* Blanc Elite — premium, minimal, black on white. */
:root {
  --ink: #111111;
  --ink-soft: #4a4a4a;
  --muted: #8a8a8a;
  --line: #e6e6e3;
  --bg: #ffffff;
  --panel: #fafaf8;
  --accent: #111111;
  --ok: #2f6b4f;
  --warn: #9a6a1a;
  --danger: #9b2c2c;
  --radius: 4px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--sans);
  font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
[hidden] { display: none !important; }

/* ---- top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px calc(16px + env(safe-area-inset-top, 0));
  padding-top: calc(16px + env(safe-area-inset-top, 0));
  border-bottom: 1px solid var(--line); background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
}
.topbar__brand { display: flex; align-items: center; text-decoration: none; }
.topbar__logo { height: 20px; width: auto; display: block; }
.topbar__back {
  border: none; background: none; font-size: 26px; line-height: 1; color: var(--ink);
  cursor: pointer; padding: 0 4px 0 0; margin: 0;
}
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.topbar__link { background: none; border: none; color: var(--ink-soft); font-size: 13.5px;
  cursor: pointer; padding: 6px 2px; letter-spacing: .02em; }
.topbar__link:hover { color: var(--ink); }

/* ---- layout ---- */
#app { max-width: 720px; margin: 0 auto; padding: 28px 20px 80px; }
.stack > * + * { margin-top: 18px; }

/* ---- type ---- */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: .01em; margin: 0; }
h1 { font-size: 40px; line-height: 1.1; }
h2 { font-size: 27px; line-height: 1.15; }
h3 { font-size: 20px; }
.eyebrow { font-family: var(--sans); text-transform: uppercase; letter-spacing: .22em;
  font-size: 11px; color: var(--muted); font-weight: 600; }
.lede { font-size: 16px; color: var(--ink-soft); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---- hero ---- */
.hero { text-align: center; padding: 26px 0 6px; }
.hero h1 { margin: 14px 0 10px; }
.hero .lede { max-width: 30em; margin: 0 auto; }
.hero__cta { margin-top: 26px; }

/* ---- cards ---- */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg); }
.card--soft { background: var(--panel); }
.tile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .tile-grid { grid-template-columns: 1fr; } }
.tile {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px;
  background: var(--bg); cursor: pointer; text-align: left; transition: border-color .15s, transform .05s;
  display: flex; flex-direction: column; gap: 4px; width: 100%;
}
.tile:hover { border-color: var(--ink); }
.tile:active { transform: translateY(1px); }
.tile.is-on { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.tile__name { font-family: var(--serif); font-size: 19px; }
.tile__desc { font-size: 12.5px; color: var(--muted); }

/* ---- buttons ---- */
.btn {
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .02em;
  border: 1px solid var(--ink); background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 12px 22px; cursor: pointer; transition: opacity .15s;
}
.btn:hover { opacity: .85; }
.btn:disabled { opacity: .4; cursor: default; }
.btn--ghost { background: none; color: var(--ink); }
.btn--ghost:hover { background: var(--panel); opacity: 1; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 15px 30px; font-size: 15px; }
.btn--block { display: block; width: 100%; }
.btn--danger { border-color: var(--danger); background: none; color: var(--danger); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- forms ---- */
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 15px; color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; background: var(--bg);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field textarea { min-height: 84px; resize: vertical; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }

/* ---- steps ---- */
.steps { display: flex; gap: 8px; margin-bottom: 22px; }
.step-dot { flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.step-dot.is-on { background: var(--ink); }

/* ---- booking rows ---- */
.brow { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.brow + .brow { margin-top: 12px; }
.brow__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.brow__svc { font-family: var(--serif); font-size: 20px; }
.brow__meta { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.brow__notes { font-size: 13px; color: var(--muted); margin-top: 6px; }
.brow__photos { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.brow__photos img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.brow__admin { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

/* ---- status pill ---- */
.pill { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); white-space: nowrap; }
.pill--requested { border-color: var(--warn); color: var(--warn); }
.pill--confirmed { border-color: var(--ink); color: var(--ink); }
.pill--scheduled { border-color: var(--ink); background: var(--ink); color: #fff; }
.pill--completed { border-color: var(--ok); color: var(--ok); }
.pill--cancelled { border-color: var(--danger); color: var(--danger); }

/* ---- photo upload ---- */
.uploader { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.thumb { position: relative; width: 72px; height: 72px; }
.thumb img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.thumb button { position: absolute; top: -8px; right: -8px; width: 22px; height: 22px; border-radius: 50%;
  border: none; background: var(--ink); color: #fff; cursor: pointer; font-size: 13px; line-height: 1; }
.add-photo { width: 72px; height: 72px; border: 1px dashed var(--line); border-radius: var(--radius);
  background: none; cursor: pointer; color: var(--muted); font-size: 24px; }

/* ---- misc ---- */
.divider { height: 1px; background: var(--line); border: none; margin: 26px 0; }
.link { color: var(--ink); text-decoration: underline; cursor: pointer; background: none; border: none; font-size: inherit; padding: 0; }
.note { font-size: 12.5px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }

/* ---- toast ---- */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--radius);
  font-size: 14px; z-index: 50; max-width: 90vw; box-shadow: 0 6px 24px rgba(0,0,0,.18); }
.toast[hidden] { display: none; }
