/* Arcton Ai layout layer (formerly "Copou Ledger") - redesign layer loaded after styles.css.
   Layout: colour-coded journey tabs on the right edge (bottom on phones), map-first Home, burgundy palette. */
:root {
  --plum-950: #20103B; --plum-900: #2A174B; --plum-800: #3A1E6A; --plum-700: #462879;
  --plum-600: #52328A; --plum-500: #6440A3;
  --ice-500: #7EB6E0; --ice-400: #A9D4F0; --ice-300: #CFE6F7;
  --snow: #F8F6FD; --lav-100: #ECE6F6; --lav-200: #D5C9E9; --sage-300: #A9C4AC;
  --f-display: 'Sora', 'Lexend', system-ui, sans-serif;
  --radius: 18px;

  --bg: #F1EEF7; --bg-2: #E8E3F1; --card: #FFFFFF; --text: #1F1431; --muted: #584D6C;
  --head: #20103B; --tag: #462879; --focus: #52328A; --line: rgba(58, 30, 106, .14);
  --shadow: 0 1px 0 rgba(32, 16, 59, .04), 0 18px 34px -26px rgba(32, 16, 59, .5);
  --good: #2E5A3E; --good-bg: #E4EDE4; --warn-bg: #FBEBC0; --warn-text: #5A3F00;
  --rail: #20103B; --accent: #3A1E6A; --accent-ink: #F8F6FD;
  --map-land: #E6E1EF; --map-road: #FFFFFF; --map-park: #D7E2D2; --map-water: #D3DEE4; --map-block: #DAD3E6; --map-label: #7A708B;
  --st-observe: #D5C9E9; --st-observe-ink: #20103B;
  --st-diagnose: #52328A; --st-diagnose-ink: #F8F6FD;
  --st-act: #7EB6E0; --st-act-ink: #20103B;
  --st-measure: #A9C4AC; --st-measure-ink: #1F3A26;
}
:root[data-theme='dark'] {
  --bg: #130D1D; --bg-2: #191225; --card: #1D162A; --text: #EEE9F6; --muted: #BDB4CC;
  --head: #F4EFFA; --tag: #CFBEEC; --focus: #A9D4F0; --line: rgba(238, 233, 246, .14);
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 18px 34px -22px rgba(0, 0, 0, .7);
  --good: #A9D3B2; --good-bg: rgba(169, 196, 172, .16); --warn-bg: rgba(232, 176, 75, .16); --warn-text: #F7DC8E;
  --rail: #0B0711; --accent: #D5C9E9; --accent-ink: #20103B;
  --map-land: #1D1629; --map-road: #2F273D; --map-park: #24332A; --map-water: #1D2A33; --map-block: #251D34; --map-label: #978EA7;
  --st-diagnose: #714BB2;
}

body { background: var(--bg); }
h1, h2, h3 { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; letter-spacing: -.02em; }
h4 { font-weight: 600; }
/* labels: sentence case instead of shouty uppercase everywhere */
.tag, .field-note { text-transform: none; letter-spacing: 0; font-size: .82rem; font-weight: 600; }
.field-note::before { width: 10px; height: 10px; border-radius: 3px; background: currentColor; margin-right: 8px; vertical-align: -1px; }
.label-mono { letter-spacing: .02em; text-transform: none; font-size: .78rem; font-weight: 500; }

/* ---------- buttons ---------- */
.btn { font-weight: 600; border-radius: 14px; transition: transform .12s ease, background-color .15s, box-shadow .15s; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: none; }
.btn-primary:hover:not([disabled]) { background: var(--plum-600); transform: translateY(-1px); box-shadow: 0 10px 18px -10px rgba(58, 30, 106, .8); }
:root[data-theme='dark'] .btn-primary:hover:not([disabled]) { background: #E6DDF5; }
.btn-secondary { border-width: 1.5px; border-color: var(--line); color: var(--head); background: var(--card); }
.btn-secondary:hover:not([disabled]) { background: var(--lav-100); border-color: var(--lav-200); }
:root[data-theme='dark'] .btn-secondary:hover:not([disabled]) { background: rgba(213, 201, 233, .12); }
.card-accent .btn-primary, .hero-card .btn-primary, .opp2 .btn-primary { background: var(--ice-400); color: var(--plum-950); }
.card-accent .btn-primary:hover:not([disabled]), .hero-card .btn-primary:hover:not([disabled]), .opp2 .btn-primary:hover:not([disabled]) { background: var(--ice-300); }
.card-accent .btn-secondary, .hero-card .btn-secondary, .opp2 .btn-secondary { background: transparent; color: var(--snow); border-color: rgba(255, 246, 242, .45); }
.card-accent .btn-secondary:hover:not([disabled]), .hero-card .btn-secondary:hover:not([disabled]), .opp2 .btn-secondary:hover:not([disabled]) { background: rgba(255, 246, 242, .1); }

/* ---------- cards ---------- */
.card { border: 0; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.card-accent { background: var(--plum-800); background-image: none; box-shadow: var(--shadow); }
.hero-card { background: var(--plum-800); border-radius: 22px; }

/* ---------- shell: content + journey rail ---------- */
.app { grid-template-columns: minmax(0, 1fr) 80px; background: var(--rail); }
.app .content { background: var(--bg); min-height: 100vh; }
.topbar { background: color-mix(in srgb, var(--bg) 92%, transparent); border-bottom: 1px solid var(--line); min-height: 68px; gap: 12px; }
.top-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum-800); min-height: 44px; }
:root[data-theme='dark'] .top-brand { color: var(--head); }
.top-brand strong { font: 800 1.2rem var(--f-display); font-stretch: 112%; letter-spacing: -.01em; }
.top-brand .brand-logo { width: 34px; height: 34px; border-radius: 10px; }
.top-biz { color: var(--muted); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.lang, .icon-btn { border-color: var(--line); }

.stage-tabs { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 18px 0; background: var(--rail); z-index: 40; }
.stage-tab { --tb: rgba(255, 246, 242, .1); --ti: #EEE9F6;
  writing-mode: vertical-rl; display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 58px; min-height: 124px; padding: 16px 0; border-radius: 0 16px 16px 0; text-decoration: none;
  background: var(--tb); color: var(--ti); font: 700 .95rem/1 var(--f-display); font-stretch: 112%; letter-spacing: .03em;
  transition: transform .18s ease, width .18s ease, box-shadow .18s; position: relative; }
.stage-tab:hover { transform: translateX(5px); }
.stage-tab:focus-visible { outline-offset: -4px; }
.stage-tab .stage-n { writing-mode: horizontal-tb; font: 500 .7rem var(--f-ui); opacity: .8; display: inline-grid; place-items: center; }
.stage-tab[data-stage='home'] { --tb: rgba(255, 246, 242, .14); min-height: 104px; }
.stage-tab[data-stage='observe'] { --tb: var(--st-observe); --ti: var(--st-observe-ink); }
.stage-tab[data-stage='diagnose'] { --tb: var(--st-diagnose); --ti: var(--st-diagnose-ink); }
.stage-tab[data-stage='act'] { --tb: var(--st-act); --ti: var(--st-act-ink); }
.stage-tab[data-stage='measure'] { --tb: var(--st-measure); --ti: var(--st-measure-ink); }
.stage-tab[aria-current='page'] { width: 74px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .55); }
.stage-tab[data-stage='home'][aria-current='page'] { width: 80px; border-radius: 0; background: var(--bg); color: var(--plum-800); box-shadow: none; }
:root[data-theme='dark'] .stage-tab[data-stage='home'][aria-current='page'] { color: var(--head); }

/* stage colour carried into the page: a stripe plus sub-navigation for stages with several screens */
.subnav { display: flex; gap: 8px; flex-wrap: wrap; padding: 12px clamp(14px, 3vw, 40px); border-bottom: 1px solid var(--line); background: var(--bg-2); position: relative; }
.subnav::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--sc, var(--accent)); }
.subnav[data-stage='observe'] { --sc: var(--st-observe); } .subnav[data-stage='act'] { --sc: var(--st-act); }
.subnav-item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; text-decoration: none; color: var(--head); font-weight: 500; font-size: .92rem; transition: background .15s; }
.subnav-item:hover { background: var(--card); }
.subnav-item[aria-current='page'] { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--sc); font-weight: 600; }

/* ---------- Home ---------- */
.home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; margin-bottom: 18px; }
.home-head h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }
.home-step { color: var(--muted); margin: 6px 0 0; }
.home-lede { max-width: 46ch; margin: 0; font-size: .92rem; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 22px; margin-bottom: 22px; align-items: stretch; }

