/* Opulence Home Equity: Reverse Mortgage Calculator funnel */

html.ophe-calc-open,
body.ophe-calc-open {
    overflow: hidden !important;
}

#ophe-calc {
    --oc-navy: #00306b;
    --oc-ink: #0d1b33;
    --oc-night: #07152d;
    --oc-gold: #c8932b;
    --oc-gold-2: #e6bb63;
    --oc-green: #1e6b3d;
    --oc-green-d: #165530;
    --oc-text: #1a2433;
    --oc-muted: #5d6878;
    --oc-line: #dde3ec;
    --oc-soft: #f4f7fb;
    --oc-mint: #edf6f0;
    --oc-mint-line: #cfe6d7;
    --oc-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --oc-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --oc-script: "Allura", "Brush Script MT", cursive;

    position: fixed;
    inset: 0;
    z-index: 99999;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--oc-night);
    color: var(--oc-text);
    font-family: var(--oc-sans);
    font-size: 16px;
    line-height: 1.45;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}

#ophe-calc *,
#ophe-calc *::before,
#ophe-calc *::after {
    box-sizing: border-box;
}

#ophe-calc [hidden] {
    display: none !important;
}

#ophe-calc h1,
#ophe-calc h2,
#ophe-calc h3,
#ophe-calc p {
    margin: 0;
    padding: 0;
    border: 0;
    letter-spacing: normal;
    text-transform: none;
}

#ophe-calc ul,
#ophe-calc ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

#ophe-calc button,
#ophe-calc input {
    font: inherit;
    color: inherit;
    margin: 0;
    letter-spacing: normal;
    text-transform: none;
    box-shadow: none;
}

#ophe-calc button {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
    line-height: 1.2;
}

#ophe-calc a {
    color: inherit;
    text-decoration: none;
}

#ophe-calc .oc-ic {
    width: 24px;
    height: 24px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

#ophe-calc .oc-gold { color: var(--oc-gold); }
#ophe-calc .oc-green { color: var(--oc-green); }
#ophe-calc .oc-navy { color: var(--oc-navy); }

/* ── Shell ─────────────────────────────────────────────────────────── */

#ophe-calc .oc-shell {
    position: relative;
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

#ophe-calc .oc-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    background-color: var(--oc-night);
    background-image:
        radial-gradient(1200px 600px at 18% 72%, rgba(200, 147, 43, 0.38), transparent 60%),
        radial-gradient(900px 500px at 85% 20%, rgba(0, 48, 107, 0.65), transparent 65%),
        linear-gradient(160deg, #0a2350 0%, #07152d 55%, #050f22 100%);
    background-size: cover;
    background-position: center;
}

#ophe-calc .oc-bg.has-photo {
    background-image: var(--oc-bg-desk);
    background-position: var(--oc-bg-pos, center);
}

#ophe-calc .oc-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 15, 34, 0.55) 0%, rgba(5, 15, 34, 0.2) 35%, rgba(5, 15, 34, 0.35) 70%, rgba(5, 15, 34, 0.75) 100%);
}

#ophe-calc .oc-shell.is-step .oc-bg::after {
    background: linear-gradient(180deg, rgba(5, 15, 34, 0.6) 0%, rgba(5, 15, 34, 0.35) 40%, rgba(5, 15, 34, 0.6) 100%);
}

#ophe-calc .oc-header,
#ophe-calc .oc-main,
#ophe-calc .oc-trust,
#ophe-calc .oc-footer,
#ophe-calc .oc-tagline {
    position: relative;
    z-index: 1;
}

/* ── Header ────────────────────────────────────────────────────────── */

#ophe-calc .oc-header {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: #fff;
}

#ophe-calc .oc-logo {
    display: block;
    height: 66px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

#ophe-calc .oc-logo-text {
    font-family: var(--oc-serif);
    font-size: 28px;
    color: #fff;
}

#ophe-calc .oc-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-left: 24px;
    border-left: 1px solid rgba(200, 147, 43, 0.55);
}

#ophe-calc .oc-phone,
#ophe-calc .oc-langs {
    display: flex;
    align-items: center;
    gap: 14px;
}

#ophe-calc .oc-phone .oc-ic,
#ophe-calc .oc-langs .oc-ic {
    width: 30px;
    height: 30px;
}

#ophe-calc .oc-phone small,
#ophe-calc .oc-langs small {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.88);
}

#ophe-calc .oc-phone strong {
    display: block;
    white-space: nowrap;
    font-size: 27px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
}

#ophe-calc .oc-langs small {
    font-weight: 600;
    color: #fff;
}

#ophe-calc .oc-lang-list {
    display: block;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.82);
}

#ophe-calc .oc-sep {
    margin: 0 7px;
    opacity: 0.55;
}

/* ── Main / landing ────────────────────────────────────────────────── */

#ophe-calc .oc-main {
    flex: 1 0 auto;
    width: 100%;
    padding: 8px 16px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ophe-calc .oc-shell.is-landing .oc-main {
    justify-content: center;
    padding-top: 12px;
    padding-bottom: 110px;
}

#ophe-calc .oc-hero {
    width: 100%;
    max-width: 860px;
    text-align: center;
    color: #fff;
}

#ophe-calc .oc-kicker {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

#ophe-calc .oc-h1 {
    font-family: var(--oc-serif);
    font-weight: 700;
    font-size: clamp(34px, 5.6vw, 64px);
    line-height: 1.08;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

#ophe-calc .oc-h1 span {
    display: block;
}

#ophe-calc .oc-gold-text {
    background: linear-gradient(180deg, #f1cf85 0%, var(--oc-gold-2) 45%, var(--oc-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

#ophe-calc .oc-lead {
    max-width: 600px;
    margin: 18px auto 26px;
    font-size: 19px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.92);
}

#ophe-calc .oc-zip-form {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#ophe-calc .oc-zip-field {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
    border: 2px solid transparent;
    cursor: text;
}

#ophe-calc .oc-zip-field:focus-within {
    border-color: var(--oc-gold);
}

#ophe-calc .oc-zip-pin {
    width: 60px;
    height: auto;
    padding: 18px;
    color: var(--oc-ink);
    border-right: 1px solid var(--oc-line);
    fill: var(--oc-ink);
    stroke: #fff;
}

#ophe-calc .oc-zip-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8px 14px;
    text-align: left;
}

#ophe-calc .oc-zip-label {
    font-size: 13px;
    color: var(--oc-muted);
}

#ophe-calc .oc-zip-input {
    width: 100%;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
    font-size: 26px !important;
    font-weight: 600;
    color: var(--oc-ink) !important;
    letter-spacing: 0.04em !important;
}

#ophe-calc .oc-zip-ok {
    display: flex;
    align-items: center;
    padding-right: 16px;
}

