        /* ===== Общие стили сайта (одинаковые на всех страницах) ===== */
        body { font-family: 'Inter', sans-serif; display: flex; flex-direction: column; min-height: 100vh; background-color: var(--paper); }
        main { flex-grow: 1; }

        @keyframes colorful-blink {
            0%, 8.32% { opacity: 1; color: rgb(var(--c-c49276)); }
            8.33%, 16.65% { opacity: 0; color: rgb(var(--c-c49276)); }
            16.66%, 24.99% { opacity: 1; color: rgb(var(--c-9b9488)); }
            25%, 33.32% { opacity: 0; color: rgb(var(--c-9b9488)); }
            33.33%, 41.65% { opacity: 1; color: rgb(var(--c-677b6d)); }
            41.66%, 49.99% { opacity: 0; color: rgb(var(--c-677b6d)); }
            50%, 58.32% { opacity: 1; color: rgb(var(--c-778a9c)); }
            58.33%, 66.65% { opacity: 0; color: rgb(var(--c-778a9c)); }
            66.66%, 74.99% { opacity: 1; color: rgb(var(--c-d1ac6c)); }
            75%, 83.32% { opacity: 0; color: rgb(var(--c-d1ac6c)); }
            83.33%, 91.65% { opacity: 1; color: rgb(var(--c-524d45)); }
            91.66%, 100% { opacity: 0; color: rgb(var(--c-524d45)); }
        }
        .blinking-cursor { animation: colorful-blink 6s infinite; }

        /* Видимый фокус для тех, кто управляет сайтом с клавиатуры */
        :where(a, button, summary, input, textarea, select, [tabindex]):focus-visible { outline: 2px solid rgb(var(--c-8d867a)); outline-offset: 2px; }

        details > summary::-webkit-details-marker { display: none; }

        /* Атрибут hidden всегда скрывает элемент, даже если у него есть классы flex или grid */
        [hidden] { display: none !important; }

        /* Премиальные детали (общие для всех страниц) */
        .shadow-premium { box-shadow: 0 1px 2px rgb(var(--c-2b2620) / 0.04), 0 16px 40px -12px rgb(var(--c-2b2620) / 0.14); }
        .shadow-cta { box-shadow: 0 10px 28px -8px rgb(var(--c-2b2620) / 0.45); }
        .text-balance { text-wrap: balance; }
        .tabular { font-variant-numeric: tabular-nums; }
        /* Тонкая сетка, растворяющаяся к краям */
        .hero-grid {
            background-image:
                linear-gradient(to right, rgb(var(--c-2b2620) / 0.05) 1px, transparent 1px),
                linear-gradient(to bottom, rgb(var(--c-2b2620) / 0.05) 1px, transparent 1px);
            background-size: 44px 44px;
            -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, rgb(var(--c-000000)) 25%, transparent 78%);
                    mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, rgb(var(--c-000000)) 25%, transparent 78%);
        }
        /* Мягкое свечение в цветах курсора из логотипа */
        .hero-glow {
            background:
                radial-gradient(38% 45% at 78% 32%, rgb(var(--c-c49276) / 0.09), transparent 70%),
                radial-gradient(32% 40% at 12% 8%, rgb(var(--c-8c9dad) / 0.06), transparent 70%),
                radial-gradient(30% 35% at 55% 95%, rgb(var(--c-677b6d) / 0.05), transparent 70%);
        }

        /* Пользователям, которые отключили анимацию в системе, ничего не мигает и не прыгает */
        @media (prefers-reduced-motion: reduce) {
            .blinking-cursor { animation: none; opacity: 1; color: rgb(var(--c-6b655b)); }
            *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
        }
        /* ===== Конец общих стилей ===== */

        /* ===== Фотостудия, блок «Ф» (утверждён владельцем 31.10.2026): assets/studio.js ===== */
        .trust-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .375rem .75rem; border-radius: 999px; background: var(--card);
            box-shadow: 0 1px 2px rgb(var(--c-2b2620) / .05), inset 0 0 0 1px rgb(var(--c-e4e0d6)); }
        .label { display: block; font-size: 12px; font-weight: 600; color: rgb(var(--c-524d45)); margin: 0 0 .5rem .25rem; }
        .hint { font-size: 12px; color: rgb(var(--c-6b655b)); line-height: 1.55; }
        .tool { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .75rem; border-radius: .875rem; font-size: 12.5px; color: rgb(var(--c-524d45));
            background: rgb(var(--c-ebe7de)); transition: background-color .15s, color .15s; }
        .tool:hover { color: var(--ink); }
        .tool.is-on { background: var(--ink); color: rgb(var(--c-faf8f3)); }
        .tool:disabled { color: rgb(var(--c-8d867a)); cursor: default; }
        .cta { width: 100%; display: flex; align-items: center; justify-content: center; background: var(--ink); color: rgb(var(--c-faf8f3)); padding: .875rem 1rem; border-radius: 1.125rem;
            font-size: 15px; font-weight: 600; box-shadow: 0 10px 28px -8px rgb(var(--c-2b2620) / .45); transition: background-color .15s, opacity .15s; white-space: nowrap; }
        .cta:hover { background: rgb(var(--c-30302f)); }
        .cta:disabled, .cta.is-busy { opacity: .6; cursor: progress; }
        .cta-price { display: inline-flex; align-items: center; gap: .25rem; margin-left: .375rem; color: rgb(var(--c-faf8f3) / .7); font-weight: 500; }
        .cta-2 { width: 100%; display: flex; align-items: center; justify-content: center; padding: .75rem 1rem; border-radius: 1.125rem; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--card); box-shadow: inset 0 0 0 1px rgb(var(--c-cbc5b9)); }
        .cta-2:hover { box-shadow: inset 0 0 0 1px var(--ink); }
        .cta-2:disabled { color: rgb(var(--c-8d867a)); box-shadow: inset 0 0 0 1px rgb(var(--c-ddd8ce)); }
        .cta-2 .cta-price { color: rgb(var(--c-6b655b)); }
        .cta-rub { font-size: .85em; opacity: .85; white-space: nowrap; }
        /* Цена с рублями на узком телефоне не влезает в строку — переносим её целиком под надпись (проход 09.11.2026) */
        .cta, .cta-2 { flex-wrap: wrap; row-gap: .125rem; text-align: center; }
        .cta-price { white-space: nowrap; }
        .field { display: block; width: 100%; padding: .625rem .875rem; border-radius: .875rem; border: 1px solid rgb(var(--c-ddd8ce)); font-size: 14px; color: var(--ink); background: var(--card); }
        .field:focus { outline: none; border-color: var(--ink); }
        textarea.field { resize: vertical; line-height: 1.5; }
        .range { width: 100%; height: 1.25rem; accent-color: rgb(var(--c-c49276)); cursor: pointer; }
        .st-field-err { margin: .35rem 0 0 .25rem; font-size: 12px; color: rgb(var(--c-9b413e)); }
        .sw { width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--c); box-shadow: inset 0 0 0 1px rgb(var(--c-2b2620) / .12); transition: box-shadow .15s; }
        .sw.is-on { box-shadow: inset 0 0 0 1px rgb(var(--c-2b2620) / .12), 0 0 0 2px rgb(var(--c-fbf9f4)), 0 0 0 4px rgb(var(--c-c49276)); }
        .sw-custom { position: relative; background: var(--card); display: flex; align-items: center; justify-content: center; color: rgb(var(--c-6b655b)); box-shadow: inset 0 0 0 1.5px rgb(var(--c-cbc5b9)); }

        /* Фишки меню: все варианты открыты для любого товара (решение владельца 2) */
        .chips { display: flex; flex-wrap: wrap; gap: .375rem; }
        .chips-scroll { max-height: 9.5rem; overflow-y: auto; padding: .125rem; margin: -.125rem; }
        .chip { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .75rem; border-radius: 999px; font-size: 12.5px; color: rgb(var(--c-3e3b35)); background: rgb(var(--c-f0ede5));
            box-shadow: inset 0 0 0 1px transparent; transition: background-color .15s, box-shadow .15s, color .15s; cursor: pointer; }
        .chip:hover { background: rgb(var(--c-e6e2d8)); color: var(--ink); }
        .chip.is-on { background: rgb(var(--c-fbeee8)); color: var(--ink); font-weight: 600; box-shadow: inset 0 0 0 1.5px rgb(var(--c-c49276)); }
        /* Выбранный чип можно снять: повторное нажатие, крестик при наведении (замечание владельца 02.11.2026) */
        .chip.can-clear.is-on::after { content: "×"; margin-left: .15rem; font-weight: 500; color: rgb(var(--c-895537)); opacity: 0; transition: opacity .15s; }
        .chip.can-clear.is-on:hover::after, .chip.can-clear.is-on:focus-visible::after { opacity: 1; }
        .chip.is-need::after { content: ""; width: .35rem; height: .35rem; border-radius: 999px; background: rgb(var(--c-e2c28d)); margin-left: .1rem; }
        .chip i { font-size: 1rem; color: rgb(var(--c-c49276)); }

        /* Вкладки «что нарисовать» */
        /* Вкладки — по длине подписи: «Инфографика» шире «Кадра», полоса во всю ширину. Поровну «Инфографика»
           обрезалась (замечание владельца 02.11.2026) */
        .tabs { display: flex; gap: .2rem; padding: .25rem; border-radius: 1rem; background: rgb(var(--c-ebe7de)); }
        .tab { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .45rem .3rem .4rem; border-radius: .8rem; font-size: 12px; line-height: 1.2; color: rgb(var(--c-524d45)); white-space: nowrap; transition: background-color .15s, color .15s, box-shadow .15s; }
        .tab i { font-size: 1.15rem; }
        .chips-sub { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; margin-top: .375rem; }
        .chips-sub > span { font-size: 12px; color: rgb(var(--c-6b655b)); margin: 0 .1rem 0 .25rem; }
        .tab:hover { color: var(--ink); }
        .tab.is-on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgb(var(--c-2b2620) / .08), inset 0 0 0 1px rgb(var(--c-ddd8ce)); }
        .pane { padding-top: 1.1rem; }
        .pane-lead { font-size: 13px; color: rgb(var(--c-524d45)); line-height: 1.55; }
        .person { margin-top: .9rem; padding: .85rem; border-radius: 1.1rem; background: rgb(var(--c-f3f0ea)); box-shadow: inset 0 0 0 1px rgb(var(--c-f4dccf)); }
        .models { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.4rem, 1fr)); gap: .4rem; }
        .model-pick { display: flex; flex-direction: column; align-items: center; gap: .25rem; padding: .35rem; border-radius: .9rem; font-size: 12px; color: rgb(var(--c-3e3b35)); text-align: center; background: var(--card); box-shadow: inset 0 0 0 1px rgb(var(--c-e4e0d6)); }
        .model-pick img, .model-ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .6rem; background: rgb(var(--c-ebe7de)); display: flex; align-items: center; justify-content: center; color: rgb(var(--c-c49276)); font-size: 1.2rem; }
        .model-pick.is-on { box-shadow: inset 0 0 0 1.5px rgb(var(--c-c49276)); background: rgb(var(--c-fbeee8)); font-weight: 600; }
        .series-row { display: grid; grid-template-columns: 1.6rem 1fr 1fr; gap: .4rem; align-items: center; }
        .series-row .field { padding: .5rem .6rem; font-size: 13px; }
        .series-n { width: 1.6rem; height: 1.6rem; flex-shrink: 0; border-radius: 999px; background: rgb(var(--c-fbeee8)); color: rgb(var(--c-895537)); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
        .series-need { grid-column: 2 / -1; font-size: 12px; color: rgb(var(--c-784b32)); }
        .set-box { padding: .9rem 1rem; border-radius: 1.25rem; background: rgb(var(--c-f6f3ed)); box-shadow: inset 0 0 0 1px rgb(var(--c-e8e3d9)); }

        /* Снимки товара */
        .shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; align-items: start; }
        .shot { position: relative; aspect-ratio: 3 / 4; border-radius: .9rem; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px rgb(var(--c-2b2620) / .08);
            display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; text-align: center; }
        .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
        .shot.is-wait { background: rgb(var(--c-f3f0ea)); }
        .shot.is-bad { background: rgb(var(--c-fdebe9)); color: rgb(var(--c-9b413e)); padding: .3rem; }
        .shot-note { font-size: 10px; line-height: 1.25; color: rgb(var(--c-6b655b)); padding: 0 .25rem; }
        .shot.is-bad .shot-note { color: rgb(var(--c-923a38)); }
        .shot-add { cursor: pointer; color: rgb(var(--c-8d867a)); background: rgb(var(--c-f6f3ed)); box-shadow: inset 0 0 0 1.5px rgb(var(--c-ddd8ce)); outline: 1.5px dashed transparent; }
        .shot-add:hover { color: rgb(var(--c-895537)); background: rgb(var(--c-f3f0ea)); }
        .shot-x { position: absolute; top: .25rem; right: .25rem; width: 1.4rem; height: 1.4rem; border-radius: 999px; background: rgb(var(--c-faf8f3) / .9); color: rgb(var(--c-524d45));
            display: flex; align-items: center; justify-content: center; font-size: .75rem; box-shadow: 0 1px 3px rgb(var(--c-2b2620) / .2); }
        .shot-x:hover { color: var(--ink); }
        .shot-side { position: absolute; left: .25rem; right: .25rem; bottom: .25rem; padding: .15rem .3rem; border-radius: .5rem; border: 0; font-size: 10.5px; font-weight: 600;
            color: var(--ink); background: rgb(var(--c-faf8f3) / .92); -webkit-appearance: none; appearance: none; text-align: center; cursor: pointer; }
        .shot-cell { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
        .shot-label { width: 100%; min-width: 0; padding: .25rem .4rem; border-radius: .5rem; border: 1px solid rgb(var(--c-ddd8ce)); background: var(--card); font-size: 12px; color: var(--ink); }
        .shot-label::placeholder { color: rgb(var(--c-8d867a)); }
        .shot-label:focus { outline: none; border-color: rgb(var(--c-d1a58e)); box-shadow: 0 0 0 3px rgb(var(--c-d1a58e) / .35); }
        .shot-warn { position: absolute; top: .25rem; left: .25rem; width: 1.2rem; height: 1.2rem; border-radius: 999px; background: rgb(var(--c-e2c28d)); color: rgb(var(--c-6f521c)); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

        /* «Что мы видим на товаре» */
        .look { padding: .9rem; border-radius: 1.25rem; background: rgb(var(--c-faf8f3) / .85); transition: box-shadow .3s; }
        .look.is-flash { box-shadow: 0 0 0 3px rgb(var(--c-d1a58e)); }
        .look-what { font-weight: 600; color: var(--ink); }
        .look-sides { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .5rem; }
        .look-side { display: inline-flex; align-items: center; gap: .2rem; padding: .15rem .5rem; border-radius: 999px; font-size: 12px; color: rgb(var(--c-5e594f)); background: rgb(var(--c-f0ede5)); }
        .look-side.is-on { color: rgb(var(--c-63402c)); background: rgb(var(--c-fbeee8)); }
        .look-list { margin-top: .55rem; display: grid; gap: .3rem; }
        .look-list li { display: flex; gap: .35rem; align-items: flex-start; color: rgb(var(--c-3e3b35)); }
        .look-list i { color: rgb(var(--c-c49276)); margin-top: .15rem; }
        .look-unclear { margin-top: .55rem; padding: .65rem .75rem; border-radius: 1rem; background: rgb(var(--c-fbf1e1)); box-shadow: inset 0 0 0 1px rgb(var(--c-efdbb8)); display: grid; gap: .3rem; }
        .look-unclear.is-done { background: rgb(var(--c-f6f3ec)); box-shadow: inset 0 0 0 1px rgb(var(--c-ddd8ce)); }
        .look-act { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
        .look-need { margin-top: .55rem; padding: .5rem .65rem; border-radius: .8rem; font-weight: 600; color: rgb(var(--c-4d3325)); background: rgb(var(--c-fbeee8)); }
        .look-act .chip { background: var(--card); font-size: 12px; padding: .4rem .65rem; }
        .look-act .chip.is-on { background: rgb(var(--c-fbeee8)); }

        /* Холст и сверка «Ваш снимок | Готовое фото» (Ф10) */
        .stage { position: relative; }
        .stage-drop, .stage-box { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; max-width: 27.5rem; margin: 0 auto; aspect-ratio: 3 / 4;
            border-radius: 1.5rem; overflow: hidden; background: var(--card); box-shadow: 0 1px 2px rgb(var(--c-2b2620) / .06), 0 28px 56px -24px rgb(var(--c-2b2620) / .32); outline: 1px solid rgb(var(--c-2b2620) / .06); }
        .stage-drop { padding: 2rem; text-align: center; cursor: pointer; background: linear-gradient(180deg, rgb(var(--c-f3f0ea)) 0%, rgb(var(--c-fbf9f4)) 60%); }
        .stage.is-drag .stage-drop { background: rgb(var(--c-fbeee8)); box-shadow: inset 0 0 0 2px rgb(var(--c-d1a58e)); }
        .stage-idle { background: linear-gradient(180deg, rgb(var(--c-f3f0ea)) 0%, rgb(var(--c-fbf9f4)) 70%); }
        .stage-box canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
        .stage-tag { position: absolute; left: .75rem; right: .75rem; bottom: .75rem; padding: .45rem .65rem; border-radius: .75rem; font-size: 12px; line-height: 1.4; color: rgb(var(--c-63402c)); background: rgb(var(--c-faf8f3) / .92); box-shadow: 0 1px 3px rgb(var(--c-2b2620) / .08); }
        .drop-icon { width: 4rem; height: 4rem; border-radius: 1.25rem; display: flex; align-items: center; justify-content: center; color: rgb(var(--c-c49276)); background: rgb(var(--c-fbeee8)); box-shadow: inset 0 0 0 1px rgb(var(--c-f4dccf)); }
        .cmp { position: relative; display: grid; grid-template-columns: 1fr 1.35fr; gap: .75rem; align-items: start; }
        .cmp.is-single { grid-template-columns: 1fr; max-width: 27.5rem; margin: 0 auto; }
        .cmp-fig { margin: 0; }
        .cmp-fig > img, .cmp-box { width: 100%; aspect-ratio: 3 / 4; border-radius: 1.25rem; background: rgb(var(--c-f0ede5)); object-fit: cover; }
        /* Окно 3:4 на телефоне узкое — подпись про сверку не помещалась и обрезала знак «Аа» сверху (владелец 09.11.2026) */
        .cmp-box { container-type: inline-size; }
        @container (max-width: 15rem) { .cmp-wait-more { display: none; } #cmp-wait .slog-ai { font-size: 1.75rem; } #cmp-wait-time { font-size: 12px; } }
        .cmp-box { position: relative; overflow: hidden; box-shadow: 0 1px 2px rgb(var(--c-2b2620) / .06), 0 24px 48px -24px rgb(var(--c-2b2620) / .35); outline: 1px solid rgb(var(--c-2b2620) / .06); }
        .cmp-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--card); }
        /* Видео из кадра (решение владельца 09.11.2026): проигрыватель на месте готового фото, тот же размер 3:4 */
        .cmp-box video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
        .thumb-media { position: relative; display: block; }
        .thumb-play { position: absolute; left: .3rem; bottom: .3rem; width: 1.35rem; height: 1.35rem; border-radius: 999px; background: rgb(var(--c-2b2620) / .72);
            color: rgb(var(--c-faf8f3)); display: flex; align-items: center; justify-content: center; font-size: .7rem; }
        .v-src { display: grid; grid-template-columns: repeat(auto-fill, minmax(4.25rem, 1fr)); gap: .5rem; }
        .v-src button { position: relative; border-radius: .875rem; overflow: hidden; aspect-ratio: 3 / 4; background: rgb(var(--c-f0ede5)); outline: 1px solid rgb(var(--c-2b2620) / .08); }
        .v-src button img { width: 100%; height: 100%; object-fit: cover; }
        .v-src button.is-on { outline: 2px solid rgb(var(--c-c49276)); outline-offset: 2px; }
        .v-num { position: absolute; left: .3rem; top: .3rem; width: 1.3rem; height: 1.3rem; border-radius: 999px; background: rgb(var(--c-895537)); color: rgb(var(--c-faf8f3));
            font-size: .72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
        .v-color { width: 2rem; height: 2rem; padding: 0; border: 0; border-radius: .6rem; background: none; cursor: pointer; }
        .v-cap { border-radius: 1rem; background: rgb(var(--c-f0ede5)); padding: .6rem .7rem .7rem; }
        .v-cap-row { display: flex; align-items: center; gap: .5rem; font-size: 12px; color: rgb(var(--c-524d45)); margin-top: .4rem; }
        .v-cap-row input[type=range] { flex: 1; accent-color: rgb(var(--c-c49276)); }
        .v-cap-row span { width: 5.2rem; text-align: right; font-variant-numeric: tabular-nums; }
        .v-cap-text { width: 100%; border-radius: .75rem; border: 1px solid rgb(var(--c-2b2620) / .12); background: var(--card); padding: .5rem .7rem; font-size: 14px; }
        .v-cap-err { margin-top: .35rem; font-size: 12px; color: rgb(var(--c-9b413e)); }
        .v-prev-wrap { max-width: 15rem; }
        .v-prev { position: relative; aspect-ratio: 3 / 4; border-radius: 1rem; overflow: hidden; background: rgb(var(--c-f0ede5)); container-type: inline-size; outline: 1px solid rgb(var(--c-2b2620) / .08); }
        .v-prev img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .v-plate { position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; font-weight: 600; border-radius: 999px;
            -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgb(var(--c-faf8f3) / .5); box-shadow: 0 6px 18px rgb(var(--c-2b2620) / .18); }
        .v-plate.is-top { top: 8.3%; } .v-plate.is-bottom { bottom: 13.2%; } .v-plate.is-middle { top: 50%; transform: translate(-50%, -50%); }
        .cmp-fig figcaption { margin-top: .4rem; font-size: 12px; font-weight: 600; color: rgb(var(--c-6b655b)); text-align: center; }
        .cmp-marks { position: absolute; inset: 0; pointer-events: none; }
        .cmp-mark { position: absolute; border-radius: .6rem; box-shadow: 0 0 0 2px rgb(var(--c-e2c28d)), 0 0 0 4px rgb(var(--c-faf8f3) / .85); }
        .cmp-mark.is-low { box-shadow: 0 0 0 1.5px rgb(var(--c-d1a58e)), 0 0 0 3px rgb(var(--c-faf8f3) / .8); }
        .cmp-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; background: linear-gradient(180deg, rgb(var(--c-f3f0ea)), rgb(var(--c-fbf9f4))); }
        .cmp-checks { display: grid; gap: .35rem; font-size: 12.5px; color: rgb(var(--c-3e3b35)); }
        .cmp-checks li { display: flex; gap: .45rem; align-items: flex-start; line-height: 1.45; }
        .cmp-checks i { margin-top: .15rem; font-size: 1rem; flex-shrink: 0; }
        .cmp-checks .is-ok i { color: rgb(var(--c-c49276)); }
        .cmp-checks .is-warn i { color: rgb(var(--c-c8a15d)); }
        .cmp-checks .is-warn { color: rgb(var(--c-6f521c)); }
        .cmp-checks .is-note { color: rgb(var(--c-6b655b)); }
        .cmp-checks .is-note i { color: rgb(var(--c-8d867a)); }
        .fix-link { font-size: 12.5px; font-weight: 600; color: rgb(var(--c-895537)); }
        .fix-link:hover { color: rgb(var(--c-63402c)); }
        .st-msg { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .75rem; padding: .75rem .95rem; border-radius: 1rem; font-size: 13px; line-height: 1.5; color: rgb(var(--c-923a38)); background: rgb(var(--c-fdebe9)); }
        .st-msg.is-info { color: rgb(var(--c-4d3325)); background: rgb(var(--c-fbeee8)); }
        .st-msg.is-ok { color: rgb(var(--c-4d3325)); background: rgb(var(--c-fbeee8)); box-shadow: inset 0 0 0 1px rgb(var(--c-dcb6a1)); }
        .st-msg-act { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
        .feed { position: absolute; inset: 0; z-index: 2; padding: 1.25rem 1.5rem; border-radius: 1.25rem; background: rgb(var(--c-f0ede5)); display: flex; flex-direction: column; }
        .feed-grid { margin-top: .9rem; display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; width: 70%; align-self: center; }
        .feed-card { border-radius: .875rem; background: var(--card); padding: .4rem .4rem .6rem; box-shadow: 0 1px 2px rgb(var(--c-2b2620) / .06); }
        .feed-ph { aspect-ratio: 3 / 4; border-radius: .75rem; background: linear-gradient(160deg, rgb(var(--c-ebe7de)), rgb(var(--c-ddd8ce))); }
        .feed-line { height: .375rem; border-radius: 999px; background: rgb(var(--c-ddd8ce)); margin-top: .4rem; }

        /* Лента готовых фото */
        .thumb-cell { position: relative; flex: 0 0 auto; }
        .thumb-x { position: absolute; top: .3rem; right: .3rem; width: 1.35rem; height: 1.35rem; border-radius: 999px; background: rgb(var(--c-faf8f3) / .92); color: rgb(var(--c-524d45));
            display: flex; align-items: center; justify-content: center; font-size: .7rem; box-shadow: 0 1px 3px rgb(var(--c-2b2620) / .2); opacity: 0; transition: opacity .15s; }
        .thumb-cell:hover .thumb-x, .thumb-x:focus-visible { opacity: 1; }
        .thumb-x:hover { color: var(--ink); }
        @media (hover: none) { .thumb-x { opacity: 1; } }
        .thumb { flex: 0 0 auto; width: 4.625rem; display: flex; flex-direction: column; align-items: stretch; gap: .3rem; text-align: left; }
        .thumb img, .thumb-plus { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .875rem; outline: 1px solid rgb(var(--c-2b2620) / .08); outline-offset: 0; transition: outline-color .15s, outline-offset .15s; }
        .thumb:hover img { outline-color: rgb(var(--c-2b2620) / .25); }
        .thumb.is-on img, .thumb.is-on .thumb-plus { outline: 2px solid rgb(var(--c-c49276)); outline-offset: 2px; }
        .thumb-name { font-size: 12px; font-weight: 600; color: var(--ink); padding-left: .125rem; overflow-wrap: anywhere; line-height: 1.25; }
        .thumb-price { font-size: 12px; color: rgb(var(--c-6b655b)); margin-top: -.25rem; padding-left: .125rem; }
        .thumb-plus { display: flex; align-items: center; justify-content: center; background: rgb(var(--c-f6f3ed)); font-size: 1.25rem; }
        .thumb-wait { background: rgb(var(--c-f3f0ea)); outline: 1px solid rgb(var(--c-f4dccf)); }
        .thumb-bad { background: rgb(var(--c-feebea)); }

        /* Окна */
        .dlg { width: min(100% - 2rem, 30rem); border: 0; border-radius: 1.5rem; padding: 1.4rem 1.4rem 1.25rem; box-shadow: 0 30px 80px -20px rgb(var(--c-2b2620) / .45); }
        .dlg-wide { width: min(100% - 2rem, 36rem); max-height: calc(100vh - 2rem); overflow-y: auto; }
        .dlg::backdrop { background: rgb(var(--c-2b2620) / .45); }
        .dlg-h { font-size: 18px; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
        .dlg-p { margin-top: .5rem; font-size: 13.5px; line-height: 1.55; color: rgb(var(--c-524d45)); }
        .dlg-link { padding: .5rem; font-size: 13px; font-weight: 600; color: rgb(var(--c-895537)); }
        .cl-x { width: 2.25rem; height: 2.25rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: rgb(var(--c-6b655b)); }
        .cl-x:hover { background: rgb(var(--c-ebe7de)); color: var(--ink); }

        /* Как это работает, правила, вопросы */
        .proof { border-radius: 1.75rem; background: var(--card); border: 1px solid rgb(var(--c-ded8cc) / .8); padding: .75rem .75rem 1.5rem;
            box-shadow: 0 1px 2px rgb(var(--c-2b2620) / .04), 0 16px 40px -12px rgb(var(--c-2b2620) / .14); }
        .proof-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
        .proof-pair figure { position: relative; margin: 0; }
        .proof-pair img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 1.125rem; background: rgb(var(--c-f0ede5)); }
        .proof-pair figcaption { position: absolute; left: .5rem; bottom: .5rem; padding: .2rem .55rem; border-radius: 999px; font-size: 12px; font-weight: 600; color: rgb(var(--c-faf8f3));
            background: rgb(var(--c-2b2620) / .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
        /* «Что получится» — только гостю (проход новичка 09.11.2026); на телефоне — лента с прокруткой вбок */
        html.signed-in .guest-only { display: none; }
        html:not(.signed-in) #card-bar { display: none; }   /* строку «Мои товары» рисует cards.js и меняет её класс — прячем по id */
        .ex-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
        .ex-row .proof { padding-bottom: 1rem; }
        .ex-name { margin: .85rem .35rem 0; font-size: 15px; font-weight: 600; color: var(--ink); }
        .ex-price { margin: .15rem .35rem 0; font-size: 13px; color: rgb(var(--c-6b655b)); display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
        @media (max-width: 767px) {
            .ex-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 1rem -1rem 0; padding: 0 1rem .75rem; scrollbar-width: none; }
            .ex-row::-webkit-scrollbar { display: none; }
            .ex-row .proof { flex: 0 0 82%; scroll-snap-align: center; box-shadow: 0 1px 2px rgb(var(--c-2b2620) / .04), 0 8px 20px -10px rgb(var(--c-2b2620) / .14); }
        }
        .proof-art { aspect-ratio: 3 / 2; border-radius: 1.125rem; background: linear-gradient(180deg, rgb(var(--c-f3f0ea)), rgb(var(--c-f3f0ea))); padding: 1rem 1.1rem; display: flex; flex-direction: column; justify-content: center; gap: .45rem; font-size: 12.5px; color: rgb(var(--c-3e3b35)); }
        .proof-art li { display: flex; gap: .4rem; align-items: center; }
        .proof-art i { color: rgb(var(--c-c49276)); font-size: 1rem; }
        .proof-art .is-warn i { color: rgb(var(--c-c8a15d)); }
        .proof-h { margin: 1.1rem .75rem 0; font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
        .proof-p { margin: .35rem .75rem 0; font-size: 13.5px; color: rgb(var(--c-6b655b)); line-height: 1.6; }
        .rule { border-radius: 1.5rem; background: var(--card); border: 1px solid rgb(var(--c-ded8cc) / .8); padding: 1.5rem; display: flex; flex-direction: column; }
        .rule-h { font-size: 16px; font-weight: 600; color: var(--ink); }
        .rule-list { margin-top: .85rem; display: grid; gap: .55rem; font-size: 13.5px; color: rgb(var(--c-3e3b35)); line-height: 1.45; }
        .rule-list li { position: relative; padding-left: 1.3rem; }
        .rule-list li::before { content: ""; position: absolute; left: .15rem; top: .45rem; width: .45rem; height: .45rem; border-radius: 999px; background: rgb(var(--c-d1a58e)); }
        .rule-src { margin-top: auto; padding-top: 1rem; font-size: 12.5px; font-weight: 600; color: rgb(var(--c-895537)); }
        .rule-src:hover { color: rgb(var(--c-63402c)); }
        .faq { border-radius: 1.25rem; background: rgb(var(--c-f6f3ed)); padding: 1rem 1.25rem; transition: background-color .2s; }
        .faq[open] { background: var(--card); box-shadow: inset 0 0 0 1px rgb(var(--c-ddd8ce)); }
        .faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 15px; }
        .faq p { margin-top: .6rem; font-size: 14px; color: rgb(var(--c-524d45)); line-height: 1.65; }
        .shoot { position: fixed; inset: 0; z-index: 70; background: var(--card); overflow-y: auto; }
        .shoot-inner { max-width: 28rem; margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem; }
        @media (max-width: 640px) { .cmp { grid-template-columns: 1fr 1.5fr; gap: .5rem; } }

        /* ===== Конструктор инфографики (Ф5) — на весь экран, assets/constructor.js ===== */
        .ed { position: fixed; inset: 0; z-index: 75; display: flex; flex-direction: column; background: rgb(var(--c-ebe7de)); }
        .ed[hidden] { display: none; }
        .ed-top { display: flex; align-items: center; gap: .5rem; padding: .6rem .9rem; background: var(--card); box-shadow: 0 1px 0 rgb(var(--c-e4e0d6)); overflow-x: auto; scrollbar-width: none; }
        .ed-top::-webkit-scrollbar { display: none; }
        .ed-back { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem .75rem; border-radius: .8rem; font-size: 13px; font-weight: 600; color: var(--ink); background: rgb(var(--c-ebe7de)); flex-shrink: 0; }
        .ed-name { min-width: 8rem; width: 16rem; padding: .45rem .7rem; border-radius: .7rem; border: 1px solid transparent; font-size: 14px; font-weight: 600; color: var(--ink); background: transparent; }
        .ed-name:hover, .ed-name:focus { border-color: rgb(var(--c-ddd8ce)); outline: none; background: var(--card); }
        .ed-ico { width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: .7rem; display: inline-flex; align-items: center; justify-content: center; color: rgb(var(--c-524d45)); font-size: 1.1rem; }
        .ed-ico:hover { background: rgb(var(--c-ebe7de)); color: var(--ink); }
        .ed-select { padding: .45rem .6rem; border-radius: .7rem; border: 1px solid rgb(var(--c-ddd8ce)); font-size: 13px; color: var(--ink); background: var(--card); max-width: 100%; }
        .ed-grow { flex: 1; }
        .ed-chip { position: relative; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .7rem; border-radius: .8rem; font-size: 12.5px; color: rgb(var(--c-3e3b35)); background: rgb(var(--c-ebe7de)); white-space: nowrap; flex-shrink: 0; }
        .ed-chip:hover { color: var(--ink); }
        .ed-chip[data-count]:not([data-count=""])::after { content: attr(data-count); position: absolute; top: -.3rem; right: -.3rem; min-width: 1.1rem; height: 1.1rem; padding: 0 .25rem; border-radius: 999px; background: rgb(var(--c-e2c28d)); color: rgb(var(--c-6f521c)); font-size: 10.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
        .is-phone .ed-chip:nth-of-type(2), .is-safe .ed-chip:nth-of-type(3) { background: var(--ink); color: rgb(var(--c-faf8f3)); }
        .ed-save, .ed-dl { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .85rem; border-radius: .8rem; font-size: 13px; font-weight: 600; white-space: nowrap; flex-shrink: 0; }
        .ed-save { color: var(--ink); box-shadow: inset 0 0 0 1px rgb(var(--c-cbc5b9)); background: var(--card); }
        .ed-dl { color: rgb(var(--c-faf8f3)); background: var(--ink); }
        .ed-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 5.25rem 0 minmax(0, 1fr) 17rem 0; }
        .ed.has-drawer .ed-body { grid-template-columns: 5.25rem 19rem minmax(0, 1fr) 17rem 0; }
        .ed.is-phone .ed-body { grid-template-columns: 5.25rem 0 minmax(0, 1fr) 17rem 15rem; }
        .ed.is-phone.has-drawer .ed-body { grid-template-columns: 5.25rem 19rem minmax(0, 1fr) 17rem 15rem; }
        .ed-tools { display: flex; flex-direction: column; gap: .15rem; padding: .5rem .35rem; background: var(--card); box-shadow: 1px 0 0 rgb(var(--c-e4e0d6)); overflow-y: auto; }
        .ed-tool { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: .5rem .2rem; border-radius: .8rem; font-size: 10.5px; line-height: 1.15; color: rgb(var(--c-524d45)); text-align: center; }
        .ed-tool i { font-size: 1.3rem; }
        .ed-tool:hover { background: rgb(var(--c-f0ede5)); color: var(--ink); }
        .ed-tool.is-on { background: rgb(var(--c-fbeee8)); color: rgb(var(--c-63402c)); }
        .ed-drawer { position: relative; overflow-y: auto; background: var(--card); box-shadow: 1px 0 0 rgb(var(--c-e4e0d6)); padding: 1rem; }
        .ed:not(.has-drawer) .ed-drawer { visibility: hidden; padding: 0; overflow: hidden; }
        .ed-tools { grid-column: 1; grid-row: 1; } .ed-drawer { grid-column: 2; grid-row: 1; } .ed-stage { grid-column: 3; grid-row: 1; }
        .ed-props { grid-column: 4; grid-row: 1; } .ed-phone { grid-column: 5; grid-row: 1; }
        .ed-x { position: absolute; top: .6rem; right: .6rem; width: 2rem; height: 2rem; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: rgb(var(--c-6b655b)); }
        .ed-x:hover { background: rgb(var(--c-ebe7de)); color: var(--ink); }
        .ed-sec { padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid rgb(var(--c-e9e4da)); display: grid; gap: .5rem; }
        .ed-sec:last-child { border-bottom: 0; }
        .ed-h { font-size: 14px; font-weight: 600; color: var(--ink); padding-right: 2rem; }
        .ed-sub { font-size: 12px; line-height: 1.5; color: rgb(var(--c-6b655b)); }
        .ed-label { font-size: 12px; font-weight: 600; color: rgb(var(--c-524d45)); margin-top: .25rem; }
        .ed-warn { font-size: 12px; line-height: 1.5; color: rgb(var(--c-6f521c)); background: rgb(var(--c-fbf1e1)); border-radius: .8rem; padding: .55rem .7rem; }
        .ed-btn { display: flex; align-items: center; gap: .5rem; width: 100%; padding: .6rem .75rem; border-radius: .85rem; font-size: 13px; font-weight: 600; color: var(--ink); background: rgb(var(--c-f0ede5)); text-align: left; cursor: pointer; }
        .ed-btn:hover { background: rgb(var(--c-e6e2d8)); }
        .ed-btn i { font-size: 1.05rem; color: rgb(var(--c-895537)); }
        .ed-btn.is-ai { background: var(--ink); color: rgb(var(--c-faf8f3)); }
        .ed-btn.is-ai i { color: rgb(var(--c-d1a58e)); }
        .ed-btn.is-ai .slog-ai { font-size: 1.6em; margin: -0.2em 0; }
        .ed-btn.is-ai:hover { background: rgb(var(--c-30302f)); }
        .ed-mini { display: inline-flex; align-items: center; justify-content: center; gap: .3rem; padding: .45rem .5rem; border-radius: .7rem; font-size: 12px; color: rgb(var(--c-3e3b35)); background: rgb(var(--c-f0ede5)); }
        .ed-mini:hover { color: var(--ink); background: rgb(var(--c-e6e2d8)); }
        .ed-mini.is-danger { color: rgb(var(--c-9b413e)); }
        .ed-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
        .ed-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
        .ed-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; min-height: 4.5rem; padding: .5rem; border-radius: .9rem; font-size: 12px; line-height: 1.25; text-align: center; color: rgb(var(--c-3e3b35)); background: rgb(var(--c-f0ede5)); }
        .ed-card i { font-size: 1.35rem; color: rgb(var(--c-c49276)); }
        .ed-card:hover { background: rgb(var(--c-fbeee8)); color: var(--ink); }
        .ed-tpl { justify-content: flex-start; padding: .55rem .5rem .6rem; }
        .ed-sketch { display: block; width: 3.4rem; border-radius: .35rem; box-shadow: 0 1px 3px rgb(var(--c-2b2620) / .12), 0 0 0 1px rgb(var(--c-2b2620) / .06); }
        .ed-sketch svg { display: block; width: 100%; height: auto; }
        .ed-thumb { position: relative; display: flex; flex-direction: column; gap: .25rem; font-size: 12px; color: rgb(var(--c-3e3b35)); text-align: left; }
        .ed-thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .7rem; background: rgb(var(--c-ebe7de)); outline: 1px solid rgb(var(--c-2b2620) / .08); }
        .ed-thumb-x { position: absolute; top: .3rem; right: .3rem; width: 1.6rem; height: 1.6rem; border-radius: 999px; background: rgb(var(--c-faf8f3) / .92); color: rgb(var(--c-6b655b)); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
        .ed-pic { aspect-ratio: 3 / 4; border-radius: .7rem; overflow: hidden; background: rgb(var(--c-ebe7de)); outline: 1px solid rgb(var(--c-2b2620) / .06); }
        .ed-pic.is-cut { background: repeating-conic-gradient(rgb(var(--c-ebe7de)) 0 25%, rgb(var(--c-fbf9f4)) 0 50%) 0 0 / 14px 14px; }
        .ed-pic img { width: 100%; height: 100%; object-fit: contain; }
        .ed-pic:hover { outline: 2px solid rgb(var(--c-c49276)); }
        .ed-icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: .25rem; }
        .ed-icon { aspect-ratio: 1; border-radius: .6rem; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: rgb(var(--c-3e3b35)); }
        .ed-icon:hover { background: rgb(var(--c-fbeee8)); color: rgb(var(--c-895537)); }
        .ed-pals { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
        .ed-pal { display: flex; height: 2rem; border-radius: .6rem; overflow: hidden; outline: 1px solid rgb(var(--c-2b2620) / .1); }
        .ed-pal span { flex: 1; }
        .ed-row { display: flex; align-items: center; justify-content: space-between; gap: .5rem; font-size: 12.5px; color: rgb(var(--c-3e3b35)); }
        .ed-row input[type=color] { width: 2.4rem; height: 1.9rem; border-radius: .5rem; border: 1px solid rgb(var(--c-ddd8ce)); padding: 1px; background: var(--card); }
        .ed-row .ed-select { max-width: 9.5rem; }
        .ed-num { width: 5rem; padding: .35rem .5rem; border-radius: .6rem; border: 1px solid rgb(var(--c-ddd8ce)); font-size: 12.5px; }
        .ed-input { width: 100%; padding: .5rem .65rem; border-radius: .7rem; border: 1px solid rgb(var(--c-ddd8ce)); font-size: 13px; color: var(--ink); }
        .ed-input:focus { outline: none; border-color: var(--ink); }
        .ed-check { display: flex; gap: .4rem; align-items: center; font-size: 12.5px; color: rgb(var(--c-3e3b35)); }
        .ed-seg { display: flex; gap: .2rem; padding: .2rem; border-radius: .8rem; background: rgb(var(--c-ebe7de)); }
        .ed-segb { flex: 1; display: inline-flex; align-items: center; justify-content: center; padding: .35rem .3rem; border-radius: .6rem; font-size: 12px; color: rgb(var(--c-524d45)); }
        .ed-segb.is-on { background: var(--card); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgb(var(--c-2b2620) / .08); }
        .ed-facts { display: grid; gap: .3rem; }
        .ed-fact { display: grid; grid-template-columns: 1.4rem 1fr; column-gap: .45rem; padding: .5rem .6rem; border-radius: .8rem; background: rgb(var(--c-f0ede5)); text-align: left; font-size: 12px; color: rgb(var(--c-6b655b)); }
        .ed-fact i { grid-row: span 2; font-size: 1.15rem; color: rgb(var(--c-c49276)); }
        .ed-fact b { color: var(--ink); font-size: 12.5px; }
        .ed-fact:hover { background: rgb(var(--c-fbeee8)); }
        .ed-sample { padding: .7rem; border-radius: .9rem; background: rgb(var(--c-fbeee8)); display: grid; gap: .5rem; font-size: 12.5px; color: rgb(var(--c-4d3325)); }
        .ed-checks { display: grid; gap: .45rem; font-size: 12.5px; line-height: 1.5; }
        .ed-checks li { display: flex; gap: .45rem; align-items: flex-start; }
        .ed-checks i { margin-top: .15rem; flex-shrink: 0; }
        .ed-checks .is-ok i { color: rgb(var(--c-c49276)); } .ed-checks .is-warn { color: rgb(var(--c-6f521c)); } .ed-checks .is-warn i { color: rgb(var(--c-c8a15d)); } .ed-checks .is-note { color: rgb(var(--c-524d45)); } .ed-checks .is-note i { color: rgb(var(--c-8d867a)); }
        .ed-stage { position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
        .ed-wrap { position: relative; box-shadow: 0 1px 2px rgb(var(--c-2b2620) / .08), 0 24px 60px -24px rgb(var(--c-2b2620) / .35); }
        .ed-safe { position: absolute; inset: 6%; border: 1.5px dashed rgb(var(--c-895537) / .7); border-radius: .5rem; pointer-events: none; display: none; }
        .ed-safe span { position: absolute; left: .4rem; right: .4rem; bottom: .4rem; font-size: 12px; line-height: 1.35; color: rgb(var(--c-63402c)); background: rgb(var(--c-faf8f3) / .92); padding: .3rem .45rem; border-radius: .5rem; }
        .ed.is-safe .ed-safe { display: block; }
        .ed-props { overflow-y: auto; background: var(--card); box-shadow: -1px 0 0 rgb(var(--c-e4e0d6)); padding: 1rem; display: flex; flex-direction: column; gap: .55rem; }
        .ed-props-checks { display: grid; gap: .35rem; margin-top: .5rem; }
        .ed-phone { overflow-y: auto; background: rgb(var(--c-f6f3ed)); box-shadow: -1px 0 0 rgb(var(--c-e4e0d6)); padding: 1rem; display: none; flex-direction: column; gap: .5rem; }
        .ed.is-phone .ed-phone { display: flex; }
        .ed-phone-big { width: 100%; border-radius: .8rem; box-shadow: 0 1px 3px rgb(var(--c-2b2620) / .12); }
        .ed-phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .6rem; border-radius: 1rem; background: rgb(var(--c-e8e3d9)); }
        .ed-phone-card { border-radius: .6rem; background: var(--card); padding: .25rem .25rem .4rem; display: grid; gap: .25rem; }
        .ed-phone-card img, .ed-phone-ph { width: 100%; aspect-ratio: 3 / 4; border-radius: .45rem; background: linear-gradient(160deg, rgb(var(--c-ebe7de)), rgb(var(--c-ddd8ce))); object-fit: cover; }
        .ed-phone-line { height: .3rem; border-radius: 999px; background: rgb(var(--c-ddd8ce)); width: 85%; }
        .ed-phone-line.short { width: 50%; }
        .ed-slides { display: flex; align-items: center; gap: .5rem; padding: .55rem .9rem; background: var(--card); box-shadow: 0 -1px 0 rgb(var(--c-e4e0d6)); overflow-x: auto; }
        .ed-slide { position: relative; flex-shrink: 0; width: 3.4rem; display: flex; flex-direction: column; align-items: center; gap: .15rem; font-size: 10.5px; color: rgb(var(--c-6b655b)); }
        .ed-slide img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: .45rem; background: rgb(var(--c-ebe7de)); outline: 1px solid rgb(var(--c-2b2620) / .1); }
        .ed-slide.is-on img { outline: 2px solid rgb(var(--c-c49276)); outline-offset: 1px; }
        .ed-slide-x { position: absolute; top: -.35rem; right: -.35rem; width: 1.2rem; height: 1.2rem; border-radius: 999px; background: var(--card); color: rgb(var(--c-6b655b)); font-size: .65rem; display: none; align-items: center; justify-content: center; box-shadow: 0 1px 3px rgb(var(--c-2b2620) / .25); }
        .ed-slide:hover .ed-slide-x { display: inline-flex; }
        .ed-slide-add .ed-select { font-size: 12.5px; }
        .ed-toast { position: absolute; left: 50%; bottom: 4.5rem; transform: translateX(-50%); max-width: min(36rem, calc(100% - 2rem)); padding: .7rem 1rem; border-radius: 1rem; font-size: 13px; line-height: 1.45; box-shadow: 0 16px 40px -12px rgb(var(--c-2b2620) / .35); z-index: 5; }
        .ed-toast.is-error { background: rgb(var(--c-fdebe9)); color: rgb(var(--c-923a38)); }
        .ed-toast.is-info, .ed-toast.is-ok { background: var(--ink); color: rgb(var(--c-faf8f3)); }
        .ed-toast[hidden] { display: none; }
        @media (max-width: 1023px) {
            .ed-body, .ed.has-drawer .ed-body, .ed.is-phone .ed-body, .ed.is-phone.has-drawer .ed-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; }
            .ed-tools { grid-column: 1; grid-row: 1; flex-direction: row; overflow-x: auto; overflow-y: hidden; padding: .35rem; box-shadow: 0 1px 0 rgb(var(--c-e4e0d6)); }
            .ed-stage { grid-column: 1; grid-row: 2; } .ed-props { grid-column: 1; grid-row: 3; } .ed-drawer { grid-column: 1; grid-row: 2; }
            .ed:not(.has-drawer) .ed-drawer { display: none; }
            .ed-tool { flex: 0 0 4.4rem; }
            .ed-drawer { position: absolute; z-index: 4; left: 0; right: 0; top: 4.2rem; max-height: 55vh; box-shadow: 0 20px 40px -16px rgb(var(--c-2b2620) / .35); border-radius: 0 0 1.25rem 1.25rem; }
            .ed-stage { min-height: 45vh; }
            .ed-props { max-height: 34vh; box-shadow: 0 -1px 0 rgb(var(--c-e4e0d6)); }
            .ed-phone { display: none !important; }
            .ed-name { width: 9rem; }
        }

    

        /* «Подождать» в окне «Ваш товар уже рисуется» (п. 18, 17.11.2026): рамка на секунду выделяет, где идёт рисование */
        #stage-wrap.is-flash { box-shadow: 0 0 0 3px rgb(var(--c-d1a58e)); border-radius: 1.5rem; transition: box-shadow .3s ease; }
