:root{color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}*{box-sizing:border-box}body{margin:0;background:#0b1220;color:#e8eef8;min-height:100vh}button{font:inherit;padding:.6rem 1rem;border-radius:8px;border:1px solid #2a3550;background:#1a2540;color:#e8eef8;cursor:pointer}button:hover{background:#243154}.app{max-width:720px;margin:0 auto;padding:1.25rem}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;background:#0b1220;text-align:center;padding:1rem}.banner-error{border:1px solid #5a2330;background:#2a1219;color:#ffb8c4;padding:.75rem 1rem;border-radius:8px;margin-bottom:1rem;cursor:pointer}.banner-ok{border:1px solid #235a40;background:#122a1f;color:#b8ffd0;padding:.75rem 1rem;border-radius:8px;margin-bottom:1rem;cursor:pointer}.card{border:1px solid #2a3550;background:#131c33;border-radius:12px;padding:1rem 1.25rem;margin-top:1rem}.card h2{margin-top:0;font-size:1.1rem;letter-spacing:.02em;text-transform:lowercase}.row{display:flex;gap:.5rem;align-items:center;flex-wrap:wrap}button.subtle{background:transparent;border-color:#2a3550;color:#99a4c0}.muted{color:#99a4c0;font-size:.9rem}.workout-list{list-style:none;padding:0;margin:0}.workout-list li{display:grid;grid-template-columns:24px 88px 1fr auto auto;gap:.6rem;align-items:baseline;padding:.45rem 0;border-bottom:1px solid #1d2742;font-size:.95rem}.workout-list li:last-child{border-bottom:none}.workout-list .glyph{font-size:1rem}.workout-list .date{color:#99a4c0;font-variant-numeric:tabular-nums;font-size:.85rem}.workout-list .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workout-list .meta{color:#cdd6ef;font-variant-numeric:tabular-nums;font-size:.85rem;text-align:right;min-width:56px}a,a:visited{color:inherit;text-decoration:none}.form-link{font-size:.85rem;color:#99a4c0;padding:.25rem .5rem;border:1px solid #2a3550;border-radius:6px;white-space:nowrap}.form-link:hover{background:#1a2540;color:#e8eef8}button.primary{background:#2d4a8a;border-color:#3a5fb3;color:#fff;font-weight:600}button.primary:hover{background:#355aaa}.template-row{display:flex;justify-content:space-between;align-items:center;gap:.6rem;padding:.5rem 0;border-bottom:1px solid #1d2742}.template-row:last-child{border-bottom:none}.template-name{font-weight:600}.title-input{flex:1;background:transparent;border:none;border-bottom:1px solid #2a3550;color:inherit;font-size:1.2rem;padding:.3rem 0;font-family:inherit}.title-input:focus{outline:none;border-bottom-color:#3a5fb3}.set-list{list-style:decimal inside;padding:0;margin:.5rem 0;font-variant-numeric:tabular-nums}.set-list li{display:flex;justify-content:space-between;padding:.25rem 0;border-bottom:1px solid #1d2742}.set-list li:last-child{border-bottom:none}.set-input{display:flex;gap:.5rem;align-items:center;margin-top:.6rem}.set-input input{background:#1a2540;border:1px solid #2a3550;color:inherit;padding:.6rem .5rem;border-radius:8px;font-size:1rem;width:70px;text-align:center;font-family:inherit;font-variant-numeric:tabular-nums}.set-input input:focus{outline:none;border-color:#3a5fb3}table.stats{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}table.stats th,table.stats td{text-align:left;padding:.4rem 0;border-bottom:1px solid #1d2742}table.stats th{color:#99a4c0;font-weight:500;font-size:.85rem;text-transform:lowercase}table.stats td:nth-child(2),table.stats td:nth-child(3),table.stats th:nth-child(2),table.stats th:nth-child(3){text-align:right}table.stats tbody tr:last-child td{border-bottom:none}.card input[list]{background:#1a2540;border:1px solid #2a3550;color:inherit;padding:.6rem .75rem;border-radius:8px;font-size:1rem;font-family:inherit;width:100%;max-width:320px;margin-right:.5rem}.bp-tag{display:inline-block;padding:.1rem .5rem;border-radius:999px;font-size:.75rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase}.bp-hypotension{background:#1f3a5f;color:#cfe4ff}.bp-normal{background:#1f4a32;color:#cff0d8}.bp-elevated{background:#4a4020;color:#f5e6a8}.bp-stage1{background:#5a3a1a;color:#f5cf9a}.bp-stage2{background:#5a2020;color:#f5b5b5}.bp-crisis{background:#800;color:#fff;font-weight:700}.form-row{display:flex;flex-direction:column;margin-bottom:.75rem}.form-row label{font-weight:600;margin-bottom:.25rem}.form-row input{padding:.4rem .6rem;font-size:1rem}.form-row .muted{font-size:.8rem;margin-top:.2rem}
