﻿:root {
    --page-bg: #f6f7fd;
    --surface: #ffffff;
    --text: #24314f;
    --muted: #69768f;
    --line: #ebeff8;
    --shadow: 0 18px 46px rgba(49, 73, 124, 0.08);
    --purple: #7350f2;
    --purple-deep: #5c3fe0;
    --purple-soft: #f1edff;
    --blue: #60aefb;
    --pink: #ff88ba;
    --orange: #ffb067;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(143, 176, 255, 0.16), transparent 28%),
        linear-gradient(180deg, #fbfcff 0%, var(--page-bg) 100%);
    color: var(--text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    min-width: 1240px;
    overflow-x: auto;
}

a { color: inherit; }
.landing-page { padding: 18px 18px 28px; }

.hero-section,
.value-section,
.trust-section,
.seo-section,
.process-section,
.pricing-section,
.faq-section,
.site-footer-shell,
.account-shell,
.login-shell,
.register-shell {
    width: min(100%, 1080px);
    min-width: 1080px;
    margin: 0 auto;
}

.hero-surface,
.account-surface,
.login-surface,
.register-surface {
    padding: 18px 22px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 26px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: #405075;
}

.brand-logo {
    display: block;
    width: 170px;
    height: auto;
}

.brand-orbit { position: relative; width: 24px; height: 16px; }

.brand-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 999px;
}

.brand-dot-primary {
    top: 0;
    left: 0;
    background: linear-gradient(135deg, var(--blue), var(--purple));
}

.brand-dot-secondary {
    top: 1px;
    right: 0;
    background: linear-gradient(135deg, #6ed8f8, #f48dc3);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex: 1;
    font-size: 0.9rem;
    font-weight: 600;
    color: #55627d;
}

.nav-links a,
.footer-links a { text-decoration: none; }

.nav-account {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.nav-account-status {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(74, 188, 137, 0.12), rgba(124, 92, 247, 0.12));
    color: #355d74;
    font-size: 0.86rem;
    font-weight: 700;
    white-space: nowrap;
}

.nav-button,
.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}

.nav-button,
.button-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #6e48f3, #7c5cf7);
    box-shadow: 0 12px 26px rgba(111, 77, 237, 0.24);
}

.button-secondary {
    color: #374766;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(76, 94, 136, 0.08);
}

.google-auth-button {
    gap: 10px;
}

.google-auth-button__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(31, 42, 68, 0.14);
    color: #3154b8;
    font-weight: 900;
    line-height: 1;
}

.compact { min-height: 44px; padding: 0 18px; }

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 480px);
    gap: 28px;
    align-items: center;
}

.hero-copy h1,
.account-topbar h1,
.login-topbar h1,
.register-topbar h1 {
    margin: 0;
    letter-spacing: -0.04em;
}

.hero-copy h1 {
    max-width: 470px;
    font-size: clamp(2.2rem, 5vw, 3.7rem);
    line-height: 1.08;
}

.hero-description {
    max-width: 460px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.04rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-action-note {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.hero-media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 170px 82px 82px;
    gap: 12px;
    align-items: stretch;
}

.hero-collage {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(73, 93, 140, 0.14);
}

.hero-collage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.35), transparent 30%),
        linear-gradient(135deg, rgba(36, 46, 94, 0.85), rgba(122, 75, 203, 0.6) 52%, rgba(93, 169, 255, 0.7));
}

.hero-collage::after {
    content: "";
    position: absolute;
    left: 18%;
    bottom: -8%;
    width: 52%;
    height: 58%;
    border-radius: 120px 120px 0 0;
    background: rgba(255, 255, 255, 0.24);
    filter: blur(28px);
}

.hero-collage-main { grid-column: 1 / 3; grid-row: 1; }
.hero-collage-main::before,
.hero-collage-main::after {
    display: none;
}

.hero-collage-main img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-collage-small {
    grid-row: 2 / 4;
    background: #ffffff;
}

.hero-collage-small:nth-of-type(2) { grid-column: 1 / 2; }
.hero-collage-small:nth-of-type(3) { grid-column: 2 / 3; }
.hero-collage-small::before,
.hero-collage-small::after {
    display: none;
}

.hero-collage-small img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-screen {
    position: absolute;
    top: 20px;
    left: 22px;
    width: 46%;
    height: 56%;
    border-radius: 16px;
    border: 4px solid rgba(255, 255, 255, 0.38);
    background: rgba(17, 27, 54, 0.38);
    z-index: 1;
}

.hero-play {
    position: absolute;
    top: 50%;
    left: 56%;
    width: 68px;
    height: 68px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.hero-play::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 54%;
    transform: translate(-50%, -50%);
    border-left: 18px solid #ffffff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.benefit-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 60px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(77, 98, 141, 0.08);
    font-size: 0.95rem;
    font-weight: 700;
    color: #4d5d7f;
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--blue), var(--purple));
    font-size: 0.74rem;
}

.process-section,
.value-section,
.pricing-section,
.faq-section,
.account-page,
.login-page,
.register-page {
    padding-top: 44px;
}

.process-section h2,
.value-section h2,
.trust-section h2,
.seo-section h2,
.pricing-copy h2,
.faq-section h2 {
    margin: 0 0 22px;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    letter-spacing: -0.03em;
}

.value-section {
    padding-top: 44px;
}

.value-section-copy,
.trust-section p,
.seo-section p {
    max-width: 760px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.value-grid {
    display: grid;
    gap: 16px;
}

.value-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.value-grid-five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.value-card {
    padding: 18px 16px 20px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.value-card h3 {
    margin: 0 0 10px;
    color: #132a58;
    font-size: 1.02rem;
    line-height: 1.25;
}

.value-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.58;
}

.value-card-compact {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 800;
    color: #253c72;
}

.trust-section,
.seo-section {
    margin-top: 44px;
    padding: 30px 32px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.trust-section h2,
.seo-section h2 {
    margin-bottom: 12px;
}

.trust-section p:last-child,
.seo-section p:last-child {
    margin-bottom: 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.process-card {
    padding: 18px 16px 20px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.process-step {
    margin-bottom: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #3a4a69;
}

.process-illustration {
    position: relative;
    width: 78px;
    height: 78px;
    margin-bottom: 16px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(111, 77, 237, 0.12), rgba(96, 174, 251, 0.12));
}

.process-illustration::before,
.process-illustration::after { content: ""; position: absolute; }

.icon-upload::before {
    inset: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6f4ded, #8e75ff);
}

.icon-upload::after {
    left: 29px;
    top: 26px;
    border-left: 12px solid #ffffff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.icon-settings::before {
    width: 38px;
    height: 38px;
    top: 20px;
    left: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffb36a, #7f82ff);
    box-shadow: 0 0 0 8px rgba(255, 176, 103, 0.18);
}

.icon-settings::after {
    width: 14px;
    height: 14px;
    top: 32px;
    left: 32px;
    border-radius: 50%;
    background: #ffffff;
}

.icon-payment::before {
    width: 48px;
    height: 32px;
    top: 24px;
    left: 15px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ffa36d, #ffcc66);
}

.icon-payment::after {
    width: 18px;
    height: 18px;
    top: 30px;
    right: 15px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6f4ded, #60aefb);
}

.icon-result::before {
    inset: 16px 12px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #ff96c0, #7f74ff 56%, #62b1ff);
}

.icon-result::after {
    width: 30px;
    height: 20px;
    right: 10px;
    bottom: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
}

.process-card h3 {
    margin: 0 0 10px;
    font-size: 1.02rem;
}

.process-card p,
.pricing-copy p,
.faq-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.pricing-section {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 22px;
    align-items: center;
}

.pricing-copy { padding-right: 20px; }
.pricing-copy p { max-width: 340px; margin-bottom: 22px; }

.pricing-visual {
    position: relative;
    min-height: 260px;
    border-radius: 24px;
    overflow: hidden;
}

.pricing-photo {
    position: absolute;
    inset: 0 0 0 0;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.34), transparent 28%),
        linear-gradient(135deg, rgba(250, 131, 170, 0.88), rgba(111, 77, 237, 0.8) 58%, rgba(96, 174, 251, 0.8));
    box-shadow: var(--shadow);
}

.price-float-card {
    position: absolute;
    top: 24px;
    right: 24px;
    width: min(290px, calc(100% - 48px));
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 28px rgba(66, 85, 129, 0.16);
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 8px;
    color: #566682;
    font-size: 0.95rem;
}

.price-row strong { color: var(--text); }

.price-row.total {
    margin-top: 6px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
    font-weight: 700;
}

.price-row.total strong {
    color: #1c2741;
    font-size: 1.5rem;
}

.faq-section { text-align: center; }
.faq-list { width: min(100%, 760px); margin: 0 auto; }

.faq-item {
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(73, 94, 139, 0.08);
    text-align: left;
}

.faq-item summary {
    position: relative;
    padding: 18px 56px 18px 20px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: #7a67ea;
    font-size: 1.3rem;
}

.faq-item[open] summary::after { content: "-"; }
.faq-item p { padding: 0 20px 18px; }

.site-footer { padding: 30px 18px 36px; }
.site-footer-shell { text-align: center; }

.payments-label {
    color: #8391aa;
    font-size: 0.92rem;
    margin-bottom: 12px;
}

.payments-row {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: #62738f;
    font-size: 1.2rem;
    font-weight: 800;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    color: #6e7b95;
    font-size: 0.92rem;
}

.footer-copy {
    margin: 14px 0 0;
    color: #97a4bb;
    font-size: 0.88rem;
}

.account-page,
.login-page,
.register-page,
.order-page {
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 28px;
}

.account-topbar,
.login-topbar,
.register-topbar,
.order-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.account-kicker,
.login-kicker,
.register-kicker,
.order-kicker {
    margin: 0 0 8px;
    color: #7a67ea;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-topbar h1,
.login-topbar h1,
.register-topbar h1,
.order-topbar h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

.account-notice,
.login-notice,
.register-notice,
.order-notice {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.account-notice,
.login-notice-info,
.register-notice-info,
.order-notice-info {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.12));
    color: #36527f;
}

.login-notice-error,
.register-notice-error,
.order-notice-error {
    background: linear-gradient(135deg, rgba(255, 160, 122, 0.18), rgba(255, 109, 136, 0.12));
    color: #9b2f4c;
}

.login-notice-success,
.register-notice-success,
.order-notice-success {
    background: linear-gradient(135deg, rgba(113, 220, 177, 0.18), rgba(96, 174, 251, 0.12));
    color: #21624f;
}

.account-guest-card,
.account-orders-card,
.account-empty-card,
.account-summary-card,
.login-card,
.register-card,
.order-card,
.order-side-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(73, 94, 139, 0.08);
}