#ophe-calc .oc-zip-ok .oc-ic {
    width: 28px;
    height: 28px;
    stroke-width: 2.4;
}

#ophe-calc .oc-error {
    font-size: 14px;
    color: #b42318;
    background: #fef3f2;
    border: 1px solid #fecdca;
    border-radius: 8px;
    padding: 8px 12px;
}

#ophe-calc .oc-error-hero {
    text-align: left;
}

#ophe-calc .oc-warn {
    margin-top: 12px;
    font-size: 14px;
    color: #8a5a00;
    background: #fff8e6;
    border: 1px solid #f3dca2;
    border-radius: 8px;
    padding: 10px 12px;
}

#ophe-calc .oc-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 28px;
    border-radius: 8px;
    background: var(--oc-green);
    color: #fff;
    font-size: 19px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

#ophe-calc .oc-cta:hover:not(:disabled) {
    background: var(--oc-green-d);
}

#ophe-calc .oc-cta:active:not(:disabled) {
    transform: translateY(1px);
}

#ophe-calc .oc-cta:disabled {
    cursor: not-allowed;
    background: #9aa6b2;
    border-color: transparent;
    opacity: 0.7;
}

#ophe-calc .oc-cta-hero {
    min-height: 62px;
    font-size: 21px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

#ophe-calc .oc-cta-sm {
    min-height: 42px;
    font-size: 16px;
    padding: 0 20px;
}

#ophe-calc .oc-secure {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    color: var(--oc-muted);
    text-align: center;
}

#ophe-calc .oc-secure .oc-ic {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 6px;
    vertical-align: -2px;
}

#ophe-calc .oc-secure-hero {
    color: rgba(255, 255, 255, 0.8);
}

#ophe-calc .oc-hero-addr {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

#ophe-calc .oc-hero-alt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
}

#ophe-calc .oc-hero-switch {
    padding: 4px 6px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--oc-gold-2);
}

#ophe-calc .oc-hero-switch:hover {
    color: var(--oc-gold-2);
}

#ophe-calc .oc-hero-alt small {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

#ophe-calc .oc-addr {
    position: relative;
    text-align: left;
}

#ophe-calc .oc-addr.is-hero .oc-addr-input {
    font-size: 21px !important;
    letter-spacing: 0 !important;
}

#ophe-calc .oc-addr.is-hero .oc-addr-input::placeholder {
    font-size: 17px;
    font-weight: 400;
    color: #8592a3;
}

#ophe-calc .oc-addr-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid #c9d2df;
    border-radius: 10px;
}

#ophe-calc .oc-addr-field:focus-within {
    border-color: var(--oc-navy);
    box-shadow: 0 0 0 3px rgba(0, 48, 107, 0.15);
}

#ophe-calc .oc-addr-field .oc-ic {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}

#ophe-calc .oc-addr-field .oc-addr-input {
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

#ophe-calc .oc-addr-list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--oc-line);
    border-radius: 10px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    max-height: 320px;
    overflow-y: auto;
}

#ophe-calc .oc-addr-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--oc-ink);
}

#ophe-calc .oc-addr-list li .oc-ic {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    color: var(--oc-muted);
}

#ophe-calc .oc-addr-list li strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
}

#ophe-calc .oc-addr-list li small {
    display: block;
    font-size: 13px;
    color: var(--oc-muted);
}

#ophe-calc .oc-addr-list li:hover,
#ophe-calc .oc-addr-list li.is-active {
    background: #f2f5fa;
}

#ophe-calc .oc-addr-status {
    margin-top: 8px;
    font-size: 14px;
    color: var(--oc-muted);
}

#ophe-calc .oc-addr.is-hero .oc-addr-status {
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
}

#ophe-calc .oc-addr-status.is-error {
    color: #b42318;
}

#ophe-calc .oc-addr.is-busy .oc-addr-input {
    opacity: 0.6;
}

#ophe-calc .oc-addr-box {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px dashed #b9c6d8;
    border-radius: 12px;
    background: #f7f9fc;
}

#ophe-calc .oc-addr-box-title {
    margin-bottom: 10px;
}

#ophe-calc .oc-addr-box-title strong {
    display: block;
    font-size: 16px;
    color: var(--oc-navy);
}

#ophe-calc .oc-addr-box-title small {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    color: var(--oc-muted);
}

#ophe-calc .oc-addr-using {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--oc-ink);
}

#ophe-calc .oc-addr-using .oc-ic {
    width: 20px;
    height: 20px;
}

#ophe-calc .oc-addr-using[hidden] {
    display: none;
}

#ophe-calc .oc-prefill-tag,
#ophe-calc .oc-prefill-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #1f6f43;
}

#ophe-calc .oc-prefill-tag {
    margin-bottom: 10px;
}

#ophe-calc .oc-prefill-note {
    margin-top: 10px;
}

#ophe-calc .oc-prefill-tag .oc-ic,
#ophe-calc .oc-prefill-note .oc-ic {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

#ophe-calc .oc-prefill-tag[hidden],
#ophe-calc .oc-prefill-note[hidden],
#ophe-calc .oc-hero-addr[hidden],
#ophe-calc .oc-zip-form[hidden],
#ophe-calc .oc-hero-alt small[hidden] {
    display: none;
}

#ophe-calc .oc-tagline {
    position: absolute;
    font-family: var(--oc-script);
    font-size: 56px;
    line-height: 1;
    white-space: nowrap;
    color: var(--oc-gold-2);
    transform: rotate(-9deg);
    pointer-events: none;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

#ophe-calc .oc-shell.is-landing .oc-main {
    position: relative;
}

#ophe-calc .oc-tagline-hero {
    right: 5%;
    bottom: 34px;
}

#ophe-calc .oc-tagline-step {
    display: none;
    left: 2.5%;
    top: 52%;
    font-size: 46px;
}

#ophe-calc .oc-shell.is-landing .oc-tagline-step {
    display: none;
}

@media (min-width: 1720px) {
    #ophe-calc .oc-shell.is-step .oc-tagline-step {
        display: block;
    }
}

/* ── Trust bar and footer ──────────────────────────────────────────── */

#ophe-calc .oc-trust {
    background: rgba(6, 18, 40, 0.92);
    border-top: 1px solid rgba(200, 147, 43, 0.35);
    color: #fff;
}

#ophe-calc .oc-trust ul {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

#ophe-calc .oc-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
}

#ophe-calc .oc-trust-item:first-child {
    border-left: 0;
}

#ophe-calc .oc-trust-item .oc-ic {
    width: 36px;
    height: 36px;
    stroke-width: 1.5;
}

#ophe-calc .oc-trust-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

