.wp-intake {
    min-height: 100vh;
    background: #f3f3f3;
    color: #13263f;
}

.wp-intake .portal-header-wrapper {
    background: linear-gradient(180deg, #1d3558 0%, #102646 100%);
    color: #fff;
    box-shadow: inset 0 -1px rgba(255, 255, 255, 0.08);
    padding: 2rem 0 3.5rem;
}

.wp-intake .portal-header-inner {
    max-width: 960px;
}

.wp-intake .portal-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wp-intake .portal-brand {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
}

.wp-intake .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #dff8f3;
}

.wp-intake .portal-exit {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.4rem 0.7rem;
}

.wp-intake .portal-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 2.2rem 1.5rem 3rem;
    text-align: center;
}

.wp-intake .portal-content h1 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
    letter-spacing: -0.05em;
    color: #13263f;
}

.wp-intake .portal-subtitle {
    max-width: 760px;
    margin: 1rem auto 0;
    color: rgba(19, 38, 63, 0.75);
    font-size: 1.05rem;
    line-height: 1.6;
}

.wp-intake .portal-alert {
    margin: 2.3rem auto 0;
    max-width: 760px;
    background: #f1ead7;
    border: 1px solid #d8d2b7;
    border-radius: 12px;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 1rem;
    text-align: left;
}

.wp-intake .alert-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(23, 107, 93, 0.12);
    color: #1d6b5d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.wp-intake .alert-copy {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: #1a2d4d;
}

.wp-intake .alert-copy span {
    font-weight: 600;
}

.wp-intake .alert-copy small {
    color: rgba(19, 38, 63, 0.7);
}

.wp-intake .alert-actions {
    display: flex;
    gap: 0.7rem;
}

.wp-intake .primary-btn,
.wp-intake .secondary-btn {
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.wp-intake .primary-btn {
    background: #1a7f73;
    color: white;
}

.wp-intake .secondary-btn {
    background: transparent;
    color: #1a2d4d;
    border: 1px solid rgba(19, 38, 63, 0.2);
}

.wp-intake .portal-section-title {
    /* margin: 3rem auto 1.6rem; */
    max-width: 920px;
    text-align: left;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #1a2d4d;
}

.wp-intake .choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(260px, 1fr));
    gap: 1.2rem;
    max-width: 920px;
    margin: 0 auto;
}

.wp-intake .choice-card {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(19, 38, 63, 0.14);
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    padding: 1.5rem 1.4rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wp-intake .choice-card:hover {
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
    border-color: rgba(22, 126, 118, 0.35);
}

.wp-intake .choice-icon {
    width: 50px;
    height: 50px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    background: rgba(19, 38, 63, 0.04);
    color: #1a2d4d;
}

.wp-intake .icon-person {
    background: rgba(21, 101, 192, 0.08);
    color: #1a2d4d;
}

.wp-intake .icon-file {
    background: rgba(127, 86, 154, 0.08);
    color: #4c2f7a;
}

.wp-intake .icon-briefcase {
    background: rgba(160, 98, 51, 0.08);
    color: #7c4d28;
}

.wp-intake .icon-help {
    background: rgba(245, 158, 11, 0.12);
    color: #a16207;
}

.wp-intake .choice-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.03em;
    color: #1a2d4d;
    margin-bottom: 0.5rem;
}

.wp-intake .choice-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(19, 38, 63, 0.7);
}

.wp-intake .portal-footer {
    max-width: 920px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(19, 38, 63, 0.14);
    text-align: left;
    color: rgba(19, 38, 63, 0.7);
}

.wp-intake .footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem 2rem;
    align-items: center;
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
}

.wp-intake .subtitle-row {
    color: rgba(19, 38, 63, 0.6);
}

.wp-intake .portal-footer p {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(19, 38, 63, 0.7);
}

.wp-intake .report-choice-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
}

.wp-intake .report-choice-inner {
    max-width: 760px;
    margin: 0 auto;
}

.wp-intake .mini-back {
    background: transparent;
    border: none;
    color: #1a2d4d;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1.2rem;
}

.wp-intake .report-choice-inner h2 {
    margin: 0 0 2rem;
    text-align: left;
    font-size: clamp(1.7rem, 2.5vw, 2.4rem);
    letter-spacing: -0.04em;
    color: #1a2d4d;
}

.wp-intake .report-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 1fr));
    gap: 1.2rem;
}

.wp-intake .report-choice-card {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(19, 38, 63, 0.18);
    border-radius: 12px;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 1.5rem 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wp-intake .report-choice-card:hover {
    border-color: rgba(21, 128, 98, 0.4);
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.wp-intake .report-choice-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1a2d4d;
    margin-bottom: 0.5rem;
}

.wp-intake .report-choice-sub {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(19, 38, 63, 0.7);
}

.wp-intake .wizard-page {
    min-height: calc(100vh - 120px);
    background: #f2f3f1;
}

.wp-intake .wizard-topbar {
    background: #182d4d;
    color: white;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem 0 1.25rem;
    font-size: 0.96rem;
}

.wp-intake .wizard-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
}

.wp-intake .wizard-dot {
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

.wp-intake .wizard-subtitle {
    font-weight: 500;
    opacity: 0.9;
}

.wp-intake .wizard-exit {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 1.2rem;
}

.wp-intake .wizard-progress-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: white;
    border-bottom: 1px solid rgba(19, 38, 63, 0.08);
}

.wp-intake .progress-rail {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: hidden;
}

.wp-intake .progress-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 0 auto;
}

