/* ============================================================
   "Just ask" — a patient helper. One question per screen.
   Atkinson Hyperlegible, warm paper background, deep navy ink,
   one teal accent and soft tinted panels.
   ============================================================ */

:root {
  /* Surfaces */
  --bg: #FBF8F3;
  --bg-2: #F5EFE6;
  --card: #FFFFFF;
  --line: #E8E0D3;
  --line-2: #D9CEBC;

  /* Ink */
  --ink: #14213D;
  --ink-2: #3D4A63;
  --ink-3: #5B667C;

  /* Accent */
  --accent: #0F766E;
  --accent-2: #0B5E57;
  --accent-soft: #E3F2EF;
  --accent-soft-2: #CBE6E0;

  /* Status (always paired with an icon or word) */
  --ok: #17663A;    --ok-soft: #E3F3E8;
  --warn: #7F4A00;  --warn-soft: #FCF0DA;
  --bad: #A3231B;   --bad-soft: #FBE9E6;
  --info: #1D4E89;  --info-soft: #E6EEF9;

  /* Tints for task icons */
  --t-teal-bg: #E3F2EF;   --t-teal: #0F766E;
  --t-amber-bg: #FCEFD7;  --t-amber: #8A4B00;
  --t-coral-bg: #FCE6DF;  --t-coral: #B0381E;
  --t-rose-bg: #FAE6EE;   --t-rose: #A1285A;
  --t-gold-bg: #FBF0CC;   --t-gold: #7A5800;
  --t-blue-bg: #E4EDFA;   --t-blue: #1D4E89;
  --t-violet-bg: #EEE8FB; --t-violet: #5B33A6;
  --t-green-bg: #E2F3E7;  --t-green: #17663A;
  --t-sand-bg: #F1E9DC;   --t-sand: #6B4F2A;

  --star: #E8A10C;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 24px;
  --shadow-1: 0 1px 2px rgba(20, 33, 61, .05), 0 2px 8px rgba(20, 33, 61, .04);
  --shadow-2: 0 2px 4px rgba(20, 33, 61, .05), 0 10px 28px rgba(20, 33, 61, .08);
  --ring: 0 0 0 4px rgba(15, 118, 110, .28);

  --font: 'Atkinson Hyperlegible', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --gutter: 16px;
  --page: 700px;
  --page-wide: 1040px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 19px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-wrap: anywhere; /* long web addresses, emails and names wrap instead of widening the page */
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 700; }
p { margin: 0; }
strong, b { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- Top bar ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(251, 248, 243, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.bar-in { max-width: var(--page); margin: 0 auto; padding: 10px var(--gutter); min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bar-in.wide { max-width: var(--page-wide); }
.bar-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; font-weight: 700; font-size: 18px; min-height: 48px; }
.bar-brand img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow-1); flex: none; }
.bar-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 20px; flex: none; }
.bar-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-right { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; min-width: 0; justify-content: flex-end; }
.bar-back, .bar-home {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 14px 0 10px; margin-left: -10px;
  border-radius: 14px; font-weight: 700; color: var(--ink); text-decoration: none; font-size: 19px;
}
.bar-home { margin-left: 0; margin-right: -10px; padding: 0 10px 0 14px; color: var(--ink-2); }
.bar-back i { font-size: 22px; }
.bar-home i { font-size: 20px; }
.bar-back:hover, .bar-home:hover { background: var(--bg-2); color: var(--ink); }

.bar-back { flex: none; }
.bar-home { flex: none; }
@media (max-width: 419px) {
  .is-flow .locpick > summary { padding: 0 12px; gap: 5px; }
  .is-flow .locpick > summary > i:first-child { display: none; }
  .bar-back, .bar-home { font-size: 18px; }
}

