:root{font-family:'DM Sans',sans-serif;color:#163640;background:#e7f4f7;font-synthesis:none}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit}.shell{max-width:1260px;margin:26px auto;padding:0 22px 56px}.site-panel{min-height:calc(100vh - 52px);background:linear-gradient(180deg,#f7fcfd 0%,#f3fbfd 54%,#e9f6f9 100%);border:1px solid #fff;border-radius:30px;box-shadow:0 28px 90px #3d8e9e24;overflow:hidden}.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 34px;background:#fafdfeef;border-bottom:1px solid #dceef2}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;font-family:Manrope,sans-serif;font-weight:800;font-size:18px;letter-spacing:-.06em;color:#123640}.brand-mark{width:37px;height:37px;display:grid;place-items:center;background:#fff;border-radius:12px;box-shadow:0 5px 14px #4db2bd31;flex:none}.brand-mark img{width:33px;height:33px;display:block}.auth-box .brand-mark{width:48px;height:48px}.auth-box .brand-mark img{width:44px;height:44px}.nav{display:flex;align-items:center;gap:7px}.nav button{border:0;background:transparent;color:#5c737c;padding:10px 14px;border-radius:12px;font-size:13px;font-weight:700}.nav button.active,.nav button:hover{background:#e0f1f4;color:#196c7b}.nav .user-pill{background:#e3f4f6;color:#246f7b}.page{padding:30px 34px 50px}.hero{position:relative;min-height:340px;overflow:hidden;border-radius:25px;background:#cae9ee url('assets/clinic-hero.png') center 40%/cover no-repeat;display:flex;align-items:center;box-shadow:0 14px 33px #4594a12d}.hero::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#eaf7f9f2 0%,#eaf7f9ca 32%,transparent 68%)}.hero-copy{position:relative;z-index:1;max-width:520px;padding:45px 52px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-weight:800;font-size:11px;color:#318796;margin:0 0 15px}.hero h1{font:800 clamp(30px,4vw,48px)/1.15 Manrope,sans-serif;letter-spacing:-.06em;margin:0;color:#132d35}.hero p{max-width:365px;line-height:1.65;color:#4e6971;font-size:15px}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:11px 18px;border:1px solid transparent;font-weight:700;font-size:13px;min-height:42px;text-decoration:none}.btn-primary{background:#4e9fae;color:white;box-shadow:0 5px 13px #2b85964d}.btn-primary:hover{background:#317f90}.btn-secondary{background:#fff;color:#277889;border-color:#cee4e9}.btn-secondary:hover{background:#e8f6f8}.btn-danger{background:#fff0ee;color:#a85048;border-color:#f3cfca}.btn-small{min-height:34px;padding:7px 11px;font-size:12px}.hero-filter{position:relative;z-index:2;display:flex;align-items:end;gap:12px;margin:-43px 36px 0;padding:17px;border:1px solid #fff9;background:#ffffffd9;backdrop-filter:blur(16px);border-radius:18px;box-shadow:0 14px 30px #3c879929}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field label{font-size:12px;font-weight:700;color:#506b73}.field input,.field select,.field textarea{width:100%;border:1px solid #d0e2e7;border-radius:10px;background:#fff;color:#18363f;padding:11px 12px;outline:none;font-size:14px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#4e9fae;box-shadow:0 0 0 3px #9dd6df50}.field textarea{min-height:104px;resize:vertical}.hero-filter .field{flex:1}.section-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin:39px 0 16px}.section-head h2{font:800 23px Manrope,sans-serif;letter-spacing:-.045em;margin:0}.section-head p,.muted{color:#71909a}.section-head p{margin:5px 0 0;font-size:13px}.stat-grid,.hospital-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.stat-card,.hospital-card,.card,.patient-card{background:#fff;border:1px solid #e1edf0;border-radius:18px;box-shadow:0 10px 22px #558d9a14}.stat-card{padding:20px;display:flex;align-items:center;gap:15px}.stat-icon,.hospital-icon{width:46px;height:46px;display:grid;place-items:center;background:#dff3f5;color:#408b99;border-radius:14px;font-size:23px}.stat-card strong{display:block;font:800 25px Manrope,sans-serif;line-height:1.1}.stat-card span{font-size:12px;color:#72909a}.hospital-card{padding:20px;text-align:left;width:100%;border:1px solid #e1edf0}.hospital-card:hover,.hospital-card.selected{border-color:#75b8c5;transform:translateY(-2px);box-shadow:0 14px 28px #558d9a28}.hospital-card .hospital-icon{margin-bottom:16px}.hospital-card h3{font:800 16px Manrope,sans-serif;margin:0 0 6px}.hospital-card p{margin:0;color:#78929a;font-size:12px}.toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:16px}.toolbar .field{min-width:220px}.patient-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.patient-card{padding:19px;text-align:left;border:1px solid #e1edf0;width:100%;transition:.15s}.patient-card:hover{transform:translateY(-3px);border-color:#8ac6d0;box-shadow:0 15px 27px #558d9a25}.patient-top{display:flex;justify-content:space-between;gap:12px}.patient-avatar{width:43px;height:43px;border-radius:14px;background:#e3f5f7;display:grid;place-items:center;color:#3b8997;font-weight:800;font-size:15px}.patient-card h3{font:800 16px Manrope,sans-serif;line-height:1.25;margin:14px 0 4px}.patient-card p{font-size:12px;color:#75919a;margin:0 0 14px}.patient-meta{display:flex;flex-wrap:wrap;gap:7px}.badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:9px;background:#e7f5f7;color:#3b8290;font-size:11px;font-weight:700}.badge.dim{background:#f0f4f5;color:#6b858d}.badge.gold{background:#fff4db;color:#a37720}.subhero{padding:24px 27px;background:linear-gradient(120deg,#d6eff2,#eef9fa);border:1px solid #d8edf1;border-radius:20px;display:flex;justify-content:space-between;align-items:center;gap:18px}.subhero h1{font:800 clamp(23px,3vw,31px) Manrope,sans-serif;letter-spacing:-.05em;margin:4px 0}.subhero p{margin:5px 0 0;color:#62848d;font-size:13px}.back-link{border:0;background:transparent;color:#39889a;padding:0;font-size:13px;font-weight:800}.detail-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.8fr);gap:16px;margin-top:18px}.card{padding:21px}.card h2,.card h3{font-family:Manrope,sans-serif;letter-spacing:-.04em;margin:0 0 15px}.card h2{font-size:19px}.card h3{font-size:15px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.form-grid .wide{grid-column:1/-1}.form-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:18px}.feed{display:grid;gap:10px}.feed-item{border:1px solid #e2edf0;background:#fafeff;padding:13px;border-radius:12px}.feed-item h4{margin:0 0 6px;font-size:13px}.feed-item p{margin:0;color:#5c7881;font-size:12px;line-height:1.5;white-space:pre-wrap}.feed-item .meta{font-size:11px;color:#95a9af;margin:0 0 7px}.tabs{display:flex;gap:7px;overflow:auto;margin:20px 0 15px}.tabs button{border:1px solid #d3e7eb;color:#5c7b84;background:white;border-radius:11px;padding:10px 15px;font-size:12px;font-weight:800;white-space:nowrap}.tabs button.active{background:#4e9fae;color:white;border-color:#4e9fae}.empty{padding:28px;text-align:center;border:1px dashed #bbd6dd;border-radius:15px;color:#79939b;font-size:13px}.auth-layout{display:grid;grid-template-columns:1fr 1fr;min-height:650px}.auth-visual{background:#c8e9ee url('assets/clinic-hero.png') 61% center/cover no-repeat;position:relative;display:flex;align-items:end}.auth-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,#165f75a6,transparent 60%)}.auth-visual-copy{position:relative;z-index:1;color:#fff;padding:50px;max-width:500px}.auth-visual-copy h1{font:800 38px/1.2 Manrope,sans-serif;letter-spacing:-.06em;margin:0 0 12px}.auth-visual-copy p{line-height:1.6;margin:0;color:#efffff}.auth-pane{display:flex;align-items:center;justify-content:center;padding:48px}.auth-box{width:min(100%,400px)}.auth-box h2{font:800 29px Manrope,sans-serif;letter-spacing:-.05em;margin:26px 0 6px}.auth-box>p{color:#718c95;font-size:13px;line-height:1.55;margin:0 0 27px}.auth-form{display:grid;gap:14px}.auth-switch{font-size:12px;color:#64808a;text-align:center;margin-top:17px}.auth-switch button{border:0;background:none;color:#2c8597;font-weight:800;padding:0}.alert{padding:12px 14px;border-radius:11px;font-size:12px;line-height:1.5;margin-bottom:14px;background:#fff1ed;color:#a34e41}.alert.info{background:#e5f5f7;color:#357c88}.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#194a56;color:white;padding:12px 19px;border-radius:12px;box-shadow:0 12px 25px #173e4b40;font-size:13px;z-index:20;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}.modal-backdrop{position:fixed;inset:0;background:#153e4d80;z-index:10;display:grid;place-items:center;padding:20px}.modal{width:min(100%,560px);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:20px;padding:25px;box-shadow:0 30px 80px #11374566}.modal h2{font:800 22px Manrope,sans-serif;letter-spacing:-.05em;margin:0 0 18px}.modal .form-grid{margin-top:14px}.line{height:1px;background:#e4eef0;margin:20px 0}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.table-wrap{overflow:auto}.data-table{border-collapse:collapse;width:100%;font-size:12px}.data-table th,.data-table td{text-align:left;padding:10px;border-bottom:1px solid #e6f0f2;vertical-align:middle}.data-table th{color:#6b8992;font-size:11px}.ai-output{white-space:pre-wrap;line-height:1.6;color:#294b55;font-size:13px}.footer{padding:20px 34px;color:#90a8ae;font-size:11px;text-align:center}.loader{padding:60px;text-align:center;color:#6b9099}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:980px){.patient-grid,.stat-grid{grid-template-columns:repeat(2,1fr)}.detail-grid{grid-template-columns:1fr}.hero{min-height:310px}.hero-copy{padding:30px 36px}}@media(max-width:680px){.shell{margin:0;padding:0}.site-panel{border-radius:0;border:0;min-height:100vh}.topbar{height:67px;padding:0 17px}.brand{font-size:16px}.nav{gap:2px}.nav button{padding:9px;font-size:11px}.nav .user-pill{display:none}.page{padding:18px 16px 34px}.hero{min-height:310px;background-position:56% center}.hero::before{background:linear-gradient(90deg,#eaf7f9f0,#eaf7f9a4 62%,#eaf7f930)}.hero-copy{padding:24px;max-width:310px}.hero h1{font-size:29px}.hero p{font-size:12px}.hero-filter{margin:-24px 11px 0;display:grid;grid-template-columns:1fr 1fr;padding:12px;gap:10px}.hero-filter .field:first-child{grid-column:1/-1}.hero-filter .btn{grid-column:1/-1}.section-head{margin-top:29px}.stat-grid,.patient-grid,.hospital-grid,.settings-grid{grid-template-columns:1fr}.stat-card{padding:15px}.hospital-grid{grid-template-columns:repeat(2,1fr)}.hospital-card{padding:15px}.auth-layout{display:block}.auth-visual{min-height:205px}.auth-visual-copy{padding:25px}.auth-visual-copy h1{font-size:25px}.auth-pane{padding:27px 23px 42px}.auth-box h2{margin-top:10px}.subhero{align-items:start;flex-direction:column;padding:20px}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.footer{padding:15px}}
