/* Sellva Light product tour (assets/demo/light-tour.js).

   The tour is a picture of the product, so it wears the app's own tokens
   (src/app/globals.css in the app) rather than the site's, and commits to
   the app's light look. Every rule is scoped under .lt so nothing leaks into
   the page around it, and the keyframes carry an lt- prefix for the same
   reason. Fonts are the site's self-hosted Inter and Urbanist. */

.lt {
  color-scheme: light;
  --bg: #f6f7f9;
  --page: #eef1ee;
  --surface: #ffffff;
  --surface-2: #f2f3f3;
  --border: #d8dfd6;
  --border-strong: #c2cbbf;
  --text: #122a1c;
  --muted: #526054;
  --subtle: #7a857c;
  --accent: #3f7d4e;
  --accent-hover: #33683f;
  --accent-soft: #e3eee2;
  --accent-soft-ink: #2f6a3f;
  --cta: #b64f78;
  --marker: #d9789a;
  --warning: #d97706;
  --warning-soft: #fef3c7;
  --danger: #dc2626;
  --danger-soft: #fee2e2;
  --success: #16a34a;
  --violet: #8b7be6;
  --violet-soft: #efedfb;
  --amber-soft: #fcf2df;
  --table-head: #2a3a2e;
  /* The side menu is the app's neutral white rail (Gui, 3 Nov 2026; in the
     app: Settings › Preferences › Sidebar, `:root[data-sidebar='neutral']`),
     not the dark green one it showed before. */
  --nav-bg: #ffffff;
  --nav-ink: #3d4a42;
  --nav-ink-strong: var(--text);
  --nav-muted: var(--muted);
  --nav-hover: var(--surface-2);
  --nav-active-bg: #e9ebe9;
  --nav-line: var(--border);
  --ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --brand: 'Urbanist', 'Inter', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, monospace;
}
.lt * { box-sizing: border-box; }
.lt {
  position: relative;
  background: var(--page);
  color: var(--text);
  font-family: var(--ui);
  font-size: 15px;
  line-height: 1.45;
  padding-inline: 16px;
  padding-block: 28px 40px;
  -webkit-font-smoothing: antialiased;
}
.lt button { font: inherit; color: inherit; }
.lt :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ── The stage: a caption column beside the device ────────────────────── */
.lt .stage {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.lt .intro { position: sticky; top: calc(24px + env(safe-area-inset-top, 0px)); display: flex; flex-direction: column; gap: 18px; }
.lt .lockup { display: flex; align-items: center; gap: 10px; }
.lt .lockup svg { width: 34px; height: 34px; }
.lt .lockup b { font-family: var(--brand); font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.lt .lockup span { font-family: var(--brand); font-weight: 600; font-size: 13px; color: var(--accent-soft-ink); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; }
.lt .intro .lt-h { font-family: var(--brand); font-size: 32px; line-height: 1.12; letter-spacing: -0.015em; margin: 0; text-wrap: balance; }
.lt .intro p.lede { margin: 0; color: var(--muted); max-width: 34ch; }
.lt .caption {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 18px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.lt .caption .eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-soft-ink); }
.lt .caption h2 { margin: 0; font-size: 19px; line-height: 1.25; text-wrap: balance; }
.lt .caption p { margin: 0; color: var(--muted); font-size: 14px; }
.lt .progress { display: flex; gap: 4px; margin-top: 6px; }
.lt .progress i { flex: 1; height: 4px; border-radius: 4px; background: var(--surface-2); }
.lt .progress i.done { background: var(--accent); }
.lt .progress i.now { background: var(--marker); }

.lt .device-col { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lt .device-wrap { position: relative; width: 100%; display: flex; justify-content: center; }
.lt .scaler { transform-origin: top left; }

/* Phone */
.lt .phone {
  width: 410px; height: 864px;
  background: #0f1612;
  border-radius: 58px;
  padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(19, 38, 26, 0.35), inset 0 0 0 2px #2c3a31;
}
.lt .phone .glass { position: relative; width: 390px; height: 844px; border-radius: 48px; overflow: hidden; background: var(--bg); }
.lt .statusbar { position: absolute; inset: 0 0 auto 0; height: 44px; display: flex; justify-content: space-between; align-items: center; padding: 0 28px 0 34px; font-size: 14px; font-weight: 600; z-index: 30; pointer-events: none; }
.lt .statusbar .island { position: absolute; left: 50%; top: 10px; width: 118px; height: 32px; transform: translateX(-50%); background: #0f1612; border-radius: 20px; }
.lt .statusbar .icons { display: flex; gap: 6px; align-items: center; }
.lt .statusbar.dark { color: #fff; }

/* Laptop */
.lt .laptop { width: 1180px; }
.lt .laptop .lid { background: #0f1612; border-radius: 20px 20px 6px 6px; padding: 14px; box-shadow: 0 30px 60px -20px rgba(19, 38, 26, 0.35); }
.lt .laptop .glass { position: relative; width: 1152px; height: 720px; overflow: hidden; border-radius: 6px; background: var(--bg); }
.lt .laptop .base { height: 16px; margin: 0 -40px; background: linear-gradient(#cfd6cf, #aab4ab); border-radius: 0 0 16px 16px; }

/* Tour controls under the device */
.lt .controls { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.lt .ctl {
  height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: var(--surface);
  font-size: 13px; font-weight: 500; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.lt .ctl:hover { border-color: var(--accent); }
.lt .ctl[aria-pressed="false"] { color: var(--muted); }
.lt .ctl:disabled { opacity: 0.45; cursor: default; }
.lt .stepcount { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; padding-inline: 4px; }

/* ── The app inside the device ───────────────────────────────────────── */
.lt .app { position: absolute; inset: 0; display: flex; flex-direction: column; font-family: var(--ui); color: var(--text); background:
  radial-gradient(circle at 1px 1px, rgba(18, 42, 28, 0.06) 1px, transparent 1.2px) 0 0 / 22px 22px, var(--bg); }
.lt .phone .app { padding-top: 44px; }
.lt .topbar { flex: none; height: 56px; display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.lt .wordmark { font-family: var(--brand); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; }
.lt .iconbtn { width: 40px; height: 40px; border: 0; background: transparent; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: var(--text); }
.lt .iconbtn:hover { background: var(--surface-2); }
.lt .scroll { flex: 1; min-height: 0; overflow-y: auto; scrollbar-gutter: stable; position: relative; padding: 4px 16px 24px; }
.lt .title { font-family: var(--brand); font-size: 28px; font-weight: 700; letter-spacing: -0.015em; margin: 8px 0 4px; line-height: 1.15; }
.lt .sub { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.lt .crumbs { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.lt .crumbs button { border: 0; background: none; padding: 0; color: var(--muted); cursor: pointer; }
.lt .crumbs button:hover { color: var(--text); text-decoration: underline; }
.lt .card { background: rgba(255, 255, 255, 0.72); border: 1px solid var(--border); border-radius: 18px; padding: 16px; backdrop-filter: blur(6px); }
.lt .quick { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.lt .quick button {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  border: 1px solid var(--border); border-radius: 16px; padding: 12px 14px; cursor: pointer;
  font-weight: 600; font-size: 15px;
}
.lt .quick button .tile { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; border: 1px solid rgba(0, 0, 0, 0.08); }
.lt .quick button .chev { margin-left: auto; color: var(--subtle); }
.lt .q-blue { background: linear-gradient(100deg, #e4eef7, #f4f6f5); } .lt .q-blue .tile { background: #dbe8f5; color: #2f6c9c; }
.lt .q-sand { background: linear-gradient(100deg, #f8efdc, #f4f6f5); } .lt .q-sand .tile { background: #f5e6c6; color: #a1781e; }
.lt .q-green { background: linear-gradient(100deg, #e3eee2, #f4f6f5); } .lt .q-green .tile { background: #d6e7d4; color: var(--accent); }
.lt .q-lilac { background: linear-gradient(100deg, #eeeaf7, #f4f6f5); } .lt .q-lilac .tile { background: #e5def5; color: #6c58b0; }
.lt .h3 { font-size: 17px; font-weight: 600; margin: 0 0 12px; }
.lt .ledger { border: 1px solid var(--border-strong); border-radius: 12px; overflow: hidden; background: var(--surface); }
.lt .ledger-head { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border-strong); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.lt .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.lt .ledger-row { padding: 12px 14px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.lt .ledger-row:last-child { border-bottom: 0; }
.lt .ledger-row .name { font-weight: 600; }
.lt .ledger-row .meta { color: var(--muted); font-size: 13px; }
.lt .row-actions { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.lt .btn {
  height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid transparent; cursor: pointer;
  font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
}
.lt .btn-primary { background: var(--accent); color: #fff; }
.lt .btn-primary:hover { background: var(--accent-hover); }
.lt .btn-primary:disabled { background: #a9c3ae; cursor: not-allowed; }
.lt .btn-outline { background: var(--surface); border-color: var(--border-strong); color: var(--text); }
.lt .btn-outline:hover { border-color: var(--accent); }
.lt .btn-sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.lt .btn-block { width: 100%; }
.lt .fig { font-family: var(--brand); color: var(--accent); font-weight: 700; font-size: 34px; letter-spacing: -0.02em; line-height: 1; }
.lt .fig small { font-family: var(--ui); font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.lt .label-caps { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lt .pos { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.lt .pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); font-size: 12px; font-weight: 500; white-space: nowrap; }
.lt .bucket { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; font-weight: 600; margin-bottom: 10px; }
.lt .bucket .n { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 17px; }
.lt .search { position: relative; flex: 1; }
.lt .search input { width: 100%; height: 42px; border: 1px solid var(--border-strong); border-radius: 10px; padding: 0 12px 0 36px; font: inherit; font-size: 14px; background: var(--surface); color: var(--text); }
.lt .search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--subtle); }
.lt .group { border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden; background: var(--surface); }
.lt .group-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--violet-soft); font-weight: 600; }
.lt .canton { display: flex; justify-content: space-between; padding: 7px 14px; background: var(--surface-2); color: var(--muted); font-size: 13px; font-weight: 600; border-top: 1px solid var(--border-strong); }
.lt .storerow { width: 100%; display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; border: 0; border-top: 1px solid var(--border); background: var(--surface); cursor: pointer; }
.lt .storerow:hover { background: #f6f7f7; }
.lt .storerow .chev { margin-left: auto; color: var(--subtle); }
.lt .storerow.done { background: #f3f8f2; }

/* Visit */
.lt .visit { border: 1px solid var(--border); border-radius: 18px; background: var(--surface); overflow: hidden; }
.lt .visit-head { padding: 16px; display: flex; gap: 10px; align-items: flex-start; }
.lt .visit-head h3 { margin: 0; font-size: 20px; line-height: 1.2; }
.lt .stepbar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--surface-2); border-block: 1px solid var(--border); }
.lt .stepbar .s { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; min-width: 0; }
.lt .stepbar .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 13px; border: 1px solid var(--border-strong); color: var(--muted); background: var(--surface); }
.lt .stepbar .s.now .num { background: var(--accent); color: #fff; border-color: var(--accent); }
.lt .stepbar .s.done .num { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft); }
.lt .stepbar .line { flex: 1; height: 1px; background: var(--border-strong); min-width: 10px; }
.lt .stepbar .s .lbl { white-space: nowrap; }
.lt .vbody { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.lt .vsec-title { font-size: 16px; font-weight: 600; margin: 0; }
.lt .drop { border: 1.5px dashed var(--border-strong); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.lt .drop .t { font-weight: 600; }
.lt .drop .acts { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.lt .shot { display: flex; gap: 12px; align-items: center; border: 1px solid var(--border); border-radius: 14px; padding: 10px; }
.lt .shot .thumb { width: 84px; height: 64px; border-radius: 8px; overflow: hidden; flex: none; position: relative; background: #2a2f2b; }
.lt .shot .meta { flex: 1; min-width: 0; font-size: 13px; color: var(--muted); }
.lt .shot .meta b { display: block; color: var(--text); font-size: 14px; }
.lt .prod { border: 1px solid var(--border); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.lt .prod-top { display: flex; gap: 10px; align-items: center; }
.lt .canmini { width: 22px; height: 34px; border-radius: 5px; flex: none; position: relative; box-shadow: inset -3px 0 0 rgba(0,0,0,0.12); }
.lt .canmini::after { content: ''; position: absolute; left: 3px; right: 3px; top: 3px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.55); }
.lt .prod-name { font-weight: 600; font-size: 14px; }
.lt .q { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.lt .seg { display: inline-flex; border: 1px solid var(--border-strong); border-radius: 9px; overflow: hidden; background: var(--surface); flex: none; }
.lt .seg button { height: 34px; min-width: 52px; padding: 0 12px; border: 0; background: transparent; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--muted); }
.lt .seg button + button { border-left: 1px solid var(--border-strong); }
.lt .seg button.on { background: var(--accent); color: #fff; }
.lt .seg button.on.no { background: var(--danger); }
.lt .stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 9px; overflow: hidden; }
.lt .stepper button { width: 36px; height: 34px; border: 0; background: var(--surface); cursor: pointer; font-size: 17px; }
.lt .stepper button:hover { background: var(--surface-2); }
.lt .stepper span { min-width: 34px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.lt .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lt .chip { height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 500; }
.lt .chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.lt textarea.note { width: 100%; min-height: 84px; resize: none; border: 1px solid var(--border-strong); border-radius: 10px; padding: 10px; font: inherit; font-size: 14px; color: var(--text); background: var(--surface); }
.lt .vfoot { flex: none; border-top: 1px solid var(--border); background: var(--surface); padding: 12px 16px 18px; display: flex; align-items: center; gap: 10px; }
.lt .vfoot .left { flex: 1; font-size: 13px; color: var(--muted); }
.lt .okline { display: flex; align-items: center; gap: 8px; color: var(--accent-soft-ink); font-weight: 600; font-size: 14px; }

/* Camera */
.lt .camera { position: absolute; inset: 0; background: #0b0d0c; display: flex; flex-direction: column; z-index: 20; }
.lt .viewfinder { flex: 1; position: relative; overflow: hidden; margin-top: 44px; }
.lt .viewfinder .grid { position: absolute; inset: 0; background:
  linear-gradient(to right, transparent 33%, rgba(255,255,255,0.18) 33%, rgba(255,255,255,0.18) calc(33% + 1px), transparent calc(33% + 1px), transparent 66%, rgba(255,255,255,0.18) 66%, rgba(255,255,255,0.18) calc(66% + 1px), transparent calc(66% + 1px)),
  linear-gradient(to bottom, transparent 33%, rgba(255,255,255,0.18) 33%, rgba(255,255,255,0.18) calc(33% + 1px), transparent calc(33% + 1px), transparent 66%, rgba(255,255,255,0.18) 66%, rgba(255,255,255,0.18) calc(66% + 1px), transparent calc(66% + 1px)); pointer-events: none; }
.lt .camtop { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; color: #fff; font-size: 13px; z-index: 2; }
.lt .cambar { flex: none; height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 24px 20px; }
.lt .cambar > :first-child { justify-self: start; }
.lt .cambar > :last-child { justify-self: end; }
.lt .shutter { width: 74px; height: 74px; padding: 0; box-sizing: border-box; border-radius: 50%; border: 4px solid #fff; background: transparent; cursor: pointer; display: grid; place-items: center; justify-self: center; }
.lt .shutter::after { content: ''; width: 58px; height: 58px; border-radius: 50%; background: #fff; transition: transform 0.12s; }
.lt .shutter:active::after { transform: scale(0.9); }
.lt .camtext { background: transparent; border: 0; color: #fff; font-weight: 600; cursor: pointer; padding: 10px; font-size: 15px; }
.lt .camtext.use { background: var(--accent); border-radius: 999px; padding: 10px 18px; }
.lt .flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; animation: lt-flash 0.35s ease-out; }
@keyframes lt-flash { 0% { opacity: 0.9; } 100% { opacity: 0; } }

/* Drawn shelf: what the camera sees */
.lt .shelfscene { position: absolute; inset: 0; background: linear-gradient(#3a3f3b, #2b302c); padding: 26px 14px 20px; display: flex; flex-direction: column; gap: 14px; }
.lt .shelfscene.thumb { padding: 4px 3px; gap: 3px; }
.lt .shelfrow { flex: 1; display: flex; align-items: flex-end; gap: 4px; padding: 0 6px 6px; background: linear-gradient(to top, #c9cdc8 0, #c9cdc8 6px, transparent 6px); position: relative; }
.lt .thumb .shelfrow { gap: 1px; padding: 0 2px 2px; background: linear-gradient(to top, #c9cdc8 0, #c9cdc8 2px, transparent 2px); }
.lt .can { flex: 1; height: 82%; border-radius: 6px 6px 3px 3px; position: relative; box-shadow: inset -5px 0 0 rgba(0,0,0,0.14), inset 3px 0 0 rgba(255,255,255,0.18); }
.lt .thumb .can { border-radius: 2px; box-shadow: none; }
.lt .can::before { content: ''; position: absolute; left: 18%; right: 18%; top: 34%; height: 22%; border-radius: 3px; background: rgba(255,255,255,0.7); }
.lt .thumb .can::before { display: none; }
.lt .gap { flex: 1; height: 82%; }
.lt .pricetag { position: absolute; bottom: -2px; height: 9px; width: 26px; background: #f4d34b; border-radius: 1px; }
.lt .thumb .pricetag { display: none; }
.lt .displayscene { position: absolute; inset: 0; background: linear-gradient(#4a4f4b, #353a36); display: flex; align-items: flex-end; justify-content: center; padding: 30px 30px 0; }
.lt .endcap { width: 78%; height: 86%; background: linear-gradient(#3f7d4e, #2f6a3f); border-radius: 14px 14px 0 0; padding: 14px 12px 0; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 0 0 4px rgba(255,255,255,0.08); }
.lt .endcap .sign { background: #fff; border-radius: 8px; padding: 8px; text-align: center; font-family: var(--brand); font-weight: 700; color: var(--accent-soft-ink); font-size: 15px; }
.lt .thumb .endcap .sign { font-size: 0; padding: 4px; border-radius: 2px; }
.lt .endcap .tier { flex: 1; display: flex; align-items: flex-end; gap: 4px; padding-bottom: 6px; border-bottom: 5px solid #d7dbd5; }
.lt .thumb .endcap { padding: 4px 3px 0; gap: 2px; border-radius: 3px 3px 0 0; }
.lt .thumb .endcap .tier { gap: 1px; padding-bottom: 1px; border-bottom-width: 2px; }

/* Sync */
.lt .sync { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 26px 16px 8px; }
.lt .ring { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.lt .ring.spin { background: conic-gradient(var(--accent) 0 30%, var(--accent-soft) 30% 100%); animation: lt-spin 0.9s linear infinite; }
.lt .ring.spin > span { width: 62px; height: 62px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; animation: lt-spin 0.9s linear infinite reverse; }
@keyframes lt-spin { to { transform: rotate(360deg); } }
.lt .checks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; gap: 8px; text-align: left; width: 100%; }
.lt .checks li { display: flex; gap: 10px; align-items: center; font-size: 14px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.lt .checks li .ico { color: var(--accent); flex: none; }
.lt .checks li.wait { color: var(--subtle); }
.lt .checks li.wait .ico { color: var(--subtle); }

/* Drawer menu */
.lt .scrim { position: absolute; inset: 0; background: rgba(15, 22, 18, 0.35); z-index: 40; }
.lt .drawer { position: absolute; top: 0; bottom: 0; left: 0; width: 290px; background: var(--nav-bg); color: var(--nav-ink); border-right: 1px solid var(--nav-line); z-index: 41; padding: 56px 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.lt .drawer .wm { font-family: var(--brand); font-weight: 700; font-size: 22px; color: var(--nav-ink-strong); padding: 0 12px 14px; }
.lt .navsec { font-size: 13px; color: var(--nav-muted); padding: 14px 12px 6px; }
.lt .navitem { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 10px; border: 0; background: transparent; color: var(--nav-ink); cursor: pointer; text-align: left; font-size: 15px; width: 100%; position: relative; }
.lt .navitem:hover { background: var(--nav-hover); color: var(--nav-ink-strong); }
.lt .navitem.on { background: var(--nav-active-bg); color: var(--nav-ink-strong); font-weight: 600; }

/* Toast + sheet */
.lt .toast { position: absolute; left: 16px; right: 16px; bottom: 22px; background: var(--table-head); color: #fff; border-radius: 12px; padding: 12px 14px; font-size: 14px; z-index: 50; display: flex; gap: 10px; align-items: center; box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4); animation: lt-rise 0.25s ease-out; }
@keyframes lt-rise { from { transform: translateY(10px); opacity: 0; } }

/* Desktop app (the manager) */
.lt .desk { position: absolute; inset: 0; display: grid; grid-template-columns: 236px 1fr; background: var(--bg); }
.lt .side { background: var(--nav-bg); color: var(--nav-ink); border-right: 1px solid var(--nav-line); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; }
.lt .side .wm { font-family: var(--brand); font-weight: 700; font-size: 22px; color: var(--nav-ink-strong); padding: 2px 12px 16px; }
.lt .side .navitem { height: 38px; font-size: 14px; }
.lt .side .who { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 12px; border-top: 1px solid var(--nav-line); }
.lt .side .who .av { width: 32px; height: 32px; border-radius: 50%; background: #d9e6d8; color: var(--accent-soft-ink); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.lt .side .who b { color: var(--nav-ink-strong); font-size: 13px; display: block; }
.lt .side .who small { color: var(--nav-muted); font-size: 12px; }
.lt .main { overflow-y: auto; scrollbar-gutter: stable; padding: 22px 28px 30px; position: relative; background:
  radial-gradient(circle at 1px 1px, rgba(18, 42, 28, 0.06) 1px, transparent 1.2px) 0 0 / 22px 22px, var(--bg); }
.lt .mhead { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.lt .mhead h2 { font-family: var(--brand); font-size: 26px; margin: 0; letter-spacing: -0.015em; }
.lt .mhead p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.lt .filters { display: flex; gap: 8px; margin: 16px 0; flex-wrap: wrap; }
.lt .filters .btn { height: 36px; font-weight: 500; }
.lt .cards3 { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 14px; }
.lt .mcard { background: rgba(255,255,255,0.75); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px; }
.lt .mcard .label-caps { margin-bottom: 10px; display: block; }
.lt .livecheck { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.lt .livecheck a, .lt .linkish { color: #2b7a5a; font-weight: 500; text-decoration: none; cursor: pointer; background: none; border: 0; padding: 0; text-align: left; font-size: 14px; }
.lt .livecheck small { display: block; color: var(--muted); font-size: 12px; }
.lt .donutwrap { display: flex; align-items: center; gap: 16px; }
.lt .donut { width: 104px; height: 104px; flex: none; }
.lt .donut text { font-family: var(--brand); font-weight: 700; font-size: 20px; fill: var(--accent); }
.lt .bigline { display: flex; align-items: baseline; gap: 8px; }
.lt .newbadge { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--cta); background: #f8e7ee; padding: 2px 8px; border-radius: 999px; }
.lt .tablecard { margin-top: 14px; background: rgba(255,255,255,0.75); border: 1px solid var(--border); border-radius: 18px; padding: 16px 18px 18px; }
.lt .tablecard h3 { margin: 0; font-size: 17px; }
.lt .tablecard p { margin: 4px 0 12px; color: var(--muted); font-size: 13px; }
.lt table.ledgertable { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; border-radius: 12px; overflow: hidden; }
.lt .ledgertable th { white-space: nowrap; background: var(--table-head); color: #fff; text-align: left; font-weight: 600; padding: 10px 12px; font-size: 13px; }
.lt .ledgertable th.r, .lt .ledgertable td.r { text-align: right; font-variant-numeric: tabular-nums; }
.lt .ledgertable td { padding: 11px 12px; border-bottom: 1px solid #e6ebe4; background: var(--surface); }
.lt .ledgertable tr.click td { cursor: pointer; }
.lt .ledgertable tr.click:hover td { background: #f6f7f7; }
.lt .ledgertable tr.fresh td { background: #f3f8f2; }
.lt .ledgertable td .act { color: #2b7a5a; font-weight: 500; }
.lt .overlay { position: absolute; inset: 0; z-index: 10; background: rgba(15, 22, 18, 0.42); display: flex; justify-content: center; align-items: flex-start; padding: 28px 20px; overflow-y: auto; animation: lt-fade 0.2s ease-out; }
@keyframes lt-fade { from { opacity: 0; } }
.lt .amodal { width: 540px; max-width: 100%; background: var(--surface); border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px -20px rgba(0,0,0,0.45); font-size: 14px; animation: lt-rise 0.25s ease-out; }
.lt .amodal .ahead { background: var(--accent-soft); padding: 16px 18px; position: relative; display: flex; flex-direction: column; gap: 10px; }
.lt .amodal .ahead .x { position: absolute; top: 10px; right: 10px; }
.lt .amodal .datetile { width: 46px; height: 46px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); display: grid; place-items: center; text-align: center; line-height: 1.05; font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: .04em; }
.lt .amodal .datetile b { display: block; font-size: 17px; color: var(--text); letter-spacing: 0; }
.lt .amodal h3 { margin: 0; font-size: 19px; }
.lt .amodal .asec { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 7px; }
.lt .amodal .arow { display: grid; grid-template-columns: 150px 1fr; gap: 10px; align-items: center; }
.lt .amodal .arow > span:first-child { color: var(--muted); }
.lt .amodal .afoot { padding: 12px 18px; border-top: 1px solid var(--border); display: flex; gap: 8px; flex-wrap: wrap; }
.lt .actrow { display: flex; align-items: center; gap: 8px; width: 100%; background: none; border: 0; padding: 7px 8px; margin: 0 -8px; border-radius: 8px; text-align: left; font: inherit; color: var(--text); cursor: pointer; }
.lt .actrow:hover { background: #f3f6f2; }
.lt .actrow .when { margin-left: auto; color: var(--muted); font-size: 12px; white-space: nowrap; }
.lt .actrow b { font-weight: 600; }
.lt .photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lt .photos .ph { position: relative; height: 110px; border-radius: 10px; overflow: hidden; }
.lt .photos .cap { font-size: 12px; color: var(--muted); margin-top: 4px; }
.lt .kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; }
.lt .kv dt { color: var(--muted); }
.lt .kv dd { margin: 0; font-weight: 500; }

/* The end card */
.lt .endcard { position: absolute; inset: 0; z-index: 60; display: grid; place-items: center; background: rgba(15, 22, 18, 0.55); padding: 24px; animation: lt-rise 0.3s ease-out; }
.lt .endcard .box { width: min(640px, 100%); background: var(--surface); border-radius: 22px; padding: 28px; display: grid; grid-template-columns: 1fr 0.9fr; gap: 24px; }
.lt .endcard h2 { font-family: var(--brand); font-size: 30px; margin: 0 0 8px; letter-spacing: -0.015em; }
.lt .endcard ul { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 14px; }
.lt .endcard ul li { display: flex; gap: 8px; }
.lt .endcard .ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.lt .cta { background: var(--cta); color: #fff; text-decoration: none; }
.lt .cta:hover { background: #a4456b; }
.lt .teaser { position: relative; border: 1px solid var(--border); border-radius: 16px; padding: 14px; overflow: hidden; }
.lt .teaser .blur { filter: blur(4px); opacity: 0.85; display: flex; flex-direction: column; gap: 8px; pointer-events: none; user-select: none; }
.lt .teaser .lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 16px; font-size: 13px; color: var(--muted); }
.lt .teaser .lock b { color: var(--text); font-size: 14px; }

/* The hint: one soft ring on the next tap */
.lt [data-hint].hint-on { position: relative; z-index: 2; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--cta); animation: lt-pulse 1.6s ease-in-out infinite; }
@keyframes lt-pulse { 0%, 100% { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--cta); } 50% { box-shadow: 0 0 0 3px var(--surface), 0 0 0 9px rgba(182, 79, 120, 0.25); } }
.lt .camera [data-hint].hint-on { box-shadow: 0 0 0 4px rgba(182, 79, 120, 0.9); }

@media (prefers-reduced-motion: reduce) {
  .lt *, .lt *::before, .lt *::after { animation: none !important; transition: none !important; }
}

/* The manager's step needs the width: the caption moves above the laptop */
.lt.wide .stage { grid-template-columns: 1fr; gap: 20px; max-width: 1240px; }
.lt.wide .stage .intro { position: static; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 10px 32px; align-items: start; }
.lt.wide .stage .intro .lockup { grid-column: 1; }
.lt.wide .stage .intro h1 { grid-column: 1; font-size: 24px; }
.lt.wide .stage .intro p.lede { grid-column: 1; }
.lt.wide .stage .intro .caption { grid-column: 2; grid-row: 1 / span 3; }
.lt .cards3 { grid-template-columns: 1.1fr 1fr 1fr; }

/* Phone-sized viewers: stack the caption above the device */
@media (max-width: 860px) {
  .lt .stage { grid-template-columns: 1fr; gap: 20px; }
  .lt .intro { position: static; }
  .lt.wide .stage .intro { display: flex; }
  .lt .intro .lt-h { font-size: 26px; }
}

/* v3: the real store-check controls */
.lt .qlbl { font-size: 14px; font-weight: 500; }
.lt .yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lt .yn button { height: 42px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-size: 14px; font-weight: 500; color: var(--text); cursor: pointer; padding: 0 8px; }
.lt .yn button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.lt .yn button.on.neg { background: var(--danger); border-color: var(--danger); }
.lt .pthumb { width: 44px; height: 44px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface-2); display: grid; place-items: center; flex: none; }
.lt .prod { border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 14px 0 4px; }
.lt .prod-top { flex-wrap: wrap; }
.lt .facings { height: 40px; width: 110px; border: 1px solid var(--border-strong); border-radius: 8px; padding: 0 12px; font: inherit; background: var(--surface); cursor: pointer; }
.lt .sel { height: 42px; width: 100%; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; text-align: left; }
.lt .sel.has { color: var(--text); }
.lt .opts { border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); box-shadow: 0 10px 24px -12px rgba(0,0,0,0.3); display: flex; flex-direction: column; padding: 4px; margin-top: -4px; }
.lt .opts button { border: 0; background: none; text-align: left; padding: 9px 10px; border-radius: 6px; font: inherit; font-size: 14px; cursor: pointer; color: var(--text); }
.lt .opts button:hover, .lt .opts button[aria-selected="true"] { background: var(--accent-soft); }
.lt .aq { display: flex; flex-direction: column; gap: 10px; padding: 12px; margin: 0 -12px; border-top: 1px solid var(--border); }
.lt .stars { border: 1px solid var(--border); border-radius: 10px; background: var(--surface); padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.lt .stars div { display: flex; gap: 4px; }
.lt .stars button { border: 0; background: none; padding: 3px; cursor: pointer; color: var(--subtle); border-radius: 6px; }
.lt .stars button.on { color: #e0a23a; }
.lt .ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; }
.lt .ticks span { display: inline-flex; gap: 8px; align-items: center; }
.lt .ticks i { width: 16px; height: 16px; border: 1px solid var(--border-strong); border-radius: 4px; display: inline-block; }
.lt .notes { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--border); padding-top: 14px; }
.lt .notes .note { min-height: 64px; }
.lt .notes .cnt { align-self: flex-end; color: var(--muted); font-size: 12px; }
.lt .sumtop { display: flex; flex-direction: column; gap: 6px; }
.lt .bigpct { font-family: var(--brand); font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.lt .rtwrap { overflow-x: auto; border: 1px solid var(--border-strong); border-radius: 12px; }
.lt .rtable { width: 100%; border-collapse: collapse; font-size: 13px; }
.lt .rtable th { background: var(--table-head); color: #fff; text-align: left; font-weight: 600; padding: 9px 10px; white-space: nowrap; }
.lt .rtable td { padding: 9px 10px; border-top: 1px solid var(--border); vertical-align: middle; }
.lt .rtable td small { display: block; color: var(--muted); font-family: var(--mono); font-size: 12px; }
.lt .sumphoto { width: 150px; height: 100px; border-radius: 10px; overflow: hidden; position: relative; border: 1px solid var(--border); }
.lt .iconbtn.sq { width: 40px; height: 40px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface); }
.lt .vfoot .left { font-size: 13px; }
.lt .swin { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.lt .swin h3 { margin: 0; font-size: 19px; line-height: 1.25; }
.lt .swin .meta { color: var(--muted); font-size: 13px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.lt .tag { font-family: var(--ui); font-size: 11px; font-weight: 600; background: var(--surface-2); border-radius: 5px; padding: 2px 6px; color: var(--text); }
.lt .lastctl { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.lt .lastctl .meta { display: block; }
.lt .tourcall { margin-top: 14px; width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1.5px dashed var(--cta); border-radius: 12px; background: #fbf1f5; color: var(--text); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.lt .tourcall span:nth-child(2) { flex: 1; }
.lt .cards4 { display: grid; grid-template-columns: 1fr 1.15fr 1.25fr 0.9fr; gap: 12px; }
.lt .cbar { display: grid; grid-template-columns: auto auto 1fr; gap: 6px 8px; align-items: center; margin-top: 10px; font-size: 13px; }
.lt .cbar b { justify-self: end; font-size: 15px; color: var(--accent); }
.lt .cbar .track { grid-column: 1 / -1; height: 6px; border-radius: 4px; background: #e6ebe4; position: relative; }
.lt .cbar .track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; background: var(--accent); }
.lt .cbar .track em { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--muted); }
.lt .amodal.wide { width: 860px; }
.lt .ncrows { padding: 4px 18px 12px; }
.lt .nchead, .lt .ncrow { display: grid; grid-template-columns: 56px 1fr 220px 48px 150px; gap: 12px; align-items: center; }
.lt .nchead { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 8px 0; border-bottom: 1px solid var(--border); }
.lt .nchead .sc { position: relative; height: 16px; }
.lt .nchead .sc em { position: absolute; font-style: normal; letter-spacing: 0; transform: translateX(-50%); }
.lt .nchead .sc em:first-child { left: 65%; } .lt .nchead .sc em:last-child { left: 80%; }
.lt .ncrow { width: 100%; border: 0; border-bottom: 1px solid var(--border); background: none; padding: 12px 0; font: inherit; text-align: left; cursor: pointer; color: var(--text); }
.lt .ncrow:hover { background: #f6f7f7; }
.lt .ncrow .nm small { display: block; color: var(--muted); font-size: 12px; }
.lt .photorow { display: flex; gap: 12px; flex-wrap: wrap; }
.lt .photorow figure { margin: 0; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.lt .foldhead { border: 0; background: none; padding: 4px 0; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; align-self: flex-start; }
.lt .ncrow .open { color: #2b7a5a; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; justify-self: end; font-size: 14px; }
.lt .ncrow .gap { color: var(--warning); font-weight: 600; font-variant-numeric: tabular-nums; }
.lt .gapbar { position: relative; height: 8px; border-radius: 4px; background: #eef1ed; }
.lt .gapbar b { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.lt .gapbar i { position: absolute; top: -6px; bottom: -6px; width: 1px; border-left: 1px dashed var(--muted); }
.lt .gapbar i.t { border-left: 1.5px solid var(--text); }
.lt .infogrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 13px; }
.lt .infogrid em { font-style: normal; font-size: 11px; letter-spacing: .06em; color: var(--muted); margin-right: 8px; font-weight: 600; }
.lt .amodal .asec .rtwrap { margin-bottom: 4px; }

/* v7: guided only, the map, the blurred end */
.lt .scaler [data-act]:not(.hint-on):not(.hint-on *) { cursor: default; }
.lt .scaler .hint-on, .lt .scaler .hint-on * { cursor: pointer; }
.lt .hint-on.nudge { animation: lt-nudge 0.45s ease-in-out; }
@keyframes lt-nudge { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.lt .aq.hint-on { border-radius: 12px; }
.lt .pdons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lt .pdon { display: flex; gap: 14px; align-items: center; border: 1px solid var(--border); border-radius: 14px; padding: 12px; background: var(--surface); }
.lt .pdon text { font-weight: 700; font-size: 15px; fill: var(--text); }
.lt .pdon b { display: block; font-size: 14px; }
.lt .pdon ul { list-style: none; margin: 6px 0 0; padding: 0; font-size: 12px; display: flex; flex-direction: column; gap: 3px; }
.lt .pdon li { display: flex; align-items: center; gap: 6px; }
.lt .pdon li i { width: 8px; height: 8px; border-radius: 50%; }
.lt .pdon li span { margin-left: auto; padding-left: 12px; color: var(--muted); }
.lt .segtabs { display: inline-flex; gap: 4px; margin-top: 14px; padding: 3px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); font-size: 13px; }
.lt .segtabs span { padding: 5px 12px; border-radius: 7px; color: var(--muted); }
.lt .segtabs span.on { background: var(--accent); color: #fff; }
.lt .mapwrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.lt .chmap { width: 100%; height: auto; }
.lt .regrow { display: grid; grid-template-columns: 36px 1fr 40px; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.lt .regrow .track { height: 6px; border-radius: 4px; background: #eef1ed; position: relative; }
.lt .regrow .track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; }
.lt .regrow .track em { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--muted); }
.lt .regrow .gap { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.lt .legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.lt .legend span { display: inline-flex; align-items: center; gap: 6px; }
.lt .legend i { width: 10px; height: 10px; border-radius: 3px; }
.lt.ended .stage { filter: blur(7px); pointer-events: none; user-select: none; }
.lt .endlayer { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px 16px; background: rgba(15, 22, 18, 0.28); animation: lt-fade 0.35s ease-out; }
.lt .endbox { width: min(520px, 100%); background: var(--surface); border-radius: 22px; padding: 30px 28px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; box-shadow: 0 30px 80px -30px rgba(0,0,0,0.5); }
.lt .endbox h2 { font-family: var(--brand); font-size: 32px; margin: 0; letter-spacing: -0.015em; }
.lt .endbox p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.lt .endbox .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.lt .endbox .btn { text-decoration: none; height: 46px; padding: 0 20px; font-size: 15px; }
.lt .lockup-sm { font-family: var(--brand); font-weight: 700; font-size: 18px; color: var(--accent); display: inline-flex; gap: 8px; align-items: center; }
.lt .lockup-sm span { font-family: var(--ui); font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent); padding: 2px 8px; border-radius: 999px; }
@media (max-width: 700px) { .lt .mapwrap, .lt .pdons { grid-template-columns: 1fr; } }

/* On the site page */
.lt { padding-block: 32px 56px; scroll-margin-top: 80px; }
.lt .intro { top: 104px; }
.lt .intro .eyebrow-top { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.lt .device-col.is-full { background: var(--page); justify-content: center; }
.lt .endlayer { z-index: 2000; }
.lt .noscript { max-width: 640px; margin: 24px auto; padding: 16px 18px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); color: var(--muted); }
.lt:not(.is-ready) .controls { visibility: hidden; }
.lt span.btn { cursor: default; }
.lt .mhead h3 { font-family: var(--brand); font-size: 26px; margin: 0; letter-spacing: -0.015em; }
.lt .title { margin-top: 8px; }
.lt h2.title { font-family: var(--brand); font-size: 28px; font-weight: 700; }

/* Narration toggle (only for languages with recorded clips) */
.lt .ctl-voice { display: inline-flex; align-items: center; gap: 6px; opacity: 1; }
.lt .ctl-voice[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.lt .ctl-voice[hidden] { display: none; }

/* The window the tour opens in from the Plans page (light-tour-open.js) */
html.lt-locked { overflow: hidden; }
.lt-window {
  position: fixed; inset: 0; z-index: 1500; overflow-y: auto; overscroll-behavior: contain;
  background: #eef1ee; animation: lt-win-in 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lt-window.is-closing { animation: lt-win-out 0.2s ease-in forwards; }
@keyframes lt-win-in { from { opacity: 0; transform: scale(0.55); border-radius: 28px; } }
@keyframes lt-win-out { to { opacity: 0; transform: scale(0.96); } }
.lt-window-close {
  position: fixed; top: 16px; right: 16px; z-index: 10; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid #d8dfd6; background: #fff; color: #122a1c; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.35);
}
.lt-window-close:hover { border-color: #3f7d4e; }
.lt-window .lt { padding-block: 24px 48px; background: transparent; }
.lt-window .lt .intro { top: 24px; }
@media (prefers-reduced-motion: reduce) { .lt-window, .lt-window.is-closing { animation: none; } }
