.negotiation-page-shell .appeal-editor-canvas:empty::before {
    content: "No negotiation packet yet. Complete the guided intake or click Edit Intake Details to build your packet.";
    display: block;
    max-width: 640px;
    margin: 0 auto;
    padding: 72px 24px;
    color: #7b8ea6;
    font-weight: 700;
    line-height: 1.6;
    text-align: center;
}

.negotiation-modal-card {
    width: min(860px, calc(100vw - 28px));
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.negotiation-modal-card .appeal-modal-header {
    flex: 0 0 auto;
}

.negotiation-modal-card #negotiationWizardForm {
    min-height: 0;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
}

.negotiation-modal-card .appeal-step {
    display: none;
}

.negotiation-modal-card .appeal-step.is-active {
    display: block;
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 6px;
    padding-bottom: 4px;
}

.negotiation-modal-card .appeal-step.is-active::-webkit-scrollbar {
    width: 8px;
}

.negotiation-modal-card .appeal-step.is-active::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(123, 142, 166, 0.35);
}

.negotiation-modal-card .appeal-step.is-active::-webkit-scrollbar-track {
    background: transparent;
}

.negotiation-modal-card .appeal-wizard-footer {
    position: sticky;
    bottom: 0;
    z-index: 2;
    flex: 0 0 auto;
    margin-top: 16px;
    padding-top: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), #ffffff 42%);
    border-top: 1px solid rgba(206, 218, 231, 0.75);
}

.negotiation-path-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.negotiation-path-card {
    display: grid;
    gap: 8px;
    min-height: 150px;
    padding: 18px;
    border: 1px solid var(--lte-border);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.negotiation-path-card:hover,
.negotiation-path-card:has(input:checked) {
    border-color: rgba(13, 76, 172, 0.35);
    box-shadow: 0 14px 30px rgba(13, 76, 172, 0.10);
    transform: translateY(-1px);
}

.negotiation-path-card input {
    width: 18px;
    height: 18px;
    accent-color: var(--lte-primary);
}

.negotiation-path-card strong {
    color: #102a43;
    font-size: 1.05rem;
}

.negotiation-path-card span {
    color: var(--lte-text-soft);
    line-height: 1.55;
}

.negotiation-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.negotiation-editor-canvas {
    background: #fcfdff;
}

.negotiation-guidance-note p {
    margin: 0;
    color: var(--lte-text-soft);
    line-height: 1.65;
}

.negotiation-packet {
    display: grid;
    gap: 18px;
}

.negotiation-packet-hero {
    padding: 22px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(13, 76, 172, 0.10), rgba(32, 147, 250, 0.10));
    border: 1px solid rgba(13, 76, 172, 0.14);
}

.negotiation-result-kicker {
    margin: 0 0 8px;
    color: var(--lte-primary);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.negotiation-packet-hero h1,
.negotiation-result-section h2,
.negotiation-warning-card h2 {
    margin: 0 0 10px;
    color: #102a43;
}

.negotiation-packet-hero p,
.negotiation-result-section p,
.negotiation-warning-card p {
    margin: 0;
    color: #16324f;
    line-height: 1.72;
}

.negotiation-result-section p + p,
.negotiation-letter p + p {
    margin-top: 14px;
}

.negotiation-letter {
    color: #16324f;
}

.negotiation-result-section,
.negotiation-warning-card,
.negotiation-disclaimer {
    padding: 20px;
    border: 1px solid var(--lte-border);
    border-radius: 18px;
    background: #ffffff;
}

.negotiation-result-section ul,
.negotiation-warning-card ul {
    margin: 0;
    padding-left: 20px;
    color: #16324f;
    line-height: 1.72;
}

.negotiation-warning-card {
    border-color: rgba(180, 83, 9, 0.25);
    background: #fff8ed;
}

.negotiation-disclaimer {
    color: var(--lte-text-soft);
    font-size: 0.94rem;
    line-height: 1.6;
    background: #f8fbff;
}

@media (max-width: 860px) {
    .negotiation-path-grid,
    .negotiation-two-col {
        grid-template-columns: 1fr;
    }

    .negotiation-modal-card {
        width: calc(100vw - 20px);
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
    }

    .negotiation-modal-card .appeal-step.is-active {
        padding-right: 2px;
    }

    .negotiation-modal-card .appeal-wizard-footer {
        gap: 10px;
        padding-top: 14px;
        flex-wrap: wrap;
    }

    .negotiation-modal-card .appeal-wizard-footer button {
        flex: 1 1 140px;
    }
}