:root{font-family:"Nirmala UI","Vrinda",system-ui,sans-serif;color:#173b37;background:#f3f7f7;font-size:16px;line-height:1.65}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{background:#136b59;color:white;border:1px solid transparent;border-radius:9px;padding:.7rem 1.15rem;cursor:pointer;font-weight:600}button:hover{filter:brightness(.92)}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d68b33;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;line-height:1.3;margin-bottom:.7rem}h2{font-size:1.35rem}h3{font-size:1.1rem}small,.muted{color:#526b67}small{font-size:.88rem}.eyebrow{font-family:system-ui,sans-serif;font-size:.78rem;letter-spacing:.12em;font-weight:700;color:#57776e;margin-bottom:.6rem}.brand{display:flex;align-items:center;gap:.8rem;font-family:system-ui,sans-serif;font-weight:800;font-size:2rem;color:#136b59}.brand span{font-size:.73rem;letter-spacing:.09em;line-height:1.5}aside{position:fixed;width:245px;inset:0 auto 0 0;background:white;border-right:1px solid #dce7e3;padding:2rem 1.5rem;display:flex;flex-direction:column}nav{display:grid;gap:.5rem;margin-top:3rem}nav button{text-align:left;background:transparent;color:#536e65;font-weight:500}nav button.active{background:#e5f2ed;color:#125b4e;font-weight:700}.aside-foot{margin-top:auto;font-size:.9rem}.quiet,.secondary{background:transparent;border-color:#cadbd4;color:#23594e}.quiet{margin-top:.5rem}main{margin-left:245px;padding:2rem 3rem;max-width:1500px}header{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1.5rem}.date{font-size:.9rem;color:#536e65}.notice{padding:1rem 1.2rem;background:#e5f0ed;border-radius:10px;margin-bottom:1.5rem;font-size:.94rem}.amber{background:#fff0d6;color:#704c16}.hero{background:#133f38;border-radius:18px;color:#fff;padding:2rem 2.5rem;display:flex;justify-content:space-between;align-items:center;margin-bottom:1.5rem}.hero h2{font-size:2.1rem;line-height:1.4;margin-bottom:.8rem}.hero p{color:#c3ded4}.hero .eyebrow{color:#99c9b8}.hero button{background:#d4ecb0;color:#244431}.hero-mark{font-size:7rem;color:#88bca6;padding:0 2rem}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.5rem}.stat{padding:1.4rem;background:white;border:1px solid #dce7e3;border-radius:13px}.stat strong{display:block;font-size:1.9rem;color:#134d40}.stat p{margin:0;font-size:.9rem}.card{background:white;border:1px solid #dce7e3;border-radius:14px;padding:1.5rem;margin-bottom:1.5rem}.section-heading{display:flex;justify-content:space-between;gap:1rem;align-items:center}.section-heading label{max-width:130px}.two-col{display:grid;grid-template-columns:minmax(290px,1fr) minmax(300px,1.2fr);gap:1.5rem;align-items:start}.narrow{max-width:780px}label{display:block;font-size:.94rem;font-weight:600;margin-bottom:1rem}input,select,textarea{display:block;width:100%;border:1px solid #b8cdc4;border-radius:8px;padding:.65rem;margin-top:.35rem;background:#fff;color:#173b37}textarea{min-height:85px;resize:vertical}.row{display:flex;gap:1rem}.row>*{flex:1;min-width:0}.check{display:flex;gap:.7rem;align-items:center}.check input[type=checkbox]{width:22px;height:22px;accent-color:#136b59;flex-shrink:0}.check input[type=text]{margin:0}.entry{border-bottom:1px solid #e2ebe7;padding:1rem 0;overflow-wrap:anywhere}.entry:last-child{border-bottom:0}.entry p{margin:.3rem 0}.entry strong{font-size:1.05rem}.entry button{font-size:.86rem;padding:.25rem .7rem;margin-right:.5rem}.badge{display:inline-block;padding:.15rem .5rem;border-radius:6px;background:#edf3f1;font-size:.88rem}.badge.expired{background:#fff0d6;color:#704c16}.empty{text-align:center;padding:2rem;color:#61756e}.login{max-width:520px;margin:7vh auto;padding:2rem}.login .brand{margin-bottom:3.5rem}.login h1{font-size:2.6rem}.login form{margin:2rem 0}.login button{width:100%}#message{position:fixed;bottom:1.5rem;left:50%;transform:translateX(-50%);z-index:10;max-width:90vw;background:#173b37;color:white;padding:0;border-radius:10px;box-shadow:0 3px 20px #0002}#message:not(:empty){padding:.9rem 1.4rem}#chart svg{width:100%;height:240px;overflow:visible}.chart-line{stroke:#17745d;stroke-width:3;fill:none}.chart-dot{fill:#17745d;stroke:white;stroke-width:2}.chart-axis{stroke:#dce7e3}.chart-label{font:14px system-ui;fill:#526b67}table{border-collapse:collapse;width:100%;font-size:.9rem}td,th{text-align:left;padding:.65rem;border-bottom:1px solid #dce7e3;vertical-align:top;overflow-wrap:anywhere}.table-wrap{overflow:auto}[hidden]{display:none!important}@media(max-width:1000px){main{padding:1.5rem;margin-left:205px}aside{width:205px;padding:1.5rem 1rem}.two-col{grid-template-columns:1fr}.hero-mark{display:none}}@media(max-width:700px){aside{position:static;width:auto;padding:1rem}.brand{font-size:1.6rem}nav{display:flex;overflow:auto;margin-top:1rem;gap:.4rem}nav button{white-space:nowrap;font-size:.9rem;padding:.5rem .8rem}.aside-foot{display:none}main{margin:0;padding:1rem}header{display:block}h1{font-size:1.6rem}.stats{grid-template-columns:1fr}.stat{padding:1rem}.hero{padding:1.5rem}.hero h2{font-size:1.8rem}.row{flex-wrap:wrap}.login{margin:2vh auto}#logout{display:block}}@media print{body{background:white;color:black}aside,header,.notice,.no-print,#message,.tab:not(#report){display:none!important}main{margin:0;padding:0}#report{display:block!important}#doctorReport{border:0;padding:0}table{font-size:10pt}tr{break-inside:avoid}h2,h3{break-after:avoid}.card{box-shadow:none}button{display:none!important}@page{margin:15mm}}
@media(max-width:700px){.aside-foot{display:flex;align-items:center;justify-content:space-between;margin-top:.5rem}.aside-foot small{display:none}}