.map-card { position: relative; min-height: 540px; border-radius: 22px; overflow: hidden; background: var(--map-land); box-shadow: inset 0 0 0 1px var(--line); isolation: isolate; }
.street { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.street .m-water { fill: var(--map-water); } .street .m-park { fill: var(--map-park); } .street .m-block { fill: var(--map-block); }
.street .m-road { stroke: var(--map-road); fill: none; stroke-linecap: round; } .street .m-label { fill: var(--map-label); font: 500 12px var(--f-ui); }
.map-chip { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--card); color: var(--text); border-radius: 999px; padding: 7px 14px; font-size: .82rem; box-shadow: var(--shadow); max-width: calc(100% - 28px); }
.pin { position: absolute; transform: translate(-50%, -100%); white-space: nowrap; transition: transform .15s ease; }
.pin:hover { transform: translate(-50%, -106%); }
.pin-you { display: flex; flex-direction: column; align-items: center; z-index: 2; }
.pin-you b { background: var(--plum-800); color: var(--snow); border-radius: 12px; padding: 7px 13px; font-weight: 600; font-size: .9rem; box-shadow: 0 10px 20px -10px rgba(32, 16, 59, .9); }
.pin-you b em { font-style: normal; color: var(--ice-400); margin-left: 6px; }
.pin-you::after { content: ''; border: 8px solid transparent; border-top: 11px solid var(--plum-800); border-bottom: 0; }
.pin-ring { position: absolute; width: 110px; height: 110px; margin: -55px 0 0 -55px; border-radius: 50%; border: 2px solid var(--plum-600); animation: lb-ring 2.6s ease-out infinite; pointer-events: none; }
@keyframes lb-ring { from { transform: scale(.4); opacity: .6; } to { transform: scale(1.7); opacity: 0; } }
.pin-other { background: var(--card); color: var(--text); border: 1.5px solid var(--lav-200); border-radius: 9px; padding: 3px 9px; font-size: .78rem; font-weight: 500; }
.pin-other span { color: var(--muted); margin-left: 4px; }
.map-sig { position: absolute; display: inline-flex; align-items: center; gap: 6px; background: var(--card); color: var(--text); border-radius: 999px; padding: 5px 12px 5px 5px; font-size: .78rem; font-weight: 500; box-shadow: var(--shadow); white-space: nowrap; }
.map-sig i { width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-style: normal; font-size: .7rem; font-weight: 700; }
.map-sig.pos i { background: var(--sage-300); color: #1F3A26; } .map-sig.gap i { background: var(--ice-400); color: var(--plum-950); }
.map-stats { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.map-stat { background: color-mix(in srgb, var(--card) 94%, transparent); border-radius: 14px; padding: 10px 14px; backdrop-filter: blur(6px); }
.map-stat strong { display: block; font: 800 1.55rem/1.1 var(--f-display); font-stretch: 112%; color: var(--head); }
.map-stat strong.up { color: var(--good); } .map-stat strong.brand { color: var(--plum-800); }
:root[data-theme='dark'] .map-stat strong.brand { color: var(--ice-400); }
.map-stat span { font-size: .78rem; color: var(--muted); }

.home-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.deck { position: relative; flex: 1; display: flex; }
.deck::before, .deck::after { content: ''; position: absolute; border-radius: 20px; }
.deck::before { inset: 14px 12px -8px; background: var(--lav-200); transform: rotate(2.5deg); }
.deck::after { inset: 8px 6px -4px; background: var(--lav-100); transform: rotate(-1.5deg); }
:root[data-theme='dark'] .deck::before { background: #312448; } :root[data-theme='dark'] .deck::after { background: #261C38; }
.deck-card { position: relative; z-index: 1; flex: 1; background: var(--card); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); transition: transform .2s ease; }
.deck-card:hover { transform: translateY(-3px); }
.deck-top { display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--tag); }
.deck-top i { width: 10px; height: 10px; border-radius: 3px; background: var(--sc, var(--accent)); }
.deck-top small { margin-left: auto; color: var(--muted); font-weight: 400; font-size: .8rem; }
.deck-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.08; margin: 0; }
.deck-card p { margin: 0; color: var(--muted); line-height: 1.55; }
.deck-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.deck-chips span { font-size: .8rem; font-weight: 500; padding: 4px 10px; border-radius: 999px; }
.deck-chips .pos { background: var(--good-bg); color: var(--good); } .deck-chips .gap { background: var(--warn-bg); color: var(--warn-text); }
.deck-actions { margin-top: auto; display: grid; gap: 8px; padding-top: 6px; }
.deck-actions .btn { width: 100%; }
.progress-dots { display: flex; gap: 5px; } .progress-dots i { flex: 1; height: 5px; border-radius: 3px; background: var(--line); }
.progress-dots i.on { background: var(--plum-800); } :root[data-theme='dark'] .progress-dots i.on { background: var(--lav-200); }

.biz-card { background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line); }
.biz-card .biz-chips { margin: 8px 0 0; }
.biz-card .biz-chip { background: var(--bg-2); color: var(--text); border-color: transparent; }
.biz-card .biz-chip b { color: var(--tag); }
.deck { margin-bottom: 10px; }
.biz-card .btn.on-dark { color: var(--head); }

.chart .bar { fill: #DAD3E6; } .chart .bar-hot { fill: var(--plum-600); }
:root[data-theme='dark'] .chart .bar { fill: #352A48; } :root[data-theme='dark'] .chart .bar-hot { fill: #BEA6E5; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .map-card { min-height: 460px; }
}
@media (max-width: 767px) {
  .app { grid-template-columns: minmax(0, 1fr); padding-bottom: calc(78px + var(--safe-b)); }
  .stage-tabs { position: fixed; top: auto; left: 0; right: 0; bottom: 0; height: auto; flex-direction: row; align-items: flex-end; gap: 3px; padding: 0 4px var(--safe-b); }
  .stage-tab { writing-mode: horizontal-tb; flex: 1 1 0; min-width: 0; flex-direction: column; gap: 3px; width: auto; min-height: 58px; padding: 6px 2px; border-radius: 14px 14px 0 0; font-size: .74rem; letter-spacing: 0; }
  .stage-tab .stage-label { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .stage-tab:hover { transform: none; }
  .stage-tab[aria-current='page'], .stage-tab[data-stage='home'][aria-current='page'] { width: auto; min-height: 70px; border-radius: 14px 14px 0 0; }
  .top-biz { display: none; }
  .home-head h1 { font-size: 1.7rem; }
  .map-card { min-height: 420px; border-radius: 18px; }
  .map-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .map-stat { padding: 8px 12px; } .map-stat strong { font-size: 1.25rem; }
  .map-sig.hide-sm { display: none; }
  .deck-card { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) { .pin-ring { animation: none; opacity: .35; } }
@media print { .stage-tabs, .subnav { display: none; } }

/* ---------- Signals: evidence board ---------- */
.sig-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sig-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 16px; border-radius: 999px; border: 0; background: var(--card); color: var(--head); font: 500 .92rem var(--f-ui); cursor: pointer; box-shadow: inset 0 0 0 1px var(--line); transition: background .15s, transform .12s; }
.sig-filter:hover:not([disabled]) { background: var(--lav-100); }
:root[data-theme='dark'] .sig-filter:hover:not([disabled]) { background: rgba(213, 201, 233, .12); }
.sig-filter b { min-width: 28px; height: 28px; border-radius: 999px; display: inline-grid; place-items: center; background: var(--bg-2); font-weight: 600; font-size: .8rem; }
.sig-filter[aria-pressed='true'] { background: var(--st-observe); color: var(--st-observe-ink); box-shadow: none; }
.sig-filter[aria-pressed='true'] b { background: rgba(255, 255, 255, .6); }
.sig-filter[disabled] { opacity: .45; cursor: default; }
.sig-about { margin: 0 0 20px; color: var(--muted); font-size: .88rem; }
.sig-about summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; font-weight: 500; color: var(--tag); }
.sig-about p { max-width: 80ch; margin: 4px 0 8px; }

.sig-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sig-card { --tc: var(--st-observe); background: var(--card); border-radius: 18px; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow); position: relative; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; animation: lb-up .35s calc(var(--i, 0) * 40ms) both; }
.sig-card::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--tc); }
.sig-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), 0 22px 36px -24px rgba(32, 16, 59, .55); }
.sig-card[data-type='review'] { --tc: var(--sage-300); } .sig-card[data-type='question'] { --tc: var(--ice-400); }
.sig-card[data-type='website'] { --tc: var(--plum-500); } .sig-card[data-type='search'] { --tc: #9FB7C6; } .sig-card[data-type='social'] { --tc: var(--lav-200); }
@keyframes lb-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sig-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sig-type { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .85rem; color: var(--tag); margin-right: auto; }
.sig-quote { margin: 0; font: 600 1.12rem/1.4 var(--f-display); font-stretch: 100%; letter-spacing: -.01em; color: var(--head); }
.sig-quote::before { content: '\201C'; color: var(--tc); font-size: 1.6em; line-height: 0; vertical-align: -.35em; margin-right: 2px; }
.sig-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .82rem; color: var(--muted); }
.sig-conf { display: inline-flex; align-items: center; gap: 8px; } .sig-conf b { color: var(--head); font-weight: 600; }
.sig-conf .meter { width: 70px; margin: 0; }

