/* Ambulanta Assist. One stylesheet for widget, SMS pages, dashboard and demo.
   The clinic colour arrives as --brand, --brand-ink and --brand-soft on <body>. */

@font-face { font-family: Figtree; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/figtree-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Figtree; font-style: normal; font-weight: 300 900; font-display: swap; src: url(fonts/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --brand: #0f766e; --brand-ink: #fff; --brand-soft: #e7f4f2;
  --ink: #16211f; --ink-2: #3d4a47; --ink-3: #66726f;
  --line: #dde3e1; --paper: #f6f8f7; --urgent: #b42318;
  --ok-bg: #e6f4ea; --ok-ink: #14532d; --warn-bg: #fef3c7; --warn-ink: #78350f;
  --r: 8px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 Figtree, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; font-feature-settings: "tnum" 1; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- Building blocks ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: var(--r);
  border: 1px solid transparent; font-size: 15px; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: filter .15s, background-color .15s, border-color .15s; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-brand { background: var(--brand); color: var(--brand-ink); }
.btn-brand:hover:not(:disabled) { filter: brightness(.94); }
.btn-brand:active:not(:disabled) { filter: brightness(.88); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { background: var(--paper); border-color: #c5cecb; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn-xs { min-height: 34px; padding: 0 10px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-link { min-height: 44px; background: none; border: 0; padding: 0; color: var(--ink-3); font-size: 13px; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

.field { display: block; width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; font-size: 16px; color: var(--ink); }
.field::placeholder { color: var(--ink-3); }
.field:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field[aria-invalid="true"] { border-color: var(--urgent); }
textarea.field { resize: vertical; }
.label { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 600; }
.label .opt-tag, .muted { color: var(--ink-3); font-weight: 400; }
.hint { margin-top: 4px; font-size: 13px; color: var(--ink-3); }
.err { margin-top: 4px; font-size: 14px; color: var(--urgent); }
input[type="checkbox"], input[type="range"] { accent-color: var(--brand); }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }

.chip { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.chip-grey { background: #eef1f0; color: #33403d; }
.chip-blue { background: #e0f0fb; color: #0c4a6e; }
.chip-green { background: var(--ok-bg); color: var(--ok-ink); }
.chip-amber { background: var(--warn-bg); color: var(--warn-ink); }
.chip-red { background: #fde4e1; color: #7f1d1d; }
.chip-urgent { background: var(--urgent); color: #fff; }
.chip-strike { text-decoration: line-through; color: #66726f; }

.notice { padding: 12px 16px; border-radius: var(--r); font-size: 14px; }
.notice-ok { background: var(--ok-bg); color: var(--ok-ink); }
.notice-err { background: #fdecea; color: var(--urgent); }
.notice-warn { background: var(--warn-bg); color: var(--warn-ink); }

.stack { display: grid; gap: 16px; }
.stack-s { display: grid; gap: 10px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.row-between { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.grid { display: grid; gap: 12px; }
@media (min-width: 640px) {
  .g2 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(3, 1fr); }
  .g4 { grid-template-columns: repeat(4, 1fr); }
  .span2 { grid-column: span 2; }
  .span3 { grid-column: span 3; }
}
.g-slot { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .g-slot { grid-template-columns: repeat(4, 1fr); } }
.mono { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
.nowrap { white-space: nowrap; }

/* ---------- Widget ---------- */
.w { max-width: 576px; margin: 0 auto; background: #fff; }
.w-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); }
.w-name { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 15px; font-weight: 600; }
.w-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-name img { height: 28px; width: auto; }
.bar { width: 6px; height: 24px; border-radius: 2px; background: var(--brand); flex: none; }
.w-lang { display: flex; flex: none; padding: 2px; border: 1px solid var(--line); border-radius: 6px; }
.w-lang button { min-width: 36px; min-height: 36px; padding: 0 6px; border: 0; border-radius: 4px; background: none; color: var(--ink-2); font-size: 13px; font-weight: 600; text-transform: uppercase; cursor: pointer; }
.w-lang button[aria-pressed="true"] { background: var(--brand); color: var(--brand-ink); }
.w-body { padding: 16px 20px 24px; }
.w-demo { margin: 12px 20px 0; }
.w-step { margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.w-progress { height: 6px; border-radius: 99px; background: var(--paper); overflow: hidden; margin-bottom: 20px; }
.w-progress i { display: block; height: 100%; border-radius: 99px; background: var(--brand); transition: width .3s; }
.w-q { margin-bottom: 16px; font-size: 22px; font-weight: 700; line-height: 1.2; }
.w-q:focus { outline: none; }
.opts { display: grid; gap: 10px; }
@media (min-width: 520px) { .opts-2 { grid-template-columns: 1fr 1fr; } .opts-3 { grid-template-columns: repeat(3, 1fr); } }
.opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 12px 16px; border: 2px solid var(--line); border-radius: var(--r); background: #fff;
  text-align: left; font-size: 16px; font-weight: 600; line-height: 1.3; cursor: pointer; transition: border-color .15s, background-color .15s; }
.opt:hover { border-color: #a9b4b1; }
.opt[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); }
.dot { width: 20px; height: 20px; flex: none; border: 2px solid #8a9592; border-radius: 50%; display: grid; place-items: center; }
.opt[aria-pressed="true"] .dot { border-color: var(--brand); background: var(--brand); }
.opt[aria-pressed="true"] .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-ink); }
.w-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.w-nav .btn-brand { min-width: 120px; }
.w-sub { margin-top: 24px; }
.pain-row { display: flex; align-items: center; gap: 12px; }
.pain-row input { flex: 1; height: 44px; }
.pain-row output { width: 48px; text-align: right; font-size: 20px; font-weight: 700; }
.pain-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.photo-prev { display: flex; align-items: center; gap: 12px; }
.photo-prev img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; }
.box-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.box-check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.box-check strong { display: block; }
.box-check small { display: block; font-size: 13px; color: var(--ink-3); }
.consent { font-size: 14px; line-height: 1.4; }
.consent a { text-underline-offset: 2px; }
.msg-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; font-size: 13px; }
.msg-meta strong { color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.thanks { padding: 32px 20px; }
.thanks-ico { width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; }
.thanks h1 { font-size: 24px; line-height: 1.2; }
.thanks h1:focus { outline: none; }
.thanks .lead { margin-top: 8px; font-size: 17px; color: var(--ink-2); }
.thanks .call { margin-top: 20px; padding: 12px 16px; border-radius: 6px; background: var(--paper); font-size: 15px; }
.thanks .call a { font-weight: 700; text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 4px; }
[hidden] { display: none !important; }

/* ---------- SMS link pages ---------- */
.t-page { min-height: 100vh; padding: 32px 16px; background: var(--paper); }
.t-wrap { max-width: 448px; margin: 0 auto; }
.t-clinic { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 15px; font-weight: 600; }
.t-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.t-kicker { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.t-when { font-size: 24px; font-weight: 700; line-height: 1.2; }
.t-when.t-date::first-letter { text-transform: uppercase; }
.t-msg { font-size: 18px; font-weight: 600; line-height: 1.35; }
.t-msg.muted { color: var(--ink-2); }
.t-actions { margin-top: 20px; display: grid; gap: 12px; }
.t-actions .btn-brand { font-size: 17px; }
.t-more { border: 1px solid var(--line); border-radius: var(--r); }
.t-more summary { list-style: none; cursor: pointer; }
.t-more summary::-webkit-details-marker { display: none; }
.t-more summary.btn { width: 100%; }
.t-more form { display: grid; gap: 12px; padding: 0 12px 12px; }
.t-optout { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); }
.t-phone { margin-top: 16px; text-align: center; font-size: 14px; }
.t-phone a { font-weight: 600; text-underline-offset: 2px; }

/* ---------- Login and simple pages ---------- */
.center-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 16px; background: var(--paper); }
.center-box { width: 100%; max-width: 384px; }
.kicker { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.panel { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.title-l { font-size: 28px; font-weight: 700; line-height: 1.15; }
.prose { max-width: 672px; margin: 0 auto; padding: 40px 20px; line-height: 1.65; }
.prose h1 { font-size: 30px; line-height: 1.15; margin-top: 4px; }
.prose h2 { font-size: 19px; margin-top: 28px; margin-bottom: 4px; }
.prose ul { list-style: disc; padding-left: 20px; }
.prose mark { background: var(--warn-bg); padding: 0 4px; border-radius: 3px; }

/* ---------- Dashboard ---------- */
.d { min-height: 100vh; background: var(--paper); }
.d-head { background: #fff; border-bottom: 1px solid var(--line); }
.wrap { max-width: 1152px; margin: 0 auto; padding: 0 16px; }
.d-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.d-brand { display: flex; align-items: center; gap: 12px; }
.d-brand .bar { height: 28px; }
.d-brand a { font-weight: 700; text-decoration: none; }
.d-brand small { display: block; font-size: 12px; color: var(--ink-3); }
.d-nav { overflow-x: auto; }
.d-nav ul { display: flex; gap: 4px; }
.d-nav a { display: block; padding: 10px 12px; border-bottom: 2px solid transparent; font-size: 14px; font-weight: 600; color: var(--ink-3); text-decoration: none; white-space: nowrap; }
.d-nav a:hover { color: var(--ink); }
.d-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--brand); }
.d-main { padding-top: 24px; padding-bottom: 48px; }
.d-h1 { font-size: 24px; font-weight: 700; line-height: 1.2; }
.d-lead { max-width: 65ch; margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.d-section { margin-top: 24px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.d-h2 { margin-bottom: 12px; font-size: 17px; font-weight: 700; }
.flash { margin-bottom: 16px; }
.empty { padding: 32px; border: 1px dashed var(--line); border-radius: var(--r); background: #fff; text-align: center; color: var(--ink-3); }
.empty-s { padding: 12px 16px; border: 1px dashed var(--line); border-radius: 6px; background: #fff; font-size: 14px; color: var(--ink-3); }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-bottom: 24px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: var(--line); }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats div { padding: 12px 16px; background: #fff; }
.stats p { font-size: 13px; color: var(--ink-3); }
.stats strong { display: block; font-size: 28px; line-height: 1.2; }

.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.tabs a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 16px 0; }
.filters .field { min-width: 170px; }

.inq { border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.inq.urgent { border-color: var(--urgent); border-left-width: 6px; }
.inq-main { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 16px; }
.inq-main > div:first-child { min-width: 0; }
.inq h2 { font-size: 17px; font-weight: 700; }
.inq-facts { margin-top: 4px; font-size: 14px; color: var(--ink-2); }
.inq-msg { max-width: 65ch; margin-top: 8px; padding: 8px 12px; border-radius: 4px; background: var(--paper); font-size: 14px; }
.inq-meta { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.inq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 16px; border-top: 1px solid var(--line); }
.book { flex: 1 1 auto; }
.book summary { list-style: none; display: inline-flex; }
.book summary::-webkit-details-marker { display: none; }
.book[open] { flex-basis: 100%; }
.book-body { margin-top: 12px; padding: 12px; border-radius: 6px; background: var(--paper); }

.day + .day { margin-top: 20px; }
.day h2 { margin-bottom: 8px; font-size: 15px; font-weight: 700; color: var(--ink-2); }
.day h2::first-letter { text-transform: uppercase; }
.day.today h2 { color: var(--brand); }
.list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.list > li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.a-time { width: 92px; font-size: 17px; font-weight: 700; }
.a-time small { margin-left: 4px; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.a-who { flex: 1; min-width: 180px; }
.a-who p:first-child { font-weight: 600; }
.a-who .sub { font-size: 13px; color: var(--ink-3); }
.pos { width: 32px; font-size: 20px; font-weight: 700; color: var(--ink-3); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { padding: 8px 16px; background: var(--paper); text-align: left; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.table td { padding: 8px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.table td.mid { vertical-align: middle; }
.table .field { min-height: 36px; padding: 4px 8px; font-size: 14px; }
.sticky-save { position: sticky; bottom: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 24px -16px 0; padding: 12px 16px; border-top: 1px solid var(--line); background: rgba(255,255,255,.96); }
.tpl-head { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 13px; font-weight: 600; }
.tpl-head .over { color: var(--urgent); }
.color-pair { display: flex; gap: 8px; }
.color-pair input[type="color"] { width: 56px; height: 44px; padding: 2px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
dialog.photo { max-width: min(92vw, 720px); padding: 0; border: 0; border-radius: var(--r); }
dialog.photo::backdrop { background: rgba(0,0,0,.6); }
dialog.photo header { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; border-bottom: 1px solid var(--line); font-weight: 600; }
dialog.photo img { max-height: 75vh; width: 100%; object-fit: contain; }
code { padding: 1px 4px; border-radius: 3px; background: var(--paper); font-size: 13px; }
pre.snippet { margin: 0; padding: 12px; overflow-x: auto; border-radius: 6px; background: var(--ink); color: #e6efed; font-size: 13px; }

/* ---------- Demo ---------- */
.demo { min-height: 100vh; background: #eef2f1; }
.demo-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.demo-head h1 { font-size: 18px; line-height: 1.25; }
.demo-grid { display: grid; gap: 24px; max-width: 1400px; margin: 0 auto; padding: 16px; }
@media (min-width: 1024px) { .demo-grid { grid-template-columns: 1fr 380px; padding: 24px; } }
.browser { display: flex; flex-direction: column; min-height: 520px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: var(--paper); }
.browser-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.browser-bar span { flex: 1; margin-left: 8px; padding: 4px 12px; border-radius: 4px; background: #fff; font-size: 12px; color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser iframe { flex: 1; width: 100%; height: 640px; border: 0; }
@media (min-width: 1024px) { .browser iframe { height: auto; } }
.phone { width: 100%; max-width: 380px; margin: 0 auto; padding: 12px; border-radius: 44px; background: var(--ink); box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.phone-screen { position: relative; display: flex; flex-direction: column; height: 720px; overflow: hidden; border-radius: 34px; background: #f4f6f5; }
.phone-status { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px 8px; background: #fff; font-size: 12px; font-weight: 600; }
.phone-status i { width: 96px; height: 20px; border-radius: 99px; background: var(--ink); }
.phone-title { padding: 0 16px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.phone-title p:first-child { font-size: 15px; font-weight: 700; }
.phone-title p + p { font-size: 12px; color: var(--ink-3); }
.feed { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 12px; }
.feed article { max-width: 92%; }
.feed article + article { margin-top: 12px; }
.feed .meta { margin-bottom: 2px; padding: 0 4px; font-size: 11px; color: var(--ink-3); }
.feed .meta strong { color: var(--ink-2); }
.bubble { padding: 10px 14px; border-radius: 16px 16px 16px 6px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06); font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.bubble button { padding: 0; border: 0; background: none; color: #0b62c9; font-weight: 600; text-align: left; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; overflow-wrap: anywhere; }
.feed-empty { padding-top: 64px; text-align: center; font-size: 14px; color: var(--ink-3); }
.phone-nav { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.phone-nav span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ink-3); }
.phone-frame { flex: 1; width: 100%; border: 0; background: #fff; }
.scen { max-width: 1400px; margin: 0 auto; padding: 0 16px 40px; }
@media (min-width: 1024px) { .scen { padding: 0 24px 40px; } }
.scen h2 { margin-bottom: 8px; font-size: 15px; color: var(--ink-2); }
.scen-grid { display: grid; gap: 8px; }
@media (min-width: 640px) { .scen-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .scen-grid { grid-template-columns: repeat(6, 1fr); } }
.scen-grid button { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 72px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-align: left; cursor: pointer; }
.scen-grid button:hover:not(:disabled) { border-color: #0f766e; }
.scen-grid button:disabled { opacity: .6; cursor: wait; }
.scen-grid b { font-size: 12px; color: #0f766e; }
.scen-grid span { font-size: 15px; font-weight: 600; line-height: 1.3; }
.scen-grid small { font-size: 12px; color: var(--ink-3); }
.scen-note { margin-top: 12px; }

/* Fictional clinic website inside /demo */
.fake { min-height: 100vh; background: #f2faf9; color: #17302d; }
.fake header { border-bottom: 1px solid #d5ebe8; background: #fff; }
.fake .in { max-width: 896px; margin: 0 auto; padding: 16px 24px; }
.fake header .in { display: flex; align-items: center; justify-content: space-between; }
.fake .logo { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.fake .logo span { color: #0f766e; }
.fake nav { display: none; gap: 24px; font-size: 14px; color: #3f5e5a; }
@media (min-width: 640px) { .fake nav { display: flex; } }
.fake main .in { padding-top: 48px; padding-bottom: 128px; }
.fake .eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #0f766e; }
.fake h1 { max-width: 576px; margin-top: 8px; font-size: 40px; line-height: 1.08; letter-spacing: -.02em; }
.fake .lead { max-width: 512px; margin-top: 16px; font-size: 17px; line-height: 1.6; color: #3f5e5a; }
.fake .cols { display: grid; gap: 32px; margin-top: 48px; }
@media (min-width: 640px) { .fake .cols { grid-template-columns: 1.4fr 1fr; } }
.fake h2 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: #3f5e5a; }
.fake ul { margin-top: 12px; border-top: 1px solid #d5ebe8; }
.fake li { padding: 12px 0; border-bottom: 1px solid #d5ebe8; }
.fake dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; margin-top: 12px; font-size: 15px; }
.fake .small { margin-top: 16px; font-size: 14px; color: #3f5e5a; }
.fake .foot { margin-top: 64px; font-size: 12px; color: #7a9692; }
