
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', 'PT Serif', Georgia, 'Times New Roman', serif;
      background: #e8ecf1;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      min-height: 100vh;
      margin: 0;
      padding: 30px 20px;
    }

    .paper-test {
      max-width: 750px;
      width: 100%;
      background: #ffffff;
      border-radius: 8px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
      padding: 48px 44px 52px;
      font-size: 0.98rem;
      color: #1a1f2b;
      line-height: 1.6;
      border: 1px solid #d0d5dd;
      page-break-inside: avoid;
    }

    @media print {
      body {
        background: white;
        padding: 0;
      }
      .paper-test {
        box-shadow: none;
        border: 1px solid #ccc;
        padding: 36px 40px 44px;
        max-width: 100%;
        border-radius: 0;
      }
      .no-print {
        display: none;
      }
    }

    .header-print {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      border-bottom: 2px solid #1e293b;
      padding-bottom: 18px;
      margin-bottom: 32px;
      flex-wrap: wrap;
    }

    .logo-area h2 {
      font-size: 2rem;
      font-weight: 680;
      letter-spacing: -0.5px;
      color: #0f172a;
      margin-bottom: 4px;
    }

    .logo-area .subtitle {
      font-size: 0.95rem;
      color: #475569;
      font-weight: 450;
    }

    .date-line {
      font-size: 0.85rem;
      color: #64748b;
      text-align: right;
    }

    .date-line span {
      border-bottom: 1px dashed #64748b;
      padding-bottom: 2px;
      margin-left: 6px;
      min-width: 90px;
      display: inline-block;
    }

    .instruction {
      background: #f8fafc;
      border-left: 4px solid #2563eb;
      padding: 14px 18px;
      margin-bottom: 34px;
      border-radius: 0 8px 8px 0;
      font-size: 0.92rem;
      color: #1e293b;
    }

    .scale-table {
      width: 100%;
      border-collapse: collapse;
      margin-bottom: 36px;
    }

    .scale-table th {
      text-align: left;
      font-weight: 600;
      font-size: 0.9rem;
      color: #334155;
      padding-bottom: 10px;
      border-bottom: 1px solid #cbd5e1;
    }

    .scale-table td {
      padding: 12px 8px;
      border-bottom: 1px solid #e9eef2;
      vertical-align: middle;
    }

    .scale-name {
      font-weight: 520;
      color: #0f172a;
    }

    .radio-group {
      display: flex;
      gap: 14px;
      flex-wrap: wrap;
      align-items: center;
    }

    .radio-option {
      display: flex;
      align-items: center;
      gap: 3px;
      font-size: 0.85rem;
      color: #334155;
    }

    .radio-option input[type="radio"] {
      appearance: none;
      width: 16px;
      height: 16px;
      border: 1.5px solid #64748b;
      border-radius: 50%;
      margin: 0 2px;
      background: white;
      transition: 0.1s;
      cursor: pointer;
    }

    .radio-option input[type="radio"]:checked {
      border-color: #2563eb;
      background: #2563eb;
      box-shadow: inset 0 0 0 3px white;
    }

    .range-hint {
      font-size: 0.7rem;
      color: #94a3b8;
      margin-left: 10px;
    }

    .scoring-box {
      background: #f9fafb;
      border: 1px solid #e2e8f0;
      border-radius: 12px;
      padding: 24px 28px;
      margin: 32px 0 28px;
    }

    .scoring-box h3 {
      font-size: 1.25rem;
      font-weight: 650;
      margin-bottom: 16px;
      color: #0f172a;
    }

    .scoring-steps {
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding-left: 4px;
    }

    .step {
      display: flex;
      align-items: baseline;
      gap: 8px;
    }

    .step-number {
      background: #1e293b;
      color: white;
      border-radius: 20px;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      font-weight: 600;
      flex-shrink: 0;
    }

    .formula {
      font-family: monospace;
      background: #eef2f6;
      padding: 2px 8px;
      border-radius: 4px;
      font-size: 0.9rem;
    }

    .interpretation {
      margin-top: 30px;
      border-top: 1px dashed #cbd5e1;
      padding-top: 28px;
    }

    .interp-title {
      font-weight: 680;
      font-size: 1.1rem;
      margin-bottom: 16px;
      color: #0f172a;
    }

    .level-grid {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .level-row {
      display: flex;
      align-items: flex-start;
      gap: 14px;
      padding: 8px 0;
    }

    .level-badge {
      min-width: 110px;
      font-weight: 650;
      font-size: 0.9rem;
      padding: 4px 10px;
      border-radius: 20px;
      text-align: center;
      background: #f1f5f9;
      color: #1e293b;
    }

    .level-desc {
      font-size: 0.88rem;
      color: #334155;
    }

    .footer-note {
      margin-top: 36px;
      font-size: 0.78rem;
      color: #8b9aaf;
      text-align: center;
      border-top: 1px solid #e9eef3;
      padding-top: 20px;
    }

    .print-btn {
      background: #2563eb;
      color: white;
      border: none;
      padding: 10px 24px;
      border-radius: 30px;
      font-weight: 550;
      font-size: 0.95rem;
      cursor: pointer;
      margin-top: 20px;
      transition: background 0.2s;
    }

    .print-btn:hover {
      background: #1d4ed8;
    }
  