#ophe-calc .oc-trust-item small {
    display: block;
    margin-top: 3px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

#ophe-calc .oc-footer {
    background: #050f22;
    padding: 14px 16px 18px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

#ophe-calc .oc-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ── Card ──────────────────────────────────────────────────────────── */

#ophe-calc .oc-card {
    width: 100%;
    max-width: 760px;
    margin: 4px auto 24px;
    padding: 26px 32px 22px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

#ophe-calc .oc-card-wide {
    max-width: 960px;
}

#ophe-calc .oc-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 20px;
}

#ophe-calc .oc-progress::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 4%;
    right: 4%;
    height: 2px;
    background: var(--oc-line);
}

#ophe-calc .oc-dot {
    position: relative;
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

#ophe-calc .oc-dot-mark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    background: #eef1f6;
    color: var(--oc-muted);
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--oc-line);
}

#ophe-calc .oc-dot-mark .oc-ic {
    width: 16px;
    height: 16px;
    stroke-width: 3;
}

#ophe-calc .oc-dot.is-done .oc-dot-mark {
    background: var(--oc-ink);
    color: #fff;
    box-shadow: 0 0 0 1px var(--oc-ink);
}

#ophe-calc .oc-dot.is-current .oc-dot-mark {
    background: var(--oc-navy);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 48, 107, 0.2);
}

#ophe-calc .oc-dot-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--oc-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

#ophe-calc .oc-dot.is-done .oc-dot-label,
#ophe-calc .oc-dot.is-current .oc-dot-label {
    color: var(--oc-ink);
    font-weight: 600;
}

#ophe-calc .oc-progress-compact {
    display: none;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--oc-ink);
}

#ophe-calc .oc-bar {
    flex: 1;
    height: 6px;
    border-radius: 6px;
    background: #e7ebf1;
    overflow: hidden;
}

#ophe-calc .oc-bar span {
    display: block;
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--oc-navy), var(--oc-gold));
}

#ophe-calc .oc-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

#ophe-calc .oc-loc {
    display: flex;
    align-items: center;
    gap: 8px;
}

#ophe-calc .oc-loc-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--oc-line);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--oc-ink);
    background: #fbfcfe;
}

#ophe-calc .oc-loc-chip .oc-ic {
    width: 18px;
    height: 18px;
}

#ophe-calc .oc-loc-chip .oc-green {
    stroke-width: 2.6;
}

#ophe-calc .oc-link-btn {
    padding: 7px 14px;
    border: 1px solid var(--oc-line);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--oc-navy);
    background: #f2f5fa;
}

#ophe-calc .oc-link-btn:hover {
    background: #e8eef7;
}

#ophe-calc .oc-loc-edit {
    width: 100%;
    margin-top: 10px;
    padding: 16px;
    border: 1px solid var(--oc-line);
    border-radius: 12px;
    background: var(--oc-soft);
}

#ophe-calc .oc-mini-title {
    font-weight: 600;
    color: var(--oc-ink);
    margin-bottom: 10px;
}

#ophe-calc .oc-mini-label {
    margin: 12px 0 8px;
    font-size: 14px;
    color: var(--oc-muted);
}

#ophe-calc .oc-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: var(--oc-muted);
}

#ophe-calc .oc-field-zip {
    max-width: 180px;
}

#ophe-calc .oc-input {
    width: 100%;
    height: 48px !important;
    padding: 0 14px !important;
    border: 1px solid #c9d2df !important;
    border-radius: 8px !important;
    background: #fff !important;
    font-size: 16px !important;
    color: var(--oc-ink) !important;
    outline: none;
}

#ophe-calc .oc-input:focus {
    border-color: var(--oc-navy) !important;
    box-shadow: 0 0 0 3px rgba(0, 48, 107, 0.15) !important;
}

#ophe-calc .oc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#ophe-calc .oc-chip-opt {
    position: relative;
    padding: 8px 14px;
    border: 1px solid #c9d2df;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

#ophe-calc .oc-chip-opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#ophe-calc .oc-chip-opt.is-on {
    border-color: var(--oc-navy);
    background: var(--oc-navy);
    color: #fff;
}

#ophe-calc .oc-loc-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

#ophe-calc .oc-step-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--oc-green);
    margin-bottom: 6px;
}

#ophe-calc .oc-q {
    font-family: var(--oc-serif);
    font-weight: 700;
    font-size: clamp(26px, 3.4vw, 36px);
    line-height: 1.15;
    color: var(--oc-ink);
    outline: none;
}

#ophe-calc .oc-sub {
    margin-top: 6px;
    margin-bottom: 20px;
    font-size: 16px;
    color: var(--oc-muted);
}

#ophe-calc .oc-card-body.has-aside {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
}

/* ── Options ───────────────────────────────────────────────────────── */

#ophe-calc .oc-grid {
    display: grid;
    gap: 12px;
}

#ophe-calc .oc-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#ophe-calc .oc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
#ophe-calc .oc-grid-who { grid-template-columns: repeat(6, minmax(0, 1fr)); }
#ophe-calc .oc-grid-other { grid-template-columns: minmax(0, 1fr); max-width: 50%; margin-top: 12px; }

#ophe-calc .oc-opt {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid var(--oc-line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.12s ease, background-color 0.12s ease, box-shadow 0.12s ease;
    -webkit-tap-highlight-color: transparent;
}

#ophe-calc .oc-opt:hover {
    border-color: #9fb0c8;
}

#ophe-calc .oc-opt input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

#ophe-calc .oc-opt:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 48, 107, 0.18);
}

#ophe-calc .oc-opt.is-on {
    border-color: var(--oc-navy);
    background: #f3f6fb;
    box-shadow: inset 0 0 0 1px var(--oc-navy);
}

#ophe-calc .oc-opt-ic {
    display: flex;
    color: var(--oc-ink);
}

#ophe-calc .oc-opt-ic .oc-ic {
    width: 30px;
    height: 30px;
    stroke-width: 1.6;
}

#ophe-calc .oc-opt-label {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    color: var(--oc-ink);
}

#ophe-calc .oc-opt-box {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #9aa7b8;
    border-radius: 5px;
    background: #fff;
    color: transparent;
}

#ophe-calc .oc-opt-box .oc-ic {
    width: 15px;
    height: 15px;
    stroke-width: 3;
}

#ophe-calc .oc-opt.is-on .oc-opt-box,
#ophe-calc .oc-free.is-on .oc-opt-box {
    background: var(--oc-navy);
    border-color: var(--oc-navy);
    color: #fff;
}

#ophe-calc input[type="radio"] ~ .oc-opt-box {
    border-radius: 50%;
}

#ophe-calc .oc-opt-home {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    gap: 0;
}

