@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap";
@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Fallback;src:local(Arial);ascent-override:95.94%;descent-override:28.16%;line-gap-override:0.0%;size-adjust:104.76%}.geist_a71539c9-module__T19VSG__className{font-family:Geist,Geist Fallback;font-style:normal}.geist_a71539c9-module__T19VSG__variable{--font-geist-sans:"Geist", "Geist Fallback"}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/5ce348bf30bf5439-s.0ee55_hj9qcer.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/4fa387ec64143e14-s.0.qu-9752pffj.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/6306c77e7c8268e4-s.0mao5jbfbduzp.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/7d817b4c03b0c5f1-s.0uzt.a6d44yda.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/bbc41e54d2fcbd21-s.0mvwgmnhv29no.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(../media/797e433ab948586e-s.p.09zddjkbdep5a.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Geist Mono Fallback;src:local(Arial);ascent-override:74.67%;descent-override:21.92%;line-gap-override:0.0%;size-adjust:134.59%}.geist_mono_8d43a2aa-module__8Li5zG__className{font-family:Geist Mono,Geist Mono Fallback;font-style:normal}.geist_mono_8d43a2aa-module__8Li5zG__variable{--font-geist-mono:"Geist Mono", "Geist Mono Fallback"}
:root{--primary:#2563eb;--primary-hover:#1d4ed8;--systolic:#ef4444;--diastolic:#10b981;--pulse:#f59e0b;--bg-main:#f8fafc;--bg-card:#fff;--text-main:#1e293b;--text-muted:#64748b;--border:#e2e8f0;--shadow:0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;--shadow-lg:0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;--radius:12px}*{box-sizing:border-box;margin:0;padding:0}body{background-color:var(--bg-main);color:var(--text-main);padding:2rem 1rem;font-family:Inter,sans-serif;line-height:1.5}.container{max-width:1000px;margin:0 auto}header{text-align:center;margin-bottom:2rem}header h1{color:var(--primary);margin-bottom:.5rem;font-size:2.25rem;font-weight:700}header p{color:var(--text-muted)}.dashboard-grid,#secondary-grid{grid-template-columns:1fr;gap:1.5rem;display:grid}@media (min-width:768px){#secondary-grid{grid-template-columns:350px 1fr!important}}.medication-list{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:.75rem;display:grid}.history-section{gap:1.5rem;display:grid}.filter-bar{border-radius:var(--radius);border:1px solid var(--border);background-color:#fff;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem;padding:1rem 1.5rem;display:flex;box-shadow:0 2px 4px -2px #0000000d}.filter-bar-title{align-items:center;gap:.75rem;display:flex}.filter-bar-icon{color:var(--primary);background:#eff6ff;border-radius:8px;justify-content:center;align-items:center;padding:.5rem;display:flex}.filter-pill{background-color:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;align-items:center;gap:.5rem;min-width:auto;margin:0;padding:.35rem .75rem;transition:border-color .2s;display:flex}.filter-pill label{color:var(--text-muted);white-space:nowrap;font-size:.85rem;font-weight:500;margin:0!important}.filter-pill input{width:auto;color:var(--text-main);cursor:pointer;background:0 0;border:none;outline:none;padding:0;font-size:.9rem;font-weight:600}.card{background:var(--bg-card);border-radius:var(--radius);box-shadow:var(--shadow);border:1px solid var(--border);padding:1.5rem}.card h2{align-items:center;gap:.5rem;margin-bottom:1.25rem;font-size:1.25rem;font-weight:600;display:flex}.form-group{margin-bottom:1.25rem}label{color:var(--text-muted);margin-bottom:.5rem;font-size:.875rem;font-weight:500;display:block}input{border:1px solid var(--border);border-radius:8px;outline:none;width:100%;padding:.75rem 1rem;font-size:1rem;transition:all .2s}input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #2563eb1a}button{background-color:var(--primary);color:#fff;cursor:pointer;border:none;border-radius:8px;width:100%;padding:.75rem 1.5rem;font-size:1rem;font-weight:600;transition:background-color .2s,transform .1s}button:hover{background-color:var(--primary-hover)}button:active{transform:translateY(1px)}.btn-secondary{color:var(--primary);border:1px solid var(--primary);background-color:#fff}.btn-secondary:hover{background-color:#eff6ff}.filters{flex-wrap:wrap;gap:1rem;margin-bottom:1.5rem;display:flex}.filter-group{flex:1;min-width:150px}.chart-container{width:100%;height:500px;position:relative}.history-table-wrapper{margin-top:1rem;overflow-x:auto}table{border-collapse:collapse;text-align:left;width:100%}th{background-color:var(--bg-main);color:var(--text-muted);border-bottom:2px solid var(--border);padding:.75rem 1rem;font-size:.875rem;font-weight:600}td{border-bottom:1px solid var(--border);padding:1rem;font-size:.9375rem}.val-systolic{color:var(--systolic);font-weight:600}.val-diastolic{color:var(--diastolic);font-weight:600}.val-pulse{color:var(--pulse);font-weight:600}.actions{gap:.5rem;display:flex}.btn-icon{color:var(--text-muted);background:0 0;border-radius:4px;width:auto;padding:.4rem}.btn-icon:hover{color:#ef4444;background-color:#fee2e2}.empty-state{text-align:center;color:var(--text-muted);padding:3rem 1rem}.badge{border-radius:9999px;padding:.25rem .5rem;font-size:.75rem;font-weight:600}.badge-red{color:#ef4444;background-color:#fee2e2}.badge-green{color:#10b981;background-color:#d1fae5}@media (max-width:640px){body{padding:.75rem .5rem}.container{width:100%;padding:0 .5rem}.card{padding:1.25rem 1rem}header h1{font-size:1.75rem}.header-actions{flex-direction:column;width:100%;gap:.75rem!important}.header-actions button,.header-actions a{width:100%!important}.filter-bar{flex-direction:column;align-items:flex-start!important;padding:1.25rem!important}.filter-bar .filters{flex-direction:column;width:100%;align-items:stretch!important;gap:.75rem!important}.filter-bar .filter-group{justify-content:space-between;width:100%}.filter-bar .filters>div:nth-child(2){display:none!important}.chart-container{height:350px!important}.medication-list{grid-template-columns:1fr!important}th,td{padding:.75rem .5rem;font-size:.85rem}.badge{padding:.2rem .4rem;font-size:.7rem}form button{margin-top:.5rem}.container header{flex-direction:column;gap:1rem;align-items:flex-start!important}.container header div{width:100%}.container header button{width:100%!important}.container header h1{font-size:1.5rem}.history-table-wrapper td div[style*=flex]{flex-direction:column;align-items:stretch}}@media print{body{background-color:#fff;padding:0}.container{max-width:100%;margin:0}header p,aside,#print-btn,#print-chart-btn,.actions,.card h2 svg{display:none!important}.filters{gap:1rem;margin-bottom:1rem;display:flex}.filters input{color:#000;background:0 0;border:none;padding:0;font-weight:600}.filters label{color:#000;margin-right:.5rem;display:inline-block}body.print-only-chart #history-card{display:none!important}body.print-only-chart .chart-container{height:600px!important}.dashboard-grid{display:block}.card{box-shadow:none;border:none;margin-bottom:2rem;padding:0}.card h2{border-bottom:2px solid var(--primary);color:var(--primary);padding-bottom:.5rem}.chart-container{page-break-inside:avoid;height:400px}table{font-size:.8rem}th,td{padding:.5rem}.val-systolic,.val-diastolic,.val-pulse{color:#000!important}.badge{border:1px solid #ccc;color:#000!important;background:0 0!important}}
