/* Generated by tools/build-bundle.mjs from project/styles; edit the parts, never this file. */
@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Figtree:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500&family=Noto+Sans+Arabic:wght@400;600&display=swap");

/* The finish (theme) also picks the face: the tokens declare one stack per brand. */
[data-theme^="jjlj"] { --font-ui: var(--font-jjlj); }
[data-theme^="alineza"] { --font-ui: var(--font-alineza); }
[data-theme^="tinta"] { --font-ui: var(--font-tinta); }
[data-theme="high-contrast"] { --font-ui: var(--font-jjlj); }

/* Context of use: one component set, three densities. */
.j-root, [data-context="mesa"] { --ctl: var(--control-mesa); --row: var(--row-mesa); --fs: 13px; --fs-s: 12px; --fs-l: 15px; --pad: var(--space-3); --gap: var(--space-2); --r-ctl: var(--radius-s); --ico: 16px; }
[data-context="balcao"] { --ctl: var(--control-balcao); --row: var(--row-balcao); --fs: 15px; --fs-s: 13px; --fs-l: 17px; --pad: var(--space-4); --gap: var(--space-3); --r-ctl: var(--radius-m); --ico: 20px; }
[data-context="rua"] { --ctl: var(--control-rua); --row: var(--row-rua); --fs: 19px; --fs-s: 16px; --fs-l: 22px; --pad: var(--space-5); --gap: var(--space-4); --r-ctl: var(--radius-l); --ico: 24px; }
[data-context="vitrine"] { --ctl: var(--control-balcao); --row: var(--row-balcao); --fs: 16px; --fs-s: 13px; --fs-l: 18px; --pad: var(--space-4); --gap: var(--space-3); --r-ctl: var(--radius-m); --ico: 22px; }

.j-root { font-family: var(--font-ui); font-size: var(--fs); line-height: 1.45; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11" 1; }
.j-root *, .j-root *::before, .j-root *::after { box-sizing: border-box; min-width: 0; }
.j-root :where(a) { color: inherit; text-decoration: none; }
.j-root :where(h1, h2, h3, p) { margin: 0; }
.j-num { font-variant-numeric: tabular-nums; }
.j-mono { font-family: var(--font-mono); font-size: 0.92em; letter-spacing: 0; }
.j-muted { color: var(--ink-2); }
.j-faint { color: var(--ink-3); }
.j-root [data-lucide], .j-root svg.lucide { width: var(--ico); height: var(--ico); stroke-width: 1.75; flex: none; }

/* The house glyph for "more" and "menu": three strokes, each shorter than the one above. Never three dots. */
.j-more { width: var(--ico); height: var(--ico); fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; flex: none; }

/* Button */
.j-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); height: var(--ctl); padding: 0 calc(var(--pad) + 2px); border-radius: var(--r-ctl); border: 1px solid transparent; font: inherit; font-size: var(--fs); font-weight: 600; letter-spacing: -0.005em; cursor: pointer; white-space: nowrap; transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease; }
.j-btn:active { transform: scale(0.98); }
.j-btn:focus-visible, .j-input:focus-visible, .j-seg button:focus-visible, .j-iconbtn:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.j-btn--primary { background: var(--action); color: var(--on-action); }
.j-btn--primary:hover { background: var(--action-hover); }
.j-btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); }
.j-btn--secondary:hover { background: var(--surface-2); }
.j-btn--ghost { background: transparent; color: var(--ink); }
.j-btn--ghost:hover { background: var(--surface-2); }
.j-btn--danger { background: var(--surface); color: var(--danger); border-color: var(--danger); }
.j-btn--block { width: 100%; }
.j-btn[disabled] { background: var(--surface-2); color: var(--ink-3); border-color: var(--line); cursor: not-allowed; transform: none; }
.j-iconbtn { display: inline-grid; place-items: center; width: var(--ctl); height: var(--ctl); border-radius: var(--r-ctl); border: 1px solid transparent; background: transparent; color: var(--ink-2); cursor: pointer; }
.j-iconbtn:hover { background: var(--surface-2); color: var(--ink); }
.j-iconbtn--glass { border-radius: var(--radius-pill); background: var(--glass); border-color: var(--glass-line); color: var(--ink); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: var(--shadow-1); }

/* Field */
.j-field { display: grid; gap: 6px; }
.j-field__label { font-size: var(--fs-s); font-weight: 550; color: var(--ink-2); }
.j-field__hint { font-size: var(--fs-s); color: var(--ink-3); }
.j-field__error { font-size: var(--fs-s); color: var(--danger); display: flex; gap: 6px; align-items: center; }
.j-input { height: var(--ctl); width: 100%; padding: 0 var(--pad); border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: var(--fs); }
.j-input::placeholder { color: var(--ink-3); }
.j-input--error { border-color: var(--danger); }
.j-input-wrap { position: relative; display: flex; align-items: center; }
.j-input-wrap > [data-lucide], .j-input-wrap > svg { position: absolute; left: var(--pad); color: var(--ink-3); pointer-events: none; }
.j-input-wrap > .j-input { padding-left: calc(var(--pad) + var(--ico) + 8px); }
.j-kbd { font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: var(--radius-xs); padding: 1px 5px; background: var(--surface); }

/* Status: always dot or icon plus a word, never color alone */
.j-status { display: inline-flex; align-items: center; gap: 6px; height: calc(var(--fs) + 10px); padding: 0 8px 0 7px; border-radius: var(--radius-pill); font-size: var(--fs-s); font-weight: 600; white-space: nowrap; background: var(--surface-2); color: var(--ink-2); }
.j-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.j-status--positive { background: var(--positive-soft); color: var(--positive); }
.j-status--warning { background: var(--warning-soft); color: var(--warning); }
.j-status--danger { background: var(--danger-soft); color: var(--danger); }
.j-status--info { background: var(--info-soft); color: var(--info); }
.j-status--brand { background: var(--brand-soft); color: var(--brand-ink); }
.j-status--live::before { box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }

/* Origin: where an inherited value came from (place tree, plan, admin action) */
.j-origin { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-s); color: var(--ink-2); white-space: nowrap; }
.j-origin [data-lucide], .j-origin svg { width: 14px; height: 14px; color: var(--ink-3); }
.j-origin--here { color: var(--ink); font-weight: 600; }
.j-origin--here::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--brand); }
.j-origin--override { color: var(--warning); font-weight: 600; }

/* Data table: hairlines, sticky head, numbers aligned */
.j-table-wrap { border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); overflow: auto; }
.j-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--fs); }
.j-table th { position: sticky; top: 0; z-index: 1; height: 34px; padding: 0 var(--pad); text-align: left; font-size: var(--fs-s); font-weight: 550; color: var(--ink-2); background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
.j-table td { height: var(--row); padding: 0 var(--pad); border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.j-table tr:last-child td { border-bottom: 0; }
.j-table tbody tr:hover td { background: var(--surface-2); }
.j-table tr.is-selected td { background: var(--surface-3); }
.j-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.j-table .is-icon { width: 1%; padding-right: 0; color: var(--ink-3); }
.j-check { color: var(--positive); }
.j-table .is-act { width: 1%; text-align: right; padding-right: 6px; }
/* A row whose first cell holds a title and its meta breathes: 56px high, 8px above and below the text */
.j-table tr:has(> td .j-cell2) > td { height: 56px; padding-top: 8px; padding-bottom: 8px; }

/* Pager: the footer of every list that holds volume; the range read first, the pages after, the ends disabled */
.j-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 8px 8px var(--pad); border-top: 1px solid var(--line); color: var(--ink-2); font-size: var(--fs-s); }
.j-pager__range b { color: var(--ink); font-weight: 600; }
.j-pager__pages { display: flex; align-items: center; gap: 4px; }
.j-pager__page { min-width: 30px; height: 30px; padding: 0 8px; border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--ink-2); font: inherit; font-variant-numeric: tabular-nums; cursor: pointer; }
.j-pager__page:hover { background: var(--surface-2); color: var(--ink); }
.j-pager__page[aria-current="page"] { background: var(--surface-3); color: var(--ink); font-weight: 650; }
.j-pager__gap { min-width: 18px; text-align: center; color: var(--ink-3); }
.j-pager .j-iconbtn:disabled { opacity: 0.35; cursor: default; pointer-events: none; }

/* Segmented */
.j-seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: calc(var(--r-ctl) + 3px); background: var(--surface-2); border: 1px solid var(--line); }
.j-seg button { height: calc(var(--ctl) - 8px); padding: 0 var(--pad); border: 0; border-radius: var(--r-ctl); background: transparent; color: var(--ink-2); font: inherit; font-size: var(--fs-s); font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.j-seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); }
.j-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--radius-pill); background: var(--surface-3); color: var(--ink); font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.j-count--brand { background: var(--brand); color: var(--on-brand); }

/* Metric */
.j-metric { container-type: inline-size; display: grid; gap: 6px; padding: var(--pad) calc(var(--pad) + 4px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.j-metric__label { font-size: var(--fs-s); color: var(--ink-2); font-weight: 550; display: flex; justify-content: space-between; gap: 8px; }
.j-metric__value { font-size: min(calc(var(--fs) * 2), 15.5cqi); line-height: 1.1; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.j-metric__trend { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-s); font-weight: 600; font-variant-numeric: tabular-nums; }
.j-metric__trend--up { color: var(--positive); }
.j-metric__trend--down { color: var(--danger); }
.j-spark { width: 100%; height: 28px; display: block; }
.j-spark path { fill: none; stroke: var(--ink-2); stroke-width: 1.5; }
.j-spark circle { fill: var(--brand); }

/* A row of actions: equal columns so every button has the same width and the row never breaks loose. */
.j-actions { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 8px; }
.j-actions .j-btn { width: 100%; min-width: 0; justify-content: center; }

/* Card and list row */
.j-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); }
.j-card--lift { border-color: transparent; box-shadow: var(--shadow-1); }
.j-list { background: var(--surface); border-radius: var(--radius-l); overflow: hidden; }
.j-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--gap); min-height: var(--row); padding: 10px var(--pad); position: relative; }
.j-row + .j-row::before { content: ""; position: absolute; top: 0; right: 0; left: calc(var(--pad) + var(--ctl) + var(--gap)); height: 1px; background: var(--line); }
.j-row__tile { width: var(--ctl); height: var(--ctl); border-radius: calc(var(--r-ctl) - 2px); display: grid; place-items: center; background: var(--surface-2); color: var(--ink); }
.j-row__title { font-weight: 600; font-size: var(--fs); line-height: 1.3; }
.j-row__meta { font-size: var(--fs-s); color: var(--ink-2); line-height: 1.35; }
.j-row__end { text-align: right; display: grid; gap: 2px; justify-items: end; }

/* Drawer (side) and sheet (bottom) */
.j-drawer { display: grid; grid-template-rows: auto 1fr auto; background: var(--raised); border-left: 1px solid var(--line); box-shadow: var(--shadow-2); }
.j-drawer__head { display: flex; align-items: start; justify-content: space-between; gap: 12px; padding: var(--space-5) var(--space-5) var(--space-4); border-bottom: 1px solid var(--line); }
.j-drawer__body { padding: var(--space-5); display: grid; gap: var(--space-5); align-content: start; overflow: auto; }
.j-drawer__foot { display: flex; justify-content: flex-end; gap: 8px; padding: var(--space-4) var(--space-5); border-top: 1px solid var(--line); background: var(--surface-2); }
.j-sheet { background: var(--raised); border-radius: var(--radius-xl) var(--radius-xl) 0 0; box-shadow: var(--shadow-3); padding: 8px var(--pad) calc(var(--pad) + 8px); }
.j-sheet__grab { width: 40px; height: 5px; border-radius: var(--radius-pill); background: var(--line-strong); opacity: 0.55; margin: 0 auto 10px; }

/* Floating glass tab bar */
/* The tab bar of every app is the social network's (owner, 29/11): fixed, full width, icons only (the label stays for
   screen readers), the current one heavier. */
.j-tabbar { display: flex; height: 52px; background: var(--bg); box-shadow: inset 0 1px 0 var(--line); }
.j-tabbar a { flex: 1; min-width: 0; display: grid; place-items: center; color: var(--ink); font-size: 0; }
.j-tabbar a [data-lucide], .j-tabbar a svg { width: 26px; height: 26px; }
.j-tabbar a[aria-current="page"] svg { stroke-width: 2.6; }

/* Swipe to confirm (street) */
.j-swipe { position: relative; height: var(--control-rua); border-radius: var(--radius-pill); background: var(--action); color: var(--on-action); display: grid; place-items: center; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; overflow: hidden; user-select: none; }
.j-swipe__thumb { position: absolute; left: 5px; top: 5px; bottom: 5px; aspect-ratio: 1; border-radius: 50%; background: var(--on-action); color: var(--action); display: grid; place-items: center; }
.j-swipe__thumb [data-lucide], .j-swipe__thumb svg { width: 26px; height: 26px; stroke-width: 2.25; }

/* Notice */
.j-notice { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; padding: 14px max(var(--pad), 14px); border-radius: var(--radius-m); background: var(--surface-2); color: var(--ink); font-size: var(--fs); }
.j-notice--warning { background: var(--warning-soft); }
.j-notice--warning > [data-lucide], .j-notice--warning > svg { color: var(--warning); }
.j-notice--danger { background: var(--danger-soft); }
.j-notice--danger > [data-lucide], .j-notice--danger > svg { color: var(--danger); }
.j-notice--info { background: var(--info-soft); }
.j-notice--info > [data-lucide], .j-notice--info > svg { color: var(--info); }
.j-notice b { font-weight: 650; }

/* Place tree */
.j-tree { list-style: none; margin: 0; padding: 0; font-size: var(--fs); }
.j-tree ul { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 1px solid var(--line); margin-left: 11px; }
.j-tree a { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: var(--radius-s); color: var(--ink); white-space: nowrap; }
.j-tree a:hover { background: var(--surface-2); }
.j-tree a[aria-current="true"] { background: var(--surface-3); font-weight: 600; }
.j-tree a .j-faint { margin-left: auto; font-size: var(--fs-s); }
.j-tree [data-lucide], .j-tree svg { width: 15px; height: 15px; color: var(--ink-3); }

/* Shell: operator and business web panels */
.j-shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100%; background: var(--bg); }
.j-side { display: flex; flex-direction: column; gap: 2px; padding: 12px 10px; border-right: 1px solid var(--line); background: var(--bg); }
.j-side__brand { display: flex; align-items: center; gap: 10px; height: 36px; padding: 0 8px; margin-bottom: 8px; font-weight: 700; font-size: 14px; letter-spacing: -0.01em; }
/* The brand leads to the panel start; as a link it keeps the brand's look, never a menu item's (.j-side a). */
.j-side a.j-side__brand { height: 36px; padding: 0 8px; margin-bottom: 8px; font-weight: 700; font-size: 14px; letter-spacing: -0.01em; color: var(--ink); border-radius: 0; }
.j-side a.j-side__brand:hover { background: none; color: var(--ink); }
.j-side__mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.j-side__mark i { width: 6px; height: 6px; border-radius: 1px; background: var(--brand); display: block; }
.j-side__group { display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: transparent; font: inherit; font-size: 11.5px; font-weight: 600; color: var(--ink-3); padding: 14px 10px 6px; cursor: pointer; text-align: left; }
.j-side__group::after { content: ""; margin-left: auto; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 160ms ease; }
.j-side__group[aria-expanded="false"]::after { transform: rotate(-45deg); }
.j-side__group[aria-expanded="false"] + .j-side__items { display: none; }
.j-side__items { display: grid; gap: 2px; }
.j-side a[draggable="true"]::before { content: ""; position: absolute; left: 1px; top: 50%; width: 6px; height: 12px; margin-top: -6px; background: radial-gradient(circle, currentColor 1px, transparent 1.3px) 0 0 / 3px 3px; opacity: 0; transition: opacity 120ms ease; }
.j-side a[draggable="true"]:hover::before, .j-side a.is-dragging::before { opacity: 0.6; }
.j-side a.is-dragging { background: var(--raised); color: var(--ink); box-shadow: var(--shadow-2); cursor: grabbing; }
.j-side__drop { height: 2px; margin: 1px 10px; border-radius: 2px; background: var(--focus); }
.j-side a { position: relative; display: flex; align-items: center; gap: 10px; height: 30px; padding: 0 10px; border-radius: var(--radius-s); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.j-side a:hover { background: var(--surface-2); color: var(--ink); }
.j-side a[aria-current="page"] { background: var(--surface-3); color: var(--ink); font-weight: 600; }
.j-side a .j-count { margin-left: auto; }
.j-side [data-lucide], .j-side svg { width: 16px; height: 16px; }
.j-top { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 var(--space-6); border-bottom: 1px solid var(--line); background: var(--bg); }
.j-crumb { display: flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.j-crumb b { color: var(--ink); font-weight: 600; }
.j-search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: 280px; height: 34px; padding: 0 12px; border-radius: var(--radius-s); border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); font-size: 13px; }
.j-search .j-kbd { margin-left: auto; flex: none; }
.j-search input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; outline: none; }
.j-search input::placeholder { color: var(--ink-3); }
.j-search input::-webkit-search-cancel-button { display: none; }
.j-search:focus-within { border-color: var(--line-strong); outline: 2px solid var(--focus); outline-offset: 1px; }

.j-top .j-btn { height: 34px; padding: 0 14px; font-size: 13px; }
.j-top .j-seg button { height: 26px; }

/* Page frames: every screen is composed from these, never from inline type, color, radius or padding */
.j-page { padding: var(--space-6) var(--space-8); display: grid; gap: var(--space-5); align-content: start; min-height: 0; overflow: clip; }
.j-page--split { grid-template-columns: minmax(0, 1fr) var(--aside, 340px); }
/* The side column stays on screen while the main column scrolls, and scrolls on its own when it is taller */
.j-page--split > :last-child { position: sticky; top: var(--space-6); align-self: start; max-height: calc(100vh - 52px - var(--space-6) * 2); overflow: auto; overscroll-behavior: contain; }
.j-screen { position: absolute; inset: 0; padding: 60px 16px 0; display: grid; gap: 14px; align-content: start; }
.j-stack { display: grid; gap: var(--gap); align-content: start; }
.j-stack--lg { gap: var(--space-5); }
.j-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.j-cluster { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.j-cols { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 12px; align-items: start; }
.j-section { font-size: var(--fs-l); line-height: 1.3; font-weight: 650; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.j-meta { font-size: var(--fs-s); color: var(--ink-2); }
.j-strong { font-weight: 650; }
.j-value { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.j-tile { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r-ctl) + 6px); padding: max(var(--pad), 14px); display: grid; gap: var(--gap); align-content: start; }
.j-tile--lift { border-color: transparent; box-shadow: var(--shadow-1); }
.j-tile--flat { background: transparent; }
.j-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-s); font-weight: 650; white-space: nowrap; }
.j-metric--compact { padding: 12px 14px; }
.j-metric--compact .j-metric__value { font-size: min(calc(var(--fs) * 1.6), 15.5cqi); }
.j-btn--round { width: var(--ctl); padding: 0; border-radius: var(--radius-pill); }
.j-avatar { width: var(--ctl); height: var(--ctl); border-radius: 50%; background: var(--surface-3); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: var(--fs-s); flex: none; }
.j-avatar--lg { width: 56px; height: 56px; font-size: 18px; }
.j-row__tile--danger { background: var(--danger-soft); color: var(--danger); }
.j-row__tile--warning { background: var(--warning-soft); color: var(--warning); }
.j-gantt > .is-last { border-bottom: 0; }
.j-rail { border-right: 1px solid var(--line); padding: 20px 16px; display: grid; gap: 4px; align-content: start; }
.j-rail a { display: flex; align-items: center; gap: 10px; height: var(--ctl); padding: 0 10px; border-radius: var(--r-ctl); color: var(--ink-2); font-weight: 600; }
.j-rail a[aria-current="step"] { background: var(--surface-3); color: var(--ink); }
.j-rail a.is-done svg { color: var(--positive); }
.j-aside { border-left: 1px solid var(--line); background: var(--surface-2); padding: var(--space-5); display: grid; gap: var(--space-4); align-content: start; }
.j-mapbar { position: absolute; top: 58px; left: 16px; right: 16px; display: flex; justify-content: space-between; align-items: center; z-index: 4; }
.j-pill-glass { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: var(--radius-pill); background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); font-weight: 700; font-size: var(--fs-s); }
.j-dock { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding-bottom: 22px; background: var(--bg); }

