.demo-sale-safety {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid #93c5fd;
    border-radius: 0.85rem;
    background: #eff6ff;
    color: #1e3a8a;
}

.demo-sale-safety strong {
    flex: 0 0 auto;
}

.demo-sale-settings-layout {
    display: grid;
    grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
    gap: 1rem;
    align-items: start;
}

.demo-sale-card-stage.cards-grid {
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
}

.demo-sale-guide {
    position: sticky;
    top: 1rem;
    z-index: 3;
    display: grid;
    gap: 0.65rem;
    padding: 1rem;
    border: 1px solid #bfdbfe;
    border-radius: 1rem;
    background: linear-gradient(145deg, #eff6ff, #fff);
    box-shadow: 0 10px 28px rgba(30, 64, 175, 0.1);
}

.demo-sale-floating-coach {
    position: fixed;
    z-index: 1100;
    max-height: calc(100vh - 2rem);
}

.demo-sale-floating-coach .demo-sale-guide {
    position: static;
    max-height: calc(100vh - 2rem);
    overflow: auto;
    border-color: #93c5fd;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.24);
}

.demo-sale-floating-coach.is-compact {
    max-height: min(46vh, 430px);
}

.demo-sale-floating-coach.is-compact .demo-sale-guide {
    max-height: min(46vh, 430px);
}

.demo-sale-guide.is-complete {
    border-color: #86efac;
    background: linear-gradient(145deg, #ecfdf5, #fff);
}

.demo-sale-guide h3,
.demo-sale-guide p {
    margin: 0;
}

.demo-guide-kicker {
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.demo-guide-progress-copy {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.demo-guide-progress {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #dbeafe;
}

.demo-guide-progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
    transition: width 180ms ease;
}

.demo-guide-action,
.demo-guide-purpose {
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem;
    border-radius: 0.7rem;
    font-size: 0.86rem;
}

.demo-guide-action {
    background: #fff;
    color: var(--text);
}

.demo-guide-purpose {
    border-left: 3px solid #2563eb;
    background: #eff6ff;
    color: var(--text-secondary);
}

.demo-guide-action strong,
.demo-guide-purpose strong {
    color: var(--text);
}

.demo-guide-landmarks {
    padding-top: 0.65rem;
    border-top: 1px solid #bfdbfe;
}

.demo-guide-landmarks summary {
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
}

.demo-guide-landmarks dl {
    display: grid;
    gap: 0.65rem;
    margin: 0.7rem 0 0;
}

.demo-guide-landmarks dl > div {
    display: grid;
    gap: 0.15rem;
}

.demo-guide-landmarks dt {
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 800;
}

.demo-guide-landmarks dd {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.78rem;
    line-height: 1.35;
}

.demo-sale-target {
    position: relative;
    z-index: 2;
    outline: 3px solid #dc2626 !important;
    outline-offset: 3px;
    animation: demo-sale-pulse 1.35s ease-in-out infinite;
}

@keyframes demo-sale-pulse {
    50% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0.18); }
}

@media (max-width: 760px) {
    .demo-sale-settings-layout {
        grid-template-columns: 1fr;
    }

    .demo-sale-guide {
        position: relative;
        top: auto;
    }

    .demo-sale-safety {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .demo-sale-target { animation: none; }
}
