/* ai/ai.css */
/* Лендинг Tyrian AI: стили примеров поверх общего шаблона (../shared/landing.css).
 * Общие файлы не меняются; то, что стоит вынести в шаблон, помечено «→ шаблон».
 */

/* ---- 1. Приветствие: крупное слово справа (зеркало главной) -------------------------- */
.lp-root .intro { position: absolute; top: 80px; left: calc(50% + 24px); right: var(--gutter); z-index: 8; display: flex; align-items: flex-start; min-height: 120px; color: var(--page-ink); transition: color 0.5s var(--ease); }
.lp-root .intro strong { font: 700 72px/88px var(--font); letter-spacing: -0.03em; }
.lp-root .intro span { max-width: 380px; margin: 52px 0 0 14px; font: 500 20px/28px var(--font); text-wrap: balance; }
.lp-root .hero { min-height: 556px; }
.lp-root .hero .pn-in { display: flex; flex-direction: column; min-height: 556px; }
.lp-root .hero h2 { margin-top: 28px; line-height: 1.1; }
.lp-root .hero h2 span { display: block; }
.lp-root .hero h2 span + span { color: var(--ivory-2); }
.lp-root .hero .lead { max-width: none; margin-top: 24px; }
.lp-root .hero-free { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 36px; border-top: 1px solid var(--line); }
.lp-root .hero-free li { display: grid; align-content: start; gap: 4px; padding: 16px 16px 0 0; }
.lp-root .hero-free li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.lp-root .hero-free b { font: 400 34px/38px var(--font); letter-spacing: -0.03em; color: var(--ivory); }
.lp-root .hero-free span { font: 600 12px/16px var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-3); }
.lp-root .hero-act { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin-top: auto; padding-top: 32px; }

