.spa-site-platform-analyzer {
    border: 1px solid #d8dbe0;
    border-radius: 16px;
    padding: 1.25rem;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.spa-analyzer-form {
    margin: 0;
}

.spa-label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.spa-input-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.spa-url-input {
    flex: 1 1 320px;
    min-height: 48px;
    padding: 0 0.95rem;
    border-radius: 12px;
    border: 1px solid #cfd6df;
    background: #fff;
}

.spa-submit-button {
    min-height: 48px;
    padding: 0 1.15rem;
    border: none;
    border-radius: 12px;
    background: #1f2937;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
}

.spa-submit-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.spa-helper,
.spa-meta,
.spa-muted,
.spa-banner-meta {
    color: #5b6470;
    font-size: 0.95rem;
}

.spa-feedback {
    margin-top: 0.85rem;
}

.spa-results {
    margin-top: 1.2rem;
}

.spa-summary-grid,
.spa-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.85rem;
}

.spa-summary-card,
.spa-stat-card,
.spa-score-item {
    border: 1px solid #e6e9ee;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    background: #fafbfc;
}

.spa-summary-label,
.spa-stat-label {
    display: block;
    color: #5b6470;
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
}

.spa-summary-value,
.spa-stat-value {
    display: block;
    font-size: 1.05rem;
    line-height: 1.4;
}

.spa-summary-url {
    overflow-wrap: anywhere;
}

.spa-section {
    margin-top: 1.15rem;
}

.spa-section h3 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
}

.spa-list {
    margin: 0;
    padding-left: 1.2rem;
}

.spa-list li + li {
    margin-top: 0.35rem;
}

.spa-url-list a {
    overflow-wrap: anywhere;
}

.spa-score-list {
    display: grid;
    gap: 0.65rem;
}

.spa-score-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.spa-banner {
    border-radius: 14px;
    padding: 0.95rem 1rem;
    margin-bottom: 1rem;
}

.spa-banner p {
    margin: 0.4rem 0 0;
}

.spa-banner-warning {
    background: #fff7ed;
    border: 1px solid #fdba74;
}

.spa-banner-error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
}

.spa-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.spa-is-loading {
    opacity: 0.9;
}

.spa-sample-group {
    border: 1px solid #e6e9ee;
    border-radius: 12px;
    background: #fafbfc;
    padding: 0.8rem 0.95rem;
}

.spa-sample-group + .spa-sample-group {
    margin-top: 0.65rem;
}

.spa-sample-group summary {
    cursor: pointer;
    font-weight: 600;
}

@media (max-width: 640px) {
    .spa-input-row {
        flex-direction: column;
    }

    .spa-submit-button {
        width: 100%;
    }
}