.wp-intake .progress-step {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e7e9ea;
    color: #5b6572;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}

.wp-intake .progress-step.active {
    background: #1b2d4d;
    color: white;
}

.wp-intake .progress-label {
    font-size: 0.72rem;
    color: #5c6675;
    white-space: nowrap;
}

.wp-intake .progress-label.active {
    color: #1b2d4d;
    font-weight: 700;
}

.wp-intake .progress-divider {
    height: 1px;
    width: 16px;
    background: rgba(19, 38, 63, 0.14);
}

.wp-intake .clear-data-btn {
    border: 1px solid rgba(19, 38, 63, 0.18);
    background: transparent;
    color: #1a2d4d;
    border-radius: 999px;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    font-size: 0.8rem;
}

.wp-intake .wizard-content {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 1.2rem 3rem;
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(260px, 0.92fr);
    gap: 2rem;
}

.wp-intake .wizard-card {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(19, 38, 63, 0.14);
    border-radius: 14px;
    min-height: 470px;
    display: flex;
}

.wp-intake .wizard-card-body {
    width: 100%;
    padding: 2rem 2.2rem 1.2rem;
}

.wp-intake .wizard-step-label {
    margin: 0 0 1rem;
    color: #5d6c7c;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.wp-intake .wizard-card-body h3 {
    margin: 0 0 1.5rem;
    font-size: clamp(2rem, 2.8vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -0.05em;
    color: #1a2d4d;
}

.wp-intake .safe-options,
.shell-form-card .safe-options {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1rem;
}

.wp-intake .safe-option,
.shell-form-card .safe-option {
    display: flex;
    align-items: center;
    min-height: 52px;
    border: 1px solid rgba(19, 38, 63, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.8rem 1rem;
    cursor: pointer;
    font-size: 1.05rem;
    color: #1a2d4d;
}

.wp-intake .safe-option input,
.shell-form-card .safe-option input {
    width: 18px;
    height: 18px;
    margin: 0 0.85rem 0 0;
    accent-color: #1d536f;
}

.wp-intake .safety-warning-box,
.shell-form-card .safety-warning-box {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: #fff0f0;
    border: 1.5px solid #f87171;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.wp-intake .safety-warning-box p,
.wp-intake .safety-warning-box p strong,
.wp-intake .safety-warning-box span,
.shell-form-card .safety-warning-box p,
.shell-form-card .safety-warning-box p strong,
.shell-form-card .safety-warning-box span {
    margin: 0;
    color: #b91c1c !important;
}

.wp-intake .safety-warning-icon,
.shell-form-card .safety-warning-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    color: #b91c1c !important;
}

.wp-intake .safety-continue-note,
.shell-form-card .safety-continue-note {
    margin: 0.6rem 0 0;
    font-size: 0.82rem;
    color: #1d536f;
    font-style: italic;
}

.wp-intake .safety-contact-question,
.shell-form-card .safety-contact-question {
    margin-top: 1.25rem;
}

.wp-intake .safety-contact-label,
.shell-form-card .safety-contact-label {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: #1a2d4d;
}

.wp-intake .contact-details-grid,
.shell-form-card .contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.wp-intake .contact-field-label,
.shell-form-card .contact-field-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1a2d4d;
    margin-bottom: 0.4rem;
}

.wp-intake .label-required,
.shell-form-card .label-required {
    color: #b91c1c;
}

.wp-intake .contact-field-input,
.shell-form-card .contact-field-input {
    width: 100%;
    border: 1px solid rgba(19, 38, 63, 0.2);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    font-size: 0.9rem;
    color: #1a2d4d;
    background: #fff;
    box-sizing: border-box;
    outline: none;
}

.wp-intake .contact-field-input:focus,
.shell-form-card .contact-field-input:focus {
    border-color: #1d536f;
    box-shadow: 0 0 0 2px rgba(29, 83, 111, 0.12);
}

.wp-intake .contact-anon-note,
.shell-form-card .contact-anon-note {
    margin: 0.75rem 0 0;
    font-size: 0.78rem;
    color: #1d536f;
}

.wp-intake .contact-no-warning,
.shell-form-card .contact-no-warning {
    margin-top: 1rem;
}

.wp-intake .wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.wp-intake .save-exit-link {
    background: transparent;
    border: none;
    color: #1a2d4d;
    font-size: 1rem;
    cursor: pointer;
    padding: 0;
}

.wp-intake .continue-btn {
    background: #b1d3c8;
    border: none;
    color: #1a2d4d;
    border-radius: 10px;
    padding: 0.8rem 1.6rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.wp-intake .wizard-side-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Guidance & FAQs header card */
.wp-intake .side-card-guidance {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.wp-intake .side-guidance-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(45, 122, 94, 0.1);
    color: #2d7a5e;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.wp-intake .side-guidance-title {
    margin: 0 0 0.25rem;
    font-size: 0.97rem;
    font-weight: 700;
    color: #1a2d4d;
}

.wp-intake .side-guidance-sub {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(19, 38, 63, 0.6);
    line-height: 1.5;
}

/* Side cards base */
.wp-intake .side-card {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(19, 38, 63, 0.14);
    border-radius: 12px;
    padding: 1rem 1.1rem;
}

/* Section labels (QUICK TUTORIALS, FREQUENTLY ASKED QUESTIONS) */
.wp-intake .side-section-label {
    margin: 0 0 0.9rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5c6675;
}

/* Tutorial items */
.wp-intake .tutorial-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(19, 38, 63, 0.08);
}

.wp-intake .tutorial-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wp-intake .tutorial-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1a2d4d;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding-left: 2px;
}

.wp-intake .tutorial-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.wp-intake .tutorial-text strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a2d4d;
}

.wp-intake .tutorial-text small {
    font-size: 0.78rem;
    color: #2d7a5e;
    font-weight: 500;
}

.wp-intake .faq-item {

    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(19, 38, 63, 0.1);
    color: #1a2d4d;
    font-size: 0.9rem;
    cursor: pointer;
    user-select: none;
}

.wp-intake .faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wp-intake .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-weight: 500;
    line-height: 1.4;
}

.wp-intake .faq-question>span:first-child {
    flex: 1;
}

.wp-intake .faq-chevron {
    color: #5d7a99;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.wp-intake .faq-open .faq-question {
    color: #1d536f;
}

.wp-intake .faq-open .faq-chevron {
    color: #1d536f;
}

.wp-intake .faq-answer {
    display: block;
    margin: 0.5rem 0 0.1rem;
    font-size: 0.82rem;
    color: rgba(19, 38, 63, 0.6);
    line-height: 1.55;
    font-weight: 400;
}

.wp-intake .support-box {
    background: #1b2d4d;
    border-radius: 12px;
    color: white;
    padding: 1.2rem;
}

.wp-intake .support-box h4 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
}

.wp-intake .support-box p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.wp-intake .support-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: white;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-top: 0.6rem;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: left;
    transition: background 0.15s;
}

.wp-intake .support-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}


@media (max-width: 700px) {
    .wp-intake .portal-topbar {
        padding: 1rem 1rem;
    }

    .wp-intake .portal-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .wp-intake .portal-alert {
        flex-direction: column;
        align-items: flex-start;
    }

    .wp-intake .alert-actions {
        width: 100%;
    }

    .wp-intake .primary-btn,
    .wp-intake .secondary-btn {
        flex: 1;
    }

    .wp-intake .choice-grid,
    .wp-intake .report-choice-grid,
    .wp-intake .wizard-content {
        grid-template-columns: 1fr;
    }

    .wp-intake .portal-section-title {
        font-size: 1.5rem;
    }

    .wp-intake .progress-row {
        min-width: 700px;
    }

    .wp-intake .wizard-card-body {
        padding: 1.2rem;
    }
}

