/* ============================================================
   ADVISOR PAGE (advisor.php) - SSL-advisor style shell:
   left rail of answers, question stage, basket result.
   Also the homepage "doorway" block (.ocx-door).
   ============================================================ */

/* ---------------- FULL-BLEED SHELL ----------------
   The advisor page is body-wide in the prototype and carries its own
   .container, but WHMCS renders it inside #main-body > .container > .row >
   .primary-content. Flatten that shell, matching custom.css's
   `section#main-body` specificity. (ocx-home.css declares the same block for
   the homepage; both files load together there, with identical values.) */

section#main-body {
    padding: 0;
    overflow-x: clip;
}

#main-body > .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

#main-body > .container > .row {
    margin-left: 0;
    margin-right: 0;
}

#main-body .primary-content {
    padding-left: 0;
    padding-right: 0;
}

.ocx-adv {
    background: #f7f8fc;
    padding: 56px 0 80px;
}

.ocx-adv__hero {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 36px;
}

.ocx-adv__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ocx-primary);
    margin-bottom: 14px;
}

.ocx-adv__title {
    font-size: 40px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ocx-ink);
    margin: 0 0 14px;
}

.ocx-adv__lead {
    font-size: 16.5px;
    line-height: 1.65;
    color: var(--ocx-muted);
    margin: 0;
}

/* Shell */

.ocx-adv__shell {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    background: #fff;
    border: 1px solid var(--ocx-line);
    border-radius: 20px;
    box-shadow: 0 16px 44px rgba(16, 24, 43, 0.08);
    overflow: hidden;
    min-height: 560px;
}

.ocx-adv__rail {
    background: #fbfcfe;
    border-right: 1px solid var(--ocx-line);
    padding: 28px 22px;
    position: relative;
}

.ocx-adv__rail::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--ocx-primary);
}

/* Rail header: icon tile + kicker/title (borrowed from the SSL advisor) */
.ocx-adv__rail-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 26px 2px;
}

.ocx-adv__rail-logo {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--ocx-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: 0 8px 20px rgba(5, 37, 159, 0.25);
}

.ocx-adv__rail-titles { display: flex; flex-direction: column; gap: 2px; }

.ocx-adv__rail-kicker {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ocx-muted);
}

.ocx-adv__rail-head strong {
    font-size: 17px;
    font-weight: 800;
    color: var(--ocx-ink);
}

/* Steps: numbered circles joined by a vertical line, "STEP n" kicker over the label */
.ocx-adv__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.ocx-adv__step { position: relative; }

/* connector line between circles */
.ocx-adv__step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 27px;
    top: 44px;
    bottom: -8px;
    width: 2px;
    background: var(--ocx-line);
}

.ocx-adv__step.is-done:not(:last-child)::after { background: var(--ocx-green); }

.ocx-adv__step-btn {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 8px 10px 14px;
    cursor: pointer;
    font-family: inherit;
    position: relative;
    z-index: 1;
}

.ocx-adv__step-btn:disabled { cursor: default; }
.ocx-adv__step-btn:disabled .ocx-adv__step-label,
.ocx-adv__step-btn:disabled .ocx-adv__step-kicker { opacity: 0.55; }
.ocx-adv__step.is-active .ocx-adv__step-btn { background: #fff; border-color: var(--ocx-line); }
.ocx-adv__step-btn:not(:disabled):hover { background: #fff; border-color: var(--ocx-line); }

.ocx-adv__step-num {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--ocx-line);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--ocx-muted);
}

.ocx-adv__step.is-done .ocx-adv__step-num { background: var(--ocx-green); border-color: var(--ocx-green); color: #fff; }
.ocx-adv__step.is-active .ocx-adv__step-num { background: var(--ocx-primary); border-color: var(--ocx-primary); color: #fff; box-shadow: 0 0 0 4px rgba(5, 37, 159, 0.14); }
.ocx-adv__step.is-implied .ocx-adv__step-num { background: #fff; border-color: var(--ocx-green); color: var(--ocx-green); }

.ocx-adv__step-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; padding-top: 2px; }
.ocx-adv__step-kicker { font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocx-primary); }
.ocx-adv__step.is-implied .ocx-adv__step-kicker { color: var(--ocx-green); }
.ocx-adv__step-label { font-size: 14px; font-weight: 700; color: var(--ocx-ink); line-height: 1.3; }
.ocx-adv__step-value { font-size: 12.5px; font-weight: 600; color: var(--ocx-green); margin-top: 2px; }

.ocx-adv__restart {
    margin: 22px 0 0 6px;
    background: transparent;
    border: 0;
    color: var(--ocx-muted);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.ocx-adv__restart:hover { color: var(--ocx-primary); }

/* Stage */

.ocx-adv__stage {
    padding: 36px 40px;
}

.ocx-adv__loading { color: var(--ocx-muted); }

.ocx-adv__q-kicker {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ocx-primary);
    margin-bottom: 8px;
}

.ocx-adv__q-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ocx-ink);
    margin: 0 0 8px;
}

