/* Gold Choice Booking — one hand-written stylesheet for the app, the booking pages and the front page.
   Mobile first. Old-phone rules: no CSS grid, no flex gap; a literal colour before each var()
   so a browser without custom properties still gets a styled page. */
:root {
  --bg: #f7f4f5;
  --card: #ffffff;
  --ink: #241c22;
  --muted: #6f6470;
  --line: #e7e0e4;
  --head: #2b2230;
  --accent: #b04a6f;
  --accent-ink: #ffffff;
  --soft: #f8edf1;
  --ok: #2f6b3a; --ok-bg: #e6f3e8;
  --err: #a12c2c; --err-bg: #fbe8e8;
  --info: #23507a; --info-bg: #e7f0f9;
  --warn: #7a5410; --warn-bg: #fff4d9;
  --radius: 12px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #f7f4f5; background: var(--bg); color: #241c22; color: var(--ink);
  font: 16px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
a { color: #b04a6f; color: var(--accent); }
h1 { font-size: 1.45rem; margin: 0 0 .75rem; letter-spacing: -.01em; }
h2 { font-size: 1.12rem; margin: 1.4rem 0 .5rem; }
h3 { font-size: 1rem; margin: 1rem 0 .4rem; }
p { margin: .4rem 0 .8rem; }
small, .hint, .muted { color: #6f6470; color: var(--muted); }
.hint { font-size: .87rem; margin: .25rem 0 .6rem; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }

/* ---------- app shell ---------- */
.top { background: #2b2230; background: var(--head); color: #fff; padding: .55rem 1rem; padding-top: calc(.55rem + env(safe-area-inset-top));
  display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between;
  position: -webkit-sticky; position: sticky; top: 0; z-index: 20; }
.top .brand { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 60vw; }
.top-right { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; }
.top .btn-book { color: #fff; background: #b04a6f; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: .45rem .9rem .45rem .65rem; min-height: 40px; font-weight: 600; }
.top .btn-book .ic { width: 18px; height: 18px; margin-right: .2rem; }
.who { display: inline-block; width: 36px; height: 36px; line-height: 36px; text-align: center; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; text-decoration: none; font-weight: 700; margin-left: .6rem; }
.nav.desk { display: none; }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid #e7e0e4; border-top: 1px solid var(--line);
  display: -webkit-flex; display: flex; padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { -webkit-flex: 1; flex: 1; text-align: center; padding: .4rem 0 .35rem; color: #6f6470; color: var(--muted); text-decoration: none; font-size: .72rem; min-height: 54px; }
.tabbar a span { display: block; }
.tabbar a.active { color: #b04a6f; color: var(--accent); font-weight: 600; }
.tabbar .tab-book .ic { background: #b04a6f; background: var(--accent); color: #fff; border-radius: 50%; padding: 5px; width: 32px; height: 32px; }
body.app .main { padding-bottom: 90px; }
@media (min-width: 820px) {
  .tabbar { display: none; }
  body.app .main { padding-bottom: 2rem; }
  .nav.desk { display: -webkit-flex; display: flex; background: #fff; border-bottom: 1px solid #e7e0e4; border-bottom: 1px solid var(--line); padding: 0 .5rem; overflow-x: auto; }
  .nav.desk a { padding: .75rem .85rem; text-decoration: none; color: #241c22; color: var(--ink); white-space: nowrap; border-bottom: 3px solid transparent; }
  .nav.desk a.active { border-bottom-color: #b04a6f; border-bottom-color: var(--accent); font-weight: 600; }
}
.main { padding: 1rem; max-width: 1100px; margin: 0 auto; }

/* ---------- building blocks ---------- */
.card { background: #fff; background: var(--card); border: 1px solid #e7e0e4; border: 1px solid var(--line); border-radius: 12px; border-radius: var(--radius); padding: 1rem; margin: 0 0 1rem; }
.card.narrow { max-width: 480px; margin: 1.5rem auto; }
.card h2:first-child, .card h3:first-child { margin-top: 0; }
.titlebar { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin-bottom: .75rem; }
.titlebar h1 { margin: 0 .5rem .3rem 0; }
.row2 > * { margin-bottom: .2rem; }
@media (min-width: 700px) {
  .row2, .row3 { display: -webkit-flex; display: flex; }
  .row2 > *, .row3 > * { -webkit-flex: 1; flex: 1; margin-right: 1rem; min-width: 0; }
  .row2 > *:last-child, .row3 > *:last-child { margin-right: 0; }
}
.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-bottom: 1px solid #e7e0e4; border-bottom: 1px solid var(--line); padding: .7rem 0; }
.list > li:last-child { border-bottom: 0; }
.rowlink { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; text-decoration: none; color: inherit; min-height: 44px; }
.rowlink .grow { -webkit-flex: 1; flex: 1; min-width: 0; }
.rowlink .chev { color: #6f6470; color: var(--muted); margin-left: .5rem; }
.empty { text-align: center; color: #6f6470; color: var(--muted); padding: 2rem 1rem; }

/* ---------- forms ---------- */
.field { margin-bottom: .85rem; }
.field > label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: .25rem; }
input, select, textarea, button { font: inherit; }
input:not([type=checkbox]):not([type=radio]), select, textarea { width: 100%; min-height: 46px; padding: .55rem .7rem; border: 1px solid #d9cfd5; border-radius: 10px; background: #fff; color: #241c22; color: var(--ink); -webkit-appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, #6f6470 50%), linear-gradient(135deg, #6f6470 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem; }
textarea { min-height: 90px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #b04a6f; outline: 2px solid var(--accent); outline-offset: 1px; }
input[type=number] { text-align: right; }
.check { display: -webkit-flex; display: flex; -webkit-align-items: flex-start; align-items: flex-start; margin: .35rem 0; min-height: 30px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px .55rem 0 0; -webkit-flex: none; flex: none; }
.inline { display: inline-block; margin: 0 .2rem .3rem 0; vertical-align: middle; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }   /* honeypot */

.btn { display: inline-block; min-height: 46px; padding: .6rem 1.05rem; border: 1px solid #d9cfd5; border-radius: 10px; background: #fff; color: #241c22; color: var(--ink);
  text-decoration: none; cursor: pointer; vertical-align: middle; line-height: 1.5; text-align: center; font-weight: 500; }
.btn-primary { background: #b04a6f; background: var(--accent); color: #fff; color: var(--accent-ink); border-color: transparent; font-weight: 600; }
.btn-dark { background: #2b2230; background: var(--head); color: #fff; border-color: transparent; }
.btn-danger { color: #a12c2c; color: var(--err); border-color: #efc9c9; }
.btn-sm { min-height: 38px; padding: .35rem .75rem; font-size: .9rem; }
.btn-block { display: block; width: 100%; }
.btn-big { min-height: 54px; font-size: 1.05rem; padding: .8rem 1.3rem; }
.btn[disabled] { opacity: .45; cursor: default; }
.actions { margin-top: .5rem; }
.actions .btn, .actions form { margin: 0 .45rem .5rem 0; }
.btnrow { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -.25rem; }
.btnrow > * { margin: .25rem; }

.flash { padding: .75rem .95rem; border-radius: 10px; margin-bottom: 1rem; }
.flash-ok { background: #e6f3e8; background: var(--ok-bg); color: #2f6b3a; color: var(--ok); }
.flash-err { background: #fbe8e8; background: var(--err-bg); color: #a12c2c; color: var(--err); }
.flash-info { background: #e7f0f9; background: var(--info-bg); color: #23507a; color: var(--info); }
.flash-warn { background: #fff4d9; background: var(--warn-bg); color: #7a5410; color: var(--warn); }

/* ---------- tiles, tables, tags ---------- */
.tiles { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -.35rem .8rem; }
.tile { -webkit-flex: 1 1 130px; flex: 1 1 130px; margin: .35rem; background: #fff; border: 1px solid #e7e0e4; border: 1px solid var(--line); border-radius: 12px; padding: .8rem .9rem; text-decoration: none; color: inherit; }
.tile b { display: block; font-size: 1.45rem; }
.tile span { color: #6f6470; color: var(--muted); font-size: .85rem; }
.tile.warn { background: #fff4d9; background: var(--warn-bg); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid #e7e0e4; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #6f6470; color: var(--muted); font-weight: 600; }
.table .num { text-align: right; white-space: nowrap; }
.table tr.muted td { color: #6f6470; color: var(--muted); }
.tag { display: inline-block; font-size: .78rem; padding: .12rem .5rem; border-radius: 999px; background: #eee; color: #444; white-space: nowrap; font-weight: 600; }
.st-req { background: #fff4d9; color: #7a5410; }
.st-ok { background: #e7f0f9; color: #23507a; }
.st-here { background: #efe6fb; color: #5a2d91; }
.st-done { background: #e6f3e8; color: #2f6b3a; }
.st-no { background: #fbe8e8; color: #a12c2c; }
.st-cx { background: #eeeaec; color: #6f6470; text-decoration: line-through; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .35rem; vertical-align: middle; }

/* ---------- agenda (Today) ---------- */
.daynav { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: space-between; justify-content: space-between; margin-bottom: .8rem; }
.daynav h1 { margin: 0; font-size: 1.25rem; text-align: center; -webkit-flex: 1; flex: 1; }
.daynav .btn { min-width: 46px; }
.agenda { list-style: none; margin: 0; padding: 0; }
.agenda li { background: #fff; border: 1px solid #e7e0e4; border: 1px solid var(--line); border-left: 5px solid #b04a6f; border-radius: 12px; margin-bottom: .6rem; }
.agenda a.item { display: -webkit-flex; display: flex; padding: .7rem .8rem; text-decoration: none; color: inherit; }
.agenda .when { width: 4.6rem; -webkit-flex: none; flex: none; font-weight: 700; }
.agenda .when small { display: block; font-weight: 400; }
.agenda .what { -webkit-flex: 1; flex: 1; min-width: 0; }
.agenda .what b { display: block; }
.agenda li.is-cancelled { opacity: .55; }
.quickstatus { padding: 0 .8rem .7rem 5.4rem; }
.quickstatus form { display: inline-block; margin: 0 .3rem .3rem 0; }

/* ---------- calendar day grid ---------- */
.cal { position: relative; display: -webkit-flex; display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border: 1px solid #e7e0e4; border: 1px solid var(--line); border-radius: 12px; }
.cal-times { -webkit-flex: none; flex: none; width: 52px; position: relative; border-right: 1px solid #e7e0e4; border-right: 1px solid var(--line); }
.cal-col { -webkit-flex: 1 0 150px; flex: 1 0 150px; position: relative; border-right: 1px solid #f0eaee; }
.cal-col:last-child { border-right: 0; }
.cal-head { height: 40px; line-height: 40px; text-align: center; font-weight: 600; font-size: .9rem; border-bottom: 1px solid #e7e0e4; border-bottom: 1px solid var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 .3rem; background: #fff; }
.cal-body { position: relative; }
.cal-hour { position: absolute; left: 0; right: 0; border-top: 1px solid #f0eaee; }
.cal-times .cal-hour { border-top: 0; font-size: .72rem; color: #6f6470; text-align: right; padding-right: 6px; margin-top: -.5em; }
.cal-off { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, #f5f1f3, #f5f1f3 6px, #efe9ec 6px, #efe9ec 12px); }
.cal-slot { position: absolute; left: 0; right: 0; display: block; }
.cal-slot:hover { background: rgba(176,74,111,.07); }
.cal-appt { position: absolute; left: 3px; right: 3px; border-radius: 8px; padding: 3px 6px; font-size: .78rem; line-height: 1.25; overflow: hidden; text-decoration: none; color: #241c22;
  background: #f8edf1; border-left: 4px solid #b04a6f; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.cal-appt b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal-appt.st-req { background: #fff4d9; }
.cal-appt.st-done { opacity: .7; }
.cal-appt.st-no { background: #fbe8e8; }
.cal-now { position: absolute; left: 0; right: 0; height: 2px; background: #d33; z-index: 5; }
.weeklist h3 { margin: 1rem 0 .3rem; }

/* ---------- public booking pages ---------- */
body.public { background: #faf8f9; }
.pub-wrap { max-width: 720px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
.pub-top { color: #fff; padding: .9rem 0; }
.pub-top .pub-wrap { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-align-items: center; align-items: center; }
.pub-name { color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
.pub-phone { color: #fff; text-decoration: none; font-size: .95rem; opacity: .95; white-space: nowrap; }
.pub-main { padding-top: 1.2rem; padding-bottom: 2rem; }
.pub-hero { background: #fff; border-radius: 16px; padding: 1.1rem 1.1rem .9rem; margin-bottom: 1rem; border: 1px solid #ece5e9; }
.pub-hero h1 { margin-bottom: .3rem; }
.pub-foot { text-align: center; font-size: .82rem; color: #6f6470; padding: 1rem 1rem 2rem; }
.pub-foot a { color: #6f6470; }
.steps { font-size: .85rem; color: #6f6470; margin-bottom: .6rem; }
.svc-cat { margin: 1.2rem 0 .4rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: #6f6470; }
.svc { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; background: #fff; border: 1px solid #ece5e9; border-radius: 14px; padding: .85rem .95rem; margin-bottom: .55rem; text-decoration: none; color: inherit; }
.svc .grow { -webkit-flex: 1; flex: 1; min-width: 0; }
.svc b { display: block; }
.svc .price { font-weight: 700; margin-left: .7rem; white-space: nowrap; }
.svc:hover, .svc:focus { border-color: var(--accent); }
.datestrip { display: -webkit-flex; display: flex; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -1rem .8rem; padding: .2rem 1rem .5rem; }
.datestrip a, .datestrip span { -webkit-flex: none; flex: none; width: 64px; margin-right: .45rem; text-align: center; border-radius: 12px; padding: .45rem 0; background: #fff; border: 1px solid #ece5e9; text-decoration: none; color: inherit; font-size: .8rem; }
.datestrip b { display: block; font-size: 1.2rem; }
.datestrip .on { background: var(--accent); background: #b04a6f; background: var(--accent); color: #fff; border-color: transparent; }
.datestrip .none { opacity: .4; }
.times { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -.25rem; }
.times a { -webkit-flex: 0 0 calc(33.333% - .5rem); flex: 0 0 calc(33.333% - .5rem); margin: .25rem; text-align: center; padding: .7rem 0; border-radius: 12px; border: 1px solid #ece5e9; background: #fff; text-decoration: none; color: inherit; font-weight: 600; }
@media (min-width: 560px) { .times a { -webkit-flex-basis: calc(25% - .5rem); flex-basis: calc(25% - .5rem); } }
.times a:hover, .times a:focus { border-color: var(--accent); color: var(--accent); }
.summary { background: #fff; border: 1px solid #ece5e9; border-radius: 14px; padding: .9rem 1rem; margin-bottom: 1rem; }
.summary b { display: block; font-size: 1.05rem; }
.consent { font-size: .82rem; color: #6f6470; line-height: 1.4; }
.bigcheck { text-align: center; font-size: 3rem; line-height: 1; color: #2f6b3a; }

/* ---------- product front page ---------- */
body.site { background: #fff; }
.site-top { display: -webkit-flex; display: flex; -webkit-justify-content: space-between; justify-content: space-between; -webkit-align-items: center; align-items: center; max-width: 1100px; margin: 0 auto; padding: 1rem; }
.site-top .logo { font-weight: 800; font-size: 1.2rem; color: #2b2230; text-decoration: none; }
.hero { background: #2b2230; background: linear-gradient(135deg, #2b2230 0%, #4a2c43 60%, #b04a6f 140%); color: #fff; padding: 3rem 1rem 3.5rem; }
.hero .in { max-width: 1100px; margin: 0 auto; }
.hero h1 { font-size: 2.1rem; line-height: 1.15; max-width: 16em; margin-bottom: .8rem; }
.hero p { font-size: 1.12rem; max-width: 34em; opacity: .92; }
.hero .btn { margin: .5rem .5rem 0 0; }
.hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
@media (min-width: 800px) { .hero h1 { font-size: 2.8rem; } }
.section { max-width: 1100px; margin: 0 auto; padding: 2.5rem 1rem; }
.features { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -.6rem; }
.feature { -webkit-flex: 1 1 240px; flex: 1 1 240px; margin: .6rem; padding: 1.1rem; border-radius: 14px; background: #f8edf1; }
.feature h3 { margin-top: 0; }
.price-card { max-width: 420px; border: 2px solid #b04a6f; border-radius: 16px; padding: 1.4rem; }
.price-card .amount { font-size: 2.2rem; font-weight: 800; }
.site-foot { text-align: center; color: #6f6470; font-size: .85rem; padding: 2rem 1rem; border-top: 1px solid #eee; }

/* ---------- small additions after the first build ---------- */
.pub-top { padding-top: calc(.9rem + env(safe-area-inset-top)); }
.site-top { padding-top: calc(1rem + env(safe-area-inset-top)); }
.agenda .what small { display: block; }
.daynav h1 small { display: block; font-size: .8rem; font-weight: 400; color: #6f6470; }
.times label { -webkit-flex: 0 0 calc(33.333% - .5rem); flex: 0 0 calc(33.333% - .5rem); margin: .25rem; text-align: center; padding: .6rem 0; border-radius: 12px; border: 1px solid #e7e0e4; background: #fff; cursor: pointer; font-weight: 600; }
.times label input { margin-right: .3rem; }
.seg { display: -webkit-flex; display: flex; -webkit-flex-wrap: wrap; flex-wrap: wrap; margin: 0 -.2rem .8rem; }
.seg a { margin: .2rem; padding: .4rem .8rem; border-radius: 999px; border: 1px solid #e7e0e4; background: #fff; text-decoration: none; color: #241c22; font-size: .9rem; }
.seg a.on { background: #2b2230; color: #fff; border-color: transparent; }
body.admin .nav.desk { display: -webkit-flex; display: flex; overflow-x: auto; background: #fff; border-bottom: 1px solid #e7e0e4; }
body.admin .nav.desk a { padding: .7rem .8rem; text-decoration: none; color: #241c22; white-space: nowrap; }
.bell { position: relative; display: inline-block; color: #fff; margin-right: .6rem; width: 36px; height: 36px; line-height: 36px; text-align: center; }
.bell b { position: absolute; top: 0; right: -4px; background: #e0457b; color: #fff; border-radius: 999px; font-size: .68rem; line-height: 1; padding: .2rem .35rem; }

/* the demo's "Log in as…" picker */
.picks form { margin: 0 0 .6rem; }
.pick { display: block; width: 100%; text-align: left; background: #fff; background: var(--card); border: 1px solid #e7e0e4; border: 1px solid var(--line); border-radius: 12px; border-radius: var(--radius); padding: .8rem .9rem; margin: 0 0 .6rem; font: inherit; color: #241c22; color: var(--ink); text-decoration: none; cursor: pointer; -webkit-appearance: none; }
.pick b { display: block; font-size: 1.05rem; }
.pick small { display: block; margin-top: .15rem; color: #6f6470; color: var(--muted); }
.pick:hover, .pick.on { border-color: #b04a6f; border-color: var(--accent); background: #f8edf1; background: var(--soft); }
.pick .tag { margin-top: .35rem; }