#ophe-calc .oc-opt-home .oc-opt-ic {
    height: 104px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, #eef3fa 0%, #e2eaf5 100%);
    color: var(--oc-navy);
}

#ophe-calc .oc-opt-home .oc-opt-ic .oc-ic {
    width: 58px;
    height: 58px;
    stroke-width: 1.3;
}

#ophe-calc .oc-opt-home .oc-opt-label {
    padding: 12px 44px 12px 14px;
    font-weight: 600;
}

#ophe-calc .oc-opt-home .oc-opt-box {
    position: absolute;
    right: 12px;
    bottom: 12px;
}

#ophe-calc .oc-opt-home.is-on .oc-opt-ic {
    background: linear-gradient(160deg, #dfe8f6 0%, #cfdcef 100%);
}

#ophe-calc .oc-opt-home.oc-opt-row {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
}

#ophe-calc .oc-opt-home.oc-opt-row .oc-opt-ic {
    height: auto;
    background: none;
}

#ophe-calc .oc-opt-home.oc-opt-row .oc-opt-ic .oc-ic {
    width: 32px;
    height: 32px;
}

#ophe-calc .oc-opt-home.oc-opt-row .oc-opt-label {
    padding: 0;
}

#ophe-calc .oc-opt-home.oc-opt-row .oc-opt-box {
    position: static;
}

#ophe-calc .oc-opt-plan {
    min-height: 84px;
    padding: 16px 20px;
}

#ophe-calc .oc-opt-plan .oc-opt-label {
    font-size: 17px;
    font-weight: 600;
}

#ophe-calc .oc-opt-pill {
    min-height: 54px;
    min-width: 120px;
    justify-content: space-between;
}

#ophe-calc .oc-opt-pill .oc-opt-label {
    font-weight: 600;
}

#ophe-calc .oc-opt-ic-pill {
    justify-content: center;
}

#ophe-calc .oc-opt-ic-pill .oc-opt-label {
    flex: 0 1 auto;
}

#ophe-calc .oc-opt-ic-pill .oc-opt-box {
    position: absolute;
    right: 14px;
}

#ophe-calc .oc-opt-who {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 92px;
    padding: 12px 8px;
    text-align: center;
}

#ophe-calc .oc-opt-who .oc-opt-label {
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 600;
}

#ophe-calc .oc-opt-who .oc-opt-box {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 18px;
    height: 18px;
}

#ophe-calc .oc-opt-who.is-on {
    border-color: var(--oc-gold);
    box-shadow: inset 0 0 0 1px var(--oc-gold);
    background: #fffaf0;
}

#ophe-calc .oc-opt-who.is-on .oc-opt-box {
    background: var(--oc-gold);
    border-color: var(--oc-gold);
}

#ophe-calc .oc-other {
    margin-top: 12px;
}

#ophe-calc .oc-yesno {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid var(--oc-line);
    border-radius: 12px;
    background: var(--oc-soft);
    flex-wrap: wrap;
}

#ophe-calc .oc-yesno-q {
    display: flex;
    align-items: center;
    gap: 12px;
}

#ophe-calc .oc-yesno-q .oc-ic {
    width: 34px;
    height: 34px;
}

#ophe-calc .oc-yesno-q strong {
    display: block;
    font-size: 17px;
    color: var(--oc-ink);
}

#ophe-calc .oc-yesno-q small {
    display: block;
    font-size: 14px;
    color: var(--oc-muted);
}

#ophe-calc .oc-yesno-opts {
    display: flex;
    gap: 10px;
}

/* ── Insight / guide ───────────────────────────────────────────────── */

#ophe-calc .oc-insight {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px solid var(--oc-mint-line);
    border-radius: 12px;
    background: var(--oc-mint);
}

#ophe-calc .oc-insight strong {
    display: block;
    color: var(--oc-green-d);
    font-size: 16px;
    margin-bottom: 2px;
}

#ophe-calc .oc-insight p {
    font-size: 14px;
    color: #3d4a3f;
}

#ophe-calc .oc-insight.is-ai p {
    font-size: 15px;
    color: var(--oc-ink);
}

#ophe-calc .oc-insight-quiet {
    align-items: center;
}

#ophe-calc .oc-guide {
    border: 1px solid var(--oc-line);
    border-radius: 12px;
    background: var(--oc-soft);
    overflow: hidden;
}

#ophe-calc .oc-guide-head {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 14px 16px;
}

#ophe-calc .oc-guide-head strong {
    display: block;
    color: var(--oc-ink);
}

#ophe-calc .oc-guide-head small {
    display: block;
    font-size: 12.5px;
    color: var(--oc-muted);
}

#ophe-calc .oc-guide-body {
    margin: 0 12px 12px;
    padding: 14px;
    background: #fff;
    border-radius: 10px;
    font-size: 14px;
    color: var(--oc-text);
}

#ophe-calc .oc-guide-body p + p {
    margin-top: 10px;
}

#ophe-calc .oc-why {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid var(--oc-line);
    border-radius: 12px;
    font-size: 14px;
    color: var(--oc-muted);
}

#ophe-calc .oc-why strong {
    display: block;
    color: var(--oc-ink);
    margin-bottom: 2px;
}

#ophe-calc .oc-why .oc-ic {
    width: 28px;
    height: 28px;
}

#ophe-calc .oc-almost {
    display: flex;
    gap: 10px;
    align-items: center;
}

#ophe-calc .oc-almost .oc-ic {
    width: 30px;
    height: 30px;
}

#ophe-calc .oc-almost strong {
    display: block;
    color: var(--oc-navy);
    font-size: 15px;
}

#ophe-calc .oc-almost small {
    display: block;
    color: var(--oc-muted);
    font-size: 13px;
}

/* ── Sliders ───────────────────────────────────────────────────────── */

#ophe-calc .oc-slider-block,
#ophe-calc .oc-qblock {
    padding: 18px 20px;
    border-radius: 12px;
    background: var(--oc-soft);
}

#ophe-calc .oc-slider-block + .oc-slider-block,
#ophe-calc .oc-qblock + .oc-qblock {
    margin-top: 14px;
}

#ophe-calc .oc-qblock .oc-slider-block {
    padding: 0;
    background: none;
}

#ophe-calc .oc-qblock .oc-slider-head + .oc-grid {
    margin-top: 12px;
}

#ophe-calc .oc-qblock-age {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px;
    gap: 20px;
    align-items: center;
}

#ophe-calc .oc-why-inline {
    margin-top: 0;
    background: #fff;
}

#ophe-calc .oc-slider-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

#ophe-calc .oc-num {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--oc-navy);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

#ophe-calc .oc-slider-head h3 {
    font-family: var(--oc-sans);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--oc-navy);
}