.next-bar { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 14px 24px; flex-wrap: wrap; padding: 18px 22px; border-radius: 20px; background: var(--plum-800); color: var(--snow); }
.next-bar .tag { color: var(--lav-200); margin: 0 0 2px; } .next-bar strong { font: 800 1.35rem var(--f-display); font-stretch: 112%; }
.next-bar .btn-primary { background: var(--ice-400); color: var(--plum-950); }
.next-bar .btn-primary:hover:not([disabled]) { background: var(--ice-300); }
:root[data-theme='dark'] .next-bar { background: #241938; }
@media (max-width: 767px) {
  .sig-board { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .sig-filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding: 2px 14px 6px; scrollbar-width: none; }
  .sig-filter { flex: none; }
  .next-bar .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .sig-card { animation: none; } }

/* ---------- Competitors ---------- */
.cmp-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: 20px; margin-bottom: 20px; }
.cmp-fix { background: var(--plum-800); color: var(--snow); border-radius: 22px; padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; }
:root[data-theme='dark'] .cmp-fix { background: #241938; }
.cmp-fix .tag { color: var(--lav-200); margin: 0; } .cmp-fix h2 { color: var(--snow); margin: 0 0 4px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.fix-list { margin: 0; padding: 0; list-style: none; counter-reset: fix; display: grid; gap: 8px; }
.fix-list li { counter-increment: fix; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 12px; border-radius: 14px; background: rgba(255, 246, 242, .07); line-height: 1.45; }
.fix-list li::before { content: counter(fix); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ice-400); color: var(--plum-950); font: 800 .9rem var(--f-display); }
.win-list { margin: 0; padding: 0; list-style: none; } .win-list li { display: flex; gap: 8px; align-items: center; color: var(--sage-300); font-weight: 500; }
.fix-note { color: rgba(255, 246, 242, .7); margin: 4px 0 0; }
.cmp-radar { display: flex; flex-direction: column; } .cmp-radar > .has-src { flex: 1; display: grid; place-items: center; }
.cmp-radar .radar { width: 100%; max-height: 420px; }
.cmp-chart { margin-bottom: 26px; }
.cmp-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.cmp-chart-head .card-title { margin: 0; }
.cmp-chart .cmp-group h4 { display: none; }
.cmp-chart .cmp-row { grid-template-columns: minmax(120px, 200px) minmax(0, 1fr) 60px; min-height: 36px; }
.cmp-row.is-you .cmp-bar i { background: var(--plum-600); } :root[data-theme='dark'] .cmp-row.is-you .cmp-bar i { background: var(--lav-200); }
.cmp-bar i { background: var(--lav-200); } :root[data-theme='dark'] .cmp-bar i { background: #4C3C68; }

.place-table { background: var(--card); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.pt-row { display: grid; grid-template-columns: minmax(170px, 1.6fr) repeat(5, minmax(0, .8fr)) repeat(2, minmax(0, 1fr)) 48px; gap: 10px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pt-row:first-child { border-top: 0; }
.pt-head { font-size: .78rem; color: var(--muted); font-weight: 500; background: var(--bg-2); min-height: 44px; }
.pt-row.is-you { background: color-mix(in srgb, var(--st-observe) 35%, var(--card)); }
.pt-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; } .pt-name small { color: var(--muted); }
.pt-name .badge { align-self: flex-start; }
.pt-row:not(.pt-head):hover { background: var(--bg-2); }
@media (max-width: 1000px) { .cmp-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) {
  .pt-head { display: none; }
  .pt-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; padding: 14px 16px; position: relative; }
  .pt-name { grid-column: 1 / -1; }
  .pt-row [data-l]::before { content: attr(data-l); display: block; font-size: .72rem; color: var(--muted); }
  .pt-x { position: absolute; right: 8px; top: 8px; }
  .cmp-chart .cmp-row { grid-template-columns: minmax(90px, 120px) minmax(0, 1fr) 48px; }
  .cmp-chart-head .seg { overflow-x: auto; max-width: 100%; }
}

/* ---------- Analyse (AI diagnosis) ---------- */
.engine-bar { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; padding: 10px 12px 10px 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 4px; }
.engine-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ice-400); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ice-400) 25%, transparent); flex: none; }
.engine-bar.is-ai .engine-dot { background: #4C9A6A; box-shadow: 0 0 0 4px rgba(76, 154, 106, .2); }
.engine-text { flex: 1 1 320px; min-width: 0; font-size: .92rem; } .engine-text strong { margin-right: 4px; }
.engine-meta { color: var(--muted); font-size: .84rem; font-variant-numeric: tabular-nums; }

.opp2 { background: var(--plum-800); color: var(--snow); border-radius: 24px; padding: clamp(20px, 3vw, 32px); margin: 8px 0 26px; box-shadow: 0 24px 44px -30px rgba(32, 16, 59, .9); }
:root[data-theme='dark'] .opp2 { background: #241938; }
.opp2 .tag { color: var(--lav-200); margin: 0 0 6px; }
.opp2-head { display: flex; gap: 20px; justify-content: space-between; align-items: flex-start; }
.opp2-title { color: var(--snow); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.05; margin: 0; max-width: 22ch; text-wrap: balance; }
.opp2-ring { display: grid; justify-items: center; gap: 2px; color: var(--snow); flex: none; font-size: .78rem; }
.opp2-ring .ring-num { fill: var(--snow); font: 800 20px var(--f-display); }
.chain { list-style: none; margin: 22px 0 6px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: ch; }
.chain li { position: relative; background: rgba(255, 246, 242, .08); border-radius: 16px; padding: 14px 16px; }
.chain li + li::before { content: ''; position: absolute; left: -12px; top: 50%; width: 12px; height: 2px; background: var(--ice-400); }
.chain-k { display: block; font-size: .8rem; font-weight: 600; color: var(--ice-400); margin-bottom: 4px; }
.chain p { margin: 0; line-height: 1.5; font-size: .95rem; }

.dia-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 22px; align-items: start; margin-bottom: 22px; }
.dia-grid .section-h { margin-top: 0; }
.prob-list { display: grid; gap: 12px; }
.prob { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); animation: lb-up .35s calc(var(--i, 0) * 60ms) both; }
.prob-n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--st-diagnose); color: var(--st-diagnose-ink); font: 800 1.1rem var(--f-display); }
.prob-top { display: flex; gap: 10px; align-items: flex-start; justify-content: space-between; }
.prob-top h3 { margin: 0 0 6px; font-size: 1.1rem; }
.prob-ev { margin: 0 0 4px; color: var(--muted); font-size: .9rem; padding-left: 12px; border-left: 2px solid var(--lav-200); }
.prob .sig-conf { margin-top: 8px; font-size: .82rem; color: var(--muted); }
.confirm-card { background: color-mix(in srgb, var(--st-act) 22%, var(--card)); border-radius: 20px; padding: 20px; position: sticky; top: 90px; }
.confirm-card h2 { font-size: 1.2rem; margin: 0 0 12px; }
.confirm-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.confirm-card li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; line-height: 1.45; font-size: .93rem; }
.confirm-box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--plum-600); margin-top: 1px; }
:root[data-theme='dark'] .confirm-box { border-color: var(--ice-400); }

details.explain > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; list-style: none; }
details.explain > summary::-webkit-details-marker { display: none; }
details.explain > summary::after { content: '+'; margin-left: auto; font: 600 1.3rem var(--f-ui); color: var(--tag); }
details.explain[open] > summary::after { content: '\2212'; }
details.explain > summary .tag { margin: 0; font-size: .95rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

/* loading: clearer steps + skeleton of the result */
.loading-card .steps li.now .dot { background: var(--plum-600); box-shadow: 0 0 0 5px color-mix(in srgb, var(--plum-600) 22%, transparent); }
.loading-card .steps li.done .dot { background: #4C9A6A; }
.skel-opp { margin-top: 18px; padding: 24px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; }
.skel { display: block; height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--bg-2), var(--lav-100), var(--bg-2)); background-size: 200% 100%; animation: lb-shimmer 1.3s linear infinite; }
:root[data-theme='dark'] .skel { background-image: linear-gradient(90deg, #1D162A, #291F39, #1D162A); }
.skel.w40 { width: 40%; } .skel.w80 { width: 80%; } .skel.tall { height: 34px; }
.skel-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } .skel-row .skel { height: 70px; border-radius: 14px; }
@keyframes lb-shimmer { to { background-position: -200% 0; } }
@media (max-width: 1000px) { .dia-grid { grid-template-columns: minmax(0, 1fr); } .confirm-card { position: static; } }
@media (max-width: 767px) {
  .opp2-head { flex-direction: column-reverse; align-items: flex-start; }
  .opp2-ring { grid-auto-flow: column; align-items: center; gap: 10px; } .opp2-ring svg { width: 72px; height: 72px; }
  .chain { grid-template-columns: minmax(0, 1fr); } .chain li + li::before { left: 24px; top: -12px; width: 2px; height: 12px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); } .opp2 .btn { width: 100%; }
  .engine-meta { width: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) { .skel, .prob { animation: none; } }

/* ---------- Mission Control: the 48-hour clock ---------- */
.clock { background: var(--plum-800); color: var(--snow); border-radius: 24px; padding: clamp(20px, 3vw, 30px); margin: 8px 0 22px; box-shadow: 0 24px 44px -30px rgba(32, 16, 59, .9); }
:root[data-theme='dark'] .clock { background: #241938; }
.clock-top { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-end; }
.clock-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.clock .badge-inference { color: var(--lav-200); }
.clock-big { font: 800 clamp(2.6rem, 6vw, 4.4rem)/1 var(--f-display); font-stretch: 112%; letter-spacing: -.03em; margin: 0; color: var(--ice-400); font-variant-numeric: tabular-nums; }
.clock-sub { margin: 6px 0 0; color: rgba(255, 246, 242, .82); }
.clock-offer { background: rgba(255, 246, 242, .08); border-radius: 16px; padding: 12px 16px; max-width: 360px; }
.clock-offer span { display: block; font-size: .8rem; color: var(--lav-200); } .clock-offer strong { font: 700 1.15rem var(--f-display); font-stretch: 112%; }
.clock-track { position: relative; height: 14px; border-radius: 999px; background: rgba(255, 246, 242, .14); margin: 26px 0 8px; }
.clock-fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, var(--ice-400), var(--ice-300)); min-width: 14px; }
.clock-tick { position: absolute; top: -6px; width: 2px; height: 26px; background: rgba(255, 246, 242, .3); transform: translateX(-1px); }
.clock-tick b { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: .7rem; font-weight: 500; color: rgba(255, 246, 242, .7); white-space: nowrap; }
.clock-tick:first-child b { transform: none; left: 0; } .clock-tick:last-child b { transform: none; left: auto; right: 0; }
.clock-ends { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; color: rgba(255, 246, 242, .75); }
.clock-note { margin: 12px 0 0; font-size: .82rem; color: rgba(255, 246, 242, .65); }

