* {
    box-sizing: border-box;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

body {
    margin: 0;
    background: #f4f6f8;
    color: #333;
}

.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: transform .2s;
}

.card:hover {
    transform: translateY(-4px);
}

.domain {
    font-weight: 600;
    margin-bottom: 10px;
    word-break: break-word;
}

.percent {
    font-size: 32px;
    font-weight: bold;
}

.status {
    margin-top: 10px;
    padding: 6px 12px;
    display: inline-block;
    border-radius: 20px;
    font-size: 14px;
}

.ok {
    background: #e6f7ec;
    color: #0f7a3b;
}

.warn {
    background: #fff4d6;
    color: #8a6d1d;
}

.bad {
    background: #fde8e8;
    color: #b42318;
}

.na {
    background: #eee;
    color: #666;
}

/* ADMIN */
form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

input {
    width: 80px;
    padding: 6px;
}

button {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
}

button:hover {
    opacity: .9;
}