#ophe-calc .oc-slider-head p {
    font-size: 14px;
    color: var(--oc-muted);
}

#ophe-calc .oc-slider-value {
    margin: 12px 0 6px;
    text-align: center;
    font-family: var(--oc-serif);
    font-size: clamp(24px, 3.2vw, 32px);
    font-weight: 700;
    color: var(--oc-gold);
    min-height: 1.3em;
}

#ophe-calc .oc-slider-value.is-unset {
    font-family: var(--oc-sans);
    font-size: 19px;
    font-weight: 600;
    color: #8a96a8;
}

#ophe-calc .oc-slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

#ophe-calc .oc-step-btn {
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #c9d2df;
    background: #fff;
    color: var(--oc-navy);
}

#ophe-calc .oc-step-btn:hover {
    border-color: var(--oc-navy);
}

#ophe-calc .oc-step-btn .oc-ic {
    width: 18px;
    height: 18px;
    stroke-width: 2.4;
}

#ophe-calc .oc-range {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    min-width: 0;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    touch-action: pan-y;
}

#ophe-calc .oc-range:focus {
    outline: none;
}

#ophe-calc .oc-range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--oc-gold) 0, var(--oc-gold) var(--pct), #d7dee8 var(--pct), #d7dee8 100%);
}

#ophe-calc .oc-range::-moz-range-track {
    height: 8px;
    border-radius: 8px;
    background: #d7dee8;
}

#ophe-calc .oc-range::-moz-range-progress {
    height: 8px;
    border-radius: 8px;
    background: var(--oc-gold);
}

#ophe-calc .oc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 34px;
    height: 34px;
    margin-top: -13px;
    border-radius: 50%;
    background: var(--oc-gold);
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#ophe-calc .oc-range::-moz-range-thumb {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--oc-gold);
    border: 4px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#ophe-calc .oc-range:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(0, 48, 107, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3);
}

#ophe-calc .oc-slider-row.is-unset .oc-range::-webkit-slider-runnable-track {
    background: #d7dee8;
}

#ophe-calc .oc-slider-row.is-unset .oc-range::-moz-range-progress {
    background: transparent;
}

#ophe-calc .oc-slider-row.is-unset .oc-range::-webkit-slider-thumb {
    background: #9aa7b8;
    animation: oc-pulse 1.8s ease-out infinite;
}

#ophe-calc .oc-slider-row.is-unset .oc-range::-moz-range-thumb {
    background: #9aa7b8;
}

@keyframes oc-pulse {
    0% { box-shadow: 0 0 0 0 rgba(200, 147, 43, 0.55), 0 2px 8px rgba(0, 0, 0, 0.25); }
    70% { box-shadow: 0 0 0 12px rgba(200, 147, 43, 0), 0 2px 8px rgba(0, 0, 0, 0.25); }
    100% { box-shadow: 0 0 0 0 rgba(200, 147, 43, 0), 0 2px 8px rgba(0, 0, 0, 0.25); }
}

#ophe-calc .oc-slider-ends {
    display: flex;
    justify-content: space-between;
    padding: 0 52px;
    font-size: 12.5px;
    color: var(--oc-muted);
}

#ophe-calc .oc-free {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 8px 12px;
    border: 1px solid var(--oc-line);
    border-radius: 8px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--oc-ink);
    cursor: pointer;
}

#ophe-calc .oc-free input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#ophe-calc .oc-free.is-on {
    border-color: var(--oc-navy);
}

/* ── Nav ───────────────────────────────────────────────────────────── */

#ophe-calc .oc-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
}

#ophe-calc .oc-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    font-size: 17px;
    font-weight: 600;
    color: var(--oc-navy);
}

#ophe-calc .oc-nav .oc-cta {
    min-width: 260px;
}

/* ── Contact steps ─────────────────────────────────────────────────── */

#ophe-calc .oc-contact-grid {
    gap: 16px;
}

#ophe-calc .oc-field-lg {
    gap: 6px;
}

#ophe-calc .oc-field-lg .oc-field-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--oc-ink);
}

#ophe-calc .oc-field-lg .oc-input {
    height: 56px !important;
    font-size: 18px !important;
}

#ophe-calc .oc-field-solo {
    max-width: 520px;
}

#ophe-calc .oc-input-wrap {
    position: relative;
    display: block;
}

#ophe-calc .oc-input-wrap .oc-input {
    padding-right: 48px !important;
}

#ophe-calc .oc-input-ok {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
}

#ophe-calc .oc-input-ok .oc-ic {
    width: 24px;
    height: 24px;
    stroke-width: 2.6;
}

#ophe-calc .oc-input.is-bad {
    border-color: #d9a03a !important;
    background: #fffbf2 !important;
}

#ophe-calc .oc-hint {
    min-height: 22px;
    margin-top: 8px;
    font-size: 14px;
    color: var(--oc-muted);
}

#ophe-calc .oc-hint:empty {
    min-height: 0;
    margin-top: 0;
}

#ophe-calc .oc-hint-bad {
    color: #8a5a00;
}

#ophe-calc .oc-hint-good {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--oc-green-d);
    font-weight: 600;
}

#ophe-calc .oc-hint-good .oc-ic {
    width: 18px;
    height: 18px;
    stroke-width: 2.8;
}

#ophe-calc .oc-suggest {
    max-width: 520px;
    margin-top: 12px;
    padding: 14px 16px;
    border: 1px solid #f3dca2;
    border-radius: 12px;
    background: #fff8e6;
}

#ophe-calc .oc-suggest p {
    font-size: 15px;
    color: var(--oc-ink);
    word-break: break-word;
}

#ophe-calc .oc-suggest-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

#ophe-calc .oc-hello strong {
    font-family: var(--oc-serif);
    font-size: 20px;
}

#ophe-calc .oc-consent {
    position: relative;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-top: 22px;
    padding: 14px 16px;
    border: 1px solid var(--oc-line);
    border-radius: 12px;
    background: var(--oc-soft);
    cursor: pointer;
}

#ophe-calc .oc-consent input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#ophe-calc .oc-consent:focus-within {
    box-shadow: 0 0 0 3px rgba(0, 48, 107, 0.15);
}

#ophe-calc .oc-consent .oc-opt-box {
    margin-top: 1px;
}

#ophe-calc .oc-consent.is-on {
    border-color: var(--oc-navy);
}

#ophe-calc .oc-consent.is-on .oc-opt-box {
    background: var(--oc-navy);
    border-color: var(--oc-navy);
    color: #fff;
}

#ophe-calc .oc-consent-copy strong {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--oc-ink);
}

#ophe-calc .oc-consent-copy small {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--oc-muted);
}