.mis-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 20px; margin-bottom: 10px; }
.mis-grid .card-title { margin-top: 0; }
.goal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.goal { background: var(--bg-2); border-radius: 14px; padding: 12px 14px; }
.goal span { font-size: .8rem; color: var(--muted); }
.goal p { margin: 4px 0 0; display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.goal s { text-decoration: none; color: var(--muted); font-size: 1rem; }
.goal b { font: 800 1.4rem var(--f-display); font-stretch: 112%; color: var(--head); }
.goal small { color: var(--good); font-weight: 600; font-size: .78rem; }
.pipe { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.pipe::before { content: ''; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: var(--line); }
.pipe li { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px 0; }
.pipe-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--card); }
.pipe-complete .pipe-dot, .pipe-fallback .pipe-dot { background: var(--st-act); color: var(--st-act-ink); }
.pipe-running .pipe-dot { background: var(--plum-800); color: var(--snow); }
.pipe-error .pipe-dot { background: #B3261E; color: #fff; }
.pipe-txt { display: flex; flex-direction: column; min-width: 0; } .pipe-txt small { color: var(--muted); font-size: .8rem; }
.pipe-st { font-size: .76rem; color: var(--muted); text-align: right; }

.kit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.kit-tile { --kc: var(--st-act); display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; gap: 8px 12px; align-items: center; text-align: left; min-height: 96px; padding: 16px 18px; border: 0; border-radius: 18px; cursor: pointer; font: inherit; color: var(--text);
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); transition: transform .15s ease, box-shadow .15s; }
.kit-tile[data-stage='measure'] { --kc: var(--st-measure); }
.kit-tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 2px var(--kc), 0 20px 34px -24px rgba(32, 16, 59, .6); }
.kit-ic { grid-row: span 2; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--kc); color: var(--plum-950); }
.kit-tile strong { font: 700 1.05rem var(--f-display); font-stretch: 112%; }
.kit-tile .badge { justify-self: start; }
.kit-go { grid-column: 1 / -1; justify-self: end; display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--tag); }
.name-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 8px; padding: 0; }
.name-idea .mono { overflow-wrap: normal; word-break: keep-all; }
.name-idea { flex-wrap: wrap; }
@media (max-width: 900px) { .mis-grid, .kit { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 767px) { .clock-offer { max-width: none; width: 100%; } .goal b { font-size: 1.2rem; } }

/* ---------- Temporary Website: browser frame + tabbed controls ---------- */
.site-layout2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 360px); gap: 20px; align-items: start; }
.browser { background: var(--card); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); overflow: hidden; min-width: 0; }
.browser-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.browser-bar .urlbar { flex: 1 1 200px; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--card); color: var(--muted); font-size: .85rem; box-shadow: inset 0 0 0 1px var(--line); }
.browser-bar .urlbar span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-actions { display: flex; gap: 6px; align-items: center; }
.seg-sm button { min-height: 40px; padding: 0 12px; font-size: .85rem; }
.browser .preview-stage { padding: 16px; background: color-mix(in srgb, var(--bg-2) 60%, var(--card)); }
.browser .device { margin-inline: auto; }
.browser-note { margin: 0; padding: 8px 16px 14px; }
details.dd { position: relative; border: 0; padding: 0; margin: 0; background: none; } .dd > summary { list-style: none; cursor: pointer; } .dd > summary::-webkit-details-marker { display: none; }
.dd-menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 170px; background: var(--card); border-radius: 14px; padding: 6px; box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -16px rgba(32, 16, 59, .55); display: grid; gap: 2px; }
.dd-menu.dd-right { left: auto; right: 0; }
.dd-menu button { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--text); font: 500 .92rem var(--f-ui); cursor: pointer; text-align: left; }
.dd-menu button:hover { background: var(--bg-2); } .dd-menu button.danger { color: #B3261E; }
:root[data-theme='dark'] .dd-menu button.danger { color: #FFB4A9; }
.controls2 { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow-y: auto; }
.controls2 .card-title { margin-top: 0; }
.wtabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-2); margin-bottom: 14px; position: sticky; top: -1px; z-index: 2; }
.wtabs button { min-height: 40px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 600 .9rem var(--f-ui); cursor: pointer; }
.wtabs button[aria-selected='true'] { background: var(--card); color: var(--head); box-shadow: 0 2px 8px -4px rgba(32, 16, 59, .4); }
.controls2 .regen-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 6px 0 12px; }
.controls2 .regen-row .label-mono { width: 100%; }
@media (max-width: 1100px) { .site-layout2 { grid-template-columns: minmax(0, 1fr); } .controls2 { position: static; max-height: none; } }
@media (max-width: 767px) { .browser-bar .urlbar { order: 3; flex-basis: 100%; } .browser-actions { margin-left: auto; } }

/* ---------- Action Pack ---------- */
.offer-hero { display: flex; gap: 20px 32px; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; margin: 10px 0 18px; padding: clamp(20px, 3vw, 30px); border-radius: 24px;
  background: color-mix(in srgb, var(--st-act) 28%, var(--card)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--st-act) 50%, transparent); position: relative; overflow: hidden; }