.ocx-adv__q-help {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ocx-muted);
    margin: 0 0 22px;
    max-width: none;
}

/* Scenario cards */

.ocx-adv__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.ocx-adv__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
    background: #fff;
    border: 1.5px solid var(--ocx-line);
    border-radius: 16px;
    padding: 20px 18px 18px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ocx-adv__card:hover {
    border-color: var(--ocx-primary);
    box-shadow: 0 10px 26px rgba(5, 37, 159, 0.10);
    transform: translateY(-3px);
}

.ocx-adv__card-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--ocx-tint);
    color: var(--ocx-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 4px;
}

.ocx-adv__card strong { font-size: 15px; font-weight: 800; color: var(--ocx-ink); line-height: 1.3; }
.ocx-adv__card span { font-size: 12.5px; color: var(--ocx-muted); line-height: 1.45; }

/* Choices */

.ocx-adv__choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-bottom: 26px;
}

.ocx-adv__choice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
    background: #fff;
    border: 1.5px solid var(--ocx-line);
    border-radius: 14px;
    padding: 16px 16px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ocx-adv__choice:hover { border-color: rgba(5, 37, 159, 0.5); }
.ocx-adv__choice.is-selected { border-color: var(--ocx-primary); }

.ocx-adv__choice-mark {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--ocx-line);
    margin-top: 2px;
    position: relative;
}

.ocx-adv__choice.is-selected .ocx-adv__choice-mark { border-color: var(--ocx-primary); }
.ocx-adv__choice.is-selected .ocx-adv__choice-mark::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--ocx-primary);
}

.ocx-adv__choice-text { display: flex; flex-direction: column; gap: 3px; }
.ocx-adv__choice-text strong { font-size: 15px; font-weight: 800; color: var(--ocx-ink); }
.ocx-adv__choice-text span { font-size: 13px; color: var(--ocx-muted); line-height: 1.45; }

/* Rich choice cards: title, one-line description, bullet points */

.ocx-adv__choices--rich {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

@media (max-width: 1199.98px) {
    .ocx-adv__choices--rich:not(.ocx-adv__choices--list) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .ocx-adv__choices--rich:not(.ocx-adv__choices--list) { grid-template-columns: 1fr; }
}

.ocx-adv__choice--rich {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 16px 16px 14px;
    border-radius: 16px;
    position: relative;
}

.ocx-adv__choice-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ocx-adv__choice-top strong {
    font-size: 16px;
    font-weight: 800;
    color: var(--ocx-ink);
    line-height: 1.3;
}

.ocx-adv__choice--rich .ocx-adv__choice-mark { margin-top: 0; }

.ocx-adv__choice-sub {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ocx-muted);
    line-height: 1.45;
    margin-left: 32px;
}

.ocx-adv__choice-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--ocx-muted);
    margin: 4px 0 0 32px;
}

.ocx-adv__choice-points {
    list-style: none;
    margin: 4px 0 0 32px;
    padding: 10px 0 0;
    border-top: 1px solid var(--ocx-line);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ocx-adv__choice-points li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--ocx-ink);
}

.ocx-adv__choice-points i {
    color: var(--ocx-green);
    font-size: 11px;
    margin-top: 5px;
    flex: 0 0 auto;
}

/* Selected state: soft brand tint fill, blue border, blue text and inverted icon tile (no badge) */
button.ocx-adv__choice.ocx-adv__choice--rich.is-selected,
.ocx-adv__choice.ocx-adv__choice--rich.is-selected {
    background: #eaf0ff;
    border: 1.5px solid var(--ocx-primary);
    box-shadow: 0 6px 18px rgba(5, 37, 159, 0.14);
}

.ocx-adv__choice--rich.is-selected::after { content: none; }

