[hidden] {
    display: none !important;
}

.home-link {
    color: #6840ad;
    font-size: 14px;
    text-decoration: none;
}

.intro-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 42px 0 22px;
}

.eyebrow {
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 1.8px;
    color: #6840ad;
}

h1 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 16px 0;
}

h2 {
    margin: 0;
    color: #392455;
    font-size: 22px;
    letter-spacing: -0.5px;
}

h3 {
    margin: 0;
    font-size: 17px;
    color: #493166;
}

.scout-orb {
    display: grid;
    place-items: center;
    flex: 0 0 105px;
    height: 105px;
    margin-right: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 28% 20%, #f0e5ff, #bba1ea 18%, #7454b7 48%, #303372 85%);
    color: white;
    font-size: 55px;
    box-shadow: 0 12px 40px #9570ec44;
}

.demo-notice {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 18px 22px;
    border: 1px solid #dcd0ed;
    border-radius: 16px;
    background: #ffffffa6;
    font-size: 13px;
    line-height: 1.6;
}

.demo-notice strong {
    flex-shrink: 0;
    color: #6840ad;
}

.demo-notice span {
    color: #625b75;
}

.workspace {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
    gap: 24px;
    margin: 28px 0 60px;
    align-items: start;
}

.panel,
.test-card {
    background: #ffffffed;
    border: 1px solid #e1d7ef;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 30px #7657a309;
}

.section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
}

.step {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #f1eafa;
    color: #6840ad;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}

.muted,
.field-help,
.export-panel p {
    color: #625b75;
    font-size: 13px;
    line-height: 1.65;
}

label {
    display: block;
    margin: 19px 0 8px;
    color: #493d60;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.5;
}

textarea,
input[type=text],
select {
    display: block;
    width: 100%;
    min-width: 0;
    border: 1px solid #d9cfe7;
    border-radius: 10px;
    background: #fefcff;
    color: #26213b;
    padding: 11px 12px;
    font: inherit;
    font-size: 14px;
    line-height: 1.55;
}

textarea {
    resize: vertical;
}

.primary,
.secondary {
    min-height: 44px;
    padding: 11px 17px;
    border-radius: 11px;
    font: inherit;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

.primary {
    background: #6840ad;
    color: white;
    border: 1px solid #6840ad;
}

.secondary {
    background: #f7f2ff;
    color: #6840ad;
    border: 1px solid #d1bfe9;
}

.primary:hover {
    background: #54318f;
}

button:disabled {
    opacity: 0.5;
    cursor: default;
}

.status {
    font-size: 13px;
    min-height: 42px;
    margin-bottom: 0;
}

.empty-state {
    text-align: center;
    padding: 55px 32px;
}

.empty-symbol {
    color: #9e7bce;
    font-size: 50px;
}

.empty-state h2 {
    max-width: 360px;
    margin: 24px auto 0;
    line-height: 1.35;
}

.empty-state p {
    font-size: 14px;
}

.flow-labels {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.flow-labels span,
.count,
.source-tag {
    border-radius: 999px;
    padding: 7px 11px;
    background: #f3edfb;
    color: #6840ad;
    font-size: 11px;
}

.plan-section {
    margin-top: 32px;
}

.plan-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.test-card {
    margin: 16px 0;
}

.test-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.test-id {
    color: #6840ad;
    font-size: 12px;
    font-weight: bold;
}

.review-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.review-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #6840ad;
}

.export-panel {
    margin-top: 24px;
}

.export-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

@media(max-width:850px) {
    .workspace {
        grid-template-columns: 1fr;
    }

    .demo-notice {
        flex-direction: column;
        gap: 6px;
    }

    .scout-orb {
        margin-right: 0;
        flex-basis: 80px;
        height: 80px;
        font-size: 40px;
    }
}

@media(max-width:480px) {
    body {
        padding: 24px 16px;
    }

    .scout-orb {
        display: none;
    }

    .panel,
    .test-card {
        padding: 20px;
    }

    .intro-row {
        padding-top: 26px;
    }

    .demo-notice {
        padding: 16px;
    }
}