/* ── Step 2: What happened ── */

.wp-intake .step2-subtitle {
    margin: 0 0 1.5rem;
    font-size: 0.9rem;
    color: #2d7a5e;
    line-height: 1.5;
}

.wp-intake .concern-category-grid,
.wp-intake .multi-category-picker {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
    align-items: start;
}

.wp-intake .concern-category-option {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-height: 48px;
    border: 1px solid rgba(19, 38, 63, 0.18);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.6);
    padding: 0.75rem 0.9rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: #1a2d4d;
    transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.wp-intake .concern-category-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.wp-intake .concern-category-details {
    display: none;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(19, 38, 63, 0.08);
}

.wp-intake .concern-category-option:hover .concern-category-details {
    display: block;
}

.wp-intake .concern-category-details ul {
    margin: 0;
    padding: 0 0 0 1.5rem;
    font-size: 0.85rem;
    color: #5b6572;
    list-style-type: disc;
}

.wp-intake .concern-category-details li {
    margin-bottom: 0.35rem;
}

.wp-intake .concern-category-option input {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin: 0;
    accent-color: #1d536f;
}

.wp-intake .concern-category-option.selected {
    border-color: #1d536f;
    background: rgba(29, 83, 111, 0.06);
}

.wp-intake .concern-category-option:hover {
    border-color: rgba(29, 83, 111, 0.4);
    background: rgba(29, 83, 111, 0.04);
}

.wp-intake .concern-cat-text {
    flex: 1;
    line-height: 1.35;
    font-weight: 500;
}

.wp-intake .concern-cat-info {
    color: #8a9ab0;
    font-size: 0.85rem;
    flex-shrink: 0;
    cursor: help;
}

.wp-intake .multi-category-check {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.5rem 0 1rem;
    font-size: 0.9rem;
    color: #2d7a5e;
    font-weight: 600;
    cursor: pointer;
}

.wp-intake .multi-category-check input {
    width: 16px;
    height: 16px;
    accent-color: #1d536f;
    flex-shrink: 0;
}

.wp-intake .multi-category-picker {
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.wp-intake .step2-summary-group {
    margin-top: 1.25rem;
}

.wp-intake .step2-summary-label {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    color: #1a2d4d;
    margin-bottom: 0.5rem;
}

.wp-intake .step2-summary-input {
    width: 100%;
    border: 1px solid rgba(19, 38, 63, 0.2);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    color: #1a2d4d;
    background: #fff;
    box-sizing: border-box;
    resize: none;
    outline: none;
    font-family: inherit;
}

.wp-intake .step2-summary-input:focus {
    border-color: #1d536f;
    box-shadow: 0 0 0 2px rgba(29, 83, 111, 0.12);
}

.wp-intake .step2-summary-input::placeholder {
    color: rgba(19, 38, 63, 0.38);
}

/* Wizard actions with left sub-group (Back + Save & Exit) */
.wp-intake .wizard-actions-left {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.wp-intake .back-btn {
    background: transparent;
    border: 1px solid rgba(19, 38, 63, 0.22);
    color: #1a2d4d;
    border-radius: 10px;
    padding: 0.65rem 1.1rem;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.15s;
}

.wp-intake .back-btn:hover {
    background: rgba(19, 38, 63, 0.05);
}

/* Progress step: done state (completed previous steps) */
.wp-intake .progress-step.done {
    background: #1b7a5a;
    color: white;
    font-size: 0.65rem;
}

.wp-intake .progress-label.done {
    color: #1b7a5a;
    font-weight: 600;
}

/* ── Step 3: Notice ── */
.wp-intake .step3-notice-text {
    font-size: 0.95rem;
    color: rgba(19, 38, 63, 0.7);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.wp-intake .privacy-notice-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid transparent;
    color: #2d7a5e;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 2rem;
    border-radius: 4px;
    transition: all 0.15s;
}

.wp-intake .privacy-notice-link.expanded {
    border-color: #2d7a5e;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.75rem;
}

.wp-intake .privacy-notice-link .chevron {
    font-size: 1.1rem;
    font-weight: 700;
}

.wp-intake .privacy-notice-full-box {
    background: #f9fafb;
    border: 1px solid rgba(19, 38, 63, 0.08);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: rgba(19, 38, 63, 0.85);
    line-height: 1.6;
    max-height: 350px;
    overflow-y: auto;
}

.wp-intake .privacy-notice-full-box p {
    margin: 0 0 1rem;
}

.wp-intake .privacy-notice-full-box ul {
    margin: 0 0 1rem;
    padding-left: 1.5rem;
}

.wp-intake .privacy-notice-full-box li {
    margin-bottom: 0.4rem;
}

.wp-intake .notice-ack-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a2d4d;
    cursor: pointer;
    margin-bottom: 1rem;
}

.wp-intake .notice-ack-check input {
    appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid rgba(19, 38, 63, 0.2);
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    display: grid;
    place-content: center;
    background: white;
}

.wp-intake .notice-ack-check input::before {
    content: "";
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em #1d536f;
}

.wp-intake .notice-ack-check input:checked::before {
    transform: scale(1);
}

.wp-intake .notice-ack-check input:checked {
    border-color: #1d536f;
}

/* ── Step 4: About You ── */
.wp-intake .form-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.wp-intake .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.wp-intake .form-group.half,
.wp-intake .form-group.third {
    flex: 1;
    margin-bottom: 0;
}

.wp-intake .form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2d4d;
}

.wp-intake .label-muted {
    color: rgba(19, 38, 63, 0.5);
    font-weight: 400;
    font-size: 0.85rem;
    margin-left: 0.25rem;
}

.wp-intake .text-input {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(19, 38, 63, 0.15);
    border-radius: 8px;
    font-size: 0.95rem;
    color: #1a2d4d;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.wp-intake .text-input:focus {
    outline: none;
    border-color: #2d7a5e;
    box-shadow: 0 0 0 2px rgba(45, 122, 94, 0.15);
}

.wp-intake .select-input {
    appearance: auto;
    cursor: pointer;
}

.wp-intake .info-alert {
    display: flex;
    gap: 0.75rem;
    background: #f0f4fa;
    border: 1px solid rgba(29, 83, 111, 0.15);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}

.wp-intake .info-icon {
    color: #1d536f;
    font-size: 1.1rem;
}

