:root{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#213743;background:#f3f6f7;font-synthesis:none;--teal:#087f83;--navy:#142e3a;--line:#dfe7ea;--muted:#657985}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{background:var(--teal);color:white;border:1px solid transparent;border-radius:8px;padding:12px 18px;font-weight:600;cursor:pointer;min-height:44px}button:hover{filter:brightness(.96)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #65c4d2;outline-offset:3px}button:disabled{opacity:.55;cursor:not-allowed}input,select,textarea{background:#fff;color:#213743;border:1px solid #cad7dd;border-radius:7px;padding:12px;min-height:44px;width:100%}textarea{resize:vertical;line-height:1.6}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;margin-bottom:8px}h2{font-size:22px;letter-spacing:-.5px}h3{font-size:16px}p{line-height:1.6}small{font-size:12px}.secondary{background:white;border-color:#d4dfe3;color:#304b59}.danger{color:#a83c3c}.text-button{background:transparent;color:var(--teal);padding:5px;border:0}.logo{display:flex;align-items:center;gap:10px;font-size:21px;font-weight:800;letter-spacing:1px;color:white}.logo-mark{width:36px;height:36px;border-radius:10px;background:#2da8a4;display:grid;place-items:center;font-size:32px;line-height:1;font-weight:500}.logo-light{font-weight:300;opacity:.7}.sidebar{width:240px;position:fixed;inset:0 auto 0 0;background:var(--navy);color:#e8f1f4;padding:32px 22px;display:flex;flex-direction:column}.unit{margin:36px 8px 28px;font-size:11px;letter-spacing:2px;color:#97b2be}.unit span{display:block;font-size:16px;letter-spacing:0;color:#eef6f8;margin-top:8px}.sidebar nav{display:grid;gap:8px}.sidebar nav button{color:#b6c9d1;text-align:left;background:transparent;padding:14px 13px;font-size:14px}.sidebar nav button span{margin-right:9px;font-size:18px}.sidebar nav button.active{background:#254753;color:white;box-shadow:inset 3px 0 #52c3b9}.side-bottom{margin-top:auto;border-top:1px solid #34505b;padding-top:22px;display:flex;flex-wrap:wrap;align-items:center;gap:10px}.side-bottom b{display:block;font-size:12px;max-width:140px;line-height:1.5}.side-bottom small{display:block;color:#9cb7c2;margin-top:4px}.avatar{background:#365561;padding:10px;border-radius:50%;font-size:11px}.logout{background:none;padding:6px 0;color:#bbced7;font-size:12px}.workspace{margin-left:240px}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:white;font-size:13px;color:var(--muted)}.slash{margin:0 12px;color:#afbec5}.top-right{display:flex;align-items:center;gap:18px}.test-pill{font-size:11px;background:#eef6f7;color:#397277;padding:6px 9px;border-radius:5px}.content{max-width:1550px;margin:auto;padding:36px 38px}.heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#597b85;margin-bottom:12px}.heading p{color:var(--muted);font-size:14px;margin-bottom:0}.actions{display:flex;gap:10px;flex-shrink:0}.notice{font-size:12px;border:1px solid #e3e7db;background:#f8f9ef;color:#6b7051;padding:12px 15px;line-height:1.6;border-radius:7px;margin:24px 0}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:22px 0 30px}.stat{background:white;padding:20px 23px;border:1px solid var(--line);border-radius:10px;display:flex;flex-direction:column}.stat>span{font-size:10px;color:#6c818b;letter-spacing:1.4px;font-weight:600}.stat strong{font-size:34px;letter-spacing:-1px;margin:12px 0 7px;font-weight:600}.stat small{color:var(--muted)}.stat.teal strong{color:var(--teal)}.stat.red strong{color:#a74d48}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.tabs{display:flex;gap:4px;flex-wrap:wrap}.tabs button{background:transparent;color:#6a7e87;font-size:13px;padding:10px 13px;border-radius:6px}.tabs .chosen{background:white;color:#176b74;box-shadow:0 1px 5px #21374312;border:1px solid #dbe4e7}.search{max-width:290px;font-size:12px;background:white}.bed-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.bed{display:block;text-align:left;background:white;color:#213743;border:1px solid #dce5e8;border-top:3px solid #b8c9cf;border-radius:9px;padding:19px 20px;min-height:236px;font-weight:400;overflow:hidden;box-shadow:0 2px 3px #21374303}.bed:hover{box-shadow:0 5px 18px #142e3a0c;filter:none;border-color:#8cb5bb}.bed.available{background:#fbfdfd;border-top-color:#70b8ae}.bed.instavel{border-top-color:#d37c72}.bed.atencao{border-top-color:#dfba70}.bed.estavel{border-top-color:#68afa4}.bed-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:20px}.bed-number{font-size:21px;font-weight:700;letter-spacing:-.5px}.badge{font-size:10px;border-radius:4px;padding:5px 8px;background:#eef2f4;color:#627781;font-weight:600}.available .badge,.estavel .badge{background:#e8f4ef;color:#397c6a}.instavel .badge{background:#fbeeea;color:#a44c41}.atencao .badge{background:#fbf2dd;color:#946c2c}.bed h3{font-size:15px;margin-bottom:6px;overflow-wrap:anywhere}.muted{color:var(--muted);font-size:13px}.diagnosis{font-size:12px;line-height:1.6;margin:15px 0 20px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px}.bed-bottom{border-top:1px solid #edf1f3;padding-top:13px;display:flex;justify-content:space-between;font-size:10px;color:#69818a}.bed-bottom span:last-child{color:#27767c}.updated{display:block;font-size:9px;color:#84949c;margin-top:10px}.free-content{display:grid;justify-items:center;gap:8px;padding:0 0 18px;color:#87a0a7}.free-content b{font-size:12px;font-weight:500}.free-content small{font-size:10px}.free-icon{font-size:26px;color:#9abbbd;margin-bottom:2px}.footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:30px;color:#7d919b;font-size:10px}.dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#5aa68f;margin-right:7px}.dot.offline{background:#b65e52}.overlay{position:fixed;inset:0;background:#142e3a88;z-index:30;display:flex;justify-content:center;align-items:center;padding:22px;backdrop-filter:blur(3px)}.modal{background:#fff;border-radius:14px;max-width:760px;width:100%;max-height:90dvh;overflow:auto;padding:28px;box-shadow:0 16px 70px #0003}.modal>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.modal h2{margin:0}.icon{background:#f0f4f5;color:#536d79;font-size:26px;padding:0;width:44px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;min-width:0}.field>span{font-size:12px;font-weight:600;color:#4b6470}.field.wide{grid-column:1/-1}.form-grid .field{margin:0}.form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px;margin-top:22px}.error{background:#fff0ed;border:1px solid #f0c9c1;color:#943e33;padding:12px 16px;border-radius:7px;font-size:13px;line-height:1.6;margin:16px 0}.success{color:#327961;font-size:13px}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:25px;margin-bottom:18px}.panel h2{font-size:20px}.panel h3{font-size:14px;color:#3c5c69}.pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;margin-bottom:0}.patient-bar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:20px;font-size:12px;color:var(--muted)}.patient-bar>span{flex:1}.patient-tabs{margin-bottom:22px}.clinical-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.clinical-grid .panel{margin:0}.empty{text-align:center;padding:25px;color:#7c919b;font-size:13px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:13px;white-space:nowrap}th,td{text-align:left;padding:15px 12px;border-bottom:1px solid #e7edef}th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#6e8590;background:#f7f9fa}.inline-form{display:flex;gap:12px;align-items:flex-end}.inline-form .field{flex:1;margin:0}.goals{list-style:none;padding:0;margin:20px 0}.goals li{padding:15px 0;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:14px}.goals li select{max-width:180px;font-size:12px}.handover{border-left:3px solid #6caba8;background:#f5f9f9;padding:18px;margin:16px 0}.handover>b{font-size:12px;color:#477580}.handover p{margin-top:12px}.login{display:grid;grid-template-columns:1fr 1fr;min-height:100dvh}.login-story{background:#142e3a;color:#f2f7f9;padding:48px 9%;display:flex;flex-direction:column;justify-content:space-between;min-height:100dvh;position:relative;overflow:hidden}.login-story:after{content:'';position:absolute;width:450px;height:450px;bottom:-200px;left:-180px;border:1px solid #37606b;border-radius:50%;box-shadow:0 0 0 55px #24475244,0 0 0 110px #24475222;pointer-events:none}.login-story>div:nth-child(2){z-index:1}.login-story .eyebrow{color:#70b9b6;font-size:10px}.login-story h1{font-size:clamp(30px,3.4vw,51px);font-weight:500;line-height:1.25;letter-spacing:-1.7px;margin-bottom:24px}.login-story p{color:#a8c0ca;max-width:340px;font-size:16px}.story-lines{font-size:11px;color:#b3ccd1;margin-top:32px}.story-lines span{margin:0 10px;color:#66afa8}.login-story>small{color:#8baab5;font-size:10px;z-index:1}.login-main{display:grid;place-items:center;padding:40px}.login-card{width:100%;max-width:380px}.section-label{display:inline-block;font-size:10px;letter-spacing:1.5px;color:#4f8a8c;margin-bottom:20px;font-weight:600}.login-card h2{font-size:29px;letter-spacing:-1px;margin-bottom:12px}.login-card>p{font-size:13px;color:#6c8089;margin-bottom:32px}.login-card form>button{width:100%;margin-top:8px}.login-note{font-size:11px;color:#7d919a;border-top:1px solid #dce6e9;margin-top:28px;padding-top:22px;line-height:1.8}.splash{min-height:100dvh;display:grid;place-items:center;padding:25px}.splash .logo{color:#24424e;margin-bottom:25px}
@media(min-width:1600px){.bed-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){.sidebar{width:200px;padding:28px 16px}.workspace{margin-left:200px}.content{padding:28px 24px}.topbar{padding:0 24px}.bed-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.heading{align-items:flex-start;flex-direction:column}.stats{gap:10px}.stat{padding:18px 14px}.side-bottom b{max-width:110px}}@media(max-width:760px){.sidebar{position:static;width:auto;padding:15px 18px;display:grid;grid-template-columns:1fr auto;gap:15px}.sidebar .logo{font-size:17px}.logo-mark{width:30px;height:30px}.unit{display:none}.sidebar nav{display:flex;grid-column:1/-1;grid-row:2;gap:8px}.sidebar nav button{font-size:12px;padding:8px 12px;min-height:40px}.side-bottom{border:0;margin:0;padding:0;gap:8px}.side-bottom .avatar,.side-bottom>div{display:none}.logout{padding:8px}.workspace{margin:0}.topbar{height:54px;padding:0 18px;font-size:11px}.topbar>span{display:none}.top-right{width:100%;justify-content:space-between}.content{padding:24px 16px}.eyebrow{font-size:8px;letter-spacing:1px}h1{font-size:26px}.heading p{font-size:12px}.heading{gap:18px}.actions{width:100%}.actions button{flex:1;font-size:12px;padding:12px 8px}.stats{grid-template-columns:repeat(2,1fr);margin-bottom:24px}.stat{padding:17px}.stat strong{font-size:30px}.stat>span{font-size:9px}.stat small{font-size:11px}.toolbar{align-items:stretch;flex-direction:column;gap:12px}.search{max-width:none}.tabs button{font-size:12px;padding:8px 10px}.bed-grid{gap:12px}.bed{padding:15px;min-height:230px}.bed-top{align-items:flex-start;gap:4px;flex-wrap:wrap;margin-bottom:16px}.bed-number{font-size:20px}.badge{font-size:9px;padding:4px 6px}.bed h3{font-size:14px}.bed .muted{font-size:10px}.bed-bottom{flex-direction:column;gap:7px}.diagnosis{font-size:11px}.updated{font-size:8px}.free-content{padding-top:12px}.free-content small{text-align:center;font-size:9px}.notice{font-size:10px;margin:20px 0}.footer{line-height:1.7}.modal{padding:22px 18px;max-height:94dvh}.overlay{padding:10px}.form-grid,.clinical-grid{grid-template-columns:1fr}.modal h2{font-size:19px}.panel{padding:20px 16px}.patient-bar>span{flex-basis:100%}.patient-bar button{font-size:11px}.patient-tabs{gap:3px}.patient-tabs button{font-size:11px}.inline-form{flex-direction:column;align-items:stretch}.goals li{align-items:flex-start;flex-direction:column}.goals li select{max-width:none}.login{grid-template-columns:1fr}.login-story{min-height:auto;padding:28px 26px;gap:40px}.login-story h1{font-size:32px;margin-bottom:14px}.login-story p{font-size:13px;margin-bottom:0}.login-story>small,.story-lines{display:none}.login-story:after{left:auto;right:-300px;bottom:-300px}.login-main{padding:35px 26px}.login-card h2{font-size:26px}.login-card>p{margin-bottom:25px}.login-story .eyebrow{font-size:9px}.patient-bar .text-button{padding-left:0}}
@media(max-width:380px){.bed-grid{grid-template-columns:1fr}.bed{min-height:200px}.bed-top{flex-wrap:nowrap}.bed-bottom{flex-direction:row}}
