.cd-ib {
    --cdib-night: #030934;
    --cdib-navy: #051665;
    --cdib-blue: #3040b0;
    --cdib-blue-dark: #1c368e;
    --cdib-gold: #f7b43f;
    --cdib-text: #17203b;
    --cdib-muted: #667085;
    --cdib-border: #d9ddf0;
    --cdib-soft: #f6f7ff;
    max-width: 940px;
    margin: 0 auto;
    padding: 2px 24px 14px;
    color: var(--cdib-text);
    font-family: Arial, Helvetica, sans-serif;
}

.cd-ib * { box-sizing: border-box; }
.cd-ib-intro { text-align: center; max-width: var(--cdib-hero-width, 860px); margin: 0 auto 10px; }
.cd-ib-intro h1 {
    margin: 0 0 6px;
    font-size: clamp(34px, 4.15vw, 48px);
    line-height: 1.06;
    letter-spacing: -.035em;
    color: var(--cdib-text);
}
.cd-ib-intro p { margin: 0; font-size: 17px; line-height: 1.42; color: var(--cdib-muted); }
.cd-ib-intro .cd-ib-lead { max-width: 820px; margin: 0 auto; }
.cd-ib-intro .cd-ib-positioning { max-width: 760px; margin: 8px auto 0; font-size: 14px; line-height: 1.45; color: #47506d; }

.cd-ib-form {
    max-width: 780px;
    margin: 0 auto;
    padding: 14px 16px 21px;
    background: #fff;
    border: 1px solid var(--cdib-border);
    border-radius: 14px;
    box-shadow: 0 8px 26px rgba(3,9,52,.07);
}
.cd-ib-field + .cd-ib-field { margin-top: 9px; }
.cd-ib-field label, .cd-ib-stage legend {
    display: block;
    margin: 0 0 4px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--cdib-text);
}
.cd-ib-field input, .cd-ib-field textarea {
    width: 100%;
    border: 1px solid #cfd4e6;
    border-radius: 9px;
    background: #fff;
    color: var(--cdib-text);
    font: inherit;
    font-size: 16px;
    line-height: 1.4;
    padding: 9px 11px;
    outline: none;
    box-shadow: none;
}
.cd-ib-field textarea { resize: vertical; min-height: 70px; }
.cd-ib-field input:focus, .cd-ib-field textarea:focus {
    border-color: #3040b0 !important;
    box-shadow: 0 0 0 3px rgba(48,64,176,.12) !important;
    outline: none !important;
}
.cd-ib-stage { border: 0 !important; border-top: 0 !important; border-bottom: 0 !important; padding: 0; margin: 10px 0 0; }
.cd-ib-stage legend { width: auto !important; padding: 0 !important; border: 0 !important; margin-bottom: 12px; }
.cd-ib-stage legend span { font-weight: 400; color: var(--cdib-muted); }
.cd-ib-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.cd-ib-chips input { position: absolute; opacity: 0; pointer-events: none; }
.cd-ib-chips span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 4px 10px;
    border: 1px solid var(--cdib-border);
    border-radius: 11px;
    background: #fafaff;
    color: #47506d;
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}
.cd-ib-chips input:checked + span {
    border-color: #3040b0 !important;
    background: rgba(48,64,176,.075) !important;
    color: #1c368e !important;
}
.cd-ib-submit {
    display: block;
    width: 100%;
    margin: 20px 0 0;
    border: 0;
    border-radius: 9px;
    padding: 11px 18px;
    background: #3040b0 !important;
    border-color: #3040b0 !important;
    color: #fff;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 750;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}
.cd-ib-submit:hover { background: #1c368e !important; border-color: #1c368e !important; transform: translateY(-1px); }
.cd-ib-submit:disabled, .cd-ib-submit.is-loading { background: #3040b0 !important; border-color: #3040b0 !important; color: #fff !important; opacity: .82; cursor: wait; transform: none; }
.cd-ib-micro { margin: 14px 0 0 !important; text-align: center; font-size: 13px !important; color: var(--cdib-muted); }
.cd-ib-hp { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; }

.cd-ib-loading { max-width: 780px; margin: 8px auto 0; text-align: center; padding: 12px; color: var(--cdib-muted); }
.cd-ib-spinner { width: 28px; height: 28px; border: 3px solid #dde0f1; border-top-color: var(--cdib-blue); border-radius: 50%; margin: 0 auto 9px; animation: cdibspin .8s linear infinite; }
@keyframes cdibspin { to { transform: rotate(360deg); } }
.cd-ib-error { max-width: 780px; margin: 12px auto 0; padding: 12px 14px; border-radius: 10px; background: #fff1f0; border: 1px solid #ffc9c5; color: #8f1d18; font-size: 15px; }

.cd-ib-results { max-width: 900px; margin: 16px auto 0; }
.cd-ib-result-head {
    padding: 21px 24px;
    background: #10256f;
    color: #fff;
    border-radius: 16px 16px 0 0;
}
.cd-ib-result-head .cd-ib-eyebrow { margin: 0 0 6px; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; font-weight: 800; color: var(--cdib-gold); }
.cd-ib-result-head h2 { margin: 0 0 7px; color: #fff; font-size: clamp(28px, 4vw, 38px); line-height: 1.12; }
.cd-ib-result-head p { margin: 0; font-size: 17px; line-height: 1.5; color: #eef0ff; }
.cd-ib-result-body { border: 1px solid var(--cdib-border); border-top: 0; border-radius: 0 0 16px 16px; overflow: hidden; background: #fff; }
.cd-ib-section { padding: 18px 22px; border-top: 1px solid #eceef7; }
.cd-ib-section:first-child { border-top: 0; }
.cd-ib-section h3 { margin: 0 0 9px; color: var(--cdib-text); font-size: 20px; line-height: 1.25; }
.cd-ib-section-intro { margin: -3px 0 9px !important; color: var(--cdib-muted); font-size: 14px !important; }
.cd-ib-list { margin: 0; padding: 0; list-style: none; counter-reset: cdibitem; }
.cd-ib-list li { position: relative; padding: 6px 0 6px 30px; line-height: 1.45; color: #34405d; }
.cd-ib-list li::before {
    counter-increment: cdibitem;
    content: counter(cdibitem);
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(48,64,176,.09);
    color: var(--cdib-blue);
    font-size: 11px;
    font-weight: 800;
}
.cd-ib-research-grid, .cd-ib-people-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.cd-ib-mini-card { padding: 12px 13px; border: 1px solid var(--cdib-border); border-radius: 11px; background: #fbfbff; }
.cd-ib-mini-card strong { display: block; margin-bottom: 4px; font-size: 15px; color: var(--cdib-text); }
.cd-ib-mini-card p { margin: 0 0 7px !important; color: var(--cdib-muted); font-size: 14px !important; line-height: 1.4; }
.cd-ib-search { display: block; margin-top: 7px; font-size: 12px; color: #515b77; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
.cd-ib-highlight { background: var(--cdib-soft); }
.cd-ib-message { margin: 0; white-space: pre-wrap; padding: 14px 15px; border: 1px solid #d9ddf0; border-radius: 11px; background: #fff; color: #34405d; font-size: 15px; line-height: 1.5; }
.cd-ib-copy { margin-top: 10px; border: 1px solid var(--cdib-blue); background: #fff; color: var(--cdib-blue); border-radius: 8px; padding: 8px 11px; font-size: 13px; font-weight: 700; cursor: pointer; }
.cd-ib-copy:hover { background: var(--cdib-blue); color: #fff; }
.cd-ib-experiment {
    padding: 18px;
    border-radius: 12px;
    background: #10256f;
    color: #fff;
}
.cd-ib-experiment strong { display: block; font-size: 18px; margin-bottom: 7px; }
.cd-ib-experiment p { margin: 8px 0 0 !important; color: #eef0ff; font-size: 14px !important; line-height: 1.5; }
.cd-ib-actions { padding: 18px 22px 20px; border-top: 1px solid #eceef7; }
.cd-ib-primary, .cd-ib-utility, .cd-ib-tertiary { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; border-radius: 9px; padding: 10px 15px; text-decoration: none !important; font-size: 14px; font-weight: 750; cursor: pointer; font-family: inherit; }
.cd-ib-primary { width: 100%; background: var(--cdib-blue); color: #fff !important; border: 1px solid var(--cdib-blue); }
.cd-ib-primary:hover { background: var(--cdib-blue-dark); border-color: var(--cdib-blue-dark); color: #fff !important; }
.cd-ib-utility-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.cd-ib-utility { flex: 1 1 150px; background: #fff; color: var(--cdib-blue) !important; border: 1px solid var(--cdib-blue); }
.cd-ib-utility:hover { background: rgba(48,64,176,.06); color: var(--cdib-blue-dark) !important; border-color: var(--cdib-blue-dark); }
.cd-ib-tertiary { flex: 1 1 170px; background: #fff; color: #59636e !important; border: 1px solid var(--cdib-border); }
.cd-ib-tertiary:hover { border-color: #aeb5c9; color: #34405d !important; }
.cd-ib-utility:disabled, .cd-ib-tertiary:disabled { opacity: .65; cursor: wait; }
.cd-ib-result-status { margin: 11px 0 0 !important; text-align: center; color: var(--cdib-muted); font-size: 12px !important; line-height: 1.4 !important; }
.cd-ib-find { display: inline-block; margin-top: 6px; color: var(--cdib-blue) !important; font-size: 13px; font-weight: 700; text-decoration: none !important; }
.cd-ib-find:hover { color: var(--cdib-blue-dark) !important; text-decoration: underline !important; }

@media (max-width: 760px) {
    .cd-ib { padding: 0 14px 14px; }
    .cd-ib-intro { margin-bottom: 9px; }
    .cd-ib-intro h1 { font-size: 33px; }
    .cd-ib-intro p { font-size: 17px; }
    .cd-ib-form { padding: 12px 12px 18px; border-radius: 13px; }
    .cd-ib-chips { gap: 6px; }
    .cd-ib-chips span { font-size: 13px; padding: 4px 9px; min-height: 30px; border-radius: 10px; }
    .cd-ib-result-head, .cd-ib-section, .cd-ib-actions { padding-left: 18px; padding-right: 18px; }
    .cd-ib-research-grid, .cd-ib-people-grid { grid-template-columns: 1fr; }
    .cd-ib-primary, .cd-ib-utility, .cd-ib-tertiary { width: 100%; }
    .cd-ib-utility-row { display: grid; grid-template-columns: 1fr; }
}


/* Hard palette lock against theme/button defaults. */
.cd-home .cd-ib button.cd-ib-submit,
.cd-home .cd-ib button.cd-ib-submit:focus {
    background-color: #3040b0 !important;
    border-color: #3040b0 !important;
    color: #ffffff !important;
    box-shadow: none;
}
.cd-home .cd-ib button.cd-ib-submit:hover {
    background-color: #1c368e !important;
    border-color: #1c368e !important;
}
.cd-home .cd-ib input:focus,
.cd-home .cd-ib textarea:focus {
    border-color: #3040b0 !important;
    box-shadow: 0 0 0 3px rgba(48,64,176,.12) !important;
    outline: none !important;
}

/* Lower-form rhythm and theme-proof fieldset reset. */
.cd-home .cd-ib fieldset.cd-ib-stage {
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}
.cd-home .cd-ib fieldset.cd-ib-stage legend {
    width: auto !important;
    padding: 0 !important;
    margin: 0 0 12px !important;
    border: 0 !important;
}
.cd-home .cd-ib .cd-ib-chips span { border-radius: 11px !important; }
.cd-home .cd-ib .cd-ib-chips input:checked + span {
    background: rgba(48,64,176,.075) !important;
}
.cd-home .cd-ib button.cd-ib-submit { margin-top: 20px !important; }
.cd-home .cd-ib .cd-ib-micro { margin-top: 14px !important; }

/* Win specificity against the existing Elementor homepage rules. */
.cd-home .cd-hero { padding-top: 4px !important; padding-bottom: 18px !important; }
.cd-home .cd-hero .cd-ib { padding: 2px 24px 14px !important; }
.cd-home .cd-ib .cd-ib-intro h1 { font-size: clamp(34px, 4.15vw, 48px); line-height: 1.05; margin: 0 0 6px; color: var(--cdib-text); }
.cd-home .cd-ib .cd-ib-intro p { margin: 0; font-size: 17px; line-height: 1.32; }
.cd-home .cd-ib .cd-ib-result-head h2 { margin: 0 0 7px; color: #fff; font-size: clamp(28px, 4vw, 38px); line-height: 1.12; }
.cd-home .cd-ib .cd-ib-section h3 { margin: 0 0 9px; font-size: 20px; line-height: 1.25; }
@media (max-width: 760px) {
    .cd-home .cd-hero { padding-top: 2px !important; padding-bottom: 14px !important; }
    .cd-home .cd-hero .cd-ib { padding: 0 14px 14px !important; }
    .cd-home .cd-ib .cd-ib-intro h1 { font-size: 33px; }
    .cd-home .cd-ib .cd-ib-intro p { font-size: 16px; }
}

.cd-ib-experiment-metrics {
    margin: 10px 0 0;
}
.cd-ib-experiment-metrics .cd-ib-list {
    margin-top: 6px;
    margin-bottom: 0;
}

/* 0.1.15 mobile-first simplicity pass */
.cd-ib {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
}
.cd-ib-helper {
    margin: -1px 0 8px !important;
    color: var(--cdib-muted);
    font-size: 13px !important;
    line-height: 1.4 !important;
}
.cd-ib-mobile-progress { display: none; }
.cd-ib-step-actions { margin-top: 12px; }
.cd-ib-step-actions .cd-ib-next,
.cd-ib-step-actions .cd-ib-back { display: none; }
.cd-ib-step-actions-final { margin-top: 0; }
.cd-ib-step-actions-final .cd-ib-submit { margin-top: 20px; }

.cd-ib-disclosure { padding: 0; }
.cd-ib-disclosure > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 17px 22px;
    cursor: pointer;
}
.cd-ib-disclosure > summary::-webkit-details-marker { display: none; }
.cd-ib-disclosure > summary > span {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(48,64,176,.09);
    color: var(--cdib-blue);
    font-size: 11px;
    font-weight: 800;
}
.cd-ib-disclosure > summary h3 { margin: 0; }
.cd-ib-disclosure > summary:after {
    content: "+";
    margin-left: auto;
    color: #7d8697;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
}
.cd-ib-disclosure[open] > summary:after { content: "−"; }
.cd-ib-disclosure-body { padding: 0 22px 18px; }
.cd-ib-subsection { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e8ebf3; }
.cd-ib-subsection h4 { margin: 0 0 9px; color: var(--cdib-text); font-size: 16px; line-height: 1.25; }
.cd-ib-experiment-disclosure .cd-ib-disclosure-body { padding-bottom: 20px; }

@media (min-width: 761px) {
    .cd-ib-disclosure > summary { pointer-events: none; }
    .cd-ib-disclosure > summary:after { display: none; }
}

@media (max-width: 760px) {
    .cd-home .cd-hero { padding-top: 0 !important; }
    .cd-home .cd-hero .cd-ib,
    .cd-ib {
        padding: 0 18px 18px !important;
    }
    .cd-ib-intro {
        max-width: 520px;
        margin: 0 auto 20px;
        text-align: left;
    }
    .cd-home .cd-ib .cd-ib-intro h1,
    .cd-ib-intro h1 {
        margin: 0 0 10px;
        font-size: clamp(34px, 10.5vw, 44px);
        line-height: 1.01;
        letter-spacing: -.045em;
    }
    .cd-home .cd-ib .cd-ib-intro p,
    .cd-ib-intro p {
        max-width: 34em;
        font-size: 16px;
        line-height: 1.45;
    }
    .cd-ib-form {
        max-width: none;
        min-height: 330px;
        padding: 18px;
        border-radius: 20px;
        border-color: #e2e5ec;
        box-shadow: 0 12px 32px rgba(23,32,59,.08);
    }
    .cd-ib-mobile-progress {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 24px;
        color: #7a8391;
        font-size: 12px;
        font-weight: 700;
    }
    .cd-ib-mobile-progress i {
        flex: 1;
        height: 3px;
        overflow: hidden;
        border-radius: 999px;
        background: #e9ecf2;
    }
    .cd-ib-mobile-progress b {
        display: block;
        width: 33.333%;
        height: 100%;
        border-radius: inherit;
        background: var(--cdib-blue);
        transition: width .2s ease;
    }
    .cd-ib-field label,
    .cd-ib-stage legend {
        margin-bottom: 5px;
        font-size: 20px;
        line-height: 1.18;
        letter-spacing: -.02em;
    }
    .cd-ib-helper {
        margin: 0 0 14px !important;
        font-size: 14px !important;
    }
    .cd-ib-field input,
    .cd-ib-field textarea {
        min-height: 54px;
        padding: 13px 14px;
        border-radius: 13px;
        font-size: 17px;
        line-height: 1.4;
    }
    .cd-ib-field textarea { min-height: 128px; resize: none; }
    .cd-ib-stage { margin-top: 0; }
    .cd-ib-stage legend { margin-bottom: 14px !important; }
    .cd-ib-chips {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }
    .cd-ib-chips span {
        justify-content: center;
        width: 100%;
        min-height: 48px;
        padding: 10px 8px;
        border-radius: 13px !important;
        font-size: 14px;
    }
    .cd-ib-step-actions {
        display: flex;
        align-items: center;
        gap: 9px;
        margin-top: 22px;
    }
    .cd-ib-step-actions .cd-ib-next,
    .cd-ib-step-actions .cd-ib-back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        border-radius: 13px;
        padding: 12px 18px;
        font: inherit;
        font-size: 16px;
        font-weight: 750;
        cursor: pointer;
    }
    .cd-ib-step-actions .cd-ib-next {
        flex: 1;
        border: 1px solid var(--cdib-blue);
        background: var(--cdib-blue);
        color: #fff;
    }
    .cd-ib-step-actions .cd-ib-back {
        flex: 0 0 auto;
        min-height: 0;
        padding: 10px 4px;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #667085;
        font-size: 14px;
        font-weight: 700;
        box-shadow: none;
    }
    .cd-ib-step-actions .cd-ib-back:hover,
    .cd-ib-step-actions .cd-ib-back:focus {
        background: transparent;
        color: var(--cdib-blue-dark);
        box-shadow: none;
    }
    .cd-ib-step-actions-final { margin-top: 22px; }
    .cd-ib-step-actions-final .cd-ib-submit {
        flex: 1;
        width: auto;
        min-height: 52px;
        margin: 0;
        border-radius: 13px;
        padding: 12px 16px;
        font-size: 16px;
    }
    .cd-ib-micro { margin-top: 16px !important; font-size: 12px !important; }

    .cd-ib-results { margin-top: 18px; }
    .cd-ib-result-head {
        padding: 22px 20px;
        border-radius: 20px 20px 0 0;
    }
    .cd-home .cd-ib .cd-ib-result-head h2,
    .cd-ib-result-head h2 { font-size: 29px; line-height: 1.08; letter-spacing: -.025em; }
    .cd-ib-result-head p { font-size: 15px; line-height: 1.45; }
    .cd-ib-result-body { border-radius: 0 0 20px 20px; }
    .cd-ib-disclosure > summary { padding: 17px 18px; }
    .cd-ib-disclosure > summary h3 { font-size: 17px; line-height: 1.25; }
    .cd-ib-disclosure-body { padding: 0 18px 18px; }
    .cd-ib-list li { padding-top: 7px; padding-bottom: 7px; font-size: 15px; }
    .cd-ib-mini-card { border-radius: 14px; padding: 14px; }
    .cd-ib-message { border-radius: 14px; font-size: 15px; }
    .cd-ib-experiment { border-radius: 15px; padding: 17px; }
    .cd-ib-actions { padding: 18px; }
    .cd-ib-primary,
    .cd-ib-utility,
    .cd-ib-tertiary {
        min-height: 52px;
        border-radius: 13px;
        font-size: 15px;
    }

    /* Ruthless mobile homepage prioritization: the builder and one short method section are enough. */
    .cd-home .cdse-home-sprint,
    .cd-home .cdse-home-final { display: none !important; }
    .cd-home .cdse-home-how { padding-top: 34px !important; padding-bottom: 34px !important; }
    .cd-home .cdse-home-how h2 { font-size: 30px !important; line-height: 1.06 !important; letter-spacing: -.035em !important; }
    .cd-home .cdse-home-how .cd-card { padding: 18px !important; border-radius: 16px !important; }
    .cd-home .cdse-home-how .cd-card h3 { font-size: 17px !important; }
    .cd-home .cdse-home-how .cd-card p { font-size: 14px !important; line-height: 1.4 !important; }
}
@media (max-width: 760px) {
    .cd-ib.has-results .cd-ib-intro,
    .cd-ib.has-results .cd-ib-form { display: none; }
    .cd-ib.has-results .cd-ib-results { margin-top: 4px; }
}

/* 0.1.16 Investigation Brief utility + contrast pass
   Principle: preserve capability, reveal detail progressively, keep one clear next action. */
.cd-ib-results {
    max-width: 900px;
}
.cd-ib-result-shell {
    overflow: hidden;
    border: 1px solid #e1e5ec;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(23,32,59,.075);
}
.cd-ib-result-head {
    padding: 26px 28px 22px;
    border-radius: 0;
    background: #ffffff;
    color: var(--cdib-text);
    border-bottom: 1px solid #eceff4;
}
.cd-ib-result-head .cd-ib-eyebrow {
    margin-bottom: 8px;
    color: #1673de;
}
.cd-home .cd-ib .cd-ib-result-head h2,
.cd-ib-result-head h2 {
    margin: 0 0 9px;
    color: var(--cdib-text) !important;
    font-size: clamp(28px,4vw,38px);
    line-height: 1.08;
    letter-spacing: -.025em;
}
.cd-ib-result-head p {
    max-width: 720px;
    margin: 0;
    color: #5f6b7d;
    font-size: 16px;
    line-height: 1.52;
}
.cd-ib-top-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}
.cd-ib-utility.cd-ib-utility-compact {
    flex: 0 0 auto;
    width: auto;
    min-height: 42px;
    padding: 9px 14px;
    border: 1px solid #d9dee8;
    border-radius: 11px;
    background: #ffffff;
    color: #273550 !important;
    font-size: 13px;
    font-weight: 750;
}
.cd-ib-utility.cd-ib-utility-compact:hover {
    border-color: #aab5ca;
    background: #f8f9fc;
    color: #182230 !important;
}
.cd-ib-result-body {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: #ffffff;
}
.cd-ib-next-experiment {
    margin: 22px 28px 0;
    padding: 22px;
    border: 1px solid #dfe5f1;
    border-left: 4px solid var(--cdib-blue);
    border-radius: 16px;
    background: #f8f9fd;
    color: var(--cdib-text);
}
.cd-ib-next-kicker {
    margin-bottom: 7px;
    color: var(--cdib-blue);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .105em;
}
.cd-ib-next-experiment h3 {
    margin: 0;
    color: #182230;
    font-size: 21px;
    line-height: 1.3;
    letter-spacing: -.015em;
}
.cd-ib-next-tests {
    margin: 12px 0 0 !important;
    color: #4b5870 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}
.cd-ib-next-tests b { color: #273550; }
.cd-ib-next-meta {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 14px;
    padding: 7px 10px;
    border-radius: 9px;
    background: #ffffff;
    border: 1px solid #e1e5ed;
}
.cd-ib-next-meta span {
    color: #7b8494;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.cd-ib-next-meta strong {
    color: #273550;
    font-size: 14px;
}
.cd-ib-first-move {
    margin-top: 16px;
    padding: 15px 16px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e1e5ed;
}
.cd-ib-first-move span {
    display: block;
    margin-bottom: 5px;
    color: #7b8494;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .09em;
}
.cd-ib-first-move p {
    margin: 0 !important;
    color: #273550 !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}
.cd-ib-copy-experiment { margin-top: 14px; }
.cd-ib-actions.cd-ib-actions-simple {
    padding: 18px 28px 24px;
    border-top: 0;
}
.cd-ib-actions-simple .cd-ib-primary {
    min-height: 52px;
    border-radius: 13px;
    font-size: 15px;
}
.cd-ib-new-investigation {
    display: flex;
    width: auto;
    min-height: 36px;
    margin: 10px auto 0;
    padding: 5px 9px;
    border: 0;
    background: transparent;
    color: #667085 !important;
    font-size: 13px;
}
.cd-ib-new-investigation:hover {
    border: 0;
    background: #f8f9fb;
    color: #34405d !important;
}
.cd-ib-details-head {
    padding: 22px 28px 12px;
    border-top: 1px solid #edf0f4;
}
.cd-ib-details-head span {
    display: block;
    margin-bottom: 4px;
    color: #7b8494;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
}
.cd-ib-details-head h3 {
    margin: 0;
    color: #273550;
    font-size: 17px;
    line-height: 1.35;
}
.cd-ib-section.cd-ib-disclosure {
    padding: 0;
    border-top: 1px solid #edf0f4;
    background: #ffffff;
}
.cd-ib-disclosure > summary {
    pointer-events: auto !important;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 15px 28px;
    cursor: pointer;
    list-style: none;
}
.cd-ib-disclosure > summary > div { min-width: 0; }
.cd-ib-disclosure > summary h3 {
    margin: 0;
    color: #182230;
    font-size: 16px;
    line-height: 1.25;
}
.cd-ib-disclosure > summary small {
    display: block;
    margin-top: 2px;
    color: #7b8494;
    font-size: 12px;
    line-height: 1.2;
}
.cd-ib-disclosure > summary:after {
    display: block !important;
    content: "+";
    margin-left: auto;
    color: #667085;
    font-size: 21px;
    font-weight: 400;
    line-height: 1;
}
.cd-ib-disclosure[open] > summary:after { content: "−"; }
.cd-ib-disclosure-body {
    padding: 0 28px 22px;
    color: #34405d;
}
.cd-ib-disclosure-body .cd-ib-list li,
.cd-ib-experiment-metrics .cd-ib-list li {
    color: #34405d !important;
}
.cd-ib-experiment-metrics {
    margin-top: 0;
}
.cd-ib-review-point {
    margin: 0 !important;
    color: #34405d !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
}
.cd-ib-subsection-first {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.cd-ib-subsection-first + .cd-ib-subsection-first {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e8ebf3;
}
/* Keep experiment detail on a flat light surface. */
.cd-ib-experiment {
    background: #f8f9fd;
    color: #273550;
}
.cd-ib-experiment p { color: #4b5870 !important; }

@media (min-width: 761px) {
    .cd-ib-disclosure > summary { pointer-events: auto !important; }
    .cd-ib-disclosure > summary:after { display: block !important; }
}

@media (max-width: 760px) {
    .cd-ib-results { margin-top: 8px; }
    .cd-ib-result-shell {
        margin: 0 -4px;
        border-radius: 20px;
        box-shadow: 0 10px 28px rgba(23,32,59,.07);
    }
    .cd-ib-result-head {
        padding: 22px 20px 18px;
        border-radius: 0;
    }
    .cd-home .cd-ib .cd-ib-result-head h2,
    .cd-ib-result-head h2 {
        font-size: 28px;
        line-height: 1.06;
        letter-spacing: -.035em;
    }
    .cd-ib-result-head p {
        font-size: 15px;
        line-height: 1.45;
    }
    .cd-ib-top-tools {
        display: grid;
        grid-template-columns: repeat(3,minmax(0,1fr));
        gap: 7px;
        margin-top: 16px;
    }
    .cd-ib-utility.cd-ib-utility-compact {
        width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 8px 7px;
        font-size: 12px;
        white-space: nowrap;
    }
    .cd-ib-next-experiment {
        margin: 18px 18px 0;
        padding: 18px;
        border-radius: 15px;
    }
    .cd-ib-next-experiment h3 {
        font-size: 19px;
        line-height: 1.28;
    }
    .cd-ib-next-tests,
    .cd-ib-first-move p { font-size: 14px !important; }
    .cd-ib-first-move { padding: 13px 14px; }
    .cd-ib-copy {
        min-height: 42px;
        border-radius: 10px;
        padding: 9px 12px;
    }
    .cd-ib-actions.cd-ib-actions-simple {
        padding: 16px 18px 22px;
    }
    .cd-ib-actions-simple .cd-ib-primary {
        min-height: 54px;
        font-size: 15px;
    }
    .cd-ib-details-head {
        padding: 20px 18px 10px;
    }
    .cd-ib-details-head h3 { font-size: 16px; }
    .cd-ib-disclosure > summary {
        min-height: 62px;
        padding: 14px 18px;
    }
    .cd-ib-disclosure > summary h3 { font-size: 16px; }
    .cd-ib-disclosure-body { padding: 0 18px 20px; }
    .cd-ib-mini-card,
    .cd-ib-message { background: #fbfcfe; }
    .cd-ib-result-status { margin-top: 8px !important; }
}

/* 0.1.21: keep the 0.1.16 artifact feel, but make the next move concise and the hierarchy quieter. */
.cd-ib-next-experiment {
    padding: 20px 22px;
}
.cd-ib-next-experiment h3 {
    max-width: 720px;
    font-size: 22px !important;
    line-height: 1.26 !important;
    letter-spacing: -.012em !important;
}
.cd-ib-actions-simple .cd-ib-secondary-action {
    display: flex;
    width: 100%;
    min-height: 46px;
    margin-top: 10px;
    border-color: #cbd3df;
    background: #fff;
    color: #3040b0;
}
.cd-ib-actions-simple .cd-ib-secondary-action:hover {
    border-color: #3040b0;
    background: #f8f9fd;
    color: #1c368e;
}
.cd-ib-actions-simple .cd-ib-top-tools {
    justify-content: center;
    margin-top: 10px;
}
.cd-ib-full-experiment > h4 { margin: 0 0 7px; color: #182230; font-size: 15px; }
.cd-ib-full-experiment > p { margin: 0 0 14px !important; color: #34405d !important; line-height: 1.55 !important; }

@media (max-width: 760px) {
    .cd-ib-next-experiment {
        margin: 16px 18px 0;
        padding: 16px 17px;
        border-radius: 14px;
    }
    .cd-ib-next-kicker { margin-bottom: 6px; }
    .cd-ib-next-experiment h3 {
        font-size: 18px !important;
        line-height: 1.28 !important;
        letter-spacing: -.01em !important;
    }
    .cd-ib-next-tests {
        margin-top: 9px !important;
        font-size: 13.5px !important;
        line-height: 1.45 !important;
    }
    .cd-ib-actions.cd-ib-actions-simple { padding-top: 14px; }
    .cd-ib-actions-simple .cd-ib-secondary-action { min-height: 44px; }
    .cd-ib-actions-simple .cd-ib-top-tools { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .cd-ib-details-head { padding-top: 16px; }
}

/* 0.1.22: quiet mobile Back navigation and My Sprint autosave messaging are handled without changing the result hierarchy. */


/* 0.1.23: choose a people-search area only when firsthand outreach becomes relevant. */
.cd-ib-people-location {
    margin: 0 0 18px;
    padding: 15px;
    border: 1px solid #dfe4ee;
    border-radius: 14px;
    background: #f8faff;
}
.cd-ib-location-copy {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}
.cd-ib-location-copy strong {
    color: #182230;
    font-size: 15px;
    line-height: 1.25;
}
.cd-ib-location-copy span {
    color: #737d90;
    font-size: 12px;
    text-align: right;
}
.cd-ib-location-options {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.cd-ib-location-chip {
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid #ccd4e1;
    border-radius: 999px;
    background: #fff;
    color: #34405d;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
}
.cd-ib-location-chip:hover,
.cd-ib-location-chip.is-active {
    border-color: #3549c6;
    background: #eef1ff;
    color: #2439aa;
}
.cd-ib-location-specific {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}
.cd-ib-location-specific[hidden] { display: none !important; }
.cd-ib-location-specific input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #cbd3df;
    border-radius: 10px;
    background: #fff;
    color: #182230;
    font: inherit;
    font-size: 14px;
}
.cd-ib-location-specific button {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 13px;
    border: 0;
    border-radius: 10px;
    background: #3348c4;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.cd-ib-find.cd-ib-find-location {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
@media (max-width: 760px) {
    .cd-ib-people-location { padding: 14px; }
    .cd-ib-location-copy { display: block; }
    .cd-ib-location-copy span { display: block; margin-top: 3px; text-align: left; }
    .cd-ib-location-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
    .cd-ib-location-chip { min-width: 0; padding: 7px 5px; font-size: 12px; }
    .cd-ib-location-specific { display: grid; grid-template-columns: 1fr auto; }
}


/* 0.1.26: nonblocking share-link panel. No native share or confirmation dialogs. */
.cd-ib-share-panel {
    margin: 12px 0 2px;
    padding: 13px;
    border: 1px solid #dfe4ee;
    border-radius: 12px;
    background: #f8faff;
    text-align: left;
}
.cd-ib-share-panel[hidden] { display: none !important; }
.cd-ib-share-panel label {
    display: block;
    margin-bottom: 8px;
    color: #182230;
    font-size: 13px;
    font-weight: 800;
}
.cd-ib-share-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    gap: 8px;
    align-items: stretch;
}
.cd-ib-share-panel .cd-ib-share-link {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 10px 11px;
    border: 1px solid #cfd5e4;
    border-radius: 9px;
    background: #fff;
    color: #25304a;
    font: inherit;
    font-size: 12px;
    box-sizing: border-box;
}
.cd-ib-share-copy {
    min-height: 42px;
    white-space: nowrap;
}
.cd-ib-share-panel small {
    display: block;
    margin-top: 7px;
    color: #667085;
    font-size: 11.5px;
    line-height: 1.4;
}
@media (max-width: 430px) {
    .cd-ib-share-row { grid-template-columns: 1fr; }
    .cd-ib-share-copy { width: 100%; }
}

/* 0.1.31: Copy actions are lightweight utilities, not blue boxed controls. */
.cd-ib-result-shell [data-copy],
.cd-ib-result-shell [data-cd-ib-copy-share] {
    width: auto !important;
    min-height: 0 !important;
    margin-left: 0 !important;
    padding: 7px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #3040b0 !important;
    justify-content: flex-start !important;
    text-align: left !important;
    font-weight: 750 !important;
}
.cd-ib-result-shell [data-copy]:hover,
.cd-ib-result-shell [data-copy]:focus,
.cd-ib-result-shell [data-copy]:active,
.cd-ib-result-shell [data-cd-ib-copy-share]:hover,
.cd-ib-result-shell [data-cd-ib-copy-share]:focus,
.cd-ib-result-shell [data-cd-ib-copy-share]:active {
    border: 0 !important;
    background: transparent !important;
    color: #1c368e !important;
    box-shadow: none !important;
    text-decoration: underline !important;
}

/* 0.1.32: keep long-form Investigation reading surfaces visually consistent with surrounding copy. */
.cd-ib-experiment {
    background:transparent !important;
    color:#34405d !important;
    border:0 !important;
    border-radius:0 !important;
    padding:0 !important;
}
.cd-ib-experiment strong { color:#182230 !important; }
.cd-ib-experiment p,
.cd-ib-experiment .cd-ib-list,
.cd-ib-experiment .cd-ib-list li { color:#34405d !important; }

/* 0.1.33: simplify the first-result action hierarchy. */
.cd-ib-action-utilities {
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:18px;
    margin-top:12px;
}
.cd-ib-action-utilities .cd-ib-utility,
.cd-ib-action-utility {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:auto !important;
    min-width:0 !important;
    min-height:0 !important;
    margin:0 !important;
    padding:7px 0 !important;
    border:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#3040b0 !important;
    font:inherit;
    font-size:14px;
    font-weight:750;
    line-height:1.25;
    text-decoration:none !important;
    cursor:pointer;
}
.cd-ib-action-utilities .cd-ib-utility:hover,
.cd-ib-action-utilities .cd-ib-utility:focus,
.cd-ib-action-utility:hover,
.cd-ib-action-utility:focus {
    background:transparent !important;
    color:#1c368e !important;
    text-decoration:underline !important;
    box-shadow:none !important;
}
.cd-ib-actions-simple .cd-ib-top-tools,
.cd-ib-actions-simple .cd-ib-secondary-action,
.cd-ib-actions-simple > .cd-ib-new-investigation {
    display:none !important;
}
.cd-ib-saved-status {
    margin:7px 0 0 !important;
    color:#7b8494 !important;
    font-size:12px !important;
    text-align:center;
}
.cd-ib-context-copy {
    margin-top:10px !important;
}
.cd-ib-result-footer {
    padding:18px 28px 26px;
    border-top:1px solid #edf0f4;
    text-align:center;
}
.cd-ib-result-footer .cd-ib-new-investigation {
    display:inline-flex;
    margin:0 auto;
}
@media (max-width:760px) {
    .cd-ib-action-utilities { gap:16px; }
    .cd-ib-action-utilities .cd-ib-utility,
    .cd-ib-action-utility { font-size:13px; }
    .cd-ib-result-footer { padding:16px 18px 22px; }
}


/* 0.1.36 homepage hero artwork alignment
 * Keep the existing mountain artwork, but treat it as part of the same
 * centered content column as the hero copy instead of a near-full-width banner.
 */
.cd-home img[src*="mountainsun"] {
    display: block !important;
    width: calc(100% - 48px) !important;
    max-width: 860px !important;
    height: auto !important;
    margin: 10px auto 16px !important;
    object-fit: contain !important;
}
@media (max-width: 760px) {
    .cd-home img[src*="mountainsun"] {
        width: calc(100% - 36px) !important;
        max-width: 860px !important;
        margin-top: 8px !important;
        margin-bottom: 16px !important;
    }
}


/* 0.1.37 homepage closing-copy refinement */
.cd-home .cdse-home-final .cdse-final-outcomes {
    display: block;
    margin-top: 12px;
}
.cd-home .cdse-home-final .cdse-final-next {
    margin-top: 16px;
}

/* 0.1.42 homepage hero artwork
   Use the original mountain artwork, optimized as WebP, and keep its width
   aligned with the hero text column while the form remains slightly narrower.
*/
.cd-ib {
    --cdib-hero-width: 860px;
    --cdib-form-width: 780px;
}
.cd-ib-form,
.cd-ib-loading,
.cd-ib-error,
.cd-home .cd-ib .cd-ib-form,
.cd-home .cd-ib .cd-ib-loading,
.cd-home .cd-ib .cd-ib-error {
    max-width: var(--cdib-form-width);
}
.cd-ib-hero-art {
    width: min(100%, var(--cdib-hero-width));
    max-width: var(--cdib-hero-width);
    margin: 8px auto 16px;
}
.cd-ib-hero-art img {
    display: block;
    width: 100%;
    height: auto;
}
@media (max-width: 760px) {
    .cd-ib-hero-art {
        margin-top: 6px;
        margin-bottom: 14px;
    }
}

/* 0.1.39: the original mountain upload sits outside .cd-home on some
   homepage templates. Hide that legacy asset at the WordPress homepage/body
   level so only the responsive CSS illustration remains. */
body.home img[src*="mountainsun"],
body.front-page img[src*="mountainsun"],
body img[src*="/mountainsun-"][src$=".jpg"],
body img[src$="/mountainsun.jpg"] {
    display: none !important;
}

/* Keep a single progress statement in the closing section. */
.cd-home .cdse-home-final .cd-final-options + .cd-final-options {
    display: none !important;
}




/* 0.1.42 homepage closing copy cleanup */
.cd-home .cdse-home-final {
    text-align: center;
}
.cd-home .cdse-home-final .cd-final-options {
    max-width: 760px;
    margin: 0 auto 18px;
    text-align: center;
}
.cd-home .cdse-home-final .cdse-final-outcomes,
.cd-home .cdse-home-final .cdse-final-next {
    display: block;
}
.cd-home .cdse-home-final .cdse-final-outcomes {
    margin-top: 12px;
}
.cd-home .cdse-home-final .cdse-final-next {
    margin-top: 18px;
}
.cd-home .cdse-home-final .cd-final-options + p,
.cd-home .cdse-home-final p.cdse-final-next,
.cd-home .cdse-home-final .cd-final-options ~ p {
    display: none !important;
}

/* 0.1.44 clean hero edge */
.cd-ib-hero-art,
.cd-ib-hero-art img {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* 0.1.45 remove any theme-generated rule above the homepage hero artwork. */
.cd-home .cd-hero,
.cd-home .cd-hero-investigation-builder,
.cd-home .cd-hero .cd-ib,
.cd-home .cd-ib-hero-art {
    border-top: 0 !important;
    border-bottom: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
}
.cd-home .cd-hero::before,
.cd-home .cd-hero::after,
.cd-home .cd-hero-investigation-builder::before,
.cd-home .cd-hero-investigation-builder::after,
.cd-home .cd-ib-hero-art::after {
    content: none !important;
    display: none !important;
    border: 0 !important;
    box-shadow: none !important;
}
.cd-home .cd-hero hr,
.cd-home .cd-hero .wp-block-separator,
.cd-home .cd-hero .elementor-divider,
.cd-home .cd-hero .elementor-divider-separator {
    display: none !important;
    border: 0 !important;
}
.cd-home .cd-ib-hero-art {
    position: relative;
    overflow: hidden;
}

/* 0.1.46 remove standalone homepage separator above the injected hero. */
.cd-home .cd-hero-investigation-builder > hr:first-child,
.cd-home .cd-hero-investigation-builder > .wp-block-separator:first-child,
.cd-home .cd-hero-investigation-builder > .elementor-divider:first-child,
.cd-home .cd-hero-investigation-builder > .elementor-divider-separator:first-child,
.cd-home .cd-hero-investigation-builder + hr,
.cd-home hr + .cd-hero-investigation-builder {
    border: 0 !important;
    box-shadow: none !important;
}