.j-pane { border-right: 1px solid var(--line); padding: 16px 12px; display: grid; gap: 12px; align-content: start; }
.j-notice .j-btn { height: 28px; }
.j-footnote { font-size: 12px; color: var(--ink-3); text-align: center; }
.j-list--line { border: 1px solid var(--line); }
.j-status--bare { background: transparent; padding: 0; }
.j-sheet--dock { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px var(--pad) 32px; display: grid; gap: var(--gap); }
.j-seg--glass { background: var(--glass); border-color: var(--glass-line); border-radius: var(--radius-pill); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); }
.j-seg--glass button { border-radius: var(--radius-pill); }
.j-seg--glass button[aria-pressed="true"] { background: var(--action); color: var(--on-action); }
.j-route { display: grid; gap: 10px; }
.j-route__stop { display: flex; align-items: center; gap: 12px; font-size: var(--fs); font-weight: 650; }
.j-route__stop::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 3px solid var(--ink); box-sizing: border-box; flex: none; }
.j-route__stop--to::before { border: 0; border-radius: 3px; background: var(--map-route); }
.j-agenda__heads { display: grid; grid-template-columns: 44px repeat(var(--cols, 2), minmax(0, 1fr)); column-gap: 8px; font-size: 13px; font-weight: 650; }
.j-agenda__hour--last { border-bottom: 1px solid var(--line); }
.j-slot--short { padding: 4px 9px; line-height: 1.15; }
.j-legend { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); }
.j-legend::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--action); }
.j-gantt__type { font-weight: 400; color: var(--ink-3); }
.j-gantt > .is-today { color: var(--ink); }
.j-gantt > .j-gantt__head.j-gantt__room { justify-content: flex-start; display: flex; }
.j-browser { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-2); }
.j-browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--ink-3); }
.j-browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); display: block; }
.j-browser__bar span { margin-left: 8px; }
.j-browser__body { padding: 22px 20px; display: grid; gap: 12px; }
.j-logo-square { width: 16px; height: 16px; border-radius: 4px; background: var(--brand); flex: none; }
.j-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--line); }
.j-total b { font-size: 18px; font-variant-numeric: tabular-nums; }
.j-progress { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 4px; }
.j-progress i { height: 4px; border-radius: 2px; background: var(--surface-3); display: block; }
.j-progress i.is-done { background: var(--brand); }

.j-scrim { position: absolute; inset: 0; background: var(--scrim); }

/* Progress, timeline, photo and month: shared by every segment that needs them */
.j-bar { height: 8px; border-radius: var(--radius-pill); background: var(--surface-3); overflow: hidden; }
.j-bar i { display: block; height: 100%; border-radius: var(--radius-pill); background: var(--brand); }
.j-timeline { display: grid; gap: 0; }
.j-timeline__item { display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding-bottom: 14px; position: relative; }
.j-timeline__item::before { content: ""; position: absolute; left: 9px; top: 14px; bottom: 0; width: 2px; background: var(--line); }
.j-timeline__item:last-child::before { display: none; }
.j-timeline__dot { width: 20px; height: 20px; border-radius: 50%; background: var(--surface-3); color: var(--ink-2); display: grid; place-items: center; z-index: 1; }
.j-timeline__dot svg { width: 12px; height: 12px; }
.j-timeline__item--brand .j-timeline__dot { background: var(--brand-soft); color: var(--brand-ink); }
.j-photo { aspect-ratio: 4 / 3; border-radius: var(--r-ctl); background: var(--surface-3); color: var(--ink-3); display: grid; place-items: center; position: relative; overflow: hidden; }
.j-photo span { position: absolute; left: 8px; bottom: 8px; font-size: 12px; font-weight: 650; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--glass); color: var(--ink); }
.j-month { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.j-month__head { padding: 8px 12px; border-radius: var(--radius-s); font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.j-month__day { min-height: 96px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); display: grid; gap: 8px; align-content: start; font-size: 12px; }
.j-month__day:nth-child(7n) { border-right: 0; }
.j-month__day b { font-variant-numeric: tabular-nums; color: var(--ink-2); font-weight: 600; }
.j-month__day.is-today b { color: var(--on-action); background: var(--action); border-radius: var(--radius-pill); width: 22px; height: 22px; display: grid; place-items: center; }
.j-month__day.is-out { background: var(--surface-2); }
.j-post { display: flex; align-items: center; gap: 5px; padding: 3px 6px; border-radius: 6px; background: var(--surface-2); font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.j-post svg { width: 12px; height: 12px; flex: none; }
.j-post--wait { background: var(--warning-soft); color: var(--warning); }
.j-post--ok { background: var(--positive-soft); color: var(--positive); }
.j-post--live { background: var(--brand-soft); color: var(--brand-ink); }
.j-board { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 12px; align-items: start; }
.j-board__col { background: var(--surface-2); border-radius: calc(var(--r-ctl) + 6px); padding: 12px; display: grid; gap: 8px; align-content: start; }

/* Builder: choices, toggles, theme samples and the site canvas */
.j-tile.is-selected { border-color: var(--action); box-shadow: 0 0 0 1px var(--action); }
.j-toggle { width: 44px; height: 26px; border-radius: var(--radius-pill); background: var(--surface-3); position: relative; flex: none; border: 0; }
.j-toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-1); }
.j-toggle[aria-checked="true"] { background: var(--action); }
.j-toggle[aria-checked="true"]::after { left: 21px; }
.j-swatch { display: flex; gap: 4px; }
.j-swatch i { width: 22px; height: 22px; border-radius: 6px; display: block; border: 1px solid var(--line); }
.j-swatch i:nth-child(1) { background: var(--action); }
.j-swatch i:nth-child(2) { background: var(--brand); }
.j-swatch i:nth-child(3) { background: var(--surface-3); }
.j-swatch i:nth-child(4) { background: var(--bg); }
.j-themed { font-family: var(--font-ui); color: var(--ink); background: var(--surface); }
.j-canvas { background: var(--surface-2); padding: var(--space-6); display: grid; justify-items: center; align-content: start; overflow: hidden; }
.j-site { width: 100%; max-width: 720px; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-2); }
.j-block { position: relative; padding: 22px 28px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; }
.j-block.is-editing { outline: 2px solid var(--focus); outline-offset: -2px; }
.j-block__tag { position: absolute; top: -1px; left: -1px; padding: 2px 8px; border-radius: 0 0 6px 0; background: var(--focus); color: var(--bg); font-size: 11px; font-weight: 650; }
.j-flow { display: grid; grid-template-columns: repeat(var(--n, 7), minmax(0, 1fr)); gap: 8px; align-items: stretch; }
.j-flow .j-tile { gap: 6px; }

/* Address bar: every web screen shows its address, in the one pattern */
.j-urlbar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 16px; background: var(--surface-2); border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-3); white-space: nowrap; }
.j-urlbar b { color: var(--ink); font-weight: 500; }
.j-urlbar svg { width: 12px; height: 12px; }

/* Messenger (web): the inbox in the shape people already know from the big chat apps; every color comes from the theme. */
.j-messenger { display: grid; grid-template-columns: 68px 380px minmax(0, 1fr) 340px; min-height: 0; background: var(--bg); }
.j-side--rail { align-items: center; gap: 4px; padding: 12px 0; } .j-side--rail .j-side__mark { width: 30px; height: 30px; margin-bottom: 10px; } .j-side--rail a.j-side__mark { width: 30px; height: 30px; margin-bottom: 10px; padding: 0; display: grid; place-items: center; gap: normal; justify-content: normal; border-radius: 6px; background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 800; } .j-side--rail a { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: var(--radius-m); } .j-side--rail a svg { width: 20px; height: 20px; } .j-side--rail a .j-count { position: absolute; top: 2px; right: 0; margin: 0; } .j-side--rail a[draggable="true"]::before { left: -6px; } .j-side--rail hr { width: 28px; margin: 6px 0; border: 0; border-top: 1px solid var(--line); } .j-side__foot { margin-top: auto; display: grid; gap: 8px; justify-items: center; }
.j-inbox { position: relative; display: grid; grid-template-rows: auto auto auto auto minmax(0, 1fr); min-height: 0; border-right: 1px solid var(--line); background: var(--surface); } .j-inbox__head { display: flex; align-items: center; gap: 2px; padding: 14px 10px 4px 20px; } .j-inbox__head h2 { margin: 0 auto 0 0; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; } .j-inbox__search { display: flex; align-items: center; gap: 10px; height: 38px; margin: 6px 14px; padding: 0 14px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink-3); font-size: 13.5px; } .j-inbox__chips { display: flex; gap: 6px; padding: 4px 14px 8px; overflow: hidden; mask-image: linear-gradient(90deg, black 86%, transparent); } .j-inbox__list { display: grid; align-content: start; overflow: hidden; padding-bottom: 8px; }
.j-filter { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink-2); font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; } .j-filter[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-ink); } .j-filter svg { width: 14px; height: 14px; }
.j-chatrow { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 1px 12px; align-items: center; margin: 0 8px; padding: 9px 10px; border-radius: var(--radius-m); color: var(--ink); } .j-chatrow:hover, .j-chatrow.is-hover { background: var(--surface-2); } .j-chatrow[aria-current="true"] { background: var(--surface-3); } .j-chatrow > .j-avatar { grid-row: span 2; position: relative; width: 48px; height: 48px; font-size: 15px; } .j-chatrow--flat > .j-avatar { grid-row: auto; height: 26px; background: transparent; color: var(--brand-ink); } .j-chatrow__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; } .j-chatrow__time { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; } .j-chatrow.is-unread .j-chatrow__time, .j-chatrow--flat .j-chatrow__time { color: var(--brand-ink); font-weight: 650; }
.j-chatrow__last { display: flex; align-items: center; gap: 4px; min-width: 0; font-size: 13.5px; color: var(--ink-2); } .j-chatrow__last > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .j-chatrow__last svg { width: 16px; height: 16px; flex: none; } .j-chatrow__end { display: flex; align-items: center; gap: 6px; color: var(--ink-3); } .j-chatrow__end svg { width: 15px; height: 15px; } .j-chatrow__menu { display: none; width: 24px; height: 24px; } .j-chatrow.is-hover .j-chatrow__menu { display: inline-grid; } .j-typing { color: var(--brand-ink); font-weight: 600; } .j-ticks { display: inline-flex; color: var(--ink-3); } .j-ticks.is-read { color: var(--info); }
.j-channel { position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-1); } .j-channel svg { width: 12px; height: 12px; } .j-label { display: inline-flex; align-items: center; height: 18px; padding: 0 7px; border-radius: var(--radius-pill); background: var(--info-soft); color: var(--info); font-size: 11px; font-weight: 650; white-space: nowrap; }
.j-menu { position: absolute; z-index: 5; display: grid; min-width: 230px; padding: 6px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--raised); box-shadow: var(--shadow-3); } .j-menu button { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; border: 0; border-radius: var(--radius-s); background: transparent; color: var(--ink); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; } .j-menu button:hover { background: var(--surface-2); } .j-menu svg { width: 16px; height: 16px; color: var(--ink-2); } .j-menu hr { margin: 4px 8px; border: 0; border-top: 1px solid var(--line); } .j-menu .is-danger, .j-menu .is-danger svg { color: var(--danger); }
.j-chat { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; border-right: 1px solid var(--line); background: var(--bg); } .j-chat__head { display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 12px 0 16px; border-bottom: 1px solid var(--line); background: var(--surface); } .j-chat__head > .j-avatar { position: relative; width: 40px; height: 40px; } .j-chat__who { display: grid; min-width: 0; margin: 0 auto 0 4px; } .j-chat__who b { font-size: 15px; } .j-chat__who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .j-owner { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 8px 0 3px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; } .j-owner .j-avatar { width: 24px; height: 24px; font-size: 10px; }
.j-thread { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px 6%; overflow: hidden; background-color: var(--bg); background-image: radial-gradient(var(--line) 1px, transparent 1.4px); background-size: 20px 20px; }
.j-bubble { position: relative; align-self: flex-start; max-width: 72%; padding: 12px 14px; border-radius: 10px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-1); font-size: 14px; line-height: 1.4; } .j-bubble--out { align-self: flex-end; background: var(--brand-soft); } .j-bubble.is-first, .j-bubble--note { margin-top: 8px; } .j-bubble--in.is-first { border-top-left-radius: 0; } .j-bubble--out.is-first { border-top-right-radius: 0; } .j-bubble.is-first::before { content: ""; position: absolute; top: 0; width: 8px; height: 12px; background: inherit; } .j-bubble--in.is-first::before { left: -8px; clip-path: polygon(0 0, 100% 0, 100% 100%); } .j-bubble--out.is-first::before { right: -8px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.j-bubble__text::after { content: ""; display: inline-block; width: var(--meta, 58px); } .j-bubble__meta { position: absolute; right: 14px; bottom: 12px; display: inline-flex; align-items: center; gap: 3px; font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; } .j-bubble__meta svg { width: 15px; height: 15px; } .j-bubble__from { display: flex; align-items: center; gap: 4px; margin-bottom: 1px; font-size: 12.5px; font-weight: 650; color: var(--brand-ink); } .j-bubble.has-reaction { margin-bottom: 14px; } .j-reaction { position: absolute; left: 8px; bottom: -16px; padding: 2px 7px; line-height: 1.2; border-radius: var(--radius-pill); background: var(--surface); box-shadow: var(--shadow-1); font-size: 14px; }
.j-quote { display: grid; gap: 2px; margin-bottom: 8px; padding: 10px; border-left: 3px solid var(--brand); border-radius: 6px; background: var(--surface-2); font-size: 13px; color: var(--ink-2); } .j-quote b { font-size: 12.5px; color: var(--brand-ink); } .j-doc { display: flex; align-items: center; gap: 10px; min-width: 270px; margin-bottom: 16px; padding: 10px; border-radius: 8px; background: var(--surface-2); } .j-doc__icon { display: grid; place-items: center; width: 34px; height: 40px; border-radius: 5px; background: var(--danger-soft); color: var(--danger); font-size: 10px; font-weight: 800; } .j-voice { display: flex; align-items: center; gap: 10px; min-width: 250px; padding: 2px 0 16px; } .j-voice__play { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border: 0; border-radius: 50%; background: var(--brand); color: var(--on-brand); } .j-wave { flex: 1; height: 26px; color: var(--ink-3); }
.j-daypill, .j-unread { align-self: center; margin: 10px 0 4px; padding: 5px 12px; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow-1); font-size: 12px; font-weight: 600; color: var(--ink-2); } .j-unread { color: var(--brand-ink); } .j-sysnote { align-self: center; display: flex; align-items: center; gap: 8px; max-width: 86%; margin: 4px 0; padding: 12px; border-radius: 8px; background: var(--warning-soft); color: var(--ink-2); font-size: 12.5px; } .j-sysnote svg { width: 14px; height: 14px; flex: none; } .j-bubble--note { align-self: flex-end; background: var(--warning-soft); box-shadow: none; outline: 1px dashed var(--warning); } .j-bubble--note .j-bubble__from { color: var(--warning); }
.j-chat__foot { display: grid; gap: 8px; padding: 8px 12px 10px; border-top: 1px solid var(--line); background: var(--surface); } .j-suggest { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 12px; border-radius: var(--radius-m); background: var(--info-soft); font-size: 13px; } .j-suggest > span { flex: 1; min-width: 0; } .j-suggest > svg { color: var(--info); flex: none; } .j-composer { display: flex; align-items: center; gap: 2px; } .j-composer__field { flex: 1; display: flex; align-items: center; height: 42px; margin: 0 6px; padding: 0 14px; border-radius: var(--radius-l); background: var(--surface-2); color: var(--ink-3); font-size: 14px; } .j-composer__send { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--brand); color: var(--on-brand); }
.j-contact { display: flex; flex-direction: column; min-height: 0; overflow: hidden; background: var(--bg); } .j-contact__head { display: flex; align-items: center; gap: 10px; height: 60px; flex: none; padding: 0 16px; border-bottom: 1px solid var(--line); background: var(--surface); font-weight: 600; } .j-contact__block { display: grid; gap: 10px; margin-bottom: 8px; padding: 16px; background: var(--surface); } .j-contact__hero { justify-items: center; gap: 2px; padding-top: 16px; text-align: center; } .j-contact__hero > .j-avatar { width: 72px; height: 72px; margin-bottom: 6px; font-size: 24px; }
.j-contact__actions { display: flex; gap: 8px; margin-top: 10px; } .j-contact__actions button { display: grid; justify-items: center; gap: 4px; width: 78px; padding: 10px 0 8px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 12px; } .j-contact__actions svg { color: var(--brand-ink); } .j-contact__media { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .j-contact__media span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 8px; background: var(--surface-2); color: var(--ink-3); } .j-contact__line { display: flex; align-items: center; gap: 14px; min-height: 36px; font-size: 14px; } .j-contact__line > svg { flex: none; color: var(--ink-3); } .j-contact__line .j-toggle { margin-left: auto; } .j-contact__line.is-danger, .j-contact__line.is-danger svg { color: var(--danger); }

/* Focus mode: one decision at a time, nothing else on the screen */
.j-focus { display: grid; justify-items: center; align-content: start; gap: var(--space-5); padding: var(--space-10) var(--space-8); overflow: hidden; }
.j-focus > * { width: min(760px, 100%); }

/* Phone frame for screen showcases */
.j-phone { width: 390px; height: 844px; border-radius: 52px; padding: 11px; background: #0b0b0c; box-shadow: 0 30px 80px rgba(0,0,0,0.28); flex: none; }
.j-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden; background: var(--bg); }
.j-status-bar { position: absolute; inset: 0 0 auto 0; height: 50px; padding: 18px 30px 0 34px; display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; color: var(--ink); z-index: 5; font-family: var(--font-ui); }
.j-status-bar span:last-child { display: flex; gap: 6px; align-items: center; }
.j-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 120px; height: 34px; border-radius: 20px; background: #000; z-index: 6; }

