* { box-sizing: border-box; }
        body {
            margin: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
            background: #f3f6fb;
            color: #1f2937;
            font-family: 'DB Helvethaica X', Tahoma, Arial, sans-serif;
        }
        .card {
            width: 100%;
            max-width: 620px;
            padding: 30px;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 8px 30px rgba(31, 41, 55, .12);
        }
        h1 { margin: 0 0 8px; font-size: 26px; }
        .hint { margin: 0 0 24px; color: #6b7280; }
        .scores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
        .candidate-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid #e5e7eb; }
        .candidate-fields .full { grid-column: 1 / -1; }
        label { display: block; font-weight: 700; }
        input {
            width: 100%;
            margin-top: 7px;
            padding: 12px;
            border: 1px solid #cbd5e1;
            border-radius: 8px;
            font-size: 18px;
        }
        input:focus { outline: 2px solid #93c5fd; border-color: #2563eb; }
        .total { margin: 22px 0; padding: 14px; background: #eff6ff; border-radius: 8px; font-size: 20px; font-weight: 700; }
        .error { margin-bottom: 18px; padding: 12px 16px; color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; border-radius: 8px; }
        button { width: 100%; padding: 13px; border: 0; border-radius: 8px; background: #2563eb; color: #fff; font-size: 17px; cursor: pointer; }
        button:hover { background: #1d4ed8; }
        @media (max-width: 500px) { .scores, .candidate-fields { grid-template-columns: 1fr; } .candidate-fields .full { grid-column: auto; } .card { padding: 22px; } }