/* Location picker (works without JS: <details>) */
.locpick { position: relative; min-width: 0; }
.locpick > summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 14px;
  background: var(--card); border: 2px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 17px; max-width: 100%; min-width: 0;
}
.locpick > summary::-webkit-details-marker { display: none; }
.locpick > summary:hover { border-color: var(--line-2); }
.locpick > summary i:first-child { color: var(--accent); }
.locpick-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.locpick-caret { font-size: 14px; transition: transform .2s; }
.locpick[open] .locpick-caret { transform: rotate(180deg); }
.locpick-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: min(300px, calc(100vw - 32px)); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-2); padding: 8px; z-index: 30;
}
.locpick-h { font-size: 15px; color: var(--ink-3); font-weight: 700; padding: 8px 12px 4px; }
.locpick-item { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 12px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.locpick-item:hover { background: var(--bg-2); color: var(--ink); }
.locpick-item.on { background: var(--accent-soft); }
.locpick-item i { color: var(--accent); font-size: 22px; margin-left: auto; }
.locpick-tx { display: flex; flex-direction: column; min-width: 0; }
.locpick-tx small { color: var(--ink-3); font-size: 16px; }

/* ---------- Page ---------- */
.page { width: 100%; max-width: var(--page); margin: 0 auto; padding: 20px var(--gutter) 40px; flex: 1; }
.page.wide { max-width: var(--page-wide); }

/* Saved / error banner */
.banner {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); margin: 0 0 20px;
  font-size: 19px; border: 2px solid transparent; animation: pop-in .35s ease both;
}
.banner i { font-size: 26px; line-height: 1; margin-top: 1px; flex: none; }
.banner-ok { background: var(--ok-soft); color: #0F3F24; border-color: #BFE3CB; }
.banner-ok i { color: var(--ok); }
.banner-bad { background: var(--bad-soft); color: #6E1712; border-color: #F2C4BD; }
.banner-bad i { color: var(--bad); }
.banner-info { background: var(--info-soft); color: #14365F; border-color: #C7D8F0; }
.banner-info i { color: var(--info); }
.banner-warn { background: var(--warn-soft); color: #5C3500; border-color: #F0D7A8; }
.banner-warn i { color: var(--warn); }
.banner a { color: inherit; font-weight: 700; }
.banner .banner-act { margin-top: 10px; }

/* Progress */
.progress { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 18px; }
.progress-tx { font-weight: 700; font-size: 17px; color: var(--ink-2); }
.dots { display: flex; gap: 7px; align-items: center; }
.dot { width: 11px; height: 11px; border-radius: 99px; background: var(--line-2); transition: width .25s, background .25s; }
.dot.done { background: var(--accent); opacity: .55; }
.dot.now { width: 30px; background: var(--accent); }
.bar-track { display: block; width: 120px; height: 10px; border-radius: 99px; background: var(--line-2); overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent); border-radius: 99px; }

/* ---------- The question (chat bubble) ---------- */
.q { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 22px; }
.q-avatar { flex: none; width: 48px; height: 48px; filter: drop-shadow(0 3px 6px rgba(15, 118, 110, .25)); }
.q-bubble {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 6px 24px 24px 24px;
  padding: 16px 20px 18px; box-shadow: var(--shadow-1); min-width: 0; flex: 1; animation: bubble-in .35s ease both;
}
.q-title { font-size: 27px; line-height: 1.22; letter-spacing: -.005em; }
.q-sub { margin-top: 8px; color: var(--ink-2); font-size: 19px; }
.q-sub strong { color: var(--ink); }
.q.small .q-title { font-size: 23px; }

.you { display: flex; justify-content: flex-end; margin: 0 0 14px; }
.you-bubble { background: var(--accent); color: #fff; border-radius: 24px 6px 24px 24px; padding: 12px 18px; font-size: 20px; font-weight: 700; max-width: 85%; overflow-wrap: anywhere; box-shadow: var(--shadow-1); }

/* ---------- Answer cards ---------- */
.choices { display: grid; gap: 12px; margin: 0 0 22px; }
.choices.two { grid-template-columns: 1fr; }
.choice {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 80px; padding: 14px 16px 14px 14px;
  background: var(--card); border: 2px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1);
  color: var(--ink); text-decoration: none; text-align: left; cursor: pointer; position: relative;
  transition: border-color .15s, background .15s, transform .12s, box-shadow .15s;
}
.choice:hover { border-color: var(--accent); background: #FAFDFC; color: var(--ink); box-shadow: var(--shadow-2); }
.choice:active { transform: scale(.985); }
.choice:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--accent); }
.choice.is-now { border-color: var(--accent-soft-2); background: linear-gradient(0deg, #F6FBFA, #F6FBFA); }
.choice.is-off { cursor: not-allowed; opacity: 1; background: var(--bg-2); box-shadow: none; }
.choice.is-off .ch-label { color: var(--ink-2); }
.choice.danger:hover { border-color: var(--bad); background: #FFF9F8; }
.ch-ic { flex: none; width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 25px; }
.ch-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ch-label { font-weight: 700; font-size: 20px; line-height: 1.25; }
.ch-now { align-self: flex-start; margin: 0 0 4px; }
.ch-badge { align-self: flex-start; margin-top: 6px; }
.nowrap { white-space: nowrap; }
.ch-sub { color: var(--ink-3); font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.ch-go { flex: none; font-size: 20px; color: var(--ink-3); transition: transform .15s, color .15s; }
.choice:hover .ch-go { transform: translateX(3px); color: var(--accent); }
.tag { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 16px; font-weight: 700; line-height: 1.25; padding: 4px 11px; border-radius: 99px; background: var(--bg-2); color: var(--ink-2); white-space: nowrap; overflow-wrap: normal; }
.tag-now { background: var(--accent-soft); color: var(--accent-2); }
.tag-bad { background: var(--bad-soft); color: var(--bad); }
.tag-warn { background: var(--warn-soft); color: var(--warn); }
.tag-ok { background: var(--ok-soft); color: var(--ok); }
.tag-info { background: var(--info-soft); color: var(--info); }

/* Tones */
.tone-teal   { background: var(--t-teal-bg);   color: var(--t-teal); }
.tone-amber  { background: var(--t-amber-bg);  color: var(--t-amber); }
.tone-coral  { background: var(--t-coral-bg);  color: var(--t-coral); }
.tone-rose   { background: var(--t-rose-bg);   color: var(--t-rose); }
.tone-gold   { background: var(--t-gold-bg);   color: var(--t-gold); }
.tone-blue   { background: var(--t-blue-bg);   color: var(--t-blue); }
.tone-violet { background: var(--t-violet-bg); color: var(--t-violet); }
.tone-green  { background: var(--t-green-bg);  color: var(--t-green); }
.tone-sand   { background: var(--t-sand-bg);   color: var(--t-sand); }
.tone-bad    { background: var(--bad-soft);    color: var(--bad); }

/* Check cards (pick several) */
.choice.check { cursor: pointer; min-height: 72px; }
.choice.check:has(input:checked) { border-color: var(--accent); background: #F3FAF8; }
.choice.check:has(input:focus-visible) { box-shadow: var(--ring); border-color: var(--accent); }
.cbx {
  appearance: none; -webkit-appearance: none; flex: none; width: 32px; height: 32px; margin: 0 4px 0 6px; border-radius: 9px;
  border: 2px solid var(--line-2); background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .15s, border-color .15s;
}
.cbx::after { content: ""; width: 16px; height: 9px; border: solid #fff; border-width: 0 0 3.5px 3.5px; transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform .15s; }
.cbx:checked { background: var(--accent); border-color: var(--accent); }
.cbx:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.cbx:focus-visible { outline: none; }

.quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 18px 0 12px; border-radius: 99px;
  background: var(--card); border: 2px solid var(--line); font-weight: 700; cursor: pointer; font-size: 18px; color: var(--ink); text-decoration: none;
}
.pill:hover { border-color: var(--accent); color: var(--ink); }
.pill:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pill .cbx { width: 26px; height: 26px; margin: 0; border-radius: 7px; }
.pill.is-on { border-color: var(--accent); background: var(--accent-soft); }
.pill .cbx::after { width: 12px; height: 7px; border-width: 0 0 3px 3px; }
.pill i { color: var(--accent); }
.mini-h { font-size: 17px; font-weight: 700; color: var(--ink-2); margin: 0 0 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 26px;
  border-radius: 16px; border: 2px solid transparent; font-weight: 700; font-size: 19px; line-height: 1.2; text-decoration: none;
  cursor: pointer; text-align: center; transition: background .15s, border-color .15s, transform .12s, box-shadow .15s;
}
.btn:active { transform: scale(.98); }
.btn i { font-size: 1.15em; }
.btn-lg { min-height: 60px; font-size: 20px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 2px 0 var(--accent-2), 0 6px 16px rgba(15, 118, 110, .22); }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-primary:focus-visible { outline: none; box-shadow: var(--ring); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-soft { background: var(--accent-soft); color: var(--accent-2); }
.btn-soft:hover { background: var(--accent-soft-2); color: var(--accent-2); }
.btn-danger { background: var(--bad); color: #fff; box-shadow: 0 2px 0 #7C1A14; }
.btn-danger:hover { background: #861C15; color: #fff; }
.btn-call { background: var(--ok); color: #fff; box-shadow: 0 2px 0 #0E4426, 0 6px 16px rgba(23, 102, 58, .22); }
.btn-call:hover { background: #0F4F2C; color: #fff; }
.btn-link { background: none; border: 0; color: var(--accent-2); text-decoration: underline; text-underline-offset: 4px; padding: 0 8px; min-height: 48px; }
.btn-link:hover { color: var(--ink); }
.btn[disabled], .btn.is-busy { opacity: .7; pointer-events: none; }
.actions { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.actions .btn { width: 100%; }
.actions-row { display: flex; flex-wrap: wrap; gap: 12px; }
.actions-row .btn { flex: 1 1 200px; }

/* ---------- Form fields ---------- */
.field { margin: 0 0 18px; }
.label { display: block; font-weight: 700; font-size: 19px; margin: 0 0 8px; }
.hint { color: var(--ink-3); font-size: 17px; margin-top: 8px; }
.input, .select, .textarea {
  width: 100%; min-height: 60px; padding: 12px 16px; border: 2px solid var(--line-2); border-radius: 14px; background: #fff;
  font-size: 21px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 150px; line-height: 1.45; resize: vertical; font-size: 19px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--ring); }
.input::placeholder, .textarea::placeholder { color: #8A93A5; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 48px; font-weight: 700; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 16 16'%3E%3Cpath fill='%2314213D' d='M1.6 4.6a.75.75 0 0 1 1.06 0L8 9.94l5.34-5.34a.75.75 0 1 1 1.06 1.06l-5.87 5.87a.75.75 0 0 1-1.06 0L1.6 5.66a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E") no-repeat right 16px center;
}
.times { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: end; margin: 0 0 20px; }
.times .to { padding-bottom: 16px; font-weight: 700; color: var(--ink-3); }
.times .select { font-size: 22px; min-height: 64px; }
.consent { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 2px solid var(--line); border-radius: var(--r); background: var(--card); cursor: pointer; margin: 0 0 18px; }
.consent:has(input:checked) { border-color: var(--accent); background: #F3FAF8; }
.consent .cbx { margin: 0; }
.consent span { font-weight: 700; }
.consent small { display: block; font-weight: 400; color: var(--ink-3); font-size: 17px; margin-top: 2px; }
.count { text-align: right; color: var(--ink-3); font-size: 16px; margin-top: 6px; }

/* Time buttons (closing early) */
.timegrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 22px; }
.timebtn {
  min-height: 64px; border-radius: 16px; border: 2px solid var(--line); background: var(--card); font-weight: 700; font-size: 20px;
  cursor: pointer; box-shadow: var(--shadow-1); color: var(--ink); transition: border-color .15s, background .15s;
}
.timebtn:hover { border-color: var(--accent); background: #F3FAF8; }
.timebtn-now { grid-column: 1 / -1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--t-coral-bg); border-color: #F2C9C2; color: #7E2814; }
.timebtn-now i { font-size: 22px; }
.timebtn:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--accent); }
.or { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-weight: 700; margin: 6px 0 16px; font-size: 17px; }
.or::before, .or::after { content: ""; flex: 1; height: 2px; background: var(--line); }

/* ---------- Panels ---------- */
.bare { border: 0; padding: 0; margin: 0; min-width: 0; }
.btn-sm { min-height: 48px; padding: 0 14px; font-size: 17px; border-radius: 12px; gap: 6px; }
.datechip { flex: none; width: 52px; height: 56px; border-radius: 14px; background: var(--t-rose-bg); color: var(--t-rose); display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 700; font-size: 22px; line-height: 1; }
.datechip small { font-size: 15px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 3px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-1); margin: 0 0 20px; }
.panel-soft { background: var(--bg-2); border-color: transparent; box-shadow: none; }
.panel-warn { background: var(--warn-soft); border-color: #F0D7A8; box-shadow: none; }
.panel-warn .big-line { color: #5C3500; }
.panel-warn .big-line i { color: var(--warn); }
.panel-warn .muted { color: #6B4A1A; }
.panel-h { font-size: 20px; font-weight: 700; margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.panel-h i { color: var(--accent); }
.section-h { font-size: 21px; margin: 30px 0 14px; }
.muted { color: var(--ink-3); }

/* Before -> after list (confirm) */
.compare { list-style: none; margin: 0; padding: 0; }
.compare li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.compare li:first-child { border-top: 0; padding-top: 2px; }
.compare .day { font-weight: 700; }
.compare .chg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-3); font-size: 18px; }
.compare .chg s { text-decoration-thickness: 2px; }
.compare .chg i { color: var(--ink-3); }
.compare .chg b { color: var(--ink); }
.big-answer { font-size: 24px; font-weight: 700; line-height: 1.25; }
.big-answer small { display: block; font-size: 18px; font-weight: 400; color: var(--ink-3); margin-top: 4px; }

/* Week table */
.week { list-style: none; margin: 0; padding: 0; }
.week li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 2px; border-top: 1px solid var(--line); font-size: 18px; }
.week li:first-child { border-top: 0; }
.week .d { font-weight: 700; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: none; overflow-wrap: normal; }
.week .d-tags { display: flex; gap: 6px; }
.week .d-tags .tag { font-size: 15px; padding: 2px 9px; }
.week .is-new .tag { background: #fff; }
.week .h { text-align: right; color: var(--ink-2); }
.week .is-closed .h { color: var(--ink-3); }
.week .is-new { background: var(--accent-soft); margin: 0 -12px; padding: 11px 14px; border-radius: 12px; border-top-color: transparent; }
.week .is-new + li { border-top-color: transparent; }
.week .h { white-space: nowrap; }


/* ---------- Done screen ---------- */
.done { text-align: center; padding: 10px 0 0; }
.done-check { display: grid; place-items: center; margin: 4px auto 18px; animation: pop-in .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.done-check svg { filter: drop-shadow(0 8px 18px rgba(15, 118, 110, .3)); }
.done-tick { stroke-dasharray: 44; stroke-dashoffset: 44; animation: tick .45s .2s ease forwards; }
.done-title { font-size: 40px; letter-spacing: -.01em; margin: 0 0 10px; }
.done-lead { font-size: 22px; line-height: 1.4; color: var(--ink); max-width: 30em; margin: 0 auto 22px; }
.done-card { text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-1); margin: 0 0 22px; }
.where { background: var(--ok-soft); border-radius: var(--r-lg); padding: 18px 16px; margin: 0 0 24px; }
.where-h { font-weight: 700; color: #0F3F24; margin: 0 0 12px; }
.where-list { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.where-list li { display: flex; align-items: center; gap: 8px; min-width: 0; background: #fff; color: #0F3F24; border-radius: 99px; padding: 9px 16px 9px 12px; line-height: 1.25; text-align: left; font-weight: 700; font-size: 18px; box-shadow: 0 1px 2px rgba(23, 102, 58, .12); }
.where-list i { color: var(--ok); font-size: 20px; }
.where-note { margin-top: 12px; color: #1E4D31; font-size: 17px; }
.done-actions { display: flex; flex-direction: column; gap: 12px; }
.done-actions .btn { width: 100%; }
.done-actions form { margin: 0; }
.done-actions form .btn { width: 100%; }

/* ---------- Home ---------- */
.hello { display: grid; gap: 14px; margin: 4px 0 20px; }
.hello-hi { font-size: 36px; line-height: 1.1; letter-spacing: -.01em; }
.hello-biz { color: var(--ink-2); font-size: 19px; font-weight: 700; margin-top: -6px; }
@media (max-width: 519px) { .is-home .bar-name { display: none; } }
@media (max-width: 639px) { .is-flow .bar-name { display: none; } }
.done-raw { margin: 0 0 22px; text-align: left; }
.done-raw .site { margin: 0; }
.wave { display: inline-block; transform-origin: 70% 70%; animation: wave 1.6s .4s ease-in-out 1; }
.status {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px 14px; padding: 16px; border-radius: var(--r); background: var(--card);
  border: 1px solid var(--line); box-shadow: var(--shadow-1);
}
.status-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.status-acts form { margin: 0; flex: 1 1 150px; display: flex; }
.status-btn { flex: 1 1 150px; min-height: 56px; padding: 0 16px; font-size: 19px; }
.status-acts form .status-btn { width: 100%; }
@media (max-width: 519px) {
  .status-btn:not(.status-wide) { flex-direction: column; gap: 2px; min-height: 76px; padding: 8px 10px; font-size: 18px; }
  .status-btn:not(.status-wide) i { font-size: 24px; }
}
.status-acts form:has(.status-wide) { flex: 1 1 100%; }
.status-acts .status-link { background: none; color: var(--accent-2); text-decoration: underline; text-underline-offset: 4px; padding: 0 6px; }
.status-acts .status-link:hover { background: none; color: var(--ink); }
.ic-coral { color: var(--t-coral); }
.ic-amber { color: var(--t-amber); }
.ic-teal { color: var(--accent); }
.status-dot { width: 16px; height: 16px; border-radius: 99px; flex: none; position: relative; }
.status.is-open .status-dot { background: var(--ok); box-shadow: 0 0 0 5px var(--ok-soft); }
.status.is-closed .status-dot { background: var(--bad); box-shadow: 0 0 0 5px var(--bad-soft); }
.status-tx { min-width: 0; display: flex; flex-direction: column; }
.status-tx strong { font-size: 21px; }
.status-tx span { color: var(--ink-3); font-size: 17px; }
.status-link { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--bg-2); font: inherit; font-weight: 700; text-decoration: none; color: var(--ink); font-size: 17px; cursor: pointer; }
.status-link:hover { background: var(--accent-soft); color: var(--accent-2); }
.status form { margin: 0; }

.away { background: var(--bg-2); border-radius: var(--r-lg); padding: 16px; margin: 0 0 26px; }
.away-h { font-size: 17px; color: var(--ink-2); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
.away-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.away-item {
  display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 14px 8px 8px; background: var(--card);
  border-radius: 14px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 19px; box-shadow: var(--shadow-1);
  border: 2px solid transparent; transition: border-color .15s;
}
.away-item:hover { border-color: var(--accent); color: var(--ink); }
.away-item .ch-ic { width: 42px; height: 42px; font-size: 20px; border-radius: 12px; }
.away-item .ch-go { margin-left: auto; }
.away-ok { display: flex; align-items: center; gap: 12px; font-weight: 700; color: #0F3F24; }
.away-ok i { font-size: 26px; color: var(--ok); }

.askbox { margin: 0 0 10px; }
.askbox .q { margin-bottom: 14px; }
.askbox .q-title { font-size: 30px; }
.search { margin: 0 0 6px; position: relative; }
.search-row {
  display: flex; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--line-2); border-radius: 20px; padding: 6px 6px 6px 16px;
  box-shadow: var(--shadow-2); transition: border-color .15s, box-shadow .15s;
}
.search-row:focus-within { border-color: var(--accent); box-shadow: var(--ring), var(--shadow-2); }
.search-row > i { font-size: 22px; color: var(--ink-3); flex: none; }
.search-row input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 20px; min-height: 52px; padding: 0 4px; }
.search-row input::placeholder { color: #7E879A; }
.search-row input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-row .btn { min-height: 52px; padding: 0 22px; border-radius: 14px; flex: none; }
.search-hint[hidden] { display: none; }
.search-hint { margin: 12px 0 0; color: var(--ink-3); font-size: 17px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
@media (max-width: 419px) { .search-hint > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
.ex { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 99px; background: var(--card); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 17px; }
.ex:hover { border-color: var(--accent); color: var(--accent-2); }

.suggest { margin: 12px 0 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 8px; }
.suggest[hidden] { display: none; }
.suggest-h { font-size: 16px; font-weight: 700; color: var(--ink-3); padding: 8px 10px 6px; }
.sg { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 8px 10px; border-radius: 14px; text-decoration: none; color: var(--ink); }
.sg:hover, .sg:focus-visible { background: var(--accent-soft); color: var(--ink); outline: none; }
.sg .ch-ic { width: 44px; height: 44px; font-size: 21px; border-radius: 12px; }
.sg .ch-label { font-size: 19px; }
.sg .ch-sub { font-size: 16px; }
.suggest-none { padding: 10px; color: var(--ink-2); }

.answer { margin: 22px 0 6px; scroll-margin-top: 90px; }

.tiles-h { font-size: 19px; color: var(--ink-2); margin: 26px 0 14px; display: flex; align-items: center; gap: 10px; }
.tiles-h::after { content: ""; flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 140px; height: 100%;
  padding: 16px 14px 16px 16px; background: var(--card); border: 2px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-1);
  text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .12s;
}
.tile:hover { border-color: var(--accent); box-shadow: var(--shadow-2); color: var(--ink); }
.tiles > li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.tiles > li:last-child:nth-child(odd) .tile { flex-direction: row; align-items: center; justify-content: flex-start; min-height: 92px; }
.tiles > li:last-child:nth-child(odd) .tile-label { flex: 1; min-width: 0; }
.tiles > li:last-child:nth-child(odd) .tile-badge { position: static; flex: none; }
.tile:active { transform: scale(.98); }
.tile:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--accent); }
.tile .ch-ic { width: 50px; height: 50px; font-size: 25px; }
.tile-label { font-weight: 700; font-size: 19px; line-height: 1.22; overflow-wrap: break-word; }
.tile-badge { position: absolute; top: 14px; right: 12px; font-size: 16px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--bad-soft); color: var(--bad); white-space: nowrap; overflow-wrap: normal; }

/* ---------- Calls ---------- */
.call-card { background: var(--card); border: 2px solid #F2C9C2; border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-1); margin: 0 0 16px; }
.call-top { display: flex; gap: 14px; align-items: center; margin: 0 0 14px; }
.call-who { min-width: 0; }
.call-top .ch-ic { width: 52px; height: 52px; font-size: 25px; border-radius: 15px; flex: none; }
.call-num { font-size: 26px; font-weight: 700; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.call-when { color: var(--ink-3); font-size: 17px; }
.thread { display: grid; gap: 8px; margin: 16px 0 0; padding: 14px; background: var(--bg-2); border-radius: 16px; }
.call-card .note-tight { margin: 14px 0 0; }
.thread-h { font-size: 16px; font-weight: 700; color: var(--ink-3); display: flex; align-items: center; gap: 6px; }
.msg { max-width: 92%; padding: 10px 14px; border-radius: 18px; font-size: 18px; line-height: 1.4; }
.msg small { display: block; font-size: 16px; font-weight: 700; opacity: .9; margin-bottom: 2px; }
.msg-us { justify-self: end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg-them { justify-self: start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.call-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.call-actions form { margin: 0; }
.call-actions .btn { width: 100%; padding: 0 16px; }
.stat { display: flex; align-items: center; gap: 16px; }
.stat-n { font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.stat-tx { color: var(--ink-2); font-size: 18px; }
.stat-tx strong { display: block; color: var(--ink); font-size: 19px; }
.list { list-style: none; margin: 0; padding: 0; }
.row { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-top: 1px solid var(--line); }
.row:first-child { border-top: 0; }
.row .ch-ic { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; flex: none; }
.row-main { flex: 1; min-width: 0; }
.row-title { font-weight: 700; font-size: 19px; }
.row-title a { color: var(--ink); text-decoration: none; }
.row-title a:hover { text-decoration: underline; }
.row-sub { color: var(--ink-3); font-size: 17px; }
.row-side { text-align: right; color: var(--ink-3); font-size: 16px; flex: none; }
.row-call { flex: none; }
.hols { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
.hol { background: var(--card); border: 2px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-1); overflow: hidden; }
.hol-link { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 14px; color: var(--ink); text-decoration: none; }
.hol-link:hover { background: #FAFDFC; color: var(--ink); }
.hol-link:focus-visible { outline: none; box-shadow: inset var(--ring); }
.hol-link .row-main { display: flex; flex-direction: column; }
.hol-link .row-sub strong { color: var(--ink); }
.hol-go { flex: none; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--accent-2); font-size: 17px; }
.hol-rm { margin: 0; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; padding: 6px 8px; background: var(--bg); }
.hol-rm .btn { border-color: transparent; background: transparent; color: var(--ink-2); }
.hol-rm .btn:hover { border-color: var(--line-2); background: var(--card); color: var(--bad); }
@media (min-width: 640px) {
  .hol { display: flex; align-items: stretch; }
  .hol-link { flex: 1; min-width: 0; }
  .hol-rm { border-top: 0; border-left: 1px solid var(--line); align-items: center; padding: 0 10px; }
}
.links { display: grid; gap: 10px; }

/* ---------- Reviews ---------- */
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 18px 18px; box-shadow: var(--shadow-1); margin: 0 0 18px; position: relative; }
.review-top .stars-row { margin: 0; flex-basis: 100%; }
.review-top { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; flex-wrap: wrap; }
.avatar { width: 46px; height: 46px; border-radius: 99px; display: grid; place-items: center; font-weight: 700; font-size: 20px; background: var(--t-blue-bg); color: var(--t-blue); flex: none; }
.review-who { flex: 1; min-width: 0; }
.review-who strong { display: block; font-size: 20px; }
.review-who span { color: var(--ink-3); font-size: 17px; }
.stars { display: inline-flex; gap: 3px; font-size: 22px; color: #D8D2C6; vertical-align: middle; }
.stars .on { color: var(--star); }
.stars-row { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; }
.stars-row b { font-size: 18px; }
.review-text { font-size: 20px; line-height: 1.45; }
.review-text::before { content: "“"; }
.review-text::after { content: "”"; }
.reply-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 10px; }
.reply-head .label { margin: 0; }
.reply-head .btn { min-height: 52px; padding: 0 18px; }
.reply-area { min-height: 116px; font-size: 19px; scroll-margin: 90px 0 150px; }
.reply-note { min-height: 0; color: var(--ink-3); font-size: 16px; margin: 6px 0 0; }
.reply-note:empty { display: none; }
.reply-note.is-bad { color: var(--bad); font-weight: 700; }
.public-note { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); font-size: 17px; line-height: 1.35; margin: 8px 0 0; }
.review-date { font-weight: 400; color: var(--ink-3); font-size: 17px; white-space: nowrap; }
.public-note i { font-size: 17px; margin-top: 1px; }
.review-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; color: var(--ink-3); font-size: 17px; }
.review-meta .stars { font-size: 18px; gap: 2px; }
.review-meta b { color: var(--ink); font-size: 17px; }
.review-now { padding: 14px 16px 16px; }
.review-now .review-top { margin-bottom: 8px; flex-wrap: nowrap; align-items: flex-start; }
.review-now .avatar { width: 42px; height: 42px; font-size: 19px; }
.review-now .review-text { font-size: 19px; }
/* Post / Skip: on phones this bar stays at the bottom of the screen so two taps finish a review */
.reply-bar { margin-top: 10px; }
.reply-bar .public-note { margin: 0; }
.reply-btns { display: flex; gap: 10px; margin-top: 10px; }
.reply-btns .btn-primary { flex: 1.2 1 0; padding: 0 14px; }
.reply-btns .btn-ghost { flex: 1 1 0; padding: 0 10px; white-space: nowrap; overflow-wrap: normal; }
@media (max-width: 639px) {
  .reply-bar {
    position: sticky; bottom: 0; z-index: 5; margin: 12px calc(-1 * var(--gutter)) 0;
    padding: 10px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(251, 248, 243, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 18px rgba(20, 33, 61, .07);
  }
}
@media (min-width: 640px) { .reply-btns .btn { flex: 0 0 auto; min-width: 220px; } }
.public-note i { color: var(--info); font-size: 20px; }
.our-reply { margin-top: 14px; padding: 12px 14px; background: var(--accent-soft); border-radius: 14px; font-size: 18px; }
.our-reply small { display: block; font-weight: 700; color: var(--accent-2); font-size: 16px; margin-bottom: 2px; }
.rating-big { display: flex; align-items: center; gap: 14px; justify-content: center; margin: 0 0 6px; }
.rating-big .n { font-size: 44px; font-weight: 700; line-height: 1; }

/* ---------- Phone text preview ---------- */
.phone {
  background: linear-gradient(180deg, #EEF1F6, #E6EAF1); border-radius: 30px; padding: 16px 14px 18px; margin: 0 0 18px;
  border: 1px solid #DCE1EA; box-shadow: inset 0 1px 0 #fff;
}
.phone-top { text-align: center; font-size: 15px; color: var(--ink-3); font-weight: 700; margin: 0 0 12px; }
.phone-top strong { display: block; color: var(--ink); font-size: 17px; }
.phone-msg { background: #fff; border-radius: 20px 20px 20px 6px; padding: 12px 16px; font-size: 19px; line-height: 1.42; max-width: 92%; box-shadow: 0 1px 2px rgba(20, 33, 61, .08); overflow-wrap: break-word; word-break: break-word; }
.phone-msg .stop { color: var(--ink-3); }
.suffix { margin: 10px 0 0; color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.suffix i { color: var(--accent); margin-right: 4px; }
.suffix code { font-family: inherit; font-weight: 700; background: var(--bg-2); padding: 2px 8px; border-radius: 8px; color: var(--ink); white-space: nowrap; }

/* ---------- Photos ---------- */
.photo-now { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px; margin: 0 0 18px; box-shadow: var(--shadow-1); }
.photo-now img { width: 100%; max-height: 300px; object-fit: contain; border-radius: 14px; background: var(--bg-2); }
.photo-now.logo img { max-height: 180px; width: 180px; margin: 0 auto; object-fit: cover; }
.photo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.photo-row .muted { flex: 1 1 160px; overflow-wrap: normal; }
.photo-row .btn { flex: none; }
.photo-row form { margin: 0; }
.gallery { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery li { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-1); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-2); }
.gallery form { margin: 0; }
.gallery .btn { width: 100%; border-radius: 0; min-height: 52px; border: 0; border-top: 1px solid var(--line); font-size: 17px; }
.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; min-height: 190px;
  padding: 20px; border: 3px dashed var(--line-2); border-radius: var(--r-lg); background: var(--card); cursor: pointer; margin: 0 0 16px;
  position: relative; transition: border-color .15s, background .15s;
}
.drop:hover, .drop:focus-within { border-color: var(--accent); background: #F6FBFA; }
.drop i { font-size: 40px; color: var(--accent); }
.drop strong { font-size: 22px; }
.drop small { color: var(--ink-3); font-size: 17px; }
.drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.drop img.preview { max-height: 160px; border-radius: 12px; margin-bottom: 6px; }
.drop .file-name { font-weight: 700; color: var(--accent-2); overflow-wrap: anywhere; }
.thumb { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; flex: none; background: var(--bg-2); border: 1px solid var(--line); }

/* ---------- Website preview ---------- */
.site { margin: 0 0 20px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-2); position: relative; }
.site-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F1EEE8; border-bottom: 1px solid var(--line); }
.site-chrome span { width: 10px; height: 10px; border-radius: 99px; background: #D9D2C5; }
.site-chrome em { font-style: normal; font-size: 14px; color: var(--ink-3); margin-left: 8px; background: #fff; border-radius: 99px; padding: 2px 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.site-hero { padding: 26px 22px 24px; background: linear-gradient(135deg, #0F766E, #115E59); color: #fff; position: relative; }
.site-logo { width: 46px; height: 46px; border-radius: 12px; margin: 0 0 12px; background: #fff; }
.site-h { font-size: 26px; font-weight: 700; line-height: 1.15; margin: 0 0 6px; overflow-wrap: anywhere; }
.site-sub { font-size: 17px; opacity: .92; margin: 0 0 16px; overflow-wrap: anywhere; }
.site-btn { display: inline-block; padding: 10px 18px; border-radius: 10px; background: #fff; color: #0F766E; font-weight: 700; font-size: 16px; }
.site-about { padding: 18px 22px 22px; font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.site-about-h { font-weight: 700; color: var(--ink); font-size: 17px; margin: 0 0 4px; }
.site-about p[data-slot] { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.site .is-mark { outline: 3px solid #FFB020; outline-offset: 4px; border-radius: 6px; }
.site-about.is-mark { outline-offset: -6px; border-radius: 14px; }
.site.is-offline .site-hero, .site.is-offline .site-about { filter: grayscale(1); opacity: .55; }
.site-off { display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; padding: 10px 16px; font-weight: 700; font-size: 17px; line-height: 1.3; }
/* Looks */
.site-classic .site-hero { background: linear-gradient(180deg, #F6EBDD, #EFDFCB); color: #3B2A1A; font-family: Georgia, 'Times New Roman', serif; }
.site-classic .site-btn { background: #7A4B22; color: #fff; font-family: var(--font); }
.site-classic .site-about-h { font-family: Georgia, serif; }
.site-bold .site-hero { background: #14213D; color: #fff; }
.site-bold .site-h { font-size: 30px; text-transform: uppercase; letter-spacing: .02em; }
.site-bold .site-btn { background: #F59E0B; color: #14213D; }
.site-minimal .site-hero { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); }
.site-minimal .site-h { font-weight: 400; font-size: 28px; }
.site-minimal .site-btn { background: none; border: 2px solid var(--ink); color: var(--ink); }
.site-modern .site-hero { background-image: linear-gradient(135deg, rgba(15, 118, 110, .94), rgba(17, 94, 89, .94)), var(--cover, none); background-size: cover; background-position: center; }

.looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; }
.look { display: flex; flex-direction: column; gap: 8px; padding: 8px 8px 12px; background: var(--card); border: 2px solid var(--line); border-radius: 20px; cursor: pointer; text-align: left; box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; transition: border-color .15s; position: relative; }
.look:hover { border-color: var(--accent); color: var(--ink); }
.look:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--accent); }
.look.is-picked { border-color: var(--accent); background: #F3FAF8; box-shadow: 0 0 0 2px var(--accent); }
.look-tag { align-self: flex-start; margin: 0 4px; }
.look-pic { height: 72px; border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; gap: 6px; overflow: hidden; overflow-wrap: normal; }
.look-pic b { font-size: 17px; line-height: 1.1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.look-pic i { display: block; width: 46px; height: 12px; border-radius: 4px; font-style: normal; }
.look-modern { background: linear-gradient(135deg, #0F766E, #115E59); color: #fff; }
.look-modern i { background: #fff; }
.look-classic { background: #F3E5D3; color: #3B2A1A; font-family: Georgia, serif; }
.look-classic i { background: #7A4B22; }
.look-bold { background: #14213D; color: #fff; }
.look-bold b { text-transform: uppercase; font-size: 15px; letter-spacing: .02em; }
.look-bold i { background: #F59E0B; }
.look-minimal { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.look-minimal b { font-weight: 400; }
.look-minimal i { background: none; border: 2px solid var(--ink); }
.look-name { font-weight: 700; font-size: 19px; padding: 0 4px; display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap; }
.look-desc { color: var(--ink-3); font-size: 16px; padding: 0 4px; margin-top: -4px; line-height: 1.3; }
.looks + .mini-h { margin-top: 4px; }

/* ---------- Google & maps ---------- */
.sites { list-style: none; margin: 0; padding: 0; }
.sites li { display: flex; align-items: center; gap: 12px; padding: 12px 2px; border-top: 1px solid var(--line); }
.sites li:first-child { border-top: 0; }
.site-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: var(--bg-2); color: var(--ink); flex: none; }
.sites .nm { font-weight: 700; flex: 1; min-width: 0; }
.sites li { flex-wrap: wrap; }
.sites .fixrow { margin: 0; flex-basis: 100%; padding-left: 54px; }
.pill:has(input:focus-visible), .consent:has(input:focus-visible) { box-shadow: var(--ring); border-color: var(--accent); }
.dup-card { background: var(--card); border: 2px dashed var(--line-2); border-radius: var(--r-lg); padding: 16px 18px; margin: 0 0 16px; }
.dup-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 18px; }
.dup-card dt { color: var(--ink-3); }
.dup-card dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.dup-why { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 17px; display: flex; gap: 8px; }
.dup-why i { color: var(--warn); }
.big-line { font-size: 23px; font-weight: 700; line-height: 1.3; }

.skip-link { display: block; text-align: center; margin: 8px auto 0; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); padding: 18px var(--gutter) calc(22px + env(safe-area-inset-bottom)); }
.foot-link { max-width: var(--page); margin: 0 auto; display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); min-height: 56px; }
.is-home .foot-link { max-width: var(--page-wide); }
.foot-link:hover { color: var(--ink); }
.foot-link:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.foot-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--card); display: grid; place-items: center; font-size: 20px; flex: none; border: 1px solid var(--line); }
.foot-tx { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.foot-tx small { color: var(--ink-3); font-size: 16px; }
.foot-go { color: var(--ink-3); flex: none; }

/* ---------- Motion ---------- */
@keyframes pop-in { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes bubble-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes tick { to { stroke-dashoffset: 0; } }
@keyframes wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(16deg); } 40% { transform: rotate(-8deg); } 60% { transform: rotate(14deg); } 80% { transform: rotate(-4deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .done-tick { stroke-dashoffset: 0; }
}

/* ---------- Small phones ---------- */
@media (max-width: 370px) {
  body { font-size: 18px; }
  .q-title { font-size: 24px; }
  .askbox .q-title { font-size: 26px; }
  .hello-hi { font-size: 32px; }
  .tile-label { font-size: 18px; }
  .ch-label { font-size: 19px; }
  .timegrid { grid-template-columns: repeat(2, 1fr); }
  .bar-home span { display: none; }
}

/* ---------- Bigger screens ---------- */
@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .choices.two, .choices.days { grid-template-columns: 1fr 1fr; }
  .actions { flex-direction: row-reverse; justify-content: flex-start; align-items: center; }
  .actions .btn { width: auto; min-width: 240px; }
  .done-actions { flex-direction: row; justify-content: center; flex-wrap: wrap; }
  .done-actions .btn { width: auto; min-width: 240px; }
  .done-actions form .btn { width: auto; }
  .call-actions { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .looks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .page { padding-top: 32px; }
  .q-title { font-size: 30px; }
  .compare li { grid-template-columns: 200px 1fr; align-items: center; }
}
@media (min-width: 900px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .tiles > li:last-child:nth-child(odd) { grid-column: auto; }
  .tiles > li:last-child:nth-child(3n+2) { grid-column: span 2; }
  .tiles > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
  .tile { flex-direction: row; align-items: center; justify-content: flex-start; min-height: 92px; padding: 16px 16px 16px 18px; }
  .tile-label { font-size: 20px; flex: 1; min-width: 0; }
  .tile-badge { position: static; flex: none; }
  .home-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 8px; }
  .home-top .away { margin-bottom: 0; }
  .hello { margin-bottom: 0; }
  .hello-hi { font-size: 44px; }
  .askbox { margin: 26px 0 10px; }
  .askbox .q-title { font-size: 34px; }
}

/* Confirm card */
.confirm { padding: 20px; }
.confirm-days { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); margin: 0 0 6px; }
.confirm-days i { color: var(--accent); }
.confirm .big-answer { font-size: 28px; }
.confirm-was { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 18px; }
.confirm-was ul { margin: 4px 0 0; padding-left: 20px; }

/* Small utilities */
.note-tight { margin: 0 0 14px; }
.wrap { overflow-wrap: anywhere; }
.row-first { padding-top: 0; }
.fix-list { margin: 4px 0 14px; }
.btn-block { width: 100%; }
.mini-gap { margin-top: 28px; }
.photo-now.flat { margin: 0; box-shadow: none; border: 0; padding: 0; }
.phone.flat { margin: 0; }
.small { font-size: 17px; }
#draft-note.small { font-size: 16px; }
.center { text-align: center; }
.dup-card + .dup-why, .done-card .dup-why { margin-top: 14px; }
.dup-real { display: block; font-weight: 400; color: var(--warn); font-size: 16px; margin-top: 2px; }

/* ---------- Added: more choices, field errors, done note ---------- */
.mini-form { margin: 0; display: inline-flex; }
.banner-act .mini-form .btn { min-height: 48px; }
.mb-18 { margin-bottom: 18px; }

/* "More things I can do" (home) and "Other choices" (calls) — plain <details>, works without JS */
.more { margin-top: 14px; }
.more-choices { margin: -8px 0 22px; }
.more-btn {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 16px 12px 14px;
  background: var(--card); border: 2px dashed var(--line-2); border-radius: 22px; color: var(--ink); font-weight: 700; font-size: 19px;
}
.more-btn::-webkit-details-marker { display: none; }
.more-btn:hover { border-color: var(--accent); border-style: solid; }
.more-btn:focus-visible { outline: none; box-shadow: var(--ring); border-color: var(--accent); }
.more-btn .ch-ic { width: 46px; height: 46px; font-size: 22px; border-radius: 13px; }
.more-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.more-tx small { font-weight: 400; color: var(--ink-3); font-size: 17px; }
.more-caret { flex: none; font-size: 20px; color: var(--ink-3); transition: transform .2s; }
details[open] > .more-btn .more-caret { transform: rotate(180deg); }
details[open] > .more-btn { border-style: solid; border-color: var(--line); background: var(--bg-2); }
.tiles-more { margin-top: 12px; }
.more-choices .choices { margin: 12px 0 0; }

/* An error right under the field it's about */
.field-err { display: flex; gap: 8px; align-items: flex-start; margin: 8px 0 0; color: var(--bad); font-weight: 700; font-size: 18px; }
.field-err i { margin-top: 2px; }
.consent + .field-err { margin: -8px 0 18px; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--bad); }
.consent.has-err { border-color: var(--bad); }

/* A line about your own phone on the Done screen (customers don't see it) */
.done-note { display: flex; align-items: center; gap: 12px; text-align: left; background: var(--info-soft); color: #14365F; border-radius: var(--r); padding: 12px 16px; margin: -8px 0 24px; font-size: 18px; }
.done-note .ch-ic { width: 40px; height: 40px; font-size: 19px; border-radius: 11px; background: #fff; }
.where + .done-note { margin-top: -12px; }

.photo-now.flat-sm { box-shadow: none; }