/* Business switch: one person, many businesses and segments; the menu follows the business picked */
.j-switch { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px 8px 8px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--line); font-weight: 650; font-size: 15px; color: var(--ink); white-space: nowrap; }
.j-switch__logo { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; background: var(--surface-3); color: var(--ink); flex: none; }
.j-switch__name { overflow: hidden; text-overflow: ellipsis; }
.j-switch--wide { display: flex; width: 100%; height: auto; min-height: 48px; margin-bottom: 8px; padding-block: 8px; border-radius: var(--r-ctl); white-space: normal; line-height: 1.2; }
.j-switch--wide .j-switch__name { overflow: visible; }
.j-switch__kind { font-size: 12px; font-weight: 550; color: var(--ink-2); }
/* In a top bar the switch is one line: the business name; its kind shows in the menu it opens */
.j-top .j-switch { min-height: 40px; padding: 0 12px 0 6px; }
.j-top .j-switch__kind { display: none; }
.j-top .j-switch__logo { width: 28px; height: 28px; }
.j-biz { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: var(--radius-l); }
.j-biz[aria-current="true"] { background: var(--surface-2); }
.j-biz__logo { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-3); color: var(--ink); }
.j-biz__name { font-weight: 650; font-size: 16px; }
.j-biz__meta { font-size: 13px; color: var(--ink-2); }
.j-biz__menu { margin-top: 4px; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Day strip and agenda: time runs down, one column per professional or resource */
.j-days { display: flex; gap: 6px; }
.j-days button { flex: 1; display: grid; gap: 2px; justify-items: center; padding: 8px 0; border-radius: 14px; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 600; }
.j-days button b { font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.j-days button[aria-pressed="true"] { background: var(--action); color: var(--on-action); }
.j-days button[aria-pressed="true"] b { color: var(--on-action); }
.j-agenda { display: grid; grid-template-columns: 44px repeat(var(--cols, 2), minmax(0, 1fr)); column-gap: 8px; position: relative; }
.j-agenda__hour { height: 56px; font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; border-top: 1px solid var(--line); padding-top: 2px; }
.j-agenda__col { position: relative; border-top: 1px solid transparent; }
.j-slot { z-index: 1; position: absolute; left: 0; right: 0; border-radius: 12px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1); display: grid; gap: 1px; align-content: start; overflow: hidden; }
.j-slot b { font-size: 13px; font-weight: 650; }
.j-slot span { font-size: 12px; color: var(--ink-2); }
.j-slot--brand { background: var(--brand-soft); border-color: transparent; box-shadow: none; }
.j-slot--brand b { color: var(--brand-ink); }
.j-slot--free { background: var(--surface-2); border-style: dashed; box-shadow: none; }
.j-now { position: absolute; left: 44px; right: 0; height: 2px; background: var(--brand); }
.j-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

/* Rooms and resources: a grid of states, each with a word, never color alone */
.j-rooms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.j-room { aspect-ratio: 1; border-radius: 16px; padding: 10px; display: grid; align-content: space-between; background: var(--surface); border: 1px solid var(--line); }
.j-room b { font-size: 18px; font-variant-numeric: tabular-nums; }
.j-room span { font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.j-room--busy { background: var(--surface-3); border-color: transparent; }
.j-room--dirty { background: var(--warning-soft); border-color: transparent; }
.j-room--dirty span { color: var(--warning); }
.j-room--arrive { background: var(--brand-soft); border-color: transparent; }
.j-room--arrive span { color: var(--brand-ink); }

/* Booking map: resources down, days across */
.j-gantt { display: grid; grid-template-columns: 150px repeat(var(--days, 10), minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; background: var(--surface); }
.j-gantt > div { height: 44px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); position: relative; font-size: 13px; }
.j-gantt > .j-gantt__head { background: var(--surface-2); display: grid; place-items: center; font-size: 12px; color: var(--ink-2); font-weight: 600; }
.j-gantt > .j-gantt__room { border-left: 0; display: flex; align-items: center; gap: 8px; padding: 0 12px; font-weight: 600; }
.j-stay { position: absolute; top: 4px; bottom: 4px; border-radius: 8px; padding: 0 12px; display: flex; align-items: center; font-size: 12.5px; font-weight: 650; white-space: nowrap; overflow: hidden; background: var(--surface-3); color: var(--ink); z-index: 1; }
.j-stay--brand { background: var(--action); color: var(--on-action); }
.j-stay--hold { background: transparent; border: 1.5px dashed var(--line-strong); color: var(--ink-2); }

@media (prefers-reduced-motion: reduce) { .j-btn { transition: none; } }
/* The approved customer screens are drawn at 390 x 844; this frame gives them exactly that glass, like every other phone. */
.j-phone--fit { width: 412px; height: 866px; }

/* Brand mark: the real JJLJ drawing; ink and metal follow the theme so it reads on any finish, the red never changes. */
.j-logo { display: block; width: auto; height: 28px; flex: none; }
.j-logo__ink { fill: var(--ink); }
.j-logo__metal { fill: var(--ink-2); }
.j-logo__red { fill: #c1121f; }

/* Public site (the store of platforms): navigation, the configurator with live devices, module pieces, plans,
   product page, checkout and footer. Every color comes from the theme; the pieces are reusable by any client site. */
.j-public { background: var(--bg); color: var(--ink); overflow: hidden; }
.j-sitenav { position: relative; z-index: 3; display: flex; align-items: center; gap: 28px; height: 68px; padding: 0 48px; border-bottom: 1px solid var(--line); background: var(--glass); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); }
.j-sitenav .j-logo { height: 30px; }
.j-sitenav__links { display: flex; gap: 2px; }
.j-sitenav__links a { padding: 8px 12px; border-radius: var(--radius-s); font-size: 14.5px; font-weight: 550; color: var(--ink-2); white-space: nowrap; }
.j-sitenav__links a:hover, .j-sitenav__links a[aria-current="page"] { background: var(--surface-2); color: var(--ink); }
.j-sitenav__end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.j-sitenav .j-btn, .j-checkout-top .j-btn { height: 38px; font-size: 14px; }
.j-locale { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 600; white-space: nowrap; }
.j-locale svg { width: 15px; height: 15px; }

/* Hero: a short statement, then the configurator does the talking */
.j-hero__title, .j-band__title, .j-product__title, .j-mhero__title span, .j-invite__title, .j-values__slogan { text-wrap: balance; }
.j-hero { display: grid; justify-items: center; gap: 18px; padding: 64px 48px 32px; text-align: center; }
.j-kicker { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 16px 0 8px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 13.5px; font-weight: 600; }
.j-kicker .j-logo { height: 22px; }
.j-hero__title { max-width: 1000px; font-size: 68px; line-height: 1.02; font-weight: 700; letter-spacing: -0.04em; }
.j-hero__title span { display: block; color: var(--ink-3); }
.j-hero__lead { max-width: 740px; font-size: 19px; line-height: 1.5; color: var(--ink-2); }
.j-hero__note { font-size: 13px; color: var(--ink-3); }
.j-hero__actions { display: flex; gap: 10px; margin-top: 6px; }
.j-hero__actions .j-btn { height: 48px; padding: 0 22px; font-size: 15.5px; border-radius: var(--radius-pill); }

/* Configurator: pick the business and the finish, the platform appears in its real screens */
.j-showcase { position: relative; display: grid; gap: 18px; margin: 0 48px; padding: 18px 24px 22px; border-radius: var(--radius-xl); border: 1px solid var(--line); background-color: var(--surface-2); background-image: radial-gradient(var(--line) 1px, transparent 1.3px); background-size: 22px 22px; overflow: hidden; }
.j-showcase__bar { display: flex; align-items: center; gap: 14px; }
.j-showcase__label { font-size: 12.5px; font-weight: 650; color: var(--ink-3); white-space: nowrap; }
.j-showcase__picks { display: flex; flex: 1; gap: 6px; overflow: hidden; mask-image: linear-gradient(90deg, black 90%, transparent); -webkit-mask-image: linear-gradient(90deg, black 90%, transparent); }
.j-showcase__devices { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.j-showcase__captions { display: flex; justify-content: center; gap: 0; }
.j-showcase__captions span { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.j-showcase__captions svg { width: 15px; height: 15px; color: var(--ink-3); }
.j-showcase__summary { position: absolute; left: 50%; bottom: 66px; z-index: 4; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 8px 0 20px; border-radius: var(--radius-pill); border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: var(--shadow-3); font-size: 14px; white-space: nowrap; }
.j-showcase__summary .j-btn { height: 40px; border-radius: var(--radius-pill); }
.j-pick { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 11px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.j-pick svg { width: 16px; height: 16px; }
.j-pick[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.j-finish { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); }
.j-finish button { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.j-finish button i { display: block; width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(var(--brand) 0 50%, var(--ink) 0); box-shadow: inset 0 0 0 1px var(--line); }
.j-finish button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--action); }
.j-finish button.is-new { color: var(--ink-2); }
.j-finish button.is-new svg { width: 16px; height: 16px; }

/* A real screen shown at a smaller scale; the screen keeps its own theme and layout */
.j-device { position: relative; flex: none; width: calc(var(--w) * var(--k) * 1px); height: calc(var(--h) * var(--k) * 1px); overflow: hidden; }
.j-device__view { width: calc(var(--w) * 1px); height: calc(var(--h) * 1px); transform: scale(var(--k)); transform-origin: 0 0; pointer-events: none; }
.j-device--browser { border-radius: 14px; border: 1px solid var(--line-strong); box-shadow: var(--shadow-3); }
.j-device--phone { overflow: visible; }
.j-device--phone .j-device__view > .j-root { background: transparent; }
.j-device--left { z-index: 2; margin-right: -28px; }
.j-device--right { z-index: 2; margin-left: -28px; }

/* Bands of the long page */
.j-band { display: grid; gap: 28px; padding: 80px 48px 0; }
.j-band__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.j-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 650; color: var(--ink-2); }
.j-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.j-band__title { font-size: 46px; line-height: 1.04; font-weight: 700; letter-spacing: -0.035em; }
.j-band__lead { font-size: 17px; line-height: 1.55; color: var(--ink-2); }

/* Module pieces: each module is a piece with a tab on top; the ones in the platform are snapped in */
.j-pieces { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 14px; padding-top: 8px; }
.j-piece { position: relative; display: grid; gap: 10px; align-content: start; min-height: 158px; padding: 18px 16px 16px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-piece::before { content: ""; position: absolute; top: -8px; left: 50%; width: 30px; height: 15px; margin-left: -15px; border-radius: 9px 9px 0 0; border: 1px solid var(--line); border-bottom: 0; background: inherit; }
.j-piece__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--surface-2); color: var(--ink); }
.j-piece__name { font-size: 15px; font-weight: 650; }
.j-piece__meta { font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.j-piece__foot { display: flex; align-items: center; gap: 6px; margin-top: auto; font-size: 12.5px; font-weight: 650; color: var(--ink-2); }
.j-piece__foot svg { width: 14px; height: 14px; }
.j-piece.is-on { border-color: transparent; background: var(--brand-soft); }
.j-piece.is-on::before { border-color: transparent; }
.j-piece.is-on .j-piece__icon { background: var(--surface); color: var(--brand-ink); }
.j-piece.is-on .j-piece__foot { color: var(--brand-ink); }
.j-piece.is-lifted { z-index: 2; transform: translateY(-12px) rotate(-3deg); border-color: transparent; box-shadow: var(--shadow-3); }
.j-piece.is-lifted::before { border-color: transparent; }
.j-piece.is-more { place-content: center; justify-items: center; gap: 6px; border-style: dashed; background: transparent; text-align: center; color: var(--ink-2); }
.j-piece.is-more::before { border-style: dashed; background: var(--bg); }
.j-legend-row { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--ink-2); }
.j-legend-row span { display: inline-flex; align-items: center; gap: 8px; }
.j-legend-row i { display: block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); background: var(--surface); }
.j-legend-row i.is-on { border-color: transparent; background: var(--brand-soft); }
.j-legend-row i.is-lifted { border-color: transparent; box-shadow: var(--shadow-2); transform: rotate(-8deg); }

/* Linked to the network or on its own */
.j-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.j-way { display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 24px; align-items: center; padding: 32px; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--surface); }
.j-way__title { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.j-way__text { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.j-ticks-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 14.5px; }
.j-ticks-list li { display: flex; align-items: flex-start; gap: 10px; }
.j-ticks-list svg { width: 18px; height: 18px; margin-top: 1px; color: var(--positive); flex: none; }
.j-net { width: 200px; height: 200px; }
.j-net line { stroke: var(--line-strong); stroke-width: 1.5; }
.j-net circle { fill: var(--surface-3); }
.j-net .is-you { fill: var(--brand); }
.j-net .is-ring { fill: none; stroke: var(--brand); stroke-width: 1.5; stroke-dasharray: 4 5; }

/* Segments */
.j-segments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.j-segtile { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-segtile__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: var(--surface-2); color: var(--ink); }
.j-segtile__text { display: grid; min-width: 0; }
.j-segtile__text b { font-size: 15px; font-weight: 650; }
.j-segtile__text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; color: var(--ink-2); }
.j-segtile > svg:last-child { margin-left: auto; color: var(--ink-3); }

