.cs-hdr-wrap {
    max-width: 900px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1a1a2e;
}

.cs-hdr-header h2 {
    font-size: 1.6rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.cs-hdr-header p {
    color: #555;
    font-size: 0.95rem;
    margin: 0 0 2rem 0;
}

.cs-hdr-form {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.8rem;
}

.cs-hdr-field {
    margin-bottom: 1.5rem;
}

.cs-hdr-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

.cs-hdr-input {
    width: 100%;
    max-width: 500px;
    padding: 0.7rem 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
}

.cs-hdr-input:focus {
    outline: none;
    border-color: #4361ee;
}

.cs-hdr-btn {
    background: #4361ee;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.cs-hdr-btn:hover {
    background: #3a56d4;
}

.cs-hdr-loading {
    margin-top: 1.2rem;
    color: #888;
    font-style: italic;
}

.cs-hdr-output {
    margin-top: 2rem;
}

.cs-hdr-summary {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
    color: #666;
}

.cs-hdr-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    color: white;
}

.cs-hdr-badge.good {
    background: #28a745;
}

.cs-hdr-badge.missing {
    background: #dc3545;
}

.cs-hdr-badge.warn {
    background: #ffc107;
    color: #000;
}

.cs-hdr-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.cs-hdr-table th,
.cs-hdr-table td {
    border: 1px solid #e0e0e0;
    padding: 0.7rem 1rem;
    text-align: left;
    font-size: 0.9rem;
}

.cs-hdr-table th {
    background: #fafafa;
    font-weight: 600;
}

.cs-hdr-warning {
    background: #fff3cd;
    border: 1px solid #ffe69c;
    border-radius: 8px;
    padding: 1rem 1.2rem;
    font-size: 0.9rem;
    color: #856404;
    margin-top: 1rem;
}

.cs-hdr-error {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    color: #721c24;
}

@media (max-width: 640px) {
    .cs-hdr-input {
        max-width: 100%;
    }
    .cs-hdr-table {
        font-size: 0.85rem;
    }
    .cs-hdr-table th, .cs-hdr-table td {
        padding: 0.5rem 0.6rem;
    }
}
