/* ASPN Club build 55: health documents + staff notes. Ivory/charcoal, sand accent. */
.h55-card{background:#ffffff;border:1px solid #EDE6DA;border-radius:20px;padding:22px 22px 18px;margin:0 0 18px;font-family:'Helvetica Neue',Arial,sans-serif;color:#1E1005}
.h55-h{font-size:17px;font-weight:650;margin:0 0 4px;letter-spacing:.2px}
.h55-sub{font-size:13px;color:#6B5D50;margin:0 0 14px}
.h55-upload input[type=text],.h55-noteform input[type=text]{width:100%;box-sizing:border-box;border:1px solid #EDE6DA;border-radius:12px;padding:10px 12px;font-size:14px;margin:0 0 8px;background:#FAF8F4;color:#1E1005}
.h55-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:0 0 10px}
.h55-row select,.h55-row input[type=date]{border:1px solid #EDE6DA;border-radius:12px;padding:9px 10px;font-size:13px;background:#FAF8F4;color:#1E1005}
.h55-row input[type=file]{font-size:13px;color:#6B5D50}
.h55-btn{background:#1E1005;color:#FAF8F4;border:0;border-radius:999px;padding:10px 22px;font-size:14px;font-weight:550;cursor:pointer}
.h55-btn:active{opacity:.85}
.h55-status{font-size:12.5px;color:#A8814F;margin-left:10px}
.h55-docrow{display:flex;align-items:center;gap:10px;padding:11px 2px;border-top:1px solid #F3EEE6}
.h55-docrow:first-of-type{border-top:0}
.h55-doclink{display:flex;align-items:center;gap:10px;flex:1;min-width:0;text-decoration:none;color:inherit;flex-wrap:wrap}
.h55-badge{font-size:11px;font-weight:650;letter-spacing:.4px;text-transform:uppercase;padding:3px 9px;border-radius:999px;background:#F3EBDD;color:#7A5A33;white-space:nowrap}
.h55-badge.prescription{background:#E8EFE8;color:#3F6146}
.h55-badge.doctor_note{background:#E9EDF3;color:#41547A}
.h55-badge.medical{background:#E9EDF3;color:#41547A}
.h55-badge.fitness{background:#E8EFE8;color:#3F6146}
.h55-badge.wellness{background:#F3EBDD;color:#7A5A33}
.h55-doctitle{font-size:14px;font-weight:550}
.h55-docmeta{font-size:12px;color:#6B5D50}
.h55-delbtn{background:none;border:1px solid #EDE6DA;border-radius:999px;padding:6px 13px;font-size:12px;color:#6B5D50;cursor:pointer}
.h55-empty{font-size:13px;color:#6B5D50;padding:8px 2px}
.h55-noteform textarea{width:100%;box-sizing:border-box;border:1px solid #EDE6DA;border-radius:12px;padding:10px 12px;font-size:13.5px;line-height:1.5;background:#FAF8F4;color:#1E1005;font-family:inherit;margin:0 0 10px}
.h55-chip{display:inline-flex;align-items:center;gap:6px;border:1px solid #EDE6DA;background:#FAF8F4;border-radius:999px;padding:6px 13px;font-size:12.5px;color:#3D3027;cursor:pointer}
.h55-chip.on{background:#1E1005;color:#FAF8F4;border-color:#1E1005}
.h55-chip input{margin:0}
.h55-note{border-top:1px solid #F3EEE6;padding:12px 2px}
.h55-notehead{display:flex;gap:10px;align-items:center;font-size:14.5px}
.h55-notemeta{font-size:12px;color:#6B5D50;margin:3px 0 6px}
.h55-notebody{font-size:13.5px;line-height:1.55;color:#3D3027;margin:0;white-space:normal}
.h55-doclink{border:0;background:none;padding:0;text-align:left;font:inherit;cursor:pointer;color:inherit;min-height:44px}.h55-card{font-family:inherit;color:var(--ink,#252525);background:var(--surface,#fff)}.h55-card input,.h55-card select,.h55-card textarea{min-width:0;max-width:100%}.h55-notehead{flex-wrap:wrap}.h55-docrow{min-width:0}.h55-doctitle,.h55-docmeta{overflow-wrap:anywhere}.h55-row input[type=file]{width:100%;max-width:100%}.h55-btn,.h55-delbtn,.h55-chip{min-height:44px}.h55-h{font-family:inherit}:root[data-theme=night] .h55-card{background:#2e2e2e;border-color:#444;color:#e6e0d8}:root[data-theme=night] .h55-sub,:root[data-theme=night] .h55-docmeta,:root[data-theme=night] .h55-empty,:root[data-theme=night] .h55-notemeta,:root[data-theme=night] .h55-notebody{color:#c2b9ad}:root[data-theme=night] .h55-card input,:root[data-theme=night] .h55-card select,:root[data-theme=night] .h55-card textarea,:root[data-theme=night] .h55-chip{background:#333;color:#e6e0d8;border-color:#555}:root[data-theme=night] .h55-note,:root[data-theme=night] .h55-docrow{border-color:#444}:root[data-theme=night] .h55-delbtn{border-color:#555;color:#d8cebf}@media(max-width:500px){.h55-card{padding:18px 15px}.h55-row{align-items:stretch}.h55-row select,.h55-row input[type=date]{flex:1 1 120px}.h55-docrow{align-items:flex-start}.h55-doclink{display:grid;gap:6px}.h55-badge{justify-self:start}.h55-status{display:block;margin:8px 0}}
:root[data-theme=night] .h55-btn,:root[data-theme=night] .h55-chip.on{background:#a6886e;border-color:#a6886e;color:white}.h55-upload{margin-bottom:16px}.h55-card input[type=file]::file-selector-button{border:1px solid #d9d0c3;background:#f1ece5;color:#3d3027;border-radius:9px;padding:10px 14px;margin-right:10px;cursor:pointer}:root[data-theme=night] .h55-card input[type=file]::file-selector-button{border-color:#555;background:#444;color:#eee}
[data-theme="night"] .h55-card input::placeholder,[data-theme="night"] .h55-card textarea::placeholder{color:#aaa59f;opacity:1}
[data-theme="night"] .h55-card input[type="date"]{color-scheme:dark}
.h55-card [hidden]{display:none!important}