/* Brand values */
.j-values { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 56px; margin: 80px 48px 0; padding: 48px; border-radius: var(--radius-xl); background: var(--surface-2); }
.j-values__brand { display: grid; gap: 18px; align-content: start; }
.j-values__brand .j-logo { height: 150px; justify-self: start; }
.j-values__slogan { font-size: 34px; line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.j-values__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; }
.j-value-card { display: grid; gap: 8px; padding: 22px; border-radius: var(--radius-l); background: var(--surface); }
.j-value-card small { font-size: 12.5px; font-weight: 700; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.j-value-card b { font-size: 18px; letter-spacing: -0.01em; }
.j-value-card span { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.j-countries { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); align-items: center; }

/* Call to action and footer */
.j-invite { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; margin: 80px 48px 0; padding: 40px 48px; border-radius: var(--radius-xl); background: var(--brand-soft); }
.j-invite__title { font-size: 40px; line-height: 1.05; font-weight: 700; letter-spacing: -0.03em; }
.j-invite__steps { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.j-invite__steps span { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--surface); font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.j-invite__steps b { color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.j-invite .j-btn { height: 48px; padding: 0 22px; border-radius: var(--radius-pill); font-size: 15px; }
.j-sitefoot { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 72px; padding: 44px 48px 28px; border-top: 1px solid var(--line); }
.j-sitefoot .j-logo { height: 32px; }
.j-sitefoot__col { display: grid; gap: 2px; align-content: start; }
.j-sitefoot__col b { margin-bottom: 8px; font-size: 13px; font-weight: 650; }
.j-sitefoot__col a { padding: 4px 0; font-size: 14px; color: var(--ink-2); }
.j-sitefoot__legal { display: flex; align-items: center; justify-content: space-between; gap: 16px; grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* Product page: the platform of one segment, its live preview, modules and the price that follows the choices */
.j-crumbs { display: flex; align-items: center; gap: 6px; padding: 22px 48px 0; font-size: 13.5px; color: var(--ink-3); }
.j-crumbs svg { width: 14px; height: 14px; }
.j-crumbs b { font-weight: 600; color: var(--ink-2); }
.j-product { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; padding: 22px 48px 0; }
.j-product__main { display: grid; gap: 40px; min-width: 0; }
.j-product__head { display: grid; gap: 16px; }
.j-product__title { font-size: 54px; line-height: 1.02; font-weight: 700; letter-spacing: -0.04em; }
.j-product__lead { max-width: 720px; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.j-included { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.j-included__item { display: grid; gap: 8px; padding: 14px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); }
.j-included__item svg { color: var(--brand-ink); }
.j-included__item b { font-size: 14px; }
.j-included__item span { font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.j-viewer { display: grid; gap: 14px; justify-items: center; padding: 16px 16px 20px; border-radius: var(--radius-xl); border: 1px solid var(--line); background-color: var(--surface-2); background-image: radial-gradient(var(--line) 1px, transparent 1.3px); background-size: 22px 22px; }
.j-viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.j-sticky { position: sticky; top: 24px; display: grid; gap: 14px; align-self: start; max-height: calc(100vh - 48px); overflow: auto; overscroll-behavior: contain; }
.j-pricecard { display: grid; gap: 14px; padding: 24px; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-2); }
.j-pricecard__title { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.j-pricecard__big { display: flex; align-items: baseline; gap: 6px; }
.j-pricecard__big b { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.j-pricecard__big span { font-size: 14px; color: var(--ink-2); }
.j-lines { display: grid; gap: 8px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; }
.j-lines .j-between span:last-child { font-variant-numeric: tabular-nums; }
.j-assure { display: grid; gap: 8px; font-size: 13px; color: var(--ink-2); }
.j-assure span { display: flex; align-items: center; gap: 8px; }
.j-assure svg { width: 15px; height: 15px; color: var(--ink-3); }
.j-faq { display: grid; border-top: 1px solid var(--line); }
.j-faq details { padding: 18px 4px; border-bottom: 1px solid var(--line); }
.j-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 600; list-style: none; cursor: pointer; }
.j-faq summary::-webkit-details-marker { display: none; }
.j-faq summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.5px solid var(--ink-3); border-bottom: 1.5px solid var(--ink-3); transform: translateY(-2px) rotate(45deg); }
.j-faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.j-faq details p { max-width: 760px; margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }

/* Plans */
.j-pricing-head { display: grid; justify-items: center; gap: 16px; padding: 64px 48px 36px; text-align: center; }
.j-pricing-head .j-cluster { justify-content: center; }
.j-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; padding: 0 48px; }
.j-plan { position: relative; display: grid; grid-template-rows: auto auto auto auto 1fr; gap: 16px; padding: 28px 24px 24px; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--surface); }
.j-plan.is-featured { border-color: var(--ink); box-shadow: var(--shadow-2); }
.j-plan__badge { position: absolute; top: -12px; left: 24px; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--radius-pill); background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 650; }
.j-plan__name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.j-plan__desc { min-height: 42px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.j-plan__price { display: grid; gap: 2px; }
.j-plan__price b { font-size: 42px; line-height: 1; font-weight: 700; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.j-plan__price b small { margin-right: 4px; font-size: 20px; font-weight: 650; letter-spacing: 0; }
.j-plan__price span { font-size: 13px; color: var(--ink-2); }
.j-plan .j-btn { border-radius: var(--radius-pill); }
.j-plan .j-ticks-list { align-content: start; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; }
.j-extras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.j-extra { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-extra .j-segtile__icon { width: 36px; height: 36px; border-radius: 10px; }
.j-extra b { display: block; font-size: 14.5px; }
.j-extra span { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.j-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.j-service { display: grid; gap: 10px; padding: 24px; border-radius: var(--radius-xl); background: var(--surface-2); }
.j-service b { font-size: 18px; letter-spacing: -0.01em; }
.j-service .j-segtile__icon { background: var(--surface); }
.j-service p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.j-service strong { font-size: 15px; font-variant-numeric: tabular-nums; }

/* Checkout: one page, three blocks on the left, the order on the right */
.j-checkout-top { display: flex; align-items: center; gap: 24px; height: 68px; padding: 0 48px; border-bottom: 1px solid var(--line); }
.j-checkout-top .j-logo { height: 28px; }
.j-checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; padding: 32px 48px; }
.j-checkout__steps { display: flex; align-items: center; gap: 8px; margin: 0 auto; font-size: 13.5px; font-weight: 600; color: var(--ink-3); }
.j-checkout__steps span { display: inline-flex; align-items: center; gap: 8px; }
.j-checkout__steps i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); font-size: 12px; font-style: normal; font-variant-numeric: tabular-nums; }
.j-checkout__steps .is-done { color: var(--ink-2); }
.j-checkout__steps .is-done i { border-color: transparent; background: var(--positive-soft); color: var(--positive); }
.j-checkout__steps .is-current { color: var(--ink); }
.j-checkout__steps .is-current i { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.j-checkout__steps hr { width: 28px; margin: 0; border: 0; border-top: 1px solid var(--line-strong); }
.j-formcard { display: grid; gap: 18px; padding: 24px; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--surface); }
.j-formcard__head { display: flex; align-items: center; gap: 12px; }
.j-formcard__head i { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--surface-3); font-size: 13px; font-style: normal; font-weight: 700; }
.j-formcard__head i.is-done { background: var(--positive-soft); color: var(--positive); }
.j-formcard__head b { font-size: 18px; letter-spacing: -0.01em; }
.j-formcard__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.j-phonefield { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 8px; }
.j-select { display: flex; align-items: center; gap: 8px; height: var(--ctl); padding: 0 12px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface); font-size: var(--fs); white-space: nowrap; }
.j-select svg { width: 16px; height: 16px; color: var(--ink-3); }
.j-select > svg:last-child { margin-left: auto; }
.j-otp { display: flex; gap: 8px; }
.j-otp span { display: grid; place-items: center; width: 52px; height: 58px; border-radius: var(--radius-m); border: 1px solid var(--line-strong); background: var(--surface); font-size: 24px; font-weight: 650; font-variant-numeric: tabular-nums; }
.j-otp span.is-active { border-color: var(--focus); box-shadow: 0 0 0 3px var(--info-soft); }
.j-or { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-3); }
.j-or::before, .j-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.j-alt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.j-paymethods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.j-paymethod { display: grid; gap: 6px; align-content: start; padding: 14px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: 14.5px; font-weight: 650; text-align: left; cursor: pointer; }
.j-paymethod span { font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.j-paymethod svg { color: var(--ink-2); }
.j-paymethod[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.j-paymethod[aria-pressed="true"] svg { color: var(--ink); }
.j-pix { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; padding: 20px; border-radius: var(--radius-l); background: var(--surface-2); }
.j-copyfield { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 4px 0 12px; border-radius: var(--r-ctl); border: 1px solid var(--line-strong); background: var(--surface); }
.j-copyfield code { overflow: hidden; flex: 1; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-2); text-overflow: ellipsis; white-space: nowrap; }
.j-copyfield .j-btn { height: 34px; }
.j-numbered { display: grid; gap: 8px; margin: 0; padding-left: 20px; font-size: 14px; color: var(--ink-2); }

/* Phone version of the site */
.j-mnav { display: flex; align-items: center; justify-content: space-between; padding: 56px 18px 8px; }
.j-mnav .j-logo { height: 24px; }
.j-mhero { display: grid; gap: 14px; padding: 18px 18px 0; }
.j-mhero__title { font-size: 35px; line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.j-mhero__title span { display: block; color: var(--ink-3); }
.j-mhero__lead { font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.j-mhero .j-showcase__picks { margin-right: -18px; }
.j-mstage { display: grid; justify-items: center; height: 300px; margin: 16px 18px 0; padding-top: 14px; border-radius: var(--radius-xl); border: 1px solid var(--line); background-color: var(--surface-2); background-image: radial-gradient(var(--line) 1px, transparent 1.3px); background-size: 20px 20px; overflow: hidden; }
.j-mobile-bar { position: absolute; left: 14px; right: 14px; bottom: 26px; z-index: 6; display: flex; align-items: center; gap: 8px; padding: 6px; border-radius: var(--radius-pill); border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: var(--shadow-3); }
.j-mobile-bar .j-btn { flex: 1; height: 48px; border-radius: var(--radius-pill); }

/* Sign in: the build in progress on one side, the way in on the other */
.j-signin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 798px; }
.j-signin__side { display: grid; gap: 20px; align-content: center; padding: 48px 80px; border-right: 1px solid var(--line); background-color: var(--surface-2); background-image: radial-gradient(var(--line) 1px, transparent 1.3px); background-size: 22px 22px; }
.j-signin__side .j-kicker { justify-self: start; }
.j-signin__form { display: grid; gap: 18px; align-content: center; justify-self: center; width: 100%; max-width: 460px; padding: 48px 0; }

/* Media studio: library, stage, inspector and a multi-track timeline. One editor for reels, posts, ads and stories. */
.j-studio { display: grid; grid-template-columns: 284px minmax(0, 1fr) 320px; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; padding: 8px; min-height: 0; background: var(--bg); }
.j-library { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: hidden; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.j-library__chips { display: flex; gap: 6px; overflow: hidden; mask-image: linear-gradient(90deg, black 82%, transparent); }
.j-kit { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius-m); background: var(--surface-2); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.j-kit i { width: 18px; height: 18px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px var(--line); }
.j-kit b { margin-left: auto; font-weight: 600; color: var(--ink); white-space: nowrap; }
.j-kit > span { white-space: nowrap; }
.j-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.j-asset { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-s); background: linear-gradient(155deg, var(--surface-3), var(--tone, var(--brand-soft))); color: var(--ink-2); }
.j-asset > svg { width: 26px; height: 26px; opacity: 0.7; }
.j-asset__name { position: absolute; left: 5px; right: 5px; bottom: 5px; display: flex; justify-content: space-between; gap: 4px; padding: 2px 6px; border-radius: var(--radius-xs); background: var(--glass); color: var(--ink); font-size: 11px; font-weight: 650; white-space: nowrap; }
.j-asset__name span { overflow: hidden; text-overflow: ellipsis; }
.j-asset__badge { position: absolute; top: 5px; left: 5px; display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: var(--radius-pill); background: var(--glass); color: var(--ink); font-size: 10.5px; font-weight: 700; }
.j-asset__badge svg { width: 11px; height: 11px; }
.j-asset.is-used { box-shadow: inset 0 0 0 2px var(--action); }
.j-asset--audio { grid-column: span 2; aspect-ratio: auto; height: 46px; display: flex; justify-content: flex-start; gap: 10px; padding: 0 10px; background: var(--surface-2); }
.j-asset--audio > svg { width: 18px; height: 18px; flex: none; }
.j-asset--audio .j-wave { flex: 1; height: 22px; color: var(--ink-3); }
.j-asset--audio b { font-size: 12px; white-space: nowrap; }
.j-dropzone--thin { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-m); color: var(--ink-2); font-size: 12px; }

.j-studio-stage { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; background-color: var(--surface-2); background-image: radial-gradient(var(--line) 1px, transparent 1.4px); background-size: 16px 16px; }
.j-studio-stage__bar { display: flex; align-items: center; gap: 8px; padding: 8px 12px; }
.j-studio-stage__canvas { display: grid; place-items: center; min-height: 0; padding: 4px 0; }
.j-transport { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 12px 10px; }
.j-transport time { min-width: 116px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); text-align: center; }
.j-transport .j-transport__play { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); }
/* The frame is a still of the client's footage: its colors belong to the video, never to the interface theme. */
.j-reel { position: relative; height: 100%; max-height: 452px; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 16px; background: radial-gradient(90% 55% at 50% 42%, #c8743a 0%, #6b3518 46%, #1d0f09 100%); color: #fff; box-shadow: var(--shadow-3); }
.j-reel__subject { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); color: #f6d7b8; opacity: 0.55; }
.j-reel__subject svg { width: 120px; height: 120px; stroke-width: 1.2; }
.j-reel__title { position: absolute; left: 10%; right: 10%; top: 58%; padding: 6px 8px; outline: 1.5px solid #7aa7ff; font-size: 23px; font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; text-align: center; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }
.j-reel__title small { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; background: #ff3131; font-size: 13px; font-weight: 700; letter-spacing: 0; text-shadow: none; }
.j-reel__title i { position: absolute; width: 8px; height: 8px; border-radius: 2px; background: #fff; box-shadow: 0 0 0 1.5px #7aa7ff; }
.j-reel__title i:nth-of-type(1) { left: -4px; top: -4px; } .j-reel__title i:nth-of-type(2) { right: -4px; top: -4px; }
.j-reel__title i:nth-of-type(3) { left: -4px; bottom: -4px; } .j-reel__title i:nth-of-type(4) { right: -4px; bottom: -4px; }
.j-safe { position: absolute; border: 1px dashed rgba(255, 255, 255, 0.5); border-radius: 6px; font-size: 9.5px; font-weight: 600; color: rgba(255, 255, 255, 0.75); padding: 12px 14px; }
.j-reel__side { position: absolute; right: 8px; bottom: 96px; display: grid; gap: 14px; justify-items: center; opacity: 0.9; }
.j-reel__side svg { width: 20px; height: 20px; }
.j-reel__handle { position: absolute; left: 12px; right: 52px; bottom: 16px; display: grid; gap: 2px; font-size: 11px; }
.j-reel__handle b { font-size: 12px; }

.j-inspector { display: flex; flex-direction: column; gap: 12px; min-height: 0; overflow: hidden; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--surface); }
.j-inspector h3 { margin: 0; font-size: 12px; font-weight: 650; color: var(--ink-3); }
.j-props { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.j-props .is-wide { grid-column: 1 / -1; }
.j-aitool { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-s); font-size: 12.5px; }
.j-aitool > svg { flex: none; color: var(--brand-ink); }
.j-aitools { display: grid; gap: 6px; }
.j-aitool__text { flex: 1; min-width: 0; display: grid; }
.j-aitool__text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.j-aitool .j-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.j-outlet { display: flex; align-items: center; gap: 8px; height: 30px; font-size: 12.5px; }
.j-outlet > svg { flex: none; color: var(--ink-2); }
.j-outlet__name { flex: 1; }
.j-outlet .j-meta { font-variant-numeric: tabular-nums; }

.j-tracks { position: relative; grid-column: 1 / -1; display: grid; border-top: 1px solid var(--line); background: var(--surface); }
.j-tracks__bar { display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.j-tracks__bar time { font-family: var(--font-mono); font-size: 12px; color: var(--ink-2); }
.j-zoom { display: flex; align-items: center; gap: 6px; width: 140px; color: var(--ink-3); }
.j-ruler, .j-track { display: grid; grid-template-columns: 148px minmax(0, 1fr); }
.j-ruler { height: 24px; border-bottom: 1px solid var(--line); font-size: 10.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.j-ruler > div { position: relative; }
.j-ruler span { position: absolute; top: 5px; transform: translateX(-50%); }
.j-ruler span::after { content: ""; position: absolute; left: 50%; top: 14px; width: 1px; height: 5px; background: var(--line-strong); }
.j-track { height: 44px; border-bottom: 1px solid var(--line); }
.j-track__head { display: flex; align-items: center; gap: 6px; padding: 0 8px 0 12px; border-right: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink-2); }
.j-track__head > svg { width: 14px; height: 14px; flex: none; }
.j-track__name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.j-track__head .j-faint svg { width: 13px; height: 13px; }
.j-track__lane { position: relative; }
.j-clip { position: absolute; top: 2px; bottom: 2px; left: calc(var(--from) * 1%); width: calc(var(--len) * 1% - 2px); display: flex; align-items: center; gap: 5px; overflow: hidden; padding: 0 10px; border-radius: 6px; font-size: 11.5px; font-weight: 650; white-space: nowrap; }
.j-clip > svg { width: 13px; height: 13px; flex: none; position: relative; }
.j-clip > b { position: relative; font-weight: 650; overflow: hidden; text-overflow: ellipsis; }
.j-clip--video { background: repeating-linear-gradient(90deg, transparent 0 46px, var(--line-strong) 46px 47px), linear-gradient(160deg, var(--surface-3), var(--tone, var(--brand-soft))); color: var(--ink); }
.j-clip--text { background: var(--info-soft); color: var(--info); }
.j-clip--caption { padding: 0 5px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); font-weight: 500; }
.j-clip--voice { background: var(--positive-soft); color: var(--positive); }
.j-clip--music { background: var(--warning-soft); color: var(--warning); }
.j-clip--voice, .j-clip--music { align-items: flex-start; padding-top: 8px; font-size: 11px; }
.j-clip .j-wave { position: absolute; left: 6px; top: 16px; width: calc(100% - 12px); height: calc(100% - 19px); opacity: 0.55; }
.j-clip.is-selected { box-shadow: 0 0 0 2px var(--focus); }
.j-cut { position: absolute; top: 4px; left: calc(var(--at) * 1%); width: 10px; height: 10px; transform: translate(-50%, -50%) rotate(45deg); border: 1.5px solid var(--ink-2); border-radius: 2px; background: var(--surface); }
.j-playhead { position: absolute; top: 40px; bottom: 0; left: calc(148px + (100% - 148px) * var(--at)); width: 2px; margin-left: -1px; background: var(--danger); pointer-events: none; }
.j-playhead::before { content: ""; position: absolute; top: 0; left: -5px; width: 12px; height: 12px; border-radius: 3px 3px 6px 6px; background: var(--danger); }

/* Settings: one long form, every kind of input, the section list beside it and the save bar that follows you. */
.j-settings { position: relative; grid-template-columns: 184px minmax(0, 1fr) 272px; gap: var(--space-8); align-items: start; padding-bottom: 104px; }
.j-formnav { display: grid; gap: 2px; }
.j-formnav a { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: var(--radius-s); color: var(--ink-2); font-size: 14px; }
.j-formnav a[aria-current="true"] { background: var(--surface-3); color: var(--ink); font-weight: 600; }
.j-formnav a svg { width: 16px; height: 16px; }
.j-formnav__error { margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--danger); }
.j-formsec { display: grid; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); }
.j-formsec__head { display: grid; gap: 2px; }
.j-formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.j-formgrid > .is-wide { grid-column: 1 / -1; }
.j-formgrid > .j-field, .j-props > .j-field { align-content: start; }
.j-field__foot { display: flex; justify-content: space-between; gap: 12px; }
.j-formsec .j-field__label { display: flex; align-items: center; min-height: 20px; }
.j-field__label .j-origin { margin-left: 8px; font-weight: 500; }
.j-prefix { display: flex; height: var(--ctl); overflow: hidden; border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); }
.j-prefix > span { display: flex; align-items: center; gap: 6px; padding: 0 10px; border-right: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); font-size: var(--fs-s); font-weight: 600; white-space: nowrap; }
.j-prefix > span svg { width: 14px; height: 14px; }
.j-prefix > .j-input { height: auto; border: 0; border-radius: 0; }
.j-input--select { display: flex; align-items: center; justify-content: space-between; gap: 8px; white-space: nowrap; }
.j-input--select svg { width: 16px; height: 16px; color: var(--ink-3); flex: none; }
.j-textarea { height: auto; min-height: 76px; padding: 9px var(--pad); line-height: 1.45; resize: vertical; }
.j-checks { display: grid; gap: 10px; }
.j-checkrow { display: flex; align-items: flex-start; gap: 10px; }
.j-checkrow > span { display: grid; gap: 1px; }
.j-box { display: grid; place-items: center; width: 18px; height: 18px; margin-top: 2px; flex: none; border: 1.5px solid var(--line-strong); border-radius: 5px; background: var(--surface); color: var(--on-action); }
.j-box[aria-checked="true"] { border-color: var(--action); background: var(--action); }
.j-box svg { width: 13px; height: 13px; stroke-width: 3; }
.j-radiocards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.j-radiocard { position: relative; display: grid; gap: 4px; align-content: start; padding: 12px 34px 12px 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-m); background: var(--surface); }
.j-radiocard > svg { color: var(--ink-2); }
.j-radiocard::after { content: ""; position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; box-sizing: border-box; border: 1.5px solid var(--line-strong); border-radius: 50%; }
.j-radiocard[aria-checked="true"] { border-color: var(--action); box-shadow: 0 0 0 1px var(--action); }
.j-radiocard[aria-checked="true"]::after { border: 5px solid var(--action); }
.j-dropzone { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius-m); background: var(--surface-2); }
.j-dropzone > span:nth-child(2) { flex: 1; display: grid; gap: 2px; }
.j-monogram { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 16px; background: var(--brand); color: var(--on-brand); font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.j-hours { display: grid; gap: 4px; }
.j-hours__day { display: grid; grid-template-columns: 84px 44px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 38px; }
.j-hours__day + .j-hours__day { border-top: 1px solid var(--line); }
.j-hours__day > div { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.j-span { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 4px 0 10px; border: 1px solid var(--line-strong); border-radius: var(--radius-s); background: var(--surface); font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.j-span svg { width: 14px; height: 14px; color: var(--ink-3); }
.j-slider { position: relative; display: flex; align-items: center; height: 24px; }
.j-slider::before { content: ""; position: absolute; left: 0; right: 0; height: 4px; border-radius: 2px; background: var(--surface-3); }
.j-slider i { position: absolute; left: 0; width: var(--at); height: 4px; border-radius: 2px; background: var(--action); }
.j-slider b { position: absolute; left: var(--at); width: 20px; height: 20px; margin-left: -10px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); box-shadow: var(--shadow-2); }
.j-themepick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.j-themepick .j-tile { gap: 8px; }
.j-savebar { position: absolute; left: calc(50% + 0px); bottom: 22px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 7px 7px 7px 16px; border: 1px solid var(--glass-line); border-radius: var(--radius-pill); background: var(--glass); backdrop-filter: blur(24px) saturate(1.6); -webkit-backdrop-filter: blur(24px) saturate(1.6); box-shadow: var(--shadow-3); font-size: 14px; font-weight: 600; white-space: nowrap; }
.j-savebar > i { width: 8px; height: 8px; border-radius: 50%; background: var(--warning); }
.j-storecard { display: grid; gap: 10px; padding: 14px; border-radius: var(--radius-l); background: var(--surface); box-shadow: var(--shadow-2); }
.j-storecard__cover { height: 92px; border-radius: var(--radius-m); background: linear-gradient(155deg, var(--surface-3), var(--brand-soft)); display: grid; place-items: center; color: var(--ink-3); }

/* Channels: official numbers and templates, the unofficial pairing kept behind an admin decision. */
/* Scanners need dark modules on a light ground in every theme, so the code keeps its own two colors. */
.j-qr { display: grid; place-items: center; width: 164px; height: 164px; flex: none; border-radius: var(--radius-m); background: #ffffff; color: #111111; box-shadow: inset 0 0 0 1px var(--line); }
.j-qr svg { width: 140px; height: 140px; display: block; }
.j-qr:has(> span) { height: auto; gap: 8px; padding: 12px 12px 14px; }
.j-qr > span { font-size: 12px; font-weight: 600; }
.j-pairing { display: flex; gap: 16px; align-items: center; }
.j-steps { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: var(--fs); color: var(--ink-2); }
.j-release { display: flex; align-items: center; gap: 10px; min-height: 36px; }
.j-release > span { flex: 1; display: grid; }
.j-release + .j-release { border-top: 1px solid var(--line); }
.j-template-preview { display: grid; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--bg); }
.j-template-preview__head { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 13px; }
.j-template-preview__head .j-avatar { width: 30px; height: 30px; font-size: 11px; }
.j-template-preview__head svg { width: 14px; height: 14px; color: var(--info); }
.j-template-preview .j-thread { padding: 14px 12px; justify-content: flex-start; }
.j-template-preview .j-bubble { max-width: 92%; }
.j-bubble__media { display: grid; place-items: center; height: 104px; margin: -3px -6px 6px; border-radius: 7px; background: linear-gradient(155deg, var(--surface-3), var(--brand-soft)); color: var(--ink-3); }
.j-bubble__foot { display: block; margin-top: 4px; font-size: 12px; color: var(--ink-3); }
.j-bubble__actions { display: grid; margin: 12px -14px -12px; }
.j-bubble__actions span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border-top: 1px solid var(--line); color: var(--info); font-size: 13.5px; font-weight: 600; }
.j-bubble__actions svg { width: 15px; height: 15px; }
.j-var { padding: 0 4px; border-radius: 4px; background: var(--info-soft); color: var(--info); font-family: var(--font-mono); font-size: 12px; }
.j-cell2 { display: grid; gap: 2px; min-width: 0; max-width: 360px; line-height: 1.3; }
/* In a table the first column holds a third of the width, so its title reads whole and the table never overflows;
   a longer title ends in an ellipsis */
.j-table td:has(> .j-cell2) { width: 34%; max-width: 360px; }
.j-cell2 > b, .j-cell2 > strong, .j-cell2 > .j-meta, .j-cell2 > span:not(.j-cell2__icon) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.j-cell2--icon { grid-template-columns: 32px minmax(0, 1fr); column-gap: 10px; align-items: center; }
.j-cell2--icon > :not(.j-cell2__icon) { grid-column: 2; }
.j-cell2__icon { grid-row: 1 / span 2; width: 32px; height: 32px; border-radius: var(--radius-s); display: grid; place-items: center; background: var(--surface-3); color: var(--ink-2); font-size: 11px; font-weight: 650; }
.j-cell2__icon svg { width: 16px; height: 16px; }

/* Charts. One categorical order (blue, orange, aqua), checked by the data-viz validator on our light surface (#ffffff)
   and dark surfaces (#141518, #151515): it passes lightness, chroma, color-blind separation and the normal-vision floor.
   Aqua sits under 3:1 on light, so every chart also carries direct labels and a table view. Text never wears the
   series color; marks do. Three series at most on one chart; past that, fold into "Outros". */
.j-viz { --viz-1: #2a78d6; --viz-2: #eb6834; --viz-3: #1baf7a; position: relative; }
[data-theme$="-dark"] .j-viz { --viz-1: #3987e5; --viz-2: #d95926; --viz-3: #199e70; }
.j-viz [data-s="1"] { --c: var(--viz-1); } .j-viz [data-s="2"] { --c: var(--viz-2); } .j-viz [data-s="3"] { --c: var(--viz-3); }
.j-viz svg { display: block; width: 100%; height: auto; overflow: visible; }
.j-viz__grid { stroke: var(--line); stroke-width: 1; }
.j-viz__base { stroke: var(--line-strong); stroke-width: 1; }
.j-viz__tick { fill: var(--ink-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.j-viz__name { fill: var(--ink); font-size: 12px; font-weight: 600; }
.j-viz__num { fill: var(--ink-2); font-size: 12px; font-variant-numeric: tabular-nums; }
.j-viz__line { fill: none; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.j-viz__dot { fill: var(--c); stroke: var(--surface); stroke-width: 2; }
.j-viz__mark { fill: var(--c); }
.j-viz__cross { stroke: var(--ink-3); stroke-width: 1; stroke-dasharray: 3 3; }
.j-viz__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.j-viz__head .j-seg { margin-left: auto; }
.j-viz__legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--ink-2); }
.j-viz__legend span { display: inline-flex; align-items: center; gap: 6px; }
.j-viz__legend span::before { content: ""; width: 14px; height: 3px; border-radius: 2px; background: var(--c); }
.j-viz__tip { position: absolute; z-index: 2; display: grid; gap: 4px; min-width: 190px; padding: 12px 14px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--raised); box-shadow: var(--shadow-2); font-size: 12.5px; }
.j-viz__tip b { font-size: 12px; color: var(--ink-2); font-weight: 600; }
.j-viz__tip div { display: flex; align-items: center; gap: 8px; }
.j-viz__tip div::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.j-viz__tip div span { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; }
.j-viz__tip .is-total { border-top: 1px solid var(--line); padding-top: 4px; }
.j-viz__tip .is-total::before { background: transparent; }

/* Horizontal bars and funnel: thin bars, rounded only at the data end, value at the tip. */
.j-bars { display: grid; gap: 12px; }
.j-bars__row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 70px; align-items: center; gap: 10px; font-size: 13px; }
.j-bars__track { display: block; height: 12px; }
.j-bars__fill { display: block; height: 12px; border-radius: 0 4px 4px 0; background: var(--viz-1); }
.j-bars__value { text-align: right; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.j-funnel { display: grid; gap: 6px; }
.j-funnel__step { display: grid; grid-template-columns: 170px minmax(0, 1fr) 80px; align-items: center; gap: 12px; font-size: 13px; }
.j-funnel__step .j-bars__fill { height: 22px; }
.j-funnel__rate { justify-self: start; margin-left: 182px; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink-2); font-size: 11.5px; font-weight: 600; }

/* Map editor: the map is drawn with the map tokens; zones are outlined areas with a soft fill, one in edit. */
.j-mapedit { position: relative; min-height: 0; overflow: hidden; background: var(--map-land); border-right: 1px solid var(--line); }
.j-mapedit > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.j-map__water { fill: var(--map-water); } .j-map__park { fill: var(--map-park); }
.j-map__road { fill: none; stroke: var(--map-road); stroke-linecap: round; }
.j-map__zone { fill: var(--c); fill-opacity: 0.14; stroke: var(--c); stroke-width: 2; }
.j-map__zone.is-editing { fill-opacity: 0.22; stroke-dasharray: 6 4; }
.j-map__handle { fill: var(--surface); stroke: var(--c); stroke-width: 2.5; }
.j-map__handle--mid { fill: var(--c); stroke: var(--surface); stroke-width: 2; }
.j-map__name { fill: var(--ink); font-size: 13px; font-weight: 700; paint-order: stroke; stroke: var(--map-land); stroke-width: 4px; }
.j-map__street { fill: var(--ink-3); font-size: 10.5px; font-weight: 600; letter-spacing: 0.04em; paint-order: stroke; stroke: var(--map-land); stroke-width: 3px; }
.j-maptools { position: absolute; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: var(--radius-pill); border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); box-shadow: var(--shadow-2); }
.j-maptools .j-iconbtn { border-radius: var(--radius-pill); }
.j-maptools .j-iconbtn[aria-pressed="true"] { background: var(--action); color: var(--on-action); }
.j-maptools--column { flex-direction: column; border-radius: var(--radius-l); }
.j-scale { position: absolute; display: grid; gap: 2px; font-size: 11px; color: var(--ink-2); }
.j-scale::before { content: ""; width: 64px; height: 5px; border: 1.5px solid var(--ink-2); border-top: 0; }
.j-zone { display: grid; gap: 8px; padding: 12px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); }
.j-zone.is-selected { border-color: var(--c); box-shadow: 0 0 0 1px var(--c); }
.j-zone__name { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.j-zone__name::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }

