/* app-page.css — APP_PAGE_TEMPLATE_V1: the look shared by every marketplace app's custom page */
:root {
  --font-head: inherit; /* BRAND_KIT_V1 — the business's brand font when their kit names one */
  --bg: #f6f7f9; --surface: #ffffff; --surface-2: #f1f3f6; --line: #e3e6eb; --ink: #16181d; --muted: #5d6572;
  --accent: #3b5bdb; --accent-ink: #ffffff; --accent-soft: #e8edfd;
  --ok: #1f8a4c; --ok-soft: #e3f4ea; --bad: #c0392b; --bad-soft: #fbe9e7; --warn-soft: #fff5e0;
  --radius: 14px; --shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 8px rgba(16,24,40,.04);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1115; --surface: #171a21; --surface-2: #1e222b; --line: #2a2f3a; --ink: #eceef2; --muted: #9aa3b2;
    --accent: #7c95ff; --accent-ink: #0f1115; --accent-soft: #1f2744; --ok: #4cc27f; --ok-soft: #15301f; --bad: #ff7a6b; --bad-soft: #3a1d1a; --warn-soft: #33290f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1115; --surface: #171a21; --surface-2: #1e222b; --line: #2a2f3a; --ink: #eceef2; --muted: #9aa3b2;
  --accent: #7c95ff; --accent-ink: #0f1115; --accent-soft: #1f2744; --ok: #4cc27f; --ok-soft: #15301f; --bad: #ff7a6b; --bad-soft: #3a1d1a; --warn-soft: #33290f;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html[data-framed="1"] { height: 100%; overflow: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--accent); }
code { font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; word-break: break-all; }
small { color: var(--muted); }
.muted { color: var(--muted); }

/* app bar */
.appbar { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ab-inner { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 16px; } /* HUB_TABS_WRAP_V1 (CoS 2026-10-21) — with 10 apps the strip scrolled sideways and Mac hid the scrollbar, so the last tab was out of sight: tabs wrap to a second row */
.ab-app { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-decoration: none; white-space: nowrap; }
.ab-app:hover { border-color: var(--accent); }
.ab-app.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.ab-app.off .ab-ico { filter: grayscale(.6); opacity: .8; }
.ab-ico { font-size: 22px; }
.ab-txt { display: flex; flex-direction: column; line-height: 1.2; }
.ab-txt b { font-weight: 600; font-size: 14px; }
.ab-txt small { font-size: 12px; }
.ab-txt small.ok { color: var(--ok); }

/* shell */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; max-width: 1180px; margin: 0 auto; padding: 20px 16px 96px; }
.side { position: sticky; top: 16px; /* APP_SWITCHER_V1: no app bar above it any more (was 76px) */ align-self: start; display: flex; flex-direction: column; gap: 2px; }
.side-app { display: flex; align-items: center; gap: 10px; padding: 6px 10px 14px; }
.side-app b { display: block; font-size: 15px; }
.side-ico { font-size: 28px; }
.tab { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; }
.tab:hover { background: var(--surface-2); }
.tab.on { background: var(--accent-soft); color: var(--accent); }
.tab .ico { width: 22px; text-align: center; }
.tab.other { font-weight: 400; font-size: 14px; }
.tab.other .pill { margin-left: auto; }
.tab.off { opacity: .6; }
.side-h { margin: 18px 10px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* content */
.kicker { margin: 0 0 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.title { margin: 0 0 6px; font-size: 28px; line-height: 1.2; letter-spacing: -.01em; }
.lead { margin: 0 0 20px; color: var(--muted); font-size: 16px; max-width: 70ch; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px 20px; margin: 0 0 16px; }
.card h2 { margin: 0 0 4px; font-size: 18px; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card h3.sub { margin: 18px 0 6px; }
.card.warn { background: var(--warn-soft); }
.card.shared { border-style: dashed; }
.card.muted-card { opacity: .85; }
.card-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.num { flex: none; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; }
.count { display: inline-block; min-width: 22px; padding: 0 7px; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; vertical-align: middle; }
.line { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.line:first-of-type { border-top: 0; }
.line.off .li-txt b { color: var(--muted); }
.li-txt { flex: 1; min-width: 0; }
.li-txt b { display: block; font-weight: 500; }
.li-txt small { display: block; }
.note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; background: var(--surface-2); color: var(--muted); font-size: 12px; font-weight: 500; white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.bad { background: var(--bad-soft); color: var(--bad); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); flex: none; }
.dot.ok { background: var(--ok); } .dot.bad { background: var(--bad); }
.ok-t { color: var(--ok); } .bad-t { color: var(--bad); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 6px 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); position: relative; }
.step .grip { flex: none; color: var(--muted); font-size: 14px; letter-spacing: -2px; cursor: grab; padding: 4px 2px; user-select: none; }
.step.dragging { opacity: .55; }
ol.portal-ord .step, ol.voice-ord .step { padding-left: 8px; }
.step.off { background: var(--surface-2); }
.step.off .step-txt b { color: var(--muted); text-decoration: line-through; }
.step-txt { flex: 1; } .step-txt b { display: block; font-weight: 500; } .step-txt small { display: block; }
.step-grp { margin: 14px 0 2px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.howto { margin: 0; padding-left: 20px; } .howto li { margin: 6px 0; }

/* controls */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; text-decoration: none; }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.danger { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, var(--line)); }
.btn.small { padding: 5px 10px; font-size: 13px; }
.btn.ghost { background: transparent; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btns { display: flex; flex-wrap: wrap; gap: 8px; }
.inp { font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); max-width: 100%; }
.inp.num { width: 90px; } .inp.wide { width: min(420px, 100%); }
.sw { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; }
.sw input { opacity: 0; width: 0; height: 0; }
.sw span { position: absolute; inset: 0; background: var(--line); border-radius: 99px; cursor: pointer; transition: background .15s; }
.sw span::after { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.sw input:checked + span { background: var(--accent); }
.sw input:checked + span::after { transform: translateX(18px); }
.sw input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* folds, code, tools */
details.fold { border-top: 1px solid var(--line); }
details.fold > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 10px 0; cursor: pointer; }
details.fold > summary::-webkit-details-marker { display: none; }
/* FOLD_SAYS_CLICK_V1 (Claudia 2026-09-24: "it should say click for more, clients won't see more settings under the tab") */
details.fold > summary::after { content: "Click to open \25B8"; margin-left: auto; flex: none; font-size: 12px; font-weight: 600; color: var(--accent); white-space: nowrap; padding-left: 8px; }
details.fold[open] > summary::after { content: "Close \25B4"; color: var(--muted, #888); }
details.fold.mini > summary::after, details.fold.loc > summary::after, details.fold.svc > summary::after { content: "\25B8"; }
details.fold.mini[open] > summary::after, details.fold.loc[open] > summary::after, details.fold.svc[open] > summary::after { content: "\25B4"; }
details.card.fold { border-top: 1px solid var(--line); }
details.card.fold > summary { padding: 0; }
/* WIDGET_ROWS_READ_ON_A_PHONE_V1 (Leona audit 2026-10-13, C-widgets #2): at 390 px each widget row's name rendered one
   letter per line beside Customize / Code; the words take the whole first line and the buttons sit under them. */
@media (max-width: 640px) {
  details.wcard > summary { flex-wrap: wrap; row-gap: 6px; }
  details.wcard > summary > .li-txt { flex: 1 1 100%; min-width: 0; }
}
.tool p { margin: 6px 0; }
.endpoint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.verb { font-size: 11px; font-weight: 700; padding: 2px 6px; border-radius: 6px; background: var(--ok-soft); color: var(--ok); }
.pre { white-space: pre-wrap; word-break: break-word; font: 12px/1.45 ui-monospace, Menlo, monospace; background: var(--surface-2); padding: 10px 12px; border-radius: 10px; max-height: 260px; overflow: auto; }
.kv small { display: block; margin-top: 8px; }
.kv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 10px; }
.kv-grid > div { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; background: var(--surface-2); border-radius: 10px; padding: 10px 12px; }
.kv-grid small { width: 100%; }
.panel-inset { margin-top: 12px; padding: 14px; border-radius: 12px; background: var(--surface-2); }
.list { margin: 6px 0; padding-left: 18px; } .list li { margin: 3px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0 4px; }
.choice-c { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.wprev iframe { width: 100%; height: 640px; border: 1px solid var(--line); border-radius: 10px; margin-top: 10px; background: #fff; }
.getit { padding: 28px; }

/* feedback */
.skeleton { height: 16px; border-radius: 8px; background: linear-gradient(90deg, var(--surface-2), var(--line), var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s infinite; margin: 10px 0; }
.skeleton.short { width: 60%; }
@keyframes sk { to { background-position: -200% 0; } }
.savebar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9; display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); box-shadow: 0 8px 30px rgba(0,0,0,.25); }
.savebar .btn.ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 35%, transparent); }
.toast { position: fixed; left: 50%; top: 18px; transform: translateX(-50%); z-index: 10; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: var(--bg); box-shadow: 0 8px 30px rgba(0,0,0,.25); max-width: min(560px, 92vw); }

@media (max-width: 820px) {
  .shell { grid-template-columns: 1fr; gap: 12px; }
  .side { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .side-app { width: 100%; padding-bottom: 6px; }
  .side-h { width: 100%; margin-top: 8px; }
  .two, .choice { grid-template-columns: 1fr; }
  .title { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) { .skeleton { animation: none; } .sw span, .sw span::after { transition: none; } }

/* home */
.side-bottom { margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--line); }
.start { background: linear-gradient(135deg, var(--accent-soft), var(--surface) 60%); }
.start-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ring { --p: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line) 0); flex: none; }
.ring span { width: 50px; height: 50px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.dots { display: flex; gap: 6px; margin: 10px 0 4px; }
.dots .d { width: 28px; height: 6px; border-radius: 99px; background: var(--line); }
.dots .d.done { background: var(--ok); } .dots .d.now { background: var(--accent); }
.q { margin-top: 14px; padding: 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.q h3 { font-size: 18px; margin: 2px 0 6px; }
.q-n { margin: 0; font-size: 12px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 16px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.kpi b { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; }
.kpi-ico { font-size: 18px; margin-bottom: 6px; }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-top: 10px; }
.person { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--surface); }
.person.active { border-color: color-mix(in srgb, var(--ok) 45%, var(--line)); }
.p-top { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 13px; flex: none; }
.p-last { margin: 8px 0 0; font-size: 13px; }
.p-miss { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.chip { font-size: 11px; padding: 2px 8px; border-radius: 99px; background: var(--surface-2); color: var(--muted); }
.timeline { list-style: none; margin: 8px 0 0; padding: 0; }
.timeline li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.t-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); margin-top: 6px; flex: none; }
.t-ico { width: 24px; text-align: center; flex: none; }
.empty { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 12px; background: var(--surface-2); }
.empty span { font-size: 30px; } .empty p { margin: 0; }
.list.evid { font-size: 13px; color: var(--muted); max-height: 220px; overflow: auto; }
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(110px, 1fr); gap: 8px; overflow-x: auto; margin-top: 10px; }
.board .col { background: var(--surface-2); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; }
.board .col b { font-size: 24px; } .board .col small { line-height: 1.25; }
.meter { height: 6px; border-radius: 99px; background: var(--line); margin-top: 10px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--ok); }
.piece { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 8px 0; }
.piece-top { display: flex; align-items: center; gap: 12px; }
.piece-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.piece-act select.inp { min-width: 240px; flex: 1; }

