/* Customer journey simulation. Tokens come from styles.css (default look: graphite + lime). Everything here is scoped to this page. */
.i18n-wait body { visibility: hidden; }
.jr { --app-bg: #F6F6F3; --app-card: #FFFFFF; --app-line: rgba(11, 12, 14, .09); --app-muted: #5E626A; --ok: #1E8E55; --warn: #B7791F; --bad: #C2412D; --rail-w: 232px;
  background: var(--night); color: var(--paper); min-height: 100vh;
  background-image: radial-gradient(70% 50% at 50% 0%, rgba(198, 242, 78, .07), transparent 70%), radial-gradient(rgba(244, 244, 242, .045) 1px, transparent 1px);
  background-size: auto, 22px 22px; }
.jr bdi { unicode-bidi: isolate; direction: ltr; }
.jr :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- top bar ---------- */
.jr-top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; height: 64px; padding-inline: clamp(16px, 3vw, 32px);
  background: color-mix(in srgb, var(--night) 86%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--night-line); }
.jr-top .brand { color: var(--paper); }
.jr-top .brand-name { font-size: 20px; font-weight: 600; }
.jr-tag { font: 500 13px/1 var(--mono); color: var(--muted-d); padding: 6px 10px; border: 1px solid var(--night-line); border-radius: 999px; white-space: nowrap; }
.jr-top-end { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.jr-wallet { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(198, 242, 78, .1); border: 1px solid rgba(198, 242, 78, .28); font: 600 14px/1 var(--mono); color: var(--accent); }
.jr-wallet img { filter: invert(88%) sepia(36%) saturate(800%) hue-rotate(28deg) brightness(102%); }
.jr-wallet.is-hit { animation: jrHit .5s var(--ease); }
@keyframes jrHit { 35% { transform: scale(1.08); background: rgba(198, 242, 78, .28); } }
.jr-restart, .jr-home { display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--night-line); background: transparent; color: var(--paper); font: 500 14px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s; }
.jr-restart:hover, .jr-home:hover { background: rgba(244, 244, 242, .08); }
.jr-top .lang { height: 36px; color: var(--paper); }

