body.bg {
    background: #f5f7fb;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    padding: 24px;
}

.card {
    max-width: 480px;
    margin: 24px auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.card-wide {
    max-width: 720px;
}

.logo-wrap {
    text-align: center;
    margin-bottom: 16px;
}
.logo-wrap img {
    max-height: 48px;
}

h1, h2 {
    color: #014aad;
    margin-top: 0;
}

label {
    display: block;
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 4px;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #d0d4e0;
    font-size: 0.95rem;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

.btn-primary {
    background: #014aad;
    color: #ffffff;
    border: none;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    margin-top: 16px;
    cursor: pointer;
}
.btn-primary:hover {
    background: #013888;
}

.btn-secondary {
    background: #ffffff;
    color: #014aad;
    border: 1px solid #014aad;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
    margin-right: 8px;
}
.btn-secondary:hover {
    background: #e7f0ff;
}

.btn-affirm {
    background: #ffffff;
    color: #f25c19;
    border: 1px solid #f25c19;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-affirm.selected {
    background: #f25c19;
    color: #ffffff;
}
.btn-affirm:hover {
    background: #d44f14;
}

.error {
    background: #ffe5e5;
    color: #b00020;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.list {
    padding-left: 18px;
    font-size: 0.9rem;
}

.phrase {
    background: #f5f7fb;
    border-radius: 8px;
    padding: 10px;
    font-size: 0.9rem;
    margin: 10px 0 16px;
}

.test-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}
.timer-label {
    font-weight: 600;
    color: #f25c19;
}

.progress-wrap {
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: #555;
}
.progress-bar {
    background: #e4e8f5;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 6px;
    height: 8px;
}
.progress-bar-inner {
    background: #f25c19;
    height: 100%;
    width: 0;
    transition: width 0.3s ease-out;
}

.question-text {
    font-size: 1rem;
    margin-top: 8px;
    margin-bottom: 16px;
}

.timer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.note {
    font-size: 0.85rem;
    color: #666;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    margin-top: 10px;
}
.table th,
.table td {
    border: 1px solid #d2d6e5;
    padding: 6px 8px;
}
.table th {
    background: #f5f7fb;
    text-align: left;
}