.account-guest-card,
.account-empty-card,
.login-card,
.register-card,
.order-card,
.order-side-card {
    padding: 28px;
}

.account-guest-card h2,
.account-orders-head h2,
.account-empty-card h2,
.login-card-copy h2,
.register-card-copy h2,
.order-card-copy h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.account-guest-card p,
.account-orders-head p,
.account-empty-card p,
.login-card-copy p,
.register-card-copy p,
.order-card-copy p,
.order-side-block p,
.order-side-highlight p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.account-actions,
.login-actions,
.login-stub-row,
.register-actions,
.register-stub-row,
.order-actions,
.order-highlight-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.login-primary-row {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) minmax(220px, 1.35fr);
    gap: 12px;
    align-items: center;
}

.login-primary-row .button-primary,
.login-primary-row .button-secondary {
    width: 100%;
}

.register-submit,
.register-actions .button-secondary {
    width: 100%;
}

.register-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    align-items: stretch;
}

@media (max-width: 560px) {
    .register-actions {
        grid-template-columns: 1fr;
    }
}

.is-hidden {
    display: none !important;
}

.account-actions-tight {
    margin-top: 20px;
    margin-bottom: 20px;
}

.account-inline-form {
    margin: 0;
}

.account-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.account-summary-card {
    padding: 22px;
}

.account-label {
    display: block;
    margin-bottom: 10px;
    color: #7383a0;
    font-size: 0.84rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-summary-card strong {
    display: block;
    font-size: 1.3rem;
    line-height: 1.4;
}

.account-orders-card {
    padding: 24px;
}

.account-orders-head {
    margin-bottom: 20px;
}

.account-orders-table {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--line);
}

.account-orders-table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    table-layout: fixed;
}

.account-orders-table th,
.account-orders-table td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.account-orders-table th {
    color: #6e7b95;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-orders-table td small {
    color: #7a88a2;
}

.account-col-order {
    width: 294px;
}

.account-col-price {
    width: 86px;
}

.account-col-payment {
    width: 118px;
}

.account-col-status {
    width: 236px;
}

.account-col-actions {
    width: 148px;
}

.account-summary-meta {
    display: block;
    margin-top: 8px;
    color: #6980a8;
    font-size: 0.82rem;
    line-height: 1.45;
}

.account-summary-meta__dot {
    display: inline-block;
    margin: 0 6px;
}

.account-file-name {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.account-order-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #7083aa;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-order-meta__dot {
    flex: 0 0 auto;
}

.account-file-meta {
    display: block;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.account-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.14));
    color: #4a53a4;
    font-size: 0.88rem;
    font-weight: 700;
}

.account-pill-button {
    width: 100%;
    border: 0;
    cursor: pointer;
    justify-content: flex-start;
    text-align: left;
    font: inherit;
    line-height: 1.35;
}

.account-pill-download {
    background: linear-gradient(135deg, rgba(79, 193, 123, 0.92), rgba(39, 166, 106, 0.94));
    box-shadow: 0 14px 28px rgba(42, 150, 100, 0.2);
    color: #ffffff;
}

.account-pill-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(42, 150, 100, 0.24);
}

.account-payment-cell {
    display: grid;
    gap: 10px;
}

.account-payment-cell .account-pill,
.account-payment-cell .account-table-button {
    width: 100%;
}

.account-payment-cell .account-pill {
    justify-content: center;
}

.account-payment-cell .account-table-button {
    min-height: 36px;
    padding-left: 10px;
    padding-right: 10px;
    justify-content: center;
    font-size: 0.84rem;
}

.account-table-button {
    min-height: 38px;
    padding: 0 16px;
    font-size: 0.92rem;
}

.account-order-actions {
    display: grid;
    gap: 8px;
    min-width: 0;
}

.account-order-actions .account-inline-form {
    width: 100%;
}

.account-order-actions .account-table-button {
    width: 100%;
    justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 0.84rem;
}

.account-notice-success {
    background: linear-gradient(135deg, rgba(74, 188, 137, 0.14), rgba(102, 214, 159, 0.16));
    color: #1d6a4c;
}

.account-notice-error {
    background: linear-gradient(135deg, rgba(242, 106, 130, 0.14), rgba(255, 168, 114, 0.16));
    color: #8e2f49;
}

.account-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
}

.account-modal[hidden] {
    display: none;
}

.account-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(122, 167, 255, 0.28), transparent 40%),
        radial-gradient(circle at bottom right, rgba(255, 146, 198, 0.24), transparent 32%),
        rgba(27, 31, 52, 0.42);
    backdrop-filter: blur(14px);
}

.account-modal__dialog {
    position: relative;
    width: min(100%, 520px);
    max-height: calc(100vh - 48px);
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(124, 97, 255, 0.16), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.98));
    box-shadow: 0 28px 70px rgba(36, 52, 97, 0.22);
    overflow-y: auto;
}

.account-modal__dialog-wide {
    width: min(100%, 620px);
}

.account-modal__dialog-order {
    width: min(1120px, calc(100vw - 48px));
    max-width: 1120px;
}

.account-modal__dialog-download {
    width: min(100%, 680px);
    max-width: 680px;
    height: min(78vh, 760px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.account-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(98, 78, 214, 0.1);
    color: #243461;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.account-modal__close:hover {
    background: rgba(98, 78, 214, 0.16);
}

.account-modal__kicker {
    margin: 0 0 10px;
    color: #6e63ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.account-modal__dialog h2 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.account-download-header {
    display: grid;
    gap: 8px;
    padding-right: 56px;
}

.account-download-order {
    margin: 0;
    color: #5b6b94;
    font-size: 0.92rem;
    font-weight: 700;
}

.account-download-title {
    margin: 0;
    font-size: clamp(1.1rem, 2vw, 1.45rem) !important;
    line-height: 1.3;
    letter-spacing: -0.02em;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.account-download-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: #6f7fa6;
    font-size: 0.92rem;
    line-height: 1.5;
}

.account-download-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 14px;
}

.account-download-details__item {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(127, 145, 198, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #42517f;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
}

.account-download-description {
    margin: 0;
}

.account-modal__text {
    margin: 0 0 12px;
    color: #62759f;
    line-height: 1.65;
}

.account-modal__actions {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.account-modal__actions .button-primary,
.account-modal__actions .button-secondary {
    min-width: 0;
}

.account-modal__actions-download {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(129, 146, 199, 0.16);
}

.account-modal__actions-download .button-primary,
.account-modal__actions-download .button-secondary {
    flex: 1 1 220px;
    justify-content: center;
}

.button-primary.is-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.96;
}

.button-primary.is-loading::after {
    content: "";
    width: 18px;
    height: 18px;
    margin-left: 10px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-spin 0.8s linear infinite;
}

.account-download-list {
    display: grid;
    gap: 10px;
    margin-top: 18px;
    min-height: 0;
    overflow: auto;
    padding-right: 6px;
}

.account-download-list-wrap {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 18px;
}

.account-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
}

.account-download-link {
    color: #4a53a4;
    font-weight: 700;
    text-decoration: none;
    word-break: break-word;
}

.account-download-link:hover {
    text-decoration: underline;
}

.account-download-empty {
    margin: 0;
    color: #62759f;
    line-height: 1.6;
}

@media (max-width: 720px) {
    .account-modal {
        padding: 16px;
    }

    .account-modal__dialog {
        max-height: calc(100vh - 32px);
        padding: 22px 18px 18px;
    }

    .account-modal__dialog-order {
        width: min(100%, calc(100vw - 32px));
        max-width: none;
    }

    .account-modal__dialog-download {
        width: min(100%, 100%);
        height: min(84vh, 760px);
        padding: 22px 18px 18px;
    }

    .account-download-header {
        padding-right: 44px;
    }

    .account-modal__actions-download {
        flex-direction: column;
    }
}

body.modal-open {
    overflow: hidden;
}

@keyframes button-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.login-card,
.register-card {
    width: 760px;
    margin: 0 auto;
}

.login-card-copy,
.register-card-copy,
.order-card-copy {
    margin-bottom: 20px;
}

.order-success-state {
    padding: 24px;
    border: 1px solid rgba(115, 80, 242, 0.12);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.1), rgba(115, 80, 242, 0.12));
}

.order-success-state h3 {
    margin: 0 0 12px;
    font-size: 1.28rem;
    letter-spacing: -0.03em;
    color: var(--text);
}

.order-success-state p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}

.login-form,
.register-form,
.order-form {
    display: grid;
    gap: 16px;
}

.login-field,
.register-field,
.order-field {
    display: grid;
    gap: 8px;
}

