@import"https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap";:root{font-family:DM Sans,system-ui,sans-serif;color:#202b3c;background:#f5f7fa;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,textarea,select{font:inherit}button{border:0;border-radius:10px;padding:12px 16px;background:#263e5c;color:#fff;font-weight:600;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}button.secondary{background:#e9eef4;color:#263e5c}.shell{max-width:1120px;margin:0 auto;padding:28px 22px 40px}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center;max-width:1000px}.brand h1,.welcome h1{font:800 clamp(2rem,4vw,3.2rem)/1.12 Manrope,sans-serif;letter-spacing:-.045em;margin:16px 0}.brand .muted{max-width:420px;line-height:1.7}.mark{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;background:#263e5c;color:#fff;font:800 24px Manrope;margin-bottom:28px}.small-mark{width:36px;height:36px;font-size:18px;margin:0;border-radius:11px}.eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.14em;color:#6d7d91;margin:0 0 8px}.panel{background:#fff;border:1px solid #e5eaf0;border-radius:18px;padding:24px;box-shadow:0 8px 26px #1d35570a}.auth-panel{max-width:430px;width:100%;justify-self:end}.panel h2{font:700 1.35rem Manrope,sans-serif;margin:5px 0 10px}.muted{color:#718096}.stack{display:flex;flex-direction:column;gap:16px;margin-top:22px}label{display:flex;flex-direction:column;gap:7px;font-size:.88rem;font-weight:600;color:#34445a}input,textarea,select{width:100%;border:1px solid #dbe2ea;border-radius:10px;padding:12px;background:#fff;color:#202b3c;outline:none}input:focus,textarea:focus,select:focus{border-color:#6885a7;box-shadow:0 0 0 3px #6885a71c}textarea{resize:vertical;line-height:1.6}.text-button{background:transparent;color:#365579;padding:10px 0;margin-top:8px}.small{font-size:.78rem;line-height:1.55}.notice{padding:11px 13px;border-radius:10px;background:#edf4f8;color:#294b65;font-size:.88rem;overflow-wrap:anywhere}.topbar{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e2e8ef;padding-bottom:20px}.brand-inline{display:flex;align-items:center;gap:12px}.brand-inline .eyebrow{margin:0 0 3px}.welcome{display:flex;align-items:end;justify-content:space-between;gap:20px;padding:36px 0 26px}.welcome h1{font-size:clamp(1.9rem,4vw,2.7rem);margin:8px 0}.welcome p.muted{margin-bottom:0}.date-chip{white-space:nowrap;border:1px solid #e0e6ed;border-radius:10px;padding:10px 13px;background:#fff;color:#5d6d81;font-size:.82rem}.grid{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:20px;align-items:start}.section-heading{display:flex;justify-content:space-between;align-items:center}.count{background:#edf1f6;color:#425a76;padding:5px 10px;border-radius:20px;font-size:.8rem}.empty{text-align:center;padding:45px 12px}.empty-icon{margin:0 auto 15px;width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:#eef2f6;color:#365579;font-size:24px}.empty p{font-size:.88rem}.entries{display:flex;flex-direction:column}.entry{padding:18px 0;border-bottom:1px solid #edf0f4}.entry:last-child{border-bottom:0}.entry-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#7a8797;font-size:.74rem}.tag{border-radius:6px;background:#edf2f7;padding:5px 8px;color:#425a76;text-transform:capitalize}.entry h3{font-size:1rem;margin:12px 0 7px}.entry-body{font-size:.9rem;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere}.danger{color:#9c4444;font-size:.8rem}.footer{text-align:center;padding:28px 0 0;color:#8995a4;font-size:.75rem}.app-shell{max-width:1180px}code{background:#eef2f6;padding:2px 5px;border-radius:4px}@media(max-width:760px){.auth-shell{grid-template-columns:1fr;gap:24px;padding-top:45px;align-content:center}.brand h1{font-size:2.2rem}.brand .mark{margin-bottom:18px}.auth-panel{justify-self:stretch;max-width:none}.grid{grid-template-columns:1fr}.welcome{align-items:start;flex-direction:column;padding-top:28px}.date-chip{white-space:normal}.shell{padding:18px 14px 28px}.panel{padding:19px}.topbar{gap:10px}.topbar button{padding:10px;font-size:.82rem}}.topbar-actions{display:flex;align-items:center;gap:12px}.role-pill{font-size:.78rem;padding:7px 10px;border-radius:20px;background:#edf2f7;color:#425a76}.medication-panel{margin-bottom:20px}.med-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.med-form button{align-self:end}.medication-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}.med-card{border:1px solid #e4eaf0;border-radius:14px;padding:17px;min-width:0}.med-card h3{font-size:1rem;margin:0 0 5px}.med-card-heading{display:flex;justify-content:space-between;align-items:start;gap:12px}.med-card-heading strong{font-size:.9rem;color:#52657c}.med-instructions{font-size:.86rem;line-height:1.5}.dose-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 0;border-top:1px solid #edf0f4;font-size:.82rem}.dose-actions{display:flex;gap:6px}.tiny-button{font-size:.76rem;padding:8px 10px;border-radius:8px}.tiny-button.secondary{background:#e9eef4;color:#263e5c}.recent-logs{border-top:1px solid #edf0f4;margin-top:10px;padding-top:10px}.recent-logs>strong{font-size:.8rem}.recent-logs p{margin:7px 0;color:#718096}.medication-list .empty{grid-column:1/-1}.medication-panel .small{line-height:1.5}@media(max-width:760px){.med-form,.medication-list{grid-template-columns:1fr}.topbar-actions{gap:6px;flex-wrap:wrap;justify-content:flex-end}.dose-row{align-items:flex-start;flex-direction:column}.dose-actions{width:100%}.dose-actions button{flex:1}}