#ophe-calc .oc-consent-copy a {
    color: var(--oc-navy);
    text-decoration: underline;
}

#ophe-calc [data-submit-error] {
    margin-top: 14px;
}

#ophe-calc .oc-cta-final:not(:disabled) {
    background: var(--oc-gold);
    color: var(--oc-night);
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(200, 147, 43, 0.35);
}

#ophe-calc .oc-cta-final:hover:not(:disabled) {
    background: var(--oc-gold-2);
}

/* ── Stage: card and Kendall ──────────────────────────────────────── */

#ophe-calc .oc-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

#ophe-calc .oc-stage {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ophe-calc .oc-step {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#ophe-calc .oc-shell.is-step .oc-main {
    justify-content: center;
}

#ophe-calc .oc-shell.is-landing .oc-dock,
#ophe-calc .oc-shell.is-landing .oc-kbar {
    display: none;
}

#ophe-calc .oc-owl {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(200, 147, 43, 0.55);
    overflow: hidden;
}

#ophe-calc .oc-owl img {
    width: 82%;
    height: 82%;
    object-fit: contain;
}

#ophe-calc .oc-owl.is-text::before {
    content: "K";
    font-family: var(--oc-serif);
    font-weight: 700;
    color: var(--oc-navy);
}

#ophe-calc .oc-owl-lg {
    width: 44px;
    height: 44px;
}

#ophe-calc .oc-dock {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

#ophe-calc .oc-dock-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--oc-navy);
    color: #fff;
}

#ophe-calc .oc-dock-head strong {
    flex: 1;
    font-family: var(--oc-serif);
    font-size: 20px;
    letter-spacing: 0.01em;
}

#ophe-calc .oc-dock-size {
    display: inline-flex;
    padding: 6px;
    color: #fff;
    border-radius: 8px;
}

#ophe-calc .oc-dock-size:hover,
#ophe-calc .oc-dock-x:hover {
    background: rgba(255, 255, 255, 0.12);
}

#ophe-calc .oc-dock-size .oc-ic {
    width: 20px;
    height: 20px;
}

#ophe-calc .oc-dock-grip {
    position: absolute;
    z-index: 3;
    touch-action: none;
}

#ophe-calc .oc-dock-grip-x {
    top: 0;
    bottom: 0;
    left: 0;
    width: 8px;
    cursor: ew-resize;
}

#ophe-calc .oc-dock-grip-y {
    left: 0;
    right: 0;
    bottom: 0;
    height: 8px;
    cursor: ns-resize;
}

#ophe-calc .oc-dock-grip-x:hover,
#ophe-calc.oc-resizing .oc-dock-grip-x {
    background: linear-gradient(90deg, var(--oc-gold) 0, var(--oc-gold) 3px, transparent 3px);
}

#ophe-calc .oc-dock-grip-y:hover,
#ophe-calc.oc-resizing .oc-dock-grip-y {
    background: linear-gradient(0deg, var(--oc-gold) 0, var(--oc-gold) 3px, transparent 3px);
}

#ophe-calc .oc-sheet-grab {
    display: none;
}

#ophe-calc.oc-resizing,
#ophe-calc.oc-resizing * {
    user-select: none;
}

#ophe-calc.oc-resizing .oc-dock {
    transition: none;
}

#ophe-calc .oc-dock-x {
    display: none;
    padding: 6px;
    color: #fff;
    border-radius: 8px;
}

#ophe-calc .oc-dock-x .oc-ic {
    width: 22px;
    height: 22px;
}

#ophe-calc .oc-dock-log {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px;
    background: var(--oc-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#ophe-calc .oc-bubble {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-wrap: break-word;
}

#ophe-calc .oc-bubble-kendall {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--oc-line);
    color: var(--oc-ink);
    border-bottom-left-radius: 4px;
}

#ophe-calc .oc-bubble-kendall.is-comment {
    background: #fdf9f0;
    border-color: #ecdcb8;
}

#ophe-calc .oc-bubble-visitor {
    align-self: flex-end;
    background: var(--oc-navy);
    color: #fff;
    border-bottom-right-radius: 4px;
}

#ophe-calc .oc-bubble.is-typing {
    display: inline-flex;
    gap: 4px;
    padding: 14px;
}

#ophe-calc .oc-bubble.is-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9aa7b8;
    animation: oc-dot 1s infinite ease-in-out;
}

#ophe-calc .oc-bubble.is-typing span:nth-child(2) { animation-delay: 0.15s; }
#ophe-calc .oc-bubble.is-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes oc-dot {
    0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}

#ophe-calc .oc-dock-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 16px;
    background: var(--oc-soft);
}

#ophe-calc .oc-dock-chips:not(:empty) {
    padding-bottom: 12px;
}

#ophe-calc .oc-chip-q {
    padding: 7px 12px;
    border: 1px solid #c9d2df;
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    color: var(--oc-navy);
    text-align: left;
}

#ophe-calc .oc-chip-q:hover {
    border-color: var(--oc-navy);
}

#ophe-calc .oc-dock-form {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--oc-line);
}

#ophe-calc .oc-dock-form textarea {
    flex: 1;
    min-height: 44px;
    max-height: 120px;
    padding: 11px 12px;
    border: 1px solid #c9d2df;
    border-radius: 10px;
    font: inherit;
    font-size: 16px;
    color: var(--oc-ink);
    resize: none;
    outline: none;
}

#ophe-calc .oc-dock-form textarea:focus {
    border-color: var(--oc-navy);
    box-shadow: 0 0 0 3px rgba(0, 48, 107, 0.15);
}

#ophe-calc .oc-dock-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--oc-green);
    color: #fff;
}

#ophe-calc .oc-dock-form button .oc-ic {
    width: 20px;
    height: 20px;
}

#ophe-calc .oc-dock-foot {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 14px 12px;
    font-size: 13px;
    color: var(--oc-muted);
}

#ophe-calc .oc-dock-foot a {
    color: var(--oc-navy);
    font-weight: 600;
}

#ophe-calc .oc-dock-foot small {
    font-size: 11.5px;
    color: #8b95a3;
}

#ophe-calc .oc-kbar {
    display: none;
}

#ophe-calc .oc-dock-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(7, 21, 45, 0.45);
}

/* Wide screens: Kendall sits beside the card */
@media (min-width: 1180px) {
    #ophe-calc .oc-shell.is-step .oc-stage {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 24px;
        max-width: 1400px;
        margin: 0 auto;
    }

    #ophe-calc .oc-shell.is-step .oc-step {
        flex: 1 1 auto;
        max-width: 960px;
    }

    #ophe-calc .oc-shell.is-step .oc-card {
        margin: 4px 0 24px;
    }

    #ophe-calc .oc-dock {
        position: sticky;
        top: 16px;
        flex: 0 0 var(--oc-dock-w, 360px);
        width: var(--oc-dock-w, 360px);
        height: var(--oc-dock-h, min(680px, calc(100vh - 32px)));
        margin-top: 4px;
    }

    #ophe-calc .oc-dock-backdrop {
        display: none;
    }
}