/* Automation canvas: steps are cards on a dotted plane, joined by curves; the picked step opens on the right. */
.j-canvas-plane { position: relative; min-height: 0; overflow: hidden; background-color: var(--bg); background-image: radial-gradient(var(--line-strong) 1px, transparent 1.3px); background-size: 22px 22px; border-right: 1px solid var(--line); }
.j-canvas-plane > svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.j-wire { fill: none; stroke: var(--line-strong); stroke-width: 1.5; }
.j-wire__end { fill: var(--line-strong); }
.j-node { position: absolute; display: flex; align-items: center; gap: 10px; width: 256px; padding: 10px 12px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); }
.j-node.is-selected { border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus), var(--shadow-2); }
.j-node__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--radius-s); }
.j-node__icon--start { background: var(--brand-soft); color: var(--brand-ink); }
.j-node__icon--if { background: var(--warning-soft); color: var(--warning); }
.j-node__icon--do { background: var(--info-soft); color: var(--info); }
.j-node__icon--end { background: var(--positive-soft); color: var(--positive); }
.j-node__text { display: grid; min-width: 0; font-size: 13px; line-height: 1.3; }
.j-node__text b { font-weight: 650; }
.j-node__text span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-3); font-size: 12px; }
.j-node__count { position: absolute; top: -9px; right: 10px; padding: 0 7px; border-radius: var(--radius-pill); background: var(--surface-3); color: var(--ink-2); font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; }
.j-wire-label { position: absolute; padding: 1px 8px; border-radius: var(--radius-pill); border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); font-size: 11.5px; font-weight: 650; }
.j-minimap { position: absolute; width: 168px; height: 112px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; }
.j-minimap i { position: absolute; height: 7px; border-radius: 2px; background: var(--line-strong); }
.j-minimap b { position: absolute; border: 1.5px solid var(--focus); border-radius: 4px; }
.j-preview-bubble { justify-self: start; max-width: 100%; padding: 12px 14px; border-radius: 10px; border-top-left-radius: 0; background: var(--surface-2); font-size: 13px; line-height: 1.4; }
.j-preview-bubble em { font-style: normal; padding: 0 2px; border-radius: 4px; background: var(--info-soft); color: var(--info); font-weight: 600; }

/* AI presence, the same on every surface (customer, business, street, operator), taken from the approved customer
   app: a light on the screen edge while she listens or speaks, an aurora at the foot, live captions, and results that
   slide in as cards. Never a ball or a sphere. The focus stays with the person: she acts when asked, proposes before
   doing, and steps aside when she is not wanted. */
.j-edgeglow { position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--brand), inset 0 0 24px 4px var(--brand-soft), inset 0 0 64px 12px var(--info-soft); }
.j-aurora { position: absolute; left: -15%; right: -15%; bottom: -110px; height: 300px; z-index: 0; pointer-events: none; filter: blur(46px); opacity: 0.45; }
.j-aurora i { position: absolute; bottom: 0; width: 48%; height: 100%; border-radius: 50%; }
.j-aurora i:nth-child(1) { left: 0; background: var(--brand); }
.j-aurora i:nth-child(2) { left: 26%; background: var(--info); }
.j-aurora i:nth-child(3) { left: 52%; background: var(--positive); }

/* A live voice conversation on a phone: who, what was heard, the reply as it is spoken, then cards. */
.j-talk { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 58px 18px 28px; }
.j-talk__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.j-talk__who { display: grid; justify-items: center; font-size: 16px; font-weight: 700; }
.j-talk__who small { font-size: 12px; font-weight: 550; color: var(--ink-3); }
.j-talk__stage { display: grid; align-content: end; gap: 12px; min-height: 0; padding-bottom: 18px; overflow: hidden; }
.j-listening { justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-size: 12.5px; font-weight: 650; }
.j-voicebars { display: inline-flex; align-items: center; gap: 2px; height: 16px; }
.j-voicebars i { width: 3px; border-radius: 2px; background: var(--brand); }
.j-said { margin: 0; font-size: 15px; color: var(--ink-2); }
.j-reply { margin: 0; font-size: 23px; font-weight: 650; line-height: 1.25; letter-spacing: -0.015em; }
.j-reply span { color: var(--ink-3); }
[data-context="rua"] .j-reply { font-size: 27px; }
.j-onscreen { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: var(--ink-2); }
.j-onscreen svg { width: 14px; height: 14px; color: var(--brand-ink); }

/* A proposal: she says what she will do, why, and waits for the person; autonomy is a choice, per kind of action. */
.j-proposal { display: grid; gap: 10px; padding: 14px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--raised); box-shadow: var(--shadow-3); }
.j-proposal__head { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; color: var(--ink-2); }
.j-proposal__head svg { width: 15px; height: 15px; color: var(--brand-ink); }
.j-proposal__title { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.j-proposal__actions { display: flex; gap: 8px; }
.j-proposal__actions .j-btn { flex: 1; }
.j-autonomy { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }

/* The bar under a voice conversation: round glass controls, the end in soft red. */
.j-talk__controls { display: flex; justify-content: space-between; padding: 0 4px; }
.j-talk__controls button { display: grid; justify-items: center; gap: 6px; border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 600; }
.j-talk__controls button > span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; border: 1px solid var(--glass-line); background: var(--glass); color: var(--ink); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); }
[data-context="rua"] .j-talk__controls button > span { width: 68px; height: 68px; }
.j-talk__controls .is-end > span { border-color: transparent; background: var(--danger-soft); color: var(--danger); }
.j-talk__controls .is-on > span { border-color: transparent; background: var(--action); color: var(--on-action); }

/* Street: the map stays under the conversation, dimmed, so the driver never loses the road. */
.j-streetmap { position: absolute; inset: 0; z-index: 0; background: var(--map-land); }
.j-streetmap svg { width: 100%; height: 100%; }
.j-streetmap::after { content: ""; position: absolute; inset: 0; background: var(--bg); opacity: 0.55; }
.j-map__route { fill: none; stroke: var(--map-route); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }
.j-maneuver { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-l); background: var(--action); color: var(--on-action); box-shadow: var(--shadow-2); }
.j-maneuver b { display: block; font-size: 20px; letter-spacing: -0.01em; }
.j-maneuver span { font-size: 13px; opacity: 0.8; }

/* Operator copilot: a panel over the page, never a takeover; it shows its plan, its sources and asks before acting. */
.j-copilot { position: absolute; top: 0; right: 0; bottom: 0; z-index: 8; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: 448px; border-left: 1px solid var(--line); background: var(--raised); box-shadow: var(--shadow-3); }
.j-copilot__head { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); font-weight: 650; }
.j-copilot__head > span:first-child { margin-right: auto; }
.j-copilot__body { display: grid; align-content: start; gap: 14px; padding: 16px; overflow: hidden; }
.j-copilot__foot { display: grid; gap: 8px; padding: 12px 16px 14px; border-top: 1px solid var(--line); }
.j-ask { justify-self: end; max-width: 86%; padding: 8px 12px; border-radius: 14px 14px 4px 14px; background: var(--surface-3); font-size: 14px; }
.j-answer { display: grid; gap: 10px; font-size: 14px; line-height: 1.45; }
.j-ai-plan { display: grid; gap: 6px; }
.j-ai-plan div { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.j-ai-plan svg { width: 15px; height: 15px; flex: none; }
.j-ai-plan .is-done svg { color: var(--positive); }
.j-ai-plan .is-wait svg { color: var(--warning); }
.j-sources { display: flex; flex-wrap: wrap; gap: 8px; }
.j-sources span { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.j-sources svg { width: 12px; height: 12px; }
.j-askbox { display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 6px 6px 6px 14px; border-radius: var(--radius-l); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-3); font-size: 14px; }
.j-askbox > span { flex: 1; }
.j-hint { display: flex; gap: 6px; flex-wrap: wrap; }
.j-pointed { outline: 2px solid var(--brand); outline-offset: -2px; }

/* AI team: each agent is a role with its channels, what it may do alone, and how it is doing today. */
.j-agent { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-agent__head { display: flex; align-items: center; gap: 12px; }
.j-agent__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--radius-m); background: var(--brand-soft); color: var(--brand-ink); }
.j-agent__name { display: grid; margin-right: auto; font-weight: 700; }
.j-agent__name span { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.j-agent__stats { display: flex; gap: 18px; font-size: 12.5px; color: var(--ink-2); }
.j-agent__stats b { display: block; font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.j-copilot--docked { position: relative; top: auto; right: auto; bottom: auto; width: auto; box-shadow: none; }
.j-pointed { border-radius: var(--radius-l); }
.j-here { fill: var(--action); stroke: var(--surface); stroke-width: 3; }
.j-agents { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.j-copilot { min-height: 0; overflow: hidden; }
.j-agent__head .j-status { flex: none; }

/* A conversation on the phone: the messenger shape (thread, bubbles, composer) under a compact header. */
.j-mobilechat { position: absolute; inset: 50px 0 0 0; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.j-mobilehead { display: flex; align-items: center; gap: 8px; padding: 12px; border-bottom: 1px solid var(--line); background: var(--surface); }
.j-mobilehead > .j-avatar { position: relative; width: 40px; height: 40px; }
.j-mobilehead__who { display: grid; min-width: 0; margin-right: auto; }
.j-mobilehead__who b { font-size: 15.5px; }
.j-mobilehead__who span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--ink-3); }
.j-mobilechat .j-thread { padding: 10px 12px; }
.j-mobilechat .j-chat__foot { padding-bottom: 26px; }
.j-handoff { display: grid; gap: 8px; margin: 6px 0; padding: 12px 14px; border-radius: var(--radius-m); background: var(--warning-soft); font-size: 13px; }
.j-handoff p { margin: 0; line-height: 1.4; }
.j-handoff__head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: var(--warning); }
.j-handoff__head svg { width: 14px; height: 14px; }
.j-handoff__actions { display: flex; gap: 8px; }
.j-handoff .j-btn { flex: 1; height: 34px; }
.j-quick { display: flex; align-items: center; gap: 6px; overflow: hidden; mask-image: linear-gradient(90deg, black 85%, transparent); }
.j-quick > svg { flex: none; width: 16px; height: 16px; color: var(--brand-ink); }
.j-chathead-pill { display: inline-flex; align-items: center; gap: 4px; }
.j-chathead-pill svg { width: 12px; height: 12px; color: var(--brand-ink); }

/* Charging at the counter: the amount, the way to pay, and the code the customer scans. */
.j-charge { position: absolute; inset: 50px 0 0 0; display: grid; align-content: start; gap: 14px; padding: 6px 16px 26px; }
.j-charge__amount { display: grid; justify-items: center; gap: 2px; padding: 6px 0 2px; }
.j-charge__amount b { font-size: 44px; font-weight: 750; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.j-charge__amount span { font-size: 13px; color: var(--ink-3); }
/* A scan code must stay dark on light in every finish, or phones fail to read it: its two colors are fixed on purpose. */
.j-paycode { justify-self: center; display: grid; justify-items: center; gap: 10px; padding: 16px; border-radius: var(--radius-l); background: #ffffff; box-shadow: var(--shadow-2); }
.j-paycode svg { display: block; width: 188px; height: 188px; }
.j-paycode rect { fill: #111111; }
.j-paycode span { font-size: 12px; font-weight: 600; color: #3a3a3f; }
.j-charge__status { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; color: var(--ink-2); }

/* A video call: the picture fills the space; controls and captions float on it in dark glass, readable on any image. */
.j-video { position: absolute; inset: 0; overflow: hidden; background: #0b0b0c; }
.j-video > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.j-video::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, 0.45), transparent 22%, transparent 62%, rgba(0, 0, 0, 0.6)); }
.j-onvideo { position: absolute; z-index: 2; color: #ffffff; }
.j-darkglass { border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(18, 18, 20, 0.48); backdrop-filter: blur(22px) saturate(1.4); -webkit-backdrop-filter: blur(22px) saturate(1.4); color: #ffffff; }
.j-callchip { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 650; }
.j-callchip svg { width: 13px; height: 13px; }
.j-callchip i { width: 7px; height: 7px; border-radius: 50%; background: #ff453a; }
.j-callwho { display: grid; gap: 2px; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35); }
.j-callwho b { font-size: 19px; letter-spacing: -0.01em; }
.j-callwho span { font-size: 13px; opacity: 0.85; }
.j-selfview { position: absolute; z-index: 2; overflow: hidden; border-radius: 16px; border: 2px solid rgba(255, 255, 255, 0.7); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.j-selfview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.j-caption { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 1.35; }
.j-caption small { font-size: 11.5px; font-weight: 650; opacity: 0.7; }
.j-callbar { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius-pill); }
.j-callbar button { display: grid; place-items: center; width: 50px; height: 50px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.14); color: #ffffff; }
.j-callbar button[aria-pressed="true"] { background: #ffffff; color: #111111; }
.j-callbar .is-end { width: 64px; border-radius: var(--radius-pill); background: #e5484d; }

/* Operator live call: the queue, the stage and the assistant that listens with the operator. */
.j-callroom { display: grid; grid-template-columns: 272px minmax(0, 1fr) 384px; min-height: 0; }
.j-stage { position: relative; min-height: 0; margin: 16px; border-radius: var(--radius-xl); overflow: hidden; }
.j-transcript { display: grid; gap: 10px; font-size: 13.5px; line-height: 1.4; }
.j-transcript p { margin: 0; }
.j-transcript b { display: block; font-size: 12px; color: var(--ink-3); }
.j-transcript .is-live { color: var(--ink-2); }
.j-understood { display: grid; gap: 6px; padding: 12px; border-radius: var(--radius-m); background: var(--info-soft); font-size: 13px; }
.j-understood div { display: flex; gap: 8px; }
.j-understood div span:first-child { width: 86px; flex: none; color: var(--ink-2); }
.j-status-bar--light { color: #ffffff; }

/* One line where the AI says what it will do on its own, so the person knows without being asked. */
.j-ailine { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-m); background: var(--surface-2); color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.j-ailine > svg { flex: none; width: 16px; height: 16px; color: var(--brand-ink); }
.j-ailine > span { flex: 1; min-width: 0; }
.j-understood__head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 650; color: var(--info); }
.j-understood__head svg { width: 14px; height: 14px; }
.j-chargehead { display: flex; align-items: center; gap: 8px; }
.j-chargehead > div { display: grid; margin-right: auto; }
.j-chargehead b { font-size: 16px; }
.j-chargehead span { font-size: 12px; color: var(--ink-3); }
.j-currency { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: var(--radius-pill); border: 1px solid var(--line); font-size: 11px; font-weight: 650; color: var(--ink-3); letter-spacing: 0.04em; }
.j-replyas { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-3); }
.j-replyas .j-switch { height: 30px; gap: 6px; padding: 0 8px 0 3px; font-size: 13px; }
.j-replyas .j-switch__logo { width: 24px; height: 24px; }
.j-replyas .j-switch__kind { display: none; }
.j-chargehead .j-switch { flex: 1; min-width: 0; }

/* Bank reconciliation: each bank line beside the entry it pays, the link carries how sure the match is; a line
   with no pair gets the assistant's question instead, answered in one tap. */
.j-match { display: grid; grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr) 76px; align-items: center; gap: 8px; }
.j-match__head { font-size: 12px; font-weight: 600; color: var(--ink-3); }
.j-match__side { display: grid; gap: 2px; min-width: 0; padding: 12px 14px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); font-size: 13px; }
.j-match__side .j-between > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.j-match__side .j-between > b { flex: none; }
.j-match__side .j-between b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.j-match__side--ask { border-style: dashed; border-color: var(--warning); background: var(--warning-soft); }
.j-match__link { display: grid; justify-items: center; gap: 4px; color: var(--ink-3); font-size: 11.5px; }
.j-match__link svg { width: 16px; height: 16px; }
.j-match__acts { display: flex; justify-content: flex-end; gap: 4px; }
.j-match.is-done .j-match__side { background: var(--surface-2); color: var(--ink-2); }

/* Focus, made for a mind that juggles many fronts: the day is built for you, one block at a time, anything that pops
   up is caught without leaving, interruptions wait, and every small win is seen. */
.j-dayplan { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding: 24px 32px; min-height: 0; overflow: hidden; }
.j-timeblock { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px 12px 10px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-timeblock + .j-timeblock { margin-top: 8px; }
.j-timeblock__time { display: grid; justify-items: end; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.j-timeblock__time span { font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.j-timeblock__what { display: grid; gap: 4px; min-width: 0; }
.j-timeblock__what b { font-size: 15px; letter-spacing: -0.01em; }
.j-timeblock.is-now { border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus), var(--shadow-2); }
.j-timeblock.is-done { opacity: 0.55; }
.j-timeblock.is-done b { text-decoration: line-through; }
.j-timeblock[draggable="true"]::before { content: ""; position: absolute; left: -14px; top: 50%; width: 6px; height: 12px; margin-top: -6px; background: radial-gradient(circle, var(--ink-3) 1px, transparent 1.3px) 0 0 / 3px 3px; }
.j-from { display: flex; flex-wrap: wrap; gap: 6px; }
.j-from span { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink-2); font-size: 11.5px; font-weight: 600; }
.j-from svg { width: 12px; height: 12px; }
.j-energy { display: flex; gap: 6px; }
.j-catch { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 6px 6px 16px; border-radius: var(--radius-l); border: 1px solid var(--line-strong); background: var(--raised); box-shadow: var(--shadow-2); color: var(--ink-3); font-size: 15px; }
.j-catch > span { flex: 1; }
.j-kbdrow { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--ink-3); }
.j-kbdrow kbd { display: inline-grid; place-items: center; min-width: 22px; height: 20px; margin-right: 4px; padding: 0 5px; border-radius: 5px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font: 600 11px var(--font-mono); }

/* One task at a time: the title, the time left as a thin line (never a ball), the next small step, and what waits. */
.j-deep { display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 0; }
.j-deep__main { display: grid; align-content: start; gap: 20px; padding: 40px 72px 28px; min-height: 0; overflow: hidden; }
.j-deep__title { margin: 0; font-size: 34px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.j-timer { display: grid; gap: 8px; }
.j-timer b { font-size: 46px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1; }
.j-timer .j-bar { height: 6px; }
.j-substeps { display: grid; gap: 4px; }
.j-substep { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: var(--radius-m); font-size: 15px; color: var(--ink-2); }
.j-substep svg { width: 18px; height: 18px; flex: none; }
.j-substep.is-done { color: var(--ink-3); text-decoration: line-through; }
.j-substep.is-done svg { color: var(--positive); }
.j-substep.is-now { background: var(--surface); border: 1px solid var(--focus); color: var(--ink); font-weight: 650; }
.j-deep__side { display: grid; align-content: start; gap: 14px; padding: 24px 20px; border-left: 1px solid var(--line); background: var(--surface); }
.j-buddy { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--radius-l); background: var(--surface-2); font-size: 13px; }
.j-buddy img { width: 56px; height: 56px; flex: none; border-radius: var(--radius-m); object-fit: cover; }

/* The companion: a creature that grows with the person across every app; never a ball or a sphere. */
.j-companion { display: grid; justify-items: center; gap: 6px; text-align: center; }
.j-companion__art { width: 220px; height: 196px; border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-3); }
.j-companion__art img { width: 100%; height: 100%; object-fit: cover; }
.j-companion b { font-size: 20px; letter-spacing: -0.01em; }
.j-stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.j-stage-card { position: relative; display: grid; gap: 4px; justify-items: center; font-size: 11.5px; font-weight: 600; color: var(--ink-2); }
.j-stage-card img { width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover; border: 2px solid transparent; }
.j-stage-card.is-now img { border-color: var(--brand); }
.j-stage-card.is-locked img { filter: grayscale(1) blur(1.5px); opacity: 0.55; }
.j-xp { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }

/* The beast: the Alineza of each country is a guardian beast whose tails are made of light; each light is a power. */
.j-beast { position: absolute; inset: 0 0 auto 0; height: 480px; overflow: hidden; }
.j-beast img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.j-beast::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 42%, var(--bg) 96%); }
.j-beast__top { position: absolute; top: 54px; left: 16px; right: 16px; z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.j-beast__body { position: absolute; left: 0; right: 0; top: 356px; bottom: 0; z-index: 3; display: grid; align-content: start; gap: 10px; padding: 0 16px 24px; }
.j-beast__name { margin: 0; font-size: 34px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; }
.j-beast__title { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.j-lights { display: grid; grid-template-columns: repeat(9, 1fr); gap: 5px; }
.j-lights i { height: 6px; border-radius: 3px; background: var(--surface-3); }
.j-lights i.is-on { background: linear-gradient(90deg, var(--brand), var(--info)); box-shadow: 0 0 10px var(--brand-soft); }
.j-powers, .j-beasts { display: flex; gap: 8px; overflow: hidden; mask-image: linear-gradient(90deg, black 86%, transparent); }
.j-power { flex: none; display: grid; gap: 2px; width: 128px; padding: 9px 11px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); font-size: 12px; color: var(--ink-2); }
.j-power b { font-size: 13px; color: var(--ink); }
.j-power.is-now { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.j-power.is-locked { opacity: 0.55; }
.j-beastcard { flex: none; display: grid; justify-items: center; gap: 4px; width: 68px; font-size: 11px; font-weight: 600; color: var(--ink-2); text-align: center; line-height: 1.2; }
.j-beastcard img, .j-beastcard__you { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; }
.j-beastcard.is-mine img { outline: 2px solid var(--brand); outline-offset: 2px; }
.j-beastcard__you { display: grid; place-items: center; border: 1.5px dashed var(--line-strong); color: var(--ink-2); }
.j-moods { display: flex; gap: 6px; overflow: hidden; mask-image: linear-gradient(90deg, black 84%, transparent); }
.j-moods .j-count { margin-left: 2px; }

/* The companion on a soft stage: the approved art, cut out, standing on its own shadow; the stage follows the theme. */
.j-hero-stage { position: absolute; inset: 0 0 auto 0; height: 392px; overflow: hidden; background: radial-gradient(120% 80% at 50% 70%, var(--brand-soft) 0%, var(--bg) 70%); }
.j-hero-stage::after { content: ""; position: absolute; left: 50%; bottom: 34px; width: 210px; height: 26px; margin-left: -105px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, 0.22), transparent); }
.j-hero-stage img { position: absolute; left: 50%; bottom: 40px; z-index: 1; height: 288px; width: auto; transform: translateX(-50%); filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.12)); }
.j-growth { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.j-growth__card { display: grid; justify-items: center; align-content: start; gap: 2px; padding: 8px 4px 9px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); text-align: center; font-size: 11px; color: var(--ink-3); line-height: 1.25; }
.j-growth__card img { height: 40px; width: auto; margin-bottom: 2px; }
.j-growth__card b { font-size: 12px; color: var(--ink); }
.j-growth__card.is-now { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.j-growth__card.is-locked img { filter: grayscale(1); opacity: 0.45; }
.j-shapecard { flex: none; display: grid; justify-items: center; gap: 3px; width: 64px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.j-shapecard img { width: 56px; height: 56px; border-radius: 18px; object-fit: contain; background: var(--surface-2); }
.j-shapecard.is-mine img { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Forms catalog: every form of the assistant with its four stages, so the art is reviewed in one place. */
.j-stagegrid { display: grid; grid-template-columns: 210px repeat(4, 124px); gap: 10px 14px; align-items: end; }
.j-stagegrid__head { font-size: 12px; font-weight: 650; color: var(--ink-3); text-align: center; }
.j-stagegrid__name { align-self: center; display: grid; gap: 2px; font-weight: 700; }
.j-stagegrid__name span { font-size: 12px; font-weight: 500; color: var(--ink-3); }
.j-stagegrid__cell { display: grid; place-items: end center; height: 124px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); }
.j-stagegrid__cell img { height: 112px; width: auto; }
.j-stagegrid__cell.is-pending { place-items: center; border-style: dashed; color: var(--ink-3); font-size: 11.5px; text-align: center; padding: 8px; }

/* Motion: three durations and three curves, for every app. Movement explains where things come from and go; it never
   decorates. With reduced motion every movement becomes a 120 ms fade. */
:root { --motion-fast: 120ms; --motion: 220ms; --motion-slow: 340ms; --ease-standard: cubic-bezier(0.2, 0, 0, 1); --ease-enter: cubic-bezier(0.05, 0.7, 0.1, 1); --ease-exit: cubic-bezier(0.3, 0, 0.8, 0.15); }
.j-demo { position: relative; height: 150px; overflow: hidden; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface-2); }
.j-demo i { position: absolute; display: block; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-1); }
.j-demo--push i:nth-child(1) { inset: 14px; animation: j-push-out 3s var(--ease-standard) infinite; }
.j-demo--push i:nth-child(2) { inset: 14px; background: var(--brand-soft); animation: j-push-in 3s var(--ease-standard) infinite; }
.j-demo--sheet i:nth-child(1) { inset: 14px; }
.j-demo--sheet i:nth-child(2) { left: 14px; right: 14px; bottom: 0; height: 70px; border-radius: 16px 16px 0 0; background: var(--raised); box-shadow: var(--shadow-3); animation: j-rise 3s var(--ease-enter) infinite; }
.j-demo--expand i { left: 24px; top: 40px; width: 70px; height: 70px; background: var(--brand-soft); animation: j-expand 3s var(--ease-standard) infinite; }
.j-demo--fade i:nth-child(1) { inset: 14px; animation: j-fade-a 3s ease infinite; }
.j-demo--fade i:nth-child(2) { inset: 14px; background: var(--info-soft); animation: j-fade-b 3s ease infinite; }
@keyframes j-push-out { 0%, 35% { transform: translateX(0); opacity: 1; } 60%, 100% { transform: translateX(-30%); opacity: 0; } }
@keyframes j-push-in { 0%, 35% { transform: translateX(100%); } 60%, 100% { transform: translateX(0); } }
@keyframes j-rise { 0%, 30% { transform: translateY(100%); } 55%, 100% { transform: translateY(0); } }
@keyframes j-expand { 0%, 30% { left: 24px; top: 40px; width: 70px; height: 70px; } 60%, 100% { left: 14px; top: 14px; width: calc(100% - 28px); height: calc(100% - 28px); } }
@keyframes j-fade-a { 0%, 35% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes j-fade-b { 0%, 50% { opacity: 0; transform: scale(0.97); } 70%, 100% { opacity: 1; transform: scale(1); } }

/* Loading: show what is already known at once, shimmer only where data is still on the way, never a blank page. */
.j-skeleton { display: block; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 40%, var(--surface-2) 80%) 0 0 / 300% 100%; animation: j-shimmer 1.4s linear infinite; }
.j-skeleton--title { height: 16px; width: 60%; }
.j-skeleton--short { width: 35%; }
.j-skeleton--tile { width: 40px; height: 40px; border-radius: 10px; flex: none; }
.j-arrive { animation: j-arrive var(--motion-slow) var(--ease-enter) both; }
@keyframes j-shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }
@keyframes j-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Masks: the field shows the format of the person's country; the system keeps only the raw value. */
.j-mask { display: grid; gap: 4px; }
.j-mask__raw { font: 500 11.5px var(--font-mono); color: var(--ink-3); }
.j-flag { display: inline-grid; place-items: center; min-width: 26px; height: 18px; padding: 0 4px; border-radius: 4px; background: var(--surface-3); font-size: 10.5px; font-weight: 700; }