/* ---------- layout ---------- */
.jr-main { display: grid; grid-template-columns: var(--rail-w) 400px minmax(0, 460px); grid-template-areas: 'intro intro intro' 'rail stage bts'; justify-content: center; align-items: start; gap: 20px 36px; max-width: 1320px; margin-inline: auto; padding: 28px clamp(16px, 3vw, 32px) 48px; }
.jr-intro { grid-area: intro; max-width: 760px; margin-bottom: 6px; }
.jr-h1 { margin: 0; font: 500 clamp(26px, 3vw, 38px)/1.12 var(--sans); letter-spacing: -.02em; }
.jr-lede { margin: 10px 0 0; color: var(--lede, #B5B9C1); font-size: 16px; line-height: 1.55; max-width: 64ch; }

/* step rail */
.rail { grid-area: rail; position: sticky; top: 84px; }
.rail ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: s; }
.rail ol > li > span { display: block; padding: 8px 10px; color: var(--muted-d); font-size: 14px; }
.rl { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; padding: 6px 10px; border: 0; border-radius: 12px; background: transparent; color: var(--muted-d); text-align: start; font: 500 14.5px/1.3 var(--sans); cursor: pointer; transition: background-color .15s, color .15s; }
.rl:hover { background: rgba(244, 244, 242, .06); color: var(--paper); }
.rl-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--night-line); font: 600 12.5px/1 var(--mono); color: var(--paper); }
.rl.is-done .rl-n { background: rgba(198, 242, 78, .14); border-color: transparent; }
.rl.is-done .rl-n .ic { filter: invert(88%) sepia(36%) saturate(800%) hue-rotate(28deg) brightness(102%); }
.rl.is-now { background: rgba(244, 244, 242, .07); color: var(--paper); }
.rl.is-now .rl-n { background: var(--accent); color: var(--on-accent, #0B0C0E); border-color: var(--accent); }
.rail ol > li:not(:last-child) .rl::after { content: ''; position: absolute; inset-inline-start: 23.5px; top: 37px; height: 11px; width: 1px; background: var(--night-line); }

/* stage */
.stage { grid-area: stage; display: grid; gap: 14px; justify-items: center; min-width: 0; scroll-margin-top: 76px; }
.stage:focus { outline: none; }
.ctl { width: 100%; min-height: 0; display: flex; justify-content: center; }
.ctl:empty { display: none; }
.seg { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(244, 244, 242, .06); border: 1px solid var(--night-line); flex-wrap: wrap; justify-content: center; }
.seg-l { padding-inline: 10px 4px; font-size: 13px; color: var(--muted-d); }
.seg button { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--paper); font: 500 14px/1 var(--sans); cursor: pointer; }
.seg button[aria-checked=true] { background: var(--paper); color: var(--ink); }
.ctl-note { margin: 0; padding: 8px 14px; border-radius: 999px; background: rgba(124, 147, 255, .12); border: 1px solid rgba(124, 147, 255, .3); color: #C9D2FF; font-size: 13.5px; text-align: center; }

/* the phone */
.device { position: relative; width: 390px; max-width: 100%; height: min(820px, calc(100vh - 150px)); min-height: 660px; display: flex; flex-direction: column; border-radius: 52px; padding: 12px; background: #050506;
  box-shadow: 0 0 0 1.5px #2A2C31, 0 0 0 6px #111215, 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 120px -40px rgba(198, 242, 78, .18); }
.device > * { background: var(--app-bg); color: var(--ink); }
.sbar { flex: none; display: flex; align-items: center; justify-content: space-between; height: 44px; padding: 0 28px; border-radius: 40px 40px 0 0; font: 600 15px/1 var(--sans); position: relative; }
.sbar::after { content: ''; position: absolute; left: 50%; top: 10px; width: 110px; height: 30px; margin-left: -55px; border-radius: 20px; background: #050506; }
.sbar-i { display: flex; align-items: center; gap: 6px; }
.sig { width: 17px; height: 11px; background: linear-gradient(90deg, currentColor 0 3px, transparent 3px 4.6px, currentColor 4.6px 7.6px, transparent 7.6px 9.2px, currentColor 9.2px 12.2px, transparent 12.2px 13.8px, currentColor 13.8px); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.bat { width: 25px; height: 12px; border-radius: 4px; border: 1.5px solid currentColor; position: relative; opacity: .9; }
.bat::before { content: ''; position: absolute; inset: 1.5px 5px 1.5px 1.5px; border-radius: 2px; background: currentColor; }
[dir=rtl] .bat::before { inset: 1.5px 1.5px 1.5px 5px; }
.appbar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 18px 10px; border-bottom: 1px solid var(--app-line); }
.appbar[hidden] { display: none; }
.ab-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; min-width: 0; }
.ab-brand b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ab-wallet { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 999px; background: var(--ink); color: var(--accent); font: 600 13px/1 var(--mono); }
.ab-wallet .ic { filter: invert(88%) sepia(36%) saturate(800%) hue-rotate(28deg) brightness(102%); }
.screen { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; border-radius: 0 0 40px 40px; scrollbar-width: thin; }
.nojs { padding: 24px; color: var(--app-muted); }
.sheet-layer { position: absolute; inset: 12px; border-radius: 40px; pointer-events: none; overflow: hidden; background: transparent; }
.device.has-sheet .sheet-layer { pointer-events: auto; background: rgba(11, 12, 14, .42); }

/* step nav */
.stepnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 390px; max-width: 100%; }
.sn-btn { min-height: 46px; min-width: 104px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--night-line); background: transparent; color: var(--paper); font: 600 15px/1 var(--sans); cursor: pointer; transition: background-color .15s, transform .15s var(--ease); }
.sn-btn:hover { background: rgba(244, 244, 242, .08); }
.sn-btn:active { transform: scale(.97); }
.sn-btn:disabled { opacity: .35; cursor: default; }
.sn-next { background: var(--accent); color: var(--on-accent, #0B0C0E); border-color: var(--accent); }
.sn-next:hover { background: color-mix(in srgb, var(--accent) 88%, #fff); }
.sn-count { font: 500 13px/1 var(--mono); color: var(--muted-d); }

/* behind the scenes */
.bts { grid-area: bts; position: sticky; top: 84px; display: grid; gap: 18px; padding: 24px; border-radius: 22px; background: var(--night-2); border: 1px solid var(--night-line); }
.bts-k { margin: 0; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted-d); }
[dir=rtl] .bts-k { letter-spacing: 0; }
.bts-h { margin: -8px 0 0; font: 500 24px/1.2 var(--sans); letter-spacing: -.01em; }
.bts-h bdi { color: var(--accent); }
.bts-l { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.bts-l li { position: relative; padding-inline-start: 18px; color: #D5D8DE; font-size: 15px; line-height: 1.5; }
.bts-l li::before { content: ''; position: absolute; inset-inline-start: 2px; top: .62em; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); }
.bts-cr, .bts-w { display: grid; gap: 8px; padding-top: 16px; border-top: 1px dashed var(--night-line); }
.bts-n { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; font: 600 30px/1.1 var(--mono); color: var(--paper); }
.bts-cr .bts-n { color: var(--accent); }
.bts-n small { font: 400 13px/1.3 var(--sans); color: var(--muted-d); }
.bts-rows { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 13.5px; }
.bts-rows li { display: flex; justify-content: space-between; gap: 12px; color: #C3C7CE; }
.bts-rows b { font: 600 13px/1.4 var(--mono); white-space: nowrap; color: var(--paper); }
.bts-rows.is-log li { color: var(--muted-d); }
.bts-empty { margin: 0; font-size: 13.5px; color: var(--muted-d); }

/* toasts */
.jr-toasts { position: fixed; z-index: 80; left: 50%; top: 76px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.jr-toast { padding: 10px 16px; border-radius: 14px; background: var(--paper); color: var(--ink); font-size: 14px; box-shadow: 0 16px 40px -14px rgba(0, 0, 0, .6); animation: jrToast .3s var(--ease); text-align: center; }
.jr-toast b { font-family: var(--mono); }
@keyframes jrToast { from { transform: translateY(-10px); } }

/* =================== inside the phone =================== */
.ic { display: block; flex: none; width: 22px; height: 22px; }
.ic-sm { width: 18px; height: 18px; }
.ic-xs { width: 15px; height: 15px; }
.ic-lg { width: 34px; height: 34px; }
.av { display: block; width: 100%; height: auto; }
.av-xs { width: 28px; height: 28px; flex: none; border-radius: 50%; }
.av-md { width: 48px; height: 48px; flex: none; border-radius: 50%; }
.av-lg { width: 72px; height: 72px; flex: none; border-radius: 50%; }
.mark-sm, .mark-lg { display: inline-grid; grid-template-columns: repeat(2, 7px); gap: 2px; padding: 5px; border-radius: 8px; background: var(--ink); flex: none; }
.mark-sm i, .mark-lg i { width: 7px; height: 7px; border-radius: 2px; background: #F4F4F2; }
.mark-sm i:first-child, .mark-lg i:first-child { background: var(--accent); }
.mark-lg { grid-template-columns: repeat(2, 12px); gap: 4px; padding: 10px; border-radius: 14px; margin-bottom: 16px; }
.mark-lg i { width: 12px; height: 12px; border-radius: 3px; }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2FBF71; box-shadow: 0 0 0 3px rgba(47, 191, 113, .2); flex: none; }

.pad { padding: 20px 18px 28px; display: flex; flex-direction: column; gap: 12px; }
.pad-tight { padding-top: 14px; gap: 10px; }
.center { text-align: center; align-items: center; }
.a-h { margin: 0; font: 600 23px/1.2 var(--sans); letter-spacing: -.015em; color: var(--ink); }
.a-p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--app-muted); }
.a-fine { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--app-muted); }
.a-fine a { color: var(--ink); }
.a-note { margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: #2C3A06; font-size: 14px; }
.a-lab { margin: 4px 0 -4px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.a-in { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: 14px; border: 1px solid rgba(11, 12, 14, .16); background: #fff; color: var(--ink); font-size: 16px; }
.a-in:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(198, 242, 78, .55); }
.a-ta { min-height: 104px; resize: vertical; line-height: 1.45; }
.a-code { font: 600 24px/1 var(--mono); letter-spacing: .3em; text-align: center; }
.a-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 14px; border: 1px solid transparent; background: var(--ink); color: var(--accent); font: 600 15.5px/1.2 var(--sans); cursor: pointer; text-decoration: none; transition: transform .15s var(--ease), background-color .15s; }
.a-btn:hover { background: #24262B; }
.a-btn:active { transform: scale(.98); }
.a-btn-big { width: 100%; min-height: 52px; margin-top: 4px; }
.a-btn-sm { min-height: 40px; padding: 0 14px; font-size: 14px; border-radius: 12px; }
.a-btn-light { background: #fff; color: var(--ink); border-color: rgba(11, 12, 14, .16); }
.a-btn-light:hover { background: #F0F0EC; }
.a-btn-quiet { background: transparent; color: var(--app-muted); }
.a-btn-quiet:hover { background: rgba(11, 12, 14, .05); }
.a-link { align-self: flex-start; position: relative; padding: 0; border: 0; background: none; color: var(--ink); font: 500 13.5px/1.4 var(--sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(11, 12, 14, .35); cursor: pointer; }
.a-link::after { content: ''; position: absolute; inset: -12px -6px; }
.a-back { align-self: flex-start; position: relative; padding: 0; border: 0; background: none; color: var(--app-muted); font: 500 14px/1 var(--sans); cursor: pointer; }
.a-back::before { content: '‹ '; }
[dir=rtl] .a-back::before { content: '› '; }
.a-back::after { content: ''; position: absolute; inset: -14px -8px; }
.a-or { display: flex; align-items: center; gap: 10px; margin: 2px 0; color: var(--app-muted); font-size: 13px; }
.a-or::before, .a-or::after { content: ''; flex: 1; height: 1px; background: var(--app-line); }
.okmark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent); }
.okmark .ic { width: 26px; height: 26px; }
.big-n { margin: 0; display: grid; gap: 4px; font: 600 40px/1 var(--mono); color: var(--ink); }
.big-n small { font: 400 13.5px/1.2 var(--sans); color: var(--app-muted); }
.rcpt { margin: 0; padding: 12px 14px; list-style: none; display: grid; gap: 8px; border-radius: 14px; background: var(--app-card); border: 1px solid var(--app-line); width: 100%; text-align: start; }
.rcpt li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--app-muted); }
.rcpt b { font: 600 14px/1.4 var(--mono); color: var(--ink); white-space: nowrap; }
.rcpt .is-gift b { color: var(--ok); }
.rcpt .is-total { padding-top: 8px; border-top: 1px dashed var(--app-line); color: var(--ink); font-weight: 600; }
.cr-tag { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 999px; background: #EEF0E6; color: #3D4A12; font: 600 11.5px/1 var(--mono); white-space: nowrap; }
.cr-tag.is-free { background: #DDF3E6; color: #17683F; font-family: var(--sans); }
.composer { display: flex; gap: 8px; }
.composer .a-in { flex: 1; min-width: 0; }
.a-send { flex: none; min-height: 48px; padding: 0 16px; border-radius: 14px; border: 0; background: var(--ink); color: var(--accent); font: 600 14.5px/1 var(--sans); cursor: pointer; }
.a-send:hover { background: #24262B; }

/* 0: Instagram + WhatsApp + mini landing */
.ig { background: #fff; min-height: 100%; }
.ig-top { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 18px; border-bottom: 1px solid var(--app-line); }
.ig-post { border-bottom: 1px solid var(--app-line); }
.ig-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.ig-head div { display: grid; line-height: 1.2; }
.ig-head b { font-size: 14px; }
.ig-head small { font-size: 12px; color: var(--app-muted); }
.ig-media { position: relative; aspect-ratio: 4 / 5; background: radial-gradient(80% 60% at 50% 0%, rgba(198, 242, 78, .16), transparent 70%), #0B0C0E; display: flex; flex-direction: column; justify-content: space-between; padding: 22px 18px; overflow: hidden; }
.ig-over { margin: 0; color: #F4F4F2; font: 500 24px/1.15 var(--sans); letter-spacing: -.02em; }
.ig-over em { font-style: normal; color: var(--accent); }
.ig-cta { display: flex; justify-content: space-between; align-items: center; width: 100%; min-height: 46px; padding: 0 14px; border: 0; background: #F1F3F5; color: var(--ink); font: 600 14px/1 var(--sans); cursor: pointer; }
.ig-cta:hover { background: #E7EAED; }
.ig-acts { display: flex; gap: 14px; padding: 10px 14px 4px; }
.ig-acts i { width: 22px; height: 20px; border: 2px solid var(--ink); border-radius: 50% 50% 4px 50%; }
.ig-acts .c { border-radius: 50%; }
.ig-acts .s { border-radius: 2px; transform: skewX(-14deg); width: 18px; }
.ig-cap { margin: 0; padding: 2px 14px 14px; font-size: 13.5px; line-height: 1.45; }
.ig-ghost { opacity: .55; }
.ig-media-ghost { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #E8DCCB, #C9B79F); }
.dot-av { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #E2B08A, #A3462B); color: #fff; font: 600 14px/1 var(--sans); flex: none; }
.dot-av-dana { background: linear-gradient(135deg, #F29BB0, #B5452F); }
.dot-av-plain { background: #E9E9E6; }
.mini-office { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-office.has-l { grid-template-columns: repeat(7, 1fr); gap: 6px 4px; margin-top: 14px; }
.mo-d { display: grid; justify-items: center; gap: 3px; padding: 6px 4px 4px; border-radius: 12px; background: rgba(244, 244, 242, .05); border: 1px solid rgba(244, 244, 242, .07); box-shadow: inset 0 -3px 0 var(--wc); }
.mo-d .av { width: 100%; max-width: 54px; }
.mini-office.has-l .mo-d { padding: 4px 2px 5px; border-radius: 9px; }
.mo-d b { font-size: 10px; font-weight: 500; color: #C9CCD2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.wa { min-height: 100%; background: #EFE7DE; display: flex; flex-direction: column; }
.wa-top { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #F7F5F1; border-bottom: 1px solid var(--app-line); }
.wa-top div { display: grid; line-height: 1.25; flex: 1; }
.wa-top small { font-size: 12px; color: var(--app-muted); }
.wa-body { padding: 14px; display: grid; gap: 10px; align-content: start; }
.wa-day { justify-self: center; margin: 0; padding: 4px 10px; border-radius: 8px; background: #fff; font-size: 12px; color: var(--app-muted); }
.wa-msg { position: relative; justify-self: start; max-width: 88%; padding: 10px 12px 22px; border-radius: 4px 14px 14px 14px; background: #fff; font-size: 14.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .06); }
[dir=rtl] .wa-msg { border-radius: 14px 4px 14px 14px; }
.wa-msg time { position: absolute; inset-inline-end: 10px; bottom: 6px; font-size: 11px; color: var(--app-muted); }
.wa-link { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 10px; border-radius: 10px; border: 0; background: #F2F2EE; text-align: start; cursor: pointer; color: var(--ink); }
.wa-link:hover { background: #E8E8E2; }
.wa-link span:last-child { display: grid; min-width: 0; }
.wa-link small { font-size: 12px; color: #1B7A5A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp { min-height: 100%; display: flex; flex-direction: column; gap: 14px; padding: 0 0 24px; background: #fff; }
.lp > :not(.lp-hero) { margin-inline: 18px; }
.lp-hero { padding: 22px 18px 18px; background: radial-gradient(90% 70% at 50% 0%, rgba(198, 242, 78, .14), transparent 70%), #0B0C0E; color: #F4F4F2; }
.lp-eye { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 12.5px; color: #A9ADB5; }
.lp-h { margin: 0; font: 500 27px/1.1 var(--sans); letter-spacing: -.025em; }
.lp-h em { font-style: normal; color: var(--accent); display: block; }
.lp-gift { display: flex; align-items: center; gap: 10px; margin: 0; padding: 10px 18px; background: var(--accent); color: var(--ink); font-size: 13.5px; font-weight: 500; }
.lp > .lp-gift { margin-inline: 0; }
.lp-gift-in { border-radius: 12px; padding: 10px 12px; }
.lp-list { margin-top: 4px !important; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14.5px; }
.lp-list li { display: flex; gap: 10px; align-items: flex-start; }
.lp-price { margin: 0; font-size: 13.5px; color: var(--app-muted); }

/* 1: Google chooser */
.gpick { min-height: 100%; padding: 18px 20px 28px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.gp-top { display: flex; align-items: center; gap: 10px; margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--app-line); font-size: 14px; color: #3C4043; }
.gp-h { margin: 14px 0 0; font: 400 24px/1.2 var(--sans); color: #202124; text-align: center; }
.gp-s { margin: 0 0 10px; text-align: center; color: #3C4043; font-size: 15px; }
.gp-acct { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 4px; border: 0; border-bottom: 1px solid var(--app-line); background: none; text-align: start; cursor: pointer; color: #202124; }
.gp-acct:hover { background: #F8F9FA; }
.gp-acct span:last-child { display: grid; font-size: 14.5px; }
.gp-acct small { font-size: 13px; color: #5F6368; }
.sh-sim { display: block; margin: 0; font: 500 11px/1.3 var(--mono); color: var(--app-muted); text-transform: uppercase; letter-spacing: .05em; }
[dir=rtl] .sh-sim { letter-spacing: 0; }

/* 2: plans + pay */
.plans { display: grid; gap: 10px; }
.plan { display: grid; gap: 6px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--app-line); background: var(--app-card); text-align: start; color: var(--ink); cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.plan:hover { border-color: rgba(11, 12, 14, .3); }
.plan.is-on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(198, 242, 78, .6); }
.pl-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pl-top b { font-size: 17px; }
.pl-for { font-size: 12.5px; color: var(--app-muted); }
.pl-price { display: flex; align-items: baseline; gap: 8px; font: 600 26px/1.1 var(--mono); }
.pl-price small { font: 400 12.5px/1 var(--sans); color: var(--app-muted); }
.pl-cr { font-size: 13.5px; color: #3D4A12; font-weight: 500; }
.pl-f { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.pl-f span { padding: 4px 9px; border-radius: 999px; background: #F1F1ED; font-size: 12px; color: #3B3E45; }
.demo-band { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 12px; background: #FFF4D6; color: #6B4A00; font-size: 13.5px; font-weight: 600; }
.card-mock { display: grid; gap: 6px; padding: 14px; border-radius: 16px; background: var(--app-card); border: 1px solid var(--app-line); }
.cm-l { display: block; font-size: 12px; color: var(--app-muted); }
.cm-f { display: block; padding: 10px 12px; border-radius: 10px; background: #F4F4F1; color: #9A9DA3; font: 500 15px/1.2 var(--mono); }
.cm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cm-by { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--app-muted); }

/* 3: chat */
.chat { min-height: 100%; display: flex; flex-direction: column; }
.chat-log { flex: 1; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 8px; }
.msg { display: flex; align-items: flex-end; gap: 8px; max-width: 90%; }
.msg p { margin: 0; padding: 9px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; }
.msg-in p { background: #fff; border: 1px solid var(--app-line); border-end-start-radius: 4px; }
.msg-out { align-self: flex-end; }
.msg-out p { background: var(--ink); color: #F4F4F2; border-end-end-radius: 4px; }
.chat-foot { position: sticky; bottom: 0; padding: 10px 14px 16px; background: linear-gradient(to top, var(--app-bg) 80%, transparent); display: grid; gap: 10px; }
.tones { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tone { display: grid; gap: 4px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--app-line); background: #fff; text-align: start; cursor: pointer; color: var(--ink); }
.tone:hover { border-color: var(--ink); }
.tone b { font-size: 14px; }
.tone span { font-size: 12px; line-height: 1.35; color: var(--app-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bizcard { margin: 4px 0 0; padding: 14px; border-radius: 16px; background: #0B0C0E; color: #F4F4F2; }
.bc-k { margin: 0 0 10px; font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--accent); }
[dir=rtl] .bc-k { letter-spacing: 0; }
.bizcard dl { margin: 0; display: grid; gap: 6px; }
.bizcard dl div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; font-size: 13.5px; }
.bizcard dt { color: #8E929B; }
.bizcard dd { margin: 0; overflow-wrap: anywhere; }
.bc-s { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(244, 244, 242, .12); font-size: 13px; line-height: 1.45; color: #C9CCD2; }

/* 4: networks */
.nets { margin: 4px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.net { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: var(--app-card); border: 1px solid var(--app-line); }
.net.is-on { border-color: rgba(30, 142, 85, .35); background: #F5FBF7; }
.net.is-fix { border-color: rgba(183, 121, 31, .45); background: #FFF9EC; }
.net-ic { display: flex; gap: 2px; flex: none; }
.net-ic .ic { width: 26px; height: 26px; }
.net-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.net-t b { font-size: 14.5px; }
.net-t small { font-size: 12px; line-height: 1.35; color: var(--app-muted); }
.net-btn { flex: none; min-height: 40px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--ink); color: var(--accent); font: 600 13.5px/1 var(--sans); cursor: pointer; }
.net.is-fix .net-btn { background: var(--warn); color: #fff; }
.net-st { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ok); }
.net-count { margin: 0; font-size: 13px; color: var(--app-muted); text-align: center; }

/* sheets: the networks' official screens */
.sheet { position: absolute; inset: auto 0 0 0; max-height: 92%; overflow-y: auto; overscroll-behavior: contain; border-radius: 26px 26px 36px 36px; background: #fff; color: #1C1E21; box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .5); animation: sheetUp .32s var(--ease); }
@keyframes sheetUp { from { transform: translateY(40%); } }
.sh-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px 10px; border-bottom: 1px solid var(--app-line); }
.sh-host { display: inline-flex; align-items: center; gap: 5px; font: 500 12px/1 var(--mono); color: #3C4043; }
.sh-brand { display: flex; align-items: center; gap: 10px; padding: 16px 20px 4px; font-size: 18px; }
.sh-in { display: grid; gap: 10px; padding: 8px 20px 12px; }
.sh-h { margin: 6px 0 0; font: 600 19px/1.25 var(--sans); }
.sh-acct { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; line-height: 1.4; }
.sh-k { margin: 4px 0 0; font-size: 13px; font-weight: 600; color: #5F6368; }
.sh-perms { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.sh-perms li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.sh-warn { margin: 2px 0 0; padding: 10px 12px; border-radius: 12px; background: #FFF4D6; color: #5E4300; font-size: 13px; line-height: 1.45; }
.sh-btns { display: grid; gap: 8px; margin-top: 6px; }
.sh-ok { min-height: 48px; border-radius: 10px; border: 0; color: #fff; font: 600 15px/1 var(--sans); cursor: pointer; background: #1A73E8; }
.sh-ok.sh-meta, .sh-ok.sh-wa { background: #0866FF; }
.sh-ok.sh-tt { background: #FE2C55; }
.sh-ok.sh-li { background: #0A66C2; border-radius: 999px; }
.sh-ok.sh-g { border-radius: 999px; }
.sh-no { min-height: 44px; border-radius: 10px; border: 1px solid var(--app-line); background: #fff; color: #1C1E21; font: 500 14.5px/1 var(--sans); cursor: pointer; }
.sh-nopw { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 20px 22px; font-size: 12px; line-height: 1.4; color: #5F6368; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.4; }
.checks .ok { background: #EAF7EF; }
.checks .bad { background: #FDECEA; }
.checks .bad .ic { filter: invert(27%) sepia(83%) saturate(1700%) hue-rotate(350deg); }
.fixbox { padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(183, 121, 31, .4); background: #FFFBF0; font-size: 13.5px; }
.fixbox ol { margin: 8px 0; padding-inline-start: 20px; display: grid; gap: 6px; line-height: 1.45; }

/* 5: the office */
.o-eye { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12.5px; color: var(--app-muted); }
.floor { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 12px; border-radius: 18px; background: #0B0C0E; background-image: linear-gradient(rgba(244, 244, 242, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 244, 242, .04) 1px, transparent 1px); background-size: 22px 22px; }
.desk { position: relative; display: grid; justify-items: center; gap: 4px; padding: 8px 4px 9px; border-radius: 12px; border: 1px solid rgba(244, 244, 242, .08); background: #16171B; color: #E6E7EA; cursor: pointer; box-shadow: inset 0 -3px 0 var(--wc); transition: transform .15s var(--ease), background-color .15s; min-width: 0; }
.desk:hover { background: #1E2025; }
.desk:active { transform: scale(.96); }
.desk.is-on { background: #23252B; outline: 2px solid var(--accent); outline-offset: 1px; }
.desk .av { width: 100%; max-width: 50px; }
.desk b { font-size: 11.5px; font-weight: 500; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.desk-busy { position: absolute; top: 6px; inset-inline-end: 6px; width: 6px; height: 6px; border-radius: 50%; background: #2FBF71; }
.desk-card { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; background: var(--app-card); border: 1px solid var(--app-line); }
.desk-card div { display: grid; gap: 2px; min-width: 0; }
.desk-card span { font-size: 13px; color: var(--app-muted); }
.desk-card small { font-size: 13px; color: #3D4A12; }
.feed-h { display: flex; align-items: center; gap: 8px; margin-top: 4px; font-size: 14px; }
.feed { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.fi { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 14px; background: var(--app-card); border: 1px solid var(--app-line); }
.fi p { flex: 1; min-width: 0; margin: 0; font-size: 13px; line-height: 1.4; color: #3B3E45; }
.fi p b { color: var(--ink); }
.fi-cr { flex: none; font: 600 11.5px/1 var(--mono); color: #3D4A12; background: #EEF0E6; padding: 4px 7px; border-radius: 999px; }
.fi.is-new { animation: fiIn .45s var(--ease); }
@keyframes fiIn { from { transform: translateY(-8px); background: #F3FADF; } }
.waiting { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; margin-top: 4px; border-radius: 16px; border: 0; background: var(--ink); color: #F4F4F2; font: 500 15px/1.3 var(--sans); text-align: start; cursor: pointer; }
.w-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--ink); font: 600 14px/1 var(--mono); flex: none; }
.w-arr { margin-inline-start: auto; font-size: 22px; color: var(--accent); }
[dir=rtl] .w-arr, [dir=rtl] .ig-cta span, [dir=rtl] .pl-tag i { transform: scaleX(-1); display: inline-block; }

/* 6: approvals */
.auto { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid var(--app-line); font-size: 13.5px; cursor: pointer; }
.auto input { width: 20px; height: 20px; accent-color: #0B0C0E; flex: none; }
.ap { display: grid; gap: 8px; padding: 12px; border-radius: 18px; background: var(--app-card); border: 1px solid var(--app-line); }
.ap-ok { border-color: rgba(30, 142, 85, .35); background: #F7FCF9; }
.ap-no { background: #FAFAF8; }
.ap-no .ap-a { text-decoration: line-through; text-decoration-color: rgba(11, 12, 14, .3); color: var(--app-muted); }
.ap-h { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--app-muted); }
.ap-h > span { flex: 1; min-width: 0; }
.ap-h b { color: var(--ink); }
.ap-q { margin: 0; padding: 8px 10px; border-radius: 12px; background: #F3F3EF; font-size: 13.5px; line-height: 1.4; }
.ap-a { margin: 0; font-size: 14.5px; line-height: 1.5; }
.ap-cr { margin: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--app-muted); }
.ap-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ap-row .a-btn { flex: 1; }
.ap-done { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; font-weight: 500; color: var(--ok); }
.ap-no .ap-done { color: var(--app-muted); }
.ap-done .a-link { margin-inline-start: auto; align-self: center; }

/* 7: camera + video */
.cam { min-height: 100%; display: flex; flex-direction: column; background: #000; color: #fff; }
.cam-view { position: relative; flex: 1; min-height: 420px; overflow: hidden; }
.cam-view .scene { position: absolute; inset: 0; }
.cam-top { position: absolute; inset: 12px 12px auto; display: flex; justify-content: space-between; align-items: center; margin: 0; z-index: 2; }
.cam-hint { padding: 6px 10px; border-radius: 999px; background: rgba(0, 0, 0, .45); font-size: 13px; }
.cam-t { padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .45); font: 600 14px/1 var(--mono); }
.rec { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: #E5352B; font: 700 13px/1 var(--mono); letter-spacing: .08em; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.cam-bar { position: absolute; inset: auto 12px 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; z-index: 2; }
.cam-bar i { display: block; height: 100%; background: #E5352B; }
.is-rec { box-shadow: inset 0 0 0 3px #E5352B; }
.cam-ctl { display: grid; justify-items: center; gap: 8px; padding: 18px 0 26px; background: #000; }
.cam-ctl p { margin: 0; font-size: 13px; color: #B5B9C1; }
.shutter { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 50%; border: 4px solid #fff; background: transparent; cursor: pointer; }
.shutter i { width: 58px; height: 58px; border-radius: 50%; background: #E5352B; transition: all .2s var(--ease); }
.shutter.is-rec i { width: 28px; height: 28px; border-radius: 6px; }
/* the scene: a bakery counter in morning light */
.scene { background: linear-gradient(180deg, #3B2A1E 0%, #5A3F2A 55%, #2A1D14 100%); overflow: hidden; }
.scene i { position: absolute; display: block; }
.sc-win { inset: 8% 16% auto 46%; height: 32%; border-radius: 4px; border: 5px solid #2A1D14; background: linear-gradient(90deg, transparent calc(50% - 2px), #2A1D14 calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)), linear-gradient(transparent calc(50% - 2px), #2A1D14 calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)), linear-gradient(160deg, #FFF1CF, #F4B871); box-shadow: 0 0 70px 16px rgba(255, 210, 140, .3); }
.sc-light { inset: 0 0 0 30%; background: linear-gradient(115deg, transparent 30%, rgba(255, 226, 170, .22) 45%, transparent 60%); }
.sc-shelf { left: 6%; right: 6%; top: 50%; height: 4%; background: #2A1D14; border-radius: 3px; }
.sc-counter { left: -5%; right: -5%; bottom: 0; height: 26%; background: linear-gradient(180deg, #C8A27A, #8C6A48); }
.sc-b { bottom: 22%; height: 15%; border-radius: 50% 50% 40% 40%; background: radial-gradient(70% 60% at 40% 30%, #F2C57C, #B5702F 70%, #7A4519); box-shadow: 0 6px 10px rgba(0, 0, 0, .3); }
.sc-b::after { content: ''; position: absolute; inset: 30% 20%; border-top: 2px solid rgba(90, 50, 18, .5); border-radius: 50%; }
.b1 { left: 10%; width: 34%; }
.b2 { left: 40%; width: 30%; bottom: 24%; height: 13%; }
.b3 { left: 66%; width: 26%; }
.cam-view .scene { animation: handheld 4s ease-in-out infinite alternate; }
@keyframes handheld { 0% { transform: scale(1.06) translate(0, 0); } 50% { transform: scale(1.06) translate(-1.2%, .8%); } 100% { transform: scale(1.06) translate(.8%, -.6%); } }
.clip-thumb { position: relative; height: 120px; border-radius: 14px; overflow: hidden; }
.clip-thumb .scene { position: absolute; inset: 0; }
.clip-thumb > span { position: absolute; inset: auto 8px 8px auto; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .6); color: #fff; font: 600 12px/1 var(--mono); }
.tom { display: flex; align-items: center; gap: 12px; }
.tom div { display: grid; }
.tom span { font-size: 13px; color: var(--app-muted); }
.prog { height: 8px; border-radius: 8px; background: #E4E4DF; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--ink); background-image: linear-gradient(90deg, var(--ink), #3D4A12); transition: width .2s linear; }
.stages { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.stages li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #9A9DA3; }
.stages li.is-done { color: var(--ink); }
.stages li.is-now { color: var(--ink); font-weight: 600; }
.stages .dot { width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; flex: none; }
.stages .is-now .dot { border-color: var(--ink); border-top-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.player { position: relative; aspect-ratio: 9 / 14; max-height: 440px; width: 100%; border-radius: 18px; overflow: hidden; background: #000; }
.pl-clip { position: absolute; inset: 0; animation: clipOut 8s infinite; }
.pl-clip .scene { position: absolute; inset: 0; }
.pl-anim { position: absolute; inset: 0; background: linear-gradient(180deg, #FFDFA6 0%, #F7B86A 55%, #E58F4D 100%); clip-path: circle(0% at 50% 60%); animation: animIn 8s infinite; }
.pl-anim i { position: absolute; display: block; }
.pa-sun { width: 46%; aspect-ratio: 1; left: 27%; top: 12%; border-radius: 50%; background: #FFF4D2; box-shadow: 0 0 60px 20px rgba(255, 244, 210, .6); animation: bob 2s ease-in-out infinite alternate; }
.pa-l1, .pa-l2, .pa-l3 { bottom: 18%; height: 16%; border-radius: 50% 50% 42% 42%; background: #C9772F; box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .12), 0 8px 0 rgba(90, 40, 10, .25); }
.pa-l1 { left: 8%; width: 36%; animation: hop 1.2s ease-in-out infinite alternate; }
.pa-l2 { left: 38%; width: 30%; bottom: 26%; background: #E0A04F; animation: hop 1.2s .3s ease-in-out infinite alternate; }
.pa-l3 { left: 62%; width: 30%; animation: hop 1.2s .6s ease-in-out infinite alternate; }
.pa-sp { width: 10px; height: 10px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 1.4s ease-in-out infinite; }
.s1 { left: 18%; top: 40%; } .s2 { left: 76%; top: 34%; animation-delay: .4s; } .s3 { left: 50%; top: 52%; animation-delay: .8s; }
@keyframes bob { to { transform: translateY(6%); } }
@keyframes hop { to { transform: translateY(-12%); } }
@keyframes twinkle { 50% { transform: scale(1.8) rotate(45deg); } }
@keyframes animIn { 0%, 38% { clip-path: circle(0% at 50% 60%); } 52%, 100% { clip-path: circle(120% at 50% 60%); } }
@keyframes clipOut { 0%, 45% { transform: scale(1.04); } 100% { transform: scale(1.18); } }
.pl-cap { position: absolute; inset: 9% 8% auto; margin: 0; padding: 8px 12px; border-radius: 10px; background: #0B0C0E; color: var(--accent); font: 600 18px/1.25 var(--sans); text-align: center; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.pl-logo { position: absolute; inset: auto 0 12% 0; margin: 0 auto; width: max-content; max-width: 84%; display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); font-weight: 600; font-size: 13px; transform-origin: center; transition: transform .3s var(--ease); }
[dir=rtl] .pl-logo { padding: 6px 6px 6px 12px; }
.logo-big .pl-logo { transform: scale(1.28); }
.pl-tag { position: absolute; inset: auto auto 12px 12px; display: inline-flex; gap: 6px; align-items: center; padding: 4px 8px; border-radius: 6px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; }
[dir=rtl] .pl-tag { inset: auto 12px 12px auto; }
.pl-tag i { font-style: normal; color: var(--accent); }
.pl-btn { position: absolute; inset: 12px 12px auto auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .5); cursor: pointer; }
[dir=rtl] .pl-btn { inset: 12px auto auto 12px; }
.pl-btn::after { content: ''; position: absolute; inset: -4px; }
.pz { width: 12px; height: 14px; border-inline: 4px solid #fff; }
.py { width: 0; height: 0; border-block: 8px solid transparent; border-left: 13px solid #fff; margin-left: 3px; }
.is-paused .pl-clip, .is-paused .pl-anim, .is-paused .pl-anim i { animation-play-state: paused; }
.fix { display: grid; gap: 8px; }
.fix-done { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 10px; border-radius: 12px; background: #F0F8F3; font-size: 13.5px; }
.fix-done > span:not(.cr-tag) { flex: 1; min-width: 0; }
.confirm { padding: 12px; border-radius: 14px; background: #FFF4D6; display: grid; gap: 10px; font-size: 13.5px; }
.confirm p { margin: 0; }
.slots { display: grid; gap: 8px; }
.slot { display: grid; gap: 2px; min-height: 52px; padding: 10px 14px; border-radius: 14px; border: 1.5px solid var(--app-line); background: #fff; text-align: start; font: 500 15px/1.3 var(--sans); color: var(--ink); cursor: pointer; }
.slot small { font-size: 12px; color: #3D4A12; }
.slot.is-on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(198, 242, 78, .6); }
.vnets { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.vnets label { display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 12px; border-radius: 12px; background: #fff; border: 1px solid var(--app-line); font-size: 14px; cursor: pointer; }
.vnets label span { flex: 1; }
.vnets input { width: 20px; height: 20px; accent-color: #0B0C0E; }
.vnets .is-off { color: #9A9DA3; cursor: default; }
.vnets small { font-size: 12px; }
.sched-nets { display: flex; gap: 8px; justify-content: center; margin: 0; }

/* 8: customise */
.wk-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.wkp { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 14px; border: 1.5px solid var(--app-line); background: #fff; font: 500 12.5px/1.2 var(--sans); color: var(--ink); cursor: pointer; min-width: 0; }
.wkp .av { width: 40px; }
.wkp span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wkp.is-on { border-color: var(--ink); }
.wk-card { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 18px; background: #0B0C0E; color: #F4F4F2; }
.wk-card div { display: grid; gap: 2px; min-width: 0; }
.wk-card b { font-size: 19px; font-weight: 600; }
.wk-card span { font-size: 13px; color: #A9ADB5; }
.wk-sec { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--app-line); }
.wk-sec .a-fine { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.portraits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.portrait { position: relative; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: #ddd; }
.portrait .pt { display: block; width: 100%; height: auto; aspect-ratio: 1; }
.portrait > span { position: absolute; inset: 8px auto auto 8px; padding: 3px 7px; border-radius: 6px; background: rgba(11, 12, 14, .7); color: #fff; font: 600 11px/1 var(--mono); }
.portrait.is-on { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(198, 242, 78, .8); }

/* 9: report + wallet */
.rep { display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--app-card); border: 1px solid var(--app-line); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.kpis div { display: grid; gap: 2px; padding: 10px 8px; border-radius: 12px; background: #F4F4F1; }
.kpis b { font: 600 18px/1.1 var(--mono); }
.kpis span { font-size: 11.5px; color: var(--app-muted); }
.rep-k { margin: 0; font-size: 13px; font-weight: 600; }
.rep-l { margin: 0; padding-inline-start: 18px; display: grid; gap: 6px; font-size: 13.5px; line-height: 1.45; }
.vir { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.vir li { display: flex; gap: 10px; align-items: center; }
.vir-th { flex: none; width: 40px; height: 56px; border-radius: 8px; background: linear-gradient(160deg, hsl(var(--h) 70% 72%), hsl(calc(var(--h) + 30) 55% 38%)); position: relative; }
.vir-th::after { content: ''; position: absolute; left: 50%; top: 50%; margin: -6px 0 0 -4px; border-block: 6px solid transparent; border-left: 9px solid rgba(255, 255, 255, .9); }
.vir div { display: grid; gap: 2px; min-width: 0; }
.vir b { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.vir span { font-size: 12px; color: var(--app-muted); }

/* 10: invite */
.inv-link { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 16px; background: #fff; border: 1px solid var(--app-line); }
[dir=rtl] .inv-link { padding: 6px 14px 6px 6px; }
.inv-link > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 13px/1.3 var(--mono); }
.inv-link .a-send { min-height: 42px; }
.inv-count { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inv-count .big-n { padding: 14px; border-radius: 16px; background: #0B0C0E; color: var(--accent); font-size: 34px; }
.inv-count .big-n small { color: #A9ADB5; }
.inv-ex { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.inv-ex li { display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--app-line); font-size: 13.5px; }
.inv-ex b { font-family: var(--mono); font-size: 13px; }
.end { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--app-line); }
.end p { margin: 0; width: 100%; font-weight: 600; }
.end .a-btn { flex: 1; }

/* =================== responsive =================== */
@media (max-width: 1180px) {
  .jr-main { grid-template-columns: 210px 400px minmax(0, 1fr); gap: 20px 24px; }
}
@media (max-width: 1000px) {
  .jr-main { grid-template-columns: minmax(0, 400px) minmax(0, 1fr); grid-template-areas: 'intro intro' 'rail rail' 'stage bts'; }
  .rail { position: static; }
}
@media (max-width: 900px) {
  .jr-main { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'intro' 'rail' 'stage' 'bts'; gap: 16px; padding-top: 18px; }
  .rail { position: sticky; top: 64px; z-index: 20; margin-inline: calc(-1 * clamp(16px, 3vw, 32px)); padding: 8px clamp(16px, 3vw, 32px); background: color-mix(in srgb, var(--night) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--night-line); }
  .rail::-webkit-scrollbar { display: none; }
  .rail ol { display: flex; gap: 6px; width: max-content; }
  .rail ol > li > span { white-space: nowrap; }
  .rl { min-height: 44px; padding: 4px 12px 4px 6px; border-radius: 999px; white-space: nowrap; background: rgba(244, 244, 242, .04); }
  [dir=rtl] .rl { padding: 4px 6px 4px 12px; }
  .rl::after { display: none; }
  .rl-n { width: 28px; height: 28px; }
  .rl:not(.is-now) .rl-t { max-width: 0; overflow: hidden; }
  .rl:not(.is-now) { padding-inline-end: 6px; }
  .bts { position: static; }
  .stage { gap: 12px; }
  .stepnav { position: sticky; bottom: 0; z-index: 15; width: 100%; max-width: 420px; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--night) 70%, transparent); }
  .jr-toasts { top: 120px; }
}
@media (max-width: 560px) {
  .jr-top { gap: 8px; height: 58px; }
  .jr-tag, .jr-home { display: none; }
  .jr-top .brand-name { font-size: 17px; }
  .jr-restart { padding: 0 10px; font-size: 13px; }
  .jr-wallet { padding: 0 10px; font-size: 13px; }
  .rail { top: 58px; }
  .jr-h1 { font-size: 24px; }
  .jr-lede { font-size: 14.5px; }
  /* on a phone, the phone is the screen: no bezel, the page scrolls */
  .device { width: 100%; height: auto; min-height: 0; padding: 0; border-radius: 22px; box-shadow: 0 0 0 1px var(--night-line); overflow: hidden; }
  .sbar { display: none; }
  .appbar { padding-top: 12px; border-radius: 22px 22px 0 0; }
  .screen { overflow: visible; border-radius: 0 0 22px 22px; min-height: 520px; }
  .chat-foot { position: static; }
  .cam-view { min-height: 380px; }
  .sheet-layer { position: fixed; inset: 0; z-index: 90; border-radius: 0; }
  .device.has-sheet .sheet-layer { background: rgba(11, 12, 14, .6); }
  .sheet { position: absolute; max-height: 88vh; max-height: 88dvh; border-radius: 22px 22px 0 0; }
  .sh-nopw { padding-bottom: calc(22px + env(safe-area-inset-bottom)); }
  .bts { padding: 18px; }
  .mini-office.has-l { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 360px) {
  .jr-restart { display: none; }
  .floor { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .jr *, .jr *::before, .jr *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .pl-anim { clip-path: none; }
}
/* keep focused / scrolled-to controls clear of the sticky top bar, rail and bottom Next bar */
@media (max-width: 900px) { html { scroll-padding: 128px 0 96px; } }

/* 9: usage screen (same model as #usage on the main page: week + month meters, extra credits, recent activity) */
.us { display: grid; gap: 12px; padding: 14px; border-radius: 18px; background: var(--app-card); border: 1px solid var(--app-line); }
.us-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14.5px; }
.us-top span { font: 600 13px/1 var(--mono); color: var(--app-muted); }
.us-row, .us-extra { display: grid; gap: 6px; }
.us-l { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 2px 10px; margin: 0; font-size: 13.5px; }
.us-l span { font-size: 12px; color: var(--app-muted); }
.us-bar { height: 8px; border-radius: 8px; background: #E9E9E4; overflow: hidden; }
.us-bar i { display: block; height: 100%; border-radius: 8px; background: #0B0C0E; }
.us-bar i.is-warn { background: var(--warn); }
.us-bar i.is-full { background: var(--bad); }
.us-n { margin: 0; font-size: 12.5px; color: var(--app-muted); }
.us-n b { color: var(--ink); font-family: var(--mono); }
.us-n small { font-size: 11.5px; }
.us-warn { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 10px 12px; border-radius: 12px; background: #FFF4D6; color: #5E4300; font-size: 13px; line-height: 1.45; }
.us-warn.is-full { background: #FDECEA; color: #7A2216; }
.us-extra { padding-top: 12px; border-top: 1px dashed var(--app-line); }
.us-x-top { display: flex; align-items: flex-start; gap: 12px; }
.us-x-top .us-l { flex: 1; display: grid; }
.us-sw { position: relative; flex: none; width: 48px; height: 28px; border-radius: 999px; border: 0; background: #D4D5D0; cursor: pointer; transition: background-color .2s; }
.us-sw i { position: absolute; top: 3px; inset-inline-start: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: inset-inline-start .2s var(--ease); }
.us-sw[aria-checked=true] { background: #0B0C0E; }
.us-sw[aria-checked=true] i { inset-inline-start: 23px; background: var(--accent); }
.us-sw::after { content: ''; position: absolute; inset: -8px; }
.us-lim { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.us-lim.is-off { opacity: .5; }
.us-step { display: inline-flex; align-items: center; gap: 10px; font: 600 14px/1 var(--mono); }
.us-step button { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--app-line); background: #fff; color: var(--ink); font: 600 18px/1 var(--sans); cursor: pointer; }
.us-step button:disabled { opacity: .4; cursor: default; }
.us-logh { margin: 0; padding-top: 10px; border-top: 1px dashed var(--app-line); font-size: 13px; font-weight: 600; }
.us-log { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.us-log li { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: #3B3E45; }
.us-log b { font: 600 12.5px/1.4 var(--mono); white-space: nowrap; }
html:not(.js) .stepnav, html:not(.js) .appbar, html:not(.js) .jr-restart { display: none; }

/* mono type spaces Hebrew letters apart: in Hebrew, labels use the sans face and only numbers stay mono */
[dir=rtl] .bts-k, [dir=rtl] .jr-tag, [dir=rtl] .cr-tag, [dir=rtl] .sh-sim, [dir=rtl] .bc-k, [dir=rtl] .fi-cr, [dir=rtl] .ab-wallet, .us-top span { font-family: var(--sans); }
[dir=rtl] .cr-tag bdi, .us-top span bdi, [dir=rtl] .fi-cr bdi { font-family: var(--mono); }
.sc-win::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%); }
/* desktop: the phone stays in view while the page scrolls */
@media (min-width: 1001px) and (min-height: 760px) { .stage { position: sticky; top: 76px; } }
[dir=rtl] .bts-rows b, [dir=rtl] .us-log b, [dir=rtl] .rcpt b { font-family: var(--sans); }
[dir=rtl] .bts-rows b bdi, [dir=rtl] .us-log b bdi, [dir=rtl] .rcpt b bdi { font-family: var(--mono); }
@media (min-width: 1001px) { .device { height: min(800px, calc(100vh - 200px)); min-height: 620px; } }

/* accessibility menu (shared a11y.js): sit above the sticky Back/Next bar on phones */
@media (max-width: 900px) {
  .a11y-btn { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  .a11y-panel { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
  /* a11y.js docks the button in the bar between the counter and Next: the pair sits centred between Back and Next */
  .stepnav .a11y-btn { position: static; flex: none; margin-inline-end: auto; }
  .stepnav .a11y-btn ~ .sn-next { margin-inline-start: 0; }
  .stepnav:has(.a11y-btn) .sn-count { margin-inline-start: auto; }
  .stepnav:has(.a11y-btn) { gap: 10px; }
}
@media (max-width: 400px) { .stepnav:has(.a11y-btn) { gap: 8px; } .stepnav:has(.a11y-btn) .sn-btn { min-width: 80px; padding: 0 14px; } }
.sn-count { white-space: nowrap; }

/* touch hit areas (design review 24.11, P1-14): the top-bar pills and the "came from" switch stay 36px to the eye */
@media (pointer: coarse) {
  .jr-restart, .jr-home, .seg button { position: relative; }
  .jr-restart::after, .jr-home::after, .seg button::after { content: ''; position: absolute; inset: -4px 0; }
}
