/* СГЕНЕРИРОВАНО scripts/sync-app-page.py из стилей сцен личного кабинета — руками не править. */
@font-face { font-family: 'GilroyUI'; src: url('../fonts/GilroyUI-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'GilroyUI'; src: url('../fonts/GilroyUI-Medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'GilroyUI'; src: url('../fonts/GilroyUI-Semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'GilroyUI'; src: url('../fonts/GilroyUI-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
/*
  Стили сцен приложения — СГЕНЕРИРОВАНЫ из сплэша пайплайна десктоп-аппы
  (retouch_app · src/components/pipeline/guide/guide.css). Внешний вид сцен правится там и переносится сюда.
  Всё под корнем .pg, анимации — pg-*. Токены --app-* в ЛК не заданы глобально: светлая тема аппы объявлена
  здесь же на .pg (сцена — «скриншот» приложения, поэтому цвета её, а не ЛК). Шрифт — Gilroy вместо Inter.
  Фирменный градиент подложки #0083FF → #0145F2 — санкционированное исключение (решение владельца 2026-09-26).
*/
.pg {
  --pg-font: 'GilroyUI', 'Gilroy', system-ui, -apple-system, sans-serif;
  --app-bg: #f0f0f2;
  --app-bg-subtle: #f5f5f7;
  --app-surface: #ffffff;
  --app-surface-hover: #f9fafb;
  --app-border: #e5e7eb;
  --app-text: #111827;
  --app-text-secondary: #6b7280;
  --app-text-muted: #9ca3af;
  --app-primary: #0064ff;
  --app-primary-glaze: rgba(0, 100, 255, 0.08);
  --app-success: #22c55e;
}
.pg .mw { font-family: var(--pg-font); font-size: 13px; line-height: 1.5; color: var(--app-text); text-align: left; }
.pg { --grad: linear-gradient(135deg, #0083FF 0%, #0145F2 100%); }
.pg .opt, .pg .path > div[role="button"], .pg .kkn, .pg .tab, .pg .hbtn { cursor: pointer; }
.pg .path > div[role="button"] { display: flex; gap: 12px; align-items: center; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; }
.pg .path > div[role="button"]:hover { background: var(--app-surface-hover); }
.pg .kk__nav .kkn { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 10px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--app-text-secondary); }
.pg .kk__nav .kkn:hover { background: var(--app-surface-hover); }
.pg .tab, .pg .hbtn { border: 0; background: transparent; font-family: inherit; }
.pg .hbtn { border: 1px solid var(--app-border); }
.pg .sp__x { border: 0; background: transparent; }
.pg * { box-sizing: border-box; }
.pg svg.i { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.pg svg.i12 { width: 12px; height: 12px; }
.pg svg.i16 { width: 16px; height: 16px; }
.pg svg.i11 { width: 11px; height: 11px; stroke-width: 2.6; }
.pg kbd { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 6px; border: 1px solid var(--app-border); border-bottom-width: 2px; background: var(--app-surface); color: var(--app-text); font: 600 11.5px var(--pg-font); }
.pg .sp { width: 1120px; height: 720px; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--app-surface); color: var(--app-text); border: 1px solid var(--app-border); box-shadow: 0 24px 64px rgba(0,0,0,.28); }
.pg .sp__head { height: 60px; flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 18px; border-bottom: 1px solid var(--app-border); }
.pg .sp__sp { flex: 1; }
.pg .sp__x { width: 30px; height: 30px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--app-text-muted); cursor: pointer; }
.pg .sp__x:hover { background: var(--app-surface-hover); color: var(--app-text); }
.pg .tabs { display: flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--app-bg-subtle); border: 1px solid var(--app-border); }
.pg .tab { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px; border-radius: 8px; color: var(--app-text-secondary); font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; user-select: none; transition: background 140ms ease-out, color 140ms ease-out, box-shadow 140ms ease-out; }
.pg .tab:hover { color: var(--app-text); background: color-mix(in srgb, var(--app-text) 5%, transparent); }
.pg .tsep { width: 1px; height: 18px; align-self: center; background: var(--app-border); margin: 0 5px; flex-shrink: 0; }
.pg .soon { height: 16px; padding: 0 6px; display: inline-flex; align-items: center; border-radius: 5px; background: var(--app-primary-glaze); color: var(--app-primary); font-size: 10.5px; font-weight: 700; }
.pg .tab.on { background: var(--app-surface); color: var(--app-primary); box-shadow: 0 1px 3px rgba(0,0,0,.08), 0 0 0 1px var(--app-border); }
.pg .hbtn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--app-border); color: var(--app-text-secondary); font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.pg .hbtn:hover { background: var(--app-surface-hover); color: var(--app-text); }
.pg .hbtn.on { background: var(--app-primary-glaze); border-color: color-mix(in srgb, var(--app-primary) 35%, transparent); color: var(--app-primary); }
.pg .demo-btn { display: none !important; }
.pg.is-proj .demo-btn { display: inline-flex !important; }
.pg .pane { display: flex; flex: 1; min-height: 0; }
.pg .l { width: 450px; flex-shrink: 0; padding: 28px 32px 24px; display: flex; flex-direction: column; overflow: hidden; }
.pg .eyebrow { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px; border-radius: 6px; background: var(--app-primary-glaze); color: var(--app-primary); font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.pg .l h3 { margin: 14px 0 8px; font-size: 25px; line-height: 1.2; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; }
.pg .l .sub { margin: 0 0 18px; font-size: 13.5px; line-height: 1.55; color: var(--app-text-secondary); text-wrap: pretty; }
.pg .feats { display: flex; flex-direction: column; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pg .feats li { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; margin: 0 -10px; border-radius: 10px; overflow: hidden; }
.pg .fi { width: 30px; height: 30px; flex-shrink: 0; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: var(--app-primary-glaze); color: var(--app-primary); }
.pg .feats b { display: block; font-size: 13px; font-weight: 600; line-height: 1.35; margin: 1px 0 2px; }
.pg .feats div > span { display: block; font-size: 12.5px; line-height: 1.45; color: var(--app-text-secondary); }
.pg .feats li::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 2px; border-radius: 1px; background: var(--app-primary); transform-origin: left; transform: scaleX(0); opacity: 0; }
.pg .kline { margin-top: auto; padding-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 12px; color: var(--app-text-secondary); border-top: 1px solid var(--app-border); }
.pg .kline .k { display: inline-flex; align-items: center; gap: 5px; margin-right: 6px; }
.pg .more { margin-left: auto; color: var(--app-primary); font-weight: 600; cursor: pointer; white-space: nowrap; }
.pg .path { display: flex; flex-direction: column; gap: 2px; margin: 0 0 16px; }
.pg .path label { display: flex; gap: 12px; align-items: center; padding: 7px 10px; margin: 0 -10px; border-radius: 10px; cursor: pointer; }
.pg .path label:hover { background: var(--app-surface-hover); }
.pg .path b { font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.pg .path span.d { display: block; font-size: 12.5px; color: var(--app-text-secondary); line-height: 1.4; }
.pg .path .go { margin-left: auto; color: var(--app-text-muted); }
.pg .choose { margin-top: auto; }
.pg .choose .lbl { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--app-text-muted); margin-bottom: 8px; }
/* Левая плитка (демо) берёт ширину по своему тексту, правая — остаток: подпись не переносится и не режется. */
.pg .opts { display: grid; grid-template-columns: max-content 1fr; gap: 10px; }
.pg .opt { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--app-border); cursor: pointer; transition: border-color 140ms ease-out; }
.pg .opt:hover { border-color: color-mix(in srgb, var(--app-primary) 45%, var(--app-border)); }
.pg .opt .oi { width: 32px; height: 32px; flex-shrink: 0; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--app-bg-subtle); color: var(--app-text-secondary); }
.pg .opt b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pg .opt span.d { display: block; font-size: 12px; color: var(--app-text-secondary); white-space: nowrap; margin-top: 1px; }
/* Демо-проект — главный призыв сплэша (владелец 2026-10-02): сплошной фирменный синий, белый текст,
   поверх — узкий деликатный блик раз в несколько секунд. Блик живёт в ::after со скруглением кнопки,
   без overflow:hidden на самой кнопке — иначе резался текст. Исключение из запрета градиентов. */
