/* NAP Tests plugin — dashboard, profile, runner styles */

/* Account dashboard */
.nap-dash { margin-top: 8px; }
.nap-h { font-size: 20px; margin: 28px 0 16px; }
.nap-empty { background: #f1f5f9; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 20px; color: #475569; font-size: 14.5px; line-height: 1.9; }
.nap-empty a { color: #0f766e; font-weight: 700; }
.nap-tests-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 720px) { .nap-tests-grid { grid-template-columns: 1fr; } }
.nap-test-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.nap-test-card h3 { margin: 0; font-size: 16.5px; }
.nap-test-card p { margin: 0; color: #475569; font-size: 14px; line-height: 1.8; }
.nap-time { font-size: 12.5px; color: #64748b; }
.nap-last { font-size: 13.5px; color: #475569; background: #f0fdfa; border-radius: 8px; padding: 8px 12px; }
.nap-last strong { color: #0f766e; }
.nap-run-btn { margin-top: 10px; align-self: flex-start; background: #0f766e; color: #fff; border-radius: 999px; padding: 10px 26px; font-weight: 700; text-decoration: none; font-size: 14px; }
.nap-run-btn:hover { background: #115e59; color: #fff; }

/* Results table */
.nap-table-wrap { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 12px; }
.nap-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.nap-table th { background: #f8fafc; text-align: right; padding: 12px 16px; font-size: 13px; color: #475569; border-bottom: 1px solid #e2e8f0; white-space: nowrap; }
.nap-table td { padding: 12px 16px; border-bottom: 1px solid #e2e8f0; color: #1e293b; }
.nap-table tr:last-child td { border-bottom: 0; }
.nap-table td strong { color: #0f766e; }

/* Clinical profile fieldset */
.nap-profile { border: 1px solid #e2e8f0; border-radius: 12px; padding: 20px; margin-top: 24px; }
.nap-profile legend { font-weight: 700; padding: 0 8px; }
.nap-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .nap-3col { grid-template-columns: 1fr; } }
.nap-radios { display: flex; gap: 20px; padding: 6px 0; }
.nap-radios label { display: flex; align-items: center; gap: 6px; font-weight: 400; margin: 0; }

/* Runner */
.nap-runner-wrap { padding: 40px 0 80px; }
.nap-runner { max-width: 860px; margin: 0 auto; }
.nap-runner-head { text-align: center; margin-bottom: 24px; }
.nap-runner-head h1 { font-size: 26px; margin-bottom: 6px; }
.nap-runner-head p { color: #475569; margin: 0; }
.nap-stage { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; box-shadow: 0 2px 6px rgba(15,23,42,.06), 0 24px 56px rgba(15,23,42,.1); padding: 32px; min-height: 420px; }
.nap-intro { text-align: center; display: flex; flex-direction: column; gap: 24px; align-items: center; padding: 40px 20px; }
.nap-instructions { max-width: 560px; line-height: 2; color: #475569; font-size: 15.5px; }
.nap-btn { background: #0f766e; color: #fff; border: 0; border-radius: 999px; padding: 13px 40px; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; display: inline-block; }
.nap-btn:hover { background: #115e59; color: #fff; }
.nap-hud { display: flex; justify-content: space-between; color: #64748b; font-size: 13.5px; margin-bottom: 16px; }
.nap-stimulus { min-height: 250px; display: grid; place-items: center; }
.nap-feedback { min-height: 32px; text-align: center; font-weight: 700; font-size: 15px; }
.nap-feedback.ok { color: #16a34a; }
.nap-feedback.err { color: #dc2626; }
.nap-letter { font-size: 96px; font-weight: 800; color: #1e293b; line-height: 1; }
.nap-done { text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; padding: 40px 20px; }
.nap-done h2 { margin: 0; }
.nap-score { font-size: 22px; font-weight: 800; color: #0f766e; }
.nap-summary { color: #475569; line-height: 2; }
.nap-save-status { font-size: 13.5px; color: #64748b; }
.nap-save-status.ok { color: #16a34a; }
.nap-save-status.err { color: #dc2626; }

/* WCST */
.nap-wcst { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.nap-wcst-refs { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.nap-card { width: 120px; height: 120px; border: 2px solid #cbd5e1; border-radius: 10px; background: #fff; display: grid; place-items: center; cursor: pointer; padding: 8px; transition: transform .15s, border-color .15s; }
button.nap-card:hover { transform: translateY(-3px); border-color: #0f766e; }
.nap-card-target { cursor: default; border-style: dashed; }

/* IGT */
.nap-igt { display: flex; flex-direction: column; gap: 20px; align-items: center; }
.nap-igt-capital { font-size: 18px; font-weight: 800; color: #1e293b; }
.nap-igt-decks { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.nap-deck { width: 110px; height: 150px; border-radius: 10px; border: 2px solid #cbd5e1; background: linear-gradient(160deg, #f8fafc, #eef2f7); font-size: 34px; font-weight: 800; color: #334155; cursor: pointer; transition: transform .15s, border-color .15s; }
.nap-deck:hover { transform: translateY(-3px); border-color: #0f766e; }
.nap-igt-outcome { font-weight: 800; font-size: 17px; min-height: 26px; }
.nap-igt-outcome.gain { color: #16a34a; }
.nap-igt-outcome.loss { color: #dc2626; }