.ocx-adv__choice--rich.is-selected .ocx-adv__choice-heading strong,
.ocx-adv__choice--rich.is-selected .ocx-adv__choice-top strong { color: var(--ocx-primary); }
.ocx-adv__choice--rich.is-selected .ocx-adv__choice-sub { color: var(--ocx-primary); opacity: 0.8; }
.ocx-adv__choice--rich.is-selected .ocx-adv__choice-desc { color: var(--ocx-ink); }
.ocx-adv__choice--rich.is-selected .ocx-adv__choice-points { border-top-color: rgba(5, 37, 159, 0.18); }
.ocx-adv__choice--rich.is-selected .ocx-adv__choice-points li { color: var(--ocx-ink); }

/* radio mark: blue ring, blue dot */
.ocx-adv__choice--rich.is-selected .ocx-adv__choice-mark { border-color: var(--ocx-primary); }
.ocx-adv__choice--rich.is-selected .ocx-adv__choice-mark::after { background: var(--ocx-primary); }

/* icon tile inverts: solid blue tile, white glyph */
.ocx-adv__choice--rich.is-selected .ocx-adv__choice-icon { background: var(--ocx-primary); color: #fff; }

.ocx-adv__nav .ocx-btn--primary.is-ready {
    box-shadow: 0 8px 22px rgba(5, 37, 159, 0.28);
}

.ocx-adv__nav {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 6px;
    border-top: 1px solid var(--ocx-line);
    margin-top: 4px;
    padding-top: 20px;
}

.ocx-adv__nav .ocx-btn { border: 0; cursor: pointer; font-family: inherit; }
.ocx-adv__nav .ocx-btn--ghost { border: 1.5px solid var(--ocx-line); }
.ocx-adv__nav .ocx-btn:disabled { opacity: 0.45; cursor: default; transform: none; }

.ocx-adv__skip {
    margin-left: auto;
    background: transparent;
    border: 0;
    color: var(--ocx-muted);
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: inherit;
}

.ocx-adv__skip:hover { color: var(--ocx-primary); }

/* Result */

.ocx-adv__result-head { margin-bottom: 20px; }

.ocx-adv__total {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    background: var(--ocx-primary);
    color: #fff;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 22px;
}

.ocx-adv__total-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; margin-bottom: 4px; }
.ocx-adv__total-value { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.ocx-adv__total-value small { font-size: 13px; font-weight: 600; opacity: 0.8; margin-left: 4px; }
.ocx-adv__total-note { grid-column: 1 / -1; font-size: 12.5px; opacity: 0.8; }

.ocx-adv__group {
    border: 1px solid var(--ocx-line);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
}

.ocx-adv__group summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 14px 18px;
    background: #fbfcfe;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ocx-ink);
}

.ocx-adv__group summary::-webkit-details-marker { display: none; }
.ocx-adv__group summary b {
    background: var(--ocx-tint);
    color: var(--ocx-primary);
    border-radius: 999px;
    padding: 2px 10px;
    font-size: 12px;
}

.ocx-adv__line {
    padding: 18px 18px 16px;
    border-top: 1px solid var(--ocx-line);
}

.ocx-adv__line-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.ocx-adv__line-cat { font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ocx-muted); }

.ocx-adv__tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 4px 10px;
}

