/* Instant public business scan — homepage hero + free snapshot */

.home-hero-scan-form {
    width: min(100%, 36rem);
    margin: 0 auto;
}

.home-hero-scan-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.home-hero-scan-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    text-align: left;
}

.home-hero-scan-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.75);
}

.home-hero-scan-field input {
    width: 100%;
    padding: 0.72rem 0.85rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 23, 42, 0.55);
    color: #f8fafc;
    font-size: 0.95rem;
}

.home-hero-scan-field input:focus {
    outline: 2px solid rgba(253, 224, 71, 0.45);
    outline-offset: 1px;
    border-color: rgba(253, 224, 71, 0.35);
}

.home-hero-scan-result {
    width: min(100%, 40rem);
    margin: 1.25rem 0 0;
    text-align: left;
}

.pbs-report-wrap.is-loading,
.pbs-report-wrap.is-miss,
.pbs-report-wrap.is-ready {
    display: block;
}

.pbs-report__loading {
    margin: 0;
    padding: 1rem 1.1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.65);
    color: rgba(226, 232, 240, 0.85);
    font-size: 0.92rem;
    text-align: center;
}

.pbs-report {
    padding: 1rem 1.05rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(45, 212, 191, 0.28);
    background: linear-gradient(180deg, rgba(20, 184, 166, 0.12) 0%, rgba(15, 23, 42, 0.72) 100%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.pbs-report--miss {
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(15, 23, 42, 0.72);
    text-align: center;
}

.pbs-report__header {
    margin-bottom: 0.85rem;
}

.pbs-report__badge {
    display: inline-flex;
    margin-bottom: 0.35rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: rgba(251, 191, 36, 0.14);
    color: #fde68a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pbs-report__title {
    margin: 0;
    color: #f8fafc;
    font-size: 1.12rem;
    line-height: 1.35;
}

.pbs-report__stats {
    margin: 0.35rem 0 0;
    color: #fde68a;
    font-size: 1.05rem;
    font-weight: 800;
}

.pbs-report__address,
.pbs-report__stamp,
.pbs-report__action-reason,
.pbs-report__peers-summary {
    margin: 0.35rem 0 0;
    color: rgba(203, 213, 225, 0.78);
    font-size: 0.82rem;
    line-height: 1.45;
}

.pbs-report__health {
    margin: 0.45rem 0 0;
    color: rgba(226, 232, 240, 0.92);
    font-size: 0.88rem;
}

.pbs-report__section {
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pbs-report__section h4 {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
}

.pbs-report__section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pbs-report__strength,
.pbs-report__gap {
    position: relative;
    padding-left: 1.1rem;
    color: rgba(241, 245, 249, 0.92);
    font-size: 0.88rem;
    line-height: 1.45;
}

.pbs-report__strength + .pbs-report__strength,
.pbs-report__gap + .pbs-report__gap {
    margin-top: 0.4rem;
}

.pbs-report__strength::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #34d399;
    font-weight: 700;
}

.pbs-report__gap::before {
    content: "!";
    position: absolute;
    left: 0;
    color: #fbbf24;
    font-weight: 800;
}

.pbs-report__peers {
    margin-top: 1.1rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pbs-report__peers-title {
    margin: 0 0 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
}

.pbs-report__peer-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pbs-report__peer-list li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
}

.pbs-report__peer-name {
    color: rgba(241, 245, 249, 0.92);
    font-weight: 600;
}

.pbs-report__peer-meta {
    color: rgba(203, 213, 225, 0.72);
    white-space: nowrap;
}

.pbs-report__action-label {
    margin: 0;
    color: #f8fafc;
    font-size: 0.92rem;
}

.pbs-report__locked {
    position: relative;
    margin-top: 0.95rem;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.pbs-report__locked-blur {
    filter: blur(5px);
    opacity: 0.55;
    padding: 0.85rem 0.95rem;
    background: rgba(15, 23, 42, 0.65);
    pointer-events: none;
    user-select: none;
}

.pbs-report__locked-blur ul {
    margin: 0.35rem 0 0;
    padding-left: 1rem;
    color: rgba(226, 232, 240, 0.85);
    font-size: 0.82rem;
}

.pbs-report__locked-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.72));
}

.pbs-report__locked-overlay p {
    margin: 0;
    max-width: 16rem;
    text-align: center;
    color: #f8fafc;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.4;
}

.pbs-report__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.95rem;
}

.pbs-report__cta {
    min-width: auto;
}

@media (max-width: 640px) {
    .home-hero-scan-fields {
        grid-template-columns: 1fr;
    }

    .pbs-report__peer-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
    }
}
