* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, sans-serif; color: #1f2933; background: #f5f7fa; }
body.home-body {
    min-height: 100vh;
    background: #06111f;
}

/* Billing v2 */
.billing-v2 {
    display: grid;
    gap: 22px;
    color: #f7fbff;
}
.billing-stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: center;
    padding: 0 8px 6px;
}
.billing-stepper span {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #9fb1c5;
    font-weight: 800;
}
.billing-stepper strong {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    color: #9fb1c5;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 50%;
}
.billing-stepper .is-active { color: #fff; }
.billing-stepper .is-active strong {
    color: #05101d;
    background: linear-gradient(135deg, #36eba4, #1fc273);
    border-color: transparent;
}
.billing-v2-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    min-height: 250px;
    align-items: center;
    padding: 34px;
    background:
        radial-gradient(circle at 78% 42%, rgba(33,232,146,.22), transparent 30%),
        linear-gradient(105deg, rgba(5,16,29,.98) 0%, rgba(7,25,42,.96) 48%, rgba(5,55,47,.78) 100%);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.04), 0 22px 60px rgba(0,0,0,.18);
}
.billing-v2-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 76% 48%, transparent 0 30%, rgba(38,231,151,.14) 30.4% 30.9%, transparent 31.2% 40%, rgba(38,231,151,.10) 40.3% 40.8%, transparent 41.1%),
        linear-gradient(90deg, transparent, rgba(255,255,255,.03));
    pointer-events: none;
}
.billing-v2-copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
}
.billing-v2-copy > span,
.billing-network-panel > div > span,
.billing-v2-current span {
    display: inline-flex;
    margin-bottom: 8px;
    color: #36eba4;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.billing-v2-copy h1 {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.02;
}
.billing-v2-copy h1 em {
    color: #2ee991;
    font-style: normal;
}
.billing-v2-copy p {
    max-width: 600px;
    margin: 14px 0 0;
    color: #d9e7f6;
    font-size: 16px;
    line-height: 1.55;
}
.billing-v2-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 28px;
}
.billing-v2-benefits span,
.billing-trust-stats span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #eef8ff;
    font-weight: 800;
}
.bill-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #2ee991;
}
.bill-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.billing-v2-robot {
    position: relative;
    z-index: 1;
    width: min(390px, 100%);
    height: 240px;
    justify-self: end;
    background: url("/assets/brand/pitubot-robot.png") center bottom / contain no-repeat;
    filter: drop-shadow(0 26px 42px rgba(34,214,163,.18));
}
.billing-v2-alert,
.billing-v2-current,
.billing-trust-panel,
.billing-network-panel {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(145deg, rgba(10,31,49,.88), rgba(7,25,42,.82));
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
}
.billing-v2-alert strong,
.billing-v2-current h2,
.billing-trust-panel strong,
.billing-network-panel h2 { color: #fff; }
.billing-v2-alert span,
.billing-v2-current p,
.billing-trust-panel small,
.billing-network-panel p { color: #b8c7d8; }
.billing-period-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(680px, 100%);
    margin: -4px auto 0;
    padding: 7px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 13px;
}
.billing-period-tabs a {
    display: grid;
    gap: 4px;
    min-height: 62px;
    align-content: center;
    justify-items: center;
    padding: 10px;
    color: #d9e7f6;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 900;
}
.billing-period-tabs a.is-active {
    color: #fff;
    background: rgba(34,214,163,.14);
    border-color: rgba(34,214,163,.32);
}
.billing-period-tabs small {
    padding: 2px 6px;
    color: #063321;
    background: #34e89f;
    border-radius: 999px;
    font-size: 9px;
    text-transform: uppercase;
}
.billing-period-tabs span {
    color: #b8c7d8;
    font-size: 12px;
    font-weight: 700;
}
.billing-plan-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}
.billing-plan-card {
    position: relative;
    display: grid;
    gap: 22px;
    min-height: 470px;
    padding: 28px 26px 24px;
    background:
        radial-gradient(circle at 85% 0%, rgba(34,214,163,.08), transparent 34%),
        linear-gradient(145deg, rgba(11,33,54,.94), rgba(7,24,40,.94));
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.billing-plan-card.is-selected,
.billing-plan-card.is-popular {
    border-color: rgba(46,233,145,.72);
    box-shadow: 0 0 0 1px rgba(46,233,145,.24), 0 18px 48px rgba(0,0,0,.20);
}
.billing-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 18px;
    color: #fff;
    background: linear-gradient(135deg, #37e89b, #1cbf74);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}
.billing-plan-head {
    display: grid;
    gap: 9px;
}
.billing-plan-head > span {
    color: #d8e2ef;
    font-size: 16px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.billing-plan-stats .billing-plan-head > span { color: #7ce8ff; }
.billing-plan-trial .billing-plan-head > span { color: #38eba0; }
.billing-plan-gold .billing-plan-head > span { color: #f6da45; }
.billing-plan-head strong {
    color: #fff;
    font-size: 44px;
    line-height: 1;
}
.billing-plan-head strong small {
    color: #dbe7f4;
    font-size: 15px;
    font-weight: 800;
}
.billing-plan-head p {
    margin: 0;
    color: #c3d2e4;
}
.billing-plan-card ul {
    display: grid;
    gap: 12px;
    padding: 0;
    margin: 0;
    color: #eef8ff;
    list-style: none;
}
.billing-plan-card li {
    display: flex;
    align-items: center;
    gap: 9px;
}
.billing-plan-card li .bill-icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
}
.billing-plan-card li.is-warning-feature {
    color: #ffd166;
    font-weight: 950;
}
.billing-plan-card li.is-warning-feature .bill-icon {
    color: #ffd166;
}
.billing-trial-action {
    display: grid;
    align-self: end;
    margin: 0;
}
.billing-trial-action .billing-v2-button {
    width: 100%;
    border: 0;
    cursor: pointer;
}
.billing-v2-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    align-self: end;
    padding: 12px 18px;
    color: #fff;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 8px;
    font-weight: 950;
}

.marketing-stats-panel {
    display: grid;
    gap: 18px;
}
.marketing-stats-panel .muted {
    margin-top: -8px;
    color: #64748b;
}
.marketing-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.marketing-stat-card {
    display: grid;
    gap: 10px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #dbe4ee;
    border-radius: 10px;
}
.marketing-stat-card span {
    font-weight: 900;
}

@media (max-width: 820px) {
    .marketing-stats-grid {
        grid-template-columns: 1fr;
    }
}
.billing-v2-button.is-primary,
.billing-v2-button:hover {
    color: #052014;
    background: linear-gradient(135deg, #39e995, #18bd70);
    border-color: transparent;
    box-shadow: 0 18px 38px rgba(24,189,112,.24);
}
.billing-v2-button.is-disabled {
    color: #8af7c0;
    background: rgba(34,214,163,.10);
    border-color: rgba(34,214,163,.28);
}
.billing-network-panel { align-items: end; }
.billing-network-panel > div { max-width: 620px; }
.billing-network-form {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(180px, 220px);
    gap: 12px;
    align-items: end;
    min-width: min(100%, 480px);
}
.billing-network-form label {
    display: grid;
    gap: 7px;
    color: #d9e7f6;
    font-weight: 800;
}
.billing-network-form select {
    color: #fff;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.18);
}
.billing-network-form button { min-height: 46px; }
.billing-v2-current form { margin: 0; }
.billing-trust-panel > div:first-child {
    display: flex;
    align-items: center;
    gap: 16px;
}
.billing-trust-panel > div:first-child .bill-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
}
.billing-trust-panel span {
    display: grid;
    gap: 4px;
}
.billing-trust-stats {
    display: flex;
    gap: 34px;
}
.billing-trust-stats span { color: #fff; }
.billing-trust-stats strong { font-size: 20px; }
.billing-trust-stats small { font-size: 12px; }

.app-body.theme-light .billing-v2-hero,
.app-body.theme-light .billing-v2-alert,
.app-body.theme-light .billing-v2-current,
.app-body.theme-light .billing-trust-panel,
.app-body.theme-light .billing-network-panel,
.app-body.theme-light .billing-plan-card,
.app-body.theme-light .billing-period-tabs {
    background:
        radial-gradient(circle at 90% 0%, rgba(35,214,131,.12), transparent 35%),
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(235,248,246,.88));
    border-color: rgba(15,35,65,.10);
}
.app-body.theme-light .billing-stepper span,
.app-body.theme-light .billing-v2-alert span,
.app-body.theme-light .billing-v2-current p,
.app-body.theme-light .billing-trust-panel small,
.app-body.theme-light .billing-network-panel p,
.app-body.theme-light .billing-period-tabs span,
.app-body.theme-light .billing-plan-head p { color: #53657c; }
.app-body.theme-light .billing-v2-copy h1,
.app-body.theme-light .billing-v2-alert strong,
.app-body.theme-light .billing-v2-current h2,
.app-body.theme-light .billing-trust-panel strong,
.app-body.theme-light .billing-network-panel h2,
.app-body.theme-light .billing-plan-head strong,
.app-body.theme-light .billing-plan-card li,
.app-body.theme-light .billing-plan-head > span { color: #102033; }
.app-body.theme-light .billing-v2-copy p { color: #53657c; }
.app-body.theme-light .billing-network-form select {
    color: #102033;
    background: rgba(255,255,255,.82);
    border-color: rgba(15,35,65,.14);
}

@media (max-width: 1380px) {
    .billing-plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1180px) {
    .billing-v2-hero { grid-template-columns: minmax(0, 1fr) 300px; }
    .billing-plan-grid { gap: 16px; }
    .billing-plan-card { padding: 24px 20px 20px; }
}
@media (max-width: 1060px) {
    .billing-v2 { gap: 16px; }
    .billing-stepper { display: none; }
    .billing-v2-hero {
        grid-template-columns: minmax(0, 1fr) 150px;
        min-height: 0;
        padding: 24px;
        border-radius: 18px;
    }
    .billing-v2-copy h1 { font-size: clamp(28px, 8vw, 40px); }
    .billing-v2-copy p { font-size: 14px; }
    .billing-v2-benefits { display: none; }
    .billing-v2-robot {
        width: 150px;
        height: 170px;
    }
    .billing-period-tabs { margin-top: 0; }
    .billing-plan-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .billing-plan-card {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        padding: 18px;
        border-radius: 12px;
    }
    .billing-plan-card ul {
        display: none;
    }
    .billing-plan-card .billing-v2-button {
        position: absolute;
        inset: 0;
        min-height: 0;
        padding: 0;
        opacity: 0;
    }
    .billing-plan-card::after {
        content: "›";
        color: #d9e7f6;
        font-size: 32px;
        font-weight: 400;
    }
    .billing-plan-card.is-selected {
        background:
            radial-gradient(circle at 100% 50%, rgba(35,214,131,.20), transparent 35%),
            linear-gradient(145deg, rgba(7,54,42,.95), rgba(10,31,49,.94));
    }
    .billing-popular {
        position: static;
        grid-column: 1;
        justify-self: start;
        transform: none;
        padding: 4px 8px;
        font-size: 10px;
    }
    .billing-plan-head strong { font-size: 34px; }
    .billing-plan-head p { font-size: 13px; }
    .billing-network-panel,
    .billing-v2-alert,
    .billing-v2-current,
    .billing-trust-panel {
        align-items: stretch;
        flex-direction: column;
        padding: 18px;
    }
    .billing-network-form {
        grid-template-columns: 1fr;
        min-width: 0;
    }
    .billing-trust-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }
}

@media (max-width: 980px) {
    .api-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .api-mobile-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .api-submit-card {
        grid-template-columns: 1fr;
    }
    .api-submit-card button {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .api-step-grid,
    .api-mobile-step-grid {
        grid-template-columns: 1fr;
    }
    .api-mobile-step-card {
        min-height: 0;
    }
}

@media (max-width: 560px) {
    .billing-v2-hero {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .billing-v2-robot {
        width: 150px;
        height: 120px;
        justify-self: end;
        margin-top: -22px;
    }
    .billing-period-tabs { padding: 5px; }
    .billing-period-tabs a {
        min-height: 56px;
        padding: 8px 4px;
        font-size: 13px;
    }
    .billing-period-tabs span { font-size: 11px; }
    .billing-plan-head > span { font-size: 13px; }
    .billing-trust-stats { grid-template-columns: 1fr; }
}
a { color: #0f62fe; text-decoration: none; }
.topbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: #101820; color: #fff; }
.topbar a, .topbar button { color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 8px 22px rgba(17, 168, 141, .25); }
.brand span { display: grid; gap: 1px; line-height: 1; }
.brand strong { font-size: 18px; letter-spacing: 0; }
.brand small { color: #b8c7d9; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
nav { display: flex; gap: 14px; align-items: center; }
.nav-form { margin: 0; }
.topbar .nav-form button {
    min-height: auto;
    padding: 0;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-weight: 700;
}

/* Landing page v2 */
.home-public-shell {
    width: min(100% - 20px, 1440px);
    margin: 0 auto;
    padding: 8px 0 0;
}
.landing-frame {
    position: relative;
    min-height: 0;
    padding: 30px 56px 28px;
    color: #fff;
    background:
        radial-gradient(circle at 68% 33%, rgba(29,227,143,.18), transparent 28%),
        radial-gradient(circle at 11% 66%, rgba(14,191,130,.22), transparent 34%),
        linear-gradient(140deg, #05101d 0%, #061827 48%, #06342f 100%);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 90px rgba(5,17,31,.24);
}
.landing-nav {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 28px;
    align-items: center;
}
.landing-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #fff;
}
.landing-brand img { width: 42px; height: 42px; }
.landing-brand span { display: grid; line-height: 1.05; }
.landing-brand strong {
    color: #fff;
    font-size: 24px;
    font-style: normal;
    letter-spacing: 0;
}
.landing-brand small { display: none; }
.landing-links {
    justify-content: center;
    gap: 34px;
}
.landing-links a {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.landing-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}
.landing-login,
.landing-start,
.landing-demo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 11px 22px;
    border-radius: 8px;
    font-weight: 900;
}
.landing-login,
.landing-demo {
    color: #fff;
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.26);
}
.landing-start {
    color: #fff;
    background: linear-gradient(135deg, #31d57c, #1aae72);
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 18px 36px rgba(28,190,113,.26);
}
.landing-menu { display: none; }
.landing-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-areas:
        "copy visual"
        "actions visual";
    grid-template-columns: minmax(420px, 520px) minmax(520px, 1fr);
    grid-template-rows: auto 1fr;
    gap: 44px;
    align-items: center;
    padding-top: 64px;
}
.landing-copy { min-width: 0; }
.landing-copy {
    position: relative;
    z-index: 4;
    grid-area: copy;
}
.landing-badge {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    gap: 8px;
    padding: 7px 13px;
    color: #f7fbff;
    background: rgba(30,230,140,.08);
    border: 1px solid rgba(45,239,151,.35);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}
.landing-badge::before {
    content: "*";
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    color: #06321f;
    background: #31df8c;
    border-radius: 50%;
}
.landing-badge strong { color: #31df8c; }
.landing-copy h1 {
    max-width: 560px;
    margin: 24px 0 20px;
    color: #fff;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.03;
    letter-spacing: 0;
}
.landing-copy h1 span { color: #2ee28c; }
.landing-copy p {
    max-width: 500px;
    margin: 0;
    color: #d7e3ef;
    font-size: 16px;
    line-height: 1.55;
}
.landing-hero-actions {
    grid-area: actions;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-self: start;
    margin-top: -8px;
}
.landing-cta {
    min-width: 230px;
}
.landing-demo {
    min-width: 235px;
}
.landing-visual {
    position: relative;
    grid-area: visual;
    min-height: 380px;
}
.landing-visual::before {
    content: "";
    position: absolute;
    inset: -38px -38px -22px -20px;
    z-index: 2;
    background:
        radial-gradient(circle at 53% 54%, rgba(38,226,137,.20), transparent 34%),
        radial-gradient(circle at 53% 52%, rgba(5,16,29,0) 0 44%, rgba(5,16,29,.60) 78%);
    opacity: .98;
    filter: saturate(1.08) contrast(1.04) drop-shadow(0 30px 64px rgba(0,0,0,.38));
    -webkit-mask-image:
        radial-gradient(ellipse at 50% 58%, #000 0 58%, rgba(0,0,0,.8) 67%, transparent 82%),
        linear-gradient(to bottom, transparent 0%, #000 10%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(ellipse at 50% 58%, #000 0 58%, rgba(0,0,0,.8) 67%, transparent 82%),
        linear-gradient(to bottom, transparent 0%, #000 10%, #000 88%, transparent 100%);
    mask-composite: intersect;
    pointer-events: none;
}
.landing-rings {
    position: absolute;
    inset: 0 66px 16px 40px;
    border: 1px solid rgba(28,214,132,.24);
    border-radius: 50%;
    opacity: .8;
}
.landing-rings::before,
.landing-rings::after {
    content: "";
    position: absolute;
    inset: 52px;
    border: 1px solid rgba(28,214,132,.18);
    border-radius: 50%;
}
.landing-rings::after { inset: 104px; }
.landing-robot,
.landing-robot-art {
    position: absolute;
    left: 50%;
    top: -24px;
    z-index: 4;
    display: block;
    width: 500px;
    height: 430px;
    background: url("/assets/brand/pitubot-robot.png") center center / contain no-repeat;
    filter: drop-shadow(0 26px 48px rgba(0,0,0,.34));
    transform: translateX(-50%);
    -webkit-mask-image:
        radial-gradient(ellipse at 50% 50%, #000 0 48%, rgba(0,0,0,.88) 62%, transparent 78%),
        linear-gradient(to bottom, transparent 0%, #000 7%, #000 86%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        radial-gradient(ellipse at 50% 50%, #000 0 48%, rgba(0,0,0,.88) 62%, transparent 78%),
        linear-gradient(to bottom, transparent 0%, #000 7%, #000 86%, transparent 100%);
    mask-composite: intersect;
}
.landing-robot-art::after {
    content: "";
    position: absolute;
    left: 18%;
    right: 18%;
    bottom: 0;
    height: 28px;
    background: radial-gradient(ellipse, rgba(48,236,151,.45), transparent 68%);
    filter: blur(2px);
}
.hero-orbit-icons {
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
}
.hero-orbit-icons > span {
    position: absolute;
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    gap: 8px;
    width: 126px;
    color: #dffbef;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}
.hero-orbit-icons .home-icon {
    position: static;
    width: 58px;
    height: 58px;
    padding: 14px;
    color: #35f0a2;
    background: rgba(13,46,42,.78);
    border: 1px solid rgba(53,240,162,.28);
    border-radius: 50%;
    box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.hero-orbit-icons > span > small {
    display: block;
    max-width: 126px;
    color: #dffbef;
    font-size: 11px;
    line-height: 1.2;
    text-shadow: 0 3px 12px rgba(0,0,0,.55);
}
.hero-orbit-icons .orbit-pricing { left: 7%; top: 7%; }
.hero-orbit-icons .orbit-ads { left: 1%; top: 34%; }
.hero-orbit-icons .orbit-orders { left: 4%; top: 61%; }
.hero-orbit-icons .orbit-payments { right: 1%; top: 10%; }
.hero-orbit-icons .orbit-risk { right: -1%; top: 38%; }
.hero-orbit-icons .orbit-alerts { right: 4%; top: 65%; }
.profit-card {
    display: none;
}
.profit-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #b9c8d8;
    font-size: 14px;
}
.profit-head button {
    min-height: 38px;
    color: #fff;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.15);
}
.profit-card strong {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 12px;
    font-size: 28px;
}
.profit-card small { color: #fff; font-size: 15px; }
.profit-card em {
    display: inline-flex;
    margin-left: 12px;
    padding: 5px 9px;
    color: #2be08d;
    background: rgba(43,224,141,.15);
    border-radius: 999px;
    font-style: normal;
    font-weight: 900;
}
.profit-chart {
    display: block;
    width: 100%;
    height: 96px;
    margin-top: 12px;
}
.chart-labels {
    display: flex;
    justify-content: space-between;
    color: #91a5b9;
    font-size: 12px;
}
.auto-chip {
    display: none;
}
.auto-chip span {
    display: block;
    margin-top: 5px;
    color: #55e599;
    font-size: 13px;
}
.hero-stat-cards {
    display: none;
}
.hero-stat-cards div {
    display: grid;
    gap: 7px;
    min-height: 96px;
    padding: 16px;
    color: #fff;
    background: rgba(12,31,50,.84);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    box-shadow: 0 20px 48px rgba(0,0,0,.20);
    backdrop-filter: blur(12px);
}
.hero-stat-cards span {
    color: #d2deea;
    font-size: 13px;
}
.hero-stat-cards strong {
    font-size: 28px;
    line-height: 1;
}
.hero-stat-cards small {
    color: #35e894;
    font-size: 12px;
    font-weight: 800;
}
.landing-mini-features {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: none;
    gap: 0;
    margin-top: 18px;
    padding: 14px 18px;
    background: rgba(10,28,45,.54);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
}
.landing-mini-features div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 12px;
    align-items: center;
}
.landing-mini-features .home-icon {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    padding: 10px;
    color: #9cffc5;
    background: rgba(45,224,137,.20);
    border-radius: 50%;
}
.landing-mini-features strong { color: #fff; font-size: 14px; }
.landing-mini-features span:not(.home-icon) { color: #c7d6e5; font-size: 13px; }
.landing-section-title {
    display: grid;
    justify-items: center;
    gap: 10px;
    margin: 30px auto 18px;
    text-align: center;
}
.landing-section-title span {
    display: inline-flex;
    padding: 6px 13px;
    color: #d9fff0;
    background: rgba(45,224,137,.08);
    border: 1px solid rgba(45,224,137,.22);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.landing-section-title h2 {
    max-width: 560px;
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1.1;
}
.landing-section-title strong { color: #2fe39b; }
.landing-feature-cards {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    width: min(100%, 1220px);
    margin: 0 auto;
}
.landing-feature-cards article {
    display: grid;
    justify-items: center;
    min-height: 172px;
    padding: 24px 20px;
    text-align: center;
    color: #dce8f5;
    background: rgba(10,28,45,.66);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
}
.landing-feature-cards .home-icon {
    width: 52px;
    height: 52px;
    padding: 10px;
    color: #34e899;
    background: rgba(45,224,137,.13);
    border: 1px solid rgba(45,224,137,.22);
    border-radius: 10px;
}
.landing-feature-cards h3 {
    margin: 18px 0 8px;
    color: #fff;
    font-size: 15px;
}
.landing-feature-cards p {
    margin: 0;
    color: #b9c8d8;
    font-size: 13px;
    line-height: 1.45;
}
.dashboard-preview {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 0;
    width: min(100%, 1320px);
    height: 390px;
    margin: 54px auto 0;
    color: #0c1a2b;
    background: #fff;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(0,0,0,.26);
    overflow: hidden;
    transform: perspective(1200px) rotateX(3deg);
    transform-origin: bottom center;
}
.preview-sidebar {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 28px 24px;
    color: #cbd8e7;
    background: linear-gradient(180deg, #0a1d31, #071522);
}
.preview-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #fff;
}
.preview-logo img { width: 28px; height: 28px; }
.preview-sidebar span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}
.preview-sidebar .active {
    padding: 10px 12px;
    color: #47df97;
    background: rgba(71,223,151,.12);
    border-radius: 8px;
}
.preview-main { padding: 28px; background: #f7fbff; }
.preview-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.preview-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.preview-stats div,
.preview-line,
.preview-payments {
    padding: 16px;
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 10px;
}
.preview-stats span,
.preview-line span,
.preview-payments span {
    display: block;
    color: #66758b;
    font-size: 12px;
    font-weight: 800;
}
.preview-stats strong { display: block; margin-top: 7px; font-size: 18px; }
.preview-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    gap: 16px;
    margin-top: 18px;
}
.preview-line svg { width: 100%; height: 170px; margin-top: 14px; }
.preview-payments p {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 16px 0 0;
    color: #53647b;
    font-size: 13px;
}
.preview-payments strong,
.preview-payments em {
    flex: 0 0 auto;
    font-style: normal;
    font-weight: 900;
    text-align: right;
}
.preview-payments strong { color: #10a66a; }
.preview-payments em { color: #d43f4d; }
.landing-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: min(100% - 20px, 1460px);
    margin: 24px auto 0;
}
.landing-benefits article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    min-height: 118px;
    padding: 24px;
    background: #fff;
    border: 1px solid #dfe7f0;
    border-radius: 14px;
}
.landing-benefits .home-icon,
.landing-trusted .home-icon {
    width: 58px;
    height: 58px;
    padding: 14px;
    color: #fff;
    background: linear-gradient(135deg, #31d57c, #1aae72);
    border-radius: 50%;
}
.landing-benefits h3 { margin: 0 0 6px; font-size: 19px; }
.landing-benefits p { margin: 0; color: #53647b; font-size: 14px; }
.landing-trusted {
    display: grid;
    grid-template-columns: 1.1fr repeat(4, minmax(0, 1fr));
    gap: 0;
    align-items: center;
    width: min(100% - 20px, 1460px);
    min-height: 102px;
    margin: 24px auto 0;
    padding: 0 28px;
    background: #fff;
    border: 1px solid #dfe7f0;
    border-radius: 14px;
}
.landing-frame .landing-trusted {
    position: relative;
    z-index: 4;
    width: 100%;
    min-height: 92px;
    margin-top: 20px;
    color: #fff;
    background: rgba(10,28,45,.62);
    border-color: rgba(255,255,255,.10);
}
.landing-trusted > span {
    color: #8694a8;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.landing-trusted div {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 10px;
    align-items: center;
    padding: 0 28px;
    border-left: 1px solid #e7edf5;
}
.landing-frame .landing-trusted div { border-left-color: rgba(255,255,255,.09); }
.landing-trusted strong { color: #0c1a2b; font-size: 24px; }
.landing-trusted small { color: #53647b; font-size: 13px; }
.landing-trusted .home-icon {
    grid-row: span 2;
    width: 34px;
    height: 34px;
    padding: 8px;
    color: #34e899;
    background: rgba(45,224,137,.14);
    border-radius: 10px;
}
.landing-frame .landing-trusted > span { color: #aebed0; }
.landing-frame .landing-trusted strong { color: #fff; }
.landing-frame .landing-trusted small { color: #b9c8d8; }
.landing-mobile-nav { display: none; }
.landing-quick-start {
    position: relative;
    z-index: 4;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 18px;
    align-items: center;
    margin-top: 22px;
    padding: 22px 28px;
    color: #fff;
    background: rgba(10,28,45,.62);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;
}
.landing-quick-start > .home-icon {
    width: 58px;
    height: 58px;
    padding: 12px;
    color: #35f0a2;
    background: rgba(45,224,137,.14);
    border-radius: 14px;
}
.landing-quick-start h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 25px;
}
.landing-quick-start p {
    margin: 0;
    color: #b9c8d8;
    font-size: 14px;
}
.landing-quick-start .landing-start {
    min-width: 220px;
}
.landing-quick-start small {
    color: #aebed0;
    font-size: 12px;
}

@media (max-width: 1280px) {
    .landing-frame {
        padding-right: 42px;
        padding-left: 42px;
    }
    .landing-nav {
        gap: 18px;
    }
    .landing-brand strong { font-size: 22px; }
    .landing-brand small { font-size: 10px; }
    .landing-links { gap: 24px; }
    .landing-links a { font-size: 14px; }
    .landing-login,
    .landing-start {
        min-height: 48px;
        padding: 11px 18px;
    }
    .landing-hero-grid {
        grid-template-columns: minmax(360px, 500px) minmax(500px, 1fr);
        gap: 22px;
    }
    .landing-visual {
        min-height: 390px;
    }
    .landing-visual::before {
        inset: -44px -36px -22px -72px;
        background:
            linear-gradient(90deg, rgba(5,16,29,.94) 0%, rgba(5,16,29,.22) 22%, rgba(5,16,29,0) 44%),
            radial-gradient(ellipse at 49% 58%, rgba(42,229,147,.15) 0 18%, rgba(7,20,35,0) 52%, rgba(7,20,35,.18) 82%);
    }
    .landing-robot-art {
        top: -14px;
        width: 450px;
        height: 400px;
    }
    .landing-copy h1 {
        max-width: 590px;
        font-size: clamp(42px, 4.5vw, 58px);
    }
    .landing-copy p {
        max-width: 560px;
        font-size: 18px;
    }
    .landing-mini-features {
        max-width: none;
    }
    .landing-feature-cards article {
        min-height: 158px;
        padding: 20px 16px;
    }
    .hero-orbit-icons .home-icon {
        width: 48px;
        height: 48px;
        padding: 12px;
    }
    .hero-orbit-icons > span > small { font-size: 10px; }
}

@media (max-width: 1120px) {
    .landing-links,
    .landing-actions {
        display: none;
    }
    .landing-menu {
        display: inline-flex;
        min-height: 44px;
        width: 44px;
        padding: 0;
        color: #fff;
        background: transparent;
        border: 0;
    }
    .landing-menu .home-icon { width: 32px; height: 32px; }
    .landing-nav {
        grid-template-columns: 1fr auto;
    }
    .landing-frame { padding-right: 34px; padding-left: 34px; }
    .landing-hero-grid {
        grid-template-columns: minmax(320px, .82fr) minmax(390px, 1fr);
        gap: 18px;
    }
    .landing-copy h1 { font-size: clamp(40px, 5vw, 54px); }
    .landing-copy p { font-size: 17px; }
    .landing-visual { min-height: 430px; }
    .landing-visual::before {
        inset: -30px -26px -18px -54px;
        background:
            linear-gradient(90deg, rgba(5,16,29,.95) 0%, rgba(5,16,29,.24) 24%, rgba(5,16,29,0) 48%),
            radial-gradient(ellipse at 49% 58%, rgba(42,229,147,.15) 0 18%, rgba(7,20,35,0) 52%, rgba(7,20,35,.18) 82%);
    }
    .landing-robot-art {
        top: 10px;
        width: 360px;
        height: 360px;
    }
    .landing-feature-cards {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
    }
    .landing-feature-cards article {
        min-height: 142px;
        padding: 16px 10px;
    }
    .landing-feature-cards h3 { font-size: 13px; }
    .landing-feature-cards p { font-size: 11px; }
    .landing-quick-start {
        grid-template-columns: auto 1fr;
    }
    .landing-quick-start .landing-start {
        grid-column: 1 / -1;
        width: 100%;
    }
    .landing-quick-start small {
        grid-column: 1 / -1;
        text-align: center;
    }
    .landing-mini-features {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
    }
    .landing-mini-features strong { font-size: 12px; }
    .landing-mini-features span:not(.home-icon) { font-size: 11px; }
    .landing-trusted {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .landing-trusted > span {
        display: none;
    }
}

@media (max-width: 980px) {
    .home-public-shell {
        width: min(100% - 24px, 420px);
        padding: 18px 0;
    }
    .landing-frame {
        min-height: auto;
        padding: 26px 22px 32px;
        border-radius: 28px;
    }
    .landing-nav {
        grid-template-columns: 1fr auto;
    }
    .landing-links,
    .landing-actions { display: none; }
    .landing-menu {
        display: inline-flex;
        min-height: 44px;
        width: 44px;
        padding: 0;
        color: #fff;
        background: transparent;
        border: 0;
    }
    .landing-menu .home-icon { width: 32px; height: 32px; }
    .landing-brand img { width: 44px; height: 44px; }
    .landing-brand strong { font-size: 22px; }
    .landing-brand small { font-size: 10px; }
    .landing-hero-grid {
        display: grid;
        grid-template-areas:
            "copy"
            "visual"
            "actions";
        grid-template-columns: 1fr;
        gap: 0;
        padding-top: 36px;
    }
    .landing-badge {
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
        font-size: 11px;
        line-height: 1.25;
    }
    .landing-copy h1 {
        margin: 20px 0 18px;
        font-size: 35px;
        line-height: 1.1;
    }
    .landing-copy p {
        font-size: 15px;
        line-height: 1.5;
    }
    .landing-hero-actions {
        display: grid;
        gap: 14px;
    }
    .landing-cta,
    .landing-demo {
        width: 100%;
        min-width: 0;
    }
    .landing-visual {
        min-height: 250px;
        margin-top: 18px;
    }
    .landing-visual::before {
        display: block;
        inset: 0;
        opacity: .72;
    }
    .landing-rings { inset: 16px 30px 12px; }
    .landing-robot,
    .landing-robot-art {
        display: block;
        top: 8px;
        width: 230px;
        height: 235px;
    }
    .hero-orbit-icons > span {
        width: 74px;
    }
    .hero-orbit-icons .home-icon {
        width: 34px;
        height: 34px;
        padding: 8px;
    }
    .hero-orbit-icons > span > small {
        display: none;
    }
    .hero-orbit-icons .orbit-pricing { left: 4%; top: 8%; }
    .hero-orbit-icons .orbit-ads { left: 2%; top: 42%; }
    .hero-orbit-icons .orbit-orders { left: 10%; top: 68%; }
    .hero-orbit-icons .orbit-payments { right: 4%; top: 18%; }
    .hero-orbit-icons .orbit-risk { right: 0; top: 45%; }
    .hero-orbit-icons .orbit-alerts { right: 8%; top: 68%; }
    .landing-mini-features {
        grid-template-columns: 1fr;
        max-width: none;
        gap: 12px;
        margin-top: 18px;
        padding: 0;
        background: transparent;
        border: 0;
    }
    .landing-mini-features div {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .dashboard-preview { display: none; }
    .landing-benefits,
    .landing-mobile-nav {
        display: none;
    }
    .landing-frame .landing-trusted {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        min-height: 0;
        padding: 14px;
    }
    .landing-trusted > span {
        grid-column: 1 / -1;
        display: block;
        font-size: 10px;
    }
    .landing-trusted div {
        padding: 0;
        border-left: 0;
    }
    .landing-trusted strong { font-size: 18px; }
    .landing-trusted small { font-size: 10px; }
    .landing-section-title {
        margin-top: 26px;
    }
    .landing-section-title h2 {
        font-size: 25px;
    }
    .landing-feature-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .landing-feature-cards article {
        grid-template-columns: auto 1fr;
        justify-items: start;
        align-items: center;
        min-height: 68px;
        padding: 12px 0;
        text-align: left;
        background: transparent;
        border: 0;
        border-radius: 0;
    }
    .landing-feature-cards .home-icon {
        grid-row: span 2;
        width: 38px;
        height: 38px;
    }
    .landing-feature-cards h3 {
        margin: 0;
        font-size: 14px;
    }
    .landing-feature-cards p {
        font-size: 11px;
    }
    .landing-quick-start {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 18px;
        text-align: center;
    }
    .landing-quick-start .landing-start {
        width: 100%;
        min-width: 0;
    }
}
.topbar .nav-form button:hover { color: #b8e6ff; }
.language-select { display: inline-flex; margin: 0; }
.language-select select { min-height: 38px; padding: 7px 9px; color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.shell { max-width: 1180px; margin: 0 auto; padding: 28px 20px 60px; }
.panel { background: #fff; border: 1px solid #d9e2ec; border-radius: 8px; padding: 20px; margin-bottom: 18px; }
.narrow { max-width: 560px; margin: 30px auto; }
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
h1, h2 { margin: 0 0 12px; }
p { line-height: 1.5; }
.stack { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-weight: 600; }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid #bcccdc; border-radius: 6px; font: inherit; background: #fff; }
label span { color: #627d98; font-size: 13px; font-weight: 400; line-height: 1.4; }
.check { display: flex; grid-template-columns: auto 1fr; align-items: center; gap: 8px; }
.check input { width: auto; }
button, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 8px 14px; border: 1px solid #0f62fe; border-radius: 6px; color: #0f62fe; background: #fff; cursor: pointer; font: inherit; }
.primary { background: #0f62fe; color: #fff; }
.inline { display: inline-flex; gap: 8px; align-items: center; margin: 0; }
.inline input, .inline select { width: auto; min-width: 100px; }
.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact { gap: 10px; }
.notice { border-radius: 8px; padding: 12px 14px; margin-bottom: 18px; }
.payment-row { padding: 8px 0; border-bottom: 1px solid #e4e7eb; }
.payment-row:last-child { border-bottom: 0; }
.success { background: #e3fcef; color: #0b6b3a; border: 1px solid #8eedb8; }
.error { background: #ffe8e8; color: #9b1c1c; border: 1px solid #ffb4b4; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid #e4e7eb; vertical-align: top; }
small { color: #52606d; }
@media (max-width: 760px) {
    .topbar, .page-head, nav { align-items: flex-start; flex-direction: column; }
    .grid.two, .grid.three { grid-template-columns: 1fr; }
    table { display: block; overflow-x: auto; }
}

.billing-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 20px;
    align-items: end;
    padding: 22px 24px;
    margin-bottom: 20px;
    color: #fff;
    background: linear-gradient(135deg, #0b1324 0%, #123c69 54%, #17877d 100%);
    border-radius: 8px;
}
.billing-hero h1 { max-width: 620px; margin: 8px 0 10px; font-size: clamp(26px, 3vw, 38px); line-height: 1.06; }
.billing-hero p { max-width: 680px; margin: 0; color: #dbeafe; font-size: 15px; }
.eyebrow { display: inline-flex; align-items: center; gap: 7px; color: inherit; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.icon { display: inline-flex; width: 18px; height: 18px; flex: 0 0 18px; align-items: center; justify-content: center; }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.billing-steps { display: grid; gap: 8px; }
.billing-steps div {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 9px 11px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 8px;
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}
.billing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}
.plans-column { min-width: 0; }
.section-title { margin-bottom: 14px; }
.section-title h2 { margin-bottom: 5px; font-size: 24px; }
.section-title p { max-width: 760px; margin: 0; color: #52606d; font-size: 15px; }
.current-subscription-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
    margin: 0 0 24px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}
.current-subscription-panel h2 { margin-bottom: 4px; font-size: 22px; }
.current-subscription-panel p { margin: 0; color: #52606d; font-size: 14px; }
.billing-open-payment { margin: 16px auto 0; max-width: 1280px; }
.danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 14px;
    color: #9b1c1c;
    background: #fff5f5;
    border: 1px solid #ffb4b4;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
}
.pricing-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-top: 5px solid #2f80ed;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
}
.pricing-card-gold { border-top-color: #d99a20; }
.pricing-card-platinum { border-top-color: #11a88d; }
.plan-top { display: grid; gap: 7px; }
.plan-top h2 { font-size: 26px; margin: 0; }
.plan-top p { margin: 0; color: #52606d; font-size: 15px; }
.plan-badge {
    justify-self: start;
    padding: 5px 9px;
    color: #0b4f71;
    background: #e6f6ff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.pricing-card-gold .plan-badge { color: #8a5a00; background: #fff3d6; }
.pricing-card-platinum .plan-badge { color: #006b5b; background: #ddfff7; }
.feature-list {
    display: grid;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
    color: #334e68;
    font-size: 15px;
}
.feature-list li { display: flex; align-items: center; gap: 9px; }
.feature-list .icon { width: 18px; height: 18px; color: #12805c; }
.duration-list { display: grid; gap: 10px; margin-top: auto; }
.period-choice-list { display: grid; gap: 10px; margin-top: auto; }
.period-choice {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    color: #102a43;
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}
.period-choice:hover,
.period-choice.is-selected {
    border-color: #0f62fe;
    box-shadow: 0 0 0 3px rgba(15, 98, 254, .10);
}
.period-choice.is-current {
    background: #e3fcef;
    border-color: #8eedb8;
}
.period-choice span:first-child { display: grid; gap: 2px; }
.period-choice small { color: #52606d; }
.period-price { font-size: 20px; font-weight: 800; white-space: nowrap; }
.period-price small { font-size: 11px; font-weight: 800; }
.duration-option {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    margin: 0;
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}
.duration-copy { display: grid; gap: 3px; }
.duration-copy strong { font-size: 17px; }
.duration-copy span { color: #627d98; font-size: 13px; }
.price { display: flex; align-items: baseline; justify-content: flex-end; gap: 4px; color: #102a43; }
.price strong { font-size: 26px; line-height: 1; }
.price span { color: #627d98; font-size: 12px; font-weight: 800; }
.network-select {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: center;
    color: #52606d;
    font-size: 13px;
}
.network-select select { min-height: 38px; padding: 8px 10px; }
.duration-option button { grid-column: 1 / -1; width: 100%; font-weight: 800; }
.payment-panel {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}
.checkout-panel {
    position: sticky;
    top: 18px;
    display: grid;
    gap: 12px;
    padding: 18px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
}
.checkout-panel h2 { margin: 0; font-size: 24px; }
.checkout-panel p { margin: 0; color: #52606d; font-size: 15px; }
.checkout-price { display: flex; align-items: baseline; gap: 6px; color: #102a43; }
.checkout-price strong { font-size: 34px; line-height: 1; }
.checkout-price span { color: #627d98; font-weight: 800; }
.checkout-form { display: grid; gap: 12px; }
.checkout-form button { width: 100%; }
.checkout-addresses { display: grid; gap: 10px; padding-top: 12px; border-top: 1px solid #e4e7eb; }
.checkout-addresses h3 { margin: 0; }
.payment-copy h2 { margin: 10px 0; }
.payment-copy p { margin: 0; color: #52606d; }
.address-grid { display: grid; gap: 12px; }
.address-card, .address-empty {
    display: grid;
    gap: 8px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}
.address-card span { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.address-card code { white-space: normal; word-break: break-all; color: #102a43; }
.address-empty { color: #52606d; }
.address-empty .icon { width: 30px; height: 30px; color: #0f62fe; }
.address-empty strong { color: #102a43; }
.payment-detail-page { display: grid; gap: 18px; }
.payment-detail-hero {
    padding: 22px;
    color: #fff;
    background: linear-gradient(135deg, #0b1324 0%, #123c69 58%, #17877d 100%);
    border-radius: 8px;
}
.payment-detail-hero h1 { margin: 8px 0; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; }
.payment-detail-hero p { max-width: 720px; margin: 0; color: #dbeafe; }
.payment-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 18px;
    align-items: start;
}
.payment-detail-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}
.payment-summary-head {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.payment-summary-head div,
.payment-amount-box,
.selected-address-box,
.payment-warning {
    display: grid;
    gap: 6px;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}
.payment-summary-head span,
.payment-amount-box span,
.selected-address-box span {
    color: #52606d;
    font-size: 13px;
    font-weight: 700;
}
.payment-summary-head strong { color: #102a43; font-size: 18px; }
.payment-amount-box strong { color: #102a43; font-size: 42px; line-height: 1; }
.payment-amount-box small { font-size: 16px; font-weight: 800; }
.selected-address-box strong { color: #102a43; font-size: 22px; }
.selected-address-box code {
    display: block;
    padding: 12px;
    color: #102a43;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    font-size: 15px;
    white-space: normal;
    word-break: break-all;
}
.payment-warning { background: #fffaf0; border-color: #f7d794; }
.payment-warning strong { color: #8a5a00; }
.payment-warning p { margin: 0; color: #5f4b16; }
.address-admin-panel { display: grid; gap: 14px; }
.address-admin-form {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: end;
}
.address-admin-list { display: grid; gap: 12px; }
.address-admin-row {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: end;
    padding: 14px;
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}
.address-active-check { min-height: 38px; align-content: center; }
.address-row-actions { display: flex; gap: 8px; align-items: center; }

@media (max-width: 980px) {
    .billing-hero, .payment-panel, .billing-layout { grid-template-columns: 1fr; }
    .payment-detail-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .checkout-panel { position: static; }
    .billing-hero { align-items: start; }
    .address-admin-form,
    .address-admin-row {
        grid-template-columns: 1fr;
    }
    .address-row-actions { align-items: stretch; flex-direction: column; }
    .address-row-actions button, .address-admin-form button { width: 100%; }
}

@media (max-width: 520px) {
    .billing-hero { gap: 14px; padding: 18px; }
    .billing-hero h1 { font-size: 26px; }
    .billing-hero p, .section-title p, .plan-top p, .checkout-panel p { font-size: 14px; }
    .payment-summary-head { grid-template-columns: 1fr; }
    .payment-amount-box strong { font-size: 34px; }
    .billing-steps div { padding: 8px 10px; font-size: 12px; }
    .section-title h2, .checkout-panel h2 { font-size: 22px; }
    .plan-top h2 { font-size: 24px; }
    .duration-option { grid-template-columns: 1fr; }
    .current-subscription-panel { align-items: stretch; flex-direction: column; }
    .current-subscription-panel form, .current-subscription-panel button { width: 100%; }
    .period-choice { align-items: flex-start; flex-direction: column; }
    .price { justify-content: flex-start; }
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 28px;
    align-items: center;
    min-height: calc(100vh - 160px);
}
.auth-copy {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px;
    color: #fff;
    background: linear-gradient(135deg, #0b1324 0%, #123c69 58%, #11a88d 100%);
    border-radius: 8px;
}
.auth-copy h1 { max-width: 680px; margin: 12px 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.02; }
.auth-copy p { max-width: 620px; margin: 0; color: #dbeafe; font-size: 18px; }
.auth-card, .settings-card {
    display: grid;
    gap: 16px;
    padding: 24px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
}
.auth-card h2 { font-size: 28px; }
.form-note { margin: 0; color: #52606d; font-size: 14px; }
.settings-page {
    display: grid;
    grid-template-columns: 380px minmax(0, 640px);
    gap: 28px;
    align-items: start;
}
.settings-page.wide { grid-template-columns: 360px minmax(0, 820px); }
.account-sections { display: grid; gap: 18px; }
.settings-intro {
    position: sticky;
    top: 24px;
    padding: 24px;
    color: #fff;
    background: #101820;
    border-radius: 8px;
}
.settings-intro h1 { margin: 12px 0; font-size: 36px; line-height: 1.05; }
.settings-intro p { margin: 0; color: #dbeafe; }
.form-section {
    display: grid;
    gap: 14px;
    padding: 18px;
    background: #f8fafc;
    border: 1px solid #e4e7eb;
    border-radius: 8px;
}
.form-section h2 { margin: 0; font-size: 20px; }
.settings-card-note {
    margin: 0;
    color: var(--bp-muted);
    line-height: 1.5;
}
.settings-controls-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.setting-control-label {
    display: grid;
    gap: 8px;
    color: var(--bp-text);
    font-weight: 800;
}
.settings-select {
    width: 100%;
    min-height: 46px;
    justify-content: stretch;
    padding: 0 12px;
    color: var(--bp-text);
    background: #fff;
    border: 1px solid var(--bp-line);
    border-radius: 10px;
}
.settings-select select {
    width: 100%;
    min-height: 44px;
    color: inherit;
    background: transparent;
    border: 0;
    font-weight: 800;
}
.settings-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 900px) {
    .auth-shell, .settings-page, .settings-page.wide { grid-template-columns: 1fr; min-height: 0; }
    .auth-copy { min-height: 280px; }
    .settings-intro { position: static; }
    .settings-controls-grid { grid-template-columns: 1fr; }
}

.dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    padding: 28px;
    margin-bottom: 20px;
    color: #fff;
    background: linear-gradient(135deg, #0b1324 0%, #123c69 58%, #17877d 100%);
    border-radius: 8px;
}
.dashboard-hero h1 { max-width: 760px; margin: 10px 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.dashboard-hero p { margin: 0; color: #dbeafe; }
.compact-hero h1 { font-size: clamp(30px, 4vw, 46px); }
.setup-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}
.setup-card {
    display: grid;
    gap: 10px;
    padding: 18px;
    background: #fff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}
.setup-card > strong {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    color: #0f62fe;
    background: #e6f6ff;
    border-radius: 50%;
}
.setup-card.done > strong { color: #0b6b3a; background: #e3fcef; }
.setup-card h2 { margin: 0; font-size: 20px; }
.setup-card p { margin: 0; color: #52606d; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.panel-head h2 { margin: 0; }
.metric-panel { display: grid; gap: 12px; }
.metric-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e4e7eb;
}
.metric-row:last-child { border-bottom: 0; }
.metric-row span { color: #52606d; }
.bot-grid, .ad-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.bot-card, .ad-card {
    display: grid;
    gap: 8px;
    padding: 16px;
    color: #102a43;
    background: #f8fafc;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}
.bot-card:hover { border-color: #0f62fe; box-shadow: 0 10px 24px rgba(15, 98, 254, .08); }
.bot-card strong, .ad-card strong { font-size: 18px; }
.bot-card span, .ad-card span, .bot-card small, .ad-card small { color: #52606d; }
.ad-card code { white-space: normal; word-break: break-all; color: #102a43; }
.empty-state {
    display: grid;
    gap: 6px;
    padding: 22px;
    color: #52606d;
    background: #f8fafc;
    border: 1px dashed #bcccdc;
    border-radius: 8px;
}
.empty-state strong { color: #102a43; }
.translation-tools {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
}
.translation-status { min-height: 22px; color: #52606d; margin-bottom: 10px; }
.translations-table { overflow-x: auto; }
.translations-table textarea {
    min-width: 260px;
    min-height: 92px;
    resize: vertical;
}
.translation-edit.is-saving { border-color: #d99a20; background: #fffaf0; }
.translation-edit.is-saved { border-color: #12805c; background: #f0fff4; }
.translation-edit.is-error { border-color: #c62828; background: #fff5f5; }

.admin-body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: #eef3f8;
}
.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 18px;
    color: #fff;
    background: #07111f;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}
.admin-brand img { width: 34px; height: 34px; border-radius: 10px; }
.admin-brand span { display: grid; gap: 1px; line-height: 1; }
.admin-brand strong { font-size: 18px; }
.admin-brand small { color: #8fb3d9; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.admin-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-nav a, .admin-nav button, .admin-nav .language-select select {
    min-height: 38px;
    padding: 8px 10px;
    color: #e6f6ff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
}
.admin-shell {
    flex: 1 0 auto;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 18px 64px;
}
.admin-shell-full {
    max-width: none;
    width: 100%;
    padding: 14px;
}
.admin-footer {
    flex: 0 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    color: #52606d;
    background: #fff;
    border-top: 1px solid #d9e2ec;
}
.admin-shell-full .panel {
    min-height: calc(100vh - 150px);
    margin-bottom: 0;
}
.admin-shell-full .translations-table {
    max-height: calc(100vh - 310px);
    overflow: auto;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
}
.admin-shell-full .translations-table table {
    min-width: 1500px;
}
.admin-shell-full .translations-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #f8fafc;
}
.admin-shell-full .translations-table tbody td:first-child,
.admin-shell-full .translations-table thead th:first-child {
    position: sticky;
    left: 0;
    z-index: 3;
    background: #fff;
    box-shadow: 1px 0 0 #d9e2ec;
}
.admin-shell-full .translations-table thead th:first-child {
    z-index: 4;
    background: #f8fafc;
}
.admin-shell-full .translations-table textarea {
    width: 100%;
    min-width: 250px;
}
.admin-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 28px;
    align-items: center;
    min-height: calc(100vh - 190px);
}
.admin-login-copy {
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 34px;
    color: #fff;
    background: linear-gradient(135deg, #07111f 0%, #123c69 58%, #11a88d 100%);
    border-radius: 8px;
}
.admin-login-copy h1 {
    max-width: 680px;
    margin: 12px 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.02;
}
.admin-login-copy p {
    max-width: 620px;
    margin: 0;
    color: #dbeafe;
    font-size: 18px;
}

@media (max-width: 980px) {
    .setup-grid, .bot-grid, .ad-grid { grid-template-columns: 1fr; }
    .dashboard-hero { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
    body { background: #f8fafc; }
    .topbar {
        gap: 14px;
        padding: 12px 14px;
    }
    .brand { width: 100%; }
    .brand small {
        max-width: calc(100vw - 84px);
        overflow-wrap: anywhere;
        line-height: 1.2;
    }
    nav {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
    }
    nav a, nav button, .language-select select {
        width: 100%;
        min-height: 44px;
        padding: 10px 8px;
        justify-content: center;
        text-align: center;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 8px;
    }
    .topbar .nav-form button {
        min-height: 44px;
        padding: 10px 8px;
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 8px;
    }
    nav .nav-form { width: 100%; display: block; }
    .language-select { width: 100%; }
    .shell { padding: 16px 12px 44px; }
    .panel, .auth-card, .settings-card, .payment-panel, .pricing-card {
        padding: 16px;
        border-radius: 8px;
    }
    .billing-hero, .dashboard-hero, .auth-copy, .settings-intro {
        padding: 20px;
        border-radius: 8px;
    }
    .billing-hero h1, .dashboard-hero h1, .auth-copy h1 {
        font-size: 32px;
        line-height: 1.08;
    }
    .settings-intro h1 { font-size: 30px; }
    .billing-hero p, .dashboard-hero p, .auth-copy p { font-size: 16px; }
    .eyebrow { align-items: flex-start; line-height: 1.3; }
    input, select, textarea, button, .button {
        min-height: 46px;
        font-size: 16px;
    }
    .inline {
        display: grid;
        width: 100%;
        gap: 8px;
    }
    .inline input, .inline select, .inline button { width: 100%; min-width: 0; }
    .page-head, .panel-head {
        align-items: stretch;
        flex-direction: column;
    }
    .page-head .button, .panel-head .button, .dashboard-hero .button { width: 100%; }
    .grid.two, .grid.three { grid-template-columns: 1fr; }
    .form-section { padding: 14px; }
    .check {
        align-items: flex-start;
        line-height: 1.4;
    }
    .check input { margin-top: 4px; }
    .metric-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
    .payment-row .inline { margin-top: 8px; }
    .bot-card, .ad-card, .setup-card, .address-card, .address-empty {
        min-width: 0;
    }
    .bot-card *, .ad-card *, .setup-card *, .address-card *, .address-empty * {
        overflow-wrap: anywhere;
    }
    .translation-tools { grid-template-columns: 1fr; }
    .translations-table textarea { min-width: 220px; }
    .admin-topbar, .admin-nav, .admin-footer {
        align-items: stretch;
        flex-direction: column;
    }
    .admin-nav { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
    .admin-nav a, .admin-nav button, .admin-nav .language-select, .admin-nav .language-select select {
        width: 100%;
        text-align: center;
    }
    .admin-shell, .admin-shell-full { padding: 12px; }
    .admin-shell-full .translations-table {
        max-height: calc(100vh - 360px);
    }
    .admin-login-shell { grid-template-columns: 1fr; min-height: 0; }
    .admin-login-copy { min-height: 260px; padding: 22px; }
}

@media (max-width: 520px) {
    .topbar { padding: 10px; }
    nav { grid-template-columns: 1fr 1fr; }
    .brand strong { font-size: 17px; }
    .brand small { font-size: 10px; }
    .pricing-grid, .setup-grid, .bot-grid, .ad-grid { gap: 12px; }
    .duration-option {
        padding: 12px;
        gap: 10px;
    }
    .network-select {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .price strong { font-size: 24px; }
    .feature-list li { align-items: flex-start; }
    .billing-steps div { align-items: flex-start; }
    table th, table td { white-space: nowrap; }
}

/* PituBot v3 app theme */
:root {
    --bp-bg: #eef5fb;
    --bp-panel: rgba(255,255,255,.92);
    --bp-line: #dce8f2;
    --bp-text: #0f1b2d;
    --bp-muted: #66768c;
    --bp-sidebar: #061427;
    --bp-sidebar-2: #09203a;
    --bp-mint: #22d6a3;
    --bp-blue: #1677ff;
    --bp-purple: #7b61ff;
    --bp-shadow: 0 18px 48px rgba(15, 35, 65, .10);
}

body {
    color: var(--bp-text);
    background:
        radial-gradient(circle at 12% 0%, rgba(34,214,163,.16), transparent 30%),
        radial-gradient(circle at 85% 4%, rgba(123,97,255,.14), transparent 28%),
        var(--bp-bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

a { color: var(--bp-blue); }
h1, h2 { color: var(--bp-text); }
p { color: var(--bp-muted); }

.app-body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    background:
        radial-gradient(circle at 68% 26%, rgba(29,227,143,.13), transparent 30%),
        radial-gradient(circle at 13% 70%, rgba(14,191,130,.16), transparent 34%),
        linear-gradient(140deg, #05101d 0%, #061827 48%, #06342f 100%);
}
.app-shell {
    display: grid;
    grid-template-columns: 276px minmax(0, 1fr);
    width: 100%;
    max-width: 1808px;
    box-sizing: border-box;
    flex: 0 1 1808px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 16px;
    gap: 0;
}
.app-sidebar {
    position: sticky;
    top: 16px;
    display: flex;
    height: calc(100vh - 32px);
    flex-direction: column;
    gap: 26px;
    padding: 26px 16px 18px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(10,35,62,.98), rgba(2,14,27,.98)),
        radial-gradient(circle at 20% 0%, rgba(34,214,163,.20), transparent 36%);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px 0 0 24px;
    box-shadow: 24px 0 60px rgba(6,20,39,.18);
}
.app-brand,
.auth-public-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
}
.app-brand img,
.auth-public-brand img {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(34,214,163,.28);
}
.app-brand span,
.auth-public-brand span,
.sidebar-user span { display: grid; gap: 3px; min-width: 0; }
.app-brand strong,
.auth-public-brand strong { font-size: 22px; line-height: 1; }
.app-brand small,
.auth-public-brand small {
    color: #a9bed4;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}
.side-nav {
    display: grid;
    gap: 10px;
}
.side-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 14px;
    color: #cfdded;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 700;
}
.side-nav a:hover,
.side-nav a.is-active {
    color: #fff;
    background: linear-gradient(90deg, rgba(34,214,163,.20), rgba(255,255,255,.08));
    border-color: rgba(34,214,163,.36);
    box-shadow: inset 3px 0 0 var(--bp-mint);
}
.app-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}
.app-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.sidebar-footer {
    display: grid;
    gap: 12px;
    margin-top: auto;
}
.sidebar-user-menu {
    position: relative;
}
.sidebar-user-menu summary {
    list-style: none;
    cursor: pointer;
}
.sidebar-user-menu summary::-webkit-details-marker {
    display: none;
}
.sidebar-user {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 12px;
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
}
.user-avatar {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    color: #032014;
    background: linear-gradient(135deg, #39e9bc, #8dffb7);
    border-radius: 50%;
    font-weight: 900;
}
.sidebar-user strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sidebar-user small { color: #a9bed4; }
.sidebar-menu-caret {
    color: #a9bed4;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 1px;
}
.sidebar-user-dropdown {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    left: 0;
    display: none;
    gap: 6px;
    padding: 8px;
    background: rgba(2,14,27,.98);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(0,0,0,.32);
}
.sidebar-user-menu[open] .sidebar-user-dropdown {
    display: grid;
}
.sidebar-user-dropdown a,
.sidebar-user-dropdown button {
    display: inline-flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 9px 10px;
    color: #dffbef;
    background: transparent;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
}
.sidebar-user-dropdown a:hover,
.sidebar-user-dropdown button:hover {
    background: rgba(255,255,255,.08);
}
.sidebar-user-dropdown form {
    margin: 0;
}

.app-main {
    min-width: 0;
    width: 100%;
    max-width: 1500px;
    justify-self: stretch;
    background:
        radial-gradient(circle at 82% 10%, rgba(34,214,163,.10), transparent 28%),
        rgba(2,14,27,.78);
    border: 1px solid rgba(255,255,255,.08);
    border-left: 0;
    border-radius: 0 24px 24px 0;
    box-shadow: 0 24px 80px rgba(0,0,0,.22);
}
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 28px 32px 18px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.app-header > div {
    display: flex;
    align-items: center;
    gap: 14px;
}
.app-header h1 {
    margin: 0;
    color: #fff;
    font-size: 22px;
}
.top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.top-actions:empty {
    display: none;
}
.top-actions .button,
.top-actions button,
.top-actions .new-bot-action,
.theme-select,
.language-select {
    min-height: 42px;
    border-radius: 10px;
}
.top-actions .new-bot-action,
.top-actions .nav-form button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    font-weight: 800;
}
.language-select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
}
.theme-select {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 10px;
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
}
.language-select select {
    min-height: 40px;
    padding: 0 24px 0 0;
    color: inherit;
    background: transparent;
    border: 0;
    font-weight: 800;
}
.theme-select select {
    min-height: 40px;
    padding: 0 22px 0 0;
    color: inherit;
    background: transparent;
    border: 0;
    font-weight: 800;
}
.setting-control-label .settings-select {
    width: 100%;
    justify-content: stretch;
    color: var(--bp-text);
    background: #fff;
    border-color: var(--bp-line);
}
.setting-control-label .settings-select select {
    width: 100%;
    min-height: 44px;
    color: inherit;
}
.mobile-menu-button {
    display: none;
    width: 42px;
    min-height: 42px;
    padding: 0;
    color: var(--bp-text);
    background: #fff;
    border-color: var(--bp-line);
    border-radius: 12px;
}
.mobile-menu-button span {
    display: block;
    width: 16px;
    height: 2px;
    margin: 3px auto;
    background: currentColor;
    border-radius: 999px;
}
.shell {
    max-width: none;
    padding: 24px 32px 34px;
}
.trial-access-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    margin: 0 0 14px;
    padding: 9px 12px 9px 14px;
    color: #fff;
    background: linear-gradient(90deg, #c72c3f, #f6465d);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(246,70,93,.20);
}
.trial-access-copy {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    font-size: 13px;
    line-height: 1.25;
}
.trial-access-copy strong {
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 900;
}
.trial-access-copy > span:not(.trial-access-info) {
    color: rgba(255,255,255,.90);
    font-weight: 650;
}
.trial-access-info {
    position: relative;
    display: inline-grid;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    place-items: center;
    color: #c72c3f;
    background: #fff;
    border-radius: 50%;
    cursor: help;
    font-size: 12px;
    font-weight: 1000;
}
.trial-access-info > span {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    z-index: 40;
    width: min(360px, 78vw);
    padding: 12px 13px;
    color: #102033;
    background: #fff;
    border: 1px solid rgba(15,35,65,.10);
    border-radius: 12px;
    box-shadow: 0 18px 42px rgba(15,35,65,.20);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.45;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 6px);
    transition: opacity .16s ease, transform .16s ease;
}
.trial-access-info:hover > span,
.trial-access-info:focus > span {
    opacity: 1;
    transform: translate(-50%, 0);
}
.trial-access-banner a {
    flex: 0 0 auto;
    padding: 8px 12px;
    color: #a41427;
    background: #fff;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 20px rgba(80,0,10,.16);
}
.app-main-dashboard .app-header {
    display: none;
}
.app-main-dashboard .shell {
    padding-top: 32px;
}

.panel,
.settings-card,
.setup-card,
.pricing-card,
.checkout-panel,
.payment-detail-card,
.current-subscription-panel {
    background: var(--bp-panel);
    border: 1px solid var(--bp-line);
    border-radius: 12px;
    box-shadow: 0 12px 34px rgba(15,35,65,.06);
}
.panel { padding: 22px; }
button,
.button {
    min-height: 42px;
    padding: 10px 16px;
    color: var(--bp-blue);
    background: #fff;
    border: 1px solid #bed7ff;
    border-radius: 10px;
    font-weight: 800;
}
.button-small { min-height: 36px; padding: 7px 12px; font-size: 13px; }
.primary,
button.primary {
    color: #fff;
    background: linear-gradient(135deg, #31d57c, #1aae72);
    border-color: transparent;
    box-shadow: 0 18px 36px rgba(28,190,113,.26);
}
input,
select,
textarea {
    min-height: 44px;
    border-color: var(--bp-line);
    border-radius: 10px;
}
input[readonly],
textarea[readonly] {
    color: var(--bp-muted);
    background: #f3f8fc;
    cursor: default;
}

.dashboard-hero,
.billing-hero,
.payment-detail-hero {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    padding: 32px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(7,17,31,.94) 0%, rgba(8,31,60,.86) 46%, rgba(9,69,78,.45) 100%),
        url("/assets/brand/pitubot-robot.png") center right / cover no-repeat;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    box-shadow: 0 18px 46px rgba(4,18,34,.18);
}
.dashboard-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
}
.dashboard-hero h1,
.billing-hero h1,
.payment-detail-hero h1 {
    max-width: 680px;
    margin: 10px 0;
    color: #fff;
    font-size: clamp(28px, 3.4vw, 42px);
    line-height: 1.12;
}
.dashboard-hero p,
.billing-hero p,
.payment-detail-hero p { max-width: 680px; color: #d8e6f6; }
.dashboard-hero .button {
    color: #031525;
    background: linear-gradient(135deg, #7effc9, #64e3f2);
    border: 0;
}
.eyebrow {
    font-size: 11px;
    font-weight: 900;
}

.setup-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.setup-card {
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    padding: 20px;
}
.setup-card > strong {
    width: 36px;
    height: 36px;
    color: #073b2c;
    background: linear-gradient(135deg, #a9ffe0, #e7fff7);
    border-radius: 50%;
}
.setup-card:nth-child(2) > strong { color: #074078; background: linear-gradient(135deg, #bfddff, #eff6ff); }
.setup-card:nth-child(3) > strong { color: #3c2175; background: linear-gradient(135deg, #d8c9ff, #f4efff); }
.setup-card h2 {
    grid-column: 2;
    margin-top: 5px;
    font-size: 18px;
}
.setup-card p {
    grid-column: 2;
    max-width: 360px;
    font-size: 15px;
    line-height: 1.45;
}
.setup-card .button {
    grid-column: 2;
    width: fit-content;
    min-width: 170px;
    max-width: 100%;
    padding-inline: 18px;
}
.setup-card form {
    grid-column: 2;
    margin: 0;
}
.setup-card form .button,
.setup-card form button {
    width: fit-content;
    min-width: 170px;
    max-width: 100%;
    padding-inline: 18px;
}

.dashboard-panels {
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
    gap: 18px;
    margin-bottom: 18px;
}
.panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.plan-pill {
    color: #7a4b00;
    font-size: 13px;
    font-weight: 900;
}
.usage-meter {
    display: grid;
    width: 150px;
    height: 88px;
    place-items: center;
    margin: 10px auto 14px;
    background:
        radial-gradient(closest-side, #fff 72%, transparent 73%),
        conic-gradient(var(--bp-mint) calc(var(--usage) * 1%), #e8eef5 0);
    border-radius: 150px 150px 16px 16px;
}
.usage-meter strong {
    margin-top: 18px;
    font-size: 24px;
}
.usage-meter span {
    margin-top: -22px;
    color: var(--bp-muted);
    font-size: 13px;
}
.metric-panel p {
    max-width: 520px;
    font-size: 15px;
}
.metric-panel > .button {
    width: fit-content;
    min-width: 170px;
}
.metric-row {
    border-color: var(--bp-line);
}
.payment-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 13px 0;
    border-color: var(--bp-line);
}
.payment-row p { margin: 0; }
.payment-row .inline {
    justify-content: end;
}
.payment-row .inline input {
    max-width: 180px;
}

.pitubot-dashboard {
    display: grid;
    gap: 18px;
    color: #eff6ff;
}
.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.dashboard-welcome h2 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
}
.dashboard-welcome p {
    margin: 0;
    color: #aebed0;
}
.dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}
.dash-upgrade,
.dash-mini-button,
.dash-create-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 10px 14px;
    color: #35f0a2;
    background: rgba(35,214,131,.10);
    border: 1px solid rgba(35,214,131,.24);
    border-radius: 10px;
    font-weight: 900;
}
.dash-upgrade {
    color: #b8ffd8;
    background: linear-gradient(135deg, rgba(35,214,131,.20), rgba(35,214,131,.08));
}
.dashboard-actions .theme-select,
.dashboard-actions .language-select,
.dash-logout button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 12px;
    color: #fff;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 10px;
    font-weight: 900;
}
.dashboard-actions .theme-select select,
.dashboard-actions .language-select select {
    min-height: 40px;
    padding: 0 22px 0 0;
    color: inherit;
    background: transparent;
    border: 0;
    font-weight: 900;
}
.dash-logout {
    margin: 0;
}
.dash-logout button {
    cursor: pointer;
}
.dash-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #052116;
    background: linear-gradient(135deg, #35f0a2, #20b86f);
    border-radius: 50%;
    font-weight: 900;
}
.dash-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}
.dash-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.dash-hero-card,
.dash-metrics article,
.dash-panel {
    background:
        linear-gradient(145deg, rgba(8,26,43,.92), rgba(5,21,32,.86)),
        radial-gradient(circle at 90% 0%, rgba(35,214,131,.16), transparent 34%);
    border: 1px solid rgba(120,190,210,.14);
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 18px 44px rgba(0,0,0,.18);
}
.dash-hero-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(210px, 250px) minmax(430px, 640px) minmax(230px, 300px);
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    min-height: 250px;
    overflow: hidden;
    padding: 28px 30px;
}
.dash-hero-copy {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 8px;
}
.dash-hero-copy span,
.dash-metrics span,
.dash-payment-row span,
.dash-bot-row small,
.dash-account-panel p,
.dash-account-items small {
    color: #aebed0;
}
.dash-hero-copy strong {
    color: #fff;
    font-size: 34px;
    line-height: 1;
}
.dash-hero-copy small {
    color: #35f0a2;
    font-weight: 800;
}
.dash-chart {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 640px;
    min-height: 170px;
    justify-self: center;
}
.dash-grid-line {
    fill: none;
    stroke: rgba(255,255,255,.06);
    stroke-width: 1;
}
.dash-chart-fill { fill: url(#dashChartFill); }
.dash-chart-line {
    fill: none;
    stroke: #32e68f;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 12px rgba(50,230,143,.4));
}
.dash-hero-robot {
    position: absolute;
    right: 10px;
    bottom: -28px;
    width: 340px;
    height: 310px;
    background: url("/assets/brand/pitubot-robot.png") center bottom / contain no-repeat;
    filter: drop-shadow(0 24px 44px rgba(0,0,0,.35));
}
.dash-hero-card::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 390px;
    background: linear-gradient(90deg, transparent, rgba(20,216,129,.16));
    pointer-events: none;
}
.dash-metrics {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}
.dash-metrics article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 14px;
    min-height: 122px;
    padding: 18px;
}
.dash-metrics .dash-icon {
    grid-row: span 3;
    width: 38px;
    height: 38px;
    padding: 8px;
    color: #35f0a2;
    border: 1px solid rgba(53,240,162,.32);
    border-radius: 50%;
}
.dash-metrics strong {
    color: #fff;
    font-size: 25px;
}
.dash-metrics small {
    color: #35f0a2;
    font-weight: 800;
}
.dash-grid-main {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: 18px;
}
.dash-panel {
    padding: 22px;
}
.dash-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}
.dash-panel-head h3,
.dash-account-panel h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
}
.dash-bot-list,
.dash-payments-panel {
    display: grid;
}
.dash-bot-row,
.dash-payment-row {
    display: grid;
    align-items: center;
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.dash-bot-row {
    grid-template-columns: auto minmax(150px, 1.2fr) 90px minmax(150px, 1fr) auto;
    color: #eff6ff;
}
.dash-bot-row:last-child,
.dash-payment-row:last-child { border-bottom: 0; }
.dash-bot-row strong,
.dash-payment-row strong {
    color: #fff;
}
.dash-dot {
    width: 7px;
    height: 7px;
    background: #ffcf5b;
    border-radius: 50%;
}
.dash-dot.running { background: #35f0a2; }
.dash-dot.stopped { background: #ff6270; }
.dash-status {
    width: fit-content;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}
.dash-status.running { color: #35f0a2; background: rgba(53,240,162,.10); }
.dash-status.paused { color: #ffcf5b; background: rgba(255,207,91,.10); }
.dash-status.stopped { color: #ff6270; background: rgba(255,98,112,.10); }
.dash-row-actions {
    display: inline-flex;
    gap: 8px;
    color: #d8e6f6;
}
.dash-row-actions .dash-icon {
    width: 30px;
    height: 30px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
}
.dash-create-button {
    width: fit-content;
    margin-top: 14px;
    padding-inline: 18px;
}
.dash-payment-row {
    grid-template-columns: minmax(0, 1fr);
}
.dash-payment-row > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}
.dash-tx-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}
.dash-tx-form input {
    min-height: 38px;
    color: #fff;
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.14);
}
.dash-tx-form button {
    color: #35f0a2;
    background: rgba(35,214,131,.10);
    border-color: rgba(35,214,131,.24);
}
.dash-empty {
    display: grid;
    gap: 8px;
    place-items: center;
    min-height: 160px;
    padding: 22px;
    color: #aebed0;
    text-align: center;
    border: 1px dashed rgba(255,255,255,.14);
    border-radius: 12px;
}
.dash-empty .dash-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
    color: #35f0a2;
    border: 1px solid rgba(53,240,162,.24);
    border-radius: 50%;
}
.dash-empty strong { color: #fff; }
.dash-account-panel {
    display: grid;
    grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
}
.dash-account-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.dash-account-items span {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 10px;
    align-items: center;
}
.dash-account-items .dash-icon {
    grid-row: span 2;
    width: 38px;
    height: 38px;
    padding: 9px;
    color: #35f0a2;
    background: rgba(53,240,162,.10);
    border-radius: 12px;
}
.dash-account-items strong {
    overflow: hidden;
    color: #fff;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dash-trial-form { margin: 0; }
.dash-trial-form button {
    min-width: 160px;
}

.onboarding-panel {
    display: grid;
    gap: 18px;
    padding: 22px;
    color: #eff6ff;
    background:
        radial-gradient(circle at 82% 12%, rgba(35,214,131,.18), transparent 34%),
        linear-gradient(145deg, rgba(5,17,31,.96), rgba(4,15,25,.92));
    border: 1px solid rgba(120,190,210,.16);
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 24px 60px rgba(0,0,0,.18);
}
.onboarding-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}
.onboarding-eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 8px;
    padding: 6px 10px;
    color: #35f0a2;
    background: rgba(35,214,131,.10);
    border: 1px solid rgba(35,214,131,.28);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.onboarding-head h2,
.advertiser-guide-title h3,
.advertiser-submit-card h3,
.onboarding-next-actions strong {
    margin: 0;
    color: #fff;
}
.onboarding-head h2 {
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.08;
}
.onboarding-head p,
.advertiser-guide-title p,
.advertiser-step-copy p,
.advertiser-submit-card li,
.advertiser-note,
.onboarding-next-actions p {
    margin: 8px 0 0;
    color: #c8d5e4;
}
.onboarding-progress {
    display: inline-flex;
    gap: 8px;
    flex: 0 0 auto;
}
.onboarding-progress span {
    position: relative;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #8fa2b8;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    font-weight: 900;
}
.onboarding-progress span.is-active,
.onboarding-progress span.is-done {
    color: #041910;
    background: linear-gradient(135deg, #35f0a2, #20b86f);
    border-color: transparent;
}
.onboarding-progress span.is-done {
    font-size: 0;
}
.onboarding-progress span.is-done::before {
    content: "✓";
    font-size: 17px;
    line-height: 1;
}
.onboarding-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.onboarding-steps article,
.advertiser-step-card,
.advertiser-submit-card,
.onboarding-next-actions article {
    background: rgba(8,27,43,.72);
    border: 1px solid rgba(120,190,210,.14);
    border-radius: 14px;
}
.onboarding-steps article {
    position: relative;
    overflow: hidden;
    padding: 14px;
}
.onboarding-steps article.is-active {
    background:
        radial-gradient(circle at 98% 0%, rgba(53,240,162,.20), transparent 42%),
        rgba(35,214,131,.11);
    border-color: rgba(53,240,162,.46);
    box-shadow: 0 0 0 3px rgba(53,240,162,.09), 0 14px 30px rgba(6, 95, 70, .12);
}
.onboarding-steps article.is-done {
    background:
        radial-gradient(circle at 96% 0%, rgba(53,240,162,.28), transparent 42%),
        linear-gradient(145deg, rgba(35,214,131,.20), rgba(8,27,43,.72));
    border-color: rgba(53,240,162,.50);
    box-shadow: inset 0 0 0 1px rgba(53,240,162,.10);
}
.onboarding-steps article.is-done::after {
    content: "✓";
    position: absolute;
    right: 14px;
    top: 12px;
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #041910;
    background: linear-gradient(135deg, #35f0a2, #20b86f);
    border-radius: 50%;
    font-size: 17px;
    font-weight: 1000;
    box-shadow: 0 10px 24px rgba(0, 171, 117, .22);
}
.onboarding-steps article.is-done strong,
.onboarding-steps article.is-done span {
    padding-right: 34px;
}
.onboarding-steps strong,
.advertiser-step-copy strong {
    display: block;
    color: #fff;
}
.onboarding-steps span {
    display: block;
    margin-top: 6px;
    color: #aebed0;
    font-size: 13px;
    line-height: 1.4;
}
.advertiser-guide {
    display: grid;
    gap: 12px;
}
.advertiser-onboarding-panel {
    gap: 12px;
    padding: 16px;
    color: #eff6ff;
    background:
        radial-gradient(circle at 78% 18%, rgba(35,214,131,.16), transparent 34%),
        radial-gradient(circle at 20% 72%, rgba(0,133,255,.10), transparent 30%),
        linear-gradient(145deg, #030b15, #071727 48%, #05101b);
    border-color: rgba(120,190,210,.22);
    border-radius: 18px;
}
.advertiser-board-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}
.advertiser-board-brand {
    display: inline-flex;
    align-items: flex-start;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}
.advertiser-board-brand img {
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 14px 30px rgba(35,214,131,.24));
}
.advertiser-board-brand strong {
    display: block;
    color: #fff;
    font-size: 22px;
    line-height: 1;
}
.advertiser-board-brand small {
    display: block;
    max-width: 135px;
    margin-top: 4px;
    color: rgba(239,246,255,.88);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.advertiser-board-head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(24px, 2.2vw, 36px);
    line-height: 1.05;
    text-shadow: 0 1px 0 rgba(0,0,0,.25);
}
.advertiser-board-head h2 span {
    color: #fff;
}
.advertiser-board-head h2 strong,
.advertiser-board-head h2 em {
    color: #20d783;
    font-style: normal;
}
.advertiser-board-head p {
    margin: 5px 0 0;
    color: rgba(239,246,255,.88);
    font-size: clamp(14px, 1vw, 17px);
    line-height: 1.25;
}
.advertiser-guide-tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(92px, 1fr));
    gap: 4px;
    align-self: start;
    padding: 5px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(120,190,210,.20);
    border-radius: 999px;
}
.advertiser-guide-tabs button {
    min-height: 36px;
    padding: 7px 14px;
    color: #c8d5e4;
    background: transparent;
    border: 0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}
.advertiser-guide-tabs button.is-active {
    color: #042016;
    background: #35f0a2;
    box-shadow: 0 10px 22px rgba(53,240,162,.18);
}
.advertiser-guide-panel[hidden] {
    display: none;
}
.advertiser-mobile-placeholder {
    display: grid;
    gap: 10px;
    min-height: 260px;
    place-items: center;
    padding: 24px;
    text-align: center;
    background:
        radial-gradient(circle at 78% 18%, rgba(35,214,131,.14), transparent 34%),
        linear-gradient(145deg, rgba(7,21,35,.90), rgba(6,18,30,.78));
    border: 1px dashed rgba(53,240,162,.32);
    border-radius: 14px;
}
.advertiser-mobile-placeholder strong {
    color: #fff;
    font-size: clamp(22px, 2.6vw, 32px);
}
.advertiser-mobile-placeholder p {
    max-width: 560px;
    margin: 0;
    color: #c8d5e4;
    font-size: 16px;
    line-height: 1.45;
}
.advertiser-mobile-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.advertiser-mobile-step-card {
    grid-template-rows: auto minmax(0, 1fr);
    min-height: 0;
}
.advertiser-mobile-visual {
    display: grid;
    place-items: center;
    min-height: 0;
    padding: 8px;
}
.mock-mobile-screenshot {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    background: #fff;
    border: 1px solid rgba(15,23,42,.18);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    -webkit-user-select: none;
    user-select: none;
}
.mock-mobile-screenshot-wrap {
    position: relative;
    width: 78%;
    height: auto;
    overflow: hidden;
    border-radius: 12px;
    -webkit-user-select: none;
    user-select: none;
}
.mock-mobile-bottom-labels {
    position: absolute;
    right: 0;
    bottom: 14px;
    left: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0;
    padding: 0 9px;
    pointer-events: none;
}
.mock-mobile-bottom-labels span,
.mock-mobile-bottom-labels strong {
    display: block;
    overflow: hidden;
    min-height: 18px;
    padding-top: 2px;
    color: #777;
    background: rgba(255,255,255,.96);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.mock-mobile-bottom-labels strong {
    color: #050505;
    font-weight: 900;
}
.mock-mobile-select {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    border: 2px solid #ff2d16;
    box-shadow: 0 0 0 2px rgba(255,45,22,.08);
}
.mock-mobile-select-share {
    top: 6.6%;
    right: 11.5%;
    width: 16.5%;
    height: 5.6%;
    border-radius: 999px;
}
.mock-mobile-select-profile {
    right: 1.8%;
    bottom: 4px;
    width: 17.5%;
    height: 46px;
    border-radius: 10px;
}
.mock-mobile-select-copy {
    right: 10%;
    bottom: 19px;
    left: 10%;
    height: 44px;
    border-radius: 999px;
}
.mock-mobile-copy-label {
    position: absolute;
    right: 16%;
    bottom: 25px;
    left: 16%;
    z-index: 2;
    min-height: 20px;
    padding: 2px 8px;
    color: #050505;
    background: rgba(238,240,243,.96);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    pointer-events: none;
}
.mock-mobile-phone {
    position: relative;
    display: grid;
    gap: 8px;
    height: 100%;
    min-height: 482px;
    overflow: hidden;
    padding: 10px;
    color: #111827;
    background: #fff;
    border: 1px solid rgba(15,23,42,.18);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,.18);
    -webkit-user-select: none;
    user-select: none;
}
.mock-mobile-status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #020617;
    font-size: 11px;
}
.mock-mobile-status span {
    color: #020617;
    font-size: 9px;
    font-weight: 800;
}
.mock-mobile-home-top {
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    gap: 9px;
    align-items: center;
}
.mock-mobile-home-top > span {
    display: grid;
    min-width: 22px;
    place-items: center;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
}
.mock-mobile-home-top > span:first-child {
    color: #f0b90b;
}
.mock-mobile-switch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    margin: 0 auto;
    padding: 4px 10px;
    background: #f3f4f6;
    border-radius: 12px;
}
.mock-mobile-switch strong {
    padding: 3px 8px;
    background: #fff;
    border-radius: 9px;
    font-size: 13px;
}
.mock-mobile-switch span,
.mock-mobile-search,
.mock-mobile-home p {
    color: #8a8f98;
    font-weight: 800;
}
.mock-mobile-search {
    overflow: hidden;
    padding: 8px 10px;
    background: #f3f4f6;
    border-radius: 9px;
    font-size: 11px;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.mock-mobile-balance-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
}
.mock-mobile-home p {
    margin: 10px 0 0;
    color: #111827;
    font-size: 12px;
}
.mock-mobile-home > b {
    display: block;
    color: #000;
    font-size: 30px;
    line-height: 1;
}
.mock-mobile-balance-row p {
    margin: 0;
    color: #111827;
    font-size: 11px;
    font-weight: 800;
}
.mock-mobile-balance-row b {
    display: block;
    margin-top: 5px;
    color: #000;
    font-size: 30px;
    line-height: 1;
}
.mock-mobile-balance-row em {
    display: block;
    margin-top: 6px;
    color: #111827;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}
.mock-mobile-balance-row em span {
    color: #ff4b67;
}
.mock-mobile-balance-row button {
    min-height: 34px;
    padding: 7px 12px;
    color: #111827;
    background: #ffd932;
    border: 0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 950;
}
.mock-mobile-quick-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 2px;
}
.mock-mobile-quick-actions span {
    display: grid;
    gap: 5px;
    place-items: center;
    min-height: 56px;
    color: #4b5563;
    font-size: 11px;
    font-weight: 800;
}
.mock-mobile-quick-actions i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #111827;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(15,23,42,.08);
    font-style: normal;
    font-size: 18px;
}
.mock-mobile-quick-actions .is-target i {
    color: #050505;
    background: #fff7d8;
    border: 2px solid #ff2d16;
    box-shadow: 0 0 0 2px rgba(255,45,22,.08);
}
.mock-mobile-quick-actions .is-target {
    color: #111827;
}
.mock-mobile-rewards {
    display: grid;
    gap: 8px;
    padding: 11px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15,23,42,.08);
}
.mock-mobile-rewards div {
    display: flex;
    justify-content: space-between;
    color: #9ca3af;
    font-size: 12px;
}
.mock-mobile-rewards p {
    display: grid;
    grid-template-columns: 26px 1fr auto;
    gap: 7px;
    align-items: center;
    margin: 0;
    color: #111827;
    font-size: 11px;
    font-weight: 900;
}
.mock-mobile-rewards button {
    min-height: 26px;
    padding: 5px 10px;
    color: #111827;
    background: #eef0f3;
    border: 0;
    border-radius: 6px;
    font-weight: 900;
}
.mock-mobile-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}
.mock-mobile-tile-grid span {
    display: grid;
    min-height: 94px;
    padding: 10px;
    color: #8a8f98;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(15,23,42,.06);
}
.mock-mobile-tile-grid strong {
    font-size: 12px;
    font-weight: 850;
}
.mock-mobile-tile-grid b {
    align-self: center;
    color: #111827;
    font-size: 18px;
    text-align: center;
}
.mock-mobile-tile-grid em {
    align-self: end;
    justify-self: center;
    color: #111827;
    font-size: 10px;
    font-style: normal;
    font-weight: 800;
}
.mock-mobile-market-tabs,
.mock-mobile-discover-tabs {
    display: flex;
    gap: 11px;
    overflow: hidden;
    color: #8a8f98;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}
.mock-mobile-market-tabs strong,
.mock-mobile-discover-tabs strong {
    color: #111827;
}
.mock-mobile-discover-tabs {
    margin: 0 -10px;
    padding: 8px 10px;
    background: rgba(255,255,255,.92);
    border-top: 1px solid #edf0f4;
    border-bottom: 1px solid #edf0f4;
}
.mock-mobile-nav {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    align-items: end;
    margin-top: auto;
    padding-top: 7px;
    border-top: 1px solid #edf0f4;
}
.mock-mobile-nav span,
.mock-mobile-nav strong {
    overflow: hidden;
    color: #7b8088;
    font-size: 9px;
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.mock-mobile-nav strong {
    color: #0f172a;
}
.mock-mobile-nav .is-target {
    position: relative;
    color: #0f172a;
}
.mock-mobile-nav .is-target::after {
    content: "";
    position: absolute;
    right: 10%;
    bottom: -4px;
    left: 10%;
    height: 2px;
    background: #ff2d16;
    border-radius: 99px;
}
.mock-mobile-yellow-head {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    margin: -10px -10px 0;
    padding: 12px 12px 24px;
    color: #020617;
    background:
        linear-gradient(135deg, rgba(255,232,83,.88), rgba(240,185,11,.78));
}
.mock-mobile-yellow-head strong {
    justify-self: end;
    padding: 4px 8px;
    border: 2px solid #ff2d16;
    border-radius: 50%;
    font-size: 16px;
    line-height: 1;
}
.mock-mobile-profile-main {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 9px;
    margin-top: -19px;
    align-items: end;
}
.mock-mobile-avatar {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    background: #4f5be8;
    border-radius: 50%;
    font-weight: 950;
}
.mock-mobile-avatar.small {
    width: 28px;
    height: 28px;
    font-size: 12px;
}
.mock-mobile-profile-main strong {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
    color: #020617;
    font-size: 16px;
    line-height: 1.1;
}
.mock-mobile-profile-main p,
.mock-mobile-profile-main small {
    display: block;
    overflow: hidden;
    margin: 3px 0 0;
    color: #6b7280;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.mock-mobile-profile-main img,
.mock-mobile-share-card img {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
}
.mock-mobile-profile-main i {
    color: #d1d5db;
    font-style: normal;
}
.mock-mobile-stat-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
}
.mock-mobile-stat-box span {
    display: grid;
    gap: 2px;
    color: #7b8088;
    font-size: 9px;
    font-weight: 800;
}
.mock-mobile-stat-box b {
    color: #020617;
    font-size: 17px;
}
.mock-mobile-profile-tabs {
    display: flex;
    gap: 18px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f0f2f5;
}
.mock-mobile-profile-tabs strong,
.mock-mobile-profile-tabs span {
    color: #0f172a;
    font-size: 12px;
}
.mock-mobile-profile-tabs span {
    color: #8a8f98;
}
.mock-mobile-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
    color: #0f172a;
    font-size: 11px;
    font-weight: 850;
}
.mock-mobile-list {
    display: grid;
    gap: 5px;
    margin-top: 2px;
}
.mock-mobile-list-row span {
    color: #7b8088;
}
.mock-mobile-nav.is-profile {
    margin: 0 -10px -10px;
    padding: 8px 7px 6px;
    background: #fff;
}
.mock-mobile-share {
    background: linear-gradient(#8a740a 0 22%, #8b8b8b 22% 42%, #fff 42% 100%);
}
.mock-mobile-share-sheet {
    display: grid;
    gap: 8px;
    align-self: end;
    margin: 70px -10px -10px;
    padding: 16px 12px 12px;
    background: #fff;
    border-radius: 14px 14px 0 0;
}
.mock-mobile-share-sheet > strong {
    color: #020617;
    font-size: 17px;
}
.mock-mobile-share-card {
    display: grid;
    gap: 7px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
}
.mock-mobile-share-card > b {
    justify-self: center;
    color: #f0b90b;
    font-size: 18px;
    letter-spacing: .03em;
}
.mock-mobile-share-card > div {
    display: flex;
    align-items: center;
    gap: 7px;
}
.mock-mobile-share-card strong {
    color: #020617;
    font-size: 13px;
}
.mock-mobile-share-card p {
    display: flex;
    justify-content: space-between;
    margin: 0;
    color: #7b8088;
    font-size: 10px;
}
.mock-mobile-share-card p b {
    color: #020617;
}
.mock-mobile-share-card em {
    justify-self: center;
    color: #7b8088;
    font-size: 10px;
    font-style: normal;
}
.mock-mobile-fake-qr {
    width: 82px;
    height: 82px;
    justify-self: center;
    background:
        linear-gradient(#000 0 0) 0 0 / 22px 22px no-repeat,
        linear-gradient(#000 0 0) 60px 0 / 22px 22px no-repeat,
        linear-gradient(#000 0 0) 0 60px / 22px 22px no-repeat,
        repeating-linear-gradient(90deg, #000 0 5px, #fff 5px 10px, #000 10px 14px, #fff 14px 20px),
        repeating-linear-gradient(#fff 0 5px, #000 5px 9px, #fff 9px 15px);
    border: 6px solid #fff;
    box-shadow: 0 0 0 1px #e5e7eb;
}
.mock-mobile-share-sheet button {
    min-height: 34px;
    color: #020617;
    background: #ffd932;
    border: 0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 900;
}
.mock-mobile-share-sheet button.is-target {
    background: #eef0f3;
    box-shadow: 0 0 0 3px rgba(53,240,162,.22);
}
.advertiser-guide-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding-top: 4px;
}
.advertiser-guide-title h3 {
    font-size: clamp(24px, 2.6vw, 34px);
    line-height: 1.1;
}
.advertiser-guide-title span {
    padding: 8px 12px;
    color: #35f0a2;
    border: 1px solid rgba(53,240,162,.34);
    border-radius: 999px;
    font-weight: 900;
}
.advertiser-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.advertiser-step-card {
    display: grid;
    gap: 10px;
    align-content: start;
    min-height: 285px;
    padding: 12px;
    background:
        linear-gradient(145deg, rgba(7,21,35,.90), rgba(6,18,30,.78));
    border: 1px solid rgba(120,190,210,.20);
    border-radius: 14px;
}
.advertiser-step-copy {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 9px;
}
.advertiser-step-copy > span {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: #042016;
    background: linear-gradient(135deg, #35f0a2, #20b86f);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
}
.advertiser-step-copy strong {
    font-size: 15px;
    line-height: 1.2;
}
.advertiser-step-copy p {
    max-width: 440px;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.32;
}
.advertiser-step-visual {
    position: relative;
    display: block;
    min-height: 170px;
    overflow: hidden;
    padding: 10px;
    color: #eaf6ff;
    background: linear-gradient(145deg, #071523, #0b2231);
    border: 1px solid rgba(53,240,162,.18);
    border-radius: 10px;
    -webkit-user-select: none;
    user-select: none;
}
.advertiser-step-visual::before,
.advertiser-step-visual::after {
    content: none !important;
    display: none !important;
}
.mock-browser,
.mock-result {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    height: 100%;
    min-height: 150px;
    padding: 12px;
    border-radius: 10px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.mock-browser.dark {
    background:
        radial-gradient(circle at 84% 18%, rgba(53,240,162,.18), transparent 33%),
        linear-gradient(145deg, #06101b, #0c1724);
    border: 1px solid rgba(255,255,255,.08);
}
.mock-browser.light {
    color: #0f172a;
    background: linear-gradient(145deg, #ffffff, #eef5fb);
    border: 1px solid rgba(15,23,42,.10);
}
.mock-browser.mock-binance-trade-menu {
    gap: 0;
    overflow: hidden;
    padding: 0;
    background: #f8fafc;
}
.mock-binance-nav {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 32px;
    padding: 6px 11px;
    color: #0b0f18;
    background: #fff;
    border-bottom: 1px solid #eceff3;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
}
.mock-binance-nav strong {
    color: #f0b90b;
    font-size: 14px;
    letter-spacing: .04em;
}
.mock-binance-nav b {
    position: relative;
    color: #d49a00;
    font-weight: 800;
}
.mock-binance-nav b::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 5px;
    height: 5px;
    background: #f0b90b;
    border-radius: 50%;
    transform: translateX(-50%);
}
.mock-trade-dropdown {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    width: 78%;
    margin: 7px auto 0;
    padding: 10px 14px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.06);
    border-radius: 0 0 9px 9px;
    box-shadow: 0 14px 32px rgba(15,23,42,.14);
}
.mock-trade-dropdown > div {
    display: grid;
    gap: 6px;
    align-content: start;
}
.mock-trade-dropdown small {
    color: #b7b7b7;
    font-size: 10px;
    font-weight: 800;
}
.mock-trade-dropdown span {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    gap: 1px 7px;
    align-items: start;
    min-width: 0;
    padding: 3px 4px;
    border-radius: 7px;
}
.mock-trade-dropdown i {
    grid-row: span 2;
    color: #0b0f18;
    font-style: normal;
    font-weight: 900;
    font-size: 10px;
    line-height: 1.05;
}
.mock-trade-dropdown b {
    min-width: 0;
    overflow: hidden;
    color: #0b0f18;
    font-size: 11px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mock-trade-dropdown em {
    min-width: 0;
    overflow: hidden;
    color: #969696;
    font-size: 9px;
    font-style: normal;
    line-height: 1.18;
    text-overflow: ellipsis;
}
.mock-trade-dropdown .is-p2p {
    background: rgba(240,185,11,.08);
    outline: 1px solid rgba(240,185,11,.26);
}
.mock-trade-dropdown .is-p2p i,
.mock-trade-dropdown .is-p2p b {
    color: #0b0f18;
}
.mock-browser.mock-p2p-list {
    gap: 0;
    overflow: hidden;
    padding: 0;
    background: #fff;
}
.mock-p2p-ad {
    display: grid;
    grid-template-columns: minmax(150px, 1.35fr) minmax(72px, .48fr) minmax(104px, .78fr);
    align-items: center;
    gap: 8px;
    min-height: 47px;
    padding: 8px 12px;
    border-bottom: 1px solid #e8e8e8;
}
.mock-p2p-ad:last-child {
    border-bottom: 0;
}
.mock-p2p-ad.is-highlight {
    background: rgba(240,185,11,.06);
}
.mock-p2p-user {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    min-width: 0;
}
.mock-p2p-user > span {
    position: relative;
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    color: #fff;
    background: #000;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}
.mock-p2p-user > span::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 7px;
    height: 7px;
    background: #2fc98d;
    border: 2px solid #fff;
    border-radius: 50%;
}
.mock-p2p-user > div,
.mock-p2p-ad > div:last-child {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.mock-p2p-user strong {
    min-width: 0;
    overflow: hidden;
    color: #111;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mock-p2p-user small,
.mock-p2p-user em {
    min-width: 0;
    overflow: hidden;
    color: #737373;
    font-size: 10px;
    font-style: normal;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mock-p2p-user i {
    color: #d8d8d8;
    font-style: normal;
}
.mock-p2p-ad > b {
    color: #000;
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    text-align: right;
    white-space: nowrap;
}
.mock-p2p-ad > div:last-child {
    color: #000;
    text-align: left;
}
.mock-p2p-ad > div:last-child strong,
.mock-p2p-ad > div:last-child small {
    overflow: hidden;
    color: #000;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mock-p2p-ad > div:last-child small {
    font-size: 10px;
}
.mock-browser.mock-profile-header {
    gap: 0;
    overflow: hidden;
    padding: 12px;
    background: #fff;
}
.mock-profile-hero {
    display: none;
}
.mock-profile-headline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin-top: 0;
}
.mock-profile-avatar {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    background: #fff;
    border-radius: 50%;
}
.mock-profile-avatar span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    background: #4856d8;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 900;
}
.mock-profile-identity {
    min-width: 0;
    padding-bottom: 2px;
}
.mock-profile-identity > div {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.mock-profile-identity strong {
    min-width: 0;
    color: #000;
    font-size: 19px;
    line-height: 1.05;
    white-space: nowrap;
}
.mock-profile-identity img {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    object-fit: contain;
}
.mock-profile-identity p {
    margin: 5px 0 0;
    overflow: hidden;
    color: #777;
    font-size: 10px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mock-profile-identity p span {
    margin: 0 5px;
    color: #d7d7d7;
}
.mock-verification-row {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-top: 12px;
    padding-left: 60px;
    color: #777;
    font-size: 10px;
    line-height: 1.2;
}
.mock-verification-row span {
    white-space: nowrap;
}
.mock-verification-row span:not(:last-child) {
    color: #6f6f6f;
}
.mock-verification-row span:not(:last-child)::first-letter {
    color: #14b87a;
}
.mock-browser-url-profile {
    gap: 0;
    overflow: hidden;
    padding: 0;
    background: #fff;
}
.mock-chrome-bar {
    display: grid;
    grid-template-columns: auto auto auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 5px 8px;
    color: #6d6d6d;
    background: #eee;
    font-size: 16px;
}
.mock-chrome-bar > div {
    min-width: 0;
    overflow: hidden;
    padding: 7px 10px;
    color: #333;
    background: #fff;
    border-radius: 18px;
    font-size: 11px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mock-url-profile-hero {
    height: 28px;
    background:
        radial-gradient(circle at 86% 20%, rgba(250,204,21,.24), transparent 28%),
        linear-gradient(135deg, #171c16, #28301f);
}
.mock-url-profile-main {
    display: grid;
    grid-template-columns: auto minmax(0, auto) auto;
    align-items: center;
    justify-content: start;
    gap: 8px;
    min-height: 58px;
    padding: 8px 14px 10px;
    background: #fff;
}
.mock-url-profile-avatar {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    background: #fff;
    border-radius: 50%;
    transform: translateY(-14px);
}
.mock-url-profile-avatar span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: #fff;
    background: #4856d8;
    border-radius: 50%;
    font-size: 16px;
    font-weight: 900;
}
.mock-url-profile-main strong {
    min-width: 0;
    overflow: hidden;
    color: #000;
    font-size: 20px;
    line-height: 1.05;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mock-url-profile-main img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.mock-top,
.mock-tabs,
.mock-row,
.mock-profile,
.mock-stats {
    display: flex;
    align-items: center;
    gap: 8px;
}
.mock-top {
    justify-content: space-between;
    min-height: 26px;
}
.mock-top strong {
    color: #facc15;
    letter-spacing: .04em;
}
.mock-top span,
.mock-tabs span {
    color: inherit;
    opacity: .78;
    font-size: 12px;
}
.mock-menu {
    display: grid;
    gap: 5px;
    max-width: 240px;
    padding: 9px;
    color: #d8e7f4;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 9px;
}
.mock-menu span,
.mock-menu b {
    padding: 6px 9px;
    border-radius: 7px;
}
.mock-menu b {
    color: #35f0a2;
    background: rgba(53,240,162,.10);
    border: 1px solid rgba(53,240,162,.58);
}
.mock-tabs {
    flex-wrap: wrap;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(15,23,42,.08);
}
.mock-tabs b,
.mock-row em,
.mock-button {
    width: fit-content;
    padding: 5px 8px;
    color: #042016;
    background: #20d783;
    border-radius: 7px;
    font-style: normal;
    font-weight: 900;
}
.mock-row {
    display: grid;
    grid-template-columns: minmax(96px, 1fr) minmax(74px, auto) auto;
    gap: 8px;
    padding: 7px 8px;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 8px;
}
.mock-row strong,
.mock-profile strong,
.mock-result strong {
    min-width: 0;
    color: inherit;
}
.mock-row strong {
    overflow-wrap: anywhere;
}
.mock-blurred-name {
    filter: blur(4px);
    opacity: .55;
}
.mock-row span {
    min-width: 0;
    color: inherit;
    opacity: .72;
    white-space: nowrap;
}
.mock-row.is-highlight {
    background: rgba(32,215,131,.10);
    border-color: rgba(32,215,131,.72);
}
.mock-profile > span {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #334155, #1d4ed8);
    border-radius: 50%;
    font-weight: 900;
}
.mock-button {
    margin-top: auto;
}
.mock-profile small {
    display: block;
    margin-top: 3px;
    color: #059669;
    font-weight: 800;
}
.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mock-stats b {
    padding: 8px 6px;
    color: #0f172a;
    text-align: center;
    background: rgba(15,23,42,.05);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 8px;
}
.mock-urlbar,
.mock-browser code,
.mock-result code {
    display: block;
    overflow-wrap: anywhere;
    padding: 8px;
    color: #102033;
    background: rgba(15,23,42,.07);
    border: 1px solid rgba(15,23,42,.12);
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.35;
}
.mock-browser code {
    font-size: 12px;
}
.mock-browser mark,
.mock-result code {
    color: #059669;
    background: transparent;
    font-weight: 900;
}
.mock-result {
    align-content: center;
    gap: 10px;
    color: #eaf6ff;
    background:
        radial-gradient(circle at 85% 20%, rgba(53,240,162,.14), transparent 28%),
        linear-gradient(145deg, #07111e, #0c2331);
    border: 1px solid rgba(255,255,255,.10);
}
.mock-result code {
    color: #102033;
    background: #eef2f6;
    border-color: rgba(15,23,42,.14);
    text-shadow: none;
}
.mock-result span {
    justify-self: end;
    padding: 6px 10px;
    color: #042016;
    background: #20d783;
    border-radius: 7px;
    font-weight: 900;
}

.advertiser-confirm-page {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 18px;
    overflow: auto;
}
.advertiser-confirm-backdrop {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 74% 10%, rgba(38,198,153,.16), transparent 28%),
        linear-gradient(135deg, rgba(19,28,42,.82), rgba(54,64,78,.76));
    backdrop-filter: blur(10px);
}
.advertiser-confirm-body .app-main {
    min-height: calc(100vh - 32px);
}
.advertiser-confirm-body .app-header h1 {
    color: transparent;
}
.advertiser-confirm-card {
    position: relative;
    z-index: 1;
    width: min(900px, 100%);
    display: grid;
    gap: 14px;
    padding: clamp(22px, 2.6vw, 32px);
    color: #081426;
    background:
        radial-gradient(circle at 83% 2%, rgba(34,214,163,.16), transparent 28%),
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,250,252,.95));
    border: 1px solid rgba(211,222,232,.88);
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(12,22,35,.34), inset 0 0 0 1px rgba(255,255,255,.78);
}
.advertiser-confirm-close-form {
    position: absolute;
    top: 18px;
    right: 18px;
    margin: 0;
}
.advertiser-confirm-close {
    display: grid;
    width: 36px;
    min-height: 36px;
    place-items: center;
    padding: 0;
    color: #728197;
    background: rgba(255,255,255,.54);
    border: 1px solid #d7e0e9;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(15,35,65,.08);
}
.advertiser-confirm-close svg,
.advertiser-copy-button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.advertiser-confirm-close:hover {
    color: #0f1b2d;
    background: #fff;
}
.advertiser-confirm-head h2 {
    margin: 0;
    max-width: 740px;
    color: #081426;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.08;
}
.advertiser-confirm-head p {
    max-width: 740px;
    margin: 8px 0 0;
    color: #637287;
    font-size: clamp(14px, 1.5vw, 17px);
    line-height: 1.38;
}
.advertiser-preview-shell {
    display: grid;
    gap: 11px;
    padding: clamp(14px, 1.7vw, 18px);
    background: rgba(255,255,255,.72);
    border: 1px solid #d8e1ea;
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(15,35,65,.05);
}
.advertiser-preview-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.advertiser-preview-avatar {
    position: relative;
    display: grid;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    place-items: center;
    overflow: hidden;
    color: #09885d;
    background:
        radial-gradient(circle at 50% 32%, #32d18f 0 16%, transparent 17%),
        radial-gradient(ellipse at 50% 74%, #2fc789 0 30%, transparent 31%),
        linear-gradient(145deg, #f4fffb, #e3f9f1);
    border: 5px solid #f4fffb;
    border-radius: 50%;
    box-shadow: 0 20px 42px rgba(18,178,120,.16), 0 0 0 1px #cfeee4;
    font-size: 0;
    font-weight: 900;
}
.advertiser-preview-avatar::after {
    content: none;
}
.advertiser-preview-avatar::before {
    content: none;
}
.advertiser-preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.advertiser-preview-main span,
.advertiser-preview-id span,
.advertiser-preview-stats span {
    color: #66758b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.advertiser-preview-main h3 {
    margin: 0;
    color: #081426;
    font-size: clamp(24px, 2.3vw, 32px);
    line-height: 1.08;
}
.advertiser-preview-name-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 3px;
    min-width: 0;
}
.advertiser-merchant-status {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 6px;
    max-width: 100%;
    min-height: 28px;
    padding: 4px 9px 4px 7px;
    color: #536278;
    background: rgba(248,251,253,.92);
    border: 1px solid #d8e1ea;
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(15,35,65,.06);
    transform: translateY(3px);
}
.advertiser-merchant-status .advertiser-merchant-badge {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(15,35,65,.12));
}
.advertiser-merchant-status .advertiser-merchant-badge-regular {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}
.advertiser-merchant-status span {
    overflow: hidden;
    color: #536278;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .03em;
    line-height: 1.1;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}
.advertiser-merchant-status-bronze {
    color: #8a5a2c;
    background: #fff8ef;
    border-color: #f0d4ad;
}
.advertiser-merchant-status-bronze span {
    color: #8a5a2c;
}
.advertiser-merchant-status-silver {
    color: #536278;
    background: #f7fafc;
    border-color: #cfd8e3;
}
.advertiser-merchant-status-silver span {
    color: #536278;
}
.advertiser-merchant-status-gold {
    color: #926507;
    background: #fff9e6;
    border-color: #edd68a;
}
.advertiser-merchant-status-gold span {
    color: #926507;
}
.advertiser-preview-main p {
    margin: 3px 0 0;
    color: #66758b;
    font-size: 14px;
}
.advertiser-preview-main a,
.advertiser-preview-id code {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #00875a;
    font-weight: 800;
    text-decoration: none;
}
.advertiser-preview-id {
    display: grid;
    gap: 6px;
    padding: 11px 13px;
    background: rgba(255,255,255,.82);
    border: 1px solid #d8e1ea;
    border-radius: 11px;
}
.advertiser-preview-id > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
}
.advertiser-preview-id code {
    font-size: clamp(13px, 1.2vw, 15px);
}
.advertiser-copy-button {
    display: grid;
    width: 36px;
    min-height: 36px;
    place-items: center;
    padding: 0;
    color: #6f7f94;
    background: #fff;
    border: 1px solid #d8e1ea;
    border-radius: 10px;
    box-shadow: 0 8px 18px rgba(15,35,65,.06);
}
.advertiser-copy-button:hover,
.advertiser-copy-button.is-copied {
    color: #00875a;
    border-color: rgba(0,135,90,.28);
}
.advertiser-preview-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.advertiser-preview-stats article {
    min-height: 76px;
    padding: 12px;
    background: rgba(255,255,255,.82);
    border: 1px solid #d8e1ea;
    border-radius: 11px;
}
.advertiser-preview-stats strong {
    display: block;
    margin-top: 5px;
    color: #081426;
    font-size: clamp(22px, 2.2vw, 28px);
    line-height: 1;
}
.advertiser-confirm-note {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    padding: 12px 15px;
    color: #637287;
    background: rgba(23,190,128,.08);
    border: 1px solid rgba(23,190,128,.28);
    border-radius: 11px;
    font-size: 14px;
}
.advertiser-confirm-note strong {
    color: #00875a;
}
.advertiser-note-icon {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: #00875a;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 900;
    line-height: 1;
}
.advertiser-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}
.advertiser-confirm-actions form {
    margin: 0;
}
.advertiser-confirm-actions button {
    min-height: 46px;
    min-width: min(250px, 100%);
    white-space: nowrap;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 900;
}
.advertiser-confirm-actions .settings-ghost-button {
    color: #081426;
    background: rgba(255,255,255,.82);
    border: 1px solid #cad6e3;
    box-shadow: 0 12px 24px rgba(15,35,65,.06);
}
.advertiser-confirm-actions .primary {
    color: #fff;
    background: linear-gradient(135deg, #05ad75, #00875a);
    border: 0;
    box-shadow: 0 14px 30px rgba(0,135,90,.24);
}
@media (max-width: 760px) {
    .advertiser-confirm-page {
        align-items: start;
        padding: 14px;
    }
    .advertiser-confirm-card {
        gap: 14px;
        padding: 18px;
        border-radius: 16px;
    }
    .advertiser-confirm-close-form {
        top: 14px;
        right: 14px;
    }
    .advertiser-confirm-head {
        padding-right: 46px;
    }
    .advertiser-preview-main {
        align-items: flex-start;
        gap: 16px;
    }
    .advertiser-preview-avatar {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
        font-size: 30px;
        border-width: 5px;
    }
    .advertiser-preview-name-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    .advertiser-merchant-status {
        transform: none;
    }
    .advertiser-preview-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .advertiser-confirm-note {
        grid-template-columns: auto minmax(0, 1fr);
        font-size: 15px;
    }
    .advertiser-confirm-note span:last-child {
        grid-column: 2;
    }
    .advertiser-confirm-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
    .advertiser-confirm-actions form,
    .advertiser-confirm-actions button {
        width: 100%;
    }
}
@media (max-width: 460px) {
    .advertiser-preview-main {
        display: grid;
    }
    .advertiser-preview-id > div {
        grid-template-columns: 1fr;
    }
    .advertiser-copy-button {
        justify-self: end;
    }
    .advertiser-preview-stats {
        grid-template-columns: 1fr;
    }
}
.advertiser-submit-card {
    display: grid;
    grid-template-columns: minmax(260px, .7fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    padding: 14px;
}
.advertiser-submit-card h3 {
    color: #35f0a2;
}
.advertiser-submit-card ul {
    margin: 10px 0 0;
    padding-left: 18px;
}
.advertiser-submit-card label {
    display: grid;
    gap: 8px;
    color: #fff;
    font-weight: 800;
}
.advertiser-submit-card input {
    min-height: 46px;
    color: #fff;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.14);
}
.advertiser-submit-card button {
    min-height: 46px;
    white-space: nowrap;
}
.advertiser-note {
    padding: 12px 14px;
    background: rgba(53,240,162,.08);
    border: 1px solid rgba(53,240,162,.18);
    border-radius: 12px;
}
.advertiser-note strong {
    color: #35f0a2;
}
.onboarding-next-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}
.onboarding-next-actions article {
    display: grid;
    gap: 12px;
    padding: 18px;
}
.onboarding-next-actions form {
    margin: 0;
}

.app-body.theme-light {
    background:
        radial-gradient(circle at 72% 8%, rgba(34,214,163,.16), transparent 30%),
        radial-gradient(circle at 10% 70%, rgba(22,119,255,.10), transparent 34%),
        #eef6fb;
}
.app-body.theme-light .app-sidebar {
    background:
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(235,247,249,.96)),
        radial-gradient(circle at 20% 0%, rgba(34,214,163,.18), transparent 36%);
    color: #0f1b2d;
    border-color: rgba(15,35,65,.10);
    box-shadow: 24px 0 60px rgba(15,35,65,.08);
}
.app-body.theme-light .app-brand,
.app-body.theme-light .side-nav a,
.app-body.theme-light .sidebar-user {
    color: #0f1b2d;
}
.app-body.theme-light .app-brand small,
.app-body.theme-light .sidebar-user small {
    color: #66768c;
}
.app-body.theme-light .side-nav a:hover,
.app-body.theme-light .side-nav a.is-active {
    color: #064e3b;
    background: linear-gradient(90deg, rgba(5,150,105,.14), rgba(22,119,255,.05));
    border-color: rgba(5,150,105,.34);
    box-shadow: inset 3px 0 0 #047857;
}
.app-body.theme-light .sidebar-user {
    background: rgba(255,255,255,.76);
    border-color: rgba(15,35,65,.10);
}
.app-body.theme-light .sidebar-user-dropdown {
    background: rgba(255,255,255,.98);
    border-color: rgba(15,35,65,.12);
    box-shadow: 0 18px 44px rgba(15,35,65,.16);
}
.app-body.theme-light .sidebar-user-dropdown a,
.app-body.theme-light .sidebar-user-dropdown button {
    color: #0f1b2d;
}
.app-body.theme-light .sidebar-user-dropdown a:hover,
.app-body.theme-light .sidebar-user-dropdown button:hover {
    background: rgba(5,150,105,.08);
}
.app-body.theme-light .app-main {
    background:
        radial-gradient(circle at 82% 10%, rgba(34,214,163,.12), transparent 28%),
        rgba(255,255,255,.72);
    border-color: rgba(15,35,65,.10);
    box-shadow: 0 24px 80px rgba(15,35,65,.10);
}
.app-body.theme-light .app-header {
    border-bottom-color: rgba(15,35,65,.10);
}
.app-body.theme-light .app-header h1,
.app-body.theme-light .dashboard-welcome h2,
.app-body.theme-light .dash-panel-head h3,
.app-body.theme-light .dash-account-panel h3,
.app-body.theme-light .dash-hero-copy strong,
.app-body.theme-light .dash-metrics strong,
.app-body.theme-light .dash-bot-row strong,
.app-body.theme-light .dash-payment-row strong,
.app-body.theme-light .dash-account-items strong,
.app-body.theme-light .dash-empty strong {
    color: #0f1b2d;
}
.app-body.theme-light .dashboard-welcome p,
.app-body.theme-light .dash-hero-copy span,
.app-body.theme-light .dash-metrics span,
.app-body.theme-light .dash-payment-row span,
.app-body.theme-light .dash-bot-row small,
.app-body.theme-light .dash-account-panel p,
.app-body.theme-light .dash-account-items small,
.app-body.theme-light .dash-empty {
    color: #66768c;
}
.app-body.theme-light .top-actions .new-bot-action,
.app-body.theme-light .top-actions .nav-form button,
.app-body.theme-light .dashboard-actions .theme-select,
.app-body.theme-light .dashboard-actions .language-select,
.app-body.theme-light .dash-logout button,
.app-body.theme-light .language-select,
.app-body.theme-light .theme-select {
    color: #0f1b2d;
    background: rgba(255,255,255,.78);
    border-color: rgba(15,35,65,.12);
}
.app-body.theme-light .dash-hero-card,
.app-body.theme-light .dash-metrics article,
.app-body.theme-light .dash-panel,
.app-body.theme-light .onboarding-panel {
    background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(236,248,250,.88)),
        radial-gradient(circle at 90% 0%, rgba(35,214,131,.14), transparent 34%);
    border-color: rgba(15,35,65,.10);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.70), 0 18px 44px rgba(15,35,65,.08);
}
.app-body.theme-light .dash-bot-row,
.app-body.theme-light .dash-payment-row {
    color: #0f1b2d;
    border-bottom-color: rgba(15,35,65,.10);
}
.app-body.theme-light .onboarding-head h2,
.app-body.theme-light .advertiser-guide-title h3,
.app-body.theme-light .advertiser-submit-card h3,
.app-body.theme-light .onboarding-next-actions strong,
.app-body.theme-light .onboarding-steps strong,
.app-body.theme-light .advertiser-step-copy strong,
.app-body.theme-light .advertiser-submit-card label {
    color: #0f1b2d;
}
.app-body.theme-light .onboarding-head p,
.app-body.theme-light .advertiser-guide-title p,
.app-body.theme-light .advertiser-step-copy p,
.app-body.theme-light .advertiser-submit-card li,
.app-body.theme-light .advertiser-note,
.app-body.theme-light .onboarding-next-actions p,
.app-body.theme-light .onboarding-steps span {
    color: #66768c;
}
.app-body.theme-light .onboarding-steps article,
.app-body.theme-light .advertiser-step-card,
.app-body.theme-light .advertiser-submit-card,
.app-body.theme-light .onboarding-next-actions article {
    background: rgba(255,255,255,.76);
    border-color: rgba(15,35,65,.12);
}
.app-body.theme-light .onboarding-progress span.is-active,
.app-body.theme-light .onboarding-progress span.is-done {
    color: #05321f;
    background: linear-gradient(135deg, #34e9a0, #16c784);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(5, 150, 105, .18);
}
.app-body.theme-light .onboarding-steps article.is-active {
    background:
        radial-gradient(circle at 98% 0%, rgba(52,233,160,.28), transparent 42%),
        linear-gradient(145deg, rgba(230,255,245,.94), rgba(255,255,255,.88));
    border-color: rgba(5,150,105,.32);
    box-shadow: 0 0 0 3px rgba(5,150,105,.08), 0 14px 30px rgba(15,35,65,.08);
}
.app-body.theme-light .onboarding-steps article.is-done {
    background:
        radial-gradient(circle at 96% 0%, rgba(52,233,160,.34), transparent 42%),
        linear-gradient(145deg, rgba(220,252,231,.96), rgba(245,255,250,.90));
    border-color: rgba(5,150,105,.34);
    box-shadow: inset 0 0 0 1px rgba(5,150,105,.08), 0 12px 26px rgba(15,35,65,.06);
}
.app-body.theme-light .onboarding-steps article.is-done::after {
    color: #05321f;
    background: linear-gradient(135deg, #34e9a0, #16c784);
    box-shadow: 0 10px 24px rgba(5,150,105,.18);
}
.app-body.theme-light .advertiser-submit-card input {
    color: #0f1b2d;
    background: rgba(255,255,255,.88);
    border-color: rgba(15,35,65,.16);
}
.app-body.theme-light .advertiser-note {
    background: rgba(5,150,105,.08);
    border-color: rgba(5,150,105,.18);
}
.app-body.theme-light .advertiser-note strong,
.app-body.theme-light .advertiser-submit-card h3,
.app-body.theme-light .onboarding-eyebrow,
.app-body.theme-light .advertiser-guide-title span {
    color: #047857;
}
.app-body.theme-light .advertiser-onboarding-panel {
    color: #eff6ff;
    background:
        radial-gradient(circle at 78% 18%, rgba(35,214,131,.16), transparent 34%),
        radial-gradient(circle at 20% 72%, rgba(0,133,255,.10), transparent 30%),
        linear-gradient(145deg, #030b15, #071727 48%, #05101b);
    border-color: rgba(120,190,210,.22);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 24px 60px rgba(0,0,0,.18);
}
.app-body.theme-light .advertiser-onboarding-panel .onboarding-head h2,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-guide-title h3,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-step-copy strong,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-submit-card label,
.app-body.theme-light .advertiser-onboarding-panel .onboarding-steps strong {
    color: #fff;
}
.app-body.theme-light .advertiser-onboarding-panel .onboarding-head p,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-guide-title p,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-step-copy p,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-submit-card li,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-note,
.app-body.theme-light .advertiser-onboarding-panel .onboarding-steps span {
    color: #c8d5e4;
}
.app-body.theme-light .advertiser-onboarding-panel .onboarding-steps article,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-step-card,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-submit-card {
    background: rgba(8,27,43,.72);
    border-color: rgba(120,190,210,.14);
}
.app-body.theme-light .advertiser-onboarding-panel .advertiser-submit-card input {
    color: #fff;
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.14);
}
.app-body.theme-light .advertiser-onboarding-panel .advertiser-submit-card h3,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-note strong,
.app-body.theme-light .advertiser-onboarding-panel .onboarding-eyebrow,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-guide-title span {
    color: #35f0a2;
}
.app-body.theme-light .advertiser-onboarding-panel .advertiser-board-head h2,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-board-head h2 span {
    color: #fff !important;
}
.app-body.theme-light .advertiser-onboarding-panel .advertiser-board-head h2 strong {
    color: #20d783 !important;
}
.app-body.theme-light .advertiser-onboarding-panel .advertiser-board-head p,
.app-body.theme-light .advertiser-onboarding-panel .advertiser-board-brand small {
    color: rgba(239,246,255,.86) !important;
}
.app-body.theme-light .api-onboarding-panel {
    color: #eff6ff;
    background:
        radial-gradient(circle at 78% 18%, rgba(35,214,131,.16), transparent 34%),
        radial-gradient(circle at 20% 72%, rgba(0,133,255,.10), transparent 30%),
        linear-gradient(145deg, #030b15, #071727 48%, #05101b);
    border-color: rgba(120,190,210,.22);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.025), 0 24px 60px rgba(0,0,0,.18);
}
.app-body.theme-light .api-onboarding-panel .advertiser-board-head h2,
.app-body.theme-light .api-onboarding-panel .advertiser-board-head h2 span,
.app-body.theme-light .api-onboarding-panel .advertiser-step-copy strong,
.app-body.theme-light .api-onboarding-panel .api-submit-card label {
    color: #fff !important;
}
.app-body.theme-light .api-onboarding-panel .advertiser-board-head p,
.app-body.theme-light .api-onboarding-panel .advertiser-step-copy p,
.app-body.theme-light .api-onboarding-panel .advertiser-note {
    color: #c8d5e4 !important;
}
.app-body.theme-light .api-onboarding-panel .advertiser-step-card,
.app-body.theme-light .api-onboarding-panel .api-submit-card {
    background: rgba(8,27,43,.72);
    border-color: rgba(120,190,210,.14);
}
.app-body.theme-light .api-onboarding-panel .api-submit-card input {
    color: #fff;
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.14);
}
.app-body.theme-light .api-onboarding-panel .advertiser-note strong {
    color: #35f0a2;
}
.app-body.theme-light .advertiser-confirm-card {
    color: #081426;
    background:
        radial-gradient(circle at 83% 2%, rgba(34,214,163,.16), transparent 28%),
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(244,250,252,.95));
    border-color: rgba(211,222,232,.88);
    box-shadow: 0 30px 90px rgba(12,22,35,.34), inset 0 0 0 1px rgba(255,255,255,.78);
}
.app-body.theme-light .advertiser-confirm-head h2,
.app-body.theme-light .advertiser-preview-main h3,
.app-body.theme-light .advertiser-preview-stats strong {
    color: #081426;
}
.app-body.theme-light .advertiser-confirm-head p,
.app-body.theme-light .advertiser-preview-main p,
.app-body.theme-light .advertiser-confirm-note {
    color: #637287;
}
.app-body.theme-light .advertiser-preview-shell,
.app-body.theme-light .advertiser-preview-id,
.app-body.theme-light .advertiser-preview-stats article {
    background: rgba(255,255,255,.82);
    border-color: #d8e1ea;
}
.app-body.theme-light .advertiser-preview-main span,
.app-body.theme-light .advertiser-preview-id span,
.app-body.theme-light .advertiser-preview-stats span {
    color: #66758b;
}
.app-body.theme-light .advertiser-merchant-status-bronze span {
    color: #8a5a2c;
}
.app-body.theme-light .advertiser-merchant-status-silver span,
.app-body.theme-light .advertiser-merchant-status-regular span {
    color: #536278;
}
.app-body.theme-light .advertiser-merchant-status-gold span {
    color: #926507;
}
.app-body.theme-light .advertiser-preview-main a,
.app-body.theme-light .advertiser-preview-id code,
.app-body.theme-light .advertiser-confirm-note strong {
    color: #00875a;
}
.app-body.theme-light .dash-row-actions {
    color: #334155;
}
.app-body.theme-light .dash-row-actions .dash-icon,
.app-body.theme-light .dash-empty {
    border-color: rgba(15,35,65,.12);
}
.app-body.theme-light .dash-tx-form input {
    color: #0f1b2d;
    background: rgba(255,255,255,.86);
    border-color: rgba(15,35,65,.16);
}
.app-body.theme-light .dash-upgrade,
.app-body.theme-light .dash-mini-button,
.app-body.theme-light .dash-create-button,
.app-body.theme-light .dash-tx-form button {
    color: #065f46;
    background: rgba(5,150,105,.10);
    border-color: rgba(5,150,105,.26);
    box-shadow: none;
}
.app-body.theme-light .primary,
.app-body.theme-light button.primary {
    color: #fff;
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 14px 28px rgba(5,150,105,.22);
}
.app-body.theme-light .dash-upgrade:hover,
.app-body.theme-light .dash-mini-button:hover,
.app-body.theme-light .dash-create-button:hover,
.app-body.theme-light .dash-tx-form button:hover {
    color: #fff;
    background: linear-gradient(135deg, #059669, #047857);
    border-color: transparent;
}
.app-body.theme-light .dash-avatar,
.app-body.theme-light .user-avatar,
.app-body.theme-light .mobile-bottom-nav .mobile-create {
    color: #fff;
    background: linear-gradient(135deg, #059669, #047857);
}
.app-body.theme-light .dash-hero-copy small,
.app-body.theme-light .dash-metrics small {
    color: #047857;
}
.app-body.theme-light .dash-icon,
.app-body.theme-light .dash-metrics .dash-icon,
.app-body.theme-light .dash-empty .dash-icon,
.app-body.theme-light .dash-account-items .dash-icon {
    color: #047857;
}
.app-body.theme-light .dash-metrics .dash-icon,
.app-body.theme-light .dash-empty .dash-icon {
    border-color: rgba(5,150,105,.26);
}
.app-body.theme-light .dash-account-items .dash-icon,
.app-body.theme-light .dash-status.running {
    background: rgba(5,150,105,.10);
}
.app-body.theme-light .dash-status.running {
    color: #047857;
}
.app-body.theme-light .dash-dot.running {
    background: #047857;
}
.app-body.theme-light .dash-chart-line {
    stroke: #059669;
    filter: drop-shadow(0 0 10px rgba(5,150,105,.24));
}
.app-body.theme-light .mobile-bottom-nav {
    background: rgba(255,255,255,.96);
    border-color: rgba(15,35,65,.12);
    box-shadow: 0 18px 44px rgba(15,35,65,.16);
}
.app-body.theme-light .mobile-bottom-nav a {
    color: #66768c;
}
.app-body.theme-light .mobile-bottom-nav a.is-active {
    color: #047857;
}

.app-body.theme-light h1,
.app-body.theme-light h2,
.app-body.theme-light h3,
.app-body.theme-light .panel h1,
.app-body.theme-light .panel h2,
.app-body.theme-light .panel h3,
.app-body.theme-light .settings-card h1,
.app-body.theme-light .settings-card h2,
.app-body.theme-light .settings-card h3,
.app-body.theme-light .payment-detail-card h1,
.app-body.theme-light .payment-detail-card h2,
.app-body.theme-light .payment-detail-card h3 {
    color: #0f1b2d;
}

.app-body.theme-light p,
.app-body.theme-light small,
.app-body.theme-light label span,
.app-body.theme-light .form-note,
.app-body.theme-light .section-title p,
.app-body.theme-light .metric-panel p,
.app-body.theme-light .payment-copy p,
.app-body.theme-light .payment-detail-card span,
.app-body.theme-light .settings-card-note,
.app-body.theme-light .setup-card p,
.app-body.theme-light .bot-card span,
.app-body.theme-light .bot-card small,
.app-body.theme-light .ad-card span,
.app-body.theme-light .ad-card small,
.app-body.theme-light .empty-state,
.app-body.theme-light .metric-row span {
    color: #66768c;
}

.app-body.theme-light .panel,
.app-body.theme-light .settings-card,
.app-body.theme-light .setup-card,
.app-body.theme-light .pricing-card,
.app-body.theme-light .checkout-panel,
.app-body.theme-light .payment-detail-card,
.app-body.theme-light .current-subscription-panel,
.app-body.theme-light .bot-card,
.app-body.theme-light .ad-card,
.app-body.theme-light .empty-state,
.app-body.theme-light .address-card,
.app-body.theme-light .address-empty {
    color: #0f1b2d;
    background:
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(239,253,249,.90)),
        radial-gradient(circle at 100% 0%, rgba(5,150,105,.08), transparent 34%);
    border-color: rgba(15,35,65,.12);
    box-shadow: 0 16px 42px rgba(15,35,65,.08);
}

.app-body.theme-light .form-section,
.app-body.theme-light .period-choice,
.app-body.theme-light .address-card,
.app-body.theme-light .payment-amount-box,
.app-body.theme-light .selected-address-box {
    color: #0f1b2d;
    background: rgba(255,255,255,.72);
    border-color: rgba(15,35,65,.12);
}

.app-body.theme-light input,
.app-body.theme-light select,
.app-body.theme-light textarea {
    color: #0f1b2d;
    background: rgba(255,255,255,.88);
    border-color: rgba(15,35,65,.16);
}

.app-body.theme-light input[readonly],
.app-body.theme-light textarea[readonly] {
    color: #66768c;
    background: rgba(241,245,249,.88);
}

.app-body.theme-light code,
.app-body.theme-light .ad-card code,
.app-body.theme-light .address-card code,
.app-body.theme-light .selected-address-box code,
.app-body.theme-light .payment-summary-head strong,
.app-body.theme-light .payment-amount-box strong,
.app-body.theme-light .selected-address-box strong,
.app-body.theme-light .empty-state strong,
.app-body.theme-light .bot-card strong,
.app-body.theme-light .ad-card strong,
.app-body.theme-light .checkout-price,
.app-body.theme-light .price {
    color: #0f1b2d;
}

.app-body.theme-light .settings-intro,
.app-body.theme-light .dashboard-hero,
.app-body.theme-light .payment-detail-hero {
    color: #fff;
    background:
        linear-gradient(105deg, rgba(5,16,29,.94) 0%, rgba(7,25,42,.88) 52%, rgba(5,90,73,.66) 100%),
        url("/assets/brand/pitubot-robot.png") center right / cover no-repeat;
    border-color: rgba(15,35,65,.12);
    box-shadow: 0 18px 44px rgba(15,35,65,.12);
}

.app-body.theme-light .settings-intro h1,
.app-body.theme-light .dashboard-hero h1,
.app-body.theme-light .payment-detail-hero h1,
.app-body.theme-light .settings-intro h2,
.app-body.theme-light .dashboard-hero h2,
.app-body.theme-light .payment-detail-hero h2 {
    color: #fff;
}

.app-body.theme-light .settings-intro p,
.app-body.theme-light .dashboard-hero p,
.app-body.theme-light .payment-detail-hero p {
    color: #dbeafe;
}

.app-body.theme-light .payment-warning {
    background: #fff9e8;
    border-color: #f5d484;
}

.app-body.theme-light .payment-warning strong {
    color: #8a5a00;
}

.app-body.theme-light .payment-warning p {
    color: #5f4b16;
}

.app-body.theme-light table,
.app-body.theme-light th,
.app-body.theme-light td {
    color: #0f1b2d;
}

.bot-grid,
.ad-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.bot-card,
.ad-card,
.empty-state {
    background: #f8fbff;
    border-color: var(--bp-line);
    border-radius: 12px;
}

.binance-ad-picker {
    gap: 18px;
}

.binance-ad-choice-grid {
    display: grid;
    gap: 10px;
}

.binance-ad-choice {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
    color: #102a43;
    background: rgba(255,255,255,.84);
    border: 1px solid rgba(15,35,65,.12);
    border-radius: 12px;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.binance-ad-choice:hover,
.binance-ad-choice:has(input:checked) {
    background:
        radial-gradient(circle at 98% 0%, rgba(52,233,160,.22), transparent 42%),
        rgba(255,255,255,.96);
    border-color: rgba(5,150,105,.34);
    box-shadow: 0 12px 28px rgba(15,35,65,.08);
}

.binance-ad-choice input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #16c784;
}

.binance-ad-choice-main,
.binance-ad-choice-meta {
    display: grid;
    gap: 5px;
}

.binance-ad-choice-main strong {
    font-size: 16px;
}

.binance-ad-choice-main code {
    white-space: normal;
    word-break: break-all;
    color: #087455;
    font-weight: 900;
}

.binance-ad-choice-meta {
    grid-column: 2;
    color: #52606d;
    font-size: 13px;
    line-height: 1.35;
}

.binance-ad-choice-meta b {
    color: #102a43;
}

.billing-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
}
.pricing-card {
    padding: 22px;
    border-top-width: 6px;
}
.plan-top h2 { font-size: 30px; }
.period-choice {
    background: #f8fbff;
    border-color: var(--bp-line);
    border-radius: 12px;
}
.period-choice.is-selected,
.period-choice:hover {
    border-color: var(--bp-blue);
    box-shadow: 0 0 0 4px rgba(22,119,255,.10);
}
.checkout-panel {
    top: 24px;
    border-radius: 12px;
}

.settings-page,
.settings-page.wide {
    grid-template-columns: 330px minmax(0, 1fr);
}
.settings-intro {
    background:
        linear-gradient(180deg, rgba(6,20,39,.94), rgba(8,38,61,.94)),
        url("/assets/brand/pitubot-robot.png") center bottom / cover no-repeat;
    border-radius: 12px;
}
.form-section {
    background: #f8fbff;
    border-color: var(--bp-line);
    border-radius: 12px;
}

.auth-body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 68% 26%, rgba(29,227,143,.16), transparent 30%),
        radial-gradient(circle at 13% 70%, rgba(14,191,130,.20), transparent 34%),
        linear-gradient(140deg, #05101d 0%, #061827 48%, #06342f 100%);
}
.auth-public-shell {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 26px 0 56px;
}
.auth-public-brand {
    width: fit-content;
    margin-bottom: 18px;
    color: #fff;
}
.auth-public-brand small { color: #b8c7d9; }
.auth-shell {
    grid-template-columns: minmax(0, 1fr) 420px;
    min-height: calc(100vh - 150px);
}
.auth-copy {
    background:
        radial-gradient(circle at 78% 28%, rgba(49,223,140,.18), transparent 30%),
        linear-gradient(90deg, rgba(5,16,29,.98) 0%, rgba(6,24,39,.92) 48%, rgba(6,52,47,.86) 100%),
        url("/assets/brand/pitubot-robot.png") center right 18% / contain no-repeat;
    border-radius: 18px;
    color: #fff;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 24px 70px rgba(0,0,0,.24);
}
.auth-copy .eyebrow { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.45); }
.auth-copy h1 {
    max-width: 620px;
    color: #fff;
    text-shadow: 0 16px 42px rgba(0,0,0,.62);
}
.auth-copy p {
    max-width: 680px;
    color: #eff6ff;
    text-shadow: 0 10px 28px rgba(0,0,0,.55);
}
.auth-card {
    border-radius: 18px;
    border-color: rgba(255,255,255,.18);
    box-shadow: 0 24px 70px rgba(0,0,0,.24);
}
.auth-card h2 {
    color: #05101d;
    font-weight: 900;
}
.auth-card label {
    color: #071827;
    font-weight: 800;
}
.auth-card input {
    min-height: 54px;
    padding: 14px 16px;
    color: #071827;
    background: #f2f7ff;
    border-color: #d8e4f2;
    border-radius: 12px;
    font-weight: 800;
}
.auth-card input:focus {
    outline: 0;
    border-color: rgba(31,194,118,.72);
    box-shadow: 0 0 0 4px rgba(49,213,124,.14);
}
.auth-card button.primary {
    width: 100%;
    min-height: 54px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 900;
}
.auth-card .form-note {
    color: #64748b;
    font-size: 15px;
}
.auth-card .form-note a {
    color: #087a4f;
    font-weight: 900;
}
.auth-card .form-note a:hover {
    color: #0db875;
}

.register-coming-soon-shell {
    position: relative;
    display: grid;
    align-items: center;
}
.register-current-content {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
    width: 100%;
    filter: blur(4px);
    opacity: .38;
    pointer-events: none;
    user-select: none;
}
.coming-soon-panel {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    width: min(560px, calc(100% - 32px));
    padding: 34px;
    transform: translate(-50%, -50%);
    color: #0f1b2d;
    text-align: center;
    background:
        radial-gradient(circle at 76% 10%, rgba(34,214,163,.24), transparent 30%),
        rgba(255,255,255,.94);
    border: 1px solid rgba(207,222,234,.92);
    border-radius: 24px;
    box-shadow: 0 32px 90px rgba(0,0,0,.32);
}
.coming-soon-panel .eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    color: #087a4f;
    background: rgba(34,214,163,.14);
    border-color: rgba(34,214,163,.30);
}
.coming-soon-panel h1 {
    margin: 0;
    color: #06101f;
    font-size: clamp(42px, 8vw, 78px);
    line-height: .92;
    letter-spacing: 0;
}
.coming-soon-panel p {
    max-width: 470px;
    margin: 18px auto 0;
    color: #5f7089;
    font-size: 18px;
    line-height: 1.55;
}
.coming-soon-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 24px;
    padding: 0 26px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(135deg, #0aa06f, #087f5b);
    border-radius: 12px;
    box-shadow: 0 14px 30px rgba(8,127,91,.22);
}
.home-coming-soon-shell {
    position: relative;
    min-height: 100vh;
}
.home-current-content {
    filter: blur(3px);
    opacity: .34;
    pointer-events: none;
    user-select: none;
}
.home-coming-soon-panel {
    position: fixed;
}
@media (max-width: 860px) {
    .register-current-content {
        grid-template-columns: 1fr;
    }
    .coming-soon-panel {
        padding: 28px 22px;
    }
    .coming-soon-panel p {
        font-size: 16px;
    }
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 28px;
    align-items: stretch;
    min-height: 560px;
    padding: 44px;
    color: #fff;
    background:
        radial-gradient(circle at 80% 20%, rgba(72,232,214,.26), transparent 28%),
        linear-gradient(135deg, #07111f 0%, #0b2344 52%, #0a766f 100%);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 26px 80px rgba(15,35,65,.18);
}
.home-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.home-hero h1 {
    max-width: 760px;
    margin: 16px 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 76px);
    line-height: 1.02;
}
.home-hero p {
    max-width: 680px;
    margin: 0;
    color: #dbeafe;
    font-size: 19px;
}
.home-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.home-primary,
.home-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 18px;
    border-radius: 14px;
    font-weight: 900;
}
.home-primary {
    color: #061427;
    background: linear-gradient(135deg, #57efc5, #61daf3);
    box-shadow: 0 18px 36px rgba(72,232,214,.22);
}
.home-secondary {
    color: #fff;
    border: 1px solid rgba(255,255,255,.28);
    background: rgba(255,255,255,.08);
}
.home-hero-visual {
    position: relative;
    display: grid;
    place-items: end center;
    min-height: 440px;
}
.home-hero-visual img {
    width: min(100%, 500px);
    max-height: 540px;
    object-fit: contain;
    filter: drop-shadow(0 26px 52px rgba(0,0,0,.24));
}
.home-floating-card {
    position: absolute;
    right: 0;
    bottom: 18px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 10px;
    max-width: 300px;
    padding: 16px;
    color: #fff;
    background: rgba(6,20,39,.72);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 16px;
    backdrop-filter: blur(14px);
}
.home-floating-card .home-icon { grid-row: span 2; color: #57efc5; }
.home-floating-card strong { font-size: 15px; }
.home-floating-card span:last-child { color: #cbd8ea; font-size: 13px; line-height: 1.35; }
.home-icon {
    display: inline-flex;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}
.home-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.home-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 30px;
}
.home-trust-strip span,
.home-workflow div,
.home-feature-grid article,
.home-cta {
    background: rgba(255,255,255,.88);
    border: 1px solid var(--bp-line);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(15,35,65,.08);
}
.home-trust-strip span {
    display: flex;
    align-items: center;
    min-height: 58px;
    padding: 14px 16px;
    color: var(--bp-text);
    font-weight: 900;
}
.home-section { margin-top: 34px; }
.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.home-feature-grid article {
    display: grid;
    gap: 12px;
    padding: 20px;
}
.home-feature-grid .home-icon {
    width: 38px;
    height: 38px;
    padding: 8px;
    color: #0f8f78;
    background: #dffcf5;
    border-radius: 12px;
}
.home-feature-grid h3 {
    margin: 0;
    color: var(--bp-text);
    font-size: 18px;
}
.home-feature-grid p {
    margin: 0;
    color: var(--bp-muted);
    font-size: 14px;
}
.home-workflow {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 30px 0;
}
.home-workflow div {
    display: grid;
    gap: 8px;
    padding: 18px;
}
.home-workflow span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: #061427;
    background: linear-gradient(135deg, #57efc5, #61daf3);
    border-radius: 50%;
    font-weight: 900;
}
.home-workflow strong { color: var(--bp-text); font-size: 16px; }
.home-workflow p { margin: 0; color: var(--bp-muted); font-size: 14px; }
.home-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 28px;
    margin-top: 28px;
}
.home-cta h2 {
    max-width: 760px;
    margin: 8px 0;
    color: var(--bp-text);
    font-size: clamp(28px, 3vw, 42px);
}
.home-cta p {
    max-width: 680px;
    margin: 0;
    color: var(--bp-muted);
}

.mobile-bottom-nav { display: none; }

@media (max-width: 1060px) {
    .app-body {
        display: block;
    }
    .app-shell {
        display: block;
        padding: 0;
    }
    .app-sidebar { display: none; }
    .app-main {
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    .app-header {
        position: sticky;
        top: 0;
        z-index: 30;
        padding: 14px 16px;
        background: rgba(6,20,39,.96);
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .app-header h1 { color: #fff; font-size: 18px; }
    .mobile-menu-button { display: inline-flex; flex-direction: column; justify-content: center; }
    .top-actions .new-bot-action,
    .top-actions .nav-form { display: none; }
    .top-actions .theme-select,
    .top-actions .language-select {
        color: #fff;
        background: rgba(255,255,255,.08);
        border-color: rgba(255,255,255,.16);
    }
    .top-actions .theme-select select,
    .top-actions .language-select select { color: #fff; }
    .shell {
        padding: 16px 14px 94px;
    }
    .trial-access-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
    }
    .trial-access-copy {
        align-items: flex-start;
        flex-wrap: wrap;
    }
    .trial-access-banner a {
        text-align: center;
    }
    .trial-access-info > span {
        left: auto;
        right: -12px;
        transform: translate(0, 6px);
    }
    .trial-access-info:hover > span,
    .trial-access-info:focus > span {
        transform: translate(0, 0);
    }
    .pitubot-dashboard {
        gap: 14px;
    }
    .dashboard-welcome {
        align-items: flex-start;
        flex-direction: column;
    }
    .onboarding-head,
    .advertiser-guide-title {
        flex-direction: column;
    }
    .advertiser-board-head {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .advertiser-board-brand small {
        max-width: 240px;
    }
    .onboarding-progress {
        width: 100%;
    }
    .onboarding-steps,
    .advertiser-step-grid,
    .advertiser-mobile-step-grid,
    .advertiser-submit-card {
        grid-template-columns: 1fr;
    }
    .advertiser-step-card {
        min-height: 0;
    }
    .advertiser-submit-card {
        align-items: stretch;
    }
    .dashboard-welcome h2 {
        font-size: 22px;
    }
    .dashboard-actions {
        gap: 8px;
        justify-content: flex-start;
        width: 100%;
    }
    .dash-upgrade {
        min-height: 38px;
        padding: 8px 10px;
        font-size: 12px;
    }
    .dashboard-actions .theme-select,
    .dashboard-actions .language-select,
    .dash-logout button {
        min-height: 38px;
        padding-inline: 10px;
        font-size: 12px;
    }
    .dash-avatar {
        width: 38px;
        height: 38px;
    }
    .dash-hero-card {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 20px;
    }
    .dash-hero-copy strong {
        font-size: 30px;
    }
    .dash-chart {
        min-height: 132px;
    }
    .dash-hero-robot,
    .dash-hero-card::after {
        display: none;
    }
    .dash-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .dash-metrics article {
        min-height: 136px;
        padding: 16px;
        grid-template-columns: 1fr;
    }
    .dash-metrics .dash-icon {
        grid-row: auto;
    }
    .dash-metrics strong {
        font-size: 24px;
    }
    .dash-grid-main {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .dash-panel {
        padding: 16px;
    }
    .dash-bot-row {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 8px;
    }
    .dash-bot-row small {
        grid-column: 2 / 3;
    }
    .dash-bot-row .dash-status {
        grid-column: 2 / 3;
    }
    .dash-row-actions {
        grid-column: 3;
        grid-row: 1 / span 3;
    }
    .dash-payment-row > div,
    .dash-tx-form {
        grid-template-columns: 1fr;
    }
    .dash-payment-row > div {
        display: grid;
    }
    .dash-account-panel,
    .dash-account-items {
        grid-template-columns: 1fr;
    }
    .dash-create-button,
    .dash-mini-button,
    .dash-trial-form button {
        width: 100%;
    }
    .dashboard-hero,
    .billing-hero,
    .payment-detail-hero {
        min-height: 248px;
        padding: 24px;
        align-items: start;
        background-position: center right 30%;
    }
    .dashboard-hero {
        display: grid;
        gap: 18px;
    }
    .dashboard-hero h1,
    .billing-hero h1,
    .payment-detail-hero h1 {
        max-width: 330px;
        font-size: 26px;
    }
    .dashboard-hero p,
    .billing-hero p,
    .payment-detail-hero p {
        max-width: 300px;
        font-size: 13px;
    }
    .setup-grid,
    .dashboard-panels,
    .billing-layout,
    .settings-page,
    .settings-page.wide,
    .auth-shell,
    .payment-detail-grid,
    .home-hero,
    .home-feature-grid,
    .home-workflow {
        grid-template-columns: 1fr;
    }
    .home-hero {
        min-height: 0;
        padding: 28px;
    }
    .home-hero-visual {
        min-height: 300px;
        place-items: center;
    }
    .home-trust-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-cta { align-items: stretch; flex-direction: column; }
    .setup-grid {
        gap: 0;
        overflow: hidden;
        border: 1px solid var(--bp-line);
        border-radius: 14px;
        background: #fff;
    }
    .setup-card {
        grid-template-columns: 40px minmax(0, 1fr) auto;
        box-shadow: none;
        border: 0;
        border-bottom: 1px solid var(--bp-line);
        border-radius: 0;
    }
    .setup-card:last-child { border-bottom: 0; }
    .setup-card h2,
    .setup-card p,
    .setup-card form {
        grid-column: 2;
    }
    .setup-card .button,
    .setup-card form { display: none; }
    .setup-card::after {
        content: ">";
        align-self: center;
        color: var(--bp-muted);
        font-weight: 900;
    }
    .settings-intro { position: static; }
    .mobile-bottom-nav {
        position: fixed;
        right: 14px;
        bottom: 14px;
        left: 14px;
        z-index: 40;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
        align-items: center;
        padding: 8px;
        background: rgba(2,14,27,.96);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 18px;
        box-shadow: 0 18px 44px rgba(0,0,0,.30);
    }
    .mobile-bottom-nav a {
        display: grid;
        place-items: center;
        gap: 4px;
        min-height: 52px;
        color: #aebed0;
        font-size: 11px;
        font-weight: 800;
    }
    .mobile-bottom-nav a.is-active { color: #35f0a2; }
    .mobile-bottom-nav .mobile-create {
        width: 54px;
        height: 54px;
        min-height: 54px;
        justify-self: center;
        color: #061427;
        background: linear-gradient(135deg, #35f0a2, #20b86f);
        border-radius: 50%;
        box-shadow: 0 12px 26px rgba(6,20,39,.24);
    }
}

@media (max-width: 620px) {
    .mock-mobile-screenshot-wrap {
        width: min(100%, 360px);
    }
    .app-header { border-radius: 0 0 22px 22px; }
    .app-header h1 { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .language-select { max-width: 132px; }
    .language-select select { font-size: 13px; }
    .panel,
    .settings-card,
    .checkout-panel,
    .payment-detail-card {
        padding: 16px;
    }
    .pricing-grid { grid-template-columns: 1fr; }
    .payment-row {
        grid-template-columns: 1fr;
    }
    .payment-row .inline {
        justify-content: stretch;
    }
    .payment-row .inline input {
        max-width: none;
    }
    .auth-public-shell {
        width: min(100% - 24px, 1120px);
        padding-top: 18px;
    }
    .auth-copy {
        min-height: 260px;
        padding: 24px;
        background-position: center right 30%;
    }
    .auth-copy h1 { font-size: 30px; }
    .home-hero {
        padding: 22px;
        border-radius: 22px;
    }
    .home-hero h1 { font-size: 34px; }
    .home-hero p { font-size: 16px; }
    .home-actions a { width: 100%; }
    .home-trust-strip { grid-template-columns: 1fr; }
    .home-floating-card {
        position: static;
        max-width: none;
        margin-top: -34px;
    }
}

.settings-v2 {
    display: grid;
    gap: 22px;
    color: var(--app-text, #f8fbff);
}

.settings-v2-heading h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 3vw, 40px);
    letter-spacing: 0;
}

.settings-v2-heading p {
    margin: 0;
    color: var(--app-muted, #a8b6c6);
}

.settings-v2-grid {
    display: grid;
    gap: 16px;
    max-width: 1120px;
}

.settings-v2-card {
    display: grid;
    gap: 16px;
    padding: 20px;
    color: var(--app-text, #f8fbff);
    background:
        linear-gradient(145deg, rgba(8, 28, 47, .88), rgba(4, 20, 34, .92)),
        radial-gradient(circle at 100% 0%, rgba(50, 240, 162, .10), transparent 34%);
    border: 1px solid rgba(109, 141, 169, .25);
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035), 0 20px 40px rgba(0, 0, 0, .10);
}

.settings-card-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    justify-content: space-between;
}

.settings-card-head h2 {
    margin: 0 0 4px;
    font-size: 20px;
}

.settings-card-head p,
.settings-card-note,
.settings-v2-card small {
    margin: 0;
    color: var(--app-muted, #a8b6c6);
    line-height: 1.5;
}

.settings-profile-row,
.settings-form-grid,
.settings-password-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.settings-profile-row {
    grid-template-columns: 92px repeat(2, minmax(0, 1fr));
}

.settings-avatar-wrap {
    position: relative;
    width: 74px;
    height: 74px;
    align-self: center;
}

.settings-avatar {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    color: #04121f;
    background: linear-gradient(135deg, #5fffc1, #21c978);
    border: 3px solid rgba(255,255,255,.16);
    border-radius: 50%;
    font-size: 26px;
    font-weight: 900;
}

.settings-avatar-edit {
    position: absolute;
    right: 0;
    bottom: 0;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    color: #fff;
    background: #64748b;
    border: 2px solid #071827;
    border-radius: 50%;
    font-size: 12px;
}

.settings-v2 label {
    display: grid;
    gap: 7px;
    color: var(--app-muted, #a8b6c6);
    font-size: 13px;
    font-weight: 800;
}

.settings-v2 input,
.settings-v2 select,
.settings-select {
    width: 100%;
    min-height: 48px;
    color: var(--app-text, #f8fbff);
    background: rgba(5, 20, 34, .72);
    border: 1px solid rgba(109, 141, 169, .30);
    border-radius: 10px;
    outline: 0;
}

.settings-v2 input,
.settings-v2 select {
    padding: 0 14px;
}

.settings-v2 input[readonly] {
    color: rgba(248,251,255,.78);
}

.settings-select {
    display: block;
    padding: 0;
}

.settings-select select {
    border: 0;
    background: transparent;
}

.settings-primary-button,
.settings-ghost-button,
.settings-danger-button {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    font-weight: 900;
    cursor: pointer;
}

.settings-primary-button {
    width: fit-content;
    color: #04121f;
    background: linear-gradient(135deg, #4df1ad, #20be70);
    border: 0;
    box-shadow: 0 14px 30px rgba(32,190,112,.22);
}

.settings-ghost-button {
    color: var(--app-text, #f8fbff);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(109, 141, 169, .28);
}

.settings-danger-button {
    color: #ff5a67;
    background: rgba(255, 61, 84, .08);
    border: 1px solid rgba(255, 61, 84, .50);
}

.settings-small-icon {
    display: inline-block;
    margin-right: 6px;
}

.settings-segmented {
    display: grid;
    grid-template-columns: 1fr 1fr 130px;
    gap: 0;
    overflow: hidden;
    min-height: 48px;
    background: rgba(5,20,34,.72);
    border: 1px solid rgba(109,141,169,.30);
    border-radius: 10px;
}

.settings-segmented button,
.settings-segmented select {
    min-height: 48px;
    color: var(--app-text, #f8fbff);
    background: transparent;
    border: 0;
    font-weight: 900;
}

.theme-dark .settings-segmented button[data-theme-choice="dark"],
.theme-light .settings-segmented button[data-theme-choice="light"] {
    color: #071827;
    background: linear-gradient(135deg, #4df1ad, #20be70);
}

.settings-list {
    display: grid;
    gap: 10px;
}

.settings-list-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto auto;
    gap: 12px;
    align-items: center;
    padding: 10px;
    border-radius: 12px;
}

.settings-list-row + .settings-list-row {
    border-top: 1px solid rgba(109,141,169,.15);
}

.settings-row-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: #35f0a2;
    background: rgba(53, 240, 162, .10);
    border-radius: 10px;
    font-weight: 900;
}

.settings-row-icon.danger {
    color: #ff4d5f;
    background: rgba(255, 77, 95, .12);
}

.settings-list-row div {
    display: grid;
    gap: 2px;
}

.settings-switch input {
    position: absolute;
    opacity: 0;
}

.settings-switch span {
    position: relative;
    display: block;
    width: 52px;
    height: 28px;
    background: rgba(148, 163, 184, .36);
    border-radius: 999px;
}

.settings-switch span::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform .18s ease;
}

.settings-switch input:checked + span {
    background: linear-gradient(135deg, #4df1ad, #20be70);
}

.settings-switch input:checked + span::after {
    transform: translateX(24px);
}

.settings-status-pill {
    padding: 8px 12px;
    color: #35f0a2;
    background: rgba(53, 240, 162, .10);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 900;
}

.settings-danger-card {
    border-color: rgba(255, 77, 95, .25);
}

.theme-light .settings-v2-card {
    color: #0f172a;
    background:
        linear-gradient(145deg, rgba(255,255,255,.92), rgba(239,253,249,.94)),
        radial-gradient(circle at 100% 0%, rgba(12, 148, 99, .10), transparent 34%);
    border-color: rgba(15, 23, 42, .12);
}

.theme-light .settings-v2 input,
.theme-light .settings-v2 select,
.theme-light .settings-select,
.theme-light .settings-segmented {
    color: #0f172a;
    background: rgba(255,255,255,.82);
    border-color: rgba(15, 23, 42, .14);
}

.theme-light .settings-card-head p,
.theme-light .settings-card-note,
.theme-light .settings-v2-card small,
.theme-light .settings-v2 label {
    color: #526174;
}

@media (max-width: 900px) {
    .settings-profile-row,
    .settings-form-grid,
    .settings-password-grid {
        grid-template-columns: 1fr;
    }
    .settings-profile-row {
        grid-template-columns: 80px minmax(0, 1fr);
    }
    .settings-profile-row label:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 620px) {
    .settings-v2 {
        gap: 16px;
    }
    .settings-v2-card {
        padding: 16px;
        border-radius: 14px;
    }
}

.binance-data-page {
    max-width: 1180px;
}

.binance-data-body .app-header {
    display: none;
}

.binance-data-body .shell {
    padding-top: 32px;
}

.binance-data-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
    gap: 16px;
    align-items: start;
}

.binance-data-form {
    min-width: 0;
    align-content: start;
}

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

.binance-data-form .settings-form-grid label:first-child {
    grid-column: 1 / -1;
}

.binance-data-form input[disabled] {
    color: var(--app-text, #f8fbff);
    background: rgba(255,255,255,.08);
    border-color: rgba(109, 141, 169, .28);
    cursor: default;
    opacity: 1;
    -webkit-text-fill-color: var(--app-text, #f8fbff);
}

.binance-data-form input[data-clear-on-unlock][disabled] {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-weight: 900;
}

.binance-data-form .settings-primary-button {
    width: fit-content;
    min-width: 180px;
    margin-top: 0;
}

.binance-data-lock {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    color: var(--app-text, #f8fbff);
    background: rgba(53, 240, 162, .08);
    border: 1px solid rgba(53, 240, 162, .22);
    border-radius: 12px;
    cursor: pointer;
}

.binance-data-lock input {
    width: 18px;
    height: 18px;
    min-height: 18px;
    accent-color: #2bd98f;
    margin: 0;
}

.binance-data-lock span {
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
}

.binance-data-form.is-locked .settings-primary-button {
    opacity: .55;
    cursor: not-allowed;
}

.app-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(2, 14, 27, .58);
    backdrop-filter: blur(7px);
}

.app-confirm-dialog {
    display: grid;
    gap: 14px;
    width: min(100%, 420px);
    padding: 20px;
    color: #f8fbff;
    background:
        radial-gradient(circle at 92% 0%, rgba(53, 240, 162, .16), transparent 38%),
        linear-gradient(145deg, rgba(8, 28, 47, .98), rgba(4, 20, 34, .98));
    border: 1px solid rgba(109, 141, 169, .28);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}

.app-confirm-dialog h2 {
    margin: 0;
    font-size: 20px;
    letter-spacing: 0;
}

.app-confirm-dialog p {
    margin: 0;
    color: #b8c7d8;
    line-height: 1.55;
}

.app-confirm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 4px;
}

.app-confirm-actions button {
    min-height: 42px;
    padding: 0 16px;
    border: 0;
    border-radius: 10px;
    font-weight: 900;
    cursor: pointer;
}

.app-confirm-cancel {
    color: #dce8f5;
    background: rgba(255,255,255,.10);
}

.app-confirm-ok {
    color: #061427;
    background: linear-gradient(135deg, #35f0a2, #20b86f);
    box-shadow: 0 12px 26px rgba(0, 171, 117, .22);
}

.binance-data-preview-card {
    min-width: 0;
}

.binance-profile-preview {
    display: grid;
    gap: 14px;
    padding: 16px;
    color: #081426;
    background:
        radial-gradient(circle at 88% 0%, rgba(50, 240, 162, .14), transparent 36%),
        linear-gradient(145deg, rgba(255,255,255,.96), rgba(244,251,249,.98));
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 14px;
    box-shadow: 0 18px 36px rgba(15, 35, 65, .08);
}

.binance-profile-preview-main {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.binance-profile-preview-avatar {
    width: 72px;
    height: 72px;
    border-width: 4px;
}

.binance-profile-kicker {
    display: block;
    color: #66758b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.binance-profile-preview-main h3 {
    margin: 0;
    color: #081426;
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.08;
}

.binance-profile-preview-main p {
    margin: 2px 0 0;
    color: #66758b;
    font-size: 14px;
}

.binance-profile-preview-main a {
    display: block;
    max-width: 100%;
    margin-top: 3px;
    overflow-wrap: anywhere;
    color: #00865b;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
}

.binance-profile-preview-id {
    display: grid;
    gap: 6px;
    padding: 12px;
    background: rgba(255,255,255,.78);
    border: 1px solid #d9e2ea;
    border-radius: 12px;
}

.binance-profile-preview-id span {
    color: #66758b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.binance-profile-preview-id code {
    overflow-wrap: anywhere;
    color: #007a54;
    font-size: 14px;
    font-weight: 900;
}

.binance-profile-preview-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.binance-profile-preview-stats article {
    min-height: 86px;
    padding: 12px;
    background: rgba(255,255,255,.75);
    border: 1px solid #d9e2ea;
    border-radius: 12px;
}

.binance-profile-preview-stats span {
    display: block;
    color: #66758b;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .05em;
    line-height: 1.25;
    text-transform: uppercase;
}

.binance-profile-preview-stats strong {
    display: block;
    margin-top: 8px;
    color: #081426;
    font-size: 26px;
    line-height: 1;
}

.binance-data-empty {
    display: grid;
    gap: 8px;
    min-height: 220px;
    align-content: center;
    padding: 22px;
    color: var(--app-text, #f8fbff);
    background: rgba(5, 20, 34, .54);
    border: 1px dashed rgba(109,141,169,.34);
    border-radius: 14px;
}

.binance-data-empty strong {
    font-size: 18px;
}

.binance-data-empty span {
    color: var(--app-muted, #a8b6c6);
    line-height: 1.45;
}

.theme-light .binance-data-empty {
    color: #0f172a;
    background: rgba(255,255,255,.70);
    border-color: rgba(15, 23, 42, .16);
}

.theme-light .binance-data-empty span {
    color: #526174;
}

.theme-light .binance-data-lock {
    color: #0f172a;
    background: rgba(12, 148, 99, .08);
    border-color: rgba(12, 148, 99, .20);
}

.theme-light .binance-data-form input[disabled] {
    color: #0f172a;
    background: rgba(255,255,255,.78);
    border-color: rgba(15, 23, 42, .16);
    -webkit-text-fill-color: #0f172a;
}

.theme-light .app-confirm-overlay {
    background: rgba(15, 35, 65, .36);
}

.theme-light .app-confirm-dialog {
    color: #0f172a;
    background:
        radial-gradient(circle at 92% 0%, rgba(12, 148, 99, .12), transparent 38%),
        rgba(255,255,255,.98);
    border-color: rgba(15, 35, 65, .12);
    box-shadow: 0 28px 80px rgba(15, 35, 65, .18);
}

.theme-light .app-confirm-dialog p {
    color: #526174;
}

.theme-light .app-confirm-cancel {
    color: #0f172a;
    background: rgba(15, 35, 65, .08);
}

@media (max-width: 1040px) {
    .binance-data-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .binance-data-body .shell {
        padding-top: 18px;
    }
    .binance-data-form .settings-form-grid {
        grid-template-columns: 1fr;
    }
    .binance-data-form .settings-primary-button {
        width: 100%;
    }
    .binance-profile-preview {
        padding: 14px;
    }
    .binance-profile-preview-main {
        grid-template-columns: 62px minmax(0, 1fr);
        gap: 12px;
    }
    .binance-profile-preview-avatar {
        width: 58px;
        height: 58px;
    }
    .binance-profile-preview-stats {
        grid-template-columns: 1fr;
    }
}
.api-onboarding-panel {
    gap: 12px;
    padding: 16px;
    color: #eff6ff;
    background:
        radial-gradient(circle at 78% 18%, rgba(35,214,131,.16), transparent 34%),
        radial-gradient(circle at 20% 72%, rgba(0,133,255,.10), transparent 30%),
        linear-gradient(145deg, #030b15, #071727 48%, #05101b);
    border-color: rgba(120,190,210,.22);
    border-radius: 18px;
}
.api-step-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.api-step-card {
    gap: 7px;
    min-height: 0;
    padding: 8px;
}
.api-step-visual {
    display: grid;
    min-height: 0;
    height: clamp(390px, 34vw, 546px);
    padding: 5px;
}
.api-guide-screenshot-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 9px;
}
.api-step-card .advertiser-step-copy {
    gap: 7px;
}
.api-step-card .advertiser-step-copy > span {
    width: 22px;
    height: 22px;
    font-size: 12px;
}
.api-step-card .advertiser-step-copy strong {
    font-size: 13px;
}
.api-step-card .advertiser-step-copy p {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.2;
}
.api-guide-screenshot {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    user-select: none;
    -webkit-user-drag: none;
}
.api-guide-label {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: min(260px, 48%);
    min-height: 18px;
    padding: 3px 6px;
    color: #111827;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 7px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    font-size: 9px;
    font-weight: 900;
    line-height: 1.15;
    pointer-events: none;
    text-align: center;
    user-select: none;
    white-space: normal;
}
.api-guide-label-account {
    top: 45%;
    left: 82.4%;
    min-width: 74px;
    background: #fff;
}
.api-guide-label-api-management {
    top: 60.2%;
    left: 16.8%;
    min-width: 132px;
    background: #f3f4f6;
}
.api-guide-label-create-api {
    top: 10.6%;
    left: 74.8%;
    min-width: 68px;
    color: #111827;
    background: #fcd535;
    border-color: rgba(180, 135, 0, .20);
}
.api-guide-label-system-generated {
    top: 49.7%;
    left: 70.4%;
    min-width: 112px;
    background: #fff;
}
.api-guide-label-label-key {
    top: 62.7%;
    left: 45.7%;
    min-width: 90px;
    background: #fff;
}
.api-guide-label-next {
    left: 50.4%;
    bottom: 10.8%;
    min-width: 54px;
    color: #111827;
    background: #fcd535;
    border-color: rgba(180, 135, 0, .20);
}
.api-guide-label-api-key {
    top: 49%;
    left: 44%;
}
.api-guide-label-secret-key {
    top: 58%;
    left: 44%;
}
.api-guide-label-copy-key {
    top: 52.1%;
    left: 71.5%;
    min-width: 44px;
    color: #b77900;
    background: #fff;
}
.api-guide-label-copy-secret {
    top: 60.1%;
    left: 72.2%;
    min-width: 44px;
    color: #b77900;
    background: #fff;
}
.api-step-visual-4 .api-guide-label-next {
    top: 82.2%;
    bottom: auto;
    left: 55.2%;
}
.api-step-visual-5 .api-guide-label-next {
    top: 71.2%;
    bottom: auto;
    left: 62%;
}
.api-mobile-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.api-mobile-step-card {
    min-height: 430px;
}
.api-mobile-visual {
    min-height: 280px;
    padding: 8px;
}
.api-mobile-phone {
    display: grid;
    align-content: start;
    gap: 12px;
    min-height: 100%;
    padding: 16px;
    color: #111827;
    background: linear-gradient(180deg, #fff 0%, #f6f7f9 100%);
    border: 1px solid rgba(15, 23, 42, .14);
    border-radius: 20px;
    box-shadow: 0 18px 34px rgba(0,0,0,.20);
    user-select: none;
}
.api-mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(15,23,42,.08);
}
.api-mobile-topbar strong {
    font-size: 18px;
    font-weight: 900;
}
.api-mobile-topbar span {
    padding: 5px 9px;
    color: #04130d;
    background: #27d784;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}
.api-mobile-balance {
    font-size: 38px;
    font-weight: 950;
    letter-spacing: 0;
}
.api-mobile-actions,
.api-mobile-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.api-mobile-actions span,
.api-mobile-nav span,
.api-mobile-nav strong,
.api-mobile-menu span,
.api-mobile-menu strong,
.api-mobile-key-row,
.api-mobile-choice {
    padding: 10px;
    background: #eef2f6;
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 12px;
    font-weight: 850;
}
.api-mobile-nav {
    margin-top: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.api-mobile-nav span,
.api-mobile-nav strong {
    overflow: hidden;
    min-width: 0;
    padding: 8px 4px;
    font-size: 11px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.api-mobile-nav strong,
.api-mobile-menu strong,
.api-mobile-choice.is-selected {
    color: #04130d;
    background: #27d784;
    border-color: rgba(14,165,103,.45);
    box-shadow: 0 8px 18px rgba(32,215,131,.22);
}
.api-mobile-menu {
    display: grid;
    gap: 9px;
}
.api-mobile-primary {
    min-height: 44px;
    color: #111827;
    background: #facc15;
    border: 0;
    border-radius: 12px;
    font-weight: 950;
}
.api-mobile-key-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.api-mobile-key-row span {
    padding: 5px 8px;
    color: #047857;
    background: #dcfce7;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 900;
}
.api-mobile-sheet {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 18px;
    box-shadow: 0 -12px 28px rgba(15,23,42,.10);
}
.api-mobile-sheet > strong {
    font-size: 18px;
}
.api-mobile-sheet label,
.api-mobile-secret-card label {
    display: grid;
    gap: 6px;
    color: #4b5563;
    font-size: 12px;
    font-weight: 900;
}
.api-mobile-sheet label span,
.api-mobile-secret-card code {
    display: block;
    overflow: hidden;
    padding: 10px;
    color: #111827;
    background: #eef2f6;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 10px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.api-mobile-secret-card {
    display: grid;
    gap: 12px;
    padding: 14px;
    background: #fff;
    border: 1px solid rgba(15,23,42,.10);
    border-radius: 16px;
}
.api-mobile-secret-card label {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}
.api-mobile-secret-card label > :first-child {
    grid-column: 1 / -1;
}
.api-mobile-secret-card b {
    padding: 8px 10px;
    color: #04130d;
    background: #27d784;
    border-radius: 9px;
    font-style: normal;
}
.api-mobile-step-card {
    min-height: 0;
}
.api-mobile-visual {
    min-height: 0;
    padding: 10px;
}
.api-mobile-screenshot-wrap {
    position: relative;
    overflow: hidden;
    width: min(100%, 360px);
    margin: 0 auto;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 20px;
    background: #f8fafc;
    box-shadow: 0 18px 34px rgba(0,0,0,.22);
    user-select: none;
}
.api-mobile-screenshot {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
}
.api-mobile-guide-label {
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 54%;
    min-height: 22px;
    padding: 4px 9px;
    color: #07111e;
    background: #fff;
    border: 1px solid rgba(14,165,103,.22);
    border-radius: 999px;
    box-shadow: 0 7px 16px rgba(15, 23, 42, .16);
    font-size: 10px;
    font-weight: 950;
    line-height: 1.1;
    text-align: center;
    white-space: normal;
}
.api-mobile-visual-1 .api-mobile-guide-label-home {
    top: 96.6%;
    left: 8%;
}
.api-mobile-visual-1 .api-mobile-guide-label-api-management {
    top: 41.5%;
    left: 53.5%;
    max-width: 34%;
}
.api-mobile-visual-2 .api-mobile-guide-label-create-api {
    top: 17.7%;
    left: 15%;
}
.api-mobile-visual-3 .api-mobile-guide-label-system-generated {
    top: 43.6%;
    left: 53%;
}
.api-mobile-visual-3 .api-mobile-guide-label-next {
    top: 88.9%;
    left: 48%;
    min-width: 72px;
}
.api-mobile-visual-4 .api-mobile-guide-label-label-key {
    top: 50.2%;
    left: 47%;
    max-width: 45%;
}
.api-mobile-visual-4 .api-mobile-guide-label-next {
    top: 63.3%;
    left: 62%;
    min-width: 72px;
}
.api-mobile-visual-5 .api-mobile-guide-label-api-key {
    top: 67.5%;
    left: 9%;
    max-width: 38%;
}
.api-mobile-visual-5 .api-mobile-guide-label-copy-key {
    top: 76.7%;
    left: 17%;
    min-width: 76px;
    color: #b77900;
}
.api-mobile-visual-5 .api-mobile-guide-label-secret-key {
    top: 82.4%;
    left: 9%;
    max-width: 42%;
}
.api-mobile-visual-5 .api-mobile-guide-label-copy-secret {
    top: 91.5%;
    left: 17%;
    min-width: 76px;
    color: #b77900;
}
@media (max-width: 980px) {
    .api-step-grid,
    .api-mobile-step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .api-submit-card {
        grid-template-columns: 1fr;
    }
    .api-submit-card button {
        width: 100%;
    }
}
@media (max-width: 760px) {
    .api-step-grid,
    .api-mobile-step-grid {
        grid-template-columns: 1fr;
    }
    .api-mobile-step-card {
        min-height: 0;
    }
    .api-mobile-screenshot-wrap {
        width: min(100%, 390px);
    }
    .api-guide-label {
        max-width: 54%;
        padding: 4px 8px;
        font-size: 10px;
    }
}
.mock-api-page,
.mock-api-keys,
.mock-api-verify {
    display: grid;
    gap: 8px;
    height: 100%;
    padding: 12px;
    color: #dbeafe;
    background: linear-gradient(145deg, #07111e, #0c2331);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 10px;
}
.mock-api-page.light,
.mock-api-keys,
.mock-api-verify {
    color: #0f172a;
    background: linear-gradient(145deg, #fff, #eef5fb);
    border-color: rgba(15,23,42,.10);
}
.mock-api-top {
    display: flex;
    justify-content: space-between;
    color: #f0b90b;
    font-weight: 900;
}
.mock-api-top span {
    color: #94a3b8;
    font-size: 12px;
}
.mock-api-menu {
    display: grid;
    gap: 7px;
}
.mock-api-menu b,
.mock-api-menu span,
.mock-api-page label,
.mock-api-verify label {
    padding: 8px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 8px;
}
.mock-api-menu b {
    color: #35f0a2;
    border-color: rgba(53,240,162,.45);
}
.mock-api-page.light label,
.mock-api-verify label {
    display: grid;
    gap: 5px;
    color: #64748b;
    background: #f1f5f9;
    border-color: #d8e1ea;
    font-size: 12px;
    font-weight: 800;
}
.mock-api-page label span,
.mock-api-verify label span,
.mock-api-keys code {
    display: block;
    overflow: hidden;
    color: #102033;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mock-api-page em,
.mock-api-verify em {
    justify-self: end;
    align-self: end;
    padding: 7px 10px;
    color: #042016;
    background: #20d783;
    border-radius: 7px;
    font-style: normal;
    font-weight: 900;
}
.mock-api-keys span {
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}
.mock-api-keys code {
    padding: 8px;
    background: #eef2f6;
    border: 1px solid rgba(15,23,42,.14);
    border-radius: 8px;
}
.api-submit-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    padding: 14px;
    background: rgba(8,27,43,.72);
    border: 1px solid rgba(120,190,210,.14);
    border-radius: 14px;
}
.api-submit-card label {
    display: grid;
    gap: 7px;
    color: #fff;
    font-weight: 900;
}
.api-submit-card input {
    color: #fff;
    background: rgba(255,255,255,.05);
    border-color: rgba(255,255,255,.14);
}
.binance-verify-loading {
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(219, 234, 254, .92);
    font-size: 13px;
    font-weight: 800;
}
[data-binance-verify-form].is-verifying button[aria-busy="true"] {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: .88;
    cursor: wait;
}
[data-binance-verify-form].is-verifying button[aria-busy="true"]::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 999px;
    animation: verify-spin .7s linear infinite;
}
[data-binance-verify-form].is-verifying input {
    opacity: .82;
}
@keyframes verify-spin {
    to { transform: rotate(360deg); }
}
.order-stats-page {
    display: grid;
    gap: 18px;
}
.order-stats-hero,
.order-stats-summary article,
.order-stats-panel,
.order-stats-empty {
    background:
        linear-gradient(145deg, rgba(255,255,255,.94), rgba(245,252,251,.88)),
        radial-gradient(circle at 92% 0%, rgba(35,214,131,.13), transparent 32%);
    border: 1px solid rgba(15,35,65,.10);
    border-radius: 14px;
    box-shadow: 0 18px 46px rgba(15,35,65,.08);
}
.order-stats-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
    gap: 18px;
    align-items: start;
    padding: 24px;
}
.order-stats-hero h1 {
    margin: 8px 0 8px;
    color: #0f1b2d;
    font-size: 42px;
    line-height: 1.04;
}
.order-stats-hero p {
    max-width: 780px;
    margin: 0;
    color: #657793;
    font-size: 17px;
    line-height: 1.5;
}
.order-stats-filter {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: end;
    padding: 12px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(15,35,65,.10);
    border-radius: 12px;
}
.order-stats-tabs {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
}
.order-stats-tabs a {
    padding: 9px 10px;
    color: #66748a;
    background: rgba(241,247,250,.92);
    border: 1px solid rgba(15,35,65,.08);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}
.order-stats-tabs a.is-active {
    color: #062918;
    background: #31e79a;
    border-color: rgba(7,148,91,.22);
    box-shadow: 0 8px 18px rgba(19,196,125,.20);
}
.order-stats-filter label {
    display: grid;
    gap: 6px;
    color: #52647d;
    font-size: 12px;
    font-weight: 900;
}
.order-stats-filter input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    color: #102033;
    background: #fff;
    border: 1px solid rgba(15,35,65,.12);
    border-radius: 10px;
    font: inherit;
    font-weight: 800;
}
.order-stats-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}
.order-stats-summary article {
    display: grid;
    gap: 7px;
    min-height: 118px;
    padding: 18px;
}
.order-stats-summary span,
.order-stats-panel-head span,
.order-stats-empty p {
    color: #657793;
}
.order-stats-summary span {
    font-size: 12px;
    font-weight: 1000;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.order-stats-summary strong {
    color: #0f1b2d;
    font-size: 25px;
    line-height: 1.1;
}
.order-stats-summary small {
    color: #078a58;
    font-weight: 900;
}
.order-stats-summary article.profit {
    background:
        linear-gradient(145deg, rgba(221,255,239,.96), rgba(255,255,255,.9)),
        radial-gradient(circle at 100% 0%, rgba(35,214,131,.18), transparent 40%);
    border-color: rgba(35,214,131,.24);
}
.order-stats-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 18px;
}
.order-stats-panel {
    padding: 18px;
}
.order-stats-panel.compact {
    padding: 10px;
}
.order-stats-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.order-stats-panel-head h2,
.order-stats-empty h2 {
    margin: 0;
    color: #0f1b2d;
    font-size: 20px;
}
.daily-bars {
    display: grid;
    gap: 10px;
}
.daily-bar-row {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) 42px;
    gap: 10px;
    align-items: center;
    color: #52647d;
    font-size: 13px;
    font-weight: 900;
}
.daily-bar-row div {
    height: 12px;
    overflow: hidden;
    background: #eef5f7;
    border: 1px solid rgba(15,35,65,.08);
    border-radius: 999px;
}
.daily-bar-row i {
    display: block;
    height: 100%;
    min-width: 10px;
    background: linear-gradient(90deg, #07945b, #31e79a);
    border-radius: inherit;
}
.daily-bar-row strong {
    color: #0f1b2d;
    text-align: right;
}
.order-stats-table-wrap {
    overflow-x: auto;
}
.order-stats-table-wrap {
    max-width: 100%;
}
.orders-table-scroll {
    max-height: 704px;
    overflow: auto;
    overscroll-behavior: contain;
}
.metric-table-wrap {
    display: flex;
    justify-content: center;
}
.order-pair-selector {
    display: inline-flex;
    align-items: end;
    margin: 0 0 10px;
}
.order-pair-selector label {
    display: grid;
    gap: 5px;
    color: #52647d;
    font-size: 12px;
    font-weight: 1000;
}
.order-pair-selector select {
    min-width: 150px;
    min-height: 38px;
    padding: 0 34px 0 12px;
    color: #102033;
    background: #fff;
    border: 1px solid rgba(15,35,65,.12);
    border-radius: 10px;
    font: inherit;
    font-weight: 900;
}
.order-stats-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}
.order-stats-table.recent {
    min-width: 1000px;
}
.order-stats-table th,
.order-stats-table td {
    padding: 8px 9px;
    border-bottom: 1px solid rgba(15,35,65,.08);
    color: #52647d;
    font-size: 12px;
    line-height: 1.25;
    text-align: left;
    white-space: nowrap;
}
.order-stats-table th {
    color: #718197;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.order-stats-table td {
    color: #102033;
    font-weight: 560;
}
.order-stats-table td:nth-child(2) {
    font-weight: 650;
}
.orders-table-scroll .order-stats-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(255,255,255,.96);
}
.order-side {
    display: inline-flex;
    min-width: 42px;
    justify-content: center;
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}
.order-side.buy {
    color: #0ECB81;
    background: rgba(14,203,129,.14);
}
.order-side.sell {
    color: #F6465D;
    background: rgba(246,70,93,.13);
}
.order-stats-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 42px 20px;
    text-align: center;
}
.order-stats-empty .dash-icon {
    width: 48px;
    height: 48px;
    padding: 11px;
    color: #078a58;
    background: rgba(35,214,131,.12);
    border: 1px solid rgba(35,214,131,.24);
    border-radius: 50%;
}
.order-metric-table {
    width: max-content;
    min-width: min(900px, 100%);
    max-width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(15,35,65,.10);
    border-radius: 12px;
}
.order-metric-table th,
.order-metric-table td {
    padding: 9px 12px;
    border-right: 1px solid rgba(15,35,65,.08);
    border-bottom: 1px solid rgba(15,35,65,.08);
    color: #122033;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    vertical-align: middle;
    overflow-wrap: anywhere;
}
.order-metric-table th:first-child,
.order-metric-table td:first-child {
    width: 260px;
    min-width: 260px;
    text-align: left;
    white-space: normal;
}
.order-metric-table th:not(:first-child),
.order-metric-table td:not(:first-child) {
    min-width: 190px;
}
.order-metric-table th {
    color: #162234;
    background: rgba(249,252,253,.96);
    font-size: 14px;
    font-weight: 850;
}
.order-metric-table th:last-child {
    color: #1477ff;
}
.order-metric-table th:nth-child(2) {
    color: #0ECB81;
}
.order-metric-table th:nth-child(3) {
    color: #F6465D;
}
.order-metric-table td .buy-value,
.order-metric-table td .sell-value,
.order-metric-table td .loss-value,
.order-metric-table td .method-line,
.order-metric-table td .method-line b,
.order-metric-table td .method-line span {
    color: #122033;
}
.order-metric-table td .total-profit-value {
    color: #1477ff;
}
.order-metric-table tr:last-child td {
    border-bottom: 0;
}
.order-metric-table td:last-child,
.order-metric-table th:last-child {
    border-right: 0;
}
.metric-label {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.metric-label-icon {
    display: inline-grid;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #1477ff;
    background: rgba(20,119,255,.09);
    border-radius: 9px;
}
.metric-label-icon-profit,
.metric-label-icon-total-profit {
    color: #078a58;
    background: rgba(14,203,129,.10);
}
.metric-label-icon-orders {
    color: #226ccf;
    background: rgba(34,108,207,.10);
}
.metric-label-icon-asset {
    color: #7a5bd6;
    background: rgba(122,91,214,.11);
}
.metric-label-icon-fiat,
.metric-label-icon-fees {
    color: #d86f20;
    background: rgba(216,111,32,.11);
}
.metric-label-icon-average {
    color: #7758c9;
    background: rgba(119,88,201,.11);
}
.metric-label-icon-payments {
    color: #0a7c61;
    background: rgba(10,124,97,.10);
}
.metric-label-icon-date {
    color: #66758b;
    background: rgba(102,117,139,.11);
}
.metric-label-icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.metric-label span {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.metric-label strong {
    color: #122033;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.15;
}
.metric-label small {
    display: block;
    color: #657793;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}
.metric-value {
    color: #122033;
    font-weight: 620;
}
.metric-value-main {
    font-size: 17px;
    font-weight: 820;
}
.metric-value-count,
.metric-value-strong {
    font-size: 15px;
    font-weight: 740;
}
.metric-value-regular {
    font-size: 13px;
    font-weight: 620;
}
.metric-value-profit {
    font-size: 18px;
    font-weight: 900;
}
.metric-value-date {
    color: #52647d;
    font-size: 13px;
    font-weight: 650;
}
.order-metric-table tr.order-payment-row td {
    vertical-align: top;
}
.payment-heading {
    display: grid;
    gap: 3px;
    line-height: 1.2;
}
.method-list {
    display: grid;
    gap: 8px;
    align-content: start;
    min-height: 72px;
}
.method-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 3px;
    align-items: start;
    padding: 3px 0;
    color: #0b6b3a;
    font-size: 12px;
    font-weight: 560;
    line-height: 1.25;
    white-space: normal;
}
.method-line b {
    min-width: 0;
    font-size: 13px;
    font-weight: 760;
}
.method-line span {
    min-width: 0;
    font-size: 12px;
    font-weight: 650;
    text-align: center;
}
.muted-value {
    color: #8a99ad;
    font-weight: 700;
}
.loss-value {
    color: #F6465D;
}
.method-line b,
.method-line span {
    color: #122033;
}
.profit-chart-panel {
    min-height: 310px;
}
.chart-legend {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #657793;
    font-size: 12px;
    font-weight: 900;
}
.chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.chart-legend i {
    width: 9px;
    height: 9px;
    background: #19a54f;
    border-radius: 50%;
}
.chart-legend span:first-child i {
    background: #9a4ce7;
}
.chart-tools {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.chart-tools label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #657793;
    font-size: 12px;
    font-weight: 900;
}
.chart-tools select {
    height: 34px;
    min-width: 100px;
    padding: 0 26px 0 10px;
    color: #0f1b2d;
    background: #fff;
    border: 1px solid rgba(15,35,65,.16);
    border-radius: 8px;
    font: inherit;
    font-weight: 900;
    opacity: 1;
}
.order-profit-chart {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 8px;
    height: 220px;
    padding: 14px 10px 28px;
    overflow-x: auto;
    background:
        repeating-linear-gradient(to bottom, transparent 0, transparent 53px, rgba(15,35,65,.08) 54px),
        rgba(255,255,255,.46);
    border: 1px solid rgba(15,35,65,.08);
    border-radius: 12px;
}
.order-profit-zero-line {
    position: absolute;
    right: 10px;
    left: 10px;
    top: 50%;
    height: 1px;
    background: rgba(20,119,255,.42);
}
.order-profit-bar {
    position: relative;
    flex: 1 0 26px;
    min-width: 26px;
}
.order-profit-bar span {
    position: absolute;
    width: 8px;
    border-radius: 8px 8px 0 0;
}
.order-profit-bar .account-bar {
    left: calc(50% - 9px);
    background: linear-gradient(180deg, #b15df4, #8a3ee0);
}
.order-profit-chart.single-account .account-bar {
    left: calc(50% - 4px);
}
.order-profit-bar .total-bar {
    left: calc(50% + 1px);
    background: linear-gradient(180deg, #25b65b, #159447);
}
.order-profit-bar.positive span {
    background: linear-gradient(180deg, #25b65b, #159447);
}
.order-profit-bar.positive .account-bar {
    background: linear-gradient(180deg, #b15df4, #8a3ee0);
}
.order-profit-bar.negative span {
    background: linear-gradient(180deg, #a855f7, #7c3aed);
    border-radius: 0 0 8px 8px;
}
.order-profit-bar.negative .total-bar {
    background: linear-gradient(180deg, #25b65b, #159447);
}
.order-profit-bar small {
    position: absolute;
    bottom: -22px;
    left: 50%;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    transform: translateX(-50%) rotate(-30deg);
    transform-origin: center;
}
@media (max-width: 1180px) {
    .order-stats-hero,
    .order-stats-grid {
        grid-template-columns: 1fr;
    }
    .order-stats-summary {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 620px) {
    .order-stats-hero,
    .order-stats-filter,
    .order-stats-grid {
        grid-template-columns: 1fr;
    }
    .order-stats-hero {
        padding: 18px;
    }
    .order-stats-hero h1 {
        font-size: 32px;
    }
    .order-stats-tabs,
    .order-stats-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .order-stats-filter button {
        width: 100%;
    }
    .order-stats-summary article {
        min-height: 108px;
        padding: 14px;
    }
    .order-stats-summary strong {
        font-size: 20px;
    }
    .order-stats-panel-head {
        align-items: flex-start;
        flex-direction: column;
    }
    .settings-card-head,
    .settings-list-row {
        align-items: stretch;
        grid-template-columns: 1fr;
    }
    .settings-card-head {
        display: grid;
    }
    .settings-profile-row {
        grid-template-columns: 1fr;
    }
    .settings-segmented {
        grid-template-columns: 1fr 1fr;
    }
    .settings-segmented select {
        grid-column: 1 / -1;
        border-top: 1px solid rgba(109,141,169,.20);
    }
    .settings-primary-button,
    .settings-ghost-button,
    .settings-danger-button {
        width: 100%;
    }
}

@media (max-width: 1060px) {
    .app-body.theme-light {
        background:
            radial-gradient(circle at 72% 8%, rgba(5,150,105,.14), transparent 30%),
            radial-gradient(circle at 10% 70%, rgba(22,119,255,.08), transparent 34%),
            #eef6fb;
    }
    .app-body.theme-light .app-header {
        background: rgba(255,255,255,.94);
        border-bottom-color: rgba(15,35,65,.10);
        box-shadow: 0 10px 28px rgba(15,35,65,.08);
    }
    .app-body.theme-light .app-header h1 {
        color: #0f1b2d;
    }
    .app-body.theme-light .mobile-menu-button {
        color: #0f1b2d;
        background: rgba(255,255,255,.90);
        border-color: rgba(15,35,65,.14);
    }
    .app-body.theme-light .top-actions .theme-select,
    .app-body.theme-light .top-actions .language-select {
        color: #0f1b2d;
        background: rgba(255,255,255,.86);
        border-color: rgba(15,35,65,.14);
    }
    .app-body.theme-light .top-actions .theme-select select,
    .app-body.theme-light .top-actions .language-select select {
        color: #0f1b2d;
    }
}