.ocx-adv__tag--must { background: var(--ocx-primary); color: #fff; }
.ocx-adv__tag--rec { background: rgba(20, 128, 74, 0.12); color: var(--ocx-green); }
.ocx-adv__tag--opt { background: #eef1fb; color: var(--ocx-muted); }

.ocx-adv__line-name { font-size: 16.5px; font-weight: 800; color: var(--ocx-ink); margin: 0 0 6px; }
.ocx-adv__line-why { font-size: 14px; line-height: 1.55; color: var(--ocx-muted); margin: 0 0 12px; }
.ocx-adv__line-why i { color: #c96a00; margin-right: 4px; }

.ocx-adv__line-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.ocx-adv__line-price { font-size: 16px; font-weight: 800; color: var(--ocx-primary); }
.ocx-adv__line-price small { font-size: 12px; font-weight: 600; color: var(--ocx-muted); margin-left: 4px; }
.ocx-adv__line-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ocx-adv__mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--ocx-line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ocx-ink);
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}

.ocx-adv__mini:hover { border-color: var(--ocx-primary); color: var(--ocx-primary); text-decoration: none; }
.ocx-adv__mini--link { border-color: transparent; color: var(--ocx-primary); }
.ocx-adv__mini:disabled { opacity: 0.6; cursor: default; }

.ocx-adv__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.ocx-adv__cta .ocx-btn { border: 0; cursor: pointer; font-family: inherit; }
.ocx-adv__cta .ocx-btn--ghost { border: 1.5px solid var(--ocx-line); }
.ocx-adv__disclaimer { font-size: 12.5px; color: var(--ocx-muted); margin: 16px 0 0; }

/* Heading block inside a choice: title + tag stacked */
.ocx-adv__choice-heading { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ocx-adv__choice-heading .ocx-adv__choice-sub { margin-left: 0; }

/* List layout: one compact row per option, single column */
.ocx-adv__choices--list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: none;
}

@media (max-width: 991.98px) {
    .ocx-adv__choices--list { grid-template-columns: 1fr; }
}

.ocx-adv__choice--row {
    padding: 12px 16px;
    border-radius: 12px;
    gap: 0;
}

.ocx-adv__choice--row .ocx-adv__choice-top { gap: 14px; }
.ocx-adv__choice--row .ocx-adv__choice-heading strong { font-size: 15px; }
.ocx-adv__choice--row .ocx-adv__choice-sub { font-size: 13px; }
.ocx-adv__choice--row.is-selected::after { top: 50%; transform: translateY(-50%); }

/* Optional icon on rich choice cards (sector) */
.ocx-adv__choice-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ocx-tint);
    color: var(--ocx-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

/* (selected icon tile styling lives in the solid-blue selected block above) */

/* Save my setup panel */

.ocx-save {
    margin-top: 22px;
    border: 1.5px solid rgba(5, 37, 159, 0.25);
    background: #f7f9ff;
    border-radius: 16px;
    padding: 24px 24px 22px;
}

.ocx-save__head h3 { font-size: 20px; font-weight: 800; color: var(--ocx-ink); margin: 0 0 6px; letter-spacing: -0.01em; }
.ocx-save__head p { font-size: 14px; line-height: 1.6; color: var(--ocx-muted); margin: 0 0 18px; max-width: 640px; }

.ocx-save__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 14px;
}

.ocx-save__field { display: flex; flex-direction: column; gap: 6px; }
.ocx-save__field span { font-size: 12.5px; font-weight: 700; color: var(--ocx-ink); }
.ocx-save__field span b { color: #c1272d; font-weight: 800; }
.ocx-save__field input {
    border: 1.5px solid var(--ocx-line);
    border-radius: 10px;
    padding: 11px 13px;
    font-size: 14.5px;
    font-family: inherit;
    color: var(--ocx-ink);
    background: #fff;
    outline: none;
}
.ocx-save__field input:focus { border-color: var(--ocx-primary); box-shadow: 0 0 0 3px rgba(5, 37, 159, 0.12); }

.ocx-save__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ocx-ink);
    margin: 0 0 10px;
    cursor: pointer;
}
.ocx-save__consent input { margin-top: 3px; accent-color: var(--ocx-primary); }
.ocx-save__consent a { color: var(--ocx-primary); font-weight: 700; }
.ocx-save__consent--soft { color: var(--ocx-muted); }

