#besthelptool-scanner-container {
    max-width: 650px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
#besthelptool-scanner-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
}
#besthelptool-scanner-input-group {
    display: flex;
    gap: 8px;
    width: 100%;
}
@media (max-width: 768px) {
    #besthelptool-scanner-input-group {
        flex-direction: column;
    }
}
#besthelptool-scanner-url {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s;
    box-sizing: border-box;
}
#besthelptool-scanner-url:focus {
    outline: none;
    border-color: #6366f1;
}
#besthelptool-scanner-submit {
    background: #6366f1;
    color: white;
    border: none;
    padding: 16px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
#besthelptool-scanner-submit:hover {
    background: #4f46e5;
}
#besthelptool-scanner-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
@keyframes besthelptool-spin {
    to { transform: rotate(360deg); }
}
#besthelptool-loading {
    text-align: center;
    margin-top: 16px;
    animation: besthelptool-pulse 2s ease-in-out infinite;
}
#besthelptool-loading p {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}
@keyframes besthelptool-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
#besthelptool-error {
    text-align: center;
    margin-top: 16px;
}
#besthelptool-error p {
    color: #f87171;
    font-size: 14px;
    font-weight: 600;
    background: rgba(248,113,113,0.1);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid rgba(248,113,113,0.2);
}
#besthelptool-results {
    background: white;
    border-radius: 16px;
    padding: 32px 28px;
    margin-top: 24px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}
#besthelptool-results-inner {
    text-align: center;
}
#besthelptool-score-ring {
    margin: 0 auto 16px;
}
#besthelptool-results h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}
#besthelptool-issues-text {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 24px;
}
#besthelptool-category-scores {
    margin-bottom: 24px;
    text-align: left;
}
.besthelptool-category {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.besthelptool-cat-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    width: 100px;
    flex-shrink: 0;
}
.besthelptool-cat-bar {
    flex: 1;
    height: 10px;
    background: #f1f5f9;
    border-radius: 5px;
    overflow: hidden;
}
.besthelptool-cat-fill {
    height: 100%;
    width: 0%;
    border-radius: 5px;
    transition: width 1s cubic-bezier(0.4,0,0.2,1);
}
.besthelptool-cat-value {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    width: 35px;
    text-align: right;
}
.besthelptool-embed-badge {
    margin-top: 18px;
    font-size: 13px;
    text-align: center;
}
.besthelptool-embed-badge a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.besthelptool-embed-badge a:hover {
    color: #4f46e5;
    text-decoration: underline;
}
.besthelptool-credit-link {
    text-align: center;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 14px;
}
.besthelptool-credit-link a {
    color: #64748b;
    text-decoration: underline;
}
