.wellness-card{margin:20px 0;padding:24px;border:1px solid #d5c3e7;border-left:6px solid #f28b22;border-radius:18px;background:#fff;box-shadow:0 8px 28px #4420640c;color:#30233d}.wellness-card h2{font-size:clamp(19px,3vw,25px);color:#5e2882}.wellness-badge{display:inline-block;padding:7px 12px;border-radius:30px;background:#f0e7fa;color:#57247c}.wellness-meta,.wellness-notifications{font-size:13px;color:#655b70;overflow-wrap:anywhere}.wellness-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.wellness-buttons button{min-height:44px;white-space:normal}.wellness-section{border:1px solid #ddd4e5;border-radius:12px;margin:14px 0;padding:16px}.wellness-section summary{font-weight:700;color:#5a297a;cursor:pointer;padding:6px 0;min-height:32px}.wellness-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:16px}.wellness-field{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:600;min-width:0}.wellness-field input,.wellness-field select,.wellness-field textarea,.wellness-followup textarea,.wellness-followup input{box-sizing:border-box;width:100%;max-width:100%;min-height:44px;padding:11px;border:1px solid #bdb1c7;border-radius:8px;background:#fff;color:#30233d;font:inherit}.wellness-field textarea{resize:vertical}.wellness-options{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.wellness-options legend{padding:0;margin-bottom:8px}.wellness-options label,.wellness-check{display:flex;align-items:flex-start;gap:10px;line-height:1.5}.wellness-options input,.wellness-check input{width:20px;min-height:20px;height:20px;flex-shrink:0}.wellness-check{margin:16px 0}.wellness-safety,.wellness-privacy{background:#fff6e8;border:1px solid #f0cf9f;border-radius:10px;padding:14px;font-size:14px;line-height:1.6}.wellness-privacy{background:#f7f1fc;border-color:#dbc7ec}.wellness-message,.wellness-save-status{line-height:1.5;color:#216538;overflow-wrap:anywhere}.wellness-message.error,.wellness-save-status.error{color:#a22635}.wellness-section dt{font-weight:600;margin-top:14px}.wellness-section dd{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.wellness-followup label{display:flex;flex-direction:column;gap:8px;margin:12px 0}.wellness-card button:focus-visible,.wellness-card input:focus-visible,.wellness-card textarea:focus-visible,.wellness-card select:focus-visible,.wellness-card summary:focus-visible{outline:3px solid #b176d5;outline-offset:3px}@media(max-width:640px){.wellness-card{padding:16px}.wellness-grid{grid-template-columns:1fr}.wellness-section{padding:11px}.wellness-buttons button{flex:1 1 160px}}
/* Allow questionnaire text and neighbouring IL2L grid panels to shrink on phones. */
.wellness-card,.wellness-section,.wellness-content,.il2l-wellness-captain,#il2lWellnessMember{min-width:0;max-width:100%;overflow-wrap:anywhere}.wt-main-grid>*,.wt-admin-grid>*{min-width:0}@media(max-width:640px){.wt-topbar{flex-wrap:wrap;gap:8px}.wt-top-actions{max-width:100%}.wellness-section dl{min-width:0}.wellness-options legend{max-width:100%}}