.login-field span,
.register-field span,
.register-verification span,
.order-field span,
.order-side-label {
    color: #5d6d89;
    font-size: 0.92rem;
    font-weight: 700;
}

.login-field input,
.register-field input,
.order-field input,
.order-field select {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    font-size: 1rem;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(82, 101, 140, 0.04);
}

.reset-password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.reset-password-input-wrap input {
  padding-right: 48px;
}

.reset-password-check {
  position: absolute;
  right: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #21a66b;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.reset-password-check::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.reset-password-check.is-visible {
  opacity: 1;
  transform: scale(1);
}

.reset-password-rules {
  padding: 14px 16px;
  border: 1px solid rgba(146, 162, 198, 0.22);
  border-radius: 16px;
  background: rgba(248, 250, 255, 0.96);
  color: #5f6f93;
  line-height: 1.55;
}

.reset-password-status {
  min-height: 20px;
  margin: 0;
  color: #b4233c;
  font-size: 0.9rem;
  font-weight: 700;
}

.reset-password-status.is-valid {
  color: #218058;
}

[data-reset-password-submit]:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}
.login-forgot-link {
  align-self: flex-start;
  margin-top: -4px;
  color: #5f45ea;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.login-forgot-link:hover {
  text-decoration: underline;
}

.login-field input:focus,
.register-field input:focus,
.order-field input:focus,
.order-field select:focus {
    border-color: rgba(115, 80, 242, 0.45);
    box-shadow: 0 0 0 4px rgba(115, 80, 242, 0.08);
}

.login-submit,
.register-submit {
    width: fit-content;
    min-width: 180px;
}

.register-verification {
    display: grid;
    gap: 10px;
    margin-bottom: 22px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.08), rgba(115, 80, 242, 0.08));
    border: 1px solid rgba(115, 80, 242, 0.12);
}

.register-verification a {
    color: #5b47db;
    word-break: break-all;
}

.order-shell {
    width: min(100%, 1080px);
    min-width: 1080px;
    margin: 0 auto;
}

.order-surface {
    padding: 18px 22px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.order-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.order-form-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-form-layout {
    display: grid;
    gap: 16px;
}

.order-form-section {
    display: grid;
    gap: 14px;
    align-content: start;
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    box-shadow: 0 16px 32px rgba(31, 42, 68, 0.06);
}

.order-form-section-full {
    grid-column: 1 / -1;
}

.order-form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.order-form-grid-stack,
.order-options-grid-stack {
    grid-template-columns: 1fr;
}

.order-field-plain {
    display: grid;
    gap: 10px;
}

.order-section-title {
    color: #52617e;
    font-size: 0.92rem;
    font-weight: 800;
}

.order-field select {
    appearance: none;
}

.order-file-upload {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    min-height: 56px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(82, 101, 140, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.order-file-upload:focus-within {
    border-color: rgba(115, 80, 242, 0.45);
    box-shadow: 0 0 0 4px rgba(115, 80, 242, 0.08);
}

.order-file-upload:has(input:disabled) {
    opacity: 0.56;
    cursor: not-allowed;
}

.order-file-upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.order-file-upload input[type="file"]:disabled {
    cursor: not-allowed;
}

.order-file-upload__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #5a92ff, #8a4df0);
    box-shadow: 0 14px 28px rgba(114, 95, 240, 0.22);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

.order-file-upload__info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-file-upload__name {
    min-width: 0;
    color: #6d7b99;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-file-upload__meta {
    color: #8b96b0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-side-card {
    display: grid;
    gap: 16px;
}

.order-side-block,
.order-side-highlight {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.order-side-block strong,
.order-side-highlight strong {
    display: block;
    margin: 6px 0 10px;
    font-size: 1.18rem;
    line-height: 1.4;
}

.order-side-highlight {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.14));
    border-color: rgba(115, 80, 242, 0.12);
}

.order-file-upload-wide {
    grid-template-columns: 1fr;
    align-items: stretch;
}

.order-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.order-options-grid.order-options-grid-stack {
    grid-template-columns: 1fr;
}

.order-options-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-nested-option {
    margin-top: 0;
}

.order-nested-option.is-disabled {
    opacity: 0.52;
    filter: grayscale(0.28) blur(0.4px);
    pointer-events: none;
}

.order-file-upload-wide .order-file-upload__button,
.order-form-section-file .order-file-upload__button {
    width: 100%;
}

.order-file-upload-wide .order-file-upload__info,
.order-form-section-file .order-file-upload__info {
    width: 100%;
    padding: 0 6px 4px;
}

.order-file-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid rgba(115, 80, 242, 0.12);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(90, 146, 255, 0.12), rgba(138, 77, 240, 0.12));
}

.order-file-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-option-card {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.94), rgba(255, 255, 255, 0.98));
    box-shadow: 0 12px 24px rgba(73, 94, 139, 0.06);
    cursor: pointer;
}

.order-option-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.order-option-card__check {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(115, 80, 242, 0.24);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(82, 101, 140, 0.04);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-option-card__copy {
    display: grid;
    gap: 6px;
}

.order-option-card__copy strong {
    font-size: 1rem;
    line-height: 1.45;
}

.order-option-card__copy small {
    color: var(--muted);
    line-height: 1.55;
}

.order-option-card input:checked + .order-option-card__check {
    border-color: rgba(115, 80, 242, 0.28);
    background: linear-gradient(135deg, #5a92ff, #8a4df0);
    box-shadow: 0 10px 20px rgba(114, 95, 240, 0.22);
}

.order-option-card input:checked + .order-option-card__check::after {
    content: "";
    display: block;
    width: 7px;
    height: 12px;
    margin: 4px 0 0 8px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.order-calculator-panel {
    padding: 18px;
    border: 1px solid rgba(115, 80, 242, 0.12);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.08), rgba(115, 80, 242, 0.12));
}

.order-calculator-panel-full {
    grid-column: 1 / -1;
}

.order-calculator-panel__header {
    margin-bottom: 12px;
}

.order-calculator-panel__header h3 {
    margin: 0;
    font-size: 1.05rem;
    letter-spacing: -0.03em;
}

.order-calculator-panel__header p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.order-calculator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.order-calculator-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-calculator-item {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(131, 148, 201, 0.14);
    box-shadow: 0 12px 24px rgba(73, 94, 139, 0.06);
}

.order-calculator-item span {
    display: block;
    margin-bottom: 6px;
    color: #6e7b95;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.order-calculator-item strong {
    display: block;
    font-size: 0.92rem;
    line-height: 1.3;
}

.order-price-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.1), rgba(115, 80, 242, 0.16));
    border: 1px solid rgba(115, 80, 242, 0.14);
}

.order-price-box__label {
    color: #5d6d89;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.order-price-box__value {
    font-size: 1.3rem;
    letter-spacing: -0.04em;
}

.order-price-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border: 1px solid rgba(115, 80, 242, 0.14);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(234, 242, 255, 0.82), rgba(236, 226, 255, 0.86));
}

.order-price-panel .order-price-box {
    flex: 1 1 auto;
    margin: 0;
}

.order-price-panel .order-actions {
    flex: 0 0 auto;
    margin-top: 0;
}

.order-price-panel .button-primary,
.order-price-panel .button-secondary {
    min-height: 46px;
}

@media (max-width: 900px) {
    .order-form-row-3 {
        grid-template-columns: 1fr;
    }

    .order-calculator-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-price-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .order-price-panel .order-actions {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .order-options-grid-3,
    .order-calculator-grid-3 {
        grid-template-columns: 1fr;
    }
}

.payment-page {
    padding-top: 44px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 28px;
}

.payment-shell {
    width: min(100%, 1080px);
    min-width: 1080px;
    margin: 0 auto;
}

.payment-surface {
    padding: 18px 22px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.payment-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.payment-kicker {
    margin: 0 0 8px;
    color: #7a67ea;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.payment-topbar h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.payment-notice {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.payment-notice-info {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.12));
    color: #36527f;
}

.payment-notice-error {
    background: linear-gradient(135deg, rgba(255, 160, 122, 0.18), rgba(255, 109, 136, 0.12));
    color: #9b2f4c;
}

.payment-notice-success {
    background: linear-gradient(135deg, rgba(113, 220, 177, 0.18), rgba(96, 174, 251, 0.12));
    color: #21624f;
}

.payment-card,
.payment-side-card,
.payment-empty-card,
.payment-meta-item,
.payment-transaction-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(73, 94, 139, 0.08);
}

.payment-card,
.payment-side-card,
.payment-empty-card {
    padding: 28px;
}

.payment-card-copy,
.payment-empty-card {
    margin-bottom: 20px;
}

.payment-card-copy h2,
.payment-empty-card h2,
.payment-modal-header h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.payment-card-copy p,
.payment-side-block p,
.payment-empty-card p,
.payment-transaction-card p,
.payment-modal-header p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.payment-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.payment-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.payment-meta-item {
    padding: 20px 18px;
}

.payment-label {
    color: #5d6d89;
    font-size: 0.92rem;
    font-weight: 700;
}

.payment-meta-item strong,
.payment-side-block strong,
.payment-transaction-card strong,
.payment-modal-box strong {
    display: block;
    margin-top: 8px;
    font-size: 1.2rem;
    line-height: 1.45;
}

.payment-transaction-card {
    margin-top: 18px;
    padding: 20px 18px;
    border: 1px solid var(--line);
}

.payment-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.payment-side-card {
    display: grid;
    gap: 16px;
}

.payment-side-block {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.payment-side-block-accent {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.14));
    border-color: rgba(115, 80, 242, 0.12);
}