.pg .opt--main { border-color: var(--app-primary); background: var(--app-primary); color: #fff; position: relative; isolation: isolate; }
.pg .opt--main:hover { border-color: var(--app-primary); filter: brightness(1.05); }
.pg .opt--main .oi { background: rgba(255, 255, 255, .2); color: #fff; }
.pg .opt--main b { color: #fff; }
.pg .opt--main span.d { color: rgba(255, 255, 255, .8); }
.pg .opt--main::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .22) 50%, transparent 58%);
  background-size: 300% 100%; background-repeat: no-repeat; background-position: 130% 0;
  animation: pg-sheen 4.2s ease-in-out infinite;
}
@keyframes pg-sheen { 0%, 64% { background-position: 130% 0; } 100% { background-position: -30% 0; } }
@media (prefers-reduced-motion: reduce) { .pg .opt--main::after { display: none; } }
.pg .skip { margin-top: 10px; text-align: center; font-size: 12px; color: var(--app-text-muted); }
.pg .ctx-p { display: none !important; }
.pg.is-proj .ctx-f { display: none !important; }
.pg.is-proj .ctx-p { display: flex !important; }
.pg.is-proj span.eyebrow.ctx-p { display: inline-flex !important; }
.pg .demo-row { margin-top: auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--app-bg-subtle); border: 1px solid var(--app-border); cursor: pointer; }
.pg .demo-row .oi { width: 32px; height: 32px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--app-primary-glaze); color: var(--app-primary); flex-shrink: 0; }
.pg .demo-row b { display: block; font-size: 13px; }
.pg .demo-row span { font-size: 12px; color: var(--app-text-secondary); }
.pg .demo-row .go2 { margin-left: auto; color: var(--app-primary); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.pg .r { position: relative; flex: 1; background: var(--grad); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; isolation: isolate; }
.pg .cap { position: absolute; left: 0; right: 0; bottom: 18px; height: 50px; text-align: center; color: rgba(255,255,255,.8); font-size: 12.5px; }
.pg .cap > div { position: absolute; inset: 0; }
.pg .cap b { display: block; color: #fff; font: 700 17px 'Unbounded', sans-serif; letter-spacing: .01em; margin-bottom: 5px; }
.pg .dots { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.pg .dots i { width: 24px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.28); overflow: hidden; position: relative; }
.pg .dots i::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.pg .mw { position: relative; width: 572px; height: 456px; margin-top: -70px; border-radius: 12px; overflow: hidden; background: var(--app-bg); border: 1px solid rgba(255,255,255,.35); box-shadow: 0 10px 28px rgba(0,40,140,.16), 0 1px 2px rgba(0,40,140,.10); }
.pg .mw__bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 10px; background: var(--app-surface); border-bottom: 1px solid var(--app-border); }
.pg .mw__body { position: absolute; inset: 40px 0 0; }
.pg .ms { --skew: 9px; display: flex; height: 24px; border-radius: 7px; overflow: hidden; }
.pg .ms i { display: inline-flex; align-items: center; gap: 4px; padding: 0 calc(10px + var(--skew)); margin-left: calc(3px - var(--skew)); clip-path: polygon(var(--skew) 0, 100% 0, calc(100% - var(--skew)) 100%, 0 100%); background: color-mix(in srgb, var(--app-text) 4%, var(--app-surface)); color: var(--app-text-muted); font: normal 600 11px var(--pg-font); white-space: nowrap; }
.pg .ms i:first-child { margin-left: 0; padding-left: 10px; clip-path: polygon(0 0, 100% 0, calc(100% - var(--skew)) 100%, 0 100%); }
.pg .ms i:last-child { padding-right: 10px; clip-path: polygon(var(--skew) 0, 100% 0, 100% 100%, 0 100%); }
.pg .ms i .ck { width: 0; overflow: hidden; display: inline-flex; color: var(--app-primary); }
.pg .ms i.on { color: var(--app-primary); }
.pg .ms i.dn { background: var(--app-primary-glaze); color: var(--app-text-secondary); }
.pg .ms i.dn .ck { width: 11px; }
.pg .q { position: absolute; inset: 0; }
.pg .th { position: relative; display: block; border-radius: 6px; background: #999 center / cover; overflow: hidden; }
.pg .grid { position: absolute; inset: 12px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 1fr; gap: 8px; }
.pg .stars { position: absolute; top: 5px; left: 5px; display: flex; gap: 1px; padding: 3px 4px; border-radius: 5px; background: rgba(0,0,0,.45); }
.pg .stars svg { width: 9px; height: 9px; fill: #f5b301; stroke: none; }
.pg .lab { position: absolute; top: 6px; right: 6px; width: 11px; height: 11px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.pg .ai { position: absolute; left: 5px; bottom: 5px; display: flex; gap: 3px; }
.pg .ai em { height: 15px; min-width: 15px; padding: 0 4px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; font: normal 700 8.5px var(--pg-font); color: #fff; background: rgba(22,163,74,.92); }
.pg .ai em svg { width: 9px; height: 9px; stroke: #fff; stroke-width: 2.6; fill: none; }
.pg .ai em.w { background: rgba(245,158,11,.95); }
.pg .ai em.r { background: rgba(220,38,38,.92); }
.pg .chip { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 7px; border: 1px solid var(--app-border); background: var(--app-surface); color: var(--app-text-secondary); font-size: 11px; font-weight: 600; white-space: nowrap; }
.pg .chip.on, .pg .btnx.on { background: var(--app-primary-glaze); border-color: color-mix(in srgb, var(--app-primary) 40%, transparent); color: var(--app-primary); }
.pg .btnx { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--app-border); background: var(--app-surface); color: var(--app-text); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pg .btnx.pri { background: var(--app-primary); border-color: var(--app-primary); color: #fff; }
.pg .keypop { position: absolute; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 10px; background: rgba(17,24,39,.92); color: #f4f4f5; font-size: 12px; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
.pg .keypop kbd { background: #fff; color: #111827; border-color: #d1d5db; }
.pg .toast { position: absolute; left: 50%; bottom: 14px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 10px; background: #2a2a2e; color: #f4f4f5; font-size: 12px; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.3); white-space: nowrap; transform: translateX(-50%); }
.pg .toast svg { color: #4ade80; }
.pg .pnl { position: absolute; border-radius: 9px; background: var(--app-surface); border: 1px solid var(--app-border); padding: 12px; }
.pg .pnl h6 { margin: 0 0 8px; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--app-text-muted); }
.pg .ph { position: absolute; overflow: hidden; border-radius: 8px; background: #888; }
.pg .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pg .pp { position: absolute; top: 12px; right: 12px; bottom: 12px; width: 322px; border-radius: 9px; background: #1c1d22; border: 1px solid #2b2d34; padding: 10px 12px; color: #d4d6dc; font-size: 10.5px; }
.pg .pp h6 { margin: 7px 0 4px; font-size: 8.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #7d828e; }
.pg .pp .hist { height: 52px; border-radius: 5px; background: #121317; position: relative; overflow: hidden; }
.pg .pp .hist svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg .pp .meta { text-align: center; font-size: 8px; color: #6b707c; margin: 3px 0 2px; }
.pg .pr { display: grid; grid-template-columns: 76px 1fr 32px; align-items: center; gap: 8px; height: 18px; }
.pg .pr .tr { position: relative; height: 2px; border-radius: 1px; background: #3a3d46; }
.pg .pr .tr.tmp { background: linear-gradient(90deg, #2e7bff, #cfd6e2 50%, #ffc24a); }
.pg .pr .tr.tnt { background: linear-gradient(90deg, #46d28b, #cfd6e2 50%, #c36bff); }
.pg .pr .kn { position: absolute; top: -5px; left: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.5); }
.pg .pr .v { text-align: right; font-variant-numeric: tabular-nums; color: #eceef2; }
.pg .pr .sel { grid-column: span 2; justify-self: end; padding: 2px 8px; border-radius: 4px; background: #2a2c33; border: 1px solid #3a3d46; font-size: 9.5px; }
.pg .rg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(10,14,25,.42); }
.pg .rg svg { width: 34px; height: 34px; transform: rotate(-90deg); }
.pg .rg circle { fill: none; stroke-width: 3; }
.pg .rg .b { stroke: rgba(255,255,255,.25); }
.pg .rg .p { stroke: #fff; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.pg .okb { position: absolute; right: 6px; bottom: 6px; width: 20px; height: 20px; border-radius: 50%; background: #16a34a; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px rgba(255,255,255,.9); }
.pg .okb svg { width: 11px; height: 11px; stroke-width: 3; }
.pg .sel-ck { position: absolute; top: 6px; left: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--app-primary); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.pg .sel-ck svg { width: 10px; height: 10px; stroke-width: 3; }
.pg .hrt { position: absolute; top: 5px; right: 5px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; }
.pg .hrt svg { width: 10px; height: 10px; fill: #ef4444; stroke: none; }
.pg .gp { position: absolute; inset: 12px; border-radius: 8px; overflow: hidden; background: var(--app-surface); border: 1px solid var(--app-border); }
.pg .gp__url { height: 22px; display: flex; align-items: center; gap: 5px; padding: 0 9px; font-size: 9.5px; color: var(--app-text-muted); border-bottom: 1px solid var(--app-border); }
.pg .gp__cov { position: relative; height: 104px; background: #8a8580 center / cover; display: flex; align-items: flex-end; padding: 10px 12px; color: #fff; }
.pg .gp__cov::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.22); }
.pg .gp__cov div { position: relative; text-shadow: 0 1px 6px rgba(0,0,0,.35); }
.pg .gp__cov b { display: block; font-size: 14px; }
.pg .gp__cov span { font-size: 10px; opacity: .9; }
.pg .gp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 10px 12px; }
.pg .gp__grid i { position: relative; display: block; aspect-ratio: 2/3; border-radius: 4px; background: #999 center / cover; overflow: hidden; }
.pg .phone { position: absolute; top: 14px; left: 50%; width: 196px; height: 382px; margin-left: -98px; border-radius: 30px; background: #0d0e12; padding: 8px; box-shadow: 0 8px 22px rgba(0,20,80,.16); }
.pg .phone__s { position: relative; width: 100%; height: 100%; border-radius: 23px; overflow: hidden; background: #fff; color: #111; }
.pg .phone__cov { height: 128px; background: center / cover; position: relative; display: flex; align-items: flex-end; padding: 10px; color: #fff; }
.pg .phone__cov::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.2); }
.pg .phone__cov b { position: relative; font-size: 12px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.pg .phone__g { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 6px; }
.pg .phone__g i { position: relative; display: block; aspect-ratio: 2/3; border-radius: 4px; background: #999 center / cover; }
.pg .tap { position: absolute; width: 30px; height: 30px; border-radius: 50%; background: rgba(0,100,255,.25); border: 2px solid rgba(0,100,255,.6); }
.pg .anim .q1 { animation: pg-win 24s 0s infinite both; }
.pg .anim .q2 { animation: pg-win 24s 6s infinite both; }
.pg .anim .q3 { animation: pg-win 24s 12s infinite both; }
.pg .anim .q4 { animation: pg-win 24s 18s infinite both; }
@keyframes pg-win { 0% { opacity: 0; transform: scale(.985); } 3%, 22% { opacity: 1; transform: none; } 25%, 100% { opacity: 0; } }
.pg .anim .a-hold { animation: pg-hold 24s infinite both; }
@keyframes pg-hold { 0% { opacity: 0; transform: translateY(5px); } 2%, 24% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; } }
.pg .anim .a-holdc { animation: pg-holdc 24s infinite both; }
@keyframes pg-holdc { 0% { opacity: 0; transform: translate(-50%, 6px); } 2%, 16% { opacity: 1; transform: translate(-50%, 0); } 18%, 100% { opacity: 0; transform: translate(-50%, 0); } }
.pg .anim .a-pop { animation: pg-pop 24s infinite both; }
@keyframes pg-pop { 0% { opacity: 0; transform: scale(.4); } 1.5% { opacity: 1; transform: scale(1.14); } 2.5%, 24% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; } }
.pg .anim .a-fade { animation: pg-fade 24s infinite both; }
@keyframes pg-fade { 0% { opacity: 0; } 6%, 24% { opacity: 1; } 26%, 100% { opacity: 0; } }
.pg .anim .a-out { animation: pg-out 24s infinite both; }
@keyframes pg-out { 0% { opacity: 1; } 3%, 24% { opacity: 0; } 26%, 100% { opacity: 1; } }
.pg .anim .a-dim { animation: pg-dim 24s infinite both; }
@keyframes pg-dim { 0% { opacity: 1; } 3%, 24% { opacity: .16; } 26%, 100% { opacity: 1; } }
.pg .anim .a-ring { animation: pg-ring 24s infinite both; }
@keyframes pg-ring { 0% { stroke-dashoffset: 100; } 10%, 24% { stroke-dashoffset: 0; } 26%, 100% { stroke-dashoffset: 100; } }
.pg .anim .a-slide { animation: pg-slide 24s infinite both; }
@keyframes pg-slide { 0% { transform: none; } 7%, 24% { transform: translateX(var(--dx, 20px)); } 26%, 100% { transform: none; } }
.pg .anim .a-in { animation: pg-inx 24s infinite both; }
@keyframes pg-inx { 0% { opacity: 0; transform: translate(var(--fx, 0px), var(--fy, -30px)); } 4%, 24% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; } }
.pg .anim .a-wipe { animation: pg-wipe 24s infinite both; }
@keyframes pg-wipe { 0% { clip-path: inset(0 0 0 100%); } 9%, 24% { clip-path: inset(0 0 0 0); } 26%, 100% { clip-path: inset(0 0 0 100%); } }
.pg .anim .a-on { animation: pg-on 24s infinite both; }
@keyframes pg-on { 0% { background: var(--app-surface); color: var(--app-text-secondary); } 1.5%, 24% { background: var(--app-primary-glaze); color: var(--app-primary); border-color: color-mix(in srgb, var(--app-primary) 40%, transparent); } 26%, 100% { background: var(--app-surface); } }
.pg .anim .a-press { animation: pg-press 24s infinite both; }
@keyframes pg-press { 0%, 100% { transform: none; } 1% { transform: scale(.94); } 2.5% { transform: none; } }
.pg .anim .a-split { animation: pg-split 24s infinite both; }
@keyframes pg-split { 0% { left: 78%; } 8% { left: 28%; } 16% { left: 64%; } 24% { left: 46%; } 26%, 100% { left: 78%; } }
.pg .anim .a-splitc { animation: pg-splitc 24s infinite both; }
@keyframes pg-splitc { 0% { clip-path: inset(0 22% 0 0); } 8% { clip-path: inset(0 72% 0 0); } 16% { clip-path: inset(0 36% 0 0); } 24% { clip-path: inset(0 54% 0 0); } 26%, 100% { clip-path: inset(0 22% 0 0); } }
.pg .anim .sync li { animation: pg-fhl 24s infinite both; }
.pg .anim .sync li::after { animation: pg-fbar 24s infinite both; }
.pg .anim .sync li:nth-child(2), .pg .anim .sync li:nth-child(2)::after { animation-delay: 6s; }
.pg .anim .sync li:nth-child(3), .pg .anim .sync li:nth-child(3)::after { animation-delay: 12s; }
.pg .anim .sync li:nth-child(4), .pg .anim .sync li:nth-child(4)::after { animation-delay: 18s; }
@keyframes pg-fhl { 0% { background: transparent; } 1.5%, 24% { background: var(--app-primary-glaze); } 25.5%, 100% { background: transparent; } }
@keyframes pg-fbar { 0% { transform: scaleX(0); opacity: 1; } 25% { transform: scaleX(1); opacity: 1; } 25.1%, 100% { transform: scaleX(0); opacity: 0; } }
.pg .anim .sync li .fi { animation: pg-fic 24s infinite both; }
.pg .anim .sync li:nth-child(2) .fi { animation-delay: 6s; }
.pg .anim .sync li:nth-child(3) .fi { animation-delay: 12s; }
.pg .anim .sync li:nth-child(4) .fi { animation-delay: 18s; }
@keyframes pg-fic { 0% { background: var(--app-primary-glaze); color: var(--app-primary); } 1.5%, 24% { background: var(--app-primary); color: #fff; } 25.5%, 100% { background: var(--app-primary-glaze); color: var(--app-primary); } }
.pg .anim .dots i::after { animation: pg-dot 24s infinite both; }
.pg .anim .dots i:nth-child(2)::after { animation-delay: 6s; }
.pg .anim .dots i:nth-child(3)::after { animation-delay: 12s; }
.pg .anim .dots i:nth-child(4)::after { animation-delay: 18s; }
@keyframes pg-dot { 0% { transform: scaleX(0); } 25% { transform: scaleX(1); } 25.01%, 100% { transform: scaleX(0); } }
.pg .anim .ov .s1 { animation: pg-s1 24s infinite; }
.pg .anim .ov .s2 { animation: pg-s2 24s infinite; }
.pg .anim .ov .s3 { animation: pg-s3 24s infinite; }
.pg .anim .ov .s4 { animation: pg-s4 24s infinite; }
@keyframes pg-s1 { 0%, 23% { color: var(--app-primary); } 25%, 100% { color: var(--app-text-secondary); background: var(--app-primary-glaze); } }
@keyframes pg-s2 { 0%, 23% { color: var(--app-text-muted); } 25%, 48% { color: var(--app-primary); } 50%, 100% { color: var(--app-text-secondary); background: var(--app-primary-glaze); } }
@keyframes pg-s3 { 0%, 48% { color: var(--app-text-muted); } 50%, 73% { color: var(--app-primary); } 75%, 100% { color: var(--app-text-secondary); background: var(--app-primary-glaze); } }
@keyframes pg-s4 { 0%, 73% { color: var(--app-text-muted); } 75%, 100% { color: var(--app-primary); } }
.pg .anim .ov .s1 .ck { animation: pg-ck1 24s infinite; }
.pg .anim .ov .s2 .ck { animation: pg-ck2 24s infinite; }
.pg .anim .ov .s3 .ck { animation: pg-ck3 24s infinite; }
@keyframes pg-ck1 { 0%, 24% { width: 0; } 26%, 100% { width: 11px; } }
@keyframes pg-ck2 { 0%, 49% { width: 0; } 51%, 100% { width: 11px; } }
@keyframes pg-ck3 { 0%, 74% { width: 0; } 76%, 100% { width: 11px; } }
.pg .anim .a-holdk { animation: pg-holdk 24s infinite both; }
@keyframes pg-holdk { 0% { opacity: 0; transform: translate(-50%, 6px); } 2%, 7% { opacity: 1; transform: translate(-50%, 0); } 8.5%, 100% { opacity: 0; transform: translate(-50%, 0); } }
.pg .anim .a-ring2 { animation: pg-ring2 24s infinite both; }
@keyframes pg-ring2 { 0% { stroke-dashoffset: 100; } 5%, 24% { stroke-dashoffset: 0; } 26%, 100% { stroke-dashoffset: 100; } }
.pg .anim .a-wipe2 { animation: pg-wipe2 24s infinite both; }
@keyframes pg-wipe2 { 0% { clip-path: inset(0 0 0 100%); } 4%, 24% { clip-path: inset(0 0 0 0); } 26%, 100% { clip-path: inset(0 0 0 100%); } }
.pg .anim .a-in.a-on { animation: pg-inx 24s infinite both, pg-on 24s infinite both; }
.pg .anim .a-in.a-on2 { animation: pg-inx 24s infinite both, pg-on2 24s infinite both; }
.pg .anim .a-on.a-press { animation: pg-on 24s infinite both, pg-press 24s infinite both; }
.pg .anim .a-hold.a-press { animation: pg-hold 24s infinite both, pg-press 24s infinite both; }
@media (prefers-reduced-motion: reduce) {
  .pg .anim * { animation-duration: 32s !important; }
}
.pg .gal-off-only { display: none !important; }
.pg.is-soon .gal-off-only { display: revert !important; }
.pg.is-soon .soon.gal-off-only { display: inline-flex !important; }
.pg.is-soon .blk.gal-off-only { display: flex !important; }
.pg.is-soon .gal-on-only { display: none !important; }
.pg.is-soon .gal-dim { opacity: .6; }
.pg .kk { flex: 1; display: flex; min-height: 0; }
.pg .kk__nav { width: 210px; flex-shrink: 0; padding: 24px 14px; border-right: 1px solid var(--app-border); display: flex; flex-direction: column; gap: 2px; }
.pg .kk__nav label { display: flex; align-items: center; gap: 9px; height: 36px; padding: 0 10px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--app-text-secondary); cursor: pointer; }
.pg .kk__nav label:hover { background: var(--app-surface-hover); }
.pg .kk__nav .hint { margin-top: auto; padding: 12px; border-radius: 12px; background: var(--grad); color: rgba(255,255,255,.92); font-size: 12px; line-height: 1.5; }
.pg .kk__nav .hint kbd { background: #fff; color: #0145F2; border-color: rgba(255,255,255,.6); }
.pg .kk__nav .on { background: var(--app-primary-glaze); color: var(--app-primary); }
.pg .kk__body { flex: 1; padding: 24px 30px; overflow: auto; }
.pg .kk__body h4 { margin: 0 0 4px; font-size: 20px; }
.pg .kk__body .sub { margin: 0 0 16px; color: var(--app-text-secondary); font-size: 13px; }
.pg .ktiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pg .kt { padding: 14px 14px 12px; border-radius: 14px; background: var(--app-bg-subtle); border: 1px solid var(--app-border); min-height: 108px; display: flex; flex-direction: column; }
.pg .kt .keys { display: flex; align-items: center; gap: 5px; color: var(--app-text-muted); font-size: 12px; }
.pg .kt .keys kbd { min-width: 32px; height: 32px; font-size: 14px; border-radius: 8px; border-bottom-width: 3px; }
.pg .kt b { margin-top: auto; font-size: 13px; font-weight: 600; }
.pg .kt span { font-size: 11.5px; color: var(--app-text-secondary); margin-top: 2px; }
.pg .kt .viz { display: flex; gap: 3px; margin-top: 10px; }
.pg .kt .viz i { width: 9px; height: 9px; border-radius: 50%; }
.pg details.all { margin-top: 16px; border-top: 1px solid var(--app-border); padding-top: 12px; }
.pg details.all summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--app-primary); list-style: none; }
.pg details.all summary::-webkit-details-marker { display: none; }
.pg .kcols { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 30px; margin-top: 10px; }
.pg .kg { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--app-text-muted); margin: 10px 0 4px; }
.pg .kr { display: grid; grid-template-columns: 118px 1fr; align-items: center; gap: 10px; min-height: 28px; font-size: 12.5px; }
.pg .kr .ks { display: flex; gap: 4px; align-items: center; color: var(--app-text-muted); font-size: 11px; }
.pg .ccp { position: absolute; top: 12px; right: 12px; bottom: 12px; width: 300px; border-radius: 9px; background: var(--app-surface); border: 1px solid var(--app-border); overflow: hidden; }
.pg .ccp .hbox { position: relative; margin: 10px 12px 3px; height: 62px; border-radius: 6px; background: #d2d2d2; border: 1px solid var(--app-border); overflow: hidden; }
[data-theme="dark"] .pg .ccp .hbox { background: #141414; }
.pg .hg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pg .hg path { mix-blend-mode: multiply; fill-opacity: .72; }
[data-theme="dark"] .pg .hg path { mix-blend-mode: screen; fill-opacity: .85; }
.pg .ccp .exif { text-align: center; font-size: 9.5px; color: var(--app-text-muted); font-variant-numeric: tabular-nums; margin-bottom: 4px; }
.pg .ccp .acc { display: flex; align-items: center; justify-content: space-between; padding: 7px 12px 3px; border-top: 1px solid var(--app-border); font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--app-text-secondary); }
.pg .ccp .acc svg { transform: rotate(90deg); color: var(--app-text-muted); }
.pg .ccp .wb { display: flex; align-items: center; justify-content: space-between; padding: 3px 12px 2px; font-size: 10.5px; color: var(--app-text-secondary); }
.pg .ccp .wb .sel { padding: 2px 8px; border-radius: 5px; border: 1px solid var(--app-border); background: var(--app-bg-subtle); color: var(--app-text); font-size: 10px; }
.pg .sl2 { padding: 1px 12px 0; }
.pg .sl2 .hd { display: flex; justify-content: space-between; height: 15px; font-size: 10.5px; line-height: 15px; color: var(--app-text-secondary); font-variant-numeric: tabular-nums; }
.pg .sl2.ch .hd { color: var(--app-text); }
.pg .sl2 .tk { position: relative; height: 16px; }
.pg .sl2 .rl { position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--app-border); }
.pg .sl2 .rl.tmp { background: linear-gradient(90deg, #2e7bff, #d8dde6 50%, #ffc24a); }
.pg .sl2 .rl.tnt { background: linear-gradient(90deg, #46d28b, #d8dde6 50%, #c36bff); }
.pg .sl2 .zr { position: absolute; top: 50%; left: 50%; width: 2px; height: 8px; margin: -4px 0 0 -1px; border-radius: 1px; background: var(--app-border); }
.pg .sl2 .fl { position: absolute; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 2px; background: var(--app-primary); }
.pg .sl2 .th2 { position: absolute; top: 50%; left: var(--to, 50%); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: #fff; border: 1px solid rgba(0,0,0,.2); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.pg .anim .a-knob { animation: pg-knob 24s infinite both; }
@keyframes pg-knob { 0% { left: 50%; } 8%, 24% { left: var(--to); } 26%, 100% { left: 50%; } }
.pg .anim .a-grow { animation: pg-grow 24s infinite both; }
@keyframes pg-grow { 0% { transform: scaleX(0); } 8%, 24% { transform: scaleX(1); } 26%, 100% { transform: scaleX(0); } }
.pg .anim .a-drop { animation: pg-drop 24s infinite both; }
@keyframes pg-drop { 0% { opacity: 0; transform: translateY(-6px); } 2%, 11% { opacity: 1; transform: none; } 13%, 100% { opacity: 0; transform: none; } }
.pg .anim .a-on2 { animation: pg-on2 24s infinite both; }
@keyframes pg-on2 { 0% { background: var(--app-surface); color: var(--app-text-secondary); } 1.5%, 5.5% { background: var(--app-primary-glaze); color: var(--app-primary); border-color: color-mix(in srgb, var(--app-primary) 40%, transparent); } 7%, 100% { background: var(--app-surface); color: var(--app-text-secondary); } }
.pg .anim .a-scan { animation: pg-scan 24s infinite both; }
@keyframes pg-scan { 0% { transform: scaleX(0); } 10%, 24% { transform: scaleX(1); } 26%, 100% { transform: scaleX(0); } }
.pg .g23 { position: absolute; left: 12px; right: 12px; top: 12px; display: grid; grid-template-columns: repeat(4, 128px); justify-content: center; gap: 8px; }
.pg .g23 .th { aspect-ratio: 2 / 3; }
.pg .g23.sm { top: 52px; grid-template-columns: repeat(5, 1fr); }
.pg .fbox { position: absolute; border: 2px solid #22c55e; border-radius: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.pg .ai.big em { height: 22px; min-width: 22px; padding: 0 7px; font-size: 11px; border-radius: 11px; }
.pg .ai.big em svg { width: 12px; height: 12px; }
.pg .tbar { position: absolute; left: 12px; right: 12px; top: 12px; height: 30px; display: flex; align-items: center; gap: 8px; }
.pg .pf { position: absolute; top: 46px; left: 12px; width: 262px; border-radius: 11px; background: var(--app-surface); border: 1px solid var(--app-border); box-shadow: 0 12px 30px rgba(0,0,0,.14); padding: 10px; z-index: 3; }
.pg .pf h6 { margin: 0 0 8px; font-size: 12px; font-weight: 700; color: var(--app-text); text-transform: none; letter-spacing: 0; }
.pg .pf .pc { display: flex; gap: 9px; align-items: center; padding: 8px 9px; border-radius: 9px; border: 1px solid var(--app-border); margin-top: 6px; background: var(--app-surface); }
.pg .pf .pc .ic { width: 28px; height: 28px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pg .pf .pc b { display: block; font-size: 12px; color: var(--app-text); }
.pg .pf .pc span.d { display: block; font-size: 10.5px; color: var(--app-text-muted); margin-top: 1px; }
.pg .pf .pc.a-on { }
.pg .scanpill { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); width: 320px; padding: 10px 14px; border-radius: 12px; background: rgba(17,24,39,.9); color: #f4f4f5; font-size: 12px; font-weight: 600; }
.pg .scanpill .bar { height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); margin-top: 8px; overflow: hidden; }
.pg .scanpill .bar b { display: block; height: 100%; background: #60a5fa; transform-origin: left; }
.pg .cbx { display: flex; align-items: center; gap: 8px; height: 26px; font-size: 11.5px; color: var(--app-text); }
.pg .cbx i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--app-border); display: flex; align-items: center; justify-content: center; position: relative; flex-shrink: 0; }
.pg .cbx i b { position: absolute; inset: -1.5px; border-radius: 5px; background: var(--app-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.pg .cbx i b svg { width: 11px; height: 11px; stroke-width: 3; }
.pg .cbx em { font-style: normal; font-size: 9.5px; font-weight: 700; color: var(--app-primary); background: var(--app-primary-glaze); padding: 1px 5px; border-radius: 4px; }
.pg .vt { flex: 1; border-radius: 8px; border: 1px solid var(--app-border); overflow: hidden; background: var(--app-surface); }
.pg .vt i { display: block; aspect-ratio: 3 / 4; background: center 30% / cover; }
.pg .vt span { display: block; font-size: 10px; font-weight: 600; text-align: center; padding: 4px 2px; color: var(--app-text-secondary); white-space: nowrap; }
.pg .feats.sync li { cursor: pointer; }
.pg .feats.sync li:hover { background: var(--app-surface-hover); }
.pg .kkeys { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 10px; }
.pg .kkeys div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px 8px; border-radius: 12px; background: var(--app-surface); border: 1px solid var(--app-border); font-size: 11.5px; color: var(--app-text-secondary); }
.pg .kkeys kbd { min-width: 34px; height: 34px; font-size: 15px; border-radius: 9px; border-bottom-width: 3px; }
.pg .kkeys i { width: 12px; height: 12px; border-radius: 50%; }
.pg .kt.wide { grid-column: span 3; }
/* «Пройти этап с подсказками» — вторичная кнопка внизу левой колонки вкладки этапа (окно из проекта). */
.pg .run-btn { margin-top: auto; align-self: flex-start; }
.pg .run-btn .i { color: var(--app-primary); }