/* ---- 2. Предмет: чёрная монета, четыре подписи по углам ------------------------------ */
.lp-root .object { height: 640px; }
.lp-root .object canvas { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
.lp-root .side.quote { align-items: flex-end; padding: 0 60px 150px; } /* монета поднята выше (нахлёст 300), строка-девиз ниже края приветствия */
.lp-root .side.quote p { font-size: 22px; line-height: 30px; }
.lp-root .side.gap { align-items: center; padding: 300px 60px; } /* текст в просвете между соседними панелями нахлёста */

/* ---- Общие для примеров -------------------------------------------------------------- */
.lp-root .split-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 48px; }
.lp-root .split-head .lead { max-width: 520px; margin: 0 0 4px auto; font-size: 18px; line-height: 27px; }
.lp-root .rail-h { display: block; margin-bottom: 12px; font: 600 11px/14px var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-3); }
.lp-root .pos { color: var(--up); }
.lp-root .neg { color: var(--down); }
@keyframes pulse { 50% { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- 3. Чат ------------------------------------------------------------------------- */
.lp-root .ch { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.7fr); gap: 24px; margin-top: 44px; }
.lp-root .ch-win { display: flex; flex-direction: column; min-height: 540px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(80% 60% at 30% 120%, rgb(96 38 197 / 0.14), transparent 70%); }
.lp-root .ch-bar { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.lp-root .ch-title { margin-right: auto; font: 500 15px/20px var(--font); color: var(--ivory); }
.lp-root .ch-mode { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 13px/1 var(--font); color: var(--ivory-2); }
.lp-root .ch-mode i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.lp-root .ch-log { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 28px; height: 500px; overflow: hidden; padding: 24px 24px 8px; -webkit-mask-image: linear-gradient(transparent, #000 90px); mask-image: linear-gradient(transparent, #000 90px); }
.lp-root .ch-turn { display: flex; flex: none; flex-direction: column; gap: 16px; }
.lp-root .ch-turn .me { align-self: flex-end; max-width: 72%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: rgb(225 214 198 / 0.07); font: 400 15px/22px var(--font); color: var(--ivory); animation: rise 0.4s var(--ease) both; }
.lp-root .ai-msg { display: grid; gap: 12px; max-width: 640px; animation: rise 0.4s var(--ease) both; }
.lp-root .ai-msg header { display: flex; align-items: center; gap: 10px; font: 600 14px/18px var(--font); color: var(--ivory); }
.lp-root .ai-msg header i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgb(160 106 255 / 0.4); background: rgb(160 106 255 / 0.1); }
.lp-root .ai-msg header i svg { width: 15px; height: 15px; }
.lp-root .ai-st { font: 400 13px/18px var(--font); color: var(--ivory-3); }
.lp-root .ai-st.on { background: linear-gradient(90deg, var(--ivory-3) 30%, var(--ivory) 50%, var(--ivory-3) 70%) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.6s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }
.lp-root .ai-body { display: grid; gap: 10px; padding-left: 38px; font: 400 15px/24px var(--font); color: rgb(225 214 198 / 0.9); }
.lp-root .ai-body p.live::after { content: ''; display: inline-block; width: 7px; height: 15px; margin-left: 3px; border-radius: 1px; background: var(--accent-ink); vertical-align: -2px; animation: pulse 0.9s steps(1) infinite; }
.lp-root .md-table { width: 100%; max-width: 520px; border-collapse: collapse; font: 400 13px/18px var(--font); }
.lp-root .md-table th { padding: 0 10px 8px 0; font: 600 11px/14px var(--font); letter-spacing: 0.1em; text-transform: uppercase; text-align: left; color: var(--ivory-3); border-bottom: 1px solid var(--line-2); }
.lp-root .md-table td { height: 34px; padding: 0 10px 0 0; border-bottom: 1px solid var(--line); color: var(--ivory-2); animation: rise 0.4s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
.lp-root .md-table td b { font-weight: 600; color: var(--ivory); }
.lp-root .md-table th:not(:first-child), .lp-root .md-table td:not(:first-child) { text-align: right; }
.lp-root .ai-src { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; animation: rise 0.4s var(--ease) both; }
.lp-root .ai-src small { margin-right: 4px; font: 600 11px/14px var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-3); }
.lp-root .ai-src span { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px 0 4px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line); font: 400 12px/1 var(--font); color: var(--ivory-2); }
.lp-root .ai-src span b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: rgb(225 214 198 / 0.08); font: 600 11px/1 var(--font); color: var(--ivory); }
.lp-root .ai-src:not(.on) span { animation: fetch 1.1s var(--ease) infinite alternate; }
@keyframes fetch { from { opacity: 0.35; } }
.lp-root .ai-about { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-left: 38px; padding-top: 10px; border-top: 1px solid var(--line); font: 400 12px/16px var(--font); color: var(--ivory-3); animation: rise 0.4s var(--ease) both; }
.lp-root .ai-about span:first-child { font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.lp-root .ai-about span + span::before { content: ''; display: inline-block; width: 3px; height: 3px; margin: 0 10px 0 -6px; border-radius: 50%; background: var(--ivory-4); vertical-align: 3px; }
.lp-root .ai-about.stopped { flex-wrap: nowrap; gap: 10px; color: var(--ivory-2); font-size: 13px; letter-spacing: 0; text-transform: none; }
.lp-root .ai-about.stopped svg { flex: none; width: 16px; height: 16px; color: var(--ivory); }
.lp-root .ai-about.stopped span:first-of-type { font-weight: 400; letter-spacing: 0; text-transform: none; }
.lp-root .ai-link { margin-left: auto; color: var(--accent-ink); text-decoration: none; }
.lp-root .ai-link:hover { text-decoration: underline; }
.lp-root .ch-input { display: flex; align-items: center; gap: 12px; height: 56px; margin: 12px 16px 16px; padding: 0 8px 0 20px; border-radius: 28px; background: linear-gradient(#0d0d10, #050506); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), inset 0 0 0 1px var(--line); font: 400 15px/20px var(--font); color: var(--ivory-3); transition: box-shadow 0.3s; }
.lp-root .ch-input .ch-field { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-root .ch-input.is-typing { color: var(--ivory); box-shadow: inset 0 0 0 1px rgb(160 106 255 / 0.6); }
.lp-root .ch-input.is-typing .ch-field::after { content: ''; display: inline-block; width: 1.5px; height: 17px; margin-left: 2px; background: var(--accent-ink); vertical-align: -3px; animation: pulse 0.8s steps(1) infinite; }
.lp-root .ch-send { position: relative; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; color: #fff; background: radial-gradient(circle at 50% 30%, #8a2fff, #351c8a 70%); box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.3); transition: transform 0.2s var(--spring); }
.lp-root .ch-send:active { transform: scale(0.94); }
.lp-root .ch-send svg { width: 17px; height: 17px; }
.lp-root .ch-send .i-stop { display: none; width: 18px; height: 18px; }
.lp-root .ch-send.is-busy { background: #f2ede6; color: #000; }
.lp-root .ch-send.is-busy .i-up { display: none; }
.lp-root .ch-send.is-busy .i-stop { display: block; }
.lp-root .ch-send:focus-visible, .lp-root .md-step:focus-visible, .lp-root .pv-switch:focus-visible, .lp-root .pv-enable:focus-visible, .lp-root .rc-go:focus-visible, .lp-root .hs-acts button:focus-visible { outline: 2px solid #b28aff; outline-offset: 3px; }
.lp-root .ch-rail { display: flex; flex-direction: column; gap: 28px; padding: 22px 4px 0; }
.lp-root .ch-asks { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-root .ch-stages { display: grid; gap: 2px; counter-reset: st; }
.lp-root .ch-stages li { display: flex; align-items: center; gap: 12px; height: 40px; font: 500 15px/20px var(--font); color: var(--ivory-3); transition: color 0.3s; }
.lp-root .ch-stages li i { position: relative; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: box-shadow 0.3s, background 0.3s; }
.lp-root .ch-stages li i svg { width: 12px; height: 12px; }
.lp-root .ch-stages li.done { color: var(--ivory-2); }
.lp-root .ch-stages li.done i { color: #000; background: var(--ivory); box-shadow: none; }
.lp-root .ch-stages li.now { color: var(--ivory); }
.lp-root .ch-stages li.now i { box-shadow: inset 0 0 0 1.5px var(--accent); }
.lp-root .ch-stages li.now i::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--accent-ink); animation: spin 0.9s linear infinite; }
.lp-root .ch-stages li.skip { opacity: 0.3; } /* этап не понадобился этому вопросу: просто тихий, без зачёркивания (оно читалось как ошибка) */
.lp-root .ch-stages li.skip i { box-shadow: inset 0 0 0 1.5px var(--line); }
.lp-root .ch-stages li.cut { color: var(--down); }
.lp-root .ch-stages li.cut i { box-shadow: inset 0 0 0 1.5px var(--down); }
.lp-root .ch-hold p { display: flex; align-items: baseline; gap: 8px; }
.lp-root .ch-hold strong { font: 400 40px/44px var(--font); letter-spacing: -0.03em; color: var(--ivory); transition: color 0.3s; }
.lp-root .ch-hold em { font: 400 14px/1 var(--font); font-style: normal; color: var(--ivory-3); }
.lp-root .ch-hold p.off strong { color: var(--ivory-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.lp-root .ch-hold-s { display: flex; align-items: center; gap: 8px; margin-top: 6px; font: 500 14px/20px var(--font); color: var(--ivory-2); }
.lp-root .ch-hold-s svg { flex: none; width: 16px; height: 16px; }
.lp-root .ch-hold-s.done svg { padding: 2px; border-radius: 50%; color: #000; background: var(--ivory); }
.lp-root .ch-hold-s i { flex: none; width: 16px; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--accent-ink) 0 3px, transparent 3px 5px); animation: slide 1s linear infinite; }
.lp-root .ch-hold-s.pre i { background: var(--line-2); animation: none; }
.lp-root .ch-note { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); font: 400 14px/21px var(--font); color: var(--ivory-3); }
.lp-root .ch-fine { margin-top: 16px; }

/* ---- 4. Разбор графика ------------------------------------------------------------- */
.lp-root .ca { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.75fr); gap: 24px; margin-top: 44px; }
.lp-root .ca-chart { position: relative; display: flex; flex-direction: column; min-height: 470px; margin: 0; padding: 16px 20px 20px; border: 1px solid var(--line); border-radius: 22px; background: radial-gradient(90% 60% at 70% 110%, rgb(96 38 197 / 0.14), transparent 70%); }
.lp-root .ca-bar { display: flex; align-items: center; gap: 12px; font: 500 14px/18px var(--font); color: var(--ivory-2); }
.lp-root .ca-bar b { font-weight: 600; color: var(--ivory); }
.lp-root .ca-px { color: var(--ivory); }
.lp-root .ca-bar .tag { margin-right: auto; }
.lp-root .ca-seg { background: rgb(225 214 198 / 0.06); box-shadow: inset 0 0 0 1px var(--line); }
.lp-root .ca-seg button { height: 30px; padding: 0 14px; font-size: 12px; letter-spacing: 0.02em; color: var(--ivory-3); }
.lp-root .ca-seg button[aria-pressed='true'] { color: #000; background: var(--ivory); }
.lp-root .ca-plot { position: relative; flex: 1; min-height: 360px; margin-top: 14px; padding-right: 64px; }
.lp-root .ca-svg { display: block; width: 100%; height: 100%; min-height: 360px; overflow: visible; }
.lp-root .ca-axis { position: absolute; top: 0; right: 0; bottom: 0; width: 60px; border-left: 1px solid var(--line); }
.lp-root .ca-axis span { position: absolute; right: 0; left: 8px; font: 500 11px/14px var(--font); color: var(--ivory-3); transform: translateY(-50%); font-variant-numeric: tabular-nums; }
.lp-root .ca-axis span.lv { display: none; left: 0; padding: 1px 0 1px 6px; border-radius: 0 3px 3px 0; background: #000; box-shadow: inset 0 0 0 1px currentColor; }
.lp-root .ca-axis span.lv.sup { color: var(--up); } .lp-root .ca-axis span.lv.res { color: var(--down); }
.lp-root .ca-axis span.now { left: 0; padding: 1px 0 1px 6px; border-radius: 0 3px 3px 0; background: var(--ivory); color: #000; }
.lp-root .ca-time { position: relative; height: 18px; margin: 8px 64px 0 0; border-top: 1px solid var(--line); }
.lp-root .ca-time span { position: absolute; top: 4px; font: 500 11px/14px var(--font); color: var(--ivory-3); transform: translateX(-50%); white-space: nowrap; }
.lp-root .ca-time span:first-child { transform: translateX(-4px); } /* первая дата (длинная по-вьетнамски) не выходит за левый край графика */
.lp-root .ca-svg .grid { stroke: rgb(225 214 198 / 0.06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lp-root .ca-svg .cu line, .lp-root .ca-svg .cd line { stroke-width: 1; vector-effect: non-scaling-stroke; }
.lp-root .ca-svg .cu line { stroke: rgb(99 201 154 / 0.85); } .lp-root .ca-svg .cu rect { fill: rgb(99 201 154 / 0.85); }
.lp-root .ca-svg .cd line { stroke: rgb(233 134 138 / 0.85); } .lp-root .ca-svg .cd rect { fill: rgb(233 134 138 / 0.85); }
.lp-root .ca-svg .fresh-c { animation: rise 0.5s var(--ease) both; }
.lp-root .ca-svg .vu { fill: rgb(99 201 154 / 0.22); } .lp-root .ca-svg .vd { fill: rgb(233 134 138 / 0.2); }
.lp-root .ca-svg .last { stroke: var(--ivory-3); stroke-width: 1; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.lp-root .ca-svg .newzone { fill: rgb(225 214 198 / 0.035); }
.lp-root .ca-svg .lvl { stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: left center; transform: scaleX(0); transition: transform 0.9s var(--ease); }
.lp-root .ca.is-drawn .lvl { transform: none; }
.lp-root .ca-svg .lvl.sup { stroke: var(--up); } .lp-root .ca-svg .lvl.res { stroke: var(--down); }
.lp-root .ca-svg .lvl-ghost { stroke-width: 1; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; opacity: 0.55; }
.lp-root .ca-svg .lvl-ghost.sup { stroke: var(--up); } .lp-root .ca-svg .lvl-ghost.res { stroke: var(--down); }
.lp-root .ca-svg .zone { opacity: 0; transition: opacity 0.6s var(--ease); }
.lp-root .ca.is-drawn .zone { opacity: 1; }
.lp-root .ca-svg .zone.sup { fill: rgb(99 201 154 / 0.08); } .lp-root .ca-svg .zone.res { fill: rgb(233 134 138 / 0.08); }
.lp-root .ca[data-state='saved'] .ca-svg .lvl { stroke-dasharray: 6 4; }
.lp-root .ca-labels { position: absolute; inset: 0 64px 0 0; pointer-events: none; }
.lp-root .ca-labels span { position: absolute; left: 8px; padding: 2px 7px; border-radius: 4px; background: #000; box-shadow: inset 0 0 0 1px currentColor; font: 500 11px/15px var(--font); white-space: nowrap; transform: translateY(-130%); opacity: 0; transition: opacity 0.5s var(--ease) 0.5s; font-variant-numeric: tabular-nums; }
.lp-root .ca.is-drawn .ca-labels span { opacity: 1; }
.lp-root .ca-labels .sup { color: var(--up); } .lp-root .ca-labels .res { color: var(--down); }
.lp-root .ca.is-off .ov, .lp-root .ca.is-off .ca-labels { opacity: 0; transition: opacity 0.3s; }
.lp-root .ca-new { position: absolute; top: -2px; display: none; margin-left: 8px; font: 600 11px/14px var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-3); white-space: nowrap; }
.lp-root .ca[data-state='saved'] .ca-new { display: block; }
.lp-root .ca-card { display: flex; flex-direction: column; gap: 20px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; }
.lp-root .ca-frozen { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.lp-root .ca-q { font: 400 17px/25px var(--font); color: var(--ivory); }
.lp-root .ca-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.lp-root .ca-meta span { height: 24px; padding: 0 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 12px/24px var(--font); color: var(--ivory-2); }
.lp-root .ca-lines { display: grid; gap: 14px; }
.lp-root .ca-lines li { display: flex; gap: 12px; }
.lp-root .ca-lines li i { flex: none; width: 3px; margin: 3px 0; border-radius: 2px; }
.lp-root .ca-lines li.sup i { background: var(--up); } .lp-root .ca-lines li.res i { background: var(--down); }
.lp-root .ca-lines b { display: block; font: 500 15px/20px var(--font); color: var(--ivory); }
.lp-root .ca-lines span { font: 400 13px/19px var(--font); color: var(--ivory-3); }
.lp-root .ca-act { display: grid; gap: 10px; margin-top: auto; }
.lp-root .ca-act .ghost { justify-self: start; }
.lp-root .ca-act .ghost[aria-pressed='true'] svg { color: var(--up); }
.lp-root .ca-ro, .lp-root .ca-prep { display: flex; align-items: flex-start; gap: 8px; font: 500 13px/19px var(--font); color: var(--ivory-2); }
.lp-root .ca-ro svg, .lp-root .ca-prep svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--ivory-3); }
.lp-root .ca-prep { color: var(--ivory); animation: rise 0.4s var(--ease) both; }
.lp-root .ca-prep svg { color: var(--up); }
.lp-root .ca-draft { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 8px 8px 16px; border-radius: 28px; background: linear-gradient(#0d0d10, #030304); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), inset 0 0 0 1px rgb(160 106 255 / 0.5); font: 400 14px/20px var(--font); color: var(--ivory); animation: rise 0.4s var(--ease) both; }
.lp-root .ca-draft span { flex: 1; min-width: 0; }
.lp-root .ca-draft .ch-send { flex: none; }
.lp-root .ca-act .cta { justify-self: stretch; white-space: normal; text-align: center; height: auto; min-height: 44px; padding: 10px 18px; line-height: 20px; }
.lp-root .ca-warn { display: none; font: 400 13px/19px var(--font); color: var(--ivory-3); }
.lp-root .ca[data-state='saved'] .ca-warn { display: block; }

/* ---- 5. Режимы: лестница глубины ------------------------------------------------- */
.lp-root .modes-head { display: grid; grid-template-columns: 36.64% minmax(0, 1fr); row-gap: 20px; }
.lp-root .modes-head > div { grid-column: 2; }
.lp-root .modes-head > .eyebrow { align-self: start; margin-top: 26px; }
.lp-root .modes-head .lead { max-width: 620px; }
.lp-root .md { margin-top: 52px; }
.lp-root .md-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-root .md-step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-height: 380px; padding: 24px 22px 26px; border: 0; border-right: 1px solid var(--line); background: none; text-align: left; color: var(--ivory); transition: background 0.4s var(--ease); }
.lp-root .md-step:last-child { border-right: 0; }
.lp-root .md-step:hover { background: radial-gradient(90% 70% at 50% 100%, rgb(96 38 197 / 0.12), transparent 70%); }
.lp-root .md-step[aria-checked='true'] { background: radial-gradient(100% 80% at 50% 100%, rgb(96 38 197 / 0.26), transparent 72%); }
.lp-root .md-groups { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 14px; }
.lp-root .md-groups span { display: flex; align-items: center; gap: 12px; padding: 0 22px; font: 600 11px/14px var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-2); white-space: nowrap; }
.lp-root .md-groups span::after { content: ''; flex: 1; height: 1px; background: var(--line-2); }
.lp-root .md-groups .g-free { color: var(--ivory); }
.lp-root .md-groups .g-pro { grid-column: 2 / span 4; }
.lp-root .md-steps .md-tag { display: none; }
.lp-root .md-tag { height: 22px; padding: 0 8px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 11px/22px var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-3); }
.lp-root .md-tag.free { color: var(--ivory); box-shadow: inset 0 0 0 1px var(--ivory-3); }
.lp-root .md-col { position: relative; display: block; align-self: stretch; height: 170px; margin: 22px 0 18px; }
.lp-root .md-col i { position: absolute; bottom: 0; left: 0; right: 0; height: calc(var(--d) * 20%); border-radius: 10px 10px 2px 2px; background: linear-gradient(rgb(225 214 198 / 0.22), rgb(225 214 198 / 0.04)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18); transform-origin: bottom; transition: background 0.4s, box-shadow 0.4s, transform 0.9s var(--ease); }
.lp-root .md-col::before { content: ''; position: absolute; right: 0; bottom: 0; left: 0; height: 1px; background: var(--line); }
.lp-root .modes:not(.is-in) .md-col i { transform: scaleY(0); }
.lp-root .md-step:nth-child(2) .md-col i { transition-delay: 0.08s; } .lp-root .md-step:nth-child(3) .md-col i { transition-delay: 0.16s; } .lp-root .md-step:nth-child(4) .md-col i { transition-delay: 0.24s; } .lp-root .md-step:nth-child(5) .md-col i { transition-delay: 0.32s; }
.lp-root .md-step[aria-checked='true'] .md-col i { background: linear-gradient(#6b2fd6, #2c1270 55%, #0e0526); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), inset 0 0 0 1px rgb(178 138 255 / 0.35), 0 14px 30px -18px rgb(138 47 255 / 0.7); }
.lp-root .md-meter { display: none; }
.lp-root .md-step b { font: 500 21px/26px var(--font); letter-spacing: -0.01em; }
.lp-root .md-step small { font: 400 14px/20px var(--font); color: var(--ivory-3); }
.lp-root .md-step strong { margin-top: auto; padding-top: 18px; font: 400 34px/38px var(--font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.lp-root .md-step strong em { margin-left: 6px; font-style: normal; font-size: 13px; letter-spacing: 0; color: var(--ivory-3); }
.lp-root .md-time { min-height: 16px; font: 500 12px/16px var(--font); color: var(--ivory-3); }
.lp-root .md-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; margin-top: 28px; }
.lp-root .md-composer { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 8px 10px 8px 10px; border-radius: 32px; background: linear-gradient(#0d0d10, #050506); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), inset 0 0 0 1px var(--line); }
.lp-root .md-pill { display: inline-flex; flex: none; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 22px; background: rgb(225 214 198 / 0.07); font: 500 14px/1 var(--font); color: var(--ivory); }
.lp-root .md-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.lp-root .md-q { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 15px/20px var(--font); color: var(--ivory-2); }
.lp-root .md-price { display: grid; flex: none; justify-items: end; gap: 2px; padding-right: 12px; }
.lp-root .md-price small { font: 600 11px/14px var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-3); }
.lp-root .md-price strong { font: 500 17px/20px var(--font); color: var(--ivory); }
.lp-root .md-price strong.bump { animation: bump 0.45s var(--spring); }
@keyframes bump { 40% { transform: translateY(-3px); color: var(--accent-ink); } }
.lp-root .md-confirm { display: grid; gap: 6px; width: 330px; padding: 16px 18px; border-radius: 18px; background: #000; box-shadow: inset 0 0 0 1px rgb(160 106 255 / 0.45), 0 18px 40px -20px rgb(138 47 255 / 0.7); animation: rise 0.35s var(--ease) both; }
.lp-root .md-confirm[hidden] { display: none; }
.lp-root .md-confirm b { font: 500 15px/20px var(--font); color: var(--ivory); }
.lp-root .md-confirm p { font: 400 13px/19px var(--font); color: var(--ivory-2); }
.lp-root .md-confirm div { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.lp-root .md-confirm .ghost { height: 44px; }
.lp-root .md-fine { margin-top: 18px; max-width: 780px; }

/* ---- 6. История и восстановление ---------------------------------------------------- */
.lp-root .hist, .lp-root .recover, .lp-root .files { min-height: 760px; }
.lp-root .hs { margin-top: 36px; padding: 14px; border: 1px solid var(--line); border-radius: 22px; }
.lp-root .hs-search { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: 12px; background: linear-gradient(#0d0d10, #050506); box-shadow: inset 0 0 0 1px var(--line); font: 400 15px/1 var(--font); color: var(--ivory); }
.lp-root .hs-search svg { width: 17px; height: 17px; color: var(--ivory-3); }
.lp-root .hs-search.is-typing .hs-typed::after { content: ''; display: inline-block; width: 1.5px; height: 16px; margin-left: 2px; background: var(--accent-ink); vertical-align: -3px; animation: pulse 0.8s steps(1) infinite; }
.lp-root .hs-list { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 4px; margin-top: 10px; }
.lp-root .hs-row.miss, .lp-root .hs-arch.miss { opacity: 0.28; }
.lp-root .hs-row, .lp-root .hs-arch { transition: background 0.2s, color 0.2s, opacity 0.3s; }
.lp-root .hs-list section { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.lp-root .hs-list h4 { display: flex; align-items: center; gap: 8px; margin: 12px 10px 6px; font: 600 11px/14px var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-3); }
.lp-root .hs-list h4 svg { width: 14px; height: 14px; }
.lp-root .hs-list h4 em { margin-left: auto; font-style: normal; color: var(--ivory-4); }
.lp-root .hs-arch { margin-top: 6px; border-top: 1px solid var(--line); }
.lp-root .hs-row { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 12px; border-radius: 12px; font: 400 15px/20px var(--font); color: var(--ivory-2); }
.lp-root .hs-row > span:not(.hs-acts) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-root .hs-row > svg { flex: none; width: 16px; height: 16px; color: var(--ivory-4); }
.lp-root .hs-row .hs-pin { color: var(--accent-ink); }
.lp-root .hs-row:hover, .lp-root .hs-row.on { color: var(--ivory); background: rgb(225 214 198 / 0.06); }
.lp-root .hs-row.hit { color: var(--ivory); background: rgb(160 106 255 / 0.12); box-shadow: inset 0 0 0 1px rgb(160 106 255 / 0.4); }
.lp-root .hs-acts { display: flex; gap: 2px; opacity: 0; transition: opacity 0.2s; }
.lp-root .hs-row:hover .hs-acts, .lp-root .hs-row.on .hs-acts, .lp-root .hs-row:focus-within .hs-acts { opacity: 1; }
.lp-root .hs-row:focus-within { color: var(--ivory); background: rgb(225 214 198 / 0.06); }
.lp-root .hs-acts button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: none; color: var(--ivory-3); }
.lp-root .hs-acts button:hover { color: var(--ivory); background: rgb(225 214 198 / 0.08); }
.lp-root .hs-acts button:last-child:hover { color: var(--down); }
.lp-root .hs-acts svg { width: 15px; height: 15px; }
.lp-root .hs-found { margin-left: auto; font: 500 13px/18px var(--font); font-style: normal; color: var(--ivory-3); }

.lp-root .rc { display: grid; gap: 16px; margin-top: 36px; padding: 22px; border: 1px solid var(--line); border-radius: 22px; }
.lp-root .rc-msg.me { justify-self: end; max-width: 85%; padding: 12px 16px; border-radius: 18px 18px 4px 18px; background: rgb(225 214 198 / 0.07); font: 400 15px/22px var(--font); }
.lp-root .rc-ans { display: flex; gap: 12px; min-height: 150px; }
.lp-root .rc-ico { display: grid; flex: none; place-items: center; width: 28px; height: 28px; border-radius: 9px; color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgb(160 106 255 / 0.4); background: rgb(160 106 255 / 0.1); }
.lp-root .rc-ico svg { width: 15px; height: 15px; }
.lp-root .rc-text { font: 400 16px/26px var(--font); color: rgb(225 214 198 / 0.9); }
.lp-root .rc.is-lost .rc-text { -webkit-mask-image: linear-gradient(90deg, #000 70%, transparent); mask-image: linear-gradient(#000 60%, rgb(0 0 0 / 0.35)); }
.lp-root .rc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; background: rgb(233 134 138 / 0.08); box-shadow: inset 0 0 0 1px rgb(233 134 138 / 0.32); font: 500 14px/20px var(--font); color: var(--ivory); animation: rise 0.35s var(--ease) both; }
.lp-root .rc-bar[hidden] { display: none; }
.lp-root .rc-bar.is-run { background: rgb(160 106 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(160 106 255 / 0.35); }
.lp-root .rc-bar.is-done { background: rgb(99 201 154 / 0.08); box-shadow: inset 0 0 0 1px rgb(99 201 154 / 0.35); }
.lp-root .rc-bar-t { display: inline-flex; align-items: center; gap: 8px; }
.lp-root .rc-bar-t svg { width: 16px; height: 16px; color: var(--up); }
.lp-root .rc-bar.is-run .rc-bar-t::before { content: ''; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgb(160 106 255 / 0.3); border-top-color: var(--accent-ink); animation: spin 0.9s linear infinite; }
.lp-root .rc-bar .ghost { height: 44px; }
.lp-root .rc-bar .ghost[hidden] { display: none; }
.lp-root .rc-draft { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 18px; border-radius: 26px; background: linear-gradient(#0d0d10, #050506); box-shadow: inset 0 0 0 1px var(--line); font: 400 15px/21px var(--font); color: var(--ivory); }
.lp-root .rc-draft small { flex: none; white-space: nowrap; padding: 4px 7px; border-radius: 4px; box-shadow: inset 0 0 0 1px var(--line-2); font: 600 11px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ivory-3); }

/* ---- 7. Вложения ------------------------------------------------------------------ */
.lp-root .fl { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; margin-top: 36px; }
.lp-root .fl-tray { padding: 18px; border: 1px solid var(--line); border-radius: 22px; }
.lp-root .fl-q { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 6px 0 18px; border-radius: 26px; background: linear-gradient(#0d0d10, #050506); box-shadow: inset 0 0 0 1px var(--line); font: 400 15px/20px var(--font); color: var(--ivory); }
.lp-root .fl-q span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lp-root .fl-send { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: radial-gradient(circle at 50% 30%, #8a2fff, #351c8a 70%); }
.lp-root .fl-send svg { width: 16px; height: 16px; }
.lp-root .fl-files { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.lp-root .fl-file { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); }
.lp-root .fl.go .fl-file { animation: rise 0.45s var(--ease) both; animation-delay: calc(var(--i) * 160ms); }
.lp-root .fl-file > div { display: grid; flex: 1; min-width: 0; gap: 3px; }
.lp-root .fl-file b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 500 14px/18px var(--font); color: var(--ivory); }
.lp-root .fl-file small { font: 400 12px/14px var(--font); color: var(--ivory-3); }
.lp-root .fl-prog { position: relative; height: 2px; margin-top: 4px; overflow: hidden; border-radius: 1px; background: var(--line); }
.lp-root .fl-prog i { position: absolute; inset: 0; background: var(--ivory-2); transform-origin: left; transform: scaleX(1); }
.lp-root .fl.go .fl-prog i { animation: load 1.2s var(--ease) both; animation-delay: calc(0.2s + var(--i) * 0.3s); }
@keyframes load { from { transform: scaleX(0); } }
/* загрузка закончилась: полоска уходит, на её месте знак готовности; без движения сразу конечное состояние */
.lp-root .fl-prog { opacity: 0; }
.lp-root .fl.go .fl-prog { animation: progv 1.7s linear both; animation-delay: calc(var(--i) * 0.3s); }
@keyframes progv { 0%, 85% { opacity: 1; } 100% { opacity: 0; } }
.lp-root .fl-ok { display: grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ivory); color: #000; }
.lp-root .fl-ok svg { width: 13px; height: 13px; stroke-width: 2.4; }
.lp-root .fl.go .fl-ok { animation: okin 0.4s var(--spring) both; animation-delay: calc(1.55s + var(--i) * 0.3s); }
@keyframes okin { from { opacity: 0; transform: scale(0.5); } }
.lp-root .fl-ico, .lp-root .fl-thumb { display: grid; flex: none; place-items: center; width: 52px; height: 44px; border-radius: 10px; background: rgb(225 214 198 / 0.06); color: var(--ivory-2); }
.lp-root .fl-ico svg { width: 20px; height: 20px; }
.lp-root .fl-thumb { overflow: hidden; background: #0b0b0d; box-shadow: inset 0 0 0 1px var(--line); }
.lp-root .fl-thumb svg { width: 100%; height: 100%; }
.lp-root .fl-thumb path { fill: none; stroke: var(--ivory); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.lp-root .fl-thumb line { stroke-width: 1; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; }
.lp-root .fl-thumb line.r { stroke: var(--down); } .lp-root .fl-thumb line.s { stroke: var(--up); }
.lp-root .fl-add { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); border: 1px dashed transparent; font: 500 13px/1 var(--font); color: var(--ivory-3); cursor: pointer; }
.lp-root .fl-add svg { width: 16px; height: 16px; }
.lp-root .fl-dots { display: flex; gap: 4px; margin-left: auto; }
.lp-root .fl-dots i { width: 6px; height: 6px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--ivory-4); }
.lp-root .fl-dots i.on { background: var(--ivory-2); box-shadow: none; }
.lp-root .fl-kinds { display: grid; border-top: 1px solid var(--line); }
.lp-root .fl-kinds li { display: flex; align-items: center; gap: 14px; min-height: 64px; border-bottom: 1px solid var(--line); }
.lp-root .fl-kinds li i { display: grid; flex: none; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--ivory-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.lp-root .fl-kinds li i svg { width: 18px; height: 18px; }
.lp-root .fl-kinds li div { display: grid; flex: 1; gap: 2px; }
.lp-root .fl-kinds b { font: 500 15px/20px var(--font); color: var(--ivory); }
.lp-root .fl-kinds span { font: 400 13px/18px var(--font); color: var(--ivory-3); }
.lp-root .fl-kinds strong { font: 400 15px/20px var(--font); color: var(--ivory); white-space: nowrap; }

/* ---- 8. Доски ---------------------------------------------------------------------- */
.lp-root .bd { margin-top: 40px; }
.lp-root .bd-ask { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 8px 8px 16px; border-radius: 30px; background: linear-gradient(#0d0d10, #050506); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06), inset 0 0 0 1px var(--line); }
.lp-root .bd-ico { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 10px; color: var(--accent-ink); background: rgb(160 106 255 / 0.12); }
.lp-root .bd-ico svg { width: 16px; height: 16px; }
.lp-root .bd-q { flex: 1; min-height: 22px; font: 400 17px/22px var(--font); color: var(--ivory); }
.lp-root .bd-ask .ghost { height: 44px; }
.lp-root .bd-ask .tag { flex: none; }
.lp-root .bd-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; margin-top: 20px; }
.lp-root .bd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; min-height: 360px; }
.lp-root .bd-grid { position: relative; }
.lp-root .bd-steps { position: absolute; inset: 0; z-index: 2; display: grid; align-content: center; justify-content: center; gap: 12px; background: radial-gradient(40% 50% at 50% 50%, rgb(0 0 0 / 0.92), rgb(0 0 0 / 0.55) 70%, transparent); }
.lp-root .bd-card.sk header { gap: 10px; }
.lp-root .bd-card.sk header i { width: 38%; height: 10px; border-radius: 3px; background: rgb(225 214 198 / 0.08); }
.lp-root .bd-card.sk header i + i { width: 18%; }
.lp-root .bd-card.sk > span { flex: 1; margin-top: 18px; border-radius: 10px; background: linear-gradient(100deg, rgb(225 214 198 / 0.03) 30%, rgb(225 214 198 / 0.08) 50%, rgb(225 214 198 / 0.03) 70%) 0 0 / 300% 100%; animation: shimmer 1.8s linear infinite; }
.lp-root .bd-card.sk > span.lit { background: linear-gradient(rgb(160 106 255 / 0.1), transparent); animation: none; }
.lp-root .bd-steps li { display: flex; align-items: center; gap: 12px; font: 500 16px/20px var(--font); color: var(--ivory-4); transition: color 0.3s; }
.lp-root .bd-steps li i { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.lp-root .bd-steps li svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: #000; background: var(--ivory); }
.lp-root .bd-steps li.done { color: var(--ivory-2); }
.lp-root .bd-steps li.now { color: var(--ivory); }
.lp-root .bd-steps li.now i { box-shadow: inset 0 0 0 1.5px var(--accent); }
.lp-root .bd-card { display: flex; flex-direction: column; min-height: 170px; padding: 16px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.lp-root .bd-grid.on .bd-card { animation: rise 0.5s var(--ease) both; animation-delay: calc(var(--i) * 110ms); }
.lp-root .bd-card header { display: grid; gap: 2px; }
.lp-root .bd-card header b { font: 500 15px/20px var(--font); color: var(--ivory); }
.lp-root .bd-card header small { font: 400 13px/18px var(--font); color: var(--ivory-3); }
.lp-root .bd-card svg { flex: 1; width: 100%; height: 90px; margin-top: 10px; }
.lp-root .bd-card path { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.lp-root .bd-card .l1 { stroke: var(--ivory); } .lp-root .bd-card .l2 { stroke: var(--accent-ink); }
.lp-root .bd-card .lvl { stroke: var(--up); stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.lp-root .bd-leg { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; font: 500 12px/16px var(--font); color: var(--ivory-3); }
.lp-root .bd-leg b { margin-left: 4px; font-weight: 500; color: var(--ivory); }
.lp-root .bd-leg > span:not([class]) b { margin-left: 0; }
.lp-root .bd-leg .k1::before, .lp-root .bd-leg .k2::before, .lp-root .bd-leg .k3::before { content: ''; display: inline-block; width: 12px; height: 2px; margin-right: 6px; vertical-align: 3px; background: var(--ivory); }
.lp-root .bd-leg .k2::before { background: var(--accent-ink); }
.lp-root .bd-leg .k3::before { height: 0; border-top: 1.5px dashed var(--up); background: none; }
.lp-root .bd-bars { display: flex; flex: 1; align-items: flex-end; gap: 5px; height: 90px; margin-top: 10px; }
.lp-root .bd-bars i { flex: 1; height: var(--h); border-radius: 2px 2px 0 0; background: linear-gradient(rgb(225 214 198 / 0.5), rgb(225 214 198 / 0.12)); transform-origin: bottom; }
.lp-root .bd-grid.on .bd-bars i { animation: grow 0.6s var(--ease) both; animation-delay: calc(0.3s + var(--i) * 40ms); }
.lp-root .bd-bars i:last-child { background: linear-gradient(var(--accent-ink), rgb(160 106 255 / 0.2)); }
@keyframes grow { from { transform: scaleY(0); } }
.lp-root .bd-sum { margin-top: 12px; font: 400 17px/25px var(--font); color: var(--ivory); }
.lp-root .bd-watch { display: flex; flex-direction: column; padding: 18px; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.lp-root .bd-clock { position: relative; width: 120px; height: 120px; margin: 4px auto 16px; }
.lp-root .bd-clock svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.lp-root .bd-clock circle { fill: none; stroke-width: 3; }
.lp-root .bd-clock .trk { stroke: var(--line-2); }
.lp-root .bd-clock .arc { stroke: var(--accent-ink); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 82; }
.lp-root .bd-clock .arc.run { animation: tick 2.2s linear infinite; }
@keyframes tick { from { stroke-dashoffset: 327; } to { stroke-dashoffset: 0; } }
.lp-root .bd-clock div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.lp-root .bd-clock strong { font: 400 34px/36px var(--font); letter-spacing: -0.03em; color: var(--ivory); }
.lp-root .bd-clock small { font: 600 11px/14px var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-3); }
.lp-root .bd-log { display: grid; gap: 8px; }
.lp-root .bd-log li { display: flex; align-items: center; gap: 10px; font: 400 13px/18px var(--font); color: var(--ivory-2); }
.lp-root .bd-log li.fresh { animation: rise 0.35s var(--ease) both; }
.lp-root .bd-log li i { flex: none; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--ivory-3); }
.lp-root .bd-log li.rule { display: grid; gap: 4px; margin-bottom: 8px; padding: 0 0 12px; border-bottom: 1px solid var(--line); }
.lp-root .bd-log li.rule small { font: 600 11px/14px var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-3); }
.lp-root .bd-log li.rule b { display: flex; align-items: center; gap: 10px; font: 500 16px/22px var(--font); color: var(--ivory); }
.lp-root .bd-log li.rule b::before { content: ''; width: 16px; border-top: 1.5px dashed var(--up); } /* та же пунктирная линия, что у уровня на карточке ETH */
.lp-root .bd-log li.hit { color: var(--ivory); }
.lp-root .bd-log li.hit i { background: var(--up); box-shadow: 0 0 8px var(--up); }
.lp-root .bd-log li.sent { color: var(--accent-ink); }
.lp-root .bd-log li.sent svg { width: 15px; height: 15px; }
.lp-root .bd-log { display: flex; flex: 1; flex-direction: column; }
.lp-root .bd-log li.wait { color: var(--ivory-4); }
.lp-root .bd-log li.sent.wait svg { opacity: 0.5; }
.lp-root .bd-log li.every { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ivory-3); }

/* ---- 9. Кредиты: путь удержания ---------------------------------------------------- */
.lp-root .finance { min-height: 760px; }
.lp-root .finance .coin { position: absolute; top: -40px; right: -60px; z-index: 1; width: 340px; height: 340px; pointer-events: none; }
.lp-root .finance .pn-in h2 { max-width: 360px; } /* заголовок не заходит под монету (замер en/ru/vi на 1440 и 1280) */
.lp-root .finance .lead { max-width: 440px; }
.lp-root .hold { display: grid; margin-top: 36px; border-top: 1px solid var(--line); }
.lp-root .hold li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 64px; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line); transition: background 0.4s var(--ease); }
.lp-root .hold li.on { background: linear-gradient(90deg, rgb(160 106 255 / 0.14), transparent 80%); }
.lp-root .hold-n { padding-left: 10px; font: 500 12px/1 var(--font); color: var(--ivory-4); transition: color 0.3s; }
.lp-root .hold li.on .hold-n { color: var(--accent-ink); }
.lp-root .hold li div { display: grid; gap: 2px; }
.lp-root .hold b { font: 500 16px/21px var(--font); color: var(--ivory); }
.lp-root .hold li div span { font: 400 13px/18px var(--font); color: var(--ivory-3); }
.lp-root .hold em { display: grid; place-items: center; min-width: 44px; height: 28px; padding: 0 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 13px/1 var(--font); font-style: normal; color: var(--ivory); }
.lp-root .hold em svg { width: 15px; height: 15px; color: var(--up); }
.lp-root .hold em.back { color: var(--ivory-2); font-size: 16px; }
.lp-root .hold .hold-bar { position: relative; width: 64px; overflow: hidden; }
.lp-root .hold .hold-bar i { position: absolute; top: 12px; left: 8px; right: 8px; height: 4px; border-radius: 2px; background: repeating-linear-gradient(90deg, var(--accent-ink) 0 6px, transparent 6px 10px); animation: slide 1s linear infinite; }
@keyframes slide { to { background-position: 10px 0; } }
.lp-root .cr-pro { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; padding: 18px 18px 18px 20px; border-radius: 18px; background: radial-gradient(90% 120% at 0% 0%, rgb(96 38 197 / 0.22), transparent 70%); box-shadow: inset 0 0 0 1px rgb(160 106 255 / 0.3); }
.lp-root .cr-pro p { flex: 1; font: 400 15px/22px var(--font); color: var(--ivory-2); }
@media (min-width: 860px) {
  /* цена слева на две строки, справа условия и под ними кнопка: длинные en/vi условия не зажаты между ценой и кнопкой */
  .lp-root .cr-pro { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 20px; row-gap: 12px; }
  .lp-root .cr-pro-px { grid-row: 1 / span 2; align-self: stretch; align-content: center; }
  .lp-root .cr-pro .ghost { justify-self: start; }
}
.lp-root .cr-pro-px { display: grid; flex: none; gap: 2px; padding-right: 18px; border-right: 1px solid var(--line-2); }
.lp-root .cr-pro-px b { margin-top: 6px; font: 400 34px/36px var(--font); letter-spacing: -0.03em; color: var(--ivory); }
.lp-root .cr-pro-px small { font: 400 13px/16px var(--font); color: var(--ivory-3); }

/* ---- 10. Приватность ------------------------------------------------------------- */
.lp-root .pv-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 64px; }
.lp-root .pv-facts { display: grid; gap: 14px; margin-top: 32px; }
.lp-root .pv-facts li { display: flex; align-items: flex-start; gap: 12px; font: 400 16px/23px var(--font); color: var(--ivory-2); }
.lp-root .pv-facts i { display: grid; flex: none; place-items: center; width: 24px; height: 24px; margin-top: -1px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ivory); }
.lp-root .pv-facts i svg { width: 13px; height: 13px; }
.lp-root .pv-stage { position: relative; min-height: 600px; }
.lp-root .pv-stage canvas { position: absolute; top: 0; left: 50%; width: 400px; height: 400px; margin-left: -200px; transition: filter 0.6s var(--ease), opacity 0.6s; }
.lp-root .privacy[data-on='false'] .pv-stage canvas { filter: grayscale(1) brightness(0.65); }
.lp-root .pv-card { position: absolute; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 20px; border-radius: 22px; background: rgb(0 0 0 / 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px #000; }
.lp-root .pv-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lp-root .pv-switch-row b { display: block; font: 500 16px/20px var(--font); color: var(--ivory); }
.lp-root .pv-switch-row small { font: 400 13px/18px var(--font); color: var(--up); transition: color 0.3s; }
.lp-root .privacy[data-on='false'] .pv-switch-row small { color: var(--ivory-3); }
.lp-root .pv-switch { position: relative; flex: none; width: 52px; height: 30px; padding: 0; border: 0; border-radius: 15px; background: linear-gradient(#5a2bd0, #2a1170); box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.25), 0 6px 16px -8px rgb(138 47 255 / 0.9); transition: background 0.3s; }
.lp-root .pv-switch i { position: absolute; top: 3px; left: 25px; width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(#fff, #d9d2c8); box-shadow: 0 2px 6px rgb(0 0 0 / 0.5); transition: left 0.35s var(--spring); }
.lp-root .privacy[data-on='false'] .pv-switch { background: linear-gradient(#1c1c20, #0b0b0d); box-shadow: inset 0 0 0 1px var(--line-2); }
.lp-root .privacy[data-on='false'] .pv-switch i { left: 3px; }
.lp-root .pv-composer { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 8px 0 18px; border-radius: 28px; background: linear-gradient(#0d0d10, #050506); box-shadow: inset 0 0 0 1px var(--line); }
.lp-root .pv-draft { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 15px/20px var(--font); color: var(--ivory); }
.lp-root .pv-enable { display: none; height: 40px; padding: 0 16px; border: 0; border-radius: 20px; color: #fff; background: radial-gradient(ellipse 80% 80% at 50% 50%, #8a2fff, #4a21a7 50%, #210f59); box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.3); font: 500 14px/1 var(--font); white-space: nowrap; animation: rise 0.35s var(--ease) both; }
.lp-root .privacy[data-on='false'] .pv-enable { display: inline-flex; align-items: center; }
.lp-root .pv-send { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: radial-gradient(circle at 50% 30%, #8a2fff, #351c8a 70%); transition: opacity 0.3s, filter 0.3s; }
.lp-root .pv-send svg { width: 16px; height: 16px; }
.lp-root .privacy[data-on='false'] .pv-send { opacity: 0.3; filter: grayscale(1); }
.lp-root .pv-hint { font: 400 13px/19px var(--font); color: var(--ivory-3); }

/* ---- 11. iPhone: телефон слева, шаги справа --------------------------------------- */
/* панель с overflow: hidden становится контейнером прокрутки и ломает «прилипание» телефона; clip режет так же, но не мешает sticky */
.lp-root .app-head { display: grid; grid-template-columns: minmax(0, 1fr) 36.64%; row-gap: 20px; }
.lp-root .app-head .eyebrow { grid-column: 1; }
.lp-root .app-head h2 { grid-column: 1; }
.lp-root .app-head .lead { grid-column: 1; max-width: 620px; }
.lp-root .app-grid { display: grid; grid-template-columns: 420px minmax(0, 1fr); gap: 80px; margin-top: 40px; }
.lp-root .app-steps { padding-bottom: 22vh; }
.lp-root .app-step { display: flex; flex-direction: column; justify-content: center; min-height: 62vh; max-width: 520px; padding-left: 28px; border-left: 1px solid var(--line); opacity: 0.32; transition: opacity 0.5s var(--ease), border-color 0.5s; }
.lp-root .app-step.on { opacity: 1; border-left-color: var(--accent); }
.lp-root .app-step .eyebrow i { width: 18px; }
.lp-root .app-step h3 { margin-top: 18px; font: 500 44px/50px var(--font); letter-spacing: -0.03em; }
.lp-root .app-step p { margin-top: 16px; font: 400 19px/28px var(--font); color: var(--ivory-2); }
.lp-root .app-step .eyebrow b { color: var(--accent-ink); }
.lp-root .app-stick { position: sticky; top: max(72px, calc(50vh - 380px)); align-self: start; height: 800px; }
.lp-root .app-dots { display: none; }
.lp-root .app-fine { margin-top: 8px; }
.lp-root .iphone { position: relative; width: 372px; height: 790px; margin: 0 auto; border-radius: 62px; background: linear-gradient(145deg, #3d3d42, #1c1c20 40%, #2b2b30); box-shadow: inset 0 0 0 1.5px #6a6a70, inset 0 0 0 4px #222226, 0 40px 80px -30px rgb(0 0 0 / 0.9), 0 -30px 120px -40px rgb(138 47 255 / 0.35); }
.lp-root .iphone::before, .lp-root .iphone::after { content: ''; position: absolute; left: -3px; width: 4px; border-radius: 2px 0 0 2px; background: #3a3a3f; }
.lp-root .iphone::before { top: 170px; height: 34px; }
.lp-root .iphone::after { top: 220px; height: 64px; box-shadow: 0 80px 0 #3a3a3f; }
.lp-root .iphone-screen { position: absolute; inset: 10px; overflow: hidden; border-radius: 52px; background: #000; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.05); }
.lp-root .island { position: absolute; top: 12px; left: 50%; z-index: 5; width: 118px; height: 34px; margin-left: -59px; border-radius: 20px; background: #000; }
.lp-root .home-bar { position: absolute; bottom: 8px; left: 50%; z-index: 5; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: rgb(255 255 255 / 0.85); }
.lp-root .screens { position: absolute; inset: 0; }
.lp-root .sx { position: absolute; inset: 0; padding: 0 18px 30px; color: #fff; opacity: 0; transform: translateY(26px) scale(0.98); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); pointer-events: none; }
.lp-root .sx.past { transform: translateY(-26px) scale(0.98); }
.lp-root .sx.on { opacity: 1; transform: none; pointer-events: auto; }
.lp-root .sb { display: flex; justify-content: space-between; align-items: center; height: 54px; padding: 0 16px; font: 600 15px/1 var(--font); }
.lp-root .sb-i { display: flex; gap: 5px; }
.lp-root .sb-i i { width: 16px; height: 10px; border-radius: 2px; background: #fff; }
.lp-root .sb-i i:first-child { width: 14px; clip-path: polygon(0 100%, 25% 100%, 25% 70%, 50% 70%, 50% 40%, 75% 40%, 75% 0, 100% 0, 100% 100%); }
.lp-root .sb-i i:last-child { width: 24px; border-radius: 3px; background: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.5), inset -7px 0 0 1px #000, inset 0 0 0 3px #fff; }
.lp-root .sx-top { display: flex; align-items: center; justify-content: space-between; margin-top: 4px; }
.lp-root .sx-top > i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #141416; color: rgb(255 255 255 / 0.85); }
.lp-root .sx-top > i svg { width: 17px; height: 17px; }
.lp-root .sx-top span { display: grid; justify-items: center; }
.lp-root .sx-top b { font: 600 16px/20px var(--font); }
.lp-root .sx-top small { font: 400 12px/16px var(--font); color: rgb(255 255 255 / 0.5); }
.lp-root .sx-head { display: grid; gap: 2px; margin-top: 10px; }
.lp-root .sx-head b { font: 600 22px/28px var(--font); letter-spacing: -0.01em; }
.lp-root .sx-head small { font: 400 13px/18px var(--font); color: rgb(255 255 255 / 0.5); }
.lp-root .sx-head em { font-style: normal; }
.lp-root .sx-chat { display: grid; gap: 12px; margin-top: 20px; }
.lp-root .sx-chat .me { justify-self: end; max-width: 80%; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: #26242c; font: 400 15px/20px var(--font); }
.lp-root .sx-chat .ai { display: flex; gap: 10px; }
.lp-root .sx-chat .ai i { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--accent-ink); background: var(--accent-soft); }
.lp-root .sx-chat .ai i svg { width: 14px; height: 14px; }
.lp-root .sx-chat .ai p { font: 400 15px/22px var(--font); color: rgb(255 255 255 / 0.9); }
.lp-root .sx-chat .ai.cont { padding-left: 36px; }
.lp-root .sx-stream { -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 95%); mask-image: linear-gradient(#000 40%, transparent); }
.lp-root .sx-table { width: 100%; border-collapse: collapse; font: 400 13px/18px var(--font); }
.lp-root .sx-table td { height: 30px; border-bottom: 1px solid rgb(255 255 255 / 0.08); color: rgb(255 255 255 / 0.7); }
.lp-root .sx-table td:last-child { text-align: right; color: #fff; }
.lp-root .sx-input { position: absolute; right: 16px; bottom: 34px; left: 16px; display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 6px 0 18px; border-radius: 24px; background: #141416; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); font: 400 15px/1 var(--font); color: rgb(255 255 255 / 0.4); }
.lp-root .sx-input i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: radial-gradient(circle at 50% 30%, #8a2fff, #351c8a 70%); }
.lp-root .sx-input i svg { width: 15px; height: 15px; }
.lp-root .sx-under { position: absolute; inset: 0; padding: 0 18px 30px; transform: translateX(78%); opacity: 0.5; }
.lp-root .sx-drawer { position: absolute; top: 0; bottom: 0; left: 0; width: 80%; padding: 0 16px 34px; background: #0a0a0c; box-shadow: 1px 0 0 rgb(255 255 255 / 0.08), 20px 0 40px rgb(0 0 0 / 0.6); }
/* строка состояния одна на весь экран, как у iPhone: поверх ящика и сдвинутого чата */
.lp-root .sx-under .sb { visibility: hidden; }
.lp-root .sx-drawer .sb { position: relative; z-index: 2; width: calc((100% + 32px) / 0.8); margin: 0 -16px; }
.lp-root .sx-dsearch { display: flex; align-items: center; gap: 8px; height: 38px; margin-top: 4px; padding: 0 12px; border-radius: 10px; background: #18181b; font: 400 14px/1 var(--font); color: rgb(255 255 255 / 0.45); }
.lp-root .sx-dsearch svg { width: 15px; height: 15px; }
.lp-root .sx-drawer h5 { margin: 18px 4px 6px; font: 600 10px/12px var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: rgb(255 255 255 / 0.4); }
.lp-root .sx-drawer p { overflow: hidden; height: 36px; padding: 0 8px; border-radius: 9px; font: 400 14px/36px var(--font); color: rgb(255 255 255 / 0.8); text-overflow: ellipsis; white-space: nowrap; }
.lp-root .sx-drawer p.on { background: #1d1c22; color: #fff; }
.lp-root .sx-dfoot { position: absolute; right: 16px; bottom: 32px; left: 16px; display: flex; gap: 8px; }
.lp-root .sx-dfoot span { display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 22px; font: 500 14px/1 var(--font); }
.lp-root .sx-dfoot .new { flex: 1; background: #f2ede6; color: #000; }
.lp-root .sx-dfoot .new svg { width: 15px; height: 15px; }
.lp-root .sx-dfoot .cr { padding: 0 14px; color: #fff; background: radial-gradient(ellipse 80% 80% at 50% 50%, #8a2fff, #4a21a7 50%, #210f59); }
.lp-root .sx-tf { display: flex; gap: 6px; margin-top: 16px; }
.lp-root .sx-tf span { padding: 6px 10px; border-radius: 8px; font: 500 13px/1 var(--font); color: rgb(255 255 255 / 0.5); }
.lp-root .sx-tf span.on { color: #fff; background: #1d1c22; }
.lp-root .sx-plot { position: relative; margin-top: 12px; padding-right: 50px; }
.lp-root .sx-chart { display: block; width: 100%; height: 330px; overflow: visible; }
.lp-root .sx-chart .cu line, .lp-root .sx-chart .cd line { stroke-width: 1; vector-effect: non-scaling-stroke; }
.lp-root .sx-chart .cu line { stroke: rgb(99 201 154 / 0.9); } .lp-root .sx-chart .cu rect { fill: rgb(99 201 154 / 0.9); }
.lp-root .sx-chart .cd line { stroke: rgb(233 134 138 / 0.9); } .lp-root .sx-chart .cd rect { fill: rgb(233 134 138 / 0.9); }
.lp-root .sx-chart .lv { stroke-width: 1; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.lp-root .sx-chart .lv.r { stroke: var(--down); } .lp-root .sx-chart .lv.s { stroke: var(--up); }
.lp-root .sx-plot .pt { position: absolute; right: 0; padding: 1px 4px; border-radius: 3px; font: 600 10px/13px var(--font); background: #000; box-shadow: inset 0 0 0 1px currentColor; transform: translateY(-50%); }
.lp-root .sx-plot .pt.r { color: var(--down); } .lp-root .sx-plot .pt.s { color: var(--up); }
.lp-root .sx-card { display: flex; gap: 10px; margin-top: 18px; padding: 12px; border-radius: 14px; background: #141416; }
.lp-root .sx-card i { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--accent-ink); background: var(--accent-soft); }
.lp-root .sx-card i svg { width: 14px; height: 14px; }
.lp-root .sx-card p { font: 400 14px/20px var(--font); color: rgb(255 255 255 / 0.85); }
.lp-root .sx-apply { display: flex; align-items: center; justify-content: center; gap: 8px; height: 48px; margin-top: 12px; border-radius: 24px; background: #141416; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); color: #fff; font: 500 15px/1 var(--font); }
.lp-root .sx-apply svg { width: 16px; height: 16px; }
.lp-root .sx-sheet { position: absolute; right: 0; bottom: 0; left: 0; padding: 10px 18px 34px; border-radius: 28px 28px 0 0; background: #0f0f12; box-shadow: 0 -1px 0 rgb(255 255 255 / 0.08), 0 -30px 60px rgb(0 0 0 / 0.7); }
.lp-root .sx-grab { width: 38px; height: 5px; margin: 0 auto 14px; border-radius: 3px; background: rgb(255 255 255 / 0.25); }
.lp-root .sx-sheet > b { font: 600 17px/22px var(--font); }
.lp-root .sx-picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.lp-root .sx-picks span { display: grid; justify-items: center; gap: 8px; padding: 14px 4px; border-radius: 14px; background: #18181b; font: 500 12px/15px var(--font); text-align: center; color: rgb(255 255 255 / 0.85); }
.lp-root .sx-picks i { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #26242c; }
.lp-root .sx-picks svg { width: 18px; height: 18px; }
.lp-root .sx-att { display: grid; gap: 8px; margin-top: 14px; }
.lp-root .sx-att p { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); font: 500 14px/18px var(--font); }
.lp-root .sx-att i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #1d1c22; }
.lp-root .sx-att svg { width: 16px; height: 16px; }
.lp-root .sx-att span { display: grid; }
.lp-root .sx-att small { font: 400 12px/14px var(--font); color: rgb(255 255 255 / 0.5); }
.lp-root .sx-count { display: block; margin-top: 12px; font: 500 12px/1 var(--font); color: rgb(255 255 255 / 0.5); }

/* ---- 12. Вопросы ------------------------------------------------------------------- */
.lp-root .faq .pn-in { padding-top: 64px; padding-bottom: 64px; }
.lp-root .faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.lp-root .faq-grid h2 + .lead { max-width: 380px; }
.lp-root .faq-help { margin-top: 32px; }

/* ---- 13. Финал: поле вопроса вместо одинокой кнопки ------------------------------------- */
.lp-root .fin-ask { display: flex; align-items: center; gap: 12px; width: min(640px, calc(100vw - 32px)); height: 68px; padding: 0 8px 0 26px; border-radius: 34px; background: linear-gradient(#0d0d10, #030304); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07), inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 30px 60px -30px rgb(0 0 0 / 0.7); }
.lp-root .fin-q { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 400 17px/24px var(--font); text-align: left; color: rgb(225 214 198 / 0.5); }
.lp-root .fin-ask.is-typing .fin-q, .lp-root .fin-ask.is-set .fin-q { color: var(--ivory); }
.lp-root .fin-ask.is-typing .fin-q::after { content: ''; display: inline-block; width: 1.5px; height: 18px; margin-left: 2px; background: var(--accent-ink); vertical-align: -3px; animation: pulse 0.8s steps(1) infinite; }
.lp-root .fin-ask .cta { flex: none; height: 52px; }

/* ---- Светлая тема: страница светлая, панели чёрные (как в шаблоне) ------------------ */
html[data-theme='dark'] .lp-root .pv-card { background: rgb(0 0 0 / 0.8); }

/* ---- Ширины -------------------------------------------------------------------------- */
@media (max-width: 1439.98px) {
  .lp-root .intro strong { font-size: 64px; line-height: 78px; }
  .lp-root .finance .coin { width: 280px; height: 280px; top: -30px; right: -40px; }
  .lp-root .finance .pn-in h2 { max-width: 330px; }
}
@media (max-width: 1279.98px) {
  .lp-root .ch { grid-template-columns: minmax(0, 1fr) 260px; }
  .lp-root .ca { grid-template-columns: minmax(0, 1fr) 300px; }
  .lp-root .md-step { padding: 20px 16px 22px; }
  .lp-root .md-step b { font-size: 18px; line-height: 23px; }
  .lp-root .md-step strong { font-size: 28px; }
  .lp-root .bd-body { grid-template-columns: minmax(0, 1fr) 260px; }
  .lp-root .app-grid { gap: 48px; }
  .lp-root .intro span { font-size: 18px; line-height: 25px; }
}
@media (max-width: 1099.98px) {
  .lp-root .ch, .lp-root .ca { grid-template-columns: minmax(0, 1fr); }
  .lp-root .ch-rail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-top: 0; }
  .lp-root .ch-note { grid-column: 1 / -1; margin-top: 0; }
  .lp-root .md-steps { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .lp-root .md-foot { grid-template-columns: minmax(0, 1fr); }
  .lp-root .md-confirm { width: auto; }
  .lp-root .bd-body { grid-template-columns: minmax(0, 1fr); }
  .lp-root .bd-watch { display: grid; grid-template-columns: 120px minmax(0, 1fr); column-gap: 24px; }
  .lp-root .bd-watch .rail-h { grid-column: 1 / -1; }
  .lp-root .bd-clock { margin: 0; }
  .lp-root .pv-grid { gap: 32px; }
  .lp-root .app-grid { grid-template-columns: 380px minmax(0, 1fr); gap: 32px; }
  .lp-root .intro strong { font-size: 54px; line-height: 64px; }
  .lp-root .intro span { margin-top: 38px; }
}
@media (min-width: 860px) and (max-width: 1099.98px) {
  .lp-root .hist, .lp-root .recover, .lp-root .files, .lp-root .finance { min-height: 0; }
  .lp-root .fl-files { grid-template-columns: minmax(0, 1fr); } /* в узкой половине имена файлов не обрезаются */
  .lp-root .finance .coin { width: 190px; height: 190px; top: -14px; right: -22px; }
  .lp-root .finance .pn-in h2 { max-width: 270px; }
}

@media (max-width: 859.98px) {
  .lp-root .intro { position: static; min-height: 0; margin: 4px 0 18px; }
  .lp-root .intro strong { font-size: 52px; line-height: 60px; }
  .lp-root .intro span { margin: 22px 0 0 10px; font-size: 15px; line-height: 20px; }
  .lp-root .hero, .lp-root .hero .pn-in, .lp-root .hist, .lp-root .recover, .lp-root .files, .lp-root .finance { min-height: 0; }
  .lp-root .hero h2 { margin-top: 20px; }
  .lp-root .hero .eyebrow b, .lp-root .hero .eyebrow i { display: none; } /* марка уже в шапке и в слове «AI»; длинная vi/en подпись не ломается в две колонки */
  .lp-root .hero-free { grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
  .lp-root .hero-free li { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .lp-root .hero-free li + li { padding-left: 0; border-left: 0; }
  .lp-root .hero-free b { min-width: 64px; font-size: 26px; line-height: 30px; }
  .lp-root .hero-free li { gap: 10px; }
  .lp-root .hero-act { flex-wrap: wrap; }
  .lp-root .hero-act > * { flex: 1 1 100%; } /* две кнопки не помещались в строку: «Спросить AI» упиралась в край панели */
  .lp-root .object { height: 360px; }
  .lp-root .side.quote { padding: 22px 12px; }
  .lp-root .side.quote p { font-size: 18px; line-height: 26px; }
  .lp-root .side.gap { padding: 22px 12px; }
  .lp-root .row:has(> .side.gap) { display: flex; flex-direction: column; }
  .lp-root .side.gap { order: 2; } /* подпись восстановления под своей панелью, а не второй подряд после подписи истории */
  .lp-root .split-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lp-root .split-head .lead { margin: 0; font-size: 16px; line-height: 24px; }
  .lp-root .ch { margin-top: 28px; gap: 16px; }
  .lp-root .ch-win { min-height: 0; border-radius: 18px; }
  .lp-root .ch-bar { height: 48px; padding: 0 14px; }
  .lp-root .ch-title { display: none; } /* на телефоне метка «Образец» важнее заголовка «Новый чат» */
  .lp-root .ch-mode { margin-right: auto; }
  .lp-root .ch-log { min-height: 380px; padding: 16px 14px 6px; }
  .lp-root .ch-turn .me { max-width: 88%; }
  .lp-root .ai-body { padding-left: 0; font-size: 15px; line-height: 23px; }
  .lp-root .ai-about { margin-left: 0; }
  .lp-root .ai-about:not(.stopped) span:first-child { display: none; } /* на телефоне без подписи «Об ответе»: строка не переносится с точкой в начале */
  .lp-root .ai-about span:nth-child(2)::before { display: none; }
  .lp-root .ai-link { flex-basis: 100%; margin-left: 0; }
  .lp-root .ch-input { margin: 10px; height: 52px; padding-left: 16px; }
  .lp-root .ch-rail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 14px; padding: 0; }
  .lp-root .ch-rail > div:first-child, .lp-root .ch-note { grid-column: 1 / -1; }
  .lp-root .ch-stages { grid-template-columns: minmax(0, 1fr); }
  .lp-root .ch-hold strong { font-size: 32px; line-height: 36px; }
  .lp-root .ch-hold-s { font-size: 13px; line-height: 18px; }
  .lp-root .ch-stages li { height: 34px; font-size: 14px; }
  .lp-root .md-table { font-size: 12px; }
  .lp-root .md-table th:last-child, .lp-root .md-table td:last-child { display: none; }
  .lp-root .ca { margin-top: 28px; gap: 16px; }
  .lp-root .ca-chart { min-height: 0; padding: 14px; border-radius: 18px; }
  .lp-root .ca-bar { flex-wrap: wrap; row-gap: 10px; }
  .lp-root .ca-seg { order: 5; width: 100%; }
  .lp-root .ca-seg button { flex: 1; }
  .lp-root .ca-plot { min-height: 260px; padding-right: 52px; }
  .lp-root .ca-svg { min-height: 260px; }
  .lp-root .ca-axis { width: 50px; }
  .lp-root .ca-time { margin-right: 52px; }
  .lp-root .ca-labels { right: 52px; }
  .lp-root .ca-labels { display: none; } /* на телефоне подписи уровней закрывали свечи: уровни метками на шкале цены */
  .lp-root .ca-axis span { display: none; }
  .lp-root .ca-axis span.lv, .lp-root .ca-axis span.now { display: block; }
  .lp-root .ca.is-off .ca-axis span.lv { opacity: 0; }
  .lp-root .ca-card { padding: 16px; border-radius: 18px; }
  .lp-root .modes-head { grid-template-columns: minmax(0, 1fr); }
  .lp-root .modes-head > div { grid-column: 1; }
  .lp-root .md { margin-top: 28px; }
  .lp-root .md-steps { display: grid; grid-template-columns: minmax(0, 1fr); overflow: visible; border-bottom: 0; }
  .lp-root .md-step { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; grid-template-areas: 'col b strong' 'col small strong' 'col tag time'; align-items: center; column-gap: 14px; row-gap: 2px; min-height: 0; padding: 16px 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .lp-root .md-step .md-col { display: none; }
  /* на телефоне глубина: шкала из пяти столбиков, как в выборе режима приложения */
  .lp-root .md-meter { grid-area: col; display: flex; align-items: flex-end; gap: 3px; height: 22px; align-self: start; margin-top: 2px; }
  .lp-root .md-meter i { width: 4px; border-radius: 1px; background: var(--line-2); }
  .lp-root .md-meter i:nth-child(1) { height: 6px; } .lp-root .md-meter i:nth-child(2) { height: 10px; } .lp-root .md-meter i:nth-child(3) { height: 14px; } .lp-root .md-meter i:nth-child(4) { height: 18px; } .lp-root .md-meter i:nth-child(5) { height: 22px; }
  .lp-root .md-meter i.on { background: var(--ivory-2); }
  .lp-root .md-step[aria-checked='true'] .md-meter i.on { background: linear-gradient(#b28aff, #6a35e0); }
  .lp-root .md-step b { grid-area: b; font-size: 17px; line-height: 22px; }
  .lp-root .md-step small { grid-area: small; font-size: 13px; line-height: 18px; }
  .lp-root .md-step strong { grid-area: strong; margin: 0; padding: 0; font-size: 24px; line-height: 28px; text-align: right; }
  .lp-root .md-step strong em { display: block; margin: 0; font-size: 12px; line-height: 15px; }
  .lp-root .md-groups { display: none; }
  .lp-root .md-steps .md-tag { display: block; grid-area: tag; justify-self: start; margin-top: 6px; }
  .lp-root .md-step[data-group] { padding-top: 54px; }
  .lp-root .md-step[data-group]::before { content: attr(data-group); position: absolute; top: 22px; left: 4px; font: 600 11px/14px var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ivory-2); }
  .lp-root .md-time { grid-area: time; justify-self: end; margin-top: 6px; min-height: 0; text-align: right; }
  .lp-root .md-composer { flex-wrap: wrap; border-radius: 22px; padding: 10px; }
  .lp-root .md-q { order: 3; flex-basis: 100%; padding: 4px 6px; white-space: normal; }
  .lp-root .md-pill { height: 38px; }
  .lp-root .md-price { margin-left: auto; }
  .lp-root .hs, .lp-root .rc { margin-top: 24px; }
  .lp-root .hs { padding: 10px; }
  .lp-root .hs-list { min-height: 0; }
  .lp-root .hs-acts { display: none; }
  .lp-root .rc { padding: 16px; }
  .lp-root .rc-ans { min-height: 0; }
  .lp-root .rc-text { font-size: 15px; line-height: 24px; }
  .lp-root .rc-bar .ghost { width: 100%; }
  .lp-root .fl { margin-top: 24px; }
  .lp-root .fl-tray { padding: 12px; }
  .lp-root .fl-files { grid-template-columns: minmax(0, 1fr); }
  /* предел размера в строку с названием, список форматов на всю ширину: «RTF» не уходит один на вторую строку */
  .lp-root .fl-kinds li { position: relative; align-items: flex-start; padding: 12px 0; }
  .lp-root .fl-kinds li i { margin-top: 2px; }
  .lp-root .fl-kinds li div { padding-right: 0; }
  .lp-root .fl-kinds b { padding-right: 96px; }
  .lp-root .fl-kinds strong { position: absolute; top: 12px; right: 0; }
  .lp-root .fl-q { height: auto; min-height: 52px; padding: 6px 6px 6px 16px; }
  .lp-root .fl-q span { white-space: normal; }
  .lp-root .bd { margin-top: 28px; }
  .lp-root .bd-ask { flex-wrap: wrap; border-radius: 22px; padding: 12px; }
  .lp-root .bd-q { flex-basis: calc(100% - 50px); }
  .lp-root .bd-ask .ghost { flex: 1; width: auto; }
  .lp-root .bd-ask .tag { margin: 0 4px; }
  .lp-root .bd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; min-height: 0; } /* карточки доски парами: блок на 350 точек короче */
  .lp-root .bd-card { min-height: 0; padding: 12px; border-radius: 14px; }
  .lp-root .bd-card header b { font-size: 14px; line-height: 18px; }
  .lp-root .bd-card header small { font-size: 12px; line-height: 16px; }
  .lp-root .bd-card svg, .lp-root .bd-bars { height: 64px; flex: none; }
  .lp-root .bd-leg { flex-direction: column; gap: 2px; }
  .lp-root .bd-sum { font-size: 14px; line-height: 20px; }
  .lp-root .bd-steps { position: static; grid-column: 1 / -1; padding: 30px 0; background: none; }
  .lp-root .bd-card.sk { display: none; }
  .lp-root .bd-watch { grid-template-columns: 100px minmax(0, 1fr); }
  .lp-root .bd-clock, .lp-root .bd-clock svg { width: 100px; height: 100px; }
  .lp-root .finance .coin { width: 200px; height: 200px; top: -24px; right: -14px; }
  .lp-root .finance .pn-in h2 { max-width: 200px; }
  .lp-root .hold li { grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; }
  .lp-root .hold-n { padding-left: 4px; }
  .lp-root .cr-pro { flex-direction: column; align-items: stretch; }
  .lp-root .cr-pro-px { grid-template-columns: auto auto; justify-content: start; align-items: baseline; column-gap: 8px; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--line-2); }
  .lp-root .cr-pro-px .eyebrow { grid-column: 1 / -1; }
  .lp-root .pv-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .lp-root .pv-stage { min-height: 500px; }
  .lp-root .pv-stage canvas { width: 280px; height: 280px; margin-left: -140px; }
  .lp-root .pv-card { padding: 14px; }
  .lp-root .pv-composer { flex-wrap: wrap; height: auto; min-height: 56px; padding: 8px 8px 8px 14px; border-radius: 22px; }
  .lp-root .pv-draft { flex-basis: calc(100% - 56px); padding: 10px 0; white-space: normal; }
  .lp-root .privacy[data-on='false'] .pv-enable { flex: 1; justify-content: center; }
  .lp-root .app-head { grid-template-columns: minmax(0, 1fr); }
  .lp-root .app-grid { display: block; margin-top: 24px; }
  .lp-root .app-steps { display: none; }
  .lp-root .app-stick { position: relative; top: 0; height: auto; }
  .lp-root .app-dots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 18px; } /* 2 × 2 вместо ленты, которая уходила за край */
  .lp-root .app-dots button { display: flex; min-width: 0; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; height: 36px; padding: 0 12px; border: 0; border-radius: 18px; background: none; box-shadow: inset 0 0 0 1px var(--line-2); font: 500 13px/1 var(--font); color: var(--ivory-3); }
  .lp-root .app-dots button span { color: var(--ivory-4); }
  .lp-root .app-dots button[aria-selected='true'] { color: #000; background: var(--ivory); box-shadow: none; }
  .lp-root .app-dots button[aria-selected='true'] span { color: rgb(0 0 0 / 0.5); }
  .lp-root .faq .pn-in { padding-top: 36px; padding-bottom: 36px; }
  .lp-root .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .lp-root .faq-help { margin-top: 20px; }
}
@media (max-width: 599.98px) {
  /* финал: на телефоне поле и кнопка столбиком, вопрос переносится; на планшете остаются в одну строку */
  .lp-root .fin-ask { flex-direction: column; align-items: stretch; height: auto; padding: 18px 10px 10px; border-radius: 28px; }
  .lp-root .fin-q { min-height: 48px; padding: 0 8px; font-size: 16px; white-space: normal; }
  .lp-root .fin-ask .cta { height: 50px; }
}
@media (max-width: 419.98px) {
  .lp-root .iphone { left: 50%; margin: 0 0 -142px -186px; transform: scale(0.82); transform-origin: top center; } /* телефон шире колонки: центр через left 50 %, иначе он прижат влево и срезан справа */
  .lp-root .ch-stages { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .lp-root .ai-st.on, .lp-root .fin-ask.is-typing .fin-q::after, .lp-root .ch-hold-s i, .lp-root .bd-card.sk > span, .lp-root .rc-bar.is-run .rc-bar-t::before, .lp-root .ch-stages li.now i::after, .lp-root .hold .hold-bar i, .lp-root .bd-clock .arc.run, .lp-root .ai-src span { animation: none; }
  .lp-root .sx, .lp-root .ca-svg .lvl, .lp-root .md-col i { transition: none !important; }
  .lp-root .md-table td, .lp-root .ca-draft, .lp-root .fl-file, .lp-root .fl.go .fl-prog, .lp-root .fl.go .fl-ok, .lp-root .bd-card, .lp-root .bd-bars i, .lp-root .bd-log li, .lp-root .ch-turn .me, .lp-root .ai-msg, .lp-root .ai-about, .lp-root .rc-bar { animation: none !important; }
}

/* ai/ai-look.css */
/* ai: примеры интерфейса в виде «Студия» (светлые панели в светлой теме).
 * Общие токены, панели, шапка и подвал: ../shared/look.css.
 * Шаблон: :root[data-look] .x для обеих тем, :root[data-look][data-theme='light'] .x только для светлой.
 * Окна примеров: в светлой теме белые с тонкой линией и мягкой тенью, в тёмной чисто чёрные.
 * Экраны iPhone (.sx-*) и миниатюра графика (.fl-thumb) остаются тёмными: это настоящий экран и снимок. */

/* ---- Окна примеров: один материал ------------------------------------------------------ */
.lp-root[data-look] :is(.ch-win, .ca-chart, .ca-card, .hs, .rc, .fl-tray, .bd-card, .bd-watch) { background: #000; }
html[data-theme='light'] .lp-root[data-look] :is(.ch-win, .ca-chart, .ca-card, .hs, .rc, .fl-tray) {
  border-color: var(--line-2); background: #fff; box-shadow: 0 1px 2px rgb(40 30 70 / 0.05), 0 18px 40px -28px var(--shade);
}
html[data-theme='light'] .lp-root[data-look] :is(.bd-card, .bd-watch) { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgb(40 30 70 / 0.05); }

/* ---- Поля ввода: в светлой теме белые, в тёмной прежние чёрные ------------------------- */
html[data-theme='light'] .lp-root[data-look] :is(.ch-input, .md-composer, .hs-search, .rc-draft, .fl-q, .bd-ask, .pv-composer) {
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), 0 1px 2px rgb(40 30 70 / 0.06);
}
html[data-theme='light'] .lp-root[data-look] .ch-input.is-typing { box-shadow: inset 0 0 0 1px rgb(160 106 255 / 0.6); }
html[data-theme='light'] .lp-root[data-look] .ca-draft { background: #fff; box-shadow: inset 0 0 0 1px rgb(160 106 255 / 0.5), 0 1px 2px rgb(40 30 70 / 0.06); }
html[data-theme='light'] .lp-root[data-look] .fin-ask { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -34px var(--shade); }
.lp-root[data-look] .fin-q { color: var(--ivory-3); }
.lp-root[data-look] .fin-ask:is(.is-typing, .is-set) .fin-q { color: var(--ivory); }

/* ---- Чат ----------------------------------------------------------------------------- */
.lp-root[data-look] .ch-turn .me, .lp-root[data-look] .rc-msg.me { background: rgb(var(--ink) / 0.06); }
.lp-root[data-look] .ai-body, .lp-root[data-look] .rc-text { color: rgb(var(--ink) / 0.9); }
.lp-root[data-look] .ai-src span b { background: rgb(var(--ink) / 0.07); }
.lp-root[data-look] .ch-send.is-busy { color: var(--on-ink); background: var(--ivory); }
.lp-root[data-look] :is(.ch-stages li.done i, .ch-hold-s.done svg, .bd-steps li svg, .fl-ok) { color: var(--on-ink); }
html[data-theme='light'] .lp-root[data-look] .ch-mode i { box-shadow: none; }

/* ---- Разбор графика ------------------------------------------------------------------ */
.lp-root[data-look] .ca-seg { background: rgb(var(--ink) / 0.05); }
.lp-root[data-look] .ca-seg button[aria-pressed='true'] { color: var(--on-ink); }
.lp-root[data-look] .ca-axis span.now { color: var(--on-ink); }
.lp-root[data-look] :is(.ca-axis span.lv, .ca-labels span) { background: var(--solid); }
.lp-root[data-look] .ca-svg .grid { stroke: rgb(var(--ink) / 0.07); }
.lp-root[data-look] .ca-svg .newzone { fill: rgb(var(--ink) / 0.035); }
html[data-theme='light'] .lp-root[data-look] .ca-svg .cu line { stroke: rgb(19 137 92 / 0.9); }
html[data-theme='light'] .lp-root[data-look] .ca-svg .cu rect { fill: rgb(19 137 92 / 0.85); }
html[data-theme='light'] .lp-root[data-look] .ca-svg .cd line { stroke: rgb(207 63 76 / 0.9); }
html[data-theme='light'] .lp-root[data-look] .ca-svg .cd rect { fill: rgb(207 63 76 / 0.85); }
html[data-theme='light'] .lp-root[data-look] .ca-svg .vu { fill: rgb(19 137 92 / 0.2); }
html[data-theme='light'] .lp-root[data-look] .ca-svg .vd { fill: rgb(207 63 76 / 0.18); }
html[data-theme='light'] .lp-root[data-look] .ca-svg .zone.sup { fill: rgb(19 137 92 / 0.06); }
html[data-theme='light'] .lp-root[data-look] .ca-svg .zone.res { fill: rgb(207 63 76 / 0.06); }

/* ---- Режимы: выбранная ступень без фиолетового пятна, столбики светлые ----------------- */
html[data-theme='light'] .lp-root[data-look] .md-step:hover { background: rgb(var(--ink) / 0.02); }
html[data-theme='light'] .lp-root[data-look] .md-step[aria-checked='true'] { background: none; box-shadow: inset 0 2px 0 var(--accent-ink); }
html[data-theme='light'] .lp-root[data-look] .md-col i { background: linear-gradient(#fff, #f6f5f9); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 #fff; }
html[data-theme='light'] .lp-root[data-look] .md-step[aria-checked='true'] .md-col i { background: linear-gradient(#8f5cf0, #5f2fd3); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 12px 22px -16px rgb(40 30 70 / 0.5); }
.lp-root[data-look] .md-pill { background: rgb(var(--ink) / 0.06); }
.lp-root[data-look] .md-confirm { background: var(--solid); }
html[data-theme='light'] .lp-root[data-look] .md-confirm { box-shadow: inset 0 0 0 1px rgb(160 106 255 / 0.45), 0 18px 40px -20px var(--shade); }

/* ---- История и восстановление -------------------------------------------------------- */
.lp-root[data-look] :is(.hs-row:hover, .hs-row.on, .hs-row:focus-within, .hs-acts button:hover) { background: rgb(var(--ink) / 0.05); }
html[data-theme='light'] .lp-root[data-look] .hs-row.hit { background: rgb(160 106 255 / 0.08); }
html[data-theme='light'] .lp-root[data-look] .rc-bar { background: rgb(207 63 76 / 0.04); box-shadow: inset 0 0 0 1px rgb(207 63 76 / 0.3); }
html[data-theme='light'] .lp-root[data-look] .rc-bar.is-run { background: rgb(160 106 255 / 0.05); box-shadow: inset 0 0 0 1px rgb(160 106 255 / 0.35); }
html[data-theme='light'] .lp-root[data-look] .rc-bar.is-done { background: rgb(19 137 92 / 0.04); box-shadow: inset 0 0 0 1px rgb(19 137 92 / 0.32); }

/* ---- Вложения ------------------------------------------------------------------------ */
.lp-root[data-look] .fl-ico { background: rgb(var(--ink) / 0.05); }

/* ---- Доски --------------------------------------------------------------------------- */
.lp-root[data-look] .bd-card.sk header i { background: rgb(var(--ink) / 0.08); }
.lp-root[data-look] .bd-card.sk > span { background: linear-gradient(100deg, rgb(var(--ink) / 0.03) 30%, rgb(var(--ink) / 0.08) 50%, rgb(var(--ink) / 0.03) 70%) 0 0 / 300% 100%; }
.lp-root[data-look] .bd-bars i { background: linear-gradient(rgb(var(--ink) / 0.45), rgb(var(--ink) / 0.1)); }
html[data-theme='light'] .lp-root[data-look] .bd-bars i { background: linear-gradient(rgb(var(--ink) / 0.24), rgb(var(--ink) / 0.05)); }
.lp-root[data-look] .bd-bars i:last-child { background: linear-gradient(var(--accent-ink), rgb(160 106 255 / 0.2)); }
html[data-theme='light'] .lp-root[data-look] .bd-steps { background: radial-gradient(40% 50% at 50% 50%, rgb(255 255 255 / 0.94), rgb(255 255 255 / 0.6) 70%, transparent); }
html[data-theme='light'] .lp-root[data-look] .bd-log li.hit i { box-shadow: none; }
@media (max-width: 859.98px) {
  html[data-theme='light'] .lp-root[data-look] .bd-steps { background: none; }
}

/* ---- Кредиты: текущий шаг тонкой меткой, Pro белой карточкой --------------------------- */
html[data-theme='light'] .lp-root[data-look] .hold li.on { background: rgb(var(--ink) / 0.025); box-shadow: inset 2px 0 0 var(--accent-ink); }
html[data-theme='light'] .lp-root[data-look] .cr-pro { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px -28px var(--shade); }

/* ---- Приватность --------------------------------------------------------------------- */
html[data-theme='light'] .lp-root[data-look] .pv-card { background: rgb(255 255 255 / 0.86); box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px -30px var(--shade); }
html[data-theme='light'] .lp-root[data-look] .pv-switch { box-shadow: inset 0 1px 1px rgb(255 255 255 / 0.25); }
html[data-theme='light'] .lp-root[data-look] .privacy[data-on='false'] .pv-switch { background: linear-gradient(#e7e6ec, #f3f2f6); box-shadow: inset 0 0 0 1px var(--line-2); }
html[data-theme='light'] .lp-root[data-look] .pv-switch i { box-shadow: 0 1px 3px rgb(40 30 70 / 0.3); }

/* ---- iPhone: корпус тёмный, без фиолетового ореола в светлой теме ---------------------- */
html[data-theme='light'] .lp-root[data-look] .iphone { box-shadow: inset 0 0 0 1.5px #6a6a70, inset 0 0 0 4px #222226, 0 40px 80px -36px rgb(30 24 40 / 0.55); }
.lp-root[data-look] .app-dots button[aria-selected='true'] { color: var(--on-ink); }
html[data-theme='light'] .lp-root[data-look] .app-dots button[aria-selected='true'] span { color: rgb(255 255 255 / 0.6); }

/* ---- Телефон: ступени режимов строками, выбранная отмечена линией слева ------------------ */
@media (max-width: 859.98px) {
  html[data-theme='light'] .lp-root[data-look] .md-step[aria-checked='true'] { box-shadow: inset 2px 0 0 var(--accent-ink); }
}

/* Выключенная приватность: щит серый, но не тёмное пятно на светлой панели */
html[data-theme='light'] .lp-root[data-look] .privacy[data-on='false'] .pv-stage canvas { filter: grayscale(1) opacity(0.55); }