/* Small moments: a press, a check that draws itself, a count that bumps, a like that pops, a swipe that fills. */
.j-micro { display: grid; justify-items: center; align-content: center; gap: 10px; height: 120px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-press { animation: j-press 2.4s var(--ease-standard) infinite; }
.j-drawcheck path { stroke-dasharray: 30; animation: j-draw 2.4s var(--ease-enter) infinite; }
.j-drawcheck { width: 44px; height: 44px; padding: 8px; border-radius: 50%; background: var(--positive-soft); color: var(--positive); }
.j-bump { animation: j-bump 2.4s var(--ease-standard) infinite; }
.j-pop { color: var(--danger); animation: j-pop 2.4s var(--ease-enter) infinite; }
.j-fill { position: relative; width: 150px; height: 40px; overflow: hidden; border-radius: var(--radius-pill); background: var(--surface-2); }
.j-fill::before { content: ""; position: absolute; inset: 0; background: var(--positive-soft); transform-origin: left; animation: j-fillup 2.4s var(--ease-standard) infinite; }
@keyframes j-press { 0%, 40% { transform: scale(1); } 46% { transform: scale(0.96); } 54%, 100% { transform: scale(1); } }
@keyframes j-draw { 0%, 25% { stroke-dashoffset: 30; } 60%, 100% { stroke-dashoffset: 0; } }
@keyframes j-bump { 0%, 40% { transform: scale(1); } 50% { transform: scale(1.35); } 62%, 100% { transform: scale(1); } }
@keyframes j-pop { 0%, 35% { transform: scale(0.6); opacity: 0.4; } 50% { transform: scale(1.25); opacity: 1; } 62%, 100% { transform: scale(1); } }
@keyframes j-fillup { 0%, 20% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .j-demo i, .j-skeleton, .j-arrive, .j-press, .j-drawcheck path, .j-bump, .j-pop, .j-fill::before { animation: none; } }

/* Command palette (Ctrl K): one search over people, businesses, orders, settings, actions and the assistant. The
   page stays behind, dimmed; the selected result previews on the right and an action runs from here. */
.j-cmdk-host { position: relative; min-height: 0; overflow: hidden; }
.j-cmdk-scrim { position: absolute; inset: 0; z-index: 6; background: var(--scrim); }
.j-cmdk { position: absolute; top: 28px; left: 50%; z-index: 7; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; width: 880px; height: 640px; margin-left: -440px; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--raised); box-shadow: var(--shadow-3); }
.j-cmdk__input { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 18px; border-bottom: 1px solid var(--line); font-size: 17px; }
.j-cmdk__query { flex: 1; color: var(--ink); }
.j-cmdk__query i { font-style: normal; color: var(--ink-3); }
.j-cmdk__scopes { display: flex; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.j-cmdk__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 0; }
.j-cmdk__list { display: grid; align-content: start; gap: 2px; padding: 8px; overflow: hidden; border-right: 1px solid var(--line); }
.j-cmdk__group { padding: 10px 10px 4px; font-size: 11.5px; font-weight: 650; color: var(--ink-3); }
.j-cmdk__item { display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 10px; border-radius: var(--radius-m); font-size: 14px; color: var(--ink); }
.j-cmdk__item > svg { width: 18px; height: 18px; flex: none; color: var(--ink-2); }
.j-cmdk__item > span { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex: 1; }
.j-cmdk__item > span small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12.5px; color: var(--ink-3); }
.j-cmdk__item.is-selected { background: var(--surface-3); }
.j-cmdk__item.is-ai > svg { color: var(--brand-ink); }
.j-cmdk__preview { display: grid; align-content: start; gap: 12px; padding: 18px; font-size: 13.5px; }
.j-cmdk__preview h3 { margin: 0; font-size: 17px; letter-spacing: -0.01em; }
.j-cmdk__foot { display: flex; align-items: center; gap: 16px; height: 42px; padding: 0 16px; border-top: 1px solid var(--line); background: var(--surface-2); font-size: 12px; color: var(--ink-3); }
.j-cmdk__foot span:last-child { margin-left: auto; }
.j-cmdk-key { display: inline-grid; place-items: center; min-width: 22px; height: 20px; margin-right: 4px; padding: 0 5px; border-radius: 5px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); font: 600 11px var(--font-mono); }

