/* DigestPress Tools — Admission Eligibility Checker. Clean, mobile-friendly, matches a light editorial site. */
.dadm-wrap { max-width: 900px; margin: 0 auto; font-size: 16px; line-height: 1.55; color: #1f2937; }
.dadm-intro { color: #4b5563; margin: 0 0 20px; }

.dadm-panel { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; margin: 0 0 24px; }
.dadm-panel-title { font-size: 19px; margin: 0 0 14px; color: #111827; }

.dadm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
@media (max-width: 640px) { .dadm-grid { grid-template-columns: 1fr; } }

.dadm-field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: #374151; }
.dadm-field select, .dadm-field input[type="number"] { width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; background: #fff; color: #111827; }

.dadm-note { font-size: 13px; color: #6b7280; margin: 12px 0 0; font-weight: 400; }

.dadm-subjects { margin-top: 18px; padding-top: 18px; border-top: 1px solid #e5e7eb; }
.dadm-subjects .dadm-grid { margin-top: 14px; }
.dadm-subjects[hidden] { display: none; }

.dadm-btn { padding: 10px 18px; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; margin-top: 14px; }
.dadm-btn-secondary { background: #fff; color: #374151; border: 1px solid #d1d5db; }

.dadm-hint { color: #6b7280; font-size: 15px; margin: 0 0 24px; }
.dadm-hint[hidden] { display: none; }

.dadm-results { margin: 0 0 24px; }
.dadm-results[hidden] { display: none; }
.dadm-summary { font-size: 18px; font-weight: 700; color: #111827; background: #f0fdf4; border: 1px solid #86efac; border-radius: 10px; padding: 14px 18px; margin: 0 0 16px; }

.dadm-table-wrap { overflow-x: auto; overscroll-behavior-x: contain; margin: 16px 0 12px; }
.dadm-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dadm-table th, .dadm-table td { border: 1px solid #e5e7eb; padding: 9px 12px; text-align: left; background: #fff; }
.dadm-table th { background: #f3f4f6; color: #111827; font-size: 14px; }
.dadm-table td { color: #374151; vertical-align: top; }
.dadm-uni { font-weight: 700; color: #111827; white-space: nowrap; }
.dadm-unit { min-width: 160px; }
.dadm-result { white-space: nowrap; }
.dadm-reason { font-size: 14px; min-width: 220px; }

.dadm-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.dadm-badge-eligible { background: #dcfce7; color: #166534; }
.dadm-badge-not { background: #fee2e2; color: #991b1b; }
.dadm-badge-info { background: #fef3c7; color: #92400e; }

.dadm-support { margin-top: 36px; border-top: 1px solid #e5e7eb; padding-top: 8px; }
.dadm-support h2 { font-size: 22px; margin: 28px 0 10px; color: #111827; }
.dadm-support h3 { font-size: 18px; margin: 22px 0 6px; color: #111827; }
.dadm-support p { color: #374151; margin: 10px 0; }
.dadm-criteria-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.dadm-criteria-table th, .dadm-criteria-table td { border: 1px solid #e5e7eb; padding: 9px 12px; text-align: left; }
.dadm-criteria-table th { background: #f9fafb; color: #111827; }
.dadm-criteria-table td { color: #374151; }