.offer-hero::after { content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; border: 18px solid color-mix(in srgb, var(--st-act) 45%, transparent); pointer-events: none; }
.offer-hero.pack-card { height: auto; }
.offer-copy { max-width: 62ch; position: relative; z-index: 1; }
.offer-copy .tag { display: flex; align-items: center; gap: 8px; }
.offer-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.02; margin: 0 0 10px; }
.offer-copy p { margin: 0 0 12px; line-height: 1.55; }
.offer-cta { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: var(--plum-800); color: var(--snow); font-weight: 600; }
:root[data-theme='dark'] .offer-cta { background: var(--ice-400); color: var(--plum-950); }
.offer-actions { display: flex; gap: 6px; position: relative; z-index: 1; }
.pack-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pack-row .pack-card { display: flex; flex-direction: column; }
.pack-row .pack-card > .btn-row { margin-top: auto; padding-top: 14px; }
.pack-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pack-top .tag { margin: 0; }
.merch-col { display: grid; justify-items: center; gap: 10px; text-align: center; } .merch-col p { margin: 0; color: var(--muted); }
.post-mock { background: var(--bg-2); border-radius: 16px; }
.cta-line { display: flex; align-items: center; gap: 6px; font-weight: 600; color: var(--tag); }
.headlines li { padding: 6px 0; border-bottom: 1px solid var(--line); } .headlines li:last-child { border-bottom: 0; }
@media (max-width: 1000px) { .pack-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Proof Board ---------- */
.verdict { --vc: var(--st-measure); --vi: var(--st-measure-ink); display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: clamp(20px, 3vw, 30px); border-radius: 24px; margin-bottom: 18px; background: var(--vc); color: var(--vi); }
.verdict-partial { --vc: var(--st-act); --vi: var(--st-act-ink); }
.verdict-miss { --vc: var(--st-observe); --vi: var(--st-observe-ink); }
.verdict-waiting, .verdict-notStarted { --vc: var(--bg-2); --vi: var(--head); box-shadow: inset 0 0 0 1px var(--line); }
.verdict h2 { color: inherit; font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1; margin: 2px 0 10px; }
.verdict-k { margin: 0; font-weight: 600; font-size: .85rem; opacity: .8; }
.verdict-meta { margin: 0; display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: .88rem; opacity: .85; }
.verdict-mark { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .45); flex: none; }
:root[data-theme='dark'] .verdict-waiting .verdict-mark, :root[data-theme='dark'] .verdict-notStarted .verdict-mark { background: rgba(255, 255, 255, .06); }
.result-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 8px; }
.result { background: var(--card); border-radius: 18px; padding: 16px 18px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); display: flex; flex-direction: column; gap: 6px; }
.result.met { box-shadow: inset 0 0 0 2px var(--st-measure), var(--shadow); }
.result-top { display: flex; justify-content: space-between; align-items: center; font-size: .85rem; color: var(--muted); font-weight: 500; }
.result-ok { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--st-measure); color: var(--st-measure-ink); }
.result strong { font: 800 2rem/1 var(--f-display); font-stretch: 112%; color: var(--head); font-variant-numeric: tabular-nums; }
.result-sub { margin: 0; display: flex; flex-direction: column; font-size: .8rem; color: var(--muted); }
.result .meter i { background: #4C9A6A; }
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.branch { border-radius: 20px; padding: 18px 20px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); opacity: .75; }
.branch.is-now { opacity: 1; background: var(--plum-800); color: var(--snow); box-shadow: 0 20px 36px -26px rgba(32, 16, 59, .9); }
:root[data-theme='dark'] .branch.is-now { background: #241938; }
.branch h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; } .branch.is-now h3 { color: var(--ice-400); }
.branch p, .branch ol { margin: 0; }
.steps-h { list-style: none; margin: 8px 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; }
.steps-h li { position: relative; display: flex; flex-direction: column; gap: 4px; padding-top: 4px; }
.steps-h li:not(:last-child)::after { content: ''; position: absolute; left: 40px; right: -4px; top: 20px; height: 2px; background: var(--line); }
.steps-h li.done:not(:last-child)::after { background: var(--st-measure); }
.steps-h-dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); font-weight: 600; font-size: .85rem; }
.steps-h li.done .steps-h-dot { background: var(--st-measure); color: var(--st-measure-ink); }
.steps-h small { color: var(--muted); }
@media (max-width: 1000px) { .result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .next-grid { grid-template-columns: minmax(0, 1fr); }
  .steps-h { grid-template-columns: minmax(0, 1fr); } .steps-h li { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
  .steps-h li small { width: 100%; padding-left: 44px; } .steps-h li:not(:last-child)::after { display: none; }
  .verdict-mark { width: 56px; height: 56px; } .result strong { font-size: 1.6rem; }
}

/* ---------- Settings + Account ---------- */
.set-list { background: var(--card); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); margin-bottom: 20px; }
.set-row { display: grid; grid-template-columns: minmax(200px, 320px) minmax(0, 1fr); gap: 14px 36px; padding: 22px 26px; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.set-row:first-child { border-top: 0; }
.set-label h2 { font-size: 1.1rem; margin: 0 0 4px; } .set-label p { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.set-ctl { min-width: 0; display: grid; gap: 12px; align-content: start; } .set-ctl .btn-row { margin-top: 0; } .set-ctl .field { margin: 0; max-width: 420px; }
.set-ctl .seg-wide { max-width: 640px; }
.conn-list { list-style: none; margin: 0; padding: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.conn-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 44px; gap: 12px; align-items: center; padding: 10px 8px 10px 16px; border-top: 1px solid var(--line); }
.conn-list li:first-child { border-top: 0; }
.conn-txt { display: flex; flex-direction: column; min-width: 0; } .conn-txt small { color: var(--muted); font-size: .82rem; } .conn-perm { font-size: .76rem !important; opacity: .8; }
.conn-ok { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--good); font-weight: 500; font-size: .9rem; }
.danger-zone { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding: 20px 26px; border-radius: 20px; box-shadow: inset 0 0 0 1.5px rgba(179, 38, 30, .35); background: rgba(179, 38, 30, .04); }
.danger-zone h2 { font-size: 1.1rem; margin: 0 0 4px; color: #8E1F18; } .danger-zone p { margin: 0; color: var(--muted); max-width: 60ch; }
:root[data-theme='dark'] .danger-zone h2 { color: #FFB4A9; }
.btn-secondary.danger { color: #B3261E; border-color: rgba(179, 38, 30, .4); } :root[data-theme='dark'] .btn-secondary.danger { color: #FFB4A9; border-color: rgba(255, 180, 169, .4); }
.profile-hero { display: flex; gap: 24px; align-items: flex-start; padding: clamp(20px, 3vw, 30px); border-radius: 24px; margin-bottom: 20px; background: var(--plum-800); color: var(--snow); }
:root[data-theme='dark'] .profile-hero { background: #241938; }
.avatar-lg { width: 88px; height: 88px; border-radius: 26px; display: grid; place-items: center; background: var(--ice-400); color: var(--plum-950); font: 800 2.4rem var(--f-display); flex: none; }
.profile-main { flex: 1; min-width: 0; } .profile-main h2 { color: var(--snow); margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.profile-main > p { margin: 4px 0 14px; color: rgba(255, 246, 242, .8); display: flex; gap: 8px; align-items: center; }
.profile-main .field { max-width: 420px; } .profile-main .field span { color: var(--lav-200); }
.profile-note { color: rgba(255, 246, 242, .7); margin: 8px 0 0; }
.facts { margin: 0; display: grid; gap: 12px; } .facts div { display: grid; grid-template-columns: minmax(120px, 200px) minmax(0, 1fr); gap: 12px; }
.facts dt { color: var(--muted); font-size: .88rem; } .facts dd { margin: 0; }
@media (max-width: 860px) { .set-row { grid-template-columns: minmax(0, 1fr); padding: 18px; } .facts div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
@media (max-width: 767px) { .profile-hero { flex-direction: column; } .avatar-lg { width: 64px; height: 64px; font-size: 1.8rem; border-radius: 18px; } .set-ctl .seg-wide { overflow-x: auto; } }

/* ---------- Ask Arcton (chat panel) ---------- */
.btn-ask { min-height: 44px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--plum-800); color: var(--snow); border: 0; gap: 8px; }
.btn-ask:hover:not([disabled]) { background: var(--plum-600); transform: translateY(-1px); }
:root[data-theme='dark'] .btn-ask { background: var(--ice-400); color: var(--plum-950); }
.btn-ask .ic { color: var(--ice-400); } :root[data-theme='dark'] .btn-ask .ic { color: var(--plum-800); }
#chat-root { position: fixed; inset: 0; z-index: 120; }
.chat-backdrop { position: absolute; inset: 0; background: rgba(21, 12, 37, .35); } .chat-backdrop.enter { animation: lb-fade .2s ease both; }
.chat { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--bg); box-shadow: -20px 0 50px -20px rgba(21, 12, 37, .6); } .chat.enter { animation: lb-slide .25s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes lb-fade { from { opacity: 0; } } @keyframes lb-slide { from { transform: translateX(30px); opacity: 0; } }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 18px; border-bottom: 1px solid var(--line); background: var(--card); }
.chat-mark { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--plum-800); color: var(--ice-400); flex: none; }
.chat-titles { flex: 1; min-width: 0; } .chat-titles h2 { margin: 0; font-size: 1.1rem; }
.chat-status { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--muted); min-height: 18px; }
.chat-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .5; }
.chat-status.on { color: var(--good); } .chat-status.on::before { opacity: 1; box-shadow: 0 0 0 3px rgba(76, 154, 106, .2); }
.chat-status.off { color: var(--warn-text); }
.chat-status:empty::before { display: none; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; overscroll-behavior: contain; }
.msg { max-width: 88%; border-radius: 18px; padding: 10px 14px; line-height: 1.5; font-size: .95rem; overflow-wrap: anywhere; }
.msg p { margin: 0 0 6px; } .msg p:last-child { margin-bottom: 0; } .msg ul { margin: 4px 0 6px; padding-left: 20px; } .msg li { margin: 2px 0; }
.msg-user { align-self: flex-end; background: var(--plum-800); color: var(--snow); border-bottom-right-radius: 6px; }
:root[data-theme='dark'] .msg-user { background: #352157; }
.msg-ai { align-self: flex-start; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 6px; display: grid; gap: 8px; justify-items: start; }
.msg-note { color: var(--muted); font-size: .85rem; }
.msg-err { display: flex; gap: 6px; align-items: flex-start; color: #8E1F18; font-size: .88rem; } :root[data-theme='dark'] .msg-err { color: #FFB4A9; }
.typing { display: inline-flex; gap: 5px; padding: 6px 2px; } .typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--plum-600); animation: lb-dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
:root[data-theme='dark'] .typing i { background: var(--lav-200); }
@keyframes lb-dot { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-4px); opacity: 1; } }
.chat-empty { margin: auto 0; display: grid; justify-items: center; gap: 12px; text-align: center; color: var(--muted); }
.chat-empty-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--lav-100); color: var(--plum-800); }
:root[data-theme='dark'] .chat-empty-ic { background: #291F39; color: var(--ice-400); }
.chat-suggest { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.chat-suggest .chip { min-height: 44px; border-radius: 14px; text-align: left; justify-content: flex-start; padding: 10px 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border: 0; color: var(--text); font: 500 .9rem var(--f-ui); cursor: pointer; }
.chat-suggest .chip:hover { box-shadow: inset 0 0 0 1.5px var(--plum-600); }
.chat-form { display: flex; gap: 8px; align-items: flex-end; padding: 12px 14px 4px; border-top: 1px solid var(--line); background: var(--card); }
.chat-form textarea { flex: 1; min-height: 46px; max-height: 160px; resize: none; border-radius: 14px; padding: 12px 14px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: 400 .95rem/1.4 var(--f-ui); }
.chat-form textarea:focus { outline: none; border-color: var(--plum-600); box-shadow: 0 0 0 3px color-mix(in srgb, var(--plum-600) 20%, transparent); }
.chat-send { min-height: 46px; flex: none; } .chat-send.btn-primary { width: 46px; padding: 0; border-radius: 14px; }
.chat-foot { margin: 0; padding: 4px 16px calc(10px + var(--safe-b)); font-size: .74rem; color: var(--muted); background: var(--card); }
body.chat-open { overflow: hidden; }
@media (max-width: 767px) {
  .chat { width: 100%; top: auto; height: min(92vh, 100%); border-radius: 22px 22px 0 0; } .chat.enter { animation-name: lb-up; }
  .btn-ask { width: 44px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .chat, .chat-backdrop, .typing i { animation: none; } }
.api-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; } .api-form .field { flex: 1 1 260px; }
@media (max-width: 440px) { .top-brand strong { display: none; } .topbar { gap: 6px; } }

/* ---------- accounts: sign-in screen ---------- */
.app > .auth, .app > .auth-loading { grid-column: 1 / -1; }
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(300px, 5fr) 7fr; background: var(--bg); }
.auth-side { position: relative; overflow: hidden; background: var(--plum-800); color: var(--snow); padding: clamp(28px, 5vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.auth-side::after { content: ''; position: absolute; right: -90px; bottom: -90px; width: 320px; height: 320px; border-radius: 50%; border: 48px solid rgba(255, 246, 242, .06); pointer-events: none; }
.auth-brand { display: flex; align-items: center; gap: 12px; } .auth-brand img { border-radius: 12px; }
.auth-brand strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; }
.auth-tag { margin: auto 0 0; font-family: var(--f-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.7rem, 3.2vw, 2.6rem); line-height: 1.08; letter-spacing: -.025em; max-width: 14ch; }
.auth-stages { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.auth-stages li { border-radius: 12px 12px 4px 4px; padding: 10px 10px 12px; font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: .86rem; display: grid; gap: 2px; }
.auth-stages li span { font-family: var(--f-ui); font-weight: 400; font-size: .72rem; opacity: .75; }
.auth-stages [data-stage='observe'] { background: var(--st-observe); color: var(--st-observe-ink); }
.auth-stages [data-stage='diagnose'] { background: var(--plum-600); color: var(--snow); box-shadow: inset 0 0 0 1px rgba(255, 246, 242, .2); }
.auth-stages [data-stage='act'] { background: var(--st-act); color: var(--st-act-ink); }
.auth-stages [data-stage='measure'] { background: var(--st-measure); color: var(--st-measure-ink); }
.auth-main { display: flex; flex-direction: column; padding: 20px clamp(16px, 4vw, 48px) 40px; outline: none; }
.auth-top { display: flex; justify-content: flex-end; }
.auth-card { width: 100%; max-width: 420px; margin: auto; padding-top: 24px; }
.auth-card h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 0 0 18px; color: var(--head); }
.auth-lead { margin: -8px 0 18px; color: var(--muted); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--bg-2); margin-bottom: 26px; }
.auth-tabs button { min-height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font: 600 .95rem var(--f-ui); cursor: pointer; }
.auth-tabs [aria-selected='true'] { background: var(--card); color: var(--head); box-shadow: 0 6px 14px -10px rgba(32, 16, 59, .6); }
.auth-card .field input { min-height: 50px; font-size: 1rem; }
.pw-wrap { position: relative; display: block; } .pw-wrap input { width: 100%; padding-right: 84px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 38px; padding: 0 12px; border: 0; border-radius: 10px; background: transparent; color: var(--tag); font: 600 .85rem var(--f-ui); cursor: pointer; }
.pw-toggle:hover { background: var(--lav-100); } :root[data-theme='dark'] .pw-toggle:hover { background: rgba(213, 201, 233, .12); }
.link-btn { border: 0; background: none; padding: 8px 0; min-height: 44px; color: var(--tag); font: 600 .92rem var(--f-ui); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.auth-forgot { margin: -8px 0 6px; }
.auth-hint { margin: -6px 0 14px; color: var(--muted); }
.auth-submit { width: 100%; min-height: 54px; font-size: 1.02rem; margin-top: 6px; gap: 10px; }
.auth-submit .spin { border-color: rgba(255, 246, 242, .35); border-top-color: var(--ice-400); }
.auth-terms { color: var(--muted); margin-top: 14px; }
.auth-notice { margin: 0 0 18px; padding: 12px 14px; border-radius: 12px; font-weight: 500; }
.auth-error { background: #EDE6F8; color: #3C1B75; box-shadow: inset 3px 0 0 #6440A3; }
.auth-info { background: var(--warn-bg); color: var(--warn-text); }
:root[data-theme='dark'] .auth-error { background: rgba(146, 104, 219, .16); color: #D7CAEF; }
.auth-msg { text-align: center; display: grid; justify-items: center; gap: 4px; }
.auth-msg-ic { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--good-bg); color: var(--good); margin-bottom: 10px; }
.auth-msg p { color: var(--muted); margin: 0 0 18px; max-width: 34ch; }
.auth-loading { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; color: var(--muted); }
.auth-loading img { border-radius: 16px; animation: lb-fade .8s ease alternate infinite; }
@media (max-width: 800px) {
  .auth { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
  .auth-side { padding: 18px 16px 16px; gap: 14px; }
  .auth-side::after { display: none; }
  .auth-tag { margin: 0; font-size: 1.35rem; max-width: none; }
  .auth-stages li { padding: 7px 8px 8px; font-size: .74rem; }
  .auth-main { padding-top: 8px; }
  .auth-top { position: absolute; top: 14px; right: 16px; }
  .auth-top .lang { border-color: rgba(255, 246, 242, .35); color: var(--snow); }
  .auth-card { margin-top: 8px; padding-top: 12px; }
}

/* ---------- accounts: admin viewing a client ---------- */
.viewing-bar { display: flex; align-items: center; gap: 12px; padding: 10px clamp(16px, 3vw, 32px); background: var(--ice-400); color: var(--plum-950); }
.viewing-bar p { margin: 0; flex: 1; display: grid; line-height: 1.3; } .viewing-bar span { font-size: .86rem; }
.viewing-bar .btn { background: var(--plum-950); color: var(--snow); border: 0; }
.viewing-bar .btn:hover { background: var(--plum-800); }

/* ---------- accounts: admin list ---------- */
.admin-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-kpis { display: flex; gap: 8px; flex-wrap: wrap; }
.admin-kpis .kpi { background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border-radius: 14px; padding: 10px 16px; display: grid; min-width: 110px; }
.admin-kpis .kpi b { font-family: var(--f-display); font-stretch: 112%; font-size: 1.6rem; color: var(--head); line-height: 1.1; }
.admin-kpis .kpi span { font-size: .8rem; color: var(--muted); }
.admin-search { flex: 1 1 240px; margin: 0; position: relative; display: block; }
.admin-search .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.admin-search input { width: 100%; min-height: 48px; padding-left: 42px; border-radius: 14px; }
.client-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.client { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr) minmax(0, 1.2fr) 92px 236px; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.client.sk { grid-template-columns: 1fr; min-height: 72px; }
.client.is-off { background: var(--bg-2); } .client.is-off .client-txt strong { color: var(--muted); }
.client-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.client-av { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--plum-800); color: var(--ice-400); font: 800 1.05rem var(--f-display); }
.client.is-off .client-av { background: var(--muted); color: var(--bg); }
.client-txt { min-width: 0; display: grid; } .client-txt strong, .client-txt small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.client-txt small, .client-when small { color: var(--muted); }
.client-when { display: grid; font-size: .9rem; } .client-when small { font-size: .74rem; }
.client-acts { display: flex; gap: 6px; justify-content: flex-end; }
.stage-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--head); }
.stage-dots { display: inline-flex; gap: 3px; } .stage-dots i { width: 8px; height: 8px; border-radius: 3px; background: var(--line); }
.stage-dots i:nth-child(1).on { background: var(--st-observe); box-shadow: inset 0 0 0 1px rgba(32, 16, 59, .25); }
.stage-dots i:nth-child(2).on { background: var(--st-diagnose); } .stage-dots i:nth-child(3).on { background: var(--st-act); } .stage-dots i:nth-child(4).on { background: var(--st-measure); }
.badge-on { color: var(--good); background: var(--good-bg); border-color: transparent; }
.badge-off { color: #3C1B75; background: #EDE6F8; border-color: transparent; } :root[data-theme='dark'] .badge-off { color: #D7CAEF; background: rgba(146, 104, 219, .16); }
.badge-admin { color: var(--plum-950); background: var(--ice-400); border-color: transparent; }
.admin-none { color: var(--muted); padding: 24px 4px; }
@media (max-width: 1000px) {
  .client { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px 12px; }
  .client-main { grid-column: 1 / 3; } .client-stage { grid-column: 1; } .client-when { grid-column: 2; } .client-status { grid-column: 3; grid-row: 1; }
  .client-acts { grid-column: 1 / -1; justify-content: flex-start; }
}
.sync-line { margin: 0; font-weight: 500; color: var(--good); }
.client-status { justify-self: start; }
.auth-card .field input { padding: 0 14px; border-radius: 12px; }

/* ---------- real data: business lookup ---------- */
.theme-burgundy i { background: linear-gradient(135deg, #3A1E6A 60%, #A9D4F0 60%); }
.lookup { background: var(--bg-2); border-radius: 16px; padding: 16px; margin-bottom: 18px; display: grid; gap: 10px; }
.lookup .tag { margin: 0; } .lookup p { margin: 0; }
.lookup-row { display: flex; gap: 8px; } .lookup-row input { flex: 1; min-width: 0; min-height: 48px; }
.lookup-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lookup-list button { width: 100%; text-align: left; display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; font: inherit; }
.lookup-list button:hover, .lookup-list button:focus-visible { border-color: var(--plum-600); }
.lookup-list small, .lookup-picked small { color: var(--muted); }
.lookup-rate { font-size: .85rem; font-weight: 600; color: var(--head); }
.lookup-picked { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--good); }
.lookup-picked > .ic { color: var(--good); flex: none; } .lookup-picked div { flex: 1; min-width: 0; display: grid; }
.lookup-off { display: flex; gap: 6px; align-items: center; margin: 0 0 14px; }
.err-line { color: #52289C; margin: 0; } :root[data-theme='dark'] .err-line { color: #D7CAEF; }
.src-list { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 6px; color: var(--snow); }
.src-list li { display: flex; gap: 8px; align-items: center; } .src-list li.is-off { opacity: .6; }

/* ---------- signals ---------- */
.src-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.src-card { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.src-card div { display: grid; min-width: 0; } .src-card small { color: var(--muted); font-size: .8rem; }
.src-ic { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--bg-2); color: var(--muted); }
.src-card.ok .src-ic { background: var(--good-bg); color: var(--good); }
.sig-split { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.note-form { position: sticky; top: 84px; } .note-form .field textarea { min-height: 120px; }
.stars-sm { color: #D99A0E; letter-spacing: 1px; font-size: .9rem; }
.sig-x { margin-left: auto; width: 32px; height: 32px; min-height: 32px; }
.site-checks { margin-top: 16px; } .site-checks summary { cursor: pointer; }
.check-list { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; } .check-list li span { display: grid; } .check-list small { color: var(--muted); }
.check-list li.pass > .ic { color: var(--good); } .check-list li.fail > .ic { color: #52289C; }
:root[data-theme='dark'] .check-list li.fail > .ic { color: #C5B1E8; }
.quote-sm { font-style: italic; color: var(--muted); margin: 4px 0; }
@media (max-width: 1000px) { .src-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sig-split { grid-template-columns: minmax(0, 1fr); } .note-form { position: static; } }

/* ---------- competitors (real) ---------- */
.pt-real .pt-row { grid-template-columns: minmax(180px, 2fr) repeat(3, minmax(0, .8fr)) minmax(0, .8fr) 48px; }
.pt-name a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.btn-row.center { justify-content: center; }
@media (max-width: 760px) { .pt-real .pt-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- home ---------- */
.site-mini { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.site-mini h3 { margin: 0 0 4px; font-size: 1.1rem; } .site-mini p { margin: 0; }
.mini-bars { width: 100%; max-width: 320px; height: 64px; display: block; }
.mini-bars .bar { fill: var(--plum-600); } .mini-bars .bar-zero { fill: var(--line); }
:root[data-theme='dark'] .mini-bars .bar { fill: var(--ice-400); }

/* ---------- website: publish panel ---------- */
.pub-live { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--good-bg); margin-bottom: 10px; }
.pub-live div { display: grid; min-width: 0; } .pub-live a { color: var(--head); overflow-wrap: anywhere; font-weight: 600; }
.pub-dot { width: 12px; height: 12px; border-radius: 50%; background: #2E9E5B; box-shadow: 0 0 0 4px rgba(46, 158, 91, .2); flex: none; }
.slug-form { margin-top: 14px; }
.slug-wrap { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--card); }
.slug-wrap i { font-style: normal; color: var(--muted); padding: 0 4px 0 12px; font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 55%; }
.slug-wrap input { border: 0; flex: 1; min-width: 0; min-height: 46px; padding-left: 2px; background: transparent; }
.pub-h { font-size: 1rem; margin: 22px 0 10px; display: flex; align-items: center; gap: 8px; }
.pub-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.pub-stats div { background: var(--bg-2); border-radius: 12px; padding: 10px; display: grid; } .pub-stats b { font-family: var(--f-display); font-size: 1.4rem; color: var(--head); } .pub-stats span { font-size: .78rem; color: var(--muted); }
.req-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.req { display: flex; gap: 10px; padding: 12px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.req.is-done { opacity: .62; }
.req-main { flex: 1; min-width: 0; display: grid; gap: 2px; } .req-main a { color: var(--tag); font-weight: 600; overflow-wrap: anywhere; } .req-main small { color: var(--muted); overflow-wrap: anywhere; }
.req-acts { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.pub-sep { border: 0; border-top: 1px solid var(--line); margin: 20px 0 12px; }
.pub-off h3 { margin: 0 0 6px; }

/* ---------- plans ---------- */
.plans-soon { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 14px; background: var(--warn-bg); color: var(--warn-text); font-weight: 500; margin: 0 0 20px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px 22px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.plan h2 { margin: 0; font-size: 1.5rem; color: var(--head); } .plan-for { margin: 0; color: var(--muted); min-height: 2.6em; }
.plan-price { margin: 6px 0 4px; display: flex; align-items: baseline; gap: 6px; } .plan-price b { font-family: var(--f-display); font-stretch: 112%; font-size: 2.6rem; color: var(--head); line-height: 1; } .plan-price span { color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 4px 0 12px; display: grid; gap: 8px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 8px; align-items: flex-start; } .plan li .ic { color: var(--good); flex: none; margin-top: 2px; }
.plan .btn { width: 100%; } .plan .btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.plan.is-featured { background: var(--plum-800); box-shadow: var(--shadow); }
.plan.is-featured h2, .plan.is-featured .plan-price b { color: var(--snow); } .plan.is-featured .plan-for, .plan.is-featured .plan-price span, .plan.is-featured li { color: rgba(255, 246, 242, .85); }
.plan.is-featured li .ic { color: var(--ice-400); } .plan.is-featured .btn-primary { background: var(--ice-400); color: var(--plum-950); }
.plan-flag { position: absolute; top: -12px; left: 22px; background: var(--ice-400); color: var(--plum-950); font-weight: 700; font-size: .78rem; padding: 4px 12px; border-radius: 999px; }
.plan.is-current { box-shadow: inset 0 0 0 2px var(--good), var(--shadow); }
.plans-note { margin-top: 16px; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } .plan-for { min-height: 0; } }

/* ---------- website designer ---------- */
.bld { display: grid; grid-template-columns: minmax(330px, 420px) minmax(0, 1fr); gap: 18px; align-items: start; }
.bld-side { position: sticky; top: 84px; max-height: max(560px, calc(100vh - 100px)); display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.bld-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 2px; padding: 6px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.bld-tabs button { position: relative; display: grid; justify-items: center; gap: 3px; min-height: 54px; padding: 6px 2px; border: 0; border-radius: 10px; background: none; color: var(--muted); font: 600 .72rem var(--f-ui); cursor: pointer; }
.bld-tabs button:hover { color: var(--head); background: color-mix(in srgb, var(--card) 60%, transparent); }
.bld-tabs button[aria-selected='true'] { background: var(--card); color: var(--head); box-shadow: 0 1px 0 var(--line), 0 6px 14px -10px rgba(32, 16, 59, .5); }
.bld-tabs button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tab-lock { position: absolute; top: 4px; right: 6px; color: var(--tag); font-style: normal; }
.bld-panel { padding: 16px 18px 24px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 12px; align-content: start; }
.bld-panel .field { margin: 0; }
.bld-panel .field textarea { resize: vertical; }
.pan-h { margin: 14px 0 0; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tag); }
.bld-stage { min-width: 0; display: grid; gap: 10px; position: sticky; top: 84px; }
.bld-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px; border-radius: 16px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.bld-tools { display: flex; gap: 2px; }
.bld-url { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; min-width: 0; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bld-stage .preview-stage { border-radius: 18px; padding: 16px; background: color-mix(in srgb, var(--bg-2) 70%, var(--card)); box-shadow: inset 0 0 0 1px var(--line); }
.bld-stage .device { margin-inline: auto; transition: max-width .25s ease; height: max(480px, calc(100vh - 250px)); border-radius: 12px; }
.bld-stage .device iframe { width: 100%; height: 100%; border: 0; background: #fff; display: block; }
.bld-stage .device-desktop { max-width: 100%; } .bld-stage .device-tablet { max-width: 780px; } .bld-stage .device-phone { max-width: 390px; }
.browser-note { display: flex; align-items: center; gap: 6px; margin: 0; }
.qa-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border: 0; border-radius: 999px; font: 600 .82rem var(--f-ui); cursor: pointer; background: var(--bg-2); color: var(--text); }
.qa-chip b { font-family: var(--f-display); font-size: 1rem; }
.qa-chip.good { background: var(--good-bg); color: var(--good); } .qa-chip.mid { background: var(--warn-bg); color: var(--warn-text); } .qa-chip.low { background: #F8D7D3; color: #8C1D18; }
:root[data-theme='dark'] .qa-chip.low { background: rgba(255, 180, 169, .16); color: #FFB4A9; }

/* section list */
.sec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sec-row { border-radius: 14px; background: var(--bg-2); box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .15s; }
.sec-row.open { background: var(--card); box-shadow: inset 0 0 0 2px var(--focus); }
.sec-row.off .sec-name b { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.sec-row.dragging { opacity: .45; } .sec-row.drop { box-shadow: inset 0 3px 0 var(--focus); }
.sec-head { display: flex; align-items: center; gap: 4px; padding: 4px 4px 4px 6px; }
.drag { width: 18px; color: var(--muted); cursor: grab; display: grid; place-items: center; flex: none; }
.sec-name { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; border-radius: 10px; }
.sec-name > span { display: grid; min-width: 0; } .sec-name b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sec-name small { color: var(--tag); font-size: .76rem; }
.sec-acts { display: flex; gap: 0; flex: none; }
.sec-acts .icon-btn, .li-acts .icon-btn { width: 36px; height: 36px; min-width: 36px; }
.sec-body { padding: 4px 14px 16px; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 14px; }
.add-sec > summary { width: 100%; justify-content: center; }
.add-menu { left: 0; right: 0; max-height: 360px; overflow-y: auto; }
.add-menu button { min-height: 52px; } .add-menu button span { display: grid; } .add-menu small { color: var(--muted); font-weight: 400; font-size: .78rem; }
.ai-btn { justify-self: start; color: var(--tag); }

/* list editors */
.li-edit { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: li; }
.li-edit > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; padding: 10px; border-radius: 12px; background: var(--bg-2); }
.li-fields { display: grid; grid-template-columns: minmax(0, 1fr) 96px; gap: 8px; }
.li-fields .field:has(textarea), .li-fields .field:only-child { grid-column: 1 / -1; }
.li-acts { display: flex; flex-direction: column; gap: 0; }
.grp { border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px 12px; margin: 0; display: grid; gap: 8px; }
.grp legend { padding: 0 4px; } .grp legend input { font: 700 .95rem var(--f-ui); border: 0; border-bottom: 1px dashed var(--line); background: none; color: var(--head); min-height: 36px; padding: 0 4px; }

/* photos */
.photo-field { display: grid; gap: 8px; } .pf-label { font-weight: 600; font-size: .88rem; }
.pf-row { display: flex; gap: 12px; align-items: center; }
.pf-thumb, .pf-empty { width: 84px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bg-2); }
.pf-empty { display: grid; place-items: center; color: var(--muted); border: 1.5px dashed var(--line); }
.pf-acts { display: flex; flex-wrap: wrap; gap: 6px; }
.gal-edit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gal-edit figure { margin: 0; padding: 8px; border-radius: 12px; background: var(--bg-2); display: grid; gap: 6px; }
.gal-edit img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.gal-edit .li-acts { flex-direction: row; justify-content: flex-end; }
.rv-pick { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; } .rv-pick small { color: var(--muted); } .rv-pick b { color: #C98A00; }

/* design */
.presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.preset { display: grid; gap: 6px; padding: 6px; border: 0; border-radius: 14px; background: var(--bg-2); cursor: pointer; font: inherit; color: var(--text); }
.preset.on { box-shadow: inset 0 0 0 2px var(--focus); background: var(--card); }
.pv { position: relative; display: block; aspect-ratio: 1; border-radius: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.pv i { position: absolute; left: 0; right: 0; top: 0; height: 22%; }
.pv b { position: absolute; left: 10%; top: 30%; font-size: 1.3rem; line-height: 1; }
.pv em { position: absolute; left: 10%; bottom: 14%; width: 40%; height: 14%; border-radius: 999px; }
.pv u { position: absolute; right: 10%; bottom: 14%; width: 28%; height: 32%; border-radius: 6px; border: 1px solid; }
.pn { font-size: .74rem; font-weight: 600; text-align: center; }
.color-row { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; cursor: pointer; }
.color-row:hover { background: var(--bg-2); }
.color-row input[type='color'] { width: 44px; height: 44px; border: 0; padding: 0; border-radius: 10px; background: none; cursor: pointer; flex: none; }
.color-row > span { display: grid; flex: 1; min-width: 0; } .color-row small { color: var(--muted); font-size: .78rem; }
.ratio { font: 600 .74rem var(--f-ui); padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.ratio.ok { background: var(--good-bg); color: var(--good); } .ratio.bad { background: #F8D7D3; color: #8C1D18; }
:root[data-theme='dark'] .ratio.bad { background: rgba(255, 180, 169, .16); color: #FFB4A9; }
.font-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.font-opt { display: grid; gap: 2px; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--bg-2); color: var(--text); text-align: left; cursor: pointer; }
.font-opt b { font-size: 1.15rem; font-weight: 700; } .font-opt small { color: var(--muted); font-size: .72rem; }
.font-opt.on { background: var(--card); box-shadow: inset 0 0 0 2px var(--focus); }
.bld-panel .seg-wide { display: flex; flex-wrap: wrap; }
.bld-panel .seg-wide button { flex: 1 1 auto; }

/* details */
.hours-ed { display: grid; gap: 4px; }
.hr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; padding: 8px 10px; border-radius: 10px; background: var(--bg-2); }
.hr.closed { opacity: .75; }
.hr-day { font-weight: 600; font-size: .86rem; text-transform: capitalize; }
.hr-open { display: flex; align-items: center; gap: 6px; font-size: .82rem; cursor: pointer; } .hr-open input { width: 18px; height: 18px; accent-color: var(--focus); }
.hr-times { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.hr-range { display: flex; align-items: center; gap: 4px; }
.hr-range input { min-height: 36px; padding: 0 6px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); color: var(--text); font: inherit; font-size: .88rem; width: 8.2em; min-width: 0; }
.link-btn { border: 0; background: none; padding: 4px 0; color: var(--tag); font: 600 .8rem var(--f-ui); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.toggles { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; } .toggles legend { font-weight: 600; margin-bottom: 4px; }
.callout { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); } .callout p { margin: 0; } .callout .ic { flex: none; color: var(--tag); margin-top: 2px; }

/* seo */
.count { float: right; font-weight: 500; color: var(--muted); } .count.over { color: #B3261E; }
.serp { display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: #fff; color: #202124; box-shadow: inset 0 0 0 1px var(--line); font-family: Arial, sans-serif; }
.serp small { color: #4d5156; font-size: .78rem; overflow-wrap: anywhere; } .serp b { color: #1a0dab; font-weight: 400; font-size: 1.12rem; } .serp p { margin: 0; color: #4d5156; font-size: .86rem; line-height: 1.45; }
.share-card { border-radius: 14px; overflow: hidden; background: #fff; color: #1c1e21; box-shadow: inset 0 0 0 1px var(--line); font-family: Arial, sans-serif; }
.share-card img, .sc-empty { width: 100%; aspect-ratio: 1.91; object-fit: cover; display: grid; place-items: center; background: #f0f2f5; color: #65676b; font-size: .82rem; }
.share-card div { padding: 10px 12px; display: grid; gap: 2px; background: #f0f2f5; } .share-card small { text-transform: uppercase; color: #65676b; font-size: .7rem; } .share-card b { font-size: .95rem; } .share-card p { margin: 0; color: #65676b; font-size: .82rem; }

/* publish / quality */
.qa { border-radius: 16px; background: var(--bg-2); padding: 12px 14px; display: grid; gap: 10px; }
.qa-head { display: flex; gap: 12px; align-items: center; } .qa-head > div { display: grid; } .qa-head small { color: var(--muted); }
.qa-score { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font: 800 1.2rem var(--f-display); flex: none; }
.qa-score.good { background: var(--good-bg); color: var(--good); box-shadow: inset 0 0 0 3px var(--good); }
.qa-score.mid { background: var(--warn-bg); color: var(--warn-text); box-shadow: inset 0 0 0 3px #7EB6E0; }
.qa-score.low { background: #F8D7D3; color: #8C1D18; box-shadow: inset 0 0 0 3px #B3261E; }
.qa-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.qa-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: start; font-size: .88rem; }
.qa-list li.error .ic { color: #B3261E; } .qa-list li.warn .ic { color: #B07A00; } .qa-list li.tip .ic { color: var(--muted); }
.upsell { border-radius: 18px; padding: 18px; background: var(--plum-800); color: var(--snow); display: grid; gap: 8px; }
.upsell h3 { margin: 0; color: var(--snow); } .upsell p { margin: 0; color: rgba(255, 246, 242, .88); }
.upsell ul { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 6px; } .upsell li { display: flex; gap: 8px; } .upsell li .ic { color: var(--ice-400); flex: none; }
.upsell .btn-primary { background: var(--ice-400); color: var(--plum-950); justify-self: start; }
.upsell-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 246, 242, .12); color: var(--ice-400); }
.qr-box { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--bg-2); margin-top: 12px; }
.qr-box svg { flex: none; border-radius: 8px; } .qr-box p { margin: 4px 0 8px; }
.full-prev iframe { width: 100%; height: 76vh; border: 0; border-radius: 12px; background: #fff; }
.bld-empty .muted.small { margin-top: 12px; }

/* plan locks */
.lock-badge { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; font: 700 .72rem var(--f-ui); letter-spacing: .02em; padding: 3px 9px; border-radius: 999px; background: var(--ice-400); color: var(--plum-950); }
.up-list { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 6px; } .up-list li { display: flex; gap: 8px; } .up-list .ic { color: var(--good); flex: none; }

/* Pro tools */
.tools-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 16px; margin-top: 18px; align-items: start; }
.tool-card { display: grid; gap: 14px; }
.tool-head { display: flex; gap: 12px; align-items: flex-start; } .tool-head > div { flex: 1; min-width: 0; } .tool-head h2 { margin: 0 0 4px; font-size: 1.25rem; } .tool-head p { margin: 0; }
.tool-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--st-act); color: var(--st-act-ink); flex: none; }
.reply-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.reply { padding: 12px 14px; border-radius: 14px; background: var(--bg-2); display: grid; gap: 10px; box-shadow: inset 4px 0 0 var(--sage-300, #A9C4AC); }
.reply.is-low { box-shadow: inset 4px 0 0 #7EB6E0; }
.reply-review p { margin: 6px 0 0; } .stars { color: #C98A00; letter-spacing: 1px; }
.reply .btn-row { margin: 0; }
.poster-wrap { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px; align-items: start; }
.poster-prev { position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 16px 34px -20px rgba(32, 16, 59, .6); }
.poster-prev > svg { display: block; width: 100%; height: auto; }
.poster-prev.is-locked > svg { filter: blur(1.5px) saturate(.6); opacity: .8; }
.poster-lock { position: absolute; inset: auto 10px 10px; display: flex; justify-content: center; gap: 6px; align-items: center; padding: 6px; border-radius: 999px; background: var(--ice-400); color: var(--plum-950); font-weight: 700; font-size: .8rem; }
.poster-ctl { display: grid; gap: 12px; } .poster-ctl p { margin: 0; }
#print-root { display: none; }
@media print {
  body.printing > *:not(#print-root) { display: none !important; }
  body.printing #print-root { display: block; } body.printing { background: #fff !important; }
  #print-root svg { width: 100%; height: auto; max-height: 100vh; }
  @page { size: A4; margin: 10mm; }
}

/* plans */
.plan-now { display: flex; gap: 24px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.plan-now h2 { margin: 2px 0; font-size: 1.8rem; color: var(--head); } .plan-now p { margin: 0; }
.plan-how { max-width: 460px; display: grid; gap: 4px; }
.plan .btn.is-static { pointer-events: none; }
.pc-card { margin-top: 22px; } .pc-card h2 { margin: 0 0 12px; }
.pc-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.pc-table th, .pc-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.pc-table th[scope='row'], .pc-table thead th:first-child { text-align: left; font-weight: 500; }
.pc-table thead th { font-family: var(--f-display); color: var(--head); } .pc-table thead small { display: block; font: 500 .78rem var(--f-ui); color: var(--muted); }
.pc-table .is-current { background: var(--good-bg); }
.pc-yes { color: var(--good); display: inline-grid; } .pc-no { color: var(--muted); }

@media (max-width: 1100px) {
  .bld { grid-template-columns: minmax(0, 1fr); }
  .bld-side { position: static; max-height: none; order: 2; }
  .bld-stage { position: static; }
  .bld-stage .device { height: 62vh; }
  .tools-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .bld-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .poster-wrap { grid-template-columns: minmax(0, 1fr); } .poster-prev { max-width: 260px; }
  .bld-url, .hide-sm { display: none; }
  .li-fields { grid-template-columns: minmax(0, 1fr); }
}