/* Import: a wizard rail, the source, a column mapper with the assistant's guess and how sure it is, and a dry run. */
.j-wizard { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.j-wizard span { display: inline-flex; align-items: center; gap: 8px; }
.j-wizard i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line-strong); font-style: normal; font-size: 11.5px; }
.j-wizard .is-done { color: var(--ink-2); }
.j-wizard .is-done i { border-color: transparent; background: var(--positive-soft); color: var(--positive); }
.j-wizard .is-now { color: var(--ink); }
.j-wizard .is-now i { border-color: var(--action); background: var(--action); color: var(--on-action); }
.j-wizard hr { width: 26px; margin: 0; border: 0; border-top: 1px solid var(--line-strong); }
.j-mapsel { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 168px; height: 34px; padding: 0 12px; border-radius: var(--radius-s); border: 1px solid var(--line-strong); background: var(--surface); font-size: 13px; white-space: nowrap; }
.j-mapsel svg { width: 14px; height: 14px; color: var(--ink-3); }
.j-mapsel.is-empty { border-style: dashed; color: var(--ink-3); }
.j-mapsample { font: 500 12px var(--font-mono); color: var(--ink-2); white-space: nowrap; }
.j-mapcol { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.j-mapcol svg { width: 14px; height: 14px; color: var(--ink-3); }

/* Audit: every change to a record, by a person, the assistant or the system, with before and after and the reason. */
.j-audit { display: grid; gap: 0; }
.j-audit__event { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; }
.j-audit__event::before { content: ""; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.j-audit__event:last-child::before { display: none; }
.j-audit__who { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface-3); color: var(--ink); font-size: 13px; font-weight: 700; }
.j-audit__who.is-ai { background: var(--brand-soft); color: var(--brand-ink); }
.j-audit__who.is-system { background: var(--info-soft); color: var(--info); }
.j-audit__card { display: grid; gap: 10px; padding: 12px 14px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-audit__head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.j-audit__head span { font-size: 12.5px; color: var(--ink-3); }
.j-audit__head > :last-child { margin-left: auto; }
.j-diff { display: grid; gap: 4px; font-size: 13px; }
.j-diff__row { display: grid; grid-template-columns: 150px max-content 18px minmax(0, 1fr); align-items: center; gap: 8px; }
.j-diff__row > span:first-child { color: var(--ink-3); }
.j-diff__row svg { width: 14px; height: 14px; color: var(--ink-3); }
.j-diff del, .j-diff ins { justify-self: start; padding: 2px 8px; border-radius: 6px; text-decoration: none; font-variant-numeric: tabular-nums; }
.j-diff del { background: var(--danger-soft); color: var(--danger); text-decoration: line-through; }
.j-diff ins { background: var(--positive-soft); color: var(--positive); }
.j-audit__why { display: flex; gap: 8px; font-size: 13px; color: var(--ink-2); }
.j-audit__why svg { width: 15px; height: 15px; flex: none; color: var(--ink-3); }

/* Print: tickets and invoices as they leave the printer. Paper is black on white by nature, in every finish, so these
   colors are fixed on purpose; the screen theme never reaches paper. */
.j-printdesk { display: flex; align-items: flex-start; justify-content: center; gap: 28px; padding: 36px 24px; background: var(--surface-2); }
.j-paper { flex: none; background: #ffffff; color: #111111; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12), 0 12px 32px rgba(0, 0, 0, 0.14); }
.j-paper--roll { width: 262px; padding: 18px 16px 26px; font: 500 12.5px/1.45 var(--font-mono); }
.j-paper--a4 { width: 520px; min-height: 736px; padding: 36px 38px; font-size: 12px; line-height: 1.45; }
.j-paper h4 { margin: 0; font-size: 15px; font-weight: 800; text-align: center; letter-spacing: 0.02em; }
.j-paper hr { margin: 10px 0; border: 0; border-top: 1.5px dashed #111111; }
.j-paper .j-logo__ink, .j-paper .j-logo__metal { fill: #111111; }
.j-paper .j-logo { height: 26px; }
.j-roll-row { display: flex; justify-content: space-between; gap: 10px; }
.j-roll-row > span:last-child { flex: none; white-space: nowrap; }
.j-roll-big { font-size: 17px; font-weight: 800; line-height: 1.3; }
.j-roll-note { display: inline-block; margin: 2px 0 4px 22px; padding: 1px 6px; background: #111111; color: #ffffff; font-weight: 700; }
.j-roll-center { text-align: center; }
.j-roll-qr { display: grid; justify-items: center; gap: 6px; margin-top: 8px; }
.j-roll-qr svg { width: 150px; height: 150px; }
.j-roll-qr rect, .j-paper--a4 .j-roll-qr rect { fill: #111111; }
.j-a4-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 18px; border-bottom: 2px solid #111111; }
.j-a4-head b { display: block; font-size: 20px; letter-spacing: -0.01em; }
.j-a4-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 18px 0; }
.j-a4-parties small { display: block; margin-bottom: 4px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #555555; }
.j-a4-lines { width: 100%; border-collapse: collapse; margin: 8px 0 14px; }
.j-a4-lines th { padding: 6px 0; border-bottom: 1.5px solid #111111; font-size: 10.5px; text-align: left; text-transform: uppercase; letter-spacing: 0.05em; }
.j-a4-lines td { padding: 8px 0; border-bottom: 1px solid #dddddd; }
.j-a4-lines .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.j-a4-total { display: grid; justify-content: end; gap: 4px; margin-bottom: 18px; }
.j-a4-total div { display: flex; justify-content: space-between; gap: 48px; }
.j-a4-total .is-grand { padding-top: 6px; border-top: 2px solid #111111; font-size: 16px; font-weight: 800; }
.j-a4-pay { display: grid; grid-template-columns: 120px 1fr; gap: 18px; align-items: center; padding: 14px; border: 1px solid #cccccc; }
.j-a4-pay svg { width: 120px; height: 120px; }
.j-a4-foot { margin-top: 22px; font-size: 10.5px; color: #555555; }

/* Fiscal and accounting paper: access keys and barcode lines in groups, boxed fields like the official forms. */
.j-roll-small { font-size: 11px; line-height: 1.4; }
.j-roll-key { font-size: 11px; letter-spacing: 0.04em; word-spacing: 2px; text-align: center; }
.j-roll-box { margin: 6px 0; padding: 6px; border: 1.5px solid #111111; text-align: center; font-weight: 800; }
.j-a4-title { margin: 22px 0 6px; font-size: 18px; font-weight: 800; letter-spacing: 0.01em; }
.j-a4-amount { display: inline-block; margin: 4px 0 14px; padding: 8px 14px; border: 2px solid #111111; font-size: 20px; font-weight: 800; }
.j-a4-sign { display: grid; justify-items: center; gap: 2px; margin: 48px auto 0; width: 300px; padding-top: 8px; border-top: 1px solid #111111; text-align: center; }
.j-a4-fields { display: grid; grid-template-columns: repeat(2, 1fr); border: 1.5px solid #111111; }
.j-a4-fields div { display: grid; gap: 2px; padding: 6px 8px; border-right: 1px solid #111111; border-bottom: 1px solid #111111; }
.j-a4-fields div:nth-child(2n) { border-right: 0; }
.j-a4-fields small { font-size: 9.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #555555; }
.j-a4-fields b { font-size: 13px; }
.j-a4-fields .is-wide { grid-column: 1 / -1; border-right: 0; }
.j-paybars { display: grid; gap: 6px; margin-top: 16px; }
.j-paybars svg { width: 100%; height: 56px; }
.j-paybars rect { fill: #111111; }
.j-paybars span { font: 600 12px var(--font-mono); white-space: nowrap; }

/* Device frames beyond the phone: a tablet for the counter and a TV for the room; the content inside follows the theme. */
.j-tablet { width: 1194px; height: 834px; padding: 14px; border-radius: 40px; background: #0b0b0c; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28); }
.j-tablet__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 28px; background: var(--bg); }
.j-tv { width: 1440px; height: 810px; padding: 10px 10px 18px; border-radius: 10px; background: #0b0b0c; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28); }
.j-tv__screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 4px; background: var(--bg); }

/* Point of sale: products on the left in big touch tiles, the ticket on the right, the ways to pay at the bottom. */
.j-pos { display: grid; grid-template-columns: 92px minmax(0, 1fr) 380px; height: 100%; }
.j-pos__cats { display: grid; align-content: start; gap: 6px; padding: 16px 10px; border-right: 1px solid var(--line); background: var(--surface); }
.j-pos__cats button { display: grid; justify-items: center; gap: 4px; padding: 10px 4px; border: 0; border-radius: var(--radius-l); background: transparent; color: var(--ink-2); font: inherit; font-size: 12px; font-weight: 600; }
.j-pos__cats button[aria-pressed="true"] { background: var(--surface-3); color: var(--ink); }
.j-pos__main { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 14px; padding: 16px 18px; min-height: 0; }
.j-pos__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-content: start; }
.j-pos__item { display: grid; align-content: space-between; gap: 18px; min-height: 104px; padding: 12px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); color: var(--ink); text-align: left; font: inherit; }
.j-pos__item b { font-size: 15px; line-height: 1.2; }
.j-pos__item span { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.j-pos__item.is-hot { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.j-pos__ticket { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; border-left: 1px solid var(--line); background: var(--surface); min-height: 0; }
.j-pos__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.j-pos__lines { display: grid; align-content: start; gap: 2px; padding: 8px 10px; overflow: hidden; }
.j-pos__line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 14px; }
.j-pos__line small { display: block; color: var(--ink-3); font-size: 12px; }
.j-qty { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 4px; border-radius: var(--radius-pill); background: var(--surface-2); font-weight: 650; font-variant-numeric: tabular-nums; }
.j-qty svg { width: 14px; height: 14px; }
.j-pos__foot { display: grid; gap: 10px; padding: 14px 16px 16px; border-top: 1px solid var(--line); }
.j-pos__total { display: grid; gap: 2px; font-size: 15px; }
.j-pos__total b { font-size: 30px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.j-pos__pay { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.j-pos__pay button { display: grid; justify-items: center; gap: 4px; height: 64px; align-content: center; border-radius: var(--radius-l); border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-size: 12.5px; font-weight: 650; color: var(--ink); }
.j-pos__pay button.is-main { border-color: transparent; background: var(--action); color: var(--on-action); }

/* Big screens on the wall: read from three metres, numbers first, nothing to touch. */
.j-wall { display: grid; grid-template-rows: auto minmax(0, 1fr); height: 100%; padding: 32px 44px; gap: 24px; }
.j-wall__top { display: flex; align-items: center; justify-content: space-between; font-size: 22px; font-weight: 650; }
.j-wall__top time { font-size: 34px; font-weight: 750; font-variant-numeric: tabular-nums; }
.j-wall__cols { display: grid; grid-template-columns: 1fr 1.25fr 0.9fr; gap: 24px; min-height: 0; }
.j-wall__col { display: grid; align-content: start; gap: 14px; padding: 24px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); }
.j-wall__col h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -0.01em; }
.j-wall__col--ready { background: var(--positive-soft); border-color: transparent; }
.j-wall__nums { display: flex; flex-wrap: wrap; gap: 14px; }
.j-wall__nums b { display: grid; place-items: center; min-width: 120px; height: 84px; padding: 0 16px; border-radius: 20px; background: var(--surface); font-size: 46px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.j-wall__col--ready .j-wall__nums b { background: var(--surface); color: var(--positive); }
.j-wall__nums b.is-new { box-shadow: 0 0 0 4px var(--positive); }
.j-wall .j-meta { font-size: 20px; }
.j-wall__muted { font-size: 40px; font-weight: 700; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.j-wall__call { display: grid; place-items: center; align-content: center; gap: 6px; border-radius: 32px; background: var(--action); color: var(--on-action); text-align: center; }
.j-wall__call span { font-size: 28px; font-weight: 600; opacity: 0.8; }
.j-wall__call b { font-size: 150px; line-height: 1; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.j-wall__call em { font-style: normal; font-size: 44px; font-weight: 750; }
.j-wall__list { display: grid; gap: 12px; font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.j-wall__list div { display: flex; justify-content: space-between; padding: 14px 20px; border-radius: 18px; background: var(--surface); }
.j-wall__list span { color: var(--ink-3); }

/* States: empty, error, offline, no permission, a confirmation that cannot be undone, and an action that can. */
.j-state { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 260px; padding: 28px; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--surface); text-align: center; }
.j-state__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--surface-2); color: var(--ink-2); }
.j-state__icon--danger { background: var(--danger-soft); color: var(--danger); }
.j-state__icon--warning { background: var(--warning-soft); color: var(--warning); }
.j-state b { font-size: 17px; }
.j-state p { margin: 0; max-width: 320px; font-size: 13.5px; color: var(--ink-2); }
.j-state code { font: 500 12px var(--font-mono); color: var(--ink-3); }
.j-offline { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-m); background: var(--warning-soft); font-size: 13.5px; }
.j-dialog { display: grid; gap: 12px; width: 420px; padding: 22px; border-radius: var(--radius-xl); background: var(--raised); box-shadow: var(--shadow-3); border: 1px solid var(--line); }
.j-dialog h3 { margin: 0; font-size: 18px; }
.j-dialog__actions { display: flex; justify-content: flex-end; gap: 8px; }
.j-toast { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: var(--radius-pill); background: var(--ink); color: var(--bg); box-shadow: var(--shadow-3); font-size: 14px; }
.j-toast button { height: 32px; padding: 0 14px; border: 0; border-radius: var(--radius-pill); background: var(--bg); color: var(--ink); font: inherit; font-weight: 650; }

/* Lock screen: the order lives there while it moves (a live activity), notifications grouped by app. */
.j-lock { position: absolute; inset: 0; display: grid; align-content: start; gap: 12px; padding: 64px 14px 24px; background: linear-gradient(160deg, var(--brand-soft), var(--info-soft) 55%, var(--bg)); }
.j-lock__time { display: grid; justify-items: center; margin-bottom: 18px; }
.j-lock__time span { font-size: 17px; font-weight: 600; color: var(--ink-2); }
.j-lock__time b { font-size: 84px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.j-live { display: grid; gap: 10px; padding: 14px 16px; border-radius: 24px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); }
.j-live__track { position: relative; height: 6px; border-radius: 3px; background: var(--surface-3); }
.j-live__track i { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--brand); }
.j-live__track b { position: absolute; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow-1); display: grid; place-items: center; }
.j-note { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 22px; border: 1px solid var(--glass-line); background: var(--glass); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); font-size: 13.5px; }
.j-note__app { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--action); color: var(--on-action); }
.j-note small { color: var(--ink-3); font-size: 12px; }

/* Partner journey and roles: a partner's own apps in the stores, its account with the platform, affiliates, the
   vendor's product editor and the driver's earnings. Every color comes from the theme. */
.j-storeapp { display: grid; gap: 12px; padding: 16px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-storeapp__head { display: flex; align-items: center; gap: 12px; }
.j-storeapp__name { display: grid; margin-right: auto; font-weight: 700; }
.j-storeapp__name span { font-size: 12.5px; font-weight: 500; color: var(--ink-3); }
.j-appicon { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 13px; background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-1); }
.j-appicon--alt { background: var(--ink); color: var(--bg); }
.j-storeline { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius-m); background: var(--surface-2); font-size: 13px; }
.j-storeline > b { margin-right: auto; }
.j-storeline svg { width: 16px; height: 16px; flex: none; }
.j-storefix { display: grid; gap: 8px; padding: 12px 14px; border-radius: var(--radius-m); border: 1px dashed var(--danger); background: var(--danger-soft); font-size: 13px; }
.j-shots { display: grid; grid-template-columns: repeat(6, 104px); gap: 10px; }
.j-shotcard { display: grid; place-items: center; gap: 4px; aspect-ratio: 9 / 16; border-radius: 12px; border: 1px solid var(--line); background: linear-gradient(160deg, var(--brand-soft), var(--surface-2)); color: var(--ink-2); font-size: 11px; font-weight: 600; text-align: center; }
.j-shotcard svg { width: 18px; height: 18px; }
.j-billline { display: flex; align-items: baseline; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.j-billline > span:first-child { margin-right: auto; }
.j-billline b { font-variant-numeric: tabular-nums; }
.j-billline.is-total { border-bottom: 0; padding-top: 12px; font-size: 16px; font-weight: 700; }
.j-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.j-level { display: grid; gap: 4px; padding: 12px; border-radius: var(--radius-m); background: var(--surface-2); font-size: 12.5px; color: var(--ink-2); }
.j-level b { font-size: 20px; color: var(--ink); letter-spacing: -0.02em; }
.j-optgroup { display: grid; gap: 6px; padding: 12px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); }
.j-optrow { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.j-optrow > span:first-child { margin-right: auto; }
.j-optrow b { font-variant-numeric: tabular-nums; }
.j-dishphoto { position: relative; overflow: hidden; border-radius: var(--radius-m); aspect-ratio: 4 / 3; background: var(--surface-3); }
.j-dishphoto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.j-dishphoto span { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--glass); color: var(--ink); font-size: 11.5px; font-weight: 650; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.j-dishphoto span svg { width: 12px; height: 12px; }
.j-dishphoto--soft img { filter: saturate(0.7) brightness(0.92); }
.j-dishphoto--add { display: grid; place-items: center; gap: 4px; border: 1.5px dashed var(--line-strong); background: var(--surface); color: var(--ink-2); font-size: 12px; font-weight: 600; }
.j-earning { display: grid; gap: 2px; }
.j-earning b { font-size: 44px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.j-weekbars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; align-items: end; height: 92px; }
.j-weekbars > span { display: grid; justify-items: center; align-content: end; gap: 4px; height: 100%; font-size: 11px; color: var(--ink-3); }
.j-weekbars i { display: block; width: 100%; border-radius: 4px 4px 0 0; background: var(--viz-1); }
.j-weekbars .is-today i { background: var(--brand); }
.j-weekbars .is-today { color: var(--ink); font-weight: 650; }
.j-refcode { flex: none; }
.j-refcode .j-paycode { padding: 8px; border-radius: var(--radius-m); }
.j-refcode .j-paycode svg { width: 96px; height: 96px; }

/* Accounting, deeper: the firm's daily desk across many client companies, the access vault, certificates, the
   integrations hub, legislation packs per country, the split payment, payroll, schedules and the time clock. */
.j-ac2-cols { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 12px; align-items: start; }

/* Cards in a grid: certificates for sale, integrations, legislation packs. */
.j-ac2-cards { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 10px; }
.j-ac2-card { display: grid; align-content: start; gap: 6px; padding: 12px 14px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); font-size: 13px; }
.j-ac2-card__head { display: flex; align-items: start; gap: 10px; }
.j-ac2-card__name { display: grid; justify-items: start; gap: 4px; min-width: 0; }
.j-ac2-card__name b { font-size: 14px; line-height: 1.25; }
.j-ac2-card__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: var(--radius-m); background: var(--surface-2); color: var(--ink-2); }
.j-ac2-card__icon svg { width: 17px; height: 17px; }
.j-ac2-card__price { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.j-ac2-card.is-warn { border-color: var(--warning); }
.j-ac2-card.is-off { border-style: dashed; color: var(--ink-3); }
.j-ac2-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; color: var(--ink-2); font-size: 12.5px; }
.j-ac2-list li::before { content: "· "; color: var(--ink-3); }

/* The approval the owner sees on the phone before a remote session. */
.j-ac2-ask { display: grid; gap: 10px; padding: 14px; border-radius: 22px; border: 1px solid var(--glass-line); background: var(--glass); box-shadow: var(--shadow-2); font-size: 13.5px; }
.j-ac2-ask__app { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; color: var(--ink-2); }
.j-ac2-ask__app span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: var(--action); color: var(--on-action); }
.j-ac2-ask__app svg { width: 13px; height: 13px; }
.j-ac2-ask .j-cluster .j-btn { flex: 1; }

/* Split payment: one sale, separated at the moment it is paid. */
.j-ac2-split { display: flex; height: 44px; overflow: hidden; border-radius: var(--radius-m); }
.j-ac2-split span { display: grid; place-items: center; font-size: 13px; font-weight: 650; font-variant-numeric: tabular-nums; }
.j-ac2-split .is-seller { background: var(--positive-soft); color: var(--positive); }
.j-ac2-split .is-cbs { background: var(--info-soft); color: var(--info); }
.j-ac2-split .is-ibs { background: var(--warning-soft); color: var(--warning); }
.j-ac2-flow { display: grid; grid-template-columns: auto 28px auto 28px minmax(0, 1fr); align-items: center; gap: 8px; font-size: 13px; }
.j-ac2-flow > svg { width: 20px; height: 20px; color: var(--ink-3); }
.j-ac2-node { display: grid; gap: 2px; padding: 14px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); }
.j-ac2-node b { font-size: 16px; font-variant-numeric: tabular-nums; }

/* Pay slip, gross to net. */
.j-ac2-slip { display: grid; gap: 0; font-size: 13px; }
.j-ac2-slip div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.j-ac2-slip .is-minus span:last-child { color: var(--danger); }
.j-ac2-slip .is-total { border-bottom: 0; font-weight: 700; font-size: 15px; }

/* Roster: people down, days across, each shift a chip; the legal check sits at the end of the row. */
.j-ac2-roster { display: grid; grid-template-columns: 190px repeat(7, minmax(0, 1fr)) 150px; gap: 6px; align-items: center; font-size: 12.5px; }
.j-ac2-roster__head { font-size: 12px; font-weight: 650; color: var(--ink-3); text-align: center; }
.j-ac2-roster__who { display: grid; line-height: 1.25; }
.j-ac2-roster__who span { font-size: 12px; color: var(--ink-3); }
.j-ac2-shift { display: grid; place-items: center; height: 34px; border-radius: var(--radius-s); background: var(--info-soft); color: var(--info); font-weight: 650; font-variant-numeric: tabular-nums; }
.j-ac2-shift.is-night { background: var(--surface-3); color: var(--ink); }
.j-ac2-shift.is-off { background: transparent; border: 1px dashed var(--line-strong); color: var(--ink-3); font-weight: 500; }
.j-ac2-shift.is-warn { background: var(--warning-soft); color: var(--warning); }

/* Time clock on the phone: the time large, where you are, and the receipt the law requires. */
.j-ac2-clock { display: grid; justify-items: center; gap: 4px; padding: 16px 12px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.j-ac2-clock b { font-size: 54px; font-weight: 750; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.j-ac2-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.j-ac2-receipt { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-m); border: 1px dashed var(--line-strong); font: 500 12px var(--font-mono); color: var(--ink-2); }
.j-ac2-cards.is-3 { --n: 3; }

/* Segments beyond the first set: the bus, the heavy truck and the moving crew on the street; seats of a charter;
   the gym, the personal trainer, the tattoo studio and the aesthetics clinic. Every class here is prefixed j-sg2-. */

/* Street screens: one big next step, a route you read at a glance, two large actions at the bottom. */
.j-sg2-street { position: absolute; inset: 50px 0 0 0; display: flex; flex-direction: column; gap: 12px; padding: 10px 16px 24px; overflow: hidden; }
.j-sg2-next { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius-xl); background: var(--action); color: var(--on-action); }
.j-sg2-next span { font-size: 14px; opacity: 0.8; }
.j-sg2-next b { font-size: 25px; line-height: 1.15; letter-spacing: -0.02em; }
.j-sg2-stops { display: grid; }
.j-sg2-stop { display: grid; grid-template-columns: 52px 18px minmax(0, 1fr) 20px; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; }
.j-sg2-stop time { font-weight: 650; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.j-sg2-stop i { justify-self: center; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--line-strong); background: var(--surface); }
.j-sg2-stop.is-done { color: var(--ink-3); }
.j-sg2-stop.is-done i { border-color: var(--positive); background: var(--positive); }
.j-sg2-stop.is-done svg { width: 18px; height: 18px; color: var(--positive); }
.j-sg2-stop.is-now i { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.j-sg2-stop.is-now b { font-weight: 750; }
.j-sg2-street > * { flex-shrink: 0; }
.j-sg2-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.j-sg2-actions .j-btn { height: 56px; padding: 0 12px; }
.j-sg2-head { display: grid; gap: 2px; }
.j-sg2-head b { font-size: 21px; letter-spacing: -0.01em; }
.j-sg2-warn .j-bar i { background: var(--warning); }

/* Moving: the inventory as photos with their state, and the customer's signature at both ends. */
.j-sg2-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.j-sg2-item { display: grid; align-content: start; gap: 3px; min-width: 0; }
.j-sg2-item b { font-size: 15px; }
.j-sg2-item .j-meta { font-size: 13px; }
.j-sg2-thumb { position: relative; display: grid; place-items: end center; height: 88px; padding-bottom: 14px; border-radius: var(--radius-m); background: var(--surface-3); color: var(--ink-2); }
.j-sg2-thumb .j-status { position: absolute; left: 6px; top: 6px; }
.j-sg2-sign { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.j-sg2-sign > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--radius-m); border: 1px dashed var(--line-strong); font-size: 12px; color: var(--ink-3); }
.j-sg2-sign svg { width: 100%; height: 30px; color: var(--ink); }

/* Seats: a cabin seen from above, each seat a state you can tell by shape and by the legend, not by color alone. */
.j-sg2-seats { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
.j-sg2-cabin { display: grid; gap: 6px; padding: 26px 28px 20px; border-radius: 90px 90px 26px 26px; border: 1px solid var(--line); background: var(--surface); }
.j-sg2-row { display: grid; grid-template-columns: 22px repeat(3, 32px) 24px repeat(3, 32px); gap: 6px; align-items: center; font-size: 11px; font-weight: 600; color: var(--ink-3); text-align: center; }
.j-sg2-row--wide { grid-template-columns: 22px 50px 50px 24px 50px 50px; }
.j-sg2-seat { height: 28px; border-radius: 9px 9px 5px 5px; border: 1.5px solid var(--line-strong); background: var(--surface); }
.j-sg2-row--wide .j-sg2-seat { height: 36px; }
.j-sg2-seat.is-sold { border-color: transparent; background: var(--surface-3); }
.j-sg2-seat.is-held { border-color: var(--warning); background: var(--warning-soft); }
.j-sg2-seat.is-blocked { border-color: transparent; background: repeating-linear-gradient(45deg, var(--surface-2) 0 4px, var(--surface-3) 4px 8px); }
.j-sg2-seat.is-pick { border-color: var(--action); background: var(--action); }
.j-sg2-seat.is-exit { border-color: var(--info); border-width: 2px; }
.j-sg2-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--ink-2); }
.j-sg2-legend span { display: inline-flex; align-items: center; gap: 6px; }
.j-sg2-legend .j-sg2-seat { display: inline-block; width: 16px; height: 16px; }
.j-sg2-divider { grid-column: 1 / -1; height: 1px; margin: 6px 0; background: var(--line); }

/* Gym and trainer: classes with capacity and waitlist, videos that make a workout, progress over weeks. */
.j-sg2-classes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.j-sg2-class { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-sg2-class b { font-size: 15px; }
.j-sg2-clips { display: flex; gap: 8px; overflow: hidden; mask-image: linear-gradient(90deg, black 86%, transparent); }
.j-sg2-clip { flex: none; display: grid; gap: 4px; width: 104px; font-size: 12px; font-weight: 600; }
.j-sg2-video { position: relative; display: grid; place-items: center; height: 120px; border-radius: var(--radius-m); background: linear-gradient(160deg, var(--info-soft), var(--brand-soft)); color: var(--ink); }
.j-sg2-video small { position: absolute; right: 6px; bottom: 6px; padding: 1px 6px; border-radius: var(--radius-pill); background: var(--glass); font-size: 11px; font-weight: 650; }
.j-sg2-spark { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.j-sg2-spark i { flex: 1; border-radius: 3px 3px 0 0; background: var(--positive); }

/* Tattoo: the client's reference, where it goes on the body, the artists' day and a portfolio of fine lines. */
.j-sg2-art { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.j-sg2-art svg { width: 76%; height: 76%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.j-sg2-art--ref { aspect-ratio: auto; height: 200px; }
.j-sg2-folio { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.j-sg2-folio--wide { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.j-sg2-body { display: grid; justify-items: center; gap: 6px; padding: 10px; border-radius: var(--radius-l); background: var(--surface-2); font-size: 12px; color: var(--ink-2); text-align: center; }
.j-sg2-body svg { height: 160px; }
.j-sg2-skin { fill: var(--surface-3); stroke: var(--line-strong); stroke-width: 1.5; }
.j-sg2-mark { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 2; stroke-dasharray: 4 3; }
.j-sg2-artists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.j-sg2-artist { display: grid; align-content: start; gap: 6px; }
.j-sg2-slot { display: grid; gap: 1px; padding: 10px 12px; border-radius: var(--radius-m); border: 1px solid var(--line); border-left: 3px solid var(--brand); background: var(--surface); font-size: 12.5px; }
.j-sg2-slot--free { border-left-width: 1px; border-style: dashed; background: transparent; color: var(--ink-3); }

/* Aesthetics: before and after stay blurred until opened, and only with the client's consent on file. */
.j-sg2-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.j-sg2-pair figure { position: relative; margin: 0; overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--radius-m); }
.j-sg2-pair img { width: 100%; height: 100%; object-fit: cover; filter: blur(7px) saturate(0.9); transform: scale(1.12); }
.j-sg2-pair figure + figure img { filter: blur(7px) saturate(1.15) brightness(1.08); }
.j-sg2-pair figcaption { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--glass); font-size: 11px; font-weight: 650; }
.j-sg2-campaign { display: grid; gap: 8px; padding: 14px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-sg2-campaign b { font-size: 15px; }
.j-sg2-rtl { font-size: 13px; color: var(--ink-2); }

/* Delivery method: how a person chooses the way to answer (fast, complete, done for them, by message), one question at
   a time with what the assistant already knows filled in, and the standard path from the first talk to a running platform. */
.j-dl-modes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.j-dl-mode { display: grid; gap: 6px; padding: 14px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-dl-mode b { font-size: 15px; }
.j-dl-mode span { font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.j-dl-mode.is-on { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.j-dl-mode svg { width: 22px; height: 22px; color: var(--brand-ink); }
.j-dl-ask { display: grid; gap: 14px; padding: 28px; border-radius: var(--radius-xl); border: 1px solid var(--line); background: var(--surface); }
.j-dl-ask h2 { margin: 0; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; }
.j-dl-guess { display: flex; flex-wrap: wrap; gap: 8px; }
.j-dl-guess button { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; }
.j-dl-guess button[aria-pressed="true"] { border-color: transparent; background: var(--brand-soft); color: var(--brand-ink); }
.j-dl-guess svg { width: 15px; height: 15px; }
.j-dl-frame { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; padding: 24px 40px; min-height: 0; overflow: hidden; }
.j-dl-phase { display: grid; gap: 8px; align-content: start; padding: 14px; border-radius: var(--radius-l); background: var(--surface); border: 1px solid var(--line); font-size: 13px; }
.j-dl-phase b { font-size: 14px; }
.j-dl-phase.is-done { background: var(--positive-soft); border-color: transparent; }
.j-dl-phase.is-now { border-color: var(--focus); box-shadow: 0 0 0 1px var(--focus); }
.j-dl-who { display: flex; flex-wrap: wrap; gap: 4px; }
.j-dl-who span { height: 20px; padding: 0 7px; border-radius: var(--radius-pill); background: var(--surface-2); color: var(--ink-2); font-size: 11px; font-weight: 650; line-height: 20px; }
.j-dl-phases { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }

/* Logistics: routes with stops and vehicles on the map, the capacity of each vehicle, the loading order, the proof of
   delivery, the parking yard and the car wash with pickup. Every class here is prefixed j-lg-. */

/* Map layers drawn over the shared map (land, water, roads come from the data part). */
.j-lg-path { fill: none; stroke: var(--c); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.j-lg-path.is-done { stroke-dasharray: 1 10; stroke-width: 6; }
.j-lg-stop circle { fill: var(--surface); stroke: var(--c); stroke-width: 3; }
.j-lg-stop text { fill: var(--ink); font-size: 11px; font-weight: 750; text-anchor: middle; dominant-baseline: central; font-variant-numeric: tabular-nums; }
.j-lg-stop.is-done circle { fill: var(--c); stroke: var(--surface); stroke-width: 2; }
.j-lg-stop.is-late circle { stroke: var(--warning); stroke-width: 4; }
.j-lg-depot { fill: var(--action); stroke: var(--surface); stroke-width: 3; }
.j-lg-halo { fill: var(--c); opacity: 0.2; }
.j-lg-vehicle { fill: var(--c); stroke: var(--surface); stroke-width: 3; }
.j-lg-mini { position: relative; height: 200px; border-radius: var(--radius-l); border: 1px solid var(--line); overflow: hidden; background: var(--map-land); }
.j-lg-mini svg { display: block; width: 100%; height: 100%; }
.j-lg-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--ink-2); }
.j-lg-legend span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.j-lg-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

/* A vehicle's route card: who drives, how full it is, whether every stop keeps its time window. */
.j-lg-route { display: grid; gap: 8px; padding: 12px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); }
.j-lg-route.is-alert { border-color: var(--warning); }
.j-lg-route__name { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; white-space: nowrap; }
.j-lg-route__name::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.j-lg-cap { display: grid; grid-template-columns: 58px minmax(0, 1fr) 86px; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); }
.j-lg-cap span:last-child { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Parking yard: one cell per spot, the state in the fill, electric and accessible spots marked. */
.j-lg-spots { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 4px; }
.j-lg-spot { display: grid; place-items: center; height: 34px; border-radius: var(--radius-xs); border: 1px solid var(--line); background: var(--positive-soft); color: var(--ink-2); }
.j-lg-spot svg { width: 13px; height: 13px; }
.j-lg-spot.is-busy { background: var(--surface-3); border-color: transparent; }
.j-lg-spot.is-booked { background: var(--info-soft); border-color: var(--info); }
.j-lg-spot.is-month { background: var(--surface-2); border-style: dashed; }
.j-lg-key { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--ink-2); }
.j-lg-key span { display: inline-flex; align-items: center; gap: 6px; }
.j-lg-key i { width: 14px; height: 14px; border-radius: 3px; border: 1px solid var(--line); background: var(--positive-soft); }
.j-lg-key i.is-busy { background: var(--surface-3); border-color: transparent; }
.j-lg-key i.is-booked { background: var(--info-soft); border-color: var(--info); }
.j-lg-key i.is-month { background: var(--surface-2); border-style: dashed; }
.j-lg-plate { font: 600 13px var(--font-mono); letter-spacing: 0.04em; white-space: nowrap; }

/* Proof of delivery and vehicle check-in: photos, the marks on the car, the signature. */
.j-lg-shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.j-lg-shot { position: relative; display: grid; place-items: center; align-content: center; gap: 4px; height: 70px; border-radius: var(--radius-m); background: var(--surface-3); color: var(--ink-2); font-size: 11.5px; font-weight: 600; }
.j-lg-shot svg { width: 18px; height: 18px; }
.j-lg-shot.is-done { background: var(--positive-soft); color: var(--ink); }
.j-lg-shot.is-done svg { color: var(--positive); }
.j-lg-shot.is-todo { background: var(--surface); border: 1.5px dashed var(--line-strong); }
.j-lg-car { display: grid; grid-template-columns: 120px minmax(0, 1fr); align-items: center; gap: 14px; }
.j-lg-car svg { width: 120px; height: 150px; }
.j-lg-car__body { fill: var(--surface-2); stroke: var(--ink-3); stroke-width: 2; }
.j-lg-car__glass { fill: var(--surface-3); stroke: var(--ink-3); stroke-width: 1.5; }
.j-lg-car__mark { fill: var(--warning); stroke: var(--surface); stroke-width: 2; }
.j-lg-car__num { fill: var(--ink); font-size: 10px; font-weight: 750; text-anchor: middle; dominant-baseline: central; }
.j-lg-sign { display: block; width: 100%; height: 76px; border-radius: var(--radius-m); border: 1.5px dashed var(--line-strong); background: var(--surface); }
.j-lg-sign path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.j-lg-switch { padding: 0 8px; }
.j-lg-maplegend { padding: 8px 12px; }
.j-lg-mini--short { height: 150px; }
.j-lg-path.is-plain { stroke: var(--map-route); stroke-width: 6; }
.j-lg-stop.is-done text { fill: var(--surface); }

/* Places: the drawn plan of a parking yard with the way to the spot, arrivals announced to the partner who is waiting,
   and inspections (vehicle or property) compared at the start and at the end. Every class here is prefixed j-pl-. */

/* The yard plan: lanes, spots by state, the core with the elevator, the way from the gate to the spot. */
.j-pl-plan { position: relative; min-height: 0; overflow: hidden; background: var(--bg); border-right: 1px solid var(--line); }
.j-pl-plan > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.j-pl-slab { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 2; }
.j-pl-lane { fill: var(--surface); }
.j-pl-arrow { fill: none; stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.j-pl-spot { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1; }
.j-pl-spot.is-busy { fill: var(--surface-3); stroke: transparent; }
.j-pl-spot.is-free { fill: var(--positive-soft); stroke: var(--positive); }
.j-pl-spot.is-held { fill: var(--info-soft); stroke: var(--info); stroke-width: 2; }
.j-pl-spot.is-target { fill: var(--action); stroke: var(--action); }
.j-pl-spot.is-month { fill: var(--surface-2); stroke-dasharray: 4 3; }
.j-pl-tag { fill: var(--ink-2); font-size: 10px; font-weight: 650; text-anchor: middle; dominant-baseline: central; }
.j-pl-tag.is-on { fill: var(--on-action); }
.j-pl-core { fill: var(--ink); }
.j-pl-coretext { fill: var(--bg); font-size: 12px; font-weight: 700; text-anchor: middle; dominant-baseline: central; }
.j-pl-gate { fill: var(--positive); }
.j-pl-gatetext { fill: var(--ink); font-size: 12px; font-weight: 700; }
.j-pl-path { fill: none; stroke: var(--action); stroke-width: 4; stroke-dasharray: 10 8; stroke-linecap: round; stroke-linejoin: round; }
.j-pl-car { fill: var(--action); stroke: var(--surface); stroke-width: 3; }

/* Property inspection: rooms on a plan with the marks found. */
.j-pl-house { display: block; width: 100%; height: 170px; border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--surface); }
.j-pl-room { fill: var(--surface-2); stroke: var(--ink-3); stroke-width: 2; }
.j-pl-room.is-done { fill: var(--positive-soft); }
.j-pl-room.is-now { fill: var(--info-soft); stroke: var(--info); }
.j-pl-roomname { fill: var(--ink-2); font-size: 11px; font-weight: 650; text-anchor: middle; }

/* Start and end of an inspection side by side. */
.j-pl-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.j-pl-side { display: grid; gap: 10px; padding: 12px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); }
.j-pl-side.is-new { border-color: var(--warning); }

/* Developers: the API reference with its try-it panel, a partner's module with its manifest and review, the sandbox
   with the request log, and the event catalog with the payload schema. Every class here is prefixed j-dev-. */

/* Three columns for reference pages: the resource list, the document, the panel that runs it. */
.j-dev-ref { display: grid; grid-template-columns: 220px minmax(0, 1fr) 450px; min-height: 0; }
.j-dev-nav { display: grid; gap: 2px; align-content: start; padding: 16px 12px; border-right: 1px solid var(--line); overflow: hidden; }
.j-dev-nav h3 { margin: 12px 8px 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.j-dev-nav h3:first-child { margin-top: 0; }
.j-dev-nav a { display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 8px; border-radius: var(--radius-s); color: var(--ink-2); font-size: 13px; white-space: nowrap; overflow: hidden; }
.j-dev-nav a[aria-current="page"] { background: var(--surface-3); color: var(--ink); font-weight: 600; }
.j-dev-nav a span { overflow: hidden; text-overflow: ellipsis; }

/* An endpoint: the method in its own color, the path in mono. */
.j-dev-method { display: inline-grid; place-items: center; min-width: 46px; height: 20px; padding: 0 6px; border-radius: var(--radius-xs); font: 700 10.5px var(--font-mono); letter-spacing: 0.02em; flex: none; background: var(--info-soft); color: var(--info); }
.j-dev-method.is-post { background: var(--positive-soft); color: var(--positive); }
.j-dev-method.is-patch { background: var(--warning-soft); color: var(--warning); }
.j-dev-method.is-delete { background: var(--danger-soft); color: var(--danger); }
.j-dev-endpoint { display: flex; align-items: center; gap: 10px; font: 600 16px var(--font-mono); color: var(--ink); white-space: nowrap; }
.j-dev-endpoint .j-dev-method { height: 24px; font-size: 12px; }

/* Parameters and schema: name in mono, type and whether it is required, then what it means. */
.j-dev-params { display: grid; border-top: 1px solid var(--line); }
.j-dev-param { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 2px 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.j-dev-param code { font: 600 12.5px var(--font-mono); color: var(--ink); }
.j-dev-param small { grid-column: 1; font-size: 11.5px; color: var(--ink-3); }
.j-dev-param span { grid-column: 2; grid-row: 1 / span 2; color: var(--ink-2); line-height: 1.4; }
.j-dev-param .is-req { color: var(--danger); font-weight: 650; }
.j-dev-schema { display: grid; border-top: 1px solid var(--line); }
.j-dev-field { display: grid; grid-template-columns: minmax(0, 200px) 74px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.j-dev-field code { padding-left: calc(var(--d, 0) * 18px); font: 600 12.5px var(--font-mono); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.j-dev-field small { font: 500 11.5px var(--font-mono); color: var(--info); }
.j-dev-field span { color: var(--ink-2); line-height: 1.35; }

/* Code and responses: a calm block with a few colors that carry meaning (keys, strings, numbers, comments). */
.j-dev-code { margin: 0; padding: 12px 14px; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--surface); font: 12px/1.6 var(--font-mono); color: var(--ink); white-space: pre; overflow: hidden; }
.j-dev-code .k { color: var(--info); }
.j-dev-code .s { color: var(--positive); }
.j-dev-code .n { color: var(--warning); }
.j-dev-code .c { color: var(--ink-3); }
.j-dev-codehead { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink-2); }
.j-dev-codehead b { font: 600 12px var(--font-mono); color: var(--ink); }

/* The menu a module adds to: the existing items, and the one it brings, marked. */
.j-dev-menu { display: grid; gap: 2px; padding: 8px; border-radius: var(--radius-m); background: var(--surface-2); }
.j-dev-menu b { padding: 4px 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.j-dev-menu span { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: var(--radius-s); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.j-dev-menu span svg { width: 15px; height: 15px; }
.j-dev-menu span.is-new { background: var(--brand-soft); color: var(--brand-ink); font-weight: 650; }
.j-dev-menu span.is-new em { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 650; }

/* Filters above a log, in one row. */
.j-dev-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.j-dev-filters .j-chip svg { width: 13px; height: 13px; color: var(--ink-3); }

/* Every app screen follows the social network (the Square design system): the same type scale, icon stroke, gutter,
   top bar and tab bar, whatever the profile (business, driver, affiliate, condominium). The rules live here once,
   scoped to the phone, so no screen has to remember them. Measures taken from the Square bundle (29/11):
   top title 700 24/30, row title 600 15/20, row meta 400 13/18, body 400 15/21, icon stroke 1.9,
   gutter 16, row 60 high with a 40 round icon, tab bar fixed full width with icons only. */
.j-phone .j-screen { --app-gutter: 16px; font: 400 15px/21px var(--font-ui); }
.j-phone svg.lucide { stroke-width: 1.9; }

/* Titles */
.j-phone .j-screen h1 { font: 700 24px/30px var(--font-ui); letter-spacing: -0.015em; }
.j-phone .j-section { font: 700 18px/24px var(--font-ui); letter-spacing: -0.01em; }
.j-phone .j-meta { font-size: 13px; line-height: 18px; }

/* Lists sit on the page edge to edge, like the feed; inside a card they keep the card's padding. */
.j-phone .j-screen > .j-list { margin: 0 calc(var(--app-gutter) * -1); border: 0; border-radius: 0; background: transparent; }
.j-phone .j-screen > .j-list .j-row { min-height: 60px; padding: 8px var(--app-gutter); }
.j-phone .j-row__tile { width: 40px; height: 40px; border-radius: 50%; }
.j-phone .j-row__tile svg { width: 20px; height: 20px; }
.j-phone .j-row__title { font: 600 15px/20px var(--font-ui); }
.j-phone .j-row__meta { font: 400 13px/18px var(--font-ui); }

/* Cards keep their surface with the Square radius and a tighter inside. */
.j-phone .j-tile { padding: 14px; border-radius: 16px; }

/* Top bar buttons are plain icons, 44 by 44, as in the Square; the glass circle stays only over a map or a photo. */
.j-phone .j-screen > .j-between .j-iconbtn--glass { border-color: transparent; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.j-phone .j-screen > .j-between .j-iconbtn--glass svg { width: 26px; height: 26px; }

/* The business switch reads as the account title, like the profile name in the Square. */
.j-phone .j-screen > .j-between .j-switch { height: auto; padding: 0; gap: 10px; border: 0; background: transparent; box-shadow: none; }
.j-phone .j-screen > .j-between .j-switch__name { font: 700 17px/22px var(--font-ui); }
.j-phone .j-screen > .j-between .j-switch__kind { font: 400 13px/16px var(--font-ui); }

/* Numbers: the value reads first, the label is quiet. */
.j-phone .j-metric__label { font: 400 12px/16px var(--font-ui); }
.j-phone .j-metric__value { font-size: min(22px, 21cqi); line-height: 1.2; font-weight: 700; }

/* The home indicator of the phone, as in the Square frame. */
.j-phone__screen::after { content: ""; position: absolute; z-index: 9; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: var(--ink); pointer-events: none; }

/* Loading: on the phone the skeleton of a row has the row's round 40 icon, so what arrives takes its exact place. */
.j-phone .j-skeleton--tile { width: 40px; height: 40px; border-radius: 50%; }

/* The live app: the same screen inside the Flutter shell instead of the showcase frame (30/11). It fills the device,
   loses the bezel, the rounded glass and the home indicator, and scrolls its own content above the tab bar. */
.j-phone--live { width: 100%; height: 100dvh; padding: 0; border-radius: 0; background: var(--bg); box-shadow: none; }
.j-phone--live .j-phone__screen { border-radius: 0; }
.j-phone--live .j-phone__screen::after { content: none; }
.j-phone--live .j-screen { overflow-y: auto; padding-bottom: 96px; }

/* Motion in every screen (owner, 29/11: elegant, smooth transitions and small animations in actions). The frame stays
   still (sidebar, top bar, tab bar) and the content arrives, so every screen opens like a transition between pages.
   One shot on arrival, quick on touch, never in the way; it all stops for whoever asks for less motion. */
@keyframes j-enter { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes j-enter-side { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes j-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes j-grow-up { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes j-pop-in { 0% { opacity: 0; transform: scale(0.86); } 60% { opacity: 1; transform: scale(1.04); } 100% { transform: scale(1); } }
@keyframes j-trace { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
@keyframes j-sheet-in { from { opacity: 0; transform: translateY(48px); } to { opacity: 1; transform: none; } }
@keyframes j-ring { from { transform: scale(0.7); opacity: 0.55; } to { transform: scale(1.9); opacity: 0; } }

/* Arrival: the blocks of the page rise in one after the other. */
:where(.j-root .j-screen > *, .j-root .j-page > *, .j-root .j-pane > *, .j-root .j-lock > *) { animation: j-enter 420ms var(--ease-enter) both; }
:where(.j-root .j-screen > :nth-child(2), .j-root .j-page > :nth-child(2), .j-root .j-pane > :nth-child(2), .j-root .j-lock > :nth-child(2)) { animation-delay: 50ms; }
:where(.j-root .j-screen > :nth-child(3), .j-root .j-page > :nth-child(3), .j-root .j-pane > :nth-child(3), .j-root .j-lock > :nth-child(3)) { animation-delay: 100ms; }
:where(.j-root .j-screen > :nth-child(4), .j-root .j-page > :nth-child(4), .j-root .j-pane > :nth-child(4), .j-root .j-lock > :nth-child(4)) { animation-delay: 150ms; }
:where(.j-root .j-screen > :nth-child(5), .j-root .j-page > :nth-child(5), .j-root .j-pane > :nth-child(5), .j-root .j-lock > :nth-child(5)) { animation-delay: 200ms; }
:where(.j-root .j-screen > :nth-child(n+6), .j-root .j-page > :nth-child(n+6), .j-root .j-pane > :nth-child(n+6), .j-root .j-lock > :nth-child(n+6)) { animation-delay: 250ms; }
:where(.j-root .j-lock > .j-note) { animation-name: j-enter-side; }

/* Touch: buttons answer the finger, rows and cards answer the pointer. */
.j-root .j-btn { transition: transform var(--motion-fast) var(--ease-standard), background-color 160ms var(--ease-standard), box-shadow 160ms var(--ease-standard), border-color 160ms var(--ease-standard); }
.j-root .j-btn:active { transform: scale(0.97); }
.j-root .j-iconbtn { transition: transform var(--motion-fast) var(--ease-standard), background-color 160ms var(--ease-standard); }
.j-root .j-iconbtn:active { transform: scale(0.92); }
.j-root .j-row, .j-root .j-tabbar a, .j-root .j-seg button { transition: background-color 160ms var(--ease-standard), color 160ms var(--ease-standard); }
.j-root .j-tile--lift { transition: transform 200ms var(--ease-standard), box-shadow 200ms var(--ease-standard); }
.j-root .j-tile--lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.j-root .j-toggle, .j-root .j-toggle::after { transition: background-color 200ms var(--ease-standard), left 240ms var(--ease-enter); }

/* What changed draws the eye once: the current tab, a new state, a count. */
.j-root .j-tabbar a[aria-current="page"] svg { animation: j-pop-in 420ms var(--ease-enter) 200ms both; }
.j-root .j-status, .j-root .j-count, .j-root .j-unread { animation: j-pop-in 360ms var(--ease-enter) 280ms both; }

/* Progress fills, charts grow from their base, routes draw themselves, sheets rise. */
.j-root .j-bar i { transform-origin: left center; animation: j-grow 800ms var(--ease-enter) 220ms both; }
.j-root [dir="rtl"] .j-bar i { transform-origin: right center; }
.j-root .j-viz__mark { transform-box: fill-box; transform-origin: bottom; animation: j-grow-up 700ms var(--ease-enter) 200ms both; }
.j-root .j-map__route, .j-root .j-lg-path:not(.is-done) { stroke-dasharray: 1600; animation: j-trace 1600ms var(--ease-standard) 200ms both; }
.j-root .j-sheet { animation: j-sheet-in 460ms var(--ease-enter) both; }
.j-root .j-dialog, .j-root .j-toast { animation: j-pop-in 320ms var(--ease-enter) both; }

/* Something live breathes: the vehicle on the route. */
.j-root .j-lg-halo { transform-box: fill-box; transform-origin: center; animation: j-ring 1800ms ease-out infinite; }

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