.wp-intake .info-alert p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #1d536f;
}

.wp-intake .link-btn {
    background: none;
    border: none;
    color: #2d7a5e;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.wp-intake .link-btn:hover {
    text-decoration: underline;
}

.wp-intake .section-divider-title {
    font-size: 0.85rem;
    color: rgba(19, 38, 63, 0.6);
    margin: 2.5rem 0 1rem;
}

.wp-intake .mt-1 {
    margin-top: 0.25rem;
}

.wp-intake .mt-4 {
    margin-top: 2rem;
}

/* ── Step 5: Respondent ── */
.wp-intake .step-label,
.shell-form-card .step-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #1d536f;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.shell-form-card .step-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #1d536f;
    background: #e2ede8;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.wp-intake .respondent-box,
.shell-form-card .respondent-box {
    border: 1px solid rgba(19, 38, 63, 0.12);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    background: white;
}

.wp-intake .radio-list,
.shell-form-card .radio-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.wp-intake .radio-option,
.shell-form-card .radio-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(19, 38, 63, 0.15);
    border-radius: 8px;
    cursor: pointer;
    background: white;
    font-size: 0.95rem;
    color: #1a2d4d;
    transition: all 0.15s;
}

.wp-intake .radio-option.inline-radio,
.shell-form-card .radio-option.inline-radio {
    border: none;
    padding: 0;
    background: transparent;
}

.wp-intake .radio-option input,
.shell-form-card .radio-option input {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: #1d536f;
}

.wp-intake .radio-option:not(.inline-radio):hover,
.shell-form-card .radio-option:not(.inline-radio):hover {
    border-color: rgba(29, 83, 111, 0.4);
    background: rgba(29, 83, 111, 0.02);
}

.wp-intake .radio-option.selected,
.shell-form-card .radio-option.selected {
    border-color: #1d536f;
    background: rgba(29, 83, 111, 0.04);
}

.conditional-field {

    margin-top: 0.5rem;
}

.wp-intake .mb-3 {
    margin-bottom: 1rem;
}

.wp-intake .mb-4 {
    margin-bottom: 1.5rem;
}

.wp-intake .mb-0 {
    margin-bottom: 0;
}

@media (max-width: 700px) {

    .wp-intake .concern-category-grid,
    .wp-intake .multi-category-picker {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Continue an Existing Matter / IntakeShell Design System (matching React)
   ========================================================================== */

.intake-shell-wrapper {
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    background: #F6F7FA;
    display: flex;
    flex-direction: column;
    color: #0F1C35;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.shell-topbar {
    background: #0F1C35;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 30;
}

.shell-topbar-left {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
}

.shell-back-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem;
    border-radius: 6px;
    transition: color 0.15s;
}

.shell-back-btn:hover {
    color: white;
}

.shell-brand-icon {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #0F766E;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.shell-title-text {
    color: white;
    font-size: 0.92rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shell-exit-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    padding: 0.3rem 0.5rem;
    transition: color 0.15s;
}

.shell-exit-btn:hover {
    color: white;
}

.autosave-strip {
    background: #FEF3C7;
    border-bottom: 1px solid #FDE68A;
    padding: 0.45rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #92400E;
}

.autosave-strip-left {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.autosave-clear-btn {
    background: transparent;
    border: none;
    color: #92400E;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.autosave-clear-btn:hover {
    color: #78350F;
    text-decoration: underline;
}

.stepper-rail-wrap {
    background: white;
    border-bottom: 1px solid rgba(15, 28, 53, 0.06);
    padding: 0.6rem 1rem;
    width: 100%;
    overflow-x: hidden;
}

.stepper-rail-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.stepper-rail-inner::-webkit-scrollbar {
    display: none;
}

.stepper-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0.2rem;
}

.stepper-row.centered {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    gap: 0.15rem;
}

.stepper-row.centered .step-indicator-node {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.stepper-row.centered .step-divider-line {
    flex: 0 1 24px;
    width: 24px;
    min-width: 6px;
    max-width: 28px;
    height: 1px;
    background: #E2E8F0;
    margin: 0 4px;
}

.stepper-row.centered .step-divider-line.done {
    background: #0F766E;
}

.step-indicator-node {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

button.step-indicator-node {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    text-align: left;
    outline: none;
    user-select: none;
}

.step-indicator-node.clickable {
    cursor: pointer;
}

.step-indicator-node.clickable:hover .step-node-label {
    color: #0F766E;
}

.step-indicator-node.clickable:hover .step-node-circle {
    transform: scale(1.12);
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.25);
}

.step-indicator-node.disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

.step-node-circle {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 50%;
    background: #F1F5F9;
    color: #64748B;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.step-indicator-node.active .step-node-circle {
    background: #0F1C35;
    color: white;
}

.step-indicator-node.done .step-node-circle {
    background: #0F766E;
    color: white;
}

.step-node-label {
    font-size: 0.72rem;
    color: #94A3B8;
    white-space: nowrap;
    transition: color 0.2s;
}

.step-indicator-node.active .step-node-label {
    color: #0F1C35;
    font-weight: 700;
}

.step-indicator-node.done .step-node-label {
    color: #64748B;
    font-weight: 500;
}

.step-divider-line {
    height: 1px;
    flex: 1 1 6px;
    min-width: 6px;
    max-width: 28px;
    background: #E2E8F0;
    margin: 0 2px;
}

.step-divider-line.done {
    background: #0F766E;
}

@media (max-width: 1100px) {
    .step-node-label {
        font-size: 0.68rem;
    }

    .stepper-rail-wrap {
        padding: 0.5rem 0.75rem;
    }

    .step-divider-line {
        min-width: 4px;
        max-width: 12px;
        margin: 0 1px;
    }

    .stepper-row.centered .step-divider-line {
        flex: 0 1 12px;
        width: 12px;
        min-width: 4px;
        max-width: 16px;
        margin: 0 2px;
    }

    .step-indicator-node {
        gap: 0.25rem;
    }
}

@media (max-width: 860px) {
    .step-indicator-node:not(.active) .step-node-label {
        display: none;
    }

    .step-indicator-node.active .step-node-label {
        display: inline-block;
        font-size: 0.75rem;
    }
}

.shell-body-container {
    flex: 1;
    padding: 2rem 1.5rem;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.shell-layout-grid {
    display: grid;
    gap: 1.75rem;
    align-items: start;
}

.shell-layout-grid.has-aside {
    grid-template-columns: minmax(0, 1fr) 320px;
}

.shell-layout-grid.single-column {
    grid-template-columns: minmax(0, 780px);
    justify-content: center;
}

.shell-form-card {
    background: white;
    border: 1px solid rgba(15, 28, 53, 0.08);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(15, 28, 53, 0.04);
    padding: 2.2rem 2.4rem;
}

.shell-guidance-aside {
    position: sticky;
    top: 136px;
}

.shell-bottom-footer {
    padding: 0.85rem 1.5rem;
    border-top: 1px solid rgba(15, 28, 53, 0.06);
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #94A3B8;
}

/* Radio Cards (matching React) */
.radio-card-stack {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.radio-card-stack-compact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-choice-card {
    width: 100%;
    text-align: left;
    padding: 1.1rem 1.25rem;
    border: 2px solid #F1F5F9;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    transition: all 0.18s ease;
}

.radio-choice-card:hover {
    border-color: #E2E8F0;
}

.radio-choice-card.selected {
    border-color: #0F766E;
    background: rgba(15, 118, 110, 0.03);
}

.radio-choice-card-compact {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border: 2px solid #F1F5F9;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.18s ease;
}

.radio-choice-card-compact:hover {
    border-color: #E2E8F0;
}

.radio-choice-card-compact.selected {
    border-color: #0F766E;
    background: rgba(15, 118, 110, 0.03);
}

.radio-choice-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.radio-choice-circle.checked {
    border-color: #0F766E;
}

.radio-choice-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0F766E;
}

.radio-choice-body {
    flex: 1;
}

.radio-choice-title {
    font-size: 0.92rem;
    font-weight: 200;
    color: #0F1C35;
    line-height: 1.4;
}

.radio-choice-desc {
    font-size: 0.8rem;
    color: #64748B;
    margin-top: 0.35rem;
    line-height: 1.45;
}

/* Form Primitives */
.step-badge-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0F766E;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
    font-family: inherit;
}

.step-heading-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F1C35;
    margin: 0;
    line-height: 1.4;
    font-family: inherit;
}

.muted-note-text {
    font-size: 0.85rem;
    color: #64748B;
    line-height: 1.5;
    margin: 0;
    font-family: inherit;
}

.form-field-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.field-label-text {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.45rem;
    line-height: 1.35;
    font-family: inherit;
}

.field-hint-text {
    font-weight: 400;
    font-size: 0.75rem;
    color: #94A3B8;
}

.date-input-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.max-w-xs {
    max-width: 18rem;
}

.styled-text-input,
.styled-select-input,
.styled-textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #0F1C35;
    background-color: #ffffff;
    border: 1px solid rgba(15, 28, 53, 0.12);
    border-radius: 12px;
    padding: 0.625rem 0.875rem;
    min-height: 42px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    outline: none;
}