/* FAMILY_EXT_V1 — Leona pages: booking flow builder, pictures, per-person rows, filters, funnel bars */
.grow { flex: 1; min-width: 0; }
.card-head { align-items: flex-start; }
.flowcard .flowchips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 4px; }
.fchip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 13px; font-weight: 500; }
.fchip b { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 11px; }
.farrow { color: var(--muted); font-size: 12px; }
.two-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 10px; }
.two-choice .choice-c { cursor: pointer; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.two-choice .choice-c input { position: absolute; opacity: 0; pointer-events: none; }
.two-choice .choice-c.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.two-choice .choice-c h3 { margin: 0 0 4px; font-size: 15px; }
.thumb { position: relative; flex: none; width: 64px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.gcard .thumb, .v-top .thumb { width: 100%; height: 96px; }
.v-top .thumb { width: 96px; height: 64px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb .noimg { font-size: 11px; color: var(--muted); }
.thumb .src { position: absolute; left: 4px; bottom: 4px; font-size: 10px; line-height: 1; padding: 3px 5px; border-radius: 6px; background: rgba(0,0,0,.62); color: #fff; }
.thumb .src.biz { background: var(--accent); color: var(--accent-ink); }
.upl { display: inline-block; cursor: pointer; font-size: 12px; font-weight: 500; color: var(--accent); padding: 4px 8px; border: 1px dashed var(--accent); border-radius: 8px; background: var(--surface); }
.thumb .upl { position: absolute; right: 4px; top: 4px; padding: 2px 6px; font-size: 10px; }
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 8px 0; }
.gcard { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--line); border-radius: 12px; padding: 8px; background: var(--surface); }
.gcard b { font-size: 14px; }
.mini { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.mini .inp.num { width: 64px; }
details.loc > summary, details.svc > summary { display: flex; align-items: center; gap: 12px; }
.variant { border-top: 1px solid var(--line); padding: 10px 0; }
.v-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
table.persons { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 14px; }
table.persons th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 500; padding: 4px 6px; }
table.persons td { padding: 4px 6px; }
table.persons td .inp { width: 100%; }
.sumline { margin: 6px 0 0; }
.filter { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 10px 0; background: var(--surface-2); }
.gallery { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.gallery img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.hbar { flex: none; width: 38%; height: 8px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.hbar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.avatar.img { object-fit: cover; padding: 0; }
.kpis.inset { margin: 8px 0 0; }
@media (max-width: 640px) { table.persons thead { display: none; } table.persons td { display: block; } .hbar { width: 30%; } }
.oneline { margin-top: 4px; font-size: 13px; }
details.info > summary { list-style: none; cursor: pointer; font-size: 12px; color: var(--accent); }
details.info > summary::-webkit-details-marker { display: none; }
details.info p { margin: 4px 0 0; font-size: 12px; background: var(--surface-2); border-radius: 8px; padding: 6px 8px; }
.warn-note { background: var(--warn-soft); border-radius: 10px; padding: 8px 10px; margin: 8px 0; }
.chips.pick .chip { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
ol.formq { margin: 6px 0 0; padding-left: 22px; }
ol.formq li { padding: 4px 0; border-top: 1px solid var(--line); }
ol.formq li small { display: block; }
ol.formq li.terms b::after { content: " · terms"; color: var(--muted); font-weight: 400; }
.line.off { opacity: .6; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }

/* LEONA_SETUP_V1 — live-preview booking setup: step rail · one question at a time · the real booking page docked on the right */
.lz-wiz { display: flex; flex-direction: column; gap: 12px; }
body.lz-on main { padding-right: 420px; box-sizing: border-box; }
.lz-rail { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 45; }
.lz-r { display: flex; align-items: center; gap: 8px; text-align: left; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; border-radius: 12px; padding: 8px 10px; font: inherit; color: var(--ink); cursor: pointer; }
.lz-r .n { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--line); flex: none; }
.lz-r:hover { background: var(--surface); }
.lz-r.on { background: var(--surface); border-color: var(--line); font-weight: 600; box-shadow: 0 6px 20px rgba(20, 20, 30, .06); }
.lz-r.on .n { background: var(--ink); color: var(--surface); }
.lz-main { min-width: 0; }
.lz-head h2 { margin: 2px 0 6px; font-size: 22px; letter-spacing: -.01em; }
.lz-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.lz-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lz-rank .person.draggable { cursor: grab; } .lz-rank .person.dragging { opacity: .5; }
.lz-colors { display: flex; flex-wrap: wrap; gap: 14px; margin: 10px 0; } .lz-colors input[type=color] { width: 44px; height: 32px; border: 1px solid var(--line); border-radius: 8px; padding: 0; background: none; }
.three-choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.lz-tpl { position: relative; overflow: hidden; }
.lz-tpl.lz-aurora::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 44px; background: linear-gradient(120deg, #c7d2fe, #fbcfe8, #fde68a); opacity: .7; }
.lz-tpl.lz-linen::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 44px; background: #efe7da; }
.lz-tpl.lz-noir::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 44px; background: #111214; }
.lz-tpl h3 { margin-top: 48px; }

/* LEONA_SPA_TEMPLATE_LOCK_V1 — one-step look tiles (2-up on a phone, never a 1-col stack) */
.choice.lz-looks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0 4px; }
@media (min-width: 720px) { .choice.lz-looks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .choice.lz-looks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.lz-looks .choice-c { cursor: pointer; padding: 10px 10px 12px; background: var(--surface); min-height: 0; }
.lz-looks .choice-c input { position: absolute; opacity: 0; pointer-events: none; }
.lz-looks .choice-c.on { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.lz-looks .choice-c h3 { margin: 8px 0 2px; font-size: 14px; }
.lz-looks .choice-c .muted { font-size: 12px; margin: 0; }
.lz-tpl-preview { display: block; height: 56px; border-radius: 10px; margin: 0 0 4px; border: 1px solid var(--line); }
.lz-tpl.lz-spa-mobile .lz-tpl-preview { background: linear-gradient(180deg, hsl(270 50% 55%) 0 18px, #f7f4fb 18px); }
.lz-tpl.lz-aurora .lz-tpl-preview { background: linear-gradient(120deg, #c7d2fe, #fbcfe8, #fde68a); }
.lz-tpl.lz-linen .lz-tpl-preview { background: #efe7da; }
.lz-tpl.lz-atelier .lz-tpl-preview { background: linear-gradient(135deg, #f6f1e6, #7c3aed 80%); }
.lz-tpl.lz-ember .lz-tpl-preview { background: linear-gradient(135deg, #fbf6f1, #c2410c); }
.lz-tpl.lz-glacier .lz-tpl-preview { background: linear-gradient(135deg, #f4f8fb, #0e7490); }
.lz-tpl.lz-gallery .lz-tpl-preview { background: linear-gradient(180deg, #111 0 28px, #1a1a1a 28px); }
.lz-tpl.lz-studio .lz-tpl-preview { background: linear-gradient(135deg, #0c0d12, #d4af37); }
.lz-tpl.lz-noir .lz-tpl-preview { background: #111214; }
.lz-looks .lz-tpl h3 { margin-top: 0; }
.lz-tpl.lz-spa-mobile::before, .lz-tpl.lz-atelier::before, .lz-tpl.lz-ember::before, .lz-tpl.lz-glacier::before,
.lz-tpl.lz-gallery::before, .lz-tpl.lz-studio::before { content: none; }
.lz-brand-dots { display: flex; gap: 6px; margin: 0 0 10px; }
/* BRAND_NAMED_TABS_V1 (C-10) — the Brand step's four parts are named tabs; the open one is lit (never a filled button) */
.lz-brand-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.lz-bt { font: inherit; font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; }
.lz-bt:hover { border-color: var(--accent); }
.lz-bt.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 600; }
.lz-looks-more { margin: 8px 0 0; }
.lz-bd { width: 28px; height: 6px; border: 0; border-radius: 99px; background: var(--line); padding: 0; cursor: pointer; }
.lz-bd.on { background: var(--accent); }
.lz-brand-subnav { display: flex; justify-content: space-between; gap: 8px; margin-top: 14px; }
.lz-color-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lz-color-tiles .mini { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.lz-color-tiles input[type=color] { width: 100%; height: 40px; }
.lz-surfaces { display: flex; gap: 6px; flex-wrap: wrap; }
.lz-surf { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 6px 10px; font: 650 12px/1 system-ui; cursor: pointer; }
.lz-surf.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.lz-dock.min .lz-surfaces { display: none; }
.lz-dock { position: fixed; top: 72px; right: 16px; bottom: 16px; width: 390px; z-index: 20; display: flex; flex-direction: column; gap: 8px; }
.lz-dock[hidden] { display: none; }
.lz-dock-top { display: flex; align-items: center; gap: 8px; } .lz-dock-top .muted { flex: 1; font-size: 12px; }
.lz-phone { flex: 1; border-radius: 34px; border: 10px solid #111214; background: #111214; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 15, 25, .25); }
.lz-phone iframe { width: 100%; height: 100%; border: 0; border-radius: 24px; background: #fff; display: block; }
.lz-phone iframe[hidden] { display: none; } /* WIDGET_EDITORS_ALIKE_V1 — a hidden surface must not stack above the one shown */
.lz-dock.min { top: auto; bottom: 12px; right: 12px; left: auto; width: auto; height: auto; z-index: 50; }
.lz-dock.min .lz-phone { display: none; }
.lz-dock.min .lz-dock-top { margin: 0; }
@media (max-width: 1180px) {
  body.lz-on main { padding-right: 0; padding-bottom: 0; }
  .lz-rail { position: relative; z-index: 45; flex-direction: row; overflow-x: auto; padding-bottom: 4px; } .lz-r { white-space: nowrap; }
  .lz-dock:not(.min) { top: auto; left: 200px; right: 8px; width: auto; height: 42vh; z-index: 20; }
  .lz-dock.min { left: auto; right: 8px; bottom: 8px; }
  .three-choice { grid-template-columns: 1fr; }
}
.lz-main .line > .li-txt { flex: 1 1 45%; min-width: 180px; }
.lz-main .line > select.inp, .lz-main .line > input.inp:not(.num) { flex: 0 1 50%; max-width: 50%; }

/* CFX_REVIEWS_UI_V1 — the reviews panel (Leona Booking setup · Staff step, Coco Staff Portal · staff setup, team cards) */
.rv { display: grid; gap: 10px; }
.rv-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rv-head small { display: block; }
.rv-stars { font-size: 15px; letter-spacing: 1px; color: #e0a106; white-space: nowrap; }
.rv-stars b { color: var(--ink); font-size: 14px; margin-left: 4px; }
.rv-stars.none { color: var(--muted); font-size: 12px; letter-spacing: 0; }
.rv-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 8px; }
.rv-item { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--surface); }
.rv-item.other { border-style: dashed; opacity: .82; }
.rv-item p { margin: 6px 0 0; font-size: 13px; }
.rv-i-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-i-tag { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.rv-plat { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.rv-wf { border: 1px solid var(--line); border-radius: 14px; padding: 12px; display: grid; gap: 8px; }
.rv-steps .step { padding: 4px 0; }
.rv-staff li { padding: 4px 0; }
.rv-score { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.rv-score small { color: var(--muted); font-size: 11px; }
.rv-mine { display: grid; gap: 6px; }
.rv-person { margin-top: 8px; }
@media (max-width: 560px) { .rv-head { align-items: flex-start; } .rv-i-tag { flex-wrap: wrap; } }

/* LEONA_ORDER_V1 — the owner's own order: drag on a desktop, the arrows or the position box on a phone */
.lz-ord { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 8px 0 14px; }
.lz-ord .ord-row { cursor: grab; gap: 10px; }
.lz-ord .ord-row.dragging { opacity: .5; }
.lz-ord .ord-row + .ord-row { border-top: 1px solid var(--line); }
.ord-btns { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.ord-btns .inp.num { width: 64px; }
@media (max-width: 640px) { .ord-btns .btn { padding: 6px 10px; } }

/* LEONA_STAFF_VISIBILITY_V1 — the two switches on a team member's card, and a greyed one when Shown is off */
.person .p-sw { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 8px; }
.person .p-sw label { display: flex; align-items: center; gap: 6px; margin: 0; }
.person .p-sw label small { white-space: nowrap; }
.person.off { opacity: .55; }
.person.off .avatar { filter: grayscale(1); }
.note.small { font-size: .82rem; margin-top: 6px; }

/* BRAND_KIT_V1 — headings follow the business's brand font; everything else keeps our stack */
h1, h2, h3, .ab-txt b { font-family: var(--font-head, inherit); }

/* ACTIONABLE_V1 — a check names what is missing and offers the way to fix it */
.line.check-line { align-items: flex-start; }
.line.check-line .dot { margin-top: 7px; }
.check-list { list-style: none; margin: 8px 0 2px; padding: 0; display: grid; gap: 6px; }
.check-list li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--ink); padding: 6px 10px; border-radius: 10px; background: var(--surface-2); }
.check-list li > span { min-width: 0; overflow-wrap: anywhere; }
.check-list .item-act { margin-left: auto; }
.line-act { display: flex; align-items: center; margin-right: 8px; }
.btn.small { padding: 4px 10px; font-size: 12px; border-radius: 8px; }
@media (max-width: 520px) { .check-list .item-act { margin-left: 0; width: 100%; } .check-list .item-act .btn { width: 100%; text-align: center; } }

/* GO_STEP_LAND_V1 + GO_STEP_IFRAME_SCROLL_V1 - the card a red Open deep-links to. */
.lz-land { scroll-margin-top: 72px; animation: lzLand 2.4s ease-out 1; }
@keyframes lzLand { 0%,100% { box-shadow: 0 0 0 0 rgba(124,58,237,0); } 12%,62% { box-shadow: 0 0 0 3px rgba(124,58,237,.45); } }
@media (prefers-reduced-motion: reduce) { .lz-land { animation: none; box-shadow: 0 0 0 3px rgba(124,58,237,.45); } }

/* A_DOCK_DOES_NOT_EAT_THE_OTHER_V1 (2026-09-22, Claudia: "on the bottom there's like writing on top
   of each other we can't read") — the owner "Book for a client" dock is created with class
   "lz-dock owner-dock", and .owner-dock had NO rules of its own, so it inherited the live preview
   dock's exact fixed box (top:72px right:16px width:390px) and the two sat on top of each other,
   their headers and buttons overlapping into unreadable text. apps-leona.js already intends
   otherwise: "its own element, never the live preview's: the two must be able to be open without
   eating each other". Give it its own lane — beside the preview when both are open, in the normal
   place when it is alone. */
.lz-dock.owner-dock { z-index: 21; }
body.ob-on.lz-on .lz-dock.owner-dock { right: 422px; }
@media (max-width: 1280px) {
  /* no room for two side by side: stack them, preview on top, owner below, each scrollable */
  body.ob-on.lz-on .lz-dock:not(.owner-dock) { bottom: calc(50% + 8px); }
  body.ob-on.lz-on .lz-dock.owner-dock { right: 16px; top: calc(50% + 8px); }
}

/* A_MENU_THAT_GETS_OUT_OF_THE_WAY_V1 (2026-09-22, Claudia: "the menu on the left is too large, it
   should show more on the left side or to hide — on all apps") — the shell is a fixed 240px column.
   Collapsed, it keeps every destination as its icon (the label stays as the title attribute, so
   nothing is lost and nothing moves) and hands ~176px back to the page. Shared template = all apps. */
.side-min-btn { align-self: flex-end; background: none; border: 0; font-size: 15px; line-height: 1;
  color: var(--muted, #6b6b76); cursor: pointer; padding: 2px 6px; margin: 0 4px 2px 0; }
html.side-min .shell { grid-template-columns: 64px minmax(0, 1fr); }
html.side-min .side .tab { font-size: 0; justify-content: center; gap: 0; padding-left: 0; padding-right: 0; }
html.side-min .side .tab .ico { font-size: 19px; }
html.side-min .side-app > div { display: none; }
html.side-min .side-app { justify-content: center; padding: 6px 0 12px; }
@media (max-width: 900px) { .side-min-btn { display: none; } }

.lz-stab .lz-stab-go { display: block; font-style: normal; font-size: 12px; font-weight: 600; color: var(--accent); margin-top: 4px; } /* FOLD_SAYS_CLICK_V1 */

/* CHOICE_CARDS_V1 (2026-09-24) — the team/region page "kind" picker had no rule for .choices: loose radio dots and empty
   boxes. Three cards side by side (stacked on a phone), the chosen one in the brand colour. */
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; margin: 8px 0 12px; }
.choices .choice-c { position: relative; display: block; cursor: pointer; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--surface); }
.choices .choice-c input { position: absolute; opacity: 0; pointer-events: none; }
.choices .choice-c h3 { margin: 0 0 4px; font-size: 15px; }
.choices .choice-c p { margin: 0; font-size: 13px; }
.choices .choice-c.on, .choices .choice-c:has(input:checked) { border-color: var(--lzp, var(--accent)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--lzp, var(--accent)) 16%, transparent); }
.choices .choice-c:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

/* SAVEBAR_ON_TOP_V1 (2026-09-24) — the setup-steps rail (z-index 45) covered the Save button (z-index 9) */
.savebar { z-index: 1000; }
/* PHONE_FITS_V1 (re-audit 2026-09-29) — at phone width nothing may push the page sideways: rows wrap, long words and
   keys break, two-column forms stack, and the preview dock stays a small "Show preview" button until asked for. */
@media (max-width: 640px) {
  #main, #side, #main .card, .lz-main, .lz-wiz, .lz-stsec, .lz-onb-top { min-width: 0; max-width: 100%; box-sizing: border-box; }
  #main { overflow-wrap: anywhere; }
  #main .line { flex-wrap: wrap; }
  #main .line > .li-txt { min-width: 0; flex: 1 1 100%; }
  #main .piece-act, #main .btns, #main .chips { flex-wrap: wrap; }
  #main code, #main .mono, #main small { word-break: break-word; overflow-wrap: anywhere; }
  #main [style*="grid-template-columns:1fr 1fr"], #main .two, #main .lz-two { grid-template-columns: 1fr !important; }
  #main .lz-main .line > input.inp:not(.num), #main .lf-box { max-width: 100% !important; flex: 1 1 100% !important; }
  .lz-onb-hero .ic { width: 44px; height: 44px; font-size: 26px; }
  #main table { display: block; overflow-x: auto; max-width: 100%; }
  #main img, #main iframe { max-width: 100%; }
}
@media (max-width: 640px) { .lz-dock.min .lz-dock-top .muted, .lz-dock.min .lz-dock-top b { display: none; } body.lz-on #main { padding-bottom: 72px; } }
/* R1 settings audit P3 #19 — on a phone the sticky family bar (Same-Day / Voice cards) ate ~72px of every screen: it scrolls away now */
@media (max-width: 640px) { .appbar { position: static; } }
/* PHONE_CHROME_V2 (R2 settings audit P2 #9) — on a phone the family cards (Same-Day / Voice) and the two-column menu took
   ~400 px before any content. Under 640 px the other apps are small chips (icon + name), and the menu is one row that
   scrolls sideways; the app's name stays, smaller. Nothing is removed: every item is still one tap away. */
@media (max-width: 640px) {
  .ab-inner { padding: 6px 12px; gap: 6px; }
  .ab-app { padding: 4px 10px 4px 6px; gap: 6px; border-radius: 999px; }
  .ab-ico { font-size: 16px; }
  .ab-txt b { font-size: 13px; }
  .ab-txt small { display: none; }
  .shell { padding-top: 8px; gap: 8px; }
  .side { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; gap: 4px; padding-bottom: 2px; }
  .side::-webkit-scrollbar { display: none; }
  .side-app { width: auto; flex: none; padding: 4px 8px 4px 2px; }
  .side-app small { display: none; }
  .side-app b { font-size: 13px; white-space: nowrap; }
  .side-ico { font-size: 20px; }
  .side .tab { flex: none; white-space: nowrap; padding: 6px 10px; font-size: 14px; }
  .side-bottom { display: contents; }
  .side > .pill { flex: none; }
}
/* OWNER_SCREENS_FR_V1 — the fold words are drawn by CSS, so they follow the page language here */
html[lang="fr"] details.fold > summary::after { content: "Ouvrir \25B8"; }
html[lang="fr"] details.fold[open] > summary::after { content: "Fermer \25B4"; }
/* a check's sentence wraps on a phone instead of running off the card */
.q .pill { white-space: normal; max-width: 100%; }
/* R3 settings audit P3 #22 — "← All widgets" wrapped to "All / wid / gets" at 390 px */
.lz-wtop>.btn{white-space:nowrap;flex:none}
/* VOICE_HOME_OPTIONAL_V1 (r4 settings audit P2 #4) — an optional check is amber, never the red of a blocker */
.pill.warn { background: #fdf3dc; color: #8a5a00; }
/* SAVEBAR_NEVER_COVERS_V1 (r4 settings audit P2 #10) — room under the last field so the bar never sits on it */
body.has-savebar main, body.has-savebar #main { padding-bottom: 96px; }
/* WHO_GETS_WHAT_V1 — the per-person access card (Coco Staff Portal) */
.wgw-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -4px}
.wgw-t{width:100%;border-collapse:collapse;min-width:560px}
.wgw-t th,.wgw-t td{padding:8px 6px;border-bottom:1px solid var(--line,#e4e4e7);text-align:left;vertical-align:middle}
.wgw-t thead th{font-size:12px;font-weight:600;color:var(--muted,#71717a);white-space:nowrap}
.wgw-t tbody th small{display:block;font-weight:400;color:var(--muted,#71717a)}
.wgw-all{background:var(--surface-2,#fafafa)}
.wgw-h{display:inline-flex;align-items:center;gap:4px}
.wgw-s{min-width:128px;width:100%;max-width:170px} /* WGW_LABELS_V1 — the choice reads in full */
.wgw-s.is-off{color:#b91c1c;border-color:#fca5a5}
.wgw-r{width:118px}
.wgw-off{opacity:.65;white-space:nowrap}
.wgw-i{display:inline-block;position:relative}
.wgw-i>summary{list-style:none;cursor:pointer;display:inline-block;width:20px;height:20px;border-radius:50%;border:1px solid var(--line,#d4d4d8);text-align:center;font:600 12px/18px system-ui,sans-serif;color:var(--accent,#6d28d9);background:var(--surface,#fff)}
.wgw-i>summary::-webkit-details-marker{display:none}
.wgw-i[open]>p{position:absolute;z-index:5;left:0;top:24px;width:min(260px,70vw);margin:0;padding:8px 10px;border:1px solid var(--line,#e4e4e7);border-radius:8px;background:var(--surface,#fff);font-weight:400;font-size:13px;color:var(--text,#18181b);white-space:normal;box-shadow:0 6px 18px rgba(0,0,0,.08)}
@media (max-width:640px){.wgw-t{min-width:0}.wgw-t thead{display:none}.wgw-t tr{display:block;padding:8px 0;border-bottom:1px solid var(--line,#e4e4e7)}.wgw-t th,.wgw-t td{display:flex;justify-content:space-between;align-items:center;gap:8px;border:0;padding:4px 2px}.wgw-t td::before{content:attr(data-label);font-size:13px;color:var(--muted,#71717a)}.wgw-s{max-width:60%}}

/* SCREENING_BY_RULES_V1 — Conditions on their answers */
.cond-block{padding:12px 0;border-top:1px solid var(--line,#e4e4e7)}
.cond-block h3{margin:0 0 2px;font-size:14px}
.cond-block>p.muted{margin:0 0 8px}
.cond-yes h3{color:#15803d}.cond-no h3{color:#b91c1c}
.cond-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:6px 0}
.cond-row .cond-and{flex:0 0 46px;font:600 11px/1 system-ui,sans-serif;letter-spacing:.04em;color:var(--muted,#71717a)}
.cond-row select.inp,.cond-row input.inp{flex:1 1 150px;min-width:0;max-width:100%}
.cond-row .cond-del{flex:0 0 auto;min-width:36px;min-height:36px}
.cond-row .cond-gone{flex:1 1 100%}
@media (max-width:640px){.cond-row{padding:10px 0;border-bottom:1px dashed var(--line,#e4e4e7)}.cond-row .cond-and{flex:1 1 100%}.cond-row select.inp,.cond-row input.inp{flex:1 1 100%}.cond-row .cond-del{margin-left:auto;min-width:44px;min-height:44px}.cond-block .btn.small{min-height:40px}}

/* TEMPLATE_SHARED_V1 — shared Settings / Widgets pieces (tpl/TEMPLATE.md) */
span.tpl-ib-pop{display:block}span.tpl-ib-pop[hidden]{display:none}
.tpl-main>section.card{box-shadow:none;border:1px solid var(--line,#e5e7eb);margin:14px 0}
.tpl-st-link{margin-block:0;margin-inline:auto 8px;white-space:nowrap}
.tpl-w-sw .line,.tpl-w-lay .line{flex-wrap:wrap;gap:8px}

/* SETTINGS_SMALL_ROWS_OPEN_V1 + SETTINGS_SIMPLE_LOOK_V1 (Claudia 2026-10-04) — small rows open, less text, colour per field.
   Only the page's own tokens; a state is never colour alone (chip text, ✓). */
.tpl-s .line { padding: 14px 0; }
.tpl-s .lz-onb-hero { border-bottom: 0; padding-bottom: 0; margin-bottom: 6px; }
.tpl-s .lz-onb-hero h2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tpl-hero-chips { display: inline-flex; align-items: center; gap: 2px; font: 400 14px/1.4 Inter, system-ui, sans-serif; flex-wrap: wrap; }
.tpl-hero-chips .ib-txt { flex-basis: 100%; display: block; }
.tpl-hero-chips .ib-txt[hidden] { display: none; }
.tpl-chip { display: inline-block; padding-block: 1px; padding-inline: 9px; border-radius: 99px; font: 600 12px/1.6 Inter, system-ui, sans-serif; white-space: nowrap; vertical-align: middle; background: var(--surface-2); color: var(--muted); letter-spacing: 0; text-transform: none; }
.tpl-chip.todo { background: var(--warn-soft); color: var(--ink); box-shadow: inset 0 0 0 1px #d9a441; }
.tpl-chip.ok { background: var(--ok-soft); color: var(--ok); }
.tpl-chip.shared { background: var(--accent-soft); color: var(--accent); }
.tpl-link { display: inline-block; border: 0; background: none; padding-block: 0; padding-inline: 2px; text-align: start; font: inherit; font-size: 13px; font-weight: 500; color: var(--accent); cursor: pointer; text-decoration: none; white-space: nowrap; }
.tpl-link:hover { text-decoration: underline; }
.tpl-open { border-top: 1px solid var(--line); padding: 4px 0; }
.tpl-open:first-child, .lz-onb-hero + .tpl-open, .tpl-okline + .tpl-open { border-top: 0; }
.tpl-open > .line:first-of-type, .tpl-open > .tpl-h + .line, .tpl-open > .tpl-h-ib + .line { border-top: 0; }
.tpl-h { margin: 12px 0 2px; font: 600 15px/1.3 Inter, system-ui, sans-serif; }
.tpl-more-open > .tpl-h { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.tpl-h-ib:empty { display: none; }
.tpl-hint { color: var(--muted); font-size: 13px; }
.tpl-two { display: grid; grid-template-columns: 1fr; column-gap: 28px; }
.tpl-two > .line { border-top: 0; }
@media (min-width: 900px) { .tpl-two { grid-template-columns: 1fr 1fr; } }
.tpl-row > select.inp, .tpl-row > input.inp:not(.num) { width: min(260px, 100%); }
.lz-main .tpl-two > .line > .li-txt { flex: 1 1 auto; min-width: 110px; }
.tpl-seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; flex: 0 1 auto; max-width: 100%; }
.tpl-seg-o { position: relative; cursor: pointer; }
.tpl-seg-o input { position: absolute; opacity: 0; pointer-events: none; }
.tpl-seg-o span { display: block; padding: 7px 14px; font-weight: 500; }
.tpl-seg-o + .tpl-seg-o span { border-inline-start: 1px solid var(--line); }
.tpl-seg-o.on span { background: var(--accent-soft); color: var(--accent); }
.tpl-seg-o input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: -2px; }
.tpl-pick { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; flex: 0 1 60%; min-width: 0; }
.tpl-pick-c { display: inline-flex; align-items: center; gap: 4px; padding-block: 4px; padding-inline: 12px 6px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); font-weight: 500; font-size: 14px; }
.tpl-pick-c button { border: 0; background: none; color: inherit; font: inherit; font-size: 16px; line-height: 1; cursor: pointer; padding: 2px 6px; border-radius: 50%; }
.tpl-pick-c button:hover { background: var(--surface); }
.tpl-pick-add { width: auto; max-width: 100%; }
.tpl-todo { border-inline-start: 3px solid #d9a441; padding-inline-start: 12px; }
.line.tpl-todo { border-radius: 0; }
.tpl-act { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 4px 0 8px; font-size: 14px; }
.tpl-act .lz-todo-act { margin: 0; }
.tpl-todo-box { border: 0; border-inline-start: 3px solid #d9a441; border-radius: 0; background: none; padding-block: 2px; padding-inline: 12px 0; }
.tpl-todo-box ul { list-style: none; padding: 0; margin: 4px 0 0; }
.tpl-okline { margin: 0 0 8px; display: flex; flex-wrap: wrap; align-items: center; }
.tpl-okline .ib-txt { flex-basis: 100%; }
.lz-st .s.tpl-n-todo { font-weight: 600; }
.btn.tpl-next { border-color: var(--accent); color: var(--accent); }
details.fold.tpl-more { margin-top: 10px; }
details.fold.tpl-more > summary b { font-size: 13px; font-weight: 600; color: var(--muted); }
details.fold.tpl-more > summary::after { content: "\25B8"; }
details.fold.tpl-more[open] > summary::after { content: "\25B4"; }
.tpl-loc { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; margin: 10px 0; background: var(--surface); }
.tpl-loc > summary { border: 0; }
details.fold.tpl-loc { border-top: 1px solid var(--line); }
.tpl-loc-ph { flex: none; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.tpl-loc-ph img { width: 100%; height: 100%; object-fit: cover; }
.tpl-loc .kv { margin: 10px 0; }
.tpl-loc .kv > small { display: block; color: var(--muted); margin-bottom: 4px; }
.tpl-loc textarea.inp, .tpl-loc .kv > input.inp { width: 100%; box-sizing: border-box; }
@media (max-width: 640px) {
  .tpl-row > select.inp, .tpl-row > input.inp:not(.num) { width: 100%; flex: 1 1 100%; max-width: 100%; }
  .tpl-pick { flex: 1 1 100%; justify-content: flex-start; }
}
.tpl-linkrow { margin: 8px 0 0; text-align: start; }
.tpl-h, .tpl-act, .tpl-hint { text-align: start; }
.tpl-row-pick .tpl-pick { flex: 1 1 60%; }
details.fold.tpl-loc > summary::after { content: "\25B8"; }
details.fold.tpl-loc[open] > summary::after { content: "\25B4"; }
.tpl-loc .inp.num { width: 130px; }

/* PHONE_NO_SIDEWAYS_V2 — MCP & AI agents and What's installed were wider than a phone: a tool's id (coco_staff_update_details)
   cannot break, and a status pill holding a whole sentence never wrapped */
.fold.tool > summary, .fold.tool > summary * { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 640px) { .main .pill { white-space: normal; max-width: 100%; overflow-wrap: anywhere; } }

/* SEE_MY_BOOKING_PAGE_V1 (C-1, owner-page audit 2026-10-13) — Home's "Your booking page is live" card and the link in a step's head */
.card.lz-live .btns { margin: 10px 0 0; }
/* BOOKING_PAUSE_NOTICE_V1 — the last time the booking page showed its saved copy */
.card.lz-live .lz-pause { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--soft, #f4f4f6); font-size: 14px; line-height: 1.45; }
.card.lz-live .lz-pause p { margin: 0; } .card.lz-live .lz-pause p + p { margin-top: 4px; }
.card.lz-live .lz-pause.bad { background: #fdecec; color: #7a1414; }
/* ONE_AVAILABILITY_SOURCE_V1 — the calendars clients may book (Settings ▸ Services) */
.lz-cals { margin: 12px 0 16px; } .lz-cals .lz-cal { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.lz-cals .lz-cal input { margin-top: 4px; flex: 0 0 auto; } .lz-cals .lz-cal .li-txt { min-width: 0; overflow-wrap: anywhere; }
.lz-onb-hero .lz-see { margin: 6px 0 0; }
/* YOUR_PAGES_ONE_BUTTON_V1 (C-widgets F11) — one main "Copy code", the rest under "Other ways" */
.embed-main .embed-where{margin:4px 0 6px}
.embed-main .embed-lang{margin:0 0 6px;font-size:.86rem}
details.embed-more{margin:8px 0 2px}
details.embed-more>summary{cursor:pointer;font-weight:600;font-size:.9rem;color:var(--accent,#6d28d9);list-style:none;padding:6px 0}
details.embed-more>summary::-webkit-details-marker{display:none}
details.embed-more>summary::after{content:" \25B8"}
details.embed-more[open]>summary::after{content:" \25B4"}
.li-txt > small:not(.tpl-hint) ~ small[data-sw-hint] { display: none; } /* SWITCH_HINT_VISIBLE_V1 — the short line only when the long one went into the ⓘ */
/* SAVED_SETUPS_V1 — "Apply a saved setup": old → new per setting */
#saved-setups .su-row { cursor: pointer; align-items: flex-start; gap: 10px; }
#saved-setups .su-row input { margin-top: 4px; flex: none; }
#saved-setups .su-old { text-decoration: line-through; opacity: .7; }
#saved-setups .su-new { font-weight: 600; }
#saved-setups .su-preview { margin-top: 12px; border-top: 1px solid rgba(0,0,0,.08); padding-top: 8px; }
#saved-setups .su-undo { background: rgba(255,196,0,.08); border-radius: 8px; padding: 8px; }

/* APP_SWITCHER_V1 (Claudia 2026-10-21) — the app name at the top of the left menu opens the list of installed apps; the
   sticky bar of app tabs above the page is gone. The menu is position:fixed (placed by app-page.js under the button) so the
   phone's sideways-scrolling menu row never clips it. */
.side-app.app-sw-wrap { padding: 0 0 10px; }
.side-app-btn { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: transparent; border: 1px solid transparent; border-radius: 12px; padding: 6px 10px; font: inherit; color: inherit; cursor: pointer; }
.side-app-btn:hover { border-color: var(--line); background: var(--surface); }
.side-app-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.side-app-btn[aria-expanded="true"] { border-color: var(--accent); background: var(--accent-soft); }
.side-app-btn > div { flex: 1; min-width: 0; }
.app-sw-caret { font-size: 12px; opacity: .7; }
.app-sw { position: fixed; z-index: 30; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, .18); padding: 6px; overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
.app-sw[hidden] { display: none; }
.app-sw-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.25; }
.app-sw-item .ico { font-size: 18px; width: 22px; text-align: center; flex: none; }
.app-sw-name { flex: 1; min-width: 0; }
.app-sw-item:hover, .app-sw-item:focus { background: var(--accent-soft); outline: none; }
.app-sw-item:focus-visible { box-shadow: inset 0 0 0 2px var(--accent); }
.app-sw-item.on { font-weight: 650; }
.app-sw-check { color: var(--accent); flex: none; }
html.side-min .side-app-btn > div, html.side-min .app-sw-caret { display: none; }
html.side-min .side-app-btn { justify-content: center; padding: 6px 0; }
@media (max-width: 640px) {
  .side-app.app-sw-wrap { padding: 0; }
  .side-app-btn { padding: 4px 8px 4px 2px; gap: 6px; }
}