/* Narrow screens: Kendall is a bar along the bottom that slides up */
@media (max-width: 1179px) {
    #ophe-calc .oc-shell.is-step .oc-main {
        padding-bottom: 96px;
    }

    #ophe-calc .oc-dock {
        position: fixed;
        left: 50%;
        bottom: 0;
        z-index: 100001;
        width: 100%;
        max-width: 560px;
        height: var(--oc-sheet-h, 82vh);
        border-radius: 18px 18px 0 0;
        transform: translate(-50%, 105%);
        transition: transform 0.25s ease;
    }

    #ophe-calc.oc-sheet-open .oc-dock {
        transform: translate(-50%, 0);
    }

    #ophe-calc.oc-sheet-open .oc-main {
        z-index: 100000;
    }

    #ophe-calc .oc-dock-x {
        display: inline-flex;
    }

    #ophe-calc .oc-dock-grip-x,
    #ophe-calc .oc-dock-grip-y {
        display: none;
    }

    #ophe-calc .oc-sheet-grab {
        display: flex;
        justify-content: center;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        z-index: 3;
        height: 18px;
        cursor: ns-resize;
        touch-action: none;
    }

    #ophe-calc .oc-sheet-grab span {
        width: 44px;
        height: 4px;
        margin-top: 6px;
        border-radius: 2px;
        background: rgba(255, 255, 255, 0.55);
    }

    #ophe-calc .oc-kbar {
        position: fixed;
        left: 50%;
        bottom: 14px;
        z-index: 99999;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: 10px;
        width: calc(100% - 28px);
        max-width: 560px;
        padding: 10px 12px;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 12px 34px rgba(0, 0, 0, 0.4);
        text-align: left;
    }

    #ophe-calc.oc-sheet-open .oc-kbar {
        visibility: hidden;
    }

    #ophe-calc .oc-kbar.is-new {
        animation: oc-k-in 0.45s ease;
    }

    #ophe-calc .oc-kbar.is-alert {
        box-shadow: 0 0 0 3px var(--oc-gold), 0 12px 34px rgba(0, 0, 0, 0.4);
    }

    #ophe-calc .oc-kbar-text {
        flex: 1;
        min-width: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 14px;
        line-height: 1.35;
        color: var(--oc-ink);
    }

    #ophe-calc .oc-kbar-ask {
        flex: 0 0 auto;
        padding: 8px 12px;
        border-radius: 999px;
        background: var(--oc-navy);
        color: #fff;
        font-size: 13px;
        font-weight: 600;
    }
}

@keyframes oc-k-in {
    from { opacity: 0.4; transform: translate(-50%, 4px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* ── Progress links ────────────────────────────────────────────────── */

#ophe-calc .oc-dot.is-link button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 0;
    background: none;
    cursor: pointer;
}

#ophe-calc .oc-dot.is-link button:hover .oc-dot-label,
#ophe-calc .oc-dot.is-link button:focus-visible .oc-dot-label {
    color: var(--oc-navy);
    text-decoration: underline;
}

#ophe-calc .oc-dot.is-link button:hover .oc-dot-mark,
#ophe-calc .oc-dot.is-link button:focus-visible .oc-dot-mark {
    box-shadow: 0 0 0 3px rgba(200, 147, 43, 0.55);
    transform: scale(1.08);
}

#ophe-calc .oc-dot.is-link .oc-dot-mark {
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

/* ── Results ───────────────────────────────────────────────────────── */

#ophe-calc .oc-why-extra {
    margin-top: 8px;
    font-size: 13px;
    color: var(--oc-muted);
}

#ophe-calc .oc-res-main {
    padding: 22px 24px;
    border-radius: 14px;
    background: linear-gradient(160deg, #0a2350 0%, #00306b 100%);
    color: #fff;
}

#ophe-calc .oc-res-main.is-updated {
    animation: oc-res-in 0.6s ease;
}

@keyframes oc-res-in {
    from { box-shadow: 0 0 0 4px rgba(200, 147, 43, 0.7); }
    to { box-shadow: 0 0 0 0 rgba(200, 147, 43, 0); }
}

#ophe-calc .oc-res-program {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--oc-gold-2);
}

#ophe-calc .oc-res-kicker {
    margin-top: 10px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
}

#ophe-calc .oc-res-figure {
    font-family: var(--oc-serif);
    font-size: clamp(30px, 4.4vw, 44px);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

#ophe-calc .oc-res-figure-text {
    font-size: clamp(22px, 3vw, 30px);
}

#ophe-calc .oc-res-sub {
    margin-top: 8px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

#ophe-calc .oc-res-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

#ophe-calc .oc-res-steps li {
    padding: 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 14px;
}

#ophe-calc .oc-res-steps strong {
    display: block;
    color: var(--oc-gold-2);
    margin-bottom: 4px;
}

#ophe-calc .oc-res-how,
#ophe-calc .oc-res-note {
    margin-top: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

#ophe-calc .oc-res-compare {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 14px;
}

#ophe-calc .oc-res-compare ul {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

#ophe-calc .oc-res-compare li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0;
}

#ophe-calc .oc-res-compare em {
    font-style: normal;
    color: var(--oc-gold-2);
    font-weight: 600;
}

#ophe-calc .oc-res-block {
    margin-top: 22px;
}

#ophe-calc .oc-res-sliders {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 12px;
}

#ophe-calc .oc-res-sliders .oc-slider-block {
    margin: 0;
    padding: 14px;
    border: 1px solid var(--oc-line);
    border-radius: 12px;
    background: var(--oc-soft);
}

#ophe-calc .oc-res-sliders .oc-slider-head {
    min-height: 46px;
    align-items: flex-start;
}

#ophe-calc .oc-res-sliders .oc-slider-head h3 {
    font-family: var(--oc-sans);
    font-size: 14px;
}

#ophe-calc .oc-res-sliders .oc-slider-value {
    font-size: 20px;
}

#ophe-calc .oc-res-sliders .oc-slider-ends {
    display: none;
}

@media (max-width: 960px) {
    #ophe-calc .oc-res-sliders {
        grid-template-columns: minmax(0, 1fr);
    }
}

#ophe-calc .oc-res-block h3 {
    margin: 0 0 8px;
    font-family: var(--oc-serif);
    font-size: 20px;
    color: var(--oc-ink);
}

#ophe-calc .oc-res-block p {
    font-size: 15px;
    color: var(--oc-text);
}