.styled-text-input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.styled-text-input:hover:not(:disabled),
.styled-select-input:hover:not(:disabled) {
    border-color: rgba(15, 28, 53, 0.22);
}

.styled-text-input:focus,
.styled-select-input:focus,
.styled-textarea:focus {
    outline: none;
    border-color: #0F766E;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.18);
    background-color: #ffffff;
}

.styled-text-input:disabled,
.styled-select-input:disabled {
    background-color: #F8FAFC;
    color: #94A3B8;
    cursor: not-allowed;
    border-color: rgba(15, 28, 53, 0.08);
}

.styled-select-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230F1C35' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem;
    padding-right: 2.4rem;
    cursor: pointer;
}

.styled-textarea {
    resize: vertical;
    min-height: 96px;
}

.styled-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    user-select: none;
    font-family: inherit;
}

.styled-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #0F766E;
    cursor: pointer;
    border-radius: 4px;
}

/* Custom Checkbox Box */
.custom-chk-box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #CBD5E1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: white;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
    margin-top: 1px;
}

.custom-chk-box.checked {
    background: #0F766E;
    border-color: #0F766E;
    color: white;
}

.custom-chk-box:hover:not(.checked) {
    border-color: #94A3B8;
}

/* Button variants */
.btn-step-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #0F766E;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.15);
    transition: all 0.15s ease;
}

.btn-step-primary:hover:not(:disabled) {
    background: #0D6560;
    box-shadow: 0 2px 4px rgba(15, 118, 110, 0.25);
}

.btn-step-primary:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.btn-step-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: white;
    color: #334155;
    font-family: inherit;
    border: 1px solid rgba(15, 28, 53, 0.14);
    border-radius: 12px;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-step-secondary:hover {
    border-color: #94A3B8;
    background: #F8FAFC;
}

.btn-step-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    color: #64748B;
    font-family: inherit;
    border: none;
    padding: 0.65rem 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s ease;
}

.btn-step-ghost:hover {
    color: #0F1C35;
}

.btn-step-danger {
    background: #FEF2F2;
    color: #B91C1C;
    border: 1px solid #FECACA;
    border-radius: 12px;
    padding: 0.65rem 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-step-danger:hover {
    background: #FEE2E2;
}

.step-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(15, 28, 53, 0.08);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.flex-spacer {
    flex: 1;
}

/* Grids & Layout Spacing Helpers */
.step-card-content {
    display: flex;
    flex-direction: column;
}

.space-y-5>*+* {
    margin-top: 1.35rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-3>*+* {
    margin-top: 0.75rem;
}

.space-y-2>*+* {
    margin-top: 0.5rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.category-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.category-option-card {
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    border: 2px solid #F1F5F9;
    border-radius: 12px;
    background: white;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.15s;
}

.category-option-card:hover {
    border-color: #E2E8F0;
}

.category-option-card.selected {
    border-color: #0F766E;
    background: rgba(15, 118, 110, 0.03);
}

.category-checkbox-box {
    width: 18px;
    height: 18px;
    border: 2px solid #CBD5E1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.category-checkbox-box.checked {
    background: #0F766E;
    border-color: #0F766E;
}

.category-check-inner {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 1px;
}

.category-name-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0F1C35;
}

.category-help-icon {
    color: #94A3B8;
    font-size: 0.8rem;
    margin-left: 0.35rem;
}

.category-examples-list {
    margin: 0.5rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.75rem;
    color: #64748B;
    line-height: 1.45;
}

/* Upload Dropzone */
.upload-dropzone {
    display: block;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    border: 2px dashed #CBD5E1;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    background: #F8FAFC;
    transition: all 0.18s;
    cursor: pointer;
}

.upload-dropzone:hover {
    border-color: #0F766E;
    background: rgba(15, 118, 110, 0.02);
}

.upload-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-dropzone-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
    width: 100%;
    margin-bottom: 0;
}

.upload-icon {
    color: #94A3B8;
    margin-bottom: 0.25rem;
}

.upload-main-text {
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
}

.upload-sub-text {
    font-size: 0.75rem;
    color: #94A3B8;
}

.uploaded-files-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-top: 0.75rem;
}

