
.vs-search {
    display: grid;
    gap: 8px;
    margin: 0 0 24px;
}

.vs-search > span {
    color: var(--vs-gold-strong);
    font-size: 0.9rem;
    font-weight: 800;
}

.vs-search input {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--vs-border);
    border-radius: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.045);
    color: #fff;
    font: inherit;
}

.vs-search input::placeholder {
    color: #8fa0b7;
}

.vs-search input:focus {
    border-color: var(--vs-gold);
    outline: 3px solid rgba(213, 177, 111, 0.16);
}

.vs-picker-section + .vs-picker-section {
    margin-top: 34px;
}

.vs-picker-section-header {
    margin-bottom: 15px;
}

.vs-picker-section-header h2,
.vs-category-title {
    margin: 0;
    color: var(--vs-gold-strong);
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
}

.vs-picker-section-header p {
    margin: 7px 0 0;
    color: var(--vs-muted);
    line-height: 1.5;
}

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

.vs-ground-option {
    position: relative;
    display: block;
    cursor: pointer;
}

.vs-ground-option > input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.vs-ground-option-body {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--vs-border);
    border-radius: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.032);
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.vs-ground-option:hover .vs-ground-option-body {
    transform: translateY(-2px);
    border-color: rgba(213, 177, 111, 0.55);
}

.vs-ground-option > input:checked + .vs-ground-option-body {
    border-color: var(--vs-gold);
    background: rgba(213, 177, 111, 0.12);
    box-shadow: inset 0 0 0 1px rgba(213, 177, 111, 0.25);
}

.vs-ground-option > input:focus-visible + .vs-ground-option-body {
    outline: 3px solid rgba(240, 205, 140, 0.35);
    outline-offset: 3px;
}

.vs-ground-option-body strong {
    color: #fff;
    font-size: 1rem;
    line-height: 1.35;
}

.vs-ground-option-body small {
    color: var(--vs-muted);
    line-height: 1.5;
}

.vs-law-ref {
    align-self: flex-start;
    border: 1px solid rgba(213, 177, 111, 0.34);
    border-radius: 999px;
    padding: 5px 9px;
    color: var(--vs-gold-strong);
    font-size: 0.74rem;
    font-weight: 900;
    line-height: 1;
}

.vs-category-questions + .vs-category-questions {
    margin-top: 32px;
}

.vs-condition-block {
    border-top: 1px solid var(--vs-border);
    padding-top: 18px;
    margin-top: 18px;
}

.vs-condition-block:first-of-type {
    border-top: 0;
    padding-top: 0;
}

.vs-condition-question {
    margin: 0 0 12px;
    color: #eef3f9;
    line-height: 1.55;
}

.vs-ground-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.vs-ground-heading > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
}

.vs-ground-heading h3 {
    margin: 0;
}

.vs-ground-status {
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.73rem;
    font-weight: 900;
    text-align: center;
}

.vs-ground-status.is-positive {
    background: rgba(88, 184, 128, 0.14);
    color: #9de0ba;
}

.vs-ground-status.is-review {
    background: rgba(213, 177, 111, 0.14);
    color: var(--vs-gold-strong);
}

.vs-ground-status.is-negative,
.vs-result-status.is-negative {
    background: rgba(169, 50, 58, 0.18);
    color: #ffb8bf;
}

.vs-summary-grounds {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.vs-summary-grounds > div {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--vs-border);
    border-radius: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.025);
}

.vs-summary-grounds > div > span {
    color: var(--vs-gold-strong);
    font-size: 0.76rem;
    font-weight: 800;
}

.vs-summary-grounds > div > strong {
    color: #fff;
    line-height: 1.4;
}

.vs-summary-grounds em {
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    white-space: nowrap;
}

.vs-summary-grounds em.is-positive {
    background: rgba(88, 184, 128, 0.14);
    color: #9de0ba;
}

.vs-summary-grounds em.is-negative {
    background: rgba(169, 50, 58, 0.18);
    color: #ffb8bf;
}

.vs-ground-card {
    border: 1px solid var(--vs-border);
    border-left-width: 4px;
    border-radius: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.025);
}

.vs-ground-card.is-matched {
    border-left-color: #68bd8d;
}

.vs-ground-card.is-rejected {
    border-left-color: var(--vs-red);
}

.vs-ground-card + .vs-ground-card {
    margin-top: 16px;
    padding-top: 18px;
}

.vs-ground-card > p {
    color: #d6dfeb;
    line-height: 1.55;
}

.vs-ground-card details {
    margin-top: 12px;
    border-top: 1px solid var(--vs-border);
    padding-top: 12px;
}

.vs-ground-card summary {
    color: var(--vs-gold-strong);
    font-weight: 800;
    cursor: pointer;
}

.vs-ground-card h4 {
    margin: 17px 0 8px;
    color: #fff;
    font-size: 0.98rem;
}

.vs-ground-card ul {
    margin: 0;
    padding-left: 20px;
    color: #dbe4ef;
    line-height: 1.55;
}

.vs-ground-card li + li {
    margin-top: 7px;
}

.vs-answer-list .is-answer-yes {
    color: #a8dfbe;
}

.vs-answer-list .is-answer-no {
    color: #ffbdc3;
}

.vs-documents-block {
    margin-top: 16px;
    border-radius: 12px;
    padding: 14px 16px;
    background: rgba(88, 184, 128, 0.075);
}

.vs-rejection-block {
    margin-top: 16px;
    border-radius: 12px;
    padding: 14px 16px;
    background: rgba(169, 50, 58, 0.095);
}

@media (max-width: 760px) {
    .vs-ground-options {
        grid-template-columns: 1fr;
    }

    .vs-ground-heading {
        flex-direction: column;
    }

    .vs-ground-status {
        align-self: flex-start;
    }

    .vs-summary-grounds > div {
        grid-template-columns: 1fr;
    }

    .vs-summary-grounds em {
        justify-self: start;
    }
}