#ophe-calc .oc-res-insights ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

#ophe-calc .oc-res-insights li {
    margin-bottom: 6px;
    font-size: 15px;
    color: var(--oc-text);
}

#ophe-calc .oc-res-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
}

#ophe-calc .oc-res-call {
    font-weight: 600;
    color: var(--oc-navy);
}

#ophe-calc .oc-res-answers {
    margin: 0;
    border: 1px solid var(--oc-line);
    border-radius: 12px;
}

#ophe-calc .oc-res-answers > div {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: baseline;
    padding: 10px 14px;
    border-top: 1px solid var(--oc-line);
}

#ophe-calc .oc-res-answers > div:first-child {
    border-top: 0;
}

#ophe-calc .oc-res-answers dt {
    font-size: 13px;
    font-weight: 600;
    color: var(--oc-muted);
}

#ophe-calc .oc-res-answers dd {
    margin: 0;
    font-size: 15px;
    color: var(--oc-ink);
}

#ophe-calc .oc-res-legal {
    margin-top: 20px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--oc-muted);
}

#ophe-calc [data-update-error] {
    margin-top: 14px;
}

/* ── Responsive ────────────────────────────────────────────────────── */

@media (max-width: 960px) {
    #ophe-calc .oc-trust ul {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 14px;
    }

    #ophe-calc .oc-trust-item:nth-child(4) {
        border-left: 0;
    }

    #ophe-calc .oc-card-body.has-aside {
        grid-template-columns: minmax(0, 1fr);
    }

    #ophe-calc .oc-grid-who {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #ophe-calc .oc-tagline-hero {
        display: none;
    }

    #ophe-calc .oc-shell.is-landing .oc-main {
        padding-bottom: 48px;
    }
}

@media (max-width: 760px) {
    #ophe-calc .oc-header {
        padding: 12px 16px;
        gap: 12px;
    }

    #ophe-calc .oc-logo {
        height: 44px;
        max-width: 150px;
    }

    #ophe-calc .oc-logo-text {
        font-size: 19px;
    }

    #ophe-calc .oc-contact {
        padding-left: 12px;
        gap: 0;
    }

    #ophe-calc .oc-langs {
        display: none;
    }

    #ophe-calc .oc-phone {
        gap: 8px;
    }

    #ophe-calc .oc-phone .oc-ic {
        width: 22px;
        height: 22px;
    }

    #ophe-calc .oc-phone small {
        font-size: 11px;
        white-space: nowrap;
    }

    #ophe-calc .oc-phone strong {
        font-size: 16px;
    }

    #ophe-calc .oc-aside .oc-why,
    #ophe-calc .oc-why-inline,
    #ophe-calc .oc-guide-extra {
        display: none;
    }

    #ophe-calc .oc-bg.has-photo {
        background-image: var(--oc-bg-mob, var(--oc-bg-desk));
        background-position: var(--oc-bg-pos-mob, center);
    }

    #ophe-calc .oc-kicker {
        font-size: 11.5px;
        letter-spacing: 0.22em;
    }

    #ophe-calc .oc-lead {
        font-size: 16.5px;
        margin: 14px auto 20px;
    }

    #ophe-calc .oc-main {
        padding: 4px 12px 24px;
    }

    #ophe-calc .oc-card {
        padding: 18px 16px 16px;
        border-radius: 14px;
    }

    #ophe-calc .oc-progress {
        margin-bottom: 10px;
    }

    #ophe-calc .oc-progress::before {
        top: 11px;
    }

    #ophe-calc .oc-dot-label {
        display: none;
    }

    #ophe-calc .oc-dot-mark {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    #ophe-calc .oc-dot-mark .oc-ic {
        width: 13px;
        height: 13px;
    }

    #ophe-calc .oc-progress-compact {
        display: flex;
    }

    #ophe-calc .oc-grid-3,
    #ophe-calc .oc-grid-2 {
        grid-template-columns: minmax(0, 1fr);
    }

    #ophe-calc .oc-consent-copy small {
        font-size: 11.5px;
    }

    #ophe-calc .oc-res-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    #ophe-calc .oc-res-answers > div {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    #ophe-calc .oc-res-answers dt {
        grid-column: 1 / -1;
    }

    #ophe-calc .oc-res-main {
        padding: 18px;
    }

    #ophe-calc .oc-grid-homes {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #ophe-calc .oc-grid-other {
        max-width: none;
    }

    #ophe-calc .oc-grid-who {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #ophe-calc .oc-opt {
        min-height: 56px;
    }

    #ophe-calc .oc-opt-home .oc-opt-ic {
        height: 78px;
    }

    #ophe-calc .oc-opt-home .oc-opt-ic .oc-ic {
        width: 44px;
        height: 44px;
    }

    #ophe-calc .oc-opt-home .oc-opt-label {
        font-size: 14px;
        padding: 10px 36px 10px 12px;
    }

    #ophe-calc .oc-opt-home .oc-opt-box {
        right: 10px;
        bottom: 10px;
    }

    #ophe-calc .oc-opt-plan {
        min-height: 64px;
    }

    #ophe-calc .oc-yesno-opts {
        width: 100%;
    }

    #ophe-calc .oc-yesno-opts .oc-opt {
        flex: 1;
        min-width: 0;
    }

    #ophe-calc .oc-qblock-age {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    #ophe-calc .oc-slider-block,
    #ophe-calc .oc-qblock {
        padding: 14px;
    }

    #ophe-calc .oc-slider-ends {
        padding: 0 4px;
    }

    #ophe-calc .oc-nav {
        flex-direction: column-reverse;
        align-items: stretch;
        gap: 6px;
    }

    #ophe-calc .oc-nav .oc-cta {
        min-width: 0;
        width: 100%;
    }

    #ophe-calc .oc-back {
        justify-content: center;
    }

    #ophe-calc .oc-trust ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 14px 12px;
        column-gap: 8px;
    }

    #ophe-calc .oc-trust-item {
        border-left: 0;
        padding: 4px;
        gap: 8px;
    }

    #ophe-calc .oc-trust-item:last-child {
        grid-column: 1 / -1;
        justify-content: center;
    }

    #ophe-calc .oc-trust-item .oc-ic {
        width: 26px;
        height: 26px;
    }

    #ophe-calc .oc-trust-item strong {
        font-size: 12.5px;
    }

    #ophe-calc .oc-trust-item small {
        display: none;
    }

    #ophe-calc .oc-footer {
        font-size: 10px;
        letter-spacing: 0.08em;
        line-height: 1.9;
    }
}

@media (prefers-reduced-motion: reduce) {
    #ophe-calc * {
        animation: none !important;
        transition: none !important;
    }
}
