/* The live example. Outside the phones: Pronto's page. Inside them: the app of
   an invented cleaning firm, in that firm's own blue, on the phone's own font. */
:root {
  --ink: #121614;
  --muted: #56625C;
  --mist: #EDF1EE;
  --line: #D8E0DA;
  --green: #0B6B4C;
  --green-deep: #08513A;
  --lime: #D6F26A;

  --app-bg: #F4F6F9;
  --app-ink: #131A22;
  --app-muted: #5D6976;
  --app-line: #E1E6ED;
  --app-accent: #1F5FBF;
  --done: #17663F;
  --done-bg: #DFF3E7;
  --doing: #8A5300;
  --doing-bg: #FFF1D6;
  --doing-line: #E7A33C;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 16px/1.5 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--mist);
}
img { max-width: 100%; height: auto; }
button { -webkit-tap-highlight-color: transparent; }
.vh { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- top bar ---------- */
.bar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 14px;
  padding: 10px 16px; background: #fff; border-bottom: 1px solid var(--line);
}
.wordmark {
  display: inline-flex; align-items: center; gap: 5px;
  font: 800 23px/1 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.03em;
  color: var(--ink); text-decoration: none;
}
.wordmark svg { width: 18px; height: 18px; margin-top: 2px; }
.bar-label { color: var(--muted); font-size: 14px; }
@media (max-width: 480px) { .bar-label { display: none; } }
/* the language switch, as on the home page */
.langs { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px 0 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.langs:hover { border-color: var(--ink); }
.langs-ico { flex: none; width: 21px; height: 21px; color: var(--muted); }
.langs img { width: 20px; height: 20px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(18, 22, 20, 0.1); }
.bar .langs { margin-left: auto; }
@media (max-width: 480px) { .bar { gap: 10px; } .bar .langs-ico { display: none; } }
@media (max-width: 380px) { .bar .langs span { display: none; } .bar .langs { padding: 0 10px; } }
@media (max-width: 350px) { .bar { padding: 10px 12px; gap: 6px; } .bar .wordmark { font-size: 20px; } .bar .langs { padding: 0 8px; } .bar-cta { padding: 9px 10px; font-size: 13px; } }
.bar-cta {
  background: var(--green); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: 10px; white-space: nowrap;
}
.bar-cta:hover { background: var(--green-deep); }

/* ---------- page layout ---------- */
.demo { max-width: 560px; margin: 0 auto; padding: 18px 16px 110px; }
body.touring:not(.dual) .demo { padding-bottom: 240px; }
.kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); }
.story h1 { margin: 0 0 8px; font: 800 clamp(26px, 6vw, 34px)/1.08 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.025em; }
.lead { margin: 0 0 14px; color: #2B3530; }
.cast { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.cast li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; }
.cast p { margin: 0; font-size: 14.5px; line-height: 1.4; }
.avs { display: flex; flex: none; }
.avs .av + .av { margin-left: -9px; box-shadow: 0 0 0 2px #fff; }
.small { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.small .link { color: var(--muted); font-size: 13px; }
.stage { margin-top: 16px; }
.device { margin: 0; }
.device figcaption { display: none; }
.sb { display: none; }
.noscript { background: #fff; border-radius: 14px; padding: 16px; }

/* one phone at a time on smaller screens */
body:not(.dual) .device { display: none; }
body:not(.dual)[data-view="team"] #dev-team,
body:not(.dual)[data-view="boss"] #dev-boss { display: block; }
/* on a phone the example is the app itself: edge to edge, no phone drawn inside the phone */
body:not(.dual) { background: #fff; }
body:not(.dual) .screen { margin: 0 -16px; padding: 16px 16px 24px; background: var(--app-bg); border-block: 1px solid var(--line); }
body:not(.dual) .demo { display: flex; flex-direction: column; padding-top: 14px; }
body:not(.dual) .story { display: contents; }
body:not(.dual) .stage { order: 2; margin-top: 12px; }
body:not(.dual) .small { order: 3; }
body:not(.dual) .lead { display: none; }
body:not(.dual) .story h1 { font-size: 22px; margin-bottom: 4px; }
/* who is who in one sentence instead of two cards */
body:not(.dual) .cast { display: block; }
body:not(.dual) .cast li { display: inline; padding: 0; border: 0; background: none; }
body:not(.dual) .cast li + li::before { content: " "; }
body:not(.dual) .cast .avs, body:not(.dual) .cast .long { display: none; }
body:not(.dual) .cast p { display: inline; font-size: 14.5px; color: #2B3530; }

/* both phones side by side on wide screens */
body.dual .demo { max-width: 1240px; display: grid; grid-template-columns: 300px 1fr; gap: 32px; padding: 28px 24px 48px; align-items: start; }
body.dual .story { position: sticky; top: 80px; }
body.dual .stage { margin: 0; display: flex; justify-content: center; gap: 24px; }
body.dual .device figcaption { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px 6px; font-weight: 700; }
body.dual .device figcaption span { font-weight: 500; font-size: 13px; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
body.dual .phone {
  width: 330px; height: 700px; padding: 9px; border-radius: 46px; background: #0F1211;
  box-shadow: 0 34px 60px -34px rgba(14, 24, 19, 0.55), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}
body.dual .sb {
  display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 4px 24px 0;
  background: var(--app-bg); border-radius: 37px 37px 0 0;
  font: 600 14px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: var(--app-ink);
}
body.dual .sb svg { height: 11px; width: auto; }
body.dual .screen {
  height: calc(100% - 34px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--app-bg); border-radius: 0 0 37px 37px; padding: 4px 14px 24px; scrollbar-width: none;
}
body.dual .screen::-webkit-scrollbar { display: none; }
body.dual .device.spot .phone { box-shadow: 0 0 0 5px var(--lime), 0 34px 60px -34px rgba(14, 24, 19, 0.55); }
@media (min-width: 1280px) {
  body.dual .demo { grid-template-columns: 330px 1fr; }
  body.dual .phone { width: 360px; height: 740px; }
}

/* ---------- the tour card and the switch ---------- */
.tour { margin-top: 16px; }
body.touring .tour { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px 14px; }
/* on a phone the tour and the switch form one panel at the bottom */
body.touring:not(.dual) .tour {
  position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 29; margin: 0;
  border: 0; border-top: 1px solid var(--line); border-radius: 18px 18px 0 0;
  box-shadow: 0 -14px 30px -22px rgba(10, 20, 15, 0.45);
}
body.touring:not(.dual) .switch { border-top: 0; }
.tour-head { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }
.tour .x { border: 0; background: none; font-size: 24px; line-height: 1; padding: 2px 4px; color: var(--muted); cursor: pointer; }
.tour-title { margin: 2px 0 4px; font: 800 19px/1.2 "Bricolage Grotesque", system-ui, sans-serif; letter-spacing: -0.01em; }
.tour p { margin: 0; font-size: 15px; line-height: 1.45; }
.tour-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.tour .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 16px; border-radius: 12px; font: 600 15px/1 "Instrument Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer; }
body.touring:not(.dual) .tour { padding: 10px 16px 6px; }
body:not(.dual) .tour-head { font-size: 11px; }
body:not(.dual) .tour .x { font-size: 22px; padding: 0 2px; }
body:not(.dual) .tour-title { margin: 0 0 2px; font-size: 16px; }
body:not(.dual) .tour p { font-size: 14px; line-height: 1.4; }
body:not(.dual) .tour-btns { margin-top: 8px; }
body:not(.dual) .tour .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
.tour .btn.primary { background: var(--green); color: #fff; border: 0; }
.tour .btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.switch {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
}
.switch button {
  display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
  font: 600 15px/1.1 "Instrument Sans", system-ui, sans-serif; cursor: pointer;
}
.switch button small { font-weight: 500; color: var(--muted); }
.switch button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.switch button[aria-pressed="true"] small { color: #C9D2CD; }
body.dual .switch { display: none; }

@keyframes ring {
  0% { box-shadow: 0 0 0 0 rgba(11, 107, 76, 0.55); }
  70% { box-shadow: 0 0 0 12px rgba(11, 107, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(11, 107, 76, 0); }
}
.pulse { animation: ring 1.6s ease-out infinite; outline: 2px solid var(--green); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }

.toast {
  position: fixed; left: 50%; top: 66px; z-index: 50; transform: translate(-50%, -12px); opacity: 0;
  transition: opacity 0.25s, transform 0.25s; pointer-events: none;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 12px; font-size: 14px;
  width: max-content; max-width: min(92vw, 420px); text-align: center;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- inside the phones: the firm's app ---------- */
.screen { font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; color: var(--app-ink); }
.screen h2, .screen h3, .screen p { margin: 0; }
.app-head { padding: 8px 0 12px; }
.firm { font-size: 11.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--app-accent); }
.app-head h2 { margin: 3px 0 2px; font-size: 25px; line-height: 1.15; letter-spacing: -0.01em; }
.date { color: var(--app-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.summary { font-weight: 600; margin: 0 0 14px; }
.screen h3 { margin: 18px 0 8px; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--app-muted); }
.av { display: inline-grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--c); color: #1B2430; font-weight: 700; font-size: 15px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
.av.sm { width: 28px; height: 28px; font-size: 13px; }
.av.xs { width: 20px; height: 20px; font-size: 11px; }
.muted { color: var(--app-muted); }
.hint { margin-top: 8px; color: var(--app-muted); font-size: 13px; }
.screen a { color: var(--app-accent); }

.jobs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.job {
  position: relative; width: 100%; display: grid; gap: 2px; padding: 13px 14px; text-align: left;
  border: 1px solid var(--app-line); border-radius: 16px; background: #fff; font: inherit; color: inherit; cursor: pointer;
}
.job.doing { border-color: #F0C27A; box-shadow: inset 4px 0 0 var(--doing-line); }
.job.done strong { color: #3D4752; }
.job-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.time { color: var(--app-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.job strong { font-size: 17px; line-height: 1.3; }
.addr { color: var(--app-muted); font-size: 14px; }
.chip { flex: none; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.chip.todo { background: #EBEFF4; color: #56606C; }
.chip.doing { background: var(--doing-bg); color: var(--doing); }
.chip.done { background: var(--done-bg); color: var(--done); }
.badge { position: absolute; top: -8px; right: 12px; background: var(--app-accent); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.foot { margin-top: 14px; color: var(--app-muted); font-size: 13px; }

.back { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; border: 0; background: none; font: 600 15px/1 inherit; font-family: inherit; color: var(--app-accent); cursor: pointer; }
.back::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 2px; }
.job-title { margin: 2px 0 4px; font-size: 23px; line-height: 1.2; }
.note { margin: 12px 0 0; padding: 10px 12px; background: #FFF8E6; border: 1px solid #F2DFAE; border-radius: 14px; }
.note span { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #6F5210; }
.note p { margin-top: 4px; }
.action { margin-top: 14px; }
.screen .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px;
  border: 1px solid transparent; border-radius: 14px; font: 600 16px/1 inherit; font-family: inherit; cursor: pointer; text-decoration: none;
}
.btn.start { width: 100%; background: var(--app-accent); color: #fff; }
.btn.finish { width: 100%; background: var(--done); color: #fff; }
.screen .btn.primary { background: var(--app-accent); color: #fff; }
.screen .btn.ghost { background: #fff; border-color: var(--app-line); color: var(--app-ink); }
.screen .btn.small { min-height: 34px; padding: 0 12px; border-radius: 10px; font-size: 14px; background: #fff; border-color: var(--app-line); color: var(--app-accent); }
.btn.wide { width: 100%; margin-top: 14px; }
.done-line { padding: 12px 14px; border-radius: 14px; background: var(--done-bg); color: var(--done); font-weight: 600; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check {
  width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; text-align: left;
  border: 1px solid var(--app-line); border-radius: 12px; background: #fff; font: inherit; color: inherit; cursor: pointer;
}
.check::before { content: ""; flex: none; width: 22px; height: 22px; border: 2px solid #B6C0CC; border-radius: 7px; background: #fff; }
.check[aria-pressed="true"] { background: #F1FAF4; border-color: #BFE3CB; }
.check[aria-pressed="true"]::before {
  border-color: var(--done);
  background: var(--done) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.check:disabled { cursor: default; opacity: 0.55; }
.photos { display: flex; flex-wrap: wrap; gap: 8px; }
.photos img { width: 76px; height: 76px; object-fit: cover; border-radius: 12px; }
.photo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 10px; }
.photo-actions .btn { cursor: pointer; }
.link { padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: var(--app-accent); text-decoration: underline; cursor: pointer; }

.tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 0 0 14px; padding: 4px; background: #E6EBF1; border-radius: 14px; }
.tabs button { min-height: 38px; border: 0; border-radius: 10px; background: none; font: 600 14px/1 inherit; font-family: inherit; color: var(--app-muted); cursor: pointer; }
.tabs [aria-selected="true"] { background: #fff; color: var(--app-ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tiles.two { grid-template-columns: 1fr 1fr; }
.tile { padding: 10px 11px; background: #fff; border: 1px solid var(--app-line); border-radius: 14px; }
.tile b { display: block; font-size: 21px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tiles.two .tile b { font-size: 19px; }
.tile span { display: block; font-size: 12px; line-height: 1.25; color: var(--app-muted); }
.crew { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.crew li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; background: #fff; border: 1px solid var(--app-line); border-radius: 14px; }
.crew b { display: block; }
.crew span { font-size: 13px; color: var(--app-muted); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.doing { background: var(--doing-line); box-shadow: 0 0 0 4px var(--doing-bg); }
.dot.next { background: #B6C0CC; }
.dot.done { background: var(--done); }
.progress { display: block; height: 4px; margin-top: 6px; overflow: hidden; background: #EBEFF4; border-radius: 4px; }
.progress i { display: block; height: 100%; background: var(--doing-line); }
.row-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 18px; }
.row-head h3 { margin: 0; }
.feed { list-style: none; margin: 6px 0 0; padding: 0; }
.feed li { display: grid; grid-template-columns: 42px auto 1fr; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--app-line); }
.feed li.muted { display: block; }
.feed time { padding-top: 4px; font-size: 13px; color: var(--app-muted); font-variant-numeric: tabular-nums; }
.feed b { display: block; font-size: 15px; line-height: 1.3; }
.feed span { font-size: 13px; color: var(--app-muted); }
.feed img { width: 64px; height: 64px; margin-top: 6px; object-fit: cover; border-radius: 10px; }
.newjob { display: grid; gap: 10px; margin-top: 10px; padding: 12px; background: #fff; border: 1px solid var(--app-line); border-radius: 14px; }
.newjob label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--app-muted); }
.newjob select, .newjob input { min-height: 42px; padding: 0 10px; border: 1px solid var(--app-line); border-radius: 10px; background: #fff; font: 16px/1.2 inherit; font-family: inherit; color: var(--app-ink); width: 100%; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.period { margin-bottom: 10px; font-weight: 700; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: auto 50px 1fr auto; gap: 8px; align-items: center; font-variant-numeric: tabular-nums; }
.meter { height: 10px; overflow: hidden; background: #E3E8EF; border-radius: 6px; }
.meter i { display: block; height: 100%; background: var(--app-accent); border-radius: 6px; }
.tbl { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; background: #fff; border: 1px solid var(--app-line); border-radius: 14px; overflow: hidden; }
.tbl th, .tbl td { padding: 9px 10px; border-bottom: 1px solid var(--app-line); text-align: right; font-variant-numeric: tabular-nums; vertical-align: top; white-space: nowrap; }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl th { text-align: left; font-weight: 600; white-space: normal; }
.tbl th span { display: block; font-size: 12px; font-weight: 400; color: var(--app-muted); }
.invoices { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.invoices button { width: 100%; display: flex; justify-content: space-between; gap: 10px; padding: 12px; text-align: left; border: 1px solid var(--app-line); border-radius: 14px; background: #fff; font: inherit; color: inherit; cursor: pointer; }
.invoices b { display: block; }
.invoices button > span > span { font-size: 13px; color: var(--app-muted); }
.amt { display: grid; justify-items: end; gap: 4px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.paper { margin-top: 6px; padding: 16px 14px; background: #fff; border: 1px solid var(--app-line); border-radius: 6px; font-size: 12.5px; line-height: 1.4; box-shadow: 0 10px 22px -16px rgba(0, 0, 0, 0.4); }
.paper header { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 2px solid var(--app-ink); }
.paper header b { display: block; font-size: 15px; }
.paper header span { display: block; color: var(--app-muted); }
.paper .meta { text-align: right; }
.paper .to { margin: 6px 0; }
.paper .to span { display: block; font-size: 10.5px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--app-muted); }
.paper table { width: 100%; margin: 10px 0 0; border-collapse: collapse; }
.paper th, .paper td { padding: 5px 3px; border-bottom: 1px solid var(--app-line); text-align: right; font-variant-numeric: tabular-nums; }
.paper th { font-size: 11px; color: var(--app-muted); font-weight: 600; }
.paper th:first-child, .paper td:first-child { text-align: left; }
.paper dl { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; margin: 10px 0 0; }
.paper dt { text-align: right; color: var(--app-muted); }
.paper dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.paper .total { margin-top: 4px; font-size: 14px; font-weight: 800; color: var(--app-ink); }
.paper footer { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed #B6C0CC; }
.paper footer b { display: block; }
.qr { flex: none; }

/* ---------- the home page's hero (?embed): only the phones, playing by themselves ---------- */
html:has(body.embed) { overflow: hidden; }
body.embed { overflow: hidden; background: transparent; }
body.embed .bar, body.embed .story, body.embed .switch, body.embed .toast, body.embed noscript { display: none !important; }
body.embed .demo { display: block; max-width: none; margin: 0; padding: 0; }
body.embed .stage { width: max-content; margin: 0; padding: 4px 0 0; transform-origin: 0 0; pointer-events: none; }
body.embed .screen { scroll-behavior: smooth; }

/* the cookie question (assets/analytics.js), at the top here so it never covers the tour */
.cookies { position: fixed; left: 10px; top: 64px; z-index: 60; display: flex; align-items: center; gap: 12px; max-width: 430px; padding: 11px 12px 11px 15px; background: var(--ink); color: #E7EEEA; border-radius: 14px; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, 0.5); font-size: 13.5px; line-height: 1.4; }
.cookies p { flex: 1; margin: 0; }
.cookies a { color: #C9D6CF; }
.cookies div { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; }
.cookies button { min-height: 36px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--lime); color: var(--green-deep); font: 700 14px/1 "Instrument Sans", system-ui, sans-serif; cursor: pointer; }
.cookies button.no { min-height: 0; padding: 2px 4px; background: none; color: #8FA097; font-weight: 500; font-size: 12px; text-decoration: underline; }
@media (max-width: 520px) { .cookies { right: 10px; max-width: none; } }
