:root{--green:#245b49;--green-dark:#173f34;--green-soft:#eaf2ec;--ink:#233b33;--muted:#819087;--border:#e3e8e1;--canvas:#f5f7f3;--white:#fff;--gold:#b8a16d}*{box-sizing:border-box}body{color:var(--ink);background:var(--canvas);-webkit-font-smoothing:antialiased;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{transition:background .16s,color .16s,border-color .16s,box-shadow .16s}button:disabled{opacity:.45;cursor:not-allowed}button{color:inherit}a{color:inherit;text-decoration:none}input,select,textarea{min-width:0}:is(button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible){outline-offset:3px;outline:3px solid #abc7b6}button{background:0 0;border:0}h1,h2,h3,p{margin:0}svg{flex-shrink:0}.app-shell{min-height:100vh}.sidebar{border-right:1px solid var(--border);z-index:30;background:#fcfdfb;flex-direction:column;width:248px;padding:34px 22px 24px;display:flex;position:fixed;inset:0 auto 0 0}.hospital-brand{align-items:center;gap:11px;padding:0 0 37px 3px;display:flex}.hospital-brand img{object-fit:contain;width:65px;height:65px}.hospital-brand strong{letter-spacing:-.35px;font-size:16px;font-weight:650;line-height:1.3}.hospital-brand span{letter-spacing:1.6px;color:#8d968a;margin-top:8px;font-size:8px;display:block}.sidebar-label{letter-spacing:1.5px;color:#969d92;padding:10px 15px 15px;font-size:9px;font-weight:600}nav{gap:7px;display:grid}nav button{color:#778078;text-align:left;border-radius:7px;align-items:center;gap:12px;width:100%;padding:14px;font-size:13px;display:flex}nav button.active{color:#295940;background:#e7efe7;font-weight:600}nav button:hover{background:#eff3ed}nav button .nav-dot{background:var(--green);border-radius:50%;width:5px;height:5px;margin-left:auto;display:none}nav button.active .nav-dot{display:block}.sidebar-note{background:#f3f5ee;border:1px solid #e6eadf;border-radius:8px;margin:57px 7px 0;padding:19px 16px;position:relative;overflow:hidden}.note-icon{color:#6f9072;margin-bottom:19px;display:inline-flex}.sidebar-note h3{color:#4e6a50;font-family:Georgia,serif;font-size:17px;font-weight:400;line-height:1.4}.sidebar-note p{color:#8b9383;margin-top:9px;font-size:11px;line-height:1.9}.note-line{background:#bcc7ad;width:28px;height:1px;margin-top:19px}.sidebar-bottom{margin-top:auto;padding-top:30px}.help-link{color:#7b887a;gap:11px;padding:13px 14px;font-size:12px;display:flex}.help-link.selected{color:var(--green);font-weight:600}.made-by{border-top:1px solid var(--border);align-items:center;gap:9px;margin-top:20px;padding:20px 14px 0;display:flex}.made-by>span{color:#9ba397;font-size:9px}.made-by strong{letter-spacing:-1px;font-size:18px;font-weight:700}.brand-point{color:#c3ad77}.workspace{margin-left:248px}.topbar{border-bottom:1px solid var(--border);background:#ffffffbf;justify-content:space-between;align-items:center;gap:16px;height:84px;padding:0 40px;display:flex}.topbar-left,.topbar-right{align-items:center;gap:16px;display:flex}.topbar-left{white-space:nowrap;color:#738176;font-size:12px}.breadcrumb{color:#bcc3b9}.topbar-current{color:#354e40;font-weight:500}.private-badge{color:#6d8675;white-space:nowrap;align-items:center;gap:6px;font-size:10px;display:flex}.private-badge>span{background:#8aaf88;border-radius:50%;width:5px;height:5px}.topbar-divider{background:var(--border);width:1px;height:23px;margin:0 2px}.user-avatar{color:#7e8165;background:#ecebdf;border-radius:50%;place-items:center;width:34px;height:34px;font-size:11px;font-weight:600;display:grid}.user-info{gap:5px;margin-left:-7px;display:grid}.user-info strong{text-overflow:ellipsis;white-space:nowrap;max-width:160px;font-size:11px;font-weight:600;overflow:hidden}.user-info span{color:#94a08f;font-size:9px}.icon-button{color:#738478;border-radius:6px;justify-content:center;align-items:center;padding:7px;display:inline-flex}.icon-button:hover{color:var(--green);background:#eaf0e7}.mobile-toggle{display:none}.main-content{max-width:1600px;margin:auto;padding:39px 40px 22px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:33px;display:flex}.eyebrow{letter-spacing:1.6px;color:#7f9181;font-size:9px;font-weight:600;display:block}.eyebrow span{color:#a1b09d;margin:0 7px}h1{letter-spacing:-1px;margin:11px 0 12px;font-size:30px;font-weight:600;line-height:1.2}.page-heading p{color:#889386;font-size:12px;line-height:1.6}.heading-actions{flex-shrink:0;gap:10px;padding-top:22px;display:flex}.button{white-space:nowrap;border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:9px;min-height:40px;padding:11px 16px;font-size:12px;font-weight:550;display:inline-flex}.button.primary{background:var(--green);color:#fff;border-color:var(--green);box-shadow:0 2px 3px #1a3b2510}.button.primary:hover:not(:disabled){background:var(--green-dark)}.button.secondary{color:#536c59;background:#fff;border-color:#dae1d7}.button.secondary:hover:not(:disabled){background:#f1f5ee;border-color:#bdcabc}.button.subtle{color:#889181;padding-left:0}.overview-bar{color:#9aa392;justify-content:space-between;align-items:center;margin-bottom:14px;font-size:10px;display:flex}.overview-bar>span{align-items:center;gap:7px;display:flex}.overview-bar>span:first-child{color:#72866f}.live-dot{background:#8aa476;border-radius:50%;width:5px;height:5px;display:inline-block}.stats-grid{grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:29px;display:grid}.stat-card{border:1px solid var(--border);background:#fff;border-radius:8px;justify-content:space-between;min-height:134px;padding:22px;display:flex;position:relative;overflow:hidden}.stat-card.featured{color:#fff;background:#245b49;border-color:#245b49}.stat-card>div{flex-direction:column;display:flex}.stat-label{color:#7c8c7c;font-size:11px;font-weight:500}.stat-number{letter-spacing:-1px;z-index:1;margin:15px 0 11px;font-size:33px;font-weight:550;line-height:1;position:relative}.stat-subtitle{color:#a0aa99;font-size:9px}.stat-icon{color:#80976f;background:#f9fbf5;border:1px solid #e7ede2;border-radius:7px;place-items:center;width:37px;height:37px;display:grid}.featured .stat-label{color:#d7e5d5}.featured .stat-icon{color:#b2cd9e;background:#3b6c58;border-color:#517760}.stat-wave{fill:none;stroke:#8eae7d;stroke-width:1.2px;opacity:.38;width:120px;height:55px;position:absolute;bottom:-2px;right:0}.panel{border:1px solid var(--border);background:#fff;border-radius:8px;overflow:hidden}.panel-heading{border-bottom:1px solid #e9ede5;justify-content:space-between;align-items:center;min-height:60px;padding:0 23px;display:flex}.tabs{align-self:stretch;gap:25px;display:flex}.tabs button{color:#9aa494;white-space:nowrap;align-items:center;gap:8px;padding:19px 0 17px;font-size:12px;display:flex;position:relative}.tabs button.selected{color:#3c6649;font-weight:600}.tabs button.selected:after{content:"";background:var(--green);height:2px;position:absolute;bottom:-1px;left:0;right:0}.tabs button>span{color:#7b9270;background:#edf2e9;border-radius:4px;padding:3px 6px;font-size:9px}.panel-caption{color:#a3ad9b;align-items:center;gap:6px;font-size:9px;display:flex}.filter-bar{flex-wrap:wrap;gap:10px;padding:20px 23px;display:flex}.search-box{color:#a1ad98;border:1px solid #e0e6db;border-radius:5px;flex:1;align-items:center;gap:9px;min-width:190px;padding:0 12px;display:flex}.search-box input{color:#50634e;background:0 0;border:0;outline:0;width:100%;height:38px;font-size:11px}.search-box button{padding:0;display:flex}.date-filter{color:#adb5a4;border:1px solid #e0e6db;border-radius:5px;align-items:center;gap:5px;height:40px;padding:0 9px;display:flex}.date-filter label{color:#87977f;align-items:center;gap:5px;font-size:9px;display:flex}.date-filter input{color:#728469;background:0 0;border:0;outline:0;width:109px;max-width:120px;font-size:10px}.date-filter>span{font-size:9px}.select-filter{color:#839779;border:1px solid #e0e6db;border-radius:5px;align-items:center;gap:6px;height:40px;padding:0 10px;display:flex}.select-filter select{color:#7d8d74;background:0 0;border:0;outline:0;max-width:145px;font-size:10px}.filter-summary{color:#829079;justify-content:space-between;align-items:center;gap:12px;padding:0 23px 14px;font-size:10px;display:flex}.filter-summary button{align-items:center;gap:5px;font-weight:600;display:flex}.table-scroll{min-height:170px;overflow:auto}.visits-table{border-collapse:collapse;text-align:left;table-layout:fixed;width:100%}.visits-table th{color:#95a089;letter-spacing:.5px;text-transform:uppercase;background:#f8faf5;border-bottom:1px solid #ebefe6;padding:14px 13px;font-size:9px;font-weight:500}.visits-table th:first-child{width:25%;padding-left:24px}.visits-table th:nth-child(2){width:18%}.visits-table th:nth-child(3){width:13%}.visits-table th:nth-child(4){width:19%}.visits-table th:nth-child(5){width:18%}.visits-table th:last-child{width:80px}.visits-table td{vertical-align:middle;border-bottom:1px solid #edf0e8;padding:17px 13px;font-size:11px}.visits-table td:first-child{padding-left:24px}.visits-table tr:last-child td{border-bottom:0}.visits-table tbody tr:hover{background:#fafcf8}.patient-cell{text-align:left;align-items:center;gap:10px;width:100%;min-width:0;padding:0;display:flex}.patient-avatar{color:#85956b;background:#edf2e8;border:1px solid #e6ebde;border-radius:50%;place-items:center;width:34px;min-width:34px;height:34px;font-size:10px;font-weight:600;display:grid}.patient-cell>span:last-child{min-width:0}.patient-cell strong{white-space:nowrap;text-overflow:ellipsis;font-size:11px;font-weight:550;display:block;overflow:hidden}.patient-cell small{color:#9aa38f;margin-top:5px;font-size:9px;display:block}.location-badge{color:#7d9566;text-overflow:ellipsis;white-space:nowrap;background:#eef3e9;border:1px solid #e3ecd9;border-radius:4px;align-items:center;gap:4px;max-width:100%;padding:4px 6px;font-size:9px;display:inline-flex;overflow:hidden}.location-badge.apartment{color:#a29169;background:#f5f1e8;border-color:#efe8d8}.bed-text{color:#a2ac97;margin-top:6px;font-size:9px;display:block}.table-date{color:#829379;font-size:10px}.demand-preview{color:#88967e;-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:10px;line-height:1.6;display:-webkit-box;overflow:hidden}.worker-name{color:#7b8d73;text-overflow:ellipsis;white-space:nowrap;font-size:10px;display:block;overflow:hidden}.row-actions{gap:2px;display:flex}.row-actions .icon-button{color:#a5b199;padding:5px}.table-footer{color:#a2ad96;border-top:1px solid #e9eee4;justify-content:space-between;align-items:center;gap:10px;padding:16px 23px;font-size:9px;display:flex}.footer-dot{margin:0 8px}.pagination{align-items:center;gap:12px;font-size:9px;display:flex}.pagination button{border:1px solid #e8ede1;border-radius:4px;place-items:center;width:25px;height:25px;padding:0;display:grid}.bottom-note{color:#a4ae99;align-items:center;gap:7px;padding:20px 0;font-size:9px;display:flex}.bottom-hospital{margin-left:auto}.empty-state{text-align:center;border-top:1px solid #eef1e9;padding:39px 20px 45px}.empty-state h2{letter-spacing:-.3px;font-size:16px;font-weight:550}.empty-state p{color:#91a087;white-space:pre-line;margin:10px 0 21px;font-size:11px;line-height:1.8}.empty-illustration{background:radial-gradient(#f1f5e9,#0000);justify-content:center;align-items:center;width:96px;height:98px;margin:0 auto 19px;display:flex;position:relative}.empty-paper{background:#fff;border:1px solid #dbe5d3;border-radius:7px;flex-direction:column;align-items:flex-start;gap:5px;width:57px;height:74px;padding:13px 10px;display:flex;transform:rotate(-6deg);box-shadow:0 5px 20px #405b3710}.empty-paper span{background:#e1e9d8;width:24px;height:2px}.empty-paper span:nth-child(2){width:32px}.empty-paper span:nth-child(3){width:20px}.empty-paper svg{color:#8fa97e;margin:5px auto 0}.empty-plus{color:#789767;background:#e3eedb;border:3px solid #fff;border-radius:50%;place-items:center;width:27px;height:27px;display:grid;position:absolute;bottom:6px;right:7px}.loading-state{color:#8e9e83;justify-content:center;align-items:center;gap:10px;min-height:260px;font-size:12px;display:flex}.spin{animation:1s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-banner,.form-error{color:#994d30;background:#fff3ee;border:1px solid #f0d3c5;border-radius:6px;padding:13px 16px;font-size:12px;line-height:1.6}.error-banner{justify-content:space-between;gap:10px;margin-bottom:18px;display:flex}.error-banner button{font-size:11px;text-decoration:underline}.report-intro{background:#edf3e9;border:1px solid #dce5d5;border-radius:8px;align-items:center;gap:22px;margin-bottom:25px;padding:24px;display:flex}.report-symbol{color:#81996d;background:#f6f9f1;border:1px solid #d5dfcb;border-radius:9px;padding:17px}.report-intro h2{color:#456745;margin:7px 0;font-family:Georgia,serif;font-size:23px;font-weight:400}.report-intro p{color:#84977b;font-size:11px;line-height:1.6}.report-format{color:#93a47e;align-items:center;gap:13px;margin-left:auto;display:flex}.report-format>span{border:1px solid #cedcbd;padding:12px;font-size:16px}.report-format small{font-size:9px;line-height:1.7}.help-grid{grid-template-columns:repeat(3,1fr);gap:22px;display:grid}.help-card{padding:25px}.help-card h2{letter-spacing:-.5px;margin:20px 0 15px;font-size:19px;line-height:1.5}.help-card p{color:#809079;margin-bottom:18px;font-size:12px;line-height:1.9}.step{color:#90a27f;font-family:Georgia,serif;font-size:28px}.toast{z-index:90;color:#fff;background:#245b49;border:1px solid #49775c;border-radius:9px;align-items:center;gap:11px;max-width:calc(100vw - 35px);padding:15px 18px;font-size:12px;display:flex;position:fixed;bottom:24px;left:calc(50% + 90px);transform:translate(-50%);box-shadow:0 12px 40px #15311f30}.toast button{color:#c7d8bd;display:flex}.modal{width:min(490px,100% - 28px);max-height:91vh;color:var(--ink);background:#fff;border:1px solid #dfe5d7;border-radius:12px;padding:0;overflow:auto;box-shadow:0 25px 120px #23332630}.modal.wide{width:min(790px,100% - 28px)}.modal::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#19352760}.modal-top{z-index:3;background:#fcfdfb;border-bottom:1px solid #e7ece1;justify-content:space-between;align-items:center;padding:17px 25px;font-size:13px;font-weight:600;display:flex;position:sticky;top:0}.form-intro{align-items:center;gap:15px;padding:25px 29px 0;display:flex}.form-symbol{color:#7d9868;background:#edf3e7;border:1px solid #e2ebd8;border-radius:9px;place-items:center;width:46px;height:46px;display:grid}.form-intro h2{letter-spacing:-.45px;margin-bottom:7px;font-size:19px;font-weight:550}.form-intro p{color:#8c9c80;font-size:11px;line-height:1.5}.form-body{padding:0 29px 27px}.form-section-heading{align-items:center;gap:10px;margin:28px 0 18px;display:flex}.form-section-heading>span{color:#96a48a;background:#f1f5eb;border:1px solid #e7eedd;border-radius:4px;padding:4px 5px;font-size:9px}.form-section-heading h3{color:#638054;font-size:12px;font-weight:600}.form-grid{grid-template-columns:repeat(3,1fr);gap:15px 16px;display:grid}.field{flex-direction:column;gap:8px;margin-bottom:16px;display:flex;position:relative}.form-grid .field{margin:0}.field>span:first-child,.accommodation-field legend{color:#69835a;font-size:11px;font-weight:550}.field input,.field textarea,.field select{color:#465f39;background:#fff;border:1px solid #dfe6d5;border-radius:5px;width:100%;padding:11px 12px;font-size:12px;line-height:1.45}.field input::placeholder,.field textarea::placeholder{color:#afb8a3}.field textarea{resize:vertical;min-height:90px}.field input[aria-invalid=true],.field textarea[aria-invalid=true]{border-color:#c17d66}.field .char-count{color:#adb8a0;align-self:flex-end;margin-top:-3px;font-size:9px}.field-error{color:#b4644c;font-size:10px}.span-two{grid-column:span 2}.accommodation-field{border:0;grid-column:span 1;margin:0;padding:0}.accommodation-field legend{padding:0 0 9px}.segmented{background:#f7f9f2;border:1px solid #dce5d2;border-radius:6px;gap:1px;height:41px;padding:3px;display:flex}.segmented label{cursor:pointer;color:#9aa98b;border-radius:4px;flex:1;justify-content:center;align-items:center;gap:4px;padding:7px 6px;font-size:10px;display:flex}.segmented label.checked{color:#4e7540;background:#fff;font-weight:600;box-shadow:0 1px 4px #243f2413}.segmented input{-webkit-appearance:none;appearance:none;opacity:0;width:1px;height:1px;position:absolute}.segmented label:focus-within{outline:2px solid #89aa79}.age-input{border:1px solid #dfe6d5;border-radius:5px;display:flex}.age-input input{width:55%;border:0!important}.age-input select{background:#f9fbf5;width:45%;border:0!important;padding:0 6px!important}.summary-toggle{color:#7b9768;align-items:center;gap:8px;padding:6px 0;font-size:11px;display:flex}.summary-box{background:#f1f6ec;border:1px solid #e0ead6;border-radius:7px;margin-top:13px;padding:18px}.summary-box h3{color:#71935c;align-items:center;gap:7px;margin-bottom:10px;font-size:12px;display:flex}.summary-box p{color:#778d68;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.85}.summary-box small{color:#9bae8d;margin-top:10px;font-size:9px;display:block}.form-footer{z-index:2;background:#fcfdfb;border-top:1px solid #e4eadd;align-items:center;gap:10px;padding:19px 29px;display:flex;position:sticky;bottom:0}.form-footer>div{color:#a3b196;align-items:center;gap:6px;margin-right:auto;font-size:9px;display:flex}.form-error{margin-top:20px}.detail-title{align-items:center;gap:15px;padding:27px 29px;display:flex}.patient-avatar.large{width:56px;height:56px;font-size:17px}.detail-title h2{letter-spacing:-.5px;overflow-wrap:anywhere;margin:8px 0;font-size:23px}.detail-title p{color:#91a082;font-size:11px}.detail-meta{background:#f7faf3;border-block:1px solid #edf2e6;grid-template-columns:1fr 1fr;gap:20px;padding:20px 29px;display:grid}.detail-meta>div{flex-direction:column;gap:8px;display:flex}.detail-meta span{color:#96a587;font-size:10px}.detail-meta strong{overflow-wrap:anywhere;font-size:12px;font-weight:500}.detail-section{padding:22px 29px 0}.detail-section h3{color:#6f8b5e;margin-bottom:9px;font-size:12px}.detail-section p{color:#657c53;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.9}.modal>.summary-box{margin:23px 29px}.record-meta{color:#a1af96;margin:20px 29px;font-size:9px}.modal-actions{background:#fcfdfb;border-top:1px solid #e9eee2;justify-content:space-between;gap:10px;padding:20px 29px;display:flex}.modal-actions>div{gap:10px;display:flex}.confirm-body{padding:27px}.confirm-body>svg{color:#7f976b;margin-bottom:13px}.confirm-body h2{margin-bottom:13px;font-size:21px}.confirm-body p{color:#819271;font-size:13px;line-height:1.8}.access-screen{background:radial-gradient(at 100% 0,#e2ecdd 0,#0000 55%),#f4f7ef;place-items:center;min-height:100vh;padding:30px;display:grid}.access-card{text-align:center;background:#fff;border:1px solid #dce5d2;border-radius:16px;max-width:440px;padding:43px;box-shadow:0 15px 75px #43573809}.access-card img{margin:auto auto 25px;display:block}.access-card h1{font-family:Georgia,serif;font-size:34px;font-weight:400}.access-card p{color:#8b9c7d;margin:18px 0 26px;line-height:1.9}.access-card small{color:#a0ad92;margin-top:20px;font-size:10px;display:block}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.sidebar-scrim{display:none}@media (min-width:1650px){.main-content{padding-top:50px}.stat-card{min-height:154px;padding:26px}.stat-number{font-size:39px}.empty-state{padding:70px 20px}.filter-bar{flex-wrap:nowrap}.search-box{min-width:220px}}@media (max-width:1250px){.sidebar{width:216px;padding-left:17px;padding-right:17px}.workspace{margin-left:216px}.topbar{padding:0 26px}.main-content{padding:32px 26px}.page-heading{align-items:flex-start}.heading-actions{padding-top:25px}.button{padding:10px 12px}.hospital-brand img{width:51px;height:51px}.hospital-brand strong{font-size:14px}.sidebar-note{padding:16px 12px}.stat-card{padding:18px}.stat-icon{width:30px;height:30px}.stats-grid{gap:12px}.user-info{display:none}.filter-bar{gap:9px}.search-box{flex-basis:35%}.select-filter{flex:1}.select-filter select{width:100%;max-width:190px}.visits-table{min-width:780px}.help-grid{grid-template-columns:1fr}.report-format{display:none}.page-heading h1{font-size:27px}}@media (max-width:980px){.page-heading{flex-wrap:wrap;margin-bottom:25px}.heading-actions{padding-top:0}.topbar-left{gap:10px;font-size:11px}.private-badge{display:none}.stats-grid{grid-template-columns:repeat(2,1fr)}.stat-card{min-height:121px}.bottom-hospital,.panel-caption{display:none}.date-filter,.date-filter label{flex:1}.date-filter input{width:100%}.table-footer>span{max-width:150px;line-height:1.6}.footer-dot{display:none}.table-footer>span,.table-footer>span:first-letter{font-size:0}.table-footer{justify-content:flex-end}.sidebar-note{margin-top:35px}.topbar-divider{display:none}.form-grid{grid-template-columns:repeat(2,1fr)}.accommodation-field{grid-column:span 2}.segmented{max-width:300px}}@media (max-width:720px){.sidebar{width:248px;transition:transform .2s;transform:translate(-100%)}.sidebar.open{transform:translate(0)}.sidebar-scrim{z-index:29;background:#1d352b50;display:block;position:fixed;inset:0}.workspace{margin-left:0}.topbar{height:67px;padding:0 18px}.topbar-left{gap:10px}.topbar-right{gap:5px}.topbar-current,.breadcrumb{display:none}.mobile-toggle{padding-left:0;display:flex}.user-avatar{width:29px;height:29px;font-size:10px}.main-content{padding:25px 18px}.page-heading{gap:18px}.eyebrow{letter-spacing:1.2px;font-size:8px}.eyebrow span{margin:0 3px}.page-heading h1{margin:10px 0;font-size:28px}.page-heading p{font-size:11px}.heading-actions{grid-template-columns:1fr 1fr;width:100%;display:grid}.heading-actions .primary{grid-area:1/2}.heading-actions .secondary{grid-column:1}.overview-bar{margin-top:27px;font-size:9px}.overview-bar>span:last-child{text-align:right;max-width:150px}.stats-grid{gap:10px;margin-bottom:22px}.stat-card{min-height:126px;padding:17px 15px}.stat-label{font-size:10px}.stat-subtitle{font-size:8px}.stat-number{margin-top:14px;font-size:31px}.stat-icon{width:26px;height:26px}.stat-icon svg{width:16px}.stat-wave{width:90px}.panel-heading{min-height:57px;padding:0 16px}.tabs{gap:22px}.tabs button{font-size:11px}.filter-bar{grid-template-columns:1fr 1fr;padding:16px;display:grid}.search-box,.date-filter{grid-column:span 2}.select-filter{padding:0 8px}.select-filter select{width:100%;min-width:0;font-size:10px}.date-filter{justify-content:space-between;padding:0 10px}.date-filter label{flex:unset;width:45%}.date-filter input{font-size:11px}.table-scroll{min-height:0}.visits-table{min-width:760px}.empty-state{padding:27px 20px 33px}.empty-state h2{max-width:240px;margin:auto;font-size:15px;line-height:1.5}.empty-state p{font-size:11px}.empty-illustration{margin-bottom:15px}.table-footer{padding:13px 16px}.bottom-note{align-items:flex-start;padding-top:17px;font-size:9px;line-height:1.6}.toast{width:max-content;font-size:11px;left:50%}.report-intro{gap:13px;padding:19px 16px}.report-symbol{padding:12px}.report-intro h2{font-size:19px}.report-intro .eyebrow{font-size:7px}.report-intro p{font-size:10px}.modal{width:calc(100% - 18px);max-height:95dvh}.modal.wide{width:calc(100% - 18px)}.modal-top{padding:13px 18px}.form-intro{align-items:flex-start;gap:10px;padding:20px 18px 0}.form-intro h2{font-size:17px}.form-intro p{font-size:10px}.form-symbol{width:36px;min-width:36px;height:36px}.form-body{padding:0 18px 22px}.form-grid{gap:16px 12px}.field input,.field select,.field textarea{padding:10px;font-size:16px}.field>span:first-child,.accommodation-field legend{font-size:10px}.form-footer{flex-wrap:wrap;justify-content:flex-end;padding:14px 18px}.form-footer>div{width:100%;margin-bottom:4px;font-size:8px}.form-footer .button{flex:1}.detail-title{padding:22px 18px}.detail-title h2{font-size:20px}.detail-meta{grid-template-columns:1fr;gap:17px;padding:18px}.detail-section{padding:20px 18px 0}.modal>.summary-box{margin:20px 18px}.modal-actions{flex-wrap:wrap;padding:16px 18px}.modal-actions .button{font-size:11px}.record-meta{margin:18px;line-height:1.7}.access-card{padding:35px 25px}.help-card{padding:24px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.stat-label,.page-heading p,.tabs button{font-size:12px}.stat-subtitle,.overview-bar,.search-box input,.select-filter select,.date-filter input{font-size:11px}.patient-cell strong,.visits-table td,.table-date,.worker-name,.demand-preview{font-size:12px}.visits-table th,.location-badge,.bed-text,.patient-cell small,.table-footer,.pagination{font-size:10px}.field>span:first-child,.accommodation-field legend{font-size:12px}.field input,.field textarea,.field select{font-size:14px}.field>span:first-child{color:#527044}.page-heading p{color:#6e7f65}.empty-state p{color:#748669}.bottom-note{color:#7f9074}.stat-subtitle{color:#7e9172}.sidebar-note p{color:#77866a}.featured .stat-subtitle{color:#b9d0bd}.search-box input::placeholder{color:#7e9172}.stat-label{color:#6c7e60}.location-badge{color:#65804f}.location-badge.apartment{color:#8c7549}.visits-table th{color:#6d805f}.worker-name,.table-date,.demand-preview{color:#6e8061}.topbar{position:relative}.access-card p{color:#6e8260}@media (max-width:720px){.field input,.field textarea,.field select{font-size:16px}.stat-label{font-size:11px}.stat-subtitle,.overview-bar{font-size:9px}.page-heading p{font-size:12px}.select-filter select{font-size:10px}.field>span:first-child,.accommodation-field legend,.tabs button{font-size:11px}}.portal-screen{min-height:100dvh;color:var(--ink);background:radial-gradient(at 10% 45%,#e2ece1 0,#0000 50%),radial-gradient(at 95% 80%,#e5eee7 0,#0000 45%),#f7f9f5;flex-direction:column;padding:32px 6vw;display:flex}.portal-header{justify-content:space-between;align-items:center;gap:24px;display:flex}.portal-hospital{align-items:center;gap:13px;font-size:16px;font-weight:600;display:flex}.portal-hospital img{object-fit:contain;width:64px;height:64px}.portal-hospital small{letter-spacing:1.8px;color:#74836c;margin-top:8px;font-size:9px;font-weight:400;display:block}.portal-nalumo{color:#75856e;align-items:center;gap:10px;font-size:12px;display:flex}.portal-nalumo strong{color:var(--green-dark);letter-spacing:-1.5px;font-size:26px}.portal-nalumo strong span{color:var(--gold)}.portal-card{text-align:center;width:100%;max-width:560px;margin:auto;padding:42px 28px}.portal-symbol{color:#63875c;background:#eaf1e6;border:1px solid #d7e3d1;border-radius:20px;place-items:center;width:72px;height:72px;margin:0 auto 26px;display:grid;transform:rotate(-5deg)}.portal-symbol svg{transform:rotate(5deg)}.portal-card h1{letter-spacing:-1.8px;margin:15px 0 9px;font-size:47px}.portal-card h2{color:#547046;margin-bottom:22px;font-size:20px;font-weight:450}.portal-card>p{color:#73846a;font-size:15px;line-height:1.8}.portal-features{color:#657c59;justify-content:center;gap:24px;margin:28px 0 31px;font-size:12px;display:flex}.portal-features span{align-items:center;gap:8px;display:flex}.portal-enter{justify-content:space-between;width:100%;max-width:340px;min-height:51px;padding:14px 22px;font-size:14px}.portal-preview-note{color:#83917c;max-width:340px;margin:17px auto 0;font-size:11px;line-height:1.8;display:block}.portal-footer{color:#83917c;justify-content:space-between;gap:18px;padding-top:20px;font-size:11px;display:flex}.portal-footer>span{font-size:10px}.demo-banner{color:#827047;background:#fbf8ef;border:1px solid #e4dfcd;border-radius:8px;align-items:center;gap:15px;margin-bottom:26px;padding:13px 16px;display:flex}.demo-tag{letter-spacing:1px;white-space:nowrap;font-size:9px;font-weight:700}.demo-banner p{font-size:11px;line-height:1.6}.demo-banner+.page-heading{margin-top:5px}@media (max-width:720px){.portal-screen{padding:22px}.portal-header{align-items:flex-start}.portal-hospital{gap:8px;font-size:13px}.portal-hospital img{width:46px;height:46px}.portal-hospital small{font-size:7px}.portal-nalumo{font-size:0}.portal-nalumo strong{font-size:22px}.portal-card{padding:40px 0}.portal-card h1{font-size:40px}.portal-card>p{font-size:14px}.portal-features{gap:18px;font-size:11px}.portal-footer{font-size:10px}.demo-banner{flex-direction:column;align-items:flex-start;gap:6px;padding:12px}.demo-banner p{font-size:10px}}