.payment-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(22, 31, 57, 0.52);
    z-index: 1000;
}

.payment-overlay.is-open {
    display: flex;
}

.payment-modal {
    width: min(100%, 480px);
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
}

.payment-modal-header {
    margin-bottom: 18px;
}

.payment-modal-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.14), rgba(115, 80, 242, 0.14));
    color: #4a53a4;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.payment-modal-box {
    margin: 20px 0;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.94), rgba(255, 255, 255, 0.98));
    border: 1px solid var(--line);
}

.payment-modal-grid {
    display: grid;
    gap: 12px;
}

.payment-modal-button {
    width: 100%;
}

.order-view-page {
    padding-top: 44px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 28px;
}

.order-view-shell {
    width: min(100%, 1080px);
    min-width: 1080px;
    margin: 0 auto;
}

.order-view-surface {
    padding: 18px 22px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.order-view-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.order-view-kicker {
    margin: 0 0 8px;
    color: #7a67ea;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.order-view-topbar h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.order-view-notice {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.order-view-notice-info {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.12));
    color: #36527f;
}

.order-view-notice-error {
    background: linear-gradient(135deg, rgba(255, 160, 122, 0.18), rgba(255, 109, 136, 0.12));
    color: #9b2f4c;
}

.order-view-inline-notice {
    margin-top: 16px;
    margin-bottom: 0;
}

.order-view-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: stretch;
}

.order-view-card,
.order-view-side-card,
.order-view-meta-item,
.order-view-result-card,
.order-view-history-card,
.order-view-history-item {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(73, 94, 139, 0.08);
}

.order-view-card,
.order-view-side-card,
.order-view-result-card,
.order-view-history-card {
    padding: 28px;
}

.order-view-card-copy {
    margin-bottom: 20px;
}

.order-view-card-copy h2,
.order-view-result-card h2,
.order-view-history-card h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.order-view-card-copy p,
.order-view-result-card p,
.order-view-history-card p,
.order-view-history-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.order-view-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.order-view-meta-item {
    padding: 20px 18px;
}

.order-view-meta-item-wide {
    grid-column: span 2;
}

.order-view-meta-summary {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.order-view-meta-summary-grid {
    display: grid;
    gap: 10px;
}

.order-view-meta-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(93, 109, 137, 0.12);
}

.order-view-meta-summary-row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.order-view-meta-summary-row span {
    color: #5d6d89;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.5;
}

.order-view-meta-summary-row strong {
    max-width: 62%;
    text-align: right;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.order-view-label {
    display: block;
    margin-bottom: 8px;
    color: #5d6d89;
    font-size: 0.92rem;
    font-weight: 700;
}

.order-view-meta-item strong,
.order-view-result-grid strong,
.order-view-history-item strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.5;
}

.order-view-status-button {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(79, 193, 123, 0.92), rgba(39, 166, 106, 0.94));
    box-shadow: 0 14px 28px rgba(42, 150, 100, 0.2);
    color: #ffffff;
    font: inherit;
    font-weight: 700;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
}

.order-view-status-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(42, 150, 100, 0.24);
}

.order-view-result-card {
    margin-top: 18px;
}

.order-view-result-grid {
    display: grid;
    gap: 16px;
}

.order-view-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.order-view-side-card {
    padding: 0;
    box-shadow: none;
    background: transparent;
    min-height: 0;
    display: flex;
    align-self: start;
}

.order-view-history-card {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100vh - 180px);
    overflow: hidden;
}

.order-view-history-card h2 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.order-view-history-list {
    display: grid;
    gap: 10px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-right: 4px;
}

.order-view-history-item {
    padding: 14px 14px 12px;
    border-radius: 18px;
}

.order-view-history-date {
    margin-bottom: 8px;
    color: #7a88a2;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-view-history-item .order-view-label {
    margin-bottom: 4px;
    font-size: 0.84rem;
}

.order-view-history-item strong {
    font-size: 0.92rem;
    line-height: 1.35;
}

.order-view-history-card p,
.order-view-history-item p {
    font-size: 0.92rem;
    line-height: 1.55;
}

.verify-page {
    padding-top: 44px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 28px;
}

.verify-shell {
    width: min(100%, 1080px);
    min-width: 1080px;
    margin: 0 auto;
}

.verify-surface {
    padding: 18px 22px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.verify-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.verify-kicker {
    margin: 0 0 8px;
    color: #7a67ea;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.verify-topbar h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.verify-card {
    width: 760px;
    margin: 0 auto;
    padding: 28px;
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(73, 94, 139, 0.08);
}

.verify-card-copy {
    margin-bottom: 20px;
}

.verify-card-copy h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.verify-card-copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.verify-notice {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.verify-notice-info {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.12));
    color: #36527f;
}

.verify-notice-error {
    background: linear-gradient(135deg, rgba(255, 160, 122, 0.18), rgba(255, 109, 136, 0.12));
    color: #9b2f4c;
}

.verify-notice-success {
    background: linear-gradient(135deg, rgba(113, 220, 177, 0.18), rgba(96, 174, 251, 0.12));
    color: #21624f;
}

.verify-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.contacts-page {
    padding-top: 44px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 28px;
}

.contacts-shell {
    width: min(100%, 1080px);
    min-width: 1080px;
    margin: 0 auto;
}

.contacts-surface {
    padding: 18px 22px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.contacts-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.contacts-kicker {
    margin: 0 0 8px;
    color: #7a67ea;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contacts-topbar h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.contacts-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.contacts-card,
.contacts-side-card,
.contacts-detail-item {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(73, 94, 139, 0.08);
}

.contacts-card,
.contacts-side-card {
    padding: 28px;
}

.contacts-card-copy {
    margin-bottom: 20px;
}

.contacts-card-copy h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.contacts-card-copy p,
.contacts-detail-item p,
.contacts-side-block p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.contacts-detail-grid {
    display: grid;
    gap: 16px;
}

.contacts-detail-item {
    padding: 20px 18px;
}

.contacts-label {
    display: block;
    margin-bottom: 8px;
    color: #5d6d89;
    font-size: 0.92rem;
    font-weight: 700;
}

.contacts-detail-item strong,
.contacts-side-block strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1.45;
    margin-bottom: 8px;
}

.contacts-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.contacts-side-card {
    display: grid;
    gap: 16px;
}

.contacts-side-block {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.contacts-side-block-accent {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.14));
    border-color: rgba(115, 80, 242, 0.12);
}

.faq-page-internal {
    padding-top: 44px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 28px;
}

.faq-shell-internal {
    width: min(100%, 1080px);
    min-width: 1080px;
    margin: 0 auto;
}

.faq-surface-internal {
    padding: 18px 22px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.faq-topbar-internal {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.faq-kicker-internal {
    margin: 0 0 8px;
    color: #7a67ea;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.faq-topbar-internal h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.faq-layout-internal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.faq-card-internal,
.faq-side-card-internal,
.faq-entry-internal {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(73, 94, 139, 0.08);
}

.faq-card-internal,
.faq-side-card-internal {
    padding: 28px;
}

.faq-card-copy-internal {
    margin-bottom: 20px;
}

.faq-card-copy-internal h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.faq-card-copy-internal p,
.faq-entry-internal p,
.faq-side-block-internal p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.faq-list-internal {
    display: grid;
    gap: 16px;
}

.faq-entry-internal {
    padding: 20px 18px;
}

.faq-entry-internal h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
}

.faq-actions-internal {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.faq-side-card-internal {
    display: grid;
    gap: 16px;
}

.faq-label-internal {
    display: block;
    margin-bottom: 8px;
    color: #5d6d89;
    font-size: 0.92rem;
    font-weight: 700;
}

.faq-side-block-internal {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.faq-side-block-internal strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1.45;
    margin-bottom: 8px;
}

.faq-side-block-accent-internal {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.14));
    border-color: rgba(115, 80, 242, 0.12);
}

.policy-page {
    padding-top: 44px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 28px;
}

.policy-shell {
    width: min(100%, 1080px);
    min-width: 1080px;
    margin: 0 auto;
}

.policy-surface {
    padding: 18px 22px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.policy-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.policy-kicker {
    margin: 0 0 8px;
    color: #7a67ea;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.policy-topbar h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.policy-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

.policy-card,
.policy-side-card,
.policy-section-item {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(73, 94, 139, 0.08);
}

.policy-card,
.policy-side-card {
    padding: 28px;
}

.policy-card-copy {
    margin-bottom: 20px;
}

.policy-card-copy h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.policy-card-copy p,
.policy-section-item p,
.policy-side-block p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.policy-section-list {
    display: grid;
    gap: 16px;
}

.policy-section-item {
    padding: 20px 18px;
}

.policy-section-item h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
}

.policy-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.policy-side-card {
    display: grid;
    gap: 16px;
}

.policy-label {
    display: block;
    margin-bottom: 8px;
    color: #5d6d89;
    font-size: 0.92rem;
    font-weight: 700;
}

.policy-side-block {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.policy-side-block strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1.45;
    margin-bottom: 8px;
}

.policy-side-block-accent {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.14));
    border-color: rgba(115, 80, 242, 0.12);
}

.admin-page {
    padding-top: 44px;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 28px;
}

.admin-shell {
    width: min(100%, 1080px);
    min-width: 1080px;
    margin: 0 auto;
}

.admin-surface {
    padding: 18px 22px 22px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow);
}

.admin-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.admin-kicker {
    margin: 0 0 8px;
    color: #7a67ea;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-topbar h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.04em;
}

.admin-layout {
    display: block;
}

.admin-card,
.admin-side-card {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(73, 94, 139, 0.08);
}

.admin-card,
.admin-side-card {
    padding: 28px;
}