.uploaded-file-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
}

.file-info-body {
    flex: 1;
}

.file-name-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.file-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0F1C35;
}

.file-size-badge {
    font-size: 0.7rem;
    color: #94A3B8;
    display: block;
    margin-top: 0.15rem;
}

.file-desc-input {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    padding: 0.35rem 0.65rem;
}

.file-remove-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    font-size: 1.25rem;
    cursor: pointer;
}

.file-remove-btn:hover {
    color: #EF4444;
}

/* Assist Analyzing Banner */
.assist-analyzing-banner {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: rgba(15, 118, 110, 0.08);
    border: 1px solid rgba(15, 118, 110, 0.25);
    border-radius: 12px;
    padding: 0.85rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0F766E;
}

.assist-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(15, 118, 110, 0.25);
    border-top-color: #0F766E;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Alert Boxes */
.safety-alert-card {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: #FEF2F2;
    border: 1px solid #FEE2E2;
    border-radius: 12px;
    font-size: 0.82rem;
    color: #B91C1C;
    line-height: 1.45;
}

.info-alert-box {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    border-radius: 12px;
    font-size: 0.82rem;
    color: #1D4ED8;
    line-height: 1.45;
}

.warning-alert-card {
    padding: 0.85rem 1rem;
    background: #FEFCE8;
    border: 1px solid #FEF08A;
    border-radius: 12px;
    font-size: 0.82rem;
    color: #854D0E;
    line-height: 1.45;
}

.whats-missing-box {
    padding: 0.85rem 1rem;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #92400E;
}

.whats-missing-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.whats-missing-list {
    margin: 0.35rem 0 0;
    padding-left: 1.25rem;
}

.date-input-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.max-w-xs {
    max-width: 20rem;
}

.phone-country-code {
    display: inline-flex;
    align-items: center;
    padding: 0 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(15, 28, 53, 0.12);
    background: #F8FAFC;
    color: #64748B;
    font-size: 0.85rem;
    font-weight: 500;
}

.verification-box {
    background: #F4F7FC;
    border: 1px solid #E0E6F1;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
}

.verification-status-text {
    font-size: 0.78rem;
    color: #4F46E5;
    font-weight: 500;
}

/* Guidance Panel */
.guidance-panel-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guidance-card {
    background: white;
    border: 1px solid rgba(15, 28, 53, 0.08);
    border-radius: 16px;
    padding: 1.15rem;
}

.guidance-header-title {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.25rem;
}

.guidance-header-title h4 {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #0F1C35;
}

.guidance-subtext {
    font-size: 0.75rem;
    color: #64748B;
    line-height: 1.4;
    margin: 0;
}

.guidance-card-heading {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #94A3B8;
    margin: 0 0 0.65rem;
}

.tutorial-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tutorial-card {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem;
    border-radius: 10px;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
}

.tutorial-card:hover {
    background: rgba(15, 118, 110, 0.05);
    border-color: rgba(15, 118, 110, 0.15);
}

.tutorial-play-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #0F1C35;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.15s;
}

.tutorial-card:hover .tutorial-play-icon {
    background: #0F766E;
}

.tutorial-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: #0F1C35;
    line-height: 1.3;
}

.tutorial-duration {
    font-size: 0.68rem;
    color: #94A3B8;
    margin-top: 0.15rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    divide-y: 1px solid #F1F5F9;
}

.faq-item {
    padding: 0.55rem 0;
    border-bottom: 1px solid #F1F5F9;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0F1C35;
    cursor: pointer;
}

.faq-chevron {
    color: #94A3B8;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.faq-chevron.open {
    transform: rotate(180deg);
}

.faq-answer {
    padding-top: 0.4rem;
    font-size: 0.72rem;
    color: #64748B;
    line-height: 1.45;
}

.guidance-support-card {
    background: #0F1C35;
    color: white;
}

.guidance-support-card h4 {
    margin: 0 0 0.25rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: white;
}

.guidance-support-card p {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 0.75rem;
}

.support-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.support-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.support-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Review & Submit Styles (matching React) */
.review-submission-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.review-sub-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
}

.review-sub-row {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    padding: 0.35rem 0;
    font-size: 0.875rem;
    gap: 1.5rem;
}

.review-sub-label {
    width: 170px;
    flex-shrink: 0;
    color: #94A3B8;
    font-weight: 400;
}

.review-sub-value {
    color: #0F1C35;
    font-weight: 600;
    flex: 1;
    word-break: break-word;
}

.privacy-notice-section {
    margin-top: 1.5rem;
    margin-bottom: 1.25rem;
}

.privacy-notice-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0F1C35;
    margin: 0 0 0.5rem 0;
}

.privacy-notice-toggle {
    background: transparent;
    border: none;
    color: #0F766E;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0;
    margin-bottom: 0.75rem;
}

.privacy-notice-toggle:hover {
    text-decoration: underline;
}

.privacy-notice-content {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
    max-height: 180px;
    overflow-y: auto;
}

.privacy-notice-content p {
    margin: 0 0 0.65rem 0;
}

.privacy-notice-link {
    color: #0F766E;
    font-weight: 600;
    text-decoration: none;
}

.privacy-notice-link:hover {
    text-decoration: underline;
}

.declaration-bullet-list {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin: 0 0 1.25rem 0;
    font-size: 0.875rem;
    color: #0F1C35;
    line-height: 1.6;
}

.declaration-bullet-list li {
    margin-bottom: 0.45rem;
}

/* Success Screen (matching React) */
.success-box-card {
    max-width: 540px;
    margin: 0 auto;
    text-align: center;
    padding: 1.5rem 0;
}

.success-badge-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #F0FDFA;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.success-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0F1C35;
    margin: 0 0 0.5rem 0;
}

.success-subtext {
    font-size: 0.875rem;
    color: #64748B;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.case-ref-card {
    background: white;
    border: 1px solid rgba(15, 28, 53, 0.1);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    text-align: left;
    margin-bottom: 1rem;
}

.case-ref-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.case-ref-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.case-ref-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0F1C35;
}

.btn-copy {
    background: transparent;
    border: none;
    color: #64748B;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.15s;
}

.btn-copy:hover {
    color: #0F766E;
    background: #F0FDFA;
}

