.qwa-page {
    --qwa-primary: #1d7a4c;
    --qwa-primary-dark: #14603a;
    --qwa-green: #1a9e5c;
    --qwa-amber: #c98a1a;
    --qwa-red: #c9391a;
    --qwa-border: #e3e6ec;
    max-width: 820px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1c1f26;
}

.qwa-hero {
    text-align: center;
    padding: 40px 20px 32px;
    background: linear-gradient(135deg, #1d7a4c 0%, #0f9e78 100%);
    color: #fff;
    border-radius: 12px;
    margin-bottom: 24px;
}
.qwa-hero h1 { margin: 0 0 10px; font-size: 28px; color: #fff; }
.qwa-hero p { margin: 0 auto; font-size: 16px; opacity: 0.92; max-width: 520px; }

.qwa-card {
    background: #fff;
    border: 1px solid var(--qwa-border);
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 1px 2px rgba(20,20,40,0.04);
    margin-bottom: 20px;
}

.qwa-url-row {
    display: flex;
    gap: 10px;
}
.qwa-field label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 6px;
}
#qwa-url {
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--qwa-border);
    border-radius: 6px;
    font-size: 15px;
}
#qwa-url:focus {
    outline: none;
    border-color: var(--qwa-primary);
    box-shadow: 0 0 0 3px rgba(29,122,76,0.12);
}

.qwa-submit {
    padding: 12px 22px;
    background: var(--qwa-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.qwa-submit:hover { background: var(--qwa-primary-dark); }
.qwa-submit:disabled { opacity: 0.7; cursor: default; }

.qwa-spinner {
    display: none;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: qwa-spin 0.7s linear infinite;
}
.qwa-submit.qwa-loading .qwa-spinner { display: inline-block; }
@keyframes qwa-spin { to { transform: rotate(360deg); } }

.qwa-error-box {
    background: #fdeaea;
    border: 1px solid #f3b6b6;
    color: #7a1c1c;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.qwa-score-banner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
    border-radius: 10px;
    margin-bottom: 20px;
    color: #fff;
}
.qwa-score-banner.qwa-score-good { background: var(--qwa-green); }
.qwa-score-banner.qwa-score-warn { background: var(--qwa-amber); }
.qwa-score-banner.qwa-score-bad  { background: var(--qwa-red); }
.qwa-score-number { font-size: 34px; font-weight: 800; line-height: 1; }
.qwa-score-label { font-size: 14px; opacity: 0.95; }

.qwa-check-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.qwa-check {
    display: flex;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    border: 1px solid var(--qwa-border);
}
.qwa-check-good { background: #eaf8f0; border-color: #bfe8d0; }
.qwa-check-warn { background: #fbf3e4; border-color: #ecd8a7; }
.qwa-check-bad  { background: #fbeae4; border-color: #f0c3b0; }
.qwa-check-info { background: #eef1f7; border-color: #d7dcea; }

.qwa-check-icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    margin-top: 1px;
}
.qwa-check-good .qwa-check-icon { background: var(--qwa-green); }
.qwa-check-warn .qwa-check-icon { background: var(--qwa-amber); }
.qwa-check-bad  .qwa-check-icon { background: var(--qwa-red); }
.qwa-check-info .qwa-check-icon { background: #7c8aa8; }

.qwa-check-body strong { display: block; margin-bottom: 3px; font-size: 14.5px; }
.qwa-check-body span { font-size: 13.5px; color: #444; line-height: 1.5; }

.qwa-broken-list {
    margin: 6px 0 0;
    padding-left: 18px;
    font-size: 13px;
}