.admin-card-copy {
    margin-bottom: 20px;
}

.admin-card-copy h2 {
    margin: 0 0 12px;
    font-size: 1.6rem;
    letter-spacing: -0.03em;
}

.admin-card-copy p,
.admin-side-block p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.admin-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.admin-side-card {
    display: grid;
    gap: 16px;
}

.admin-label {
    display: block;
    margin-bottom: 8px;
    color: #5d6d89;
    font-size: 0.92rem;
    font-weight: 700;
}

.admin-side-block {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.admin-side-block strong {
    display: block;
    font-size: 1.15rem;
    line-height: 1.45;
    margin-bottom: 8px;
}

.admin-side-block-accent {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.14));
    border-color: rgba(115, 80, 242, 0.12);
}

.admin-orders-toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.admin-orders-input {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    font-size: 0.98rem;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(82, 101, 140, 0.04);
}

.admin-orders-input:focus {
    border-color: rgba(115, 80, 242, 0.45);
    box-shadow: 0 0 0 4px rgba(115, 80, 242, 0.08);
}

.admin-orders-search {
    min-width: 280px;
}

.admin-orders-table-wrap {
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid var(--line);
}

.admin-orders-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.admin-orders-table th,
.admin-orders-table td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

.admin-orders-table th {
    color: #6e7b95;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.admin-orders-table td small {
    color: #7a88a2;
}

.admin-orders-link {
    color: #5b47db;
    font-weight: 700;
    text-decoration: none;
}

.admin-orders-pill {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.14));
    color: #4a53a4;
    font-size: 0.88rem;
    font-weight: 700;
}

.admin-order-notice {
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 16px;
    font-weight: 600;
}

.admin-order-notice-info {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.12), rgba(115, 80, 242, 0.12));
    color: #36527f;
}

.admin-order-notice-error {
    background: linear-gradient(135deg, rgba(255, 160, 122, 0.18), rgba(255, 109, 136, 0.12));
    color: #9b2f4c;
}

.admin-order-notice-success {
    background: linear-gradient(135deg, rgba(113, 220, 177, 0.18), rgba(96, 174, 251, 0.12));
    color: #21624f;
}

.admin-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 18px;
    align-items: start;
}

.admin-order-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.admin-order-meta-item,
.admin-order-history-card,
.admin-order-history-item {
    background: #ffffff;
    border-radius: 22px;
    box-shadow: 0 12px 28px rgba(73, 94, 139, 0.08);
}

.admin-order-meta-item {
    padding: 20px 18px;
}

.admin-order-meta-item strong,
.admin-order-history-item strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.5;
}

.admin-order-meta-item-wide {
    grid-column: span 2;
}

.admin-order-panel-grid {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.admin-order-panel {
    padding: 22px 20px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(248, 250, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.admin-order-panel h3 {
    margin: 0 0 14px;
    font-size: 1.12rem;
}

.admin-order-form {
    display: grid;
    gap: 12px;
}

.admin-order-input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    font-size: 0.98rem;
    outline: none;
    box-shadow: inset 0 1px 2px rgba(82, 101, 140, 0.04);
}

.admin-order-input:focus {
    border-color: rgba(115, 80, 242, 0.45);
    box-shadow: 0 0 0 4px rgba(115, 80, 242, 0.08);
}

.admin-order-textarea {
    min-height: 110px;
    padding-top: 12px;
    padding-bottom: 12px;
    resize: vertical;
}

.admin-order-history-card {
    padding: 28px;
}

.admin-order-history-card h2 {
    margin: 0 0 16px;
    font-size: 1.4rem;
    letter-spacing: -0.03em;
}

.admin-order-history-card p,
.admin-order-history-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.admin-order-history-list {
    display: grid;
    gap: 14px;
}

.admin-order-history-item {
    padding: 18px;
}

.admin-order-history-date {
    margin-bottom: 12px;
    color: #7a88a2;
    font-size: 0.9rem;
    font-weight: 600;
}

body.admin-modal-open {
    overflow: hidden;
}

.admin-machines-card {
    display: grid;
    gap: 22px;
}

.admin-machines-table-wrap {
    margin-top: 4px;
}

.admin-machines-table td {
    vertical-align: middle;
}

.admin-machines-muted {
    margin-top: 6px;
    color: #7382a0;
    font-size: 0.88rem;
    line-height: 1.45;
}

.admin-orders-pill-active {
    background: linear-gradient(135deg, rgba(79, 193, 123, 0.16), rgba(39, 166, 106, 0.18));
    color: #1f6d48;
}

.admin-orders-pill-inactive {
    background: linear-gradient(135deg, rgba(245, 163, 104, 0.16), rgba(237, 108, 120, 0.16));
    color: #98405a;
}

.admin-orders-pill-neutral {
    background: linear-gradient(135deg, rgba(96, 174, 251, 0.1), rgba(115, 80, 242, 0.1));
    color: #55638a;
}

.admin-table-actions {
    display: grid;
    gap: 10px;
}

.admin-table-button {
    width: 100%;
    justify-content: center;
    text-align: center;
}

.admin-modal {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.admin-modal[hidden] {
    display: none;
}

.admin-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(19, 28, 56, 0.42);
    backdrop-filter: blur(8px);
}

.admin-modal__dialog {
    position: relative;
    width: min(100%, 560px);
    padding: 28px;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(125, 101, 248, 0.16), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 255, 0.98));
    box-shadow: 0 28px 72px rgba(34, 49, 95, 0.24);
}

.admin-modal__dialog-wide {
    width: min(100%, 760px);
}

.admin-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(108, 91, 237, 0.12);
    color: #2b3b65;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.admin-modal__kicker {
    margin: 0 0 10px;
    color: #6d5df1;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.admin-modal__dialog h2 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    letter-spacing: -0.04em;
}

.admin-modal__text {
    margin: 0 0 12px;
    color: #66779a;
    line-height: 1.65;
}

.admin-modal-form {
    display: grid;
    gap: 14px;
}

.admin-form-field {
    display: grid;
    gap: 8px;
}

.admin-form-field span {
    color: #54647f;
    font-size: 0.92rem;
    font-weight: 700;
}

.admin-modal__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.admin-stats-card {
    padding: 20px 18px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(68, 88, 132, 0.1);
}

.admin-stats-card strong {
    display: block;
    margin-top: 10px;
    font-size: 1.9rem;
    line-height: 1.15;
}

.admin-stats-card-success {
    background: linear-gradient(135deg, rgba(79, 193, 123, 0.14), rgba(104, 214, 156, 0.14));
}

.admin-stats-card-error {
    background: linear-gradient(135deg, rgba(245, 163, 104, 0.16), rgba(237, 108, 120, 0.14));
}

.admin-stats-card-wide {
    grid-column: span 2;
}

.admin-modal__dialog-order-stats {
    width: min(1200px, calc(100vw - 40px));
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.admin-order-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
    min-height: 0;
    overflow: auto;
    padding-right: 6px;
}

.admin-order-stats-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(126, 145, 199, 0.18);
    box-shadow: 0 16px 32px rgba(60, 79, 122, 0.10);
    overflow: hidden;
}

.admin-order-stats-card-wide {
    grid-column: 1 / -1;
}

.admin-order-stats-card__title {
    margin: 0;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(126, 145, 199, 0.14);
    color: #23345f;
    font-size: 1.1rem;
    line-height: 1.35;
}

.admin-order-stats-card__body {
    min-height: 0;
    max-height: 360px;
    overflow: auto;
    padding: 16px 18px 18px;
}

.admin-order-stats-pairs {
    display: grid;
    gap: 12px;
}

.admin-order-stats-pair {
    display: grid;
    gap: 6px;
    padding: 12px 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(247, 249, 255, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(130, 147, 199, 0.14);
}

.admin-order-stats-pair__label {
    color: #6b7b9b;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.admin-order-stats-pair__value {
    color: #22345f;
    font-size: 0.98rem;
    line-height: 1.55;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.admin-order-stats-groups {
    display: grid;
    gap: 14px;
}

.admin-order-stats-group {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(246, 248, 255, 0.98), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(130, 147, 199, 0.14);
}

.admin-order-stats-group__title {
    color: #30406c;
    font-size: 0.95rem;
    font-weight: 800;
}

.admin-order-stats-empty {
    margin: 0;
    color: #6a7a9b;
    line-height: 1.65;
}

@media (max-width: 980px) {
    .admin-order-stats-grid {
        grid-template-columns: 1fr;
    }
}

body.calculator-open {
    overflow: hidden;
}

.pricing-trigger {
    border: 0;
    cursor: pointer;
}

.calculator-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 24px;
}

.calculator-modal[hidden] {
    display: none;
}

.calculator-modal__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(122, 167, 255, 0.28), transparent 40%),
        radial-gradient(circle at bottom right, rgba(255, 146, 198, 0.24), transparent 32%),
        rgba(27, 31, 52, 0.42);
    backdrop-filter: blur(14px);
}

.calculator-modal__dialog {
    position: relative;
    width: min(1120px, calc(100vw - 48px));
    max-height: calc(100vh - 64px);
    overflow: auto;
    padding: 34px 34px 28px;
    border-radius: 34px;
    border: 1px solid rgba(129, 145, 196, 0.16);
    background:
        radial-gradient(circle at top right, rgba(136, 172, 255, 0.28), transparent 30%),
        radial-gradient(circle at bottom left, rgba(255, 169, 212, 0.22), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 249, 255, 0.98));
    box-shadow: 0 30px 70px rgba(37, 49, 89, 0.28);
}

.calculator-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(237, 240, 252, 0.9);
    color: #6d78a2;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.calculator-modal__header {
    margin-bottom: 28px;
}