.token-dark-card {
    background: #0F1C35;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    text-align: left;
    color: white;
    margin-bottom: 1.5rem;
}

.token-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #5EEAD4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.token-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.05em;
}

.is-submitted-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 3rem 1.5rem;
    background: #F6F7FA;
}

.is-submitted-container .shell-layout-grid.single-column {
    grid-template-columns: minmax(0, 680px);
    width: 100%;
}

.is-submitted-card {
    padding: 3.25rem 2.75rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 28, 53, 0.08);
    box-shadow: 0 4px 24px -2px rgba(15, 28, 53, 0.06), 0 2px 8px -1px rgba(15, 28, 53, 0.03);
}

/* Wide layout for AccessReadOnly view */
.shell-layout-grid.single-column.wide-layout {
    grid-template-columns: minmax(0, 1080px);
    width: 100%;
}

.shell-body-container.wide-container {
    max-width: 1200px;
}

/* Access Read Only View Styles */
.readonly-lock-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.15rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
}

.readonly-lock-banner .lock-icon {
    flex-shrink: 0;
    color: #64748B;
}

.readonly-lock-banner .lock-text {
    font-size: 0.82rem;
    color: #475569;
    margin: 0;
    line-height: 1.45;
}

.case-readonly-card {
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
}

.readonly-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    border-bottom: 1px solid #F1F5F9;
}

.readonly-row:last-child {
    border-bottom: none;
}

.readonly-label {
    color: #94A3B8;
    font-size: 0.875rem;
    font-weight: 400;
}

.readonly-val {
    color: #0F1C35;
    font-weight: 500;
    font-size: 0.875rem;
}

.readonly-val.font-mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.readonly-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

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

.btn-readonly-action {
    background: white;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0F1C35;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    font-family: inherit;
}

.btn-readonly-action:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
}

.btn-readonly-danger {
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #DC2626;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    font-family: inherit;
}

.btn-readonly-danger:hover {
    background: #FEE2E2;
    border-color: #FCA5A5;
}

.readonly-bottom-bar {
    padding-top: 1.25rem;
    border-top: 1px solid #F1F5F9;
}

@media (max-width: 960px) {
    .shell-layout-grid.has-aside {
        grid-template-columns: 1fr;
    }

    .shell-guidance-aside {
        display: none;
    }

    .grid-2-col,
    .category-grid-2col,
    .grid-3-col {
        grid-template-columns: 1fr;
    }
}

/* Behaviour Classification Step (What Happened?) */
.category-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    align-items: start;
    margin-bottom: 1.25rem;
}

.behaviour-cat-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1.5px solid #E2E8F0;
    border-radius: 12px;
    background: #FFFFFF;
    padding: 12px 14px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.behaviour-cat-card:hover {
    border-color: #CBD5E1;
    background: #FAFAFA;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.behaviour-cat-card.selected {
    border-color: #0F766E;
    background: rgba(15, 118, 110, 0.04);
}

.behaviour-cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.behaviour-cat-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.behaviour-cat-card.selected .behaviour-cat-circle {
    border-color: #0F766E;
    background: #0F766E;
}

.behaviour-cat-circle-inner {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #FFFFFF;
}

.behaviour-cat-title {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 500;
    color: #0F1C35;
    line-height: 1.35;
}

.behaviour-cat-info-icon {
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.behaviour-cat-details {
    display: none;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #F1F5F9;
}

.behaviour-cat-card:hover .behaviour-cat-details,
.behaviour-cat-card.is-expanded .behaviour-cat-details {
    display: block;
}

.behaviour-cat-details ul {
    margin: 0;
    padding: 0 0 0 1.25rem;
    font-size: 0.78rem;
    color: #64748B;
    list-style-type: disc;
    line-height: 1.5;
}

.behaviour-cat-details li {
    margin-bottom: 3px;
}

.custom-chk-row {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0.4rem 0 0.6rem;
    user-select: none;
    width: 100%;
}

.custom-chk-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
}

.custom-chk-row.checked .custom-chk-circle {
    border-color: #0F766E;
    background: #0F766E;
}

.custom-chk-row.checked .custom-chk-circle svg {
    stroke: #FFFFFF !important;
}

.custom-chk-text {
    font-size: 0.88rem;
    font-weight: 500;
    color: #0F1C35;
}

.step-badge-green {
    color: #0F766E;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.step-footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-top: 1px solid #F1F5F9;
    padding-top: 1.25rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.step-footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.step-footer-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-wizard-back {
    background: #FFFFFF;
    border: 1px solid rgba(15, 28, 53, 0.12);
    border-radius: 12px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    font-family: inherit;
}

.btn-wizard-back:hover {
    background: #F8FAFC;
    border-color: #CBD5E1;
    color: #0F1C35;
}

.btn-wizard-save {
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748B;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    font-family: inherit;
}

.btn-wizard-save:hover {
    background: #F1F5F9;
    color: #0F1C35;
}

.btn-wizard-continue {
    background: #0D6560;
    border: none;
    border-radius: 12px;
    padding: 9px 22px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #FFFFFF;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 2px rgba(15, 118, 110, 0.12);
    transition: all 0.15s ease;
    font-family: inherit;
}

.btn-wizard-continue:hover:not(:disabled) {
    background: #0F766E;
    box-shadow: 0 2px 4px rgba(15, 118, 110, 0.22);
}

.btn-wizard-continue:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* Review & Submit Step Styles */
.review-summary-section {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

.review-summary-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 0.75rem;
}

.review-summary-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.review-summary-row {
    display: flex;
    align-items: baseline;
    font-size: 0.875rem;
    line-height: 1.5;
    gap: 0.75rem;
}

.review-summary-label {
    width: 175px;
    flex-shrink: 0;
    color: #334155;
    font-weight: 400;
}

.review-summary-value {
    color: #0F1C35;
    font-weight: 500;
    word-break: break-word;
}

.privacy-disclosure-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 7px 14px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #0F1C35;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    margin-top: 0.5rem;
    margin-bottom: 1.25rem;
}

.privacy-disclosure-btn:hover {
    background: #F8FAFC;
    border-color: #94A3B8;
}

.privacy-disclosure-content {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1rem;
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-height: 180px;
    overflow-y: auto;
}

.review-declarations-list {
    list-style-type: disc;
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.review-declarations-list li {
    font-size: 0.875rem;
    color: #334155;
    line-height: 1.5;
}

.review-checkbox-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0.65rem;
}

.review-checkbox-box {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #CBD5E1;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
    cursor: pointer;
}