.ocx-save__actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.ocx-save__actions .ocx-btn { border: 0; cursor: pointer; font-family: inherit; }
.ocx-save__actions .ocx-adv__skip { margin-left: 0; }
.ocx-save__error { color: #c1272d; font-size: 13px; font-weight: 700; margin: 10px 0 0; }

.ocx-save__ok {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(20, 128, 74, 0.08);
    border: 1px solid rgba(20, 128, 74, 0.25);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 18px;
}
.ocx-save__ok > i { color: var(--ocx-green); font-size: 22px; margin-top: 2px; }
.ocx-save__ok strong { display: block; font-size: 15px; font-weight: 800; color: var(--ocx-ink); }
.ocx-save__ok span { font-size: 13.5px; color: var(--ocx-muted); }

.ocx-save__preview-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ocx-muted); margin-bottom: 8px; }
.ocx-save__mail {
    background: #fff;
    border: 1px solid var(--ocx-line);
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ocx-ink);
}
.ocx-save__mail p { margin: 0 0 10px; }
.ocx-save__mail-head { display: flex; flex-direction: column; gap: 2px; font-size: 12.5px; color: var(--ocx-muted); padding-bottom: 10px; border-bottom: 1px solid var(--ocx-line); margin-bottom: 12px; }
.ocx-save__mail-head b { color: var(--ocx-ink); }
.ocx-save__mail-lines { list-style: none; margin: 0 0 10px; padding: 0; border: 1px solid var(--ocx-line); border-radius: 10px; overflow: hidden; }
.ocx-save__mail-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; font-size: 13.5px; }
.ocx-save__mail-lines li + li { border-top: 1px solid var(--ocx-line); }
.ocx-save__mail-lines b { color: var(--ocx-primary); white-space: nowrap; }
.ocx-save__mail-total { font-size: 14.5px; }
.ocx-save__mail-btn { display: inline-flex; }
.ocx-save__mail-link { font-size: 12.5px; color: var(--ocx-muted); }
.ocx-save__mail-link code { background: #f1f4fc; padding: 2px 6px; border-radius: 6px; font-size: 12px; color: var(--ocx-ink); word-break: break-all; }

@media (max-width: 767.98px) {
    .ocx-save__grid { grid-template-columns: 1fr; }
    .ocx-save { padding: 18px 16px; }
}

/* Sizer mock */

.ocx-sizer {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(16, 24, 43, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ocx-sizer__panel {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 28px 30px;
    max-width: 520px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.ocx-sizer__panel h3 { font-size: 20px; font-weight: 800; color: var(--ocx-ink); margin: 0 0 8px; }
.ocx-sizer__panel p { font-size: 14px; color: var(--ocx-muted); line-height: 1.6; margin: 0 0 16px; }
.ocx-sizer__panel .ocx-btn { border: 0; cursor: pointer; font-family: inherit; }
.ocx-sizer__close { position: absolute; top: 12px; right: 12px; border: 0; background: #eef1fb; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; color: var(--ocx-muted); }
.ocx-sizer__mock {
    border: 1.5px dashed var(--ocx-line);
    border-radius: 12px;
    padding: 34px;
    text-align: center;
    color: var(--ocx-muted);
    font-weight: 700;
    margin-bottom: 18px;
}
.ocx-sizer__mock i { display: block; font-size: 26px; margin-bottom: 8px; color: var(--ocx-primary); }
body.ocx-sizer-open { overflow: hidden; }

/* Homepage doorway block */

.ocx-door {
    background: #fff;
    padding: 72px 0;
    border-top: 1px solid var(--ocx-line);
}

.ocx-door__head { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.ocx-door__title { font-size: 32px; font-weight: 800; letter-spacing: -0.015em; color: var(--ocx-ink); margin: 0 0 8px; }
.ocx-door__sub { font-size: 15.5px; line-height: 1.6; color: var(--ocx-muted); margin: 0; }

.ocx-door__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.ocx-door__card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    background: #fff;
    border: 1.5px solid var(--ocx-line);
    border-radius: 16px;
    padding: 20px 18px 18px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ocx-door__card:hover { text-decoration: none; border-color: var(--ocx-primary); box-shadow: 0 10px 26px rgba(5, 37, 159, 0.10); transform: translateY(-3px); }
.ocx-door__card .ocx-adv__card-icon { margin-bottom: 6px; }
.ocx-door__card strong { font-size: 15px; font-weight: 800; color: var(--ocx-ink); }
.ocx-door__card span { font-size: 12.5px; color: var(--ocx-muted); line-height: 1.45; }
.ocx-door__foot { text-align: center; margin-top: 22px; }
.ocx-door__foot a:not(.ocx-btn) { font-size: 14px; font-weight: 700; color: var(--ocx-primary); text-decoration: none; }
.ocx-door__foot a:not(.ocx-btn):hover { text-decoration: underline; }

@media (max-width: 1199.98px) {
    .ocx-adv__cards, .ocx-door__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
    .ocx-adv__shell { grid-template-columns: 1fr; }
    .ocx-adv__rail { border-right: 0; border-bottom: 1px solid var(--ocx-line); }
    .ocx-adv__rail::before { width: 100%; height: 4px; bottom: auto; }
    .ocx-adv__steps { flex-direction: row; flex-wrap: wrap; gap: 6px; }
    .ocx-adv__step::after { display: none; }
    .ocx-adv__stage { padding: 26px 20px; }
    .ocx-adv__title { font-size: 30px; }
    .ocx-adv__total { grid-template-columns: 1fr; }
}

@media (max-width: 767.98px) {
    .ocx-adv__cards, .ocx-door__grid { grid-template-columns: 1fr; }
    .ocx-adv__title { font-size: 26px; }
    .ocx-adv__q-title { font-size: 22px; }
    .ocx-adv__skip { margin-left: 0; width: 100%; text-align: left; }
}