.calculator-modal__header h2 {
    margin: 0 0 10px;
    font-size: 2.2rem;
    line-height: 1.06;
    letter-spacing: -0.05em;
    color: #243663;
}

.calculator-modal__header p {
    margin: 0;
    color: #7181a4;
    font-size: 1rem;
}

.calculator-modal__body {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
    gap: 22px;
    align-items: start;
}

.calculator-panel {
    border-radius: 26px;
    border: 1px solid rgba(131, 148, 201, 0.16);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 38px rgba(76, 95, 142, 0.08);
}

.calculator-panel--controls {
    padding: 22px;
    display: grid;
    gap: 22px;
}

.calculator-panel--summary {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: grid;
    gap: 18px;
}

.calculator-field {
    display: grid;
    gap: 14px;
}

.calculator-field__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.calculator-field label,
.calculator-field__label {
    color: #2f416f;
    font-size: 1.05rem;
    font-weight: 800;
}

.calculator-label-with-help {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.calculator-help {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border-radius: 50%;
    border: 1px solid rgba(113, 129, 164, 0.32);
    background: #ffffff;
    color: #5d6e94;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
    cursor: help;
}

.calculator-help::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 30;
    width: 260px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #24314f;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(31, 43, 76, 0.2);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    transform: translateX(-50%) translateY(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.calculator-help:hover::after,
.calculator-help:focus::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.calculator-mode-note {
    margin: 0;
    color: #7181a4;
    font-size: 0.9rem;
    line-height: 1.55;
}

.calculator-duration-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(110, 135, 255, 0.16), rgba(174, 104, 255, 0.16));
    color: #354d8e;
    font-weight: 800;
}

.calculator-range {
    --range-progress: 48%;
    width: 100%;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #4f82ff 0%, #7767ff var(--range-progress), #e7ebf8 var(--range-progress), #e7ebf8 100%);
    outline: none;
}

.calculator-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, #6681ff, #8456f3);
    box-shadow: 0 10px 18px rgba(102, 129, 255, 0.32);
    cursor: pointer;
}

.calculator-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(135deg, #6681ff, #8456f3);
    box-shadow: 0 10px 18px rgba(102, 129, 255, 0.32);
    cursor: pointer;
}

.calculator-range__meta {
    display: flex;
    justify-content: space-between;
    color: #8592af;
    font-size: 0.82rem;
    font-weight: 700;
}

.calculator-toggle {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.calculator-toggle--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.calculator-toggle__item {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 18px;
    border: 1px solid rgba(124, 142, 190, 0.18);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: inset 0 1px 1px rgba(99, 114, 150, 0.05);
    cursor: pointer;
    color: #667598;
    font-weight: 800;
}

.calculator-toggle__item input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.calculator-toggle__item:has(input:checked) {
    border-color: rgba(120, 88, 244, 0.12);
    background: linear-gradient(135deg, #5a92ff, #8a4df0);
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(114, 95, 240, 0.24);
}

.calculator-checklist {
    display: grid;
    gap: 12px;
}

.calculator-checklist__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #556586;
    font-weight: 700;
    cursor: pointer;
}

.calculator-checklist__item .calculator-label-with-help {
    flex: 1;
}

.calculator-checklist__item input {
    width: 20px;
    height: 20px;
    accent-color: #7455f3;
}

.calculator-note {
    margin: 0;
    color: #808dab;
    font-size: 0.92rem;
    line-height: 1.65;
}

.calculator-summary-card,
.calculator-includes-card {
    padding: 24px 24px 26px;
    border-radius: 26px;
    border: 1px solid rgba(131, 148, 201, 0.16);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 38px rgba(76, 95, 142, 0.08);
}

.calculator-summary-card__caption {
    display: block;
    margin-bottom: 10px;
    color: #56668a;
    font-weight: 800;
}

.calculator-summary-card__amount {
    display: block;
    margin-bottom: 22px;
    color: #3246a0;
    font-size: 2.6rem;
    line-height: 1;
    letter-spacing: -0.06em;
}

.calculator-summary-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.calculator-summary-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(225, 231, 247, 0.96);
}

.calculator-summary-list div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.calculator-summary-list dt {
    margin: 0;
    color: #7080a1;
    font-weight: 700;
}

.calculator-summary-list dd {
    margin: 0;
    color: #334160;
    font-weight: 800;
    text-align: right;
}

.calculator-includes-card h3 {
    margin: 0 0 16px;
    color: #2a3a61;
    font-size: 1.2rem;
    letter-spacing: -0.03em;
}

.calculator-includes-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.calculator-includes-list li {
    position: relative;
    padding-left: 28px;
    color: #556586;
    font-weight: 700;
    line-height: 1.55;
}

.calculator-includes-list li::before {
    content: "\2713";
    position: absolute;
    top: 0;
    left: 0;
    color: #7257f3;
    font-weight: 900;
}

.calculator-modal__footer {
    display: grid;
    justify-items: center;
    gap: 12px;
    margin-top: 24px;
}

.calculator-trust-line {
    margin: 0;
    color: #7181a4;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.calculator-cta {
    min-width: 320px;
    justify-content: center;
}

.calculator-link {
    color: #5c6b93;
    font-weight: 700;
    text-decoration: none;
}

.calculator-link:hover {
    color: #4f5f88;
}