.review-checkbox-box.checked {
    background: #0F766E;
    border-color: #0F766E;
    color: #FFFFFF;
}

.review-checkbox-box:hover:not(.checked) {
    border-color: #94A3B8;
}

.review-checkbox-label {
    font-size: 0.875rem;
    color: #334155;
    font-weight: 400;
}

/* Embedded wizard card integration inside .shell-form-card */
.shell-form-card .wizard-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.shell-form-card .wizard-card-body {
    padding: 0 !important;
}

.shell-form-card .wizard-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0F1C35;
    margin-bottom: 0.35rem;
}

.shell-form-card .step3-notice-text {
    font-size: 0.875rem;
    color: #64748B;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.shell-form-card .privacy-notice-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 1px solid transparent;
    color: #0F766E;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    margin-bottom: 1.5rem;
    border-radius: 6px;
    transition: all 0.15s;
}

.shell-form-card .privacy-notice-link.expanded {
    border-color: #0F766E;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.75rem;
}

.shell-form-card .privacy-notice-full-box {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    color: #334155;
    line-height: 1.6;
    max-height: 320px;
    overflow-y: auto;
}

.shell-form-card .privacy-notice-full-box p {
    margin: 0 0 0.85rem;
}

.shell-form-card .privacy-notice-full-box ul {
    margin: 0 0 0.85rem;
    padding-left: 1.25rem;
}

.shell-form-card .privacy-notice-full-box li {
    margin-bottom: 0.35rem;
}

.shell-form-card .notice-ack-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0F1C35;
    cursor: pointer;
    margin-bottom: 1rem;
}

.shell-form-card .notice-ack-check input {
    width: 18px;
    height: 18px;
    accent-color: #0F766E;
    cursor: pointer;
}

.shell-form-card .form-row {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.shell-form-card .form-row.three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 640px) {
    .shell-form-card .form-row {
        flex-direction: column;
    }

    .shell-form-card .form-row.three-cols {
        grid-template-columns: 1fr;
    }
}

.shell-form-card .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.shell-form-card .form-group.half {
    flex: 1;
    margin-bottom: 0;
}

.shell-form-card .form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #334155;
}

.shell-form-card .label-muted {
    color: #94A3B8;
    font-weight: 400;
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.shell-form-card .text-input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid #CBD5E1;
    border-radius: 10px;
    font-size: 0.875rem;
    color: #0F1C35;
    background: white;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.shell-form-card .text-input:focus {
    outline: none;
    border-color: #0F766E;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.12);
}

.shell-form-card .info-alert {
    display: flex;
    gap: 0.75rem;
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.shell-form-card .info-icon {
    color: #2563EB;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.shell-form-card .info-alert p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #1E40AF;
}

.shell-form-card .link-btn {
    background: none;
    border: none;
    color: #0F766E;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-align: left;
}

.shell-form-card .link-btn:hover {
    text-decoration: underline;
}

.shell-form-card select.text-input,
.shell-form-card select.select-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 16px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.shell-form-card .radio-choice-card-compact {
    width: 100%;
    text-align: left;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(15, 28, 53, 0.1);
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.15s ease;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
}

.shell-form-card .radio-choice-card-compact:hover {
    border-color: rgba(15, 28, 53, 0.22);
}

.shell-form-card .radio-choice-card-compact.selected {
    border-color: #0F766E;
    background: rgba(15, 118, 110, 0.04);
}

.shell-form-card .radio-choice-card-compact .radio-choice-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1.5px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0;
}

.shell-form-card .radio-choice-card-compact.selected .radio-choice-circle,
.shell-form-card .radio-choice-card-compact .radio-choice-circle.checked {
    border-color: #0F766E;
}

.shell-form-card .radio-choice-card-compact .radio-choice-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #0F766E;
}

.shell-form-card .radio-choice-card-compact .radio-choice-title {
    font-size: 0.875rem;
    font-weight: 200;
    color: #0F1C35;
    line-height: 1.4;
}

/* ==========================================================================
   Intake Wizard - Read-Only Step Styles (Activated after Contact Step Saved)
   ========================================================================== */

.intake-readonly-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 3.5px solid #d97706;
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 1px 2px rgba(217, 119, 6, 0.05);
}

.intake-readonly-banner .banner-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(217, 119, 6, 0.12);
    color: #b45309;
    flex-shrink: 0;
    margin-top: 1px;
}

.intake-readonly-banner .banner-icon-wrap svg {
    width: 13px;
    height: 13px;
}

.intake-readonly-banner .banner-text {
    font-size: 0.8rem;
    color: #92400e;
    line-height: 1.35;
}

.intake-readonly-banner .banner-title {
    font-size: 0.825rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.15rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.intake-readonly-banner .banner-badge {
    display: inline-block;
    padding: 0.1rem 0.35rem;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.intake-readonly-banner p {
    margin: 0;
    color: #b45309;
    font-size: 0.775rem;
    line-height: 1.35;
}

/* Disabled and Read-only form controls styling */
.wizard-card input:disabled,
.wizard-card textarea:disabled,
.wizard-card select:disabled,
.step-card-content input:disabled,
.step-card-content textarea:disabled,
.step-card-content select:disabled,
.shell-form-card input:disabled,
.shell-form-card textarea:disabled,
.shell-form-card select:disabled {
    background-color: #f8fafc !important;
    color: #334155 !important;
    border-color: #cbd5e1 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
    -webkit-text-fill-color: #334155;
    opacity: 1 !important;
}

/* The dropzone's hidden file input stays hidden while disabled (uploading / read-only) */
input.upload-file-input:disabled {
    opacity: 0 !important;
}

.wizard-card input[type="radio"]:disabled,
.wizard-card input[type="checkbox"]:disabled,
.step-card-content input[type="radio"]:disabled,
.step-card-content input[type="checkbox"]:disabled,
.shell-form-card input[type="radio"]:disabled,
.shell-form-card input[type="checkbox"]:disabled {
    accent-color: #0f766e !important;
    cursor: not-allowed !important;
    opacity: 0.85;
}

.readonly-step-container {
    user-select: text;
}

.readonly-step-container .safe-option,
.readonly-step-container .concern-category-option,
.readonly-step-container .behaviour-cat-card,
.readonly-step-container .radio-choice-card-compact,
.readonly-step-container .custom-chk-row {
    cursor: not-allowed !important;
}

.readonly-dimmed {
    opacity: 0.55 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.readonly-selected {
    border-color: #0f766e !important;
    background: rgba(15, 118, 110, 0.05) !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}