.mobile-menu { display: none; }
.pricing-mobile-switch,
.pricing-mobile-progress { display: none; }

.page-support .contact-widget,
.page-login .contact-widget,
.page-register .contact-widget,
body[class*="page-password_"] .contact-widget,
body[class*="page-registration_"] .contact-widget { display: none; }

@media (max-width: 720px) {
    :root { --mobile-ink: #101217; --mobile-paper: #f1efe8; --mobile-lime: #c8ff32; }
    html { scroll-padding-top: 76px; }
    body:not(.customer-auth-body) main { overflow: clip; }

    /* Отдельная мобильная шапка и меню. */
    .public-header,
    .profit-home .public-header,
    .editorial-public .public-header {
        position: sticky;
        top: 0;
        z-index: 120;
        width: 100%;
        min-height: 64px;
        padding: 0 14px;
        border-bottom: 1.5px solid var(--mobile-ink);
        background: rgba(241,239,232,.94);
        backdrop-filter: blur(18px);
    }
    .public-header .public-nav { display: none; }
    .public-header .deepseller-brand { gap: 9px; }
    .public-header .deepseller-brand__mark,
    .profit-home .public-header .deepseller-brand__mark {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        padding: 4px;
        border: 2px solid var(--mobile-ink);
        border-radius: 13px 5px 13px 5px;
        background: var(--mobile-ink);
        box-shadow: 3px 3px 0 var(--mobile-lime);
        transform: none;
    }
    .public-header .deepseller-brand__name,
    .profit-home .public-header .deepseller-brand__name { color: var(--mobile-ink); font-size: 17px; }
    .public-header .deepseller-brand__signature { display: none; }

    .mobile-menu { position: relative; display: block; margin-left: auto; }
    .mobile-menu > summary { list-style: none; }
    .mobile-menu > summary::-webkit-details-marker { display: none; }
    .mobile-menu__toggle {
        display: flex;
        min-height: 44px;
        padding: 0 6px 0 13px;
        align-items: center;
        gap: 10px;
        border: 2px solid var(--mobile-ink);
        border-radius: 999px;
        background: #fff;
        color: var(--mobile-ink);
        font-size: .69rem;
        font-weight: 900;
        cursor: pointer;
    }
    .mobile-menu__toggle > i { display: grid; width: 30px; height: 30px; place-content: center; gap: 5px; border-radius: 50%; background: var(--mobile-ink); }
    .mobile-menu__toggle b { display: block; width: 14px; height: 2px; border-radius: 2px; background: #fff; transition: transform .18s ease; }
    .mobile-menu[open] .mobile-menu__toggle b:first-child { transform: translateY(3.5px) rotate(45deg); }
    .mobile-menu[open] .mobile-menu__toggle b:last-child { transform: translateY(-3.5px) rotate(-45deg); }
    .mobile-menu__sheet {
        position: fixed;
        top: 72px;
        right: 12px;
        left: 12px;
        z-index: 130;
        display: grid;
        gap: 14px;
        max-height: calc(100dvh - 176px);
        padding: 20px;
        overflow-y: auto;
        border: 2px solid var(--mobile-ink);
        border-radius: 24px 8px 24px 8px;
        background: #fbfaf5;
        box-shadow: 8px 8px 0 var(--mobile-ink);
    }
    .mobile-menu__eyebrow { margin: 0; color: #676b73; font-size: .6rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
    .mobile-menu__sheet > strong { font-size: 1.75rem; letter-spacing: -.055em; }
    .mobile-menu__sheet nav { display: grid; border-top: 2px solid var(--mobile-ink); }
    .mobile-menu__sheet nav a { display: grid; grid-template-columns: 28px 1fr auto; min-height: 55px; padding: 0 3px; align-items: center; border-bottom: 1px solid rgba(17,18,23,.18); color: var(--mobile-ink); text-decoration: none; }
    .mobile-menu__sheet nav a[aria-current="page"] { margin-inline: -10px; padding-inline: 13px; background: var(--mobile-lime); }
    .mobile-menu__sheet nav span { color: #777b83; font: 800 .58rem/1 Consolas, monospace; }
    .mobile-menu__sheet nav b { font-size: .86rem; }
    .mobile-menu__sheet nav i { font-size: 1rem; font-style: normal; }
    .mobile-menu__service { display: flex; flex-wrap: wrap; gap: 8px; }
    .mobile-menu__service a { display: inline-flex; min-height: 44px; padding: 8px 11px; align-items: center; border: 1px solid rgba(17,18,23,.28); border-radius: 999px; color: #4f535b; font-size: .7rem; text-decoration: none; }
    .mobile-menu__account { display: flex; min-height: 52px; padding: 0 15px; align-items: center; justify-content: space-between; border: 2px solid var(--mobile-ink); border-radius: 14px; background: var(--mobile-ink); color: #fff; font-size: .76rem; font-weight: 850; text-decoration: none; }
    .mobile-menu__account span { color: var(--mobile-lime); font-size: 1.1rem; }

    .public-footer { display: none; }
    .contact-widget,
    .profit-home .contact-widget {
        top: 10px;
        right: 118px;
        bottom: auto;
        z-index: 125;
    }
    .contact-widget__toggle-circle,
    .profit-home .contact-widget__toggle-circle {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border: 2px solid var(--mobile-ink);
        border-radius: 13px 5px 13px 5px;
        background: var(--mobile-lime);
        color: var(--mobile-ink);
        box-shadow: 3px 3px 0 var(--mobile-ink);
    }
    .editorial-public .contact-widget__toggle {
        gap: 0;
        min-height: 0;
        padding: 0;
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .editorial-public .contact-widget__toggle > .contact-widget__label { display: none; }
    .editorial-public .contact-widget__toggle-circle,
    .editorial-public .contact-widget[open] .contact-widget__toggle-circle {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
        border: 2px solid var(--mobile-ink);
        border-radius: 13px 5px 13px 5px;
        background: var(--mobile-lime);
        color: var(--mobile-ink);
        box-shadow: 3px 3px 0 var(--mobile-ink);
    }
    .contact-widget__toggle-circle svg,
    .profit-home .contact-widget__toggle-circle svg { width: 22px; height: 22px; }
    .page-support .contact-widget,
    .page-login .contact-widget,
    .page-register .contact-widget,
    body[class*="page-password_"] .contact-widget,
    body[class*="page-registration_"] .contact-widget { display: none; }
    .contact-widget__menu,
    .profit-home .contact-widget__menu {
        position: fixed;
        top: 72px;
        right: 12px;
        bottom: auto;
        left: 12px;
        width: auto;
        min-width: 0;
        max-height: calc(100dvh - 92px);
        overflow-y: auto;
    }
    .editorial-public .contact-widget__menu {
        border-color: var(--mobile-ink);
        background: rgba(250,249,244,.97);
        color: var(--mobile-ink);
        box-shadow: 7px 7px 0 var(--mobile-ink);
    }

    /* Главная: самостоятельная последовательность экранов и свайп-карточек. */
    .page-home .profit-canvas { padding-top: 0; }
    .page-home .profit-hero { gap: 26px; width: 100%; padding: 34px 14px 38px; }
    .page-home .profit-kicker { font-size: .59rem; line-height: 1.35; }
    .page-home .profit-hero__statement { max-width: 100%; margin-top: 16px; font-size: clamp(2.9rem, 14vw, 4rem); line-height: .91; overflow-wrap: anywhere; }
    .page-home .profit-hero__lead { margin-top: 22px; font-size: .96rem; line-height: 1.55; }
    .page-home .profit-actions { display: grid; gap: 9px; }
    .page-home .profit-button { width: 100%; min-height: 54px; padding-inline: 16px; }
    .page-home .profit-contacts a { display: inline-flex; min-height: 44px; align-items: center; }
    .page-home .search-doors { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
    .page-home .search-doors > span { grid-column: 1 / -1; font-size: .64rem; }
    .page-home .search-doors a { display: grid; min-height: 50px; padding: 10px; place-items: center; border: 2px solid var(--mobile-ink); border-radius: 13px; background: #fff; font-size: .68rem; text-align: center; }
    .page-home .profit-system { min-height: 390px; margin-top: 4px; border-radius: 28px 8px 28px 8px; }
    .page-home .profit-system__core { width: 168px; height: 168px; }
    .page-home .profit-proof { display: flex; width: 100%; padding: 18px 14px 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .page-home .profit-proof::-webkit-scrollbar,
    .page-home .change-stream::-webkit-scrollbar { display: none; }
    .page-home .profit-proof p { min-width: 72vw; padding: 18px; flex: 0 0 auto; scroll-snap-align: center; border: 2px solid var(--mobile-ink); border-radius: 17px; background: #fff; box-shadow: 4px 4px 0 var(--mobile-ink); }
    .page-home .change-field,
    .page-home .repricer-section,
    .page-home .seller-note,
    .page-home .profit-final { width: calc(100% - 20px); }
    .page-home .change-stream { display: flex; gap: 10px; margin-inline: -8px; padding: 4px 8px 10px; overflow-x: auto; scroll-snap-type: x mandatory; }
    .page-home .change-stream article { min-width: 78vw; flex: 0 0 auto; scroll-snap-align: center; }
    .page-home .profit-heading h2 { font-size: clamp(2.15rem, 10.5vw, 3rem); line-height: .96; }
    .page-home .mechanic { grid-template-columns: 1fr; gap: 22px; padding: 22px 18px; border-width: 2px; border-radius: 22px 7px 22px 7px; }
    .page-home .mechanic__number { position: absolute; top: 15px; right: 16px; }
    .page-home .mechanic__copy h3 { padding-right: 30px; font-size: 1.75rem; line-height: 1; }
    .page-home .tariff-flow,
    .page-home .catalog-field,
    .page-home .margin-formula,
    .page-home .publish-line,
    .page-home .promo-gate { min-height: 170px; }
    .page-home .repricer-copy ul { gap: 8px; }
    .page-home .repricer-copy li { grid-template-columns: 1fr; gap: 7px; padding: 14px 0; }
    .page-home .repricer-copy__winner { margin: 10px -8px 0; padding: 18px !important; border: 2px solid var(--mobile-ink); border-radius: 17px; background: var(--mobile-lime); box-shadow: 4px 4px 0 var(--mobile-ink); }
    .page-home .calculator-links { gap: 10px; }
    .page-home .calculator-links a { grid-template-columns: 54px 1fr auto; min-height: 88px; padding: 12px; border-width: 2px; }
    .page-home .seller-note { grid-template-columns: 66px 1fr; }
    .page-home .profit-faq details { border-bottom-width: 2px; }
    .page-home .profit-final { margin-bottom: 24px; }
    .page-home .profit-contacts { width: 100%; padding: 48px 14px 110px; }

    /* Тарифы: все варианты видны в переключателе, подробности открываются по одному. */
    .page-pricing .pricing-body { width: 100%; padding: 34px 14px 70px; }
    .page-pricing .pricing-heading { gap: 9px; margin-bottom: 22px; }
    .page-pricing .pricing-heading h1 { font-size: clamp(2.75rem, 12vw, 3.45rem); line-height: .93; }
    .page-pricing .pricing-mobile-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; padding: 5px; border: 2px solid var(--mobile-ink); border-radius: 17px; background: var(--mobile-ink); }
    .page-pricing .pricing-mobile-tab { min-width: 0; min-height: 68px; padding: 7px 3px; border: 0; border-radius: 11px; background: #fbfaf5; color: var(--mobile-ink); cursor: pointer; }
    .page-pricing .pricing-mobile-tab i { display: block; margin-bottom: 6px; color: #737780; font: 800 .55rem/1 Consolas, monospace; font-style: normal; }
    .page-pricing .pricing-mobile-tab b { display: block; overflow: hidden; font-size: clamp(.58rem, 2.8vw, .7rem); line-height: 1.1; text-overflow: ellipsis; }
    .page-pricing .pricing-mobile-tab small { display: block; margin-top: 4px; color: #62666e; font-size: clamp(.5rem, 2.4vw, .58rem); line-height: 1; white-space: nowrap; }
    .page-pricing .pricing-mobile-tab.is-active { background: var(--mobile-lime); box-shadow: inset 0 0 0 1px var(--mobile-ink); }
    .page-pricing .pricing-mobile-tab.is-active i,
    .page-pricing .pricing-mobile-tab.is-active small { color: var(--mobile-ink); }
    .page-pricing .pricing-mobile-tab:focus-visible { outline: 3px solid #fff; outline-offset: -5px; }
    .page-pricing .pricing-mobile-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin: 10px 4px 14px; }
    .page-pricing .pricing-mobile-progress i { height: 4px; border-radius: 99px; background: #d4d1c9; }
    .page-pricing .pricing-mobile-progress i.is-active { background: var(--mobile-ink); }
    .page-pricing .pricing-grid { display: block; margin: 0; padding: 0; overflow: visible; }
    .page-pricing .pricing-grid.pricing-grid--mobile-ready .pricing-card { display: none; }
    .page-pricing .pricing-grid.pricing-grid--mobile-ready .pricing-card.is-active { display: flex; }
    .page-pricing .pricing-card { width: 100%; min-width: 0; max-width: none; height: auto; padding: 20px; overflow: hidden; border-radius: 19px 6px 19px 6px; box-shadow: 5px 5px 0 var(--mobile-ink); transform: none; }
    .page-pricing .pricing-card > * { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
    .page-pricing .pricing-card h2 { margin-top: 22px; font-size: clamp(1.7rem, 8.6vw, 2.1rem); line-height: .98; }
    .page-pricing .pricing-card__lead { margin-top: 13px; font-size: .88rem; line-height: 1.52; }
    .page-pricing .pricing-price { grid-template-columns: 1fr; gap: 7px; margin: 27px 0 18px; }
    .page-pricing .pricing-price strong { font-size: clamp(2.8rem, 14vw, 3.6rem); line-height: .88; }
    .page-pricing .pricing-price span { padding: 0; font-size: .72rem; }
    .page-pricing .pricing-price--promo s { font-size: .78rem; }
    .page-pricing .pricing-card__benefit { margin-bottom: 19px; padding: 14px; border-width: 1.5px; }
    .page-pricing .pricing-features { gap: 11px; padding: 19px 0; }
    .page-pricing .service-body .pricing-features li { padding-left: 25px; font-size: .78rem; line-height: 1.45; }
    .page-pricing .pricing-infrastructure { margin-bottom: 19px; padding: 14px; }
    .page-pricing .annual-offer { position: relative; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin-bottom: 20px; padding: 0; overflow: hidden; border: 2px solid var(--mobile-ink); border-radius: 15px 5px 15px 5px; background: #fff; }
    .page-pricing .annual-offer > div { min-height: 116px; padding: 14px 12px; align-content: center; }
    .page-pricing .annual-offer > div + div { border-left: 1px solid var(--mobile-ink); background: var(--mobile-lime); }
    .page-pricing .annual-offer span { font-size: .58rem; font-weight: 800; line-height: 1.3; text-transform: uppercase; }
    .page-pricing .annual-offer strong { font-size: clamp(1.25rem, 6.5vw, 1.65rem); line-height: 1; }
    .page-pricing .annual-offer s { font-size: .64rem; }
    .page-pricing .annual-offer b { font-size: .75rem; line-height: 1.2; }
    .page-pricing .annual-offer small { margin-top: 3px; color: #3f434a; font-size: .6rem; line-height: 1.3; }
    .page-pricing .pricing-card__action { position: static; width: 100%; min-height: 52px; margin-top: auto; }
    .page-pricing .pricing-card__microcopy { min-height: 0; font-size: .67rem; line-height: 1.45; }
    .page-pricing .pricing-explainer { margin-top: 46px; padding-top: 34px; }
    .page-pricing .pricing-explainer__heading { grid-template-columns: 1fr; gap: 16px; }
    .page-pricing .pricing-explainer__heading h2 { font-size: 2.55rem; }
    .page-pricing .pricing-explainer__heading > p { font-size: .9rem; line-height: 1.55; }
    .page-pricing .pricing-explainer__grid { grid-template-columns: 1fr; gap: 10px; margin-top: 24px; }
    .page-pricing .pricing-explainer__grid article { min-height: 0; padding: 20px; border-radius: 19px 6px 19px 6px; }
    .page-pricing .pricing-explainer__grid h3 { margin-top: 26px; font-size: 1.65rem; }
    .page-pricing .pricing-explainer__note { grid-template-columns: 1fr; gap: 18px; padding: 20px; border-radius: 6px 19px 6px 19px; }
    .page-pricing .pricing-explainer__note .button { width: 100%; }

    /* Калькуляторы: ввод по этапам, результат — отдельный финальный экран. */
    .editorial-calculator .calculator-page,
    .editorial-calculator .calculator-hub { width: 100%; padding: 34px 14px 58px; }
    .editorial-calculator .calculator-page__header,
    .editorial-calculator .calculator-hub__intro { gap: 18px; margin-bottom: 24px; }
    .editorial-calculator .calculator-page__header h1,
    .editorial-calculator .calculator-hub__intro h1 { font-size: clamp(2.75rem, 12.6vw, 3.7rem); line-height: .92; }
    .editorial-calculator .marketplace-switch { position: sticky; top: 82px; z-index: 20; width: 100%; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 7px 18px rgba(17,18,23,.12); }
    .editorial-calculator .calculator-tool { width: 100%; margin: 0; }
    .editorial-calculator .calculator-form { padding: 15px; }
    .editorial-calculator .calculator-fields,
    .editorial-calculator .calculator-fields + .calculator-fields { padding: 15px; }
    .editorial-calculator .calculator-fields input,
    .editorial-calculator .calculator-fields select,
    .editorial-calculator .calculator-segmented { min-height: 52px; }
    .editorial-calculator .calculator-submit { min-height: 58px; }
    .editorial-calculator .calculator-result { min-height: 360px; }
    .editorial-calculator .calculator-choice { grid-template-columns: 1fr; gap: 11px; margin-top: 28px; }
    .editorial-calculator .calculator-choice__item { min-height: 132px; padding: 18px; }
    .editorial-calculator .calculator-seo,
    .editorial-calculator .calculator-faq,
    .editorial-calculator .calculator-cta { width: calc(100% - 28px); padding-block: 48px; }

    /* Ведение магазина: действие, условия и команда идут до длинного описания. */
    .editorial-management .management-hero { width: 100%; padding: 34px 14px 32px; grid-template-columns: minmax(0, 1fr); }
    .editorial-management .management-hero > *,
    .editorial-management .management-hero h1,
    .editorial-management .management-collage { min-width: 0; max-width: 100%; }
    .editorial-management .management-hero h1 { font-size: clamp(2.8rem, 12.5vw, 3.7rem); }
    .editorial-management .management-hero .actions { display: grid; gap: 8px; }
    .editorial-management .management-hero .button { width: 100%; min-height: 54px; }
    .editorial-management .management-hero__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 14px 0 4px; overflow: visible; }
    .editorial-management .management-hero__facts li { min-width: 0; min-height: 74px; padding: 9px 6px; align-content: center; justify-items: center; gap: 5px; border: 1px solid rgba(17,18,23,.2); border-radius: 13px; background: #fff; text-align: center; }
    .editorial-management .management-hero__facts strong { font-size: .69rem; line-height: 1.15; }
    .editorial-management .management-hero__facts span { font-size: .55rem; line-height: 1.25; }
    .editorial-management .management-collage { margin-top: 22px; }
    .editorial-management .management-trust { display: none; }
    .editorial-management .management-section { width: 100%; padding: 52px 14px; }
    .editorial-management .management-heading { gap: 18px; }
    .editorial-management .management-heading h2 { font-size: clamp(2.35rem, 11vw, 3.1rem); }
    .editorial-management .management-scope-grid { grid-template-columns: 1fr; gap: 10px; }
    .editorial-management .management-scope-card { min-height: 0; padding: 20px; border-radius: 19px 6px 19px 6px; }
    .editorial-management .management-card-icon { width: 46px; height: 46px; }
    .editorial-management .management-economics__formula { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; padding-bottom: 20px; overflow: visible; }
    .editorial-management .management-economics__formula b { display: none; }
    .editorial-management .management-economics__formula span { position: relative; min-width: 0; }
    .editorial-management .management-economics__formula span:nth-of-type(2)::before,
    .editorial-management .management-economics__formula span:nth-of-type(3)::before,
    .editorial-management .management-economics__formula span:nth-of-type(4)::before,
    .editorial-management .management-economics__formula .is-accent::before { position: absolute; top: 6px; left: 7px; display: grid; width: 18px; height: 18px; place-items: center; border: 1px solid var(--mobile-ink); border-radius: 50%; background: #fff; color: var(--mobile-ink); font: 900 .62rem/1 Arial, sans-serif; content: "−"; }
    .editorial-management .management-economics__formula .is-accent { grid-column: 1 / -1; }
    .editorial-management .management-economics__formula .is-accent::before { content: "="; }
    .editorial-management .management-price { grid-template-columns: 1fr; }

    /* Поддержка, документы и подключение WB — отдельные мобильные карточки. */
    .editorial-page .service-hero { width: 100%; padding: 34px 14px 24px; }
    .editorial-page .service-hero h1 { font-size: clamp(2.8rem, 12vw, 3.7rem); line-height: .92; }
    .editorial-page .service-body:not(.pricing-body) { width: calc(100% - 28px); margin-bottom: 58px; padding: 18px; border-radius: 20px 7px 20px 7px; }
    .editorial-page.page-support .service-body.support-body { width: 100%; margin-inline: 0; padding: 12px 14px 34px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
    .page-support .support-contact-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; width: 100%; }
    .page-support .service-body .support-contact-card {
        grid-template-columns: minmax(0, 1fr) 42px;
        grid-template-rows: auto auto auto;
        min-width: 0;
        min-height: 120px;
        padding: 15px 13px 15px 16px;
        align-content: center;
        column-gap: 12px;
        row-gap: 4px;
        border-radius: 17px 5px 17px 5px;
    }
    .page-support .support-contact-card__kicker { grid-column: 1; margin: 0; font-size: .57rem; line-height: 1.15; }
    .page-support .support-contact-card strong { grid-column: 1; max-width: none; margin: 3px 0 0; font-size: clamp(1.08rem, 5.7vw, 1.38rem); line-height: 1.03; overflow-wrap: anywhere; }
    .page-support .support-contact-card .support-phone { font-size: clamp(1rem, 5.2vw, 1.28rem); }
    .page-support .support-contact-card small { grid-column: 1; max-width: none; margin: 2px 0 0; color: #4f535b; font-size: .66rem; line-height: 1.35; opacity: 1; }
    .page-support .support-contact-card:nth-child(2) { background: #dce8ff; }
    .page-support .support-contact-card:nth-child(3) { background: #efffbf; }
    .page-support .support-contact-card:nth-child(4) { background: #ffd8e9; }
    .page-support .support-contact-card:nth-child(5) { background: #fff0bd; }
    .page-support .support-contact-card__arrow { position: static; grid-column: 2; grid-row: 1 / 4; display: grid; width: 42px; height: 42px; place-items: center; align-self: center; border: 2px solid var(--mobile-ink); border-radius: 50%; background: rgba(255,255,255,.55); font-size: 1.05rem; }
    .page-support .support-contact-card--primary .support-contact-card__arrow { background: #fff; }
    .page-support .support-prep { grid-template-columns: 1fr; gap: 21px; margin-top: 34px; padding-top: 28px; }
    .page-support .support-prep__heading h2 { font-size: 2rem; line-height: .98; }
    .page-support .support-checklist li { grid-template-columns: 42px 1fr; padding: 16px 0; }
    .page-support .support-email { padding: 14px; font-size: .72rem; line-height: 1.45; }
    .page-privacy .legal-document,
    .page-terms .legal-document { padding: 0; }
    .page-privacy .service-hero h1,
    .page-terms .service-hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); overflow-wrap: normal; word-break: normal; hyphens: none; }
    .editorial-calculator .calculator-field__hint { font-size: .78rem; line-height: 1.5; }
    .page-privacy .legal-document section,
    .page-terms .legal-document section { margin: 0 0 10px; padding: 18px; border: 1px solid rgba(17,18,23,.22); border-radius: 16px; background: #fff; }
    .page-privacy .legal-document h2,
    .page-terms .legal-document h2 { font-size: 1.25rem; line-height: 1.15; }
    .page-privacy .legal-document p,
    .page-privacy .legal-document li,
    .page-terms .legal-document p,
    .page-terms .legal-document li { color: #4f535b; font-size: .86rem; line-height: 1.6; }
    .page-cloud .service-body { background: #dce8ff !important; }
    .page-cloud .service-body ol { display: grid; gap: 10px; padding: 0; list-style: none; counter-reset: mobile-step; }
    .page-cloud .service-body li { display: grid; grid-template-columns: 42px 1fr; min-height: 72px; padding: 14px; align-items: center; gap: 12px; border: 2px solid var(--mobile-ink); border-radius: 15px; background: #fff; counter-increment: mobile-step; }
    .page-cloud .service-body li::before { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 12px; background: var(--mobile-lime); content: counter(mobile-step, decimal-leading-zero); font: 850 .64rem/1 Consolas, monospace; }

    /* Авторизация и платёжные экраны — одна колонка, крупные поля и действия. */
    .customer-auth-body { background: var(--mobile-paper); }
    .customer-auth-body .login-shell { width: 100%; min-height: 100dvh; padding: 24px 14px; align-content: center; }
    .customer-auth-body .login-shell > div { width: 100%; }
    .customer-auth-body .login-card { width: 100%; padding: 20px; border: 2px solid var(--mobile-ink); border-radius: 22px 7px 22px 7px; background: #fff; box-shadow: 7px 7px 0 var(--mobile-lime); }
    .customer-auth-body .login-card input[type=email],
    .customer-auth-body .login-card input[type=password],
    .customer-auth-body .login-card input[type=text] { min-height: 54px; border: 2px solid var(--mobile-ink); border-radius: 12px; background: #fbfaf5; color: var(--mobile-ink); }
    .customer-auth-body .login-card .button { width: 100%; min-height: 54px; }
}

@media (max-width: 370px) {
    .mobile-menu__toggle > span { display: none; }
    .contact-widget,
    .profit-home .contact-widget { right: 74px; }
    .page-home .profit-hero__statement { font-size: 2.7rem; }
    .editorial-management .management-collage__top > span { max-width: 130px; }
}