@media (max-width: 980px) {
    .calculator-modal__dialog {
        width: min(920px, calc(100vw - 28px));
        padding: 28px 20px 24px;
    }

    .calculator-modal__body {
        grid-template-columns: 1fr;
    }

    .calculator-toggle--three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    body:has(.landing-page) {
        min-width: 0;
        overflow-x: hidden;
    }

    .landing-page {
        padding: 14px 14px 26px;
    }

    .landing-page .hero-section,
    .landing-page .value-section,
    .landing-page .trust-section,
    .landing-page .seo-section,
    .landing-page .process-section,
    .landing-page .pricing-section,
    .landing-page .faq-section,
    body:has(.landing-page) .site-footer-shell {
        width: 100%;
        max-width: 1080px;
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .landing-page .hero-surface {
        padding: 16px;
        border-radius: 24px;
    }

    .landing-page .site-nav {
        flex-wrap: wrap;
        gap: 14px;
        margin-bottom: 24px;
    }

    .landing-page .brand-logo {
        width: 148px;
    }

    .landing-page .nav-links {
        order: 3;
        flex: 0 0 100%;
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        padding: 2px 0 8px;
        scrollbar-width: none;
    }

    .landing-page .nav-links::-webkit-scrollbar {
        display: none;
    }

    .landing-page .nav-links a {
        flex: 0 0 auto;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(247, 249, 255, 0.82);
        border: 1px solid rgba(124, 142, 190, 0.14);
    }

    .landing-page .nav-account {
        margin-left: auto;
    }

    .landing-page .hero-grid,
    .landing-page .pricing-section {
        grid-template-columns: 1fr;
    }

    .landing-page .hero-copy h1 {
        max-width: 720px;
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .landing-page .hero-description,
    .landing-page .pricing-copy p {
        max-width: 680px;
    }

    .landing-page .hero-media {
        grid-template-rows: minmax(170px, 38vw) minmax(96px, 20vw);
    }

    .landing-page .benefit-strip,
    .landing-page .value-grid-four,
    .landing-page .value-grid-five,
    .landing-page .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-page .pricing-copy {
        padding-right: 0;
    }
}

@media (max-width: 760px) {
    .calculator-modal {
        align-items: stretch;
        justify-content: stretch;
        padding: 0;
    }

    .calculator-modal__backdrop {
        backdrop-filter: blur(10px);
    }

    .calculator-modal__dialog {
        width: 100vw;
        max-height: 100dvh;
        min-height: 100dvh;
        padding: 20px 14px calc(22px + env(safe-area-inset-bottom));
        border-radius: 0;
        overflow-y: auto;
    }

    .calculator-modal__close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }

    .calculator-modal__header {
        margin-bottom: 18px;
        padding-right: 42px;
    }

    .calculator-modal__header h2 {
        font-size: clamp(1.55rem, 7vw, 2rem);
        line-height: 1.12;
    }

    .calculator-modal__header p {
        font-size: 0.94rem;
        line-height: 1.45;
    }

    .calculator-modal__body {
        grid-template-columns: 1fr;
        gap: 14px;
        align-items: start !important;
    }

    .calculator-panel--controls {
        gap: 18px;
        padding: 16px;
        height: auto !important;
        grid-template-rows: none !important;
    }

    .calculator-panel--summary {
        height: auto !important;
    }

    .calculator-field {
        gap: 12px;
    }

    .calculator-field__top {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .calculator-toggle,
    .calculator-toggle--three {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .calculator-toggle__item {
        min-height: 50px;
        padding: 0 14px;
        border-radius: 16px;
        text-align: center;
    }

    .calculator-summary-card,
    .calculator-includes-card {
        padding: 18px 16px 20px;
        border-radius: 20px;
    }

    .calculator-summary-card__amount {
        margin-bottom: 18px;
        font-size: 2.1rem;
    }

    .calculator-summary-list div {
        gap: 10px;
    }

    .calculator-modal__footer {
        margin-top: 18px;
    }

    .calculator-cta {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 560px) {
    .landing-page {
        padding: 10px 10px 22px;
    }

    .landing-page .hero-surface {
        padding: 14px;
        border-radius: 20px;
    }

    .landing-page .site-nav {
        align-items: center;
        gap: 10px;
    }

    .landing-page .brand-logo {
        width: 136px;
    }

    .landing-page .nav-button {
        min-height: 40px;
        padding: 0 14px;
        border-radius: 12px;
        font-size: 0.92rem;
    }

    .landing-page .nav-links {
        gap: 8px;
        font-size: 0.82rem;
    }

    .landing-page .hero-grid {
        gap: 20px;
    }

    .landing-page .hero-copy h1 {
        font-size: clamp(2rem, 11vw, 2.55rem);
        line-height: 1.08;
    }

    .landing-page .hero-description {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    .landing-page .hero-actions .button-primary {
        width: 100%;
    }

    .landing-page .hero-action-note {
        font-size: 0.84rem;
    }

    .landing-page .hero-media {
        grid-template-rows: 168px 104px;
        gap: 10px;
    }

    .landing-page .benefit-strip,
    .landing-page .value-grid-four,
    .landing-page .value-grid-five,
    .landing-page .process-grid {
        grid-template-columns: 1fr;
    }

    .landing-page .benefit-item {
        justify-content: flex-start;
        min-height: 58px;
        padding: 12px 14px;
    }

    .landing-page .process-section,
    .landing-page .value-section,
    .landing-page .pricing-section,
    .landing-page .faq-section {
        padding-top: 34px;
    }

    .landing-page .process-section h2,
    .landing-page .value-section h2,
    .landing-page .trust-section h2,
    .landing-page .seo-section h2,
    .landing-page .pricing-copy h2,
    .landing-page .faq-section h2 {
        margin-bottom: 16px;
        font-size: clamp(1.65rem, 8vw, 2.1rem);
    }

    .landing-page .value-card,
    .landing-page .process-card {
        padding: 18px;
    }

    .landing-page .pricing-visual {
        min-height: 340px;
        overflow: visible;
    }

    .landing-page .price-float-card {
        top: 16px;
        left: 16px;
        right: 16px;
        width: auto;
    }

    .landing-page .price-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .landing-page .faq-item summary {
        padding: 16px 46px 16px 16px;
    }

    .landing-page .trust-section,
    .landing-page .seo-section {
        margin-top: 34px;
        padding: 22px 18px;
        border-radius: 20px;
    }

    body:has(.landing-page) .site-footer {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 1180px) {
    body:has(.policy-page),
    body:has(.faq-page-internal),
    body:has(.contacts-page) {
        min-width: 0;
        overflow-x: hidden;
    }

    .policy-shell,
    .faq-shell-internal,
    .contacts-shell,
    body:has(.policy-page) .site-footer-shell,
    body:has(.faq-page-internal) .site-footer-shell,
    body:has(.contacts-page) .site-footer-shell {
        width: 100%;
        max-width: 1080px;
        min-width: 0;
    }
}

@media (max-width: 900px) {
    .policy-surface,
    .faq-surface-internal,
    .contacts-surface {
        padding: 16px;
        border-radius: 24px;
    }

    .policy-page .site-nav,
    .faq-page-internal .site-nav,
    .contacts-page .site-nav {
        flex-wrap: wrap;
        gap: 14px;
        margin-bottom: 24px;
    }

    .policy-page .brand-logo,
    .faq-page-internal .brand-logo,
    .contacts-page .brand-logo {
        width: 148px;
    }

    .policy-page .nav-links,
    .faq-page-internal .nav-links,
    .contacts-page .nav-links {
        order: 3;
        flex: 0 0 100%;
        justify-content: flex-start;
        gap: 10px;
        overflow-x: auto;
        padding: 2px 0 8px;
        scrollbar-width: none;
    }

    .policy-page .nav-links::-webkit-scrollbar,
    .faq-page-internal .nav-links::-webkit-scrollbar,
    .contacts-page .nav-links::-webkit-scrollbar {
        display: none;
    }

    .policy-page .nav-links a,
    .faq-page-internal .nav-links a,
    .contacts-page .nav-links a {
        flex: 0 0 auto;
        padding: 8px 10px;
        border-radius: 999px;
        background: rgba(247, 249, 255, 0.82);
        border: 1px solid rgba(124, 142, 190, 0.14);
    }

    .policy-page .nav-button,
    .faq-page-internal .nav-button,
    .contacts-page .nav-button {
        margin-left: auto;
    }

    .policy-layout,
    .faq-layout-internal,
    .contacts-layout {
        grid-template-columns: 1fr !important;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .policy-card,
    .policy-main-stack,
    .policy-section-list,
    .policy-section-item,
    .faq-card-internal,
    .faq-list-internal,
    .faq-entry-internal,
    .contacts-card,
    .contacts-detail-grid,
    .contacts-detail-item {
        min-width: 0;
        max-width: 100%;
    }

    .policy-card,
    .faq-card-internal,
    .contacts-card {
        width: 100%;
    }

    .policy-topbar,
    .faq-topbar-internal,
    .contacts-topbar {
        flex-direction: column;
        gap: 14px;
    }

    .policy-side-card,
    .faq-side-card-internal,
    .contacts-side-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .terms-conditions-content,
    .terms-conditions-content * {
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: normal;
    }
}

@media (max-width: 560px) {
    .policy-page,
    .faq-page-internal,
    .contacts-page {
        padding: 10px 10px 22px;
    }

    .policy-surface,
    .faq-surface-internal,
    .contacts-surface {
        padding: 14px;
        border-radius: 20px;
    }

    .policy-page .site-nav,
    .faq-page-internal .site-nav,
    .contacts-page .site-nav {
        align-items: center;
        gap: 10px;
    }

    .policy-page .brand-logo,
    .faq-page-internal .brand-logo,
    .contacts-page .brand-logo {
        width: 136px;
    }

    .policy-page .nav-button,
    .faq-page-internal .nav-button,
    .contacts-page .nav-button {
        min-height: 40px;
        padding: 0 14px;
        border-radius: 12px;
        font-size: 0.92rem;
    }

    .policy-page .nav-links,
    .faq-page-internal .nav-links,
    .contacts-page .nav-links {
        gap: 8px;
        font-size: 0.82rem;
    }

    .policy-topbar h1,
    .faq-topbar-internal h1,
    .contacts-topbar h1 {
        font-size: clamp(1.8rem, 10vw, 2.35rem);
        line-height: 1.08;
    }

    .policy-card,
    .policy-side-card,
    .policy-section-item,
    .faq-card-internal,
    .faq-side-card-internal,
    .faq-entry-internal,
    .contacts-card,
    .contacts-side-card,
    .contacts-detail-item {
        border-radius: 18px;
    }

    .policy-card,
    .policy-side-card,
    .faq-card-internal,
    .faq-side-card-internal,
    .contacts-card,
    .contacts-side-card {
        padding: 18px;
    }

    .policy-section-item,
    .faq-entry-internal,
    .contacts-detail-item,
    .policy-side-block,
    .faq-side-block-internal,
    .contacts-side-block {
        padding: 16px;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .policy-card,
    .policy-section-list {
        overflow: hidden;
    }

    .policy-side-card,
    .faq-side-card-internal,
    .contacts-side-card {
        grid-template-columns: 1fr;
    }

    .policy-actions,
    .faq-actions-internal,
    .contacts-actions {
        flex-direction: column;
    }

    .policy-actions .button-primary,
    .policy-actions .button-secondary,
    .faq-actions-internal .button-primary,
    .faq-actions-internal .button-secondary,
    .contacts-actions .button-primary,
    .contacts-actions .button-secondary {
        width: 100%;
    }

    .terms-conditions-content {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .terms-conditions-content p,
    .terms-conditions-content li {
        line-height: 1.6;
    }

    body:has(.policy-page) .site-footer,
    body:has(.faq-page-internal) .site-footer,
    body:has(.contacts-page) .site-footer {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Mobile layout for authentication pages */
@media (max-width: 900px) {
    html:has(.login-page),
    html:has(.register-page),
    body:has(.login-page),
    body:has(.register-page) {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .login-page,
    .register-page {
        width: 100%;
        max-width: 100%;
        padding: 12px 10px 24px;
        overflow-x: hidden;
    }

    .login-shell,
    .register-shell {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .login-surface,
    .register-surface {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 14px;
        border-radius: 22px;
        overflow: hidden;
    }

    .login-page .site-nav,
    .register-page .site-nav {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 12px;
        margin-bottom: 24px;
    }

    .login-page .brand-logo,
    .register-page .brand-logo {
        width: 164px;
        max-width: 100%;
    }

    .login-page .nav-links,
    .register-page .nav-links {
        display: none;
    }

    .login-page .site-nav .button-secondary,
    .register-page .site-nav .nav-button {
        min-height: 42px;
        padding: 0 14px;
        border-radius: 13px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .login-topbar,
    .register-topbar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 18px;
    }

    .login-topbar h1,
    .register-topbar h1 {
        font-size: clamp(2rem, 12vw, 2.6rem);
    }

    .register-topbar .button-secondary {
        width: 100%;
    }

    .login-card,
    .register-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 20px;
        border-radius: 20px;
        overflow: hidden;
    }

    .login-card-copy h2,
    .register-card-copy h2 {
        font-size: 1.45rem;
    }

    .login-card-copy p,
    .register-card-copy p {
        line-height: 1.6;
    }

    .login-form,
    .register-form,
    .login-field,
    .register-field,
    .login-notice,
    .register-notice,
    .register-verification,
    .login-actions,
    .register-actions {
        min-width: 0;
        max-width: 100%;
    }

    .login-field input,
    .register-field input {
        min-width: 0;
        max-width: 100%;
    }

    .login-primary-row,
    .register-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .login-submit,
    .register-submit,
    .login-primary-row .button-primary,
    .login-primary-row .button-secondary,
    .login-actions .button-secondary,
    .register-actions .button-secondary {
        width: 100%;
        min-width: 0;
    }

    .register-verification a {
        overflow-wrap: anywhere;
    }

    body:has(.login-page) .site-footer,
    body:has(.register-page) .site-footer {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 24px 10px 32px;
        overflow-x: hidden;
    }

    body:has(.login-page) .site-footer-shell,
    body:has(.register-page) .site-footer-shell {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body:has(.login-page) .payments-row,
    body:has(.login-page) .footer-links,
    body:has(.register-page) .payments-row,
    body:has(.register-page) .footer-links {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    body:has(.login-page) .payments-row,
    body:has(.register-page) .payments-row {
        display: none;
    }

    body:has(.login-page) .footer-links a,
    body:has(.register-page) .footer-links a {
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    body:has(.login-page) .footer-copy,
    body:has(.register-page) .footer-copy {
        margin-top: 10px;
        font-size: 0.78rem;
        line-height: 1.4;
    }
}

@media (max-width: 560px) {
    .login-page,
    .register-page {
        padding-left: 0;
        padding-right: 0;
    }

    .login-shell,
    .register-shell {
        width: calc(100% - 20px);
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .login-surface,
    .register-surface {
        padding: 14px 12px;
        border-radius: 22px;
    }

    .login-page .brand-logo,
    .register-page .brand-logo {
        width: 150px;
    }

    .login-card,
    .register-card {
        padding: 18px;
    }

    body:has(.login-page) .footer-links,
    body:has(.register-page) .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        row-gap: 8px;
        column-gap: 10px;
        font-size: 0.82rem;
    }
}

/* Mobile layout for order details and payment pages */
@media (max-width: 900px) {
    html:has(.order-view-page),
    html:has(.payment-page),
    body:has(.order-view-page),
    body:has(.payment-page) {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }

    .order-view-page,
    .payment-page {
        width: 100%;
        max-width: 100%;
        padding: 12px 10px 24px;
        overflow-x: hidden;
    }

    .order-view-shell,
    .payment-shell {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .order-view-surface,
    .payment-surface {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 14px;
        border-radius: 22px;
        overflow: hidden;
    }

    .order-view-page .site-nav,
    .payment-page .site-nav {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 12px;
        margin-bottom: 24px;
    }

    .order-view-page .brand-logo,
    .payment-page .brand-logo {
        width: 150px;
        max-width: 100%;
    }

    .order-view-page .nav-links,
    .payment-page .nav-links {
        display: none;
    }

    .order-view-page .nav-account,
    .payment-page .nav-account {
        justify-content: flex-end;
        min-width: 0;
    }

    .order-view-page .nav-account-status,
    .payment-page .nav-account-status {
        display: none;
    }

    .order-view-page .nav-button,
    .payment-page .nav-button {
        min-height: 42px;
        padding: 0 14px;
        border-radius: 13px;
        font-size: 0.9rem;
        white-space: nowrap;
    }

    .order-view-topbar,
    .payment-topbar {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 18px;
    }

    .order-view-topbar h1,
    .payment-topbar h1 {
        font-size: clamp(2rem, 12vw, 2.6rem);
    }

    .order-view-layout,
    .payment-layout,
    .payment-layout--single {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .order-view-card,
    .order-view-side-card,
    .order-view-result-card,
    .order-view-history-card,
    .payment-card,
    .payment-side-card,
    .payment-empty-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 20px;
        border-radius: 20px;
        overflow: hidden;
    }

    .order-view-side-card {
        display: block;
        padding: 0;
        overflow: visible;
    }

    .order-view-history-card {
        max-height: none;
    }

    .order-view-meta-grid,
    .order-view-main-summary,
    .order-view-identity-stack,
    .payment-meta-grid,
    .payment-modal-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .order-view-meta-item-wide {
        grid-column: auto;
    }

    .order-view-main-summary .order-view-meta-item,
    .order-view-identity-stack .order-view-meta-item,
    .order-view-meta-item,
    .payment-meta-item,
    .payment-side-block,
    .payment-transaction-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 16px;
        border-radius: 18px;
        overflow-wrap: anywhere;
    }

    .order-view-meta-summary-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .order-view-meta-summary-row strong {
        max-width: 100%;
        text-align: left;
    }

    .order-view-source-preview-link,
    .order-view-source-preview {
        width: 100%;
        max-width: 100%;
    }

    .order-view-source-caption,
    .order-view-meta-item strong,
    .payment-meta-item strong,
    .payment-side-block strong,
    .payment-transaction-card strong {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .order-view-actions,
    .payment-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .order-view-actions .button-primary,
    .order-view-actions .button-secondary,
    .order-view-status-button,
    .payment-actions .button-primary,
    .payment-actions .button-secondary,
    .payment-stub-button {
        width: 100%;
        min-width: 0;
    }

    body:has(.payment-page) .payment-modal {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 12px 10px;
        overflow-x: hidden;
    }

    body:has(.payment-page) .payment-modal-dialog,
    .payment-modal,
    .payment-modal-dialog {
        width: min(100%, 420px);
        max-width: calc(100% - 20px);
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        padding: 20px;
        border-radius: 22px;
    }

    body:has(.payment-page) .payment-modal-copy {
        max-width: 100%;
        min-width: 0;
        padding-right: 44px;
    }

    .payment-modal-backdrop {
        position: fixed;
        inset: 0;
    }

    .payment-modal-summary,
    .payment-consents,
    .payment-consent-row {
        max-width: 100%;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    body:has(.payment-page) .payment-stub-form {
        display: grid;
        gap: 10px;
    }

    body:has(.order-view-page) .site-footer,
    body:has(.payment-page) .site-footer {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 24px 10px 32px;
        overflow-x: hidden;
    }

    body:has(.order-view-page) .site-footer-shell,
    body:has(.payment-page) .site-footer-shell {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    body:has(.order-view-page) .payments-row,
    body:has(.payment-page) .payments-row {
        display: none;
    }

    body:has(.order-view-page) .footer-links,
    body:has(.payment-page) .footer-links {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        justify-content: center;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .order-view-page,
    .payment-page {
        padding-left: 0;
        padding-right: 0;
    }

    .order-view-shell,
    .payment-shell {
        width: calc(100% - 20px);
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }

    .order-view-surface,
    .payment-surface {
        padding: 14px 12px;
        border-radius: 22px;
    }

    .order-view-page .brand-logo,
    .payment-page .brand-logo {
        width: 142px;
    }

    body:has(.order-view-page) .footer-links,
    body:has(.payment-page) .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        row-gap: 8px;
        column-gap: 10px;
        font-size: 0.82rem;
    }
}

.footer-cookie-settings {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.footer-cookie-settings:hover {
    text-decoration: underline;
}

.cookie-consent {
    position: fixed;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 2000;
}

.cookie-consent[hidden],
.cookie-settings-modal[hidden] {
    display: none;
}

.cookie-consent__panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    width: min(100%, 980px);
    margin: 0 auto;
    padding: 18px;
    border: 1px solid rgba(146, 162, 198, 0.28);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 24px 70px rgba(35, 52, 96, 0.18);
}

.cookie-consent__copy h2,
.cookie-settings-modal__copy h2 {
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1.25rem;
    letter-spacing: -0.03em;
}

.cookie-consent__copy p,
.cookie-settings-modal__copy p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.cookie-consent__copy a {
    display: inline-flex;
    margin-top: 8px;
    color: #5f45ea;
    font-weight: 700;
    text-decoration: none;
}

.cookie-consent__copy a:hover {
    text-decoration: underline;
}

.cookie-consent__actions,
.cookie-settings-modal__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.cookie-consent__actions .button-primary,
.cookie-consent__actions .button-secondary,
.cookie-settings-modal__actions .button-primary,
.cookie-settings-modal__actions .button-secondary {
    min-height: 42px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 0.92rem;
}

.cookie-settings-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 29, 58, 0.42);
    backdrop-filter: blur(6px);
}

.cookie-settings-modal__dialog {
    position: relative;
    width: min(100%, 520px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 26px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(124, 97, 255, 0.14), transparent 36%),
        rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 70px rgba(35, 52, 96, 0.24);
}

.cookie-settings-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(98, 78, 214, 0.1);
    color: #51627f;
    font-size: 1.25rem;
    cursor: pointer;
}

.cookie-settings-modal__kicker {
    margin: 0 0 8px;
    color: #7a67ea;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.cookie-settings-modal__options {
    display: grid;
    gap: 12px;
    margin: 20px 0;
}

.cookie-settings-option {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(146, 162, 198, 0.28);
    border-radius: 18px;
    background: rgba(248, 250, 255, 0.94);
}

.cookie-settings-option strong,
.cookie-settings-option small {
    display: block;
}

.cookie-settings-option strong {
    color: var(--text);
    font-size: 1rem;
}

.cookie-settings-option small {
    margin-top: 5px;
    color: var(--muted);
    line-height: 1.45;
}

.cookie-settings-option input {
    width: 20px;
    height: 20px;
    accent-color: #704cff;
}

body.cookie-settings-open {
    overflow: hidden;
}

@media (max-width: 760px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .cookie-consent__panel {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px;
        border-radius: 20px;
    }

    .cookie-consent__actions,
    .cookie-settings-modal__actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .cookie-consent__actions .button-primary,
    .cookie-consent__actions .button-secondary,
    .cookie-settings-modal__actions .button-primary,
    .cookie-settings-modal__actions .button-secondary {
        width: 100%;
    }

    .cookie-settings-modal {
        padding: 10px;
    }

    .cookie-settings-modal__dialog {
        width: 100%;
        max-width: 420px;
        padding: 22px 16px 16px;
        border-radius: 22px;
    }
}



