:root{--ink:#292236;--muted:#787180;--plum:#713757;--pink:#bd437d;--line:#eae6ed;--bg:#f7f6f9;--green:#32705a;--radius:18px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:1.5}button,input,select,textarea{font:inherit}a,button,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a:focus-visible,button:focus-visible{outline:3px solid #cf8cb6;outline-offset:3px}button{border:0;background:none;color:inherit}a{color:var(--plum)}h1,h2,h3,p{margin:0}h1{font-size:36px;letter-spacing:-1.3px;line-height:1.2}h1 span{color:var(--pink)}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:15px}small{font-size:12px}.workspace{min-height:100vh;display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#fff;border-right:1px solid var(--line);padding:34px 22px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:9px;font-size:25px;font-weight:700;letter-spacing:-1px}.brand>span>span{font-weight:400}.brand i{color:var(--pink);font-style:normal}.brand-mark{background:#f7eaf1;color:var(--pink);display:grid;place-items:center;width:40px;height:40px;border-radius:12px}.workspace-label{font-size:10px;letter-spacing:2.6px;color:var(--muted);margin:13px 0 45px 50px}.nav-item{display:flex;gap:12px;align-items:center;padding:13px;width:100%;text-align:left;border-radius:10px;font-weight:600}.nav-item.selected{background:#f8edf3;color:var(--plum)}.nav-item span{margin-left:auto;font-size:11px;background:#fff;padding:2px 7px;border-radius:6px}.sidebar-bottom{margin-top:auto}.shield-note{display:flex;gap:10px;color:var(--muted);font-size:11px;padding-bottom:24px;border-bottom:1px solid var(--line)}.shield-note small{display:block;font-size:10px;margin-top:3px}.staff{display:flex;align-items:center;gap:9px;margin-top:22px}.staff strong{font-size:11px}.staff small{display:block;color:var(--muted);font-size:10px}.staff button{margin-left:auto}.staff-avatar{width:33px;height:33px;display:grid;place-items:center;background:#f1edf4;border-radius:50%;color:var(--plum)}.main-shell{margin-left:236px;width:calc(100% - 236px)}.topbar{height:72px;background:#ffffffbf;border-bottom:1px solid var(--line);justify-content:space-between;padding:0 38px;color:var(--muted);font-size:12px}.topbar,.topbar>span{display:flex;align-items:center}.topbar>span{gap:10px}.topbar strong{color:var(--ink);font-weight:500}.secure{font-size:11px}.content{padding:36px 38px 60px;max-width:1500px;margin:auto}.demo-banner{background:#f2e9d9;color:#72542c;font-size:11px;padding:10px 38px;display:flex;justify-content:space-between;gap:10px}.demo-banner a{gap:5px;color:inherit}.demo-banner a,.page-heading{display:flex;align-items:center}.page-heading{justify-content:space-between;margin:9px 0 30px}.page-heading p:not(.eyebrow){color:var(--muted);margin-top:12px}.eyebrow{font-size:10px;font-weight:700;letter-spacing:1.8px;color:var(--plum);margin-bottom:11px}.round-symbol{width:64px;height:64px;background:#f0e6ef;color:var(--plum);border-radius:50%;display:grid;place-items:center}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:28px}.stat{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;display:flex;align-items:center;gap:15px}.stat small{color:var(--muted);display:block;margin-bottom:5px;font-size:11px}.stat strong{font-size:17px;font-weight:600;letter-spacing:-.3px}.stat-icon{color:var(--plum);background:#f7f1f6;display:grid;place-items:center;width:42px;height:42px;border-radius:12px}.stat-icon svg{width:20px}.panel{border:1px solid var(--line);background:#fff;border-radius:var(--radius);padding:25px;margin-bottom:20px}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:24px}.panel-heading p{font-size:12px;color:var(--muted);margin-top:6px}.pill{display:inline-block;font-size:10px;padding:4px 9px;border-radius:6px;background:#f2eff5;color:var(--muted);white-space:nowrap}.pill.published{background:#eaf3ef;color:var(--green)}.pill.draft{background:#fbf0df;color:#93621f}.search{display:flex;align-items:center;gap:10px;background:#faf9fb;border:1px solid var(--line);border-radius:10px;padding:7px 8px 7px 14px;margin-bottom:22px;color:var(--muted);max-width:600px}.search input{border:0;background:none;outline:none;padding:4px;flex:1 1;min-width:0;color:var(--ink)}table{width:100%;border-collapse:collapse;text-align:left}th{font-size:10px;letter-spacing:.7px;text-transform:uppercase;color:var(--muted);font-weight:600;background:#fcfbfd}td,th{padding:17px 12px;border-bottom:1px solid #f0edf2}td{font-size:12px}tbody tr:last-child td{border-bottom:0}.patient-link{display:flex;gap:13px;align-items:center;text-align:left;padding:0}.patient-link:hover strong{color:var(--pink)}.patient-avatar{display:grid;place-items:center;background:#eee9f2;color:var(--plum);width:38px;height:38px;font-size:12px;font-weight:600;border-radius:12px}.patient-avatar.large{height:66px;width:66px;font-size:20px;border-radius:19px}.muted{color:var(--muted)}.warning{color:#a46121}.icon-button{padding:7px;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center}.footnote{font-size:11px;color:var(--muted);margin-top:14px}.button{border-radius:8px;padding:10px 16px;display:inline-flex;justify-content:center;align-items:center;gap:8px;font-size:12px;font-weight:600;white-space:nowrap}.button.primary{background:var(--plum);color:#fff;box-shadow:0 3px 6px #71375712}.button.primary:hover{background:#5d2946}.button.secondary{background:#fff;border:1px solid var(--line)}.button.secondary:hover{background:#faf7fa}.button.small{padding:7px 11px;font-size:11px}.alert{border-radius:10px;padding:12px 16px;font-size:12px;margin-bottom:18px;display:flex;gap:12px;align-items:center;justify-content:space-between}.alert.error{background:#fbecef;color:#943452;border:1px solid #efd0da}.alert.success{background:#eaf4ef;color:#32694d}.back{gap:8px;padding:0;margin-bottom:23px;color:var(--muted);font-size:12px}.back,.patient-heading{display:flex;align-items:center}.patient-heading{gap:19px;margin-bottom:31px}.patient-heading h1{font-size:29px;margin-bottom:8px}.patient-heading .eyebrow{margin-bottom:5px}.identity{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px}.patient-heading-meta{margin-left:auto;text-align:right}.patient-heading-meta small{font-size:9px;letter-spacing:1px;color:var(--muted);display:block}.patient-heading-meta strong{display:block;font-size:12px;margin-top:6px;font-weight:500}.tabs{display:flex;overflow-x:auto;border-bottom:1px solid var(--line);gap:23px;margin-bottom:28px}.tabs button{display:flex;gap:7px;align-items:center;white-space:nowrap;padding:0 0 15px;border-bottom:2px solid transparent;color:var(--muted);font-size:12px}.tabs button.active{color:var(--plum);border-bottom-color:var(--plum);font-weight:600}.overview-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:21px}.tinted{background:#f4eff5}.action-row{display:flex;align-items:center;gap:13px;width:100%;text-align:left;padding:20px 0;border-bottom:1px solid #e7dfe9}.action-row strong{display:block;font-size:12px;font-weight:600}.action-row small{display:block;font-size:11px;color:var(--muted);margin-top:4px}.action-row>svg{margin-left:auto;color:var(--plum)}.step-number{font-size:12px;color:#9b7f9b;background:#fff;border-radius:9px;padding:9px}.info-note{display:flex;gap:10px;padding:15px;background:#f6f3f8;border-radius:10px;color:var(--muted);font-size:11px;margin:15px 0}.info-note svg{flex-shrink:0;color:var(--plum)}.text-button{display:inline-flex;align-items:center;gap:6px;color:var(--plum);font-size:11px;font-weight:600;padding:9px 0}.empty{padding:40px 20px;text-align:center;color:#a296ad}.empty h3{color:var(--ink);margin:12px 0 6px;font-size:13px}.empty p{color:var(--muted);font-size:12px;max-width:350px;margin:auto}.record{padding:20px 0;border-top:1px solid var(--line)}.record-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.record-top h3{margin:9px 0 4px}.record-top p{color:var(--muted);font-size:11px}.version{font-size:10px;color:var(--muted);margin-left:8px}.results{margin-top:15px}.results td,.results th{padding:11px 8px;font-size:11px}.results th{font-size:9px}.results small{font-size:10px;font-weight:400;color:var(--muted)}.comment{border-left:2px solid #d6bfd5;padding:9px 12px;background:#faf8fb;font-size:12px;margin:14px 0;white-space:pre-wrap}.record-footer{display:flex;justify-content:space-between;align-items:center;margin-top:15px;gap:10px}.record-footer small{font-size:10px;color:var(--muted)}.prewrap{white-space:pre-wrap;margin-top:10px}.previous{margin-top:25px;font-size:12px;color:var(--muted)}.history-row{display:flex;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--line);font-size:12px}.history-row svg{color:var(--green)}.history-row span{margin-left:auto;color:var(--muted)}.vital{padding:22px 0;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:20px;align-items:center}.vital>div{flex:1 1}.vital strong{font-size:26px;display:block;margin:8px 0}.vital strong small{font-size:12px;font-weight:400}.vital p,.vital>small{color:var(--muted);font-size:11px}.vital>small{width:100%}.vital svg{width:50%;max-width:450px;color:var(--pink)}.loading{position:fixed;bottom:20px;right:20px;background:var(--ink);color:#fff;border-radius:10px;padding:12px 20px;font-size:12px;z-index:15}.auth-shell{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:#fff}.auth-story{display:flex;flex-direction:column;justify-content:space-between;background:#eee8f0;padding:48px 58px;color:#423247}.auth-story h1{font-size:45px;line-height:1.2;letter-spacing:-1.8px;margin:20px 0}.auth-story>div>p:not(.eyebrow){max-width:390px;color:#817486;font-size:15px;line-height:1.8}.story-features{display:grid;gap:18px;margin:36px 0}.story-features span{display:flex;gap:12px;align-items:center;font-size:12px;color:var(--plum)}.story-features svg{width:19px}.auth-story>small{font-size:10px;color:#96879a}.auth-card{width:100%;max-width:420px;margin:auto;padding:40px}.auth-card h2{font-size:26px;margin-bottom:12px}.auth-card>p:not(.eyebrow){color:var(--muted);font-size:13px;margin-bottom:27px}.auth-icon{background:#f8f0f6;color:var(--plum);border-radius:14px;width:56px;height:56px;display:grid;place-items:center;margin-bottom:30px}.auth-card .button.primary{width:100%;margin-top:12px}.auth-note{display:flex;gap:10px;color:var(--muted);font-size:11px;margin-top:30px;padding-top:23px;border-top:1px solid var(--line)}.auth-note svg{flex-shrink:0}.mfa-setup{font-size:12px}.mfa-setup code{overflow-wrap:anywhere}.mfa-setup img{display:block;margin:15px auto}.dialog{color:var(--ink);width:min(850px,calc(100% - 28px));max-height:90vh;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 20px 100px #29223640;background:#fff}.dialog::backdrop{background:#29223670;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-heading h2{font-size:21px}.dialog-patient{padding:12px 15px;background:#f5eff5;border-radius:9px;margin-bottom:23px;font-weight:600;color:var(--plum);font-size:13px}.dialog>p{font-size:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding-top:19px;border-top:1px solid var(--line)}label{display:block;font-size:12px;font-weight:600;margin:0 0 17px}input,select,textarea{display:block;width:100%;padding:10px 12px;border:1px solid #ded7e4;border-radius:7px;background:#fff;color:var(--ink);outline:none;margin-top:7px}input:focus,select:focus,textarea:focus{border-color:var(--pink);box-shadow:0 0 0 3px #bd437d12}textarea{min-height:85px;resize:vertical}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.form-grid .full{grid-column:1/-1}.editor-row{padding:17px;background:#faf8fb;border:1px solid var(--line);border-radius:12px;margin-bottom:14px}.editor-row-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.editor-row-top strong{font-size:12px}.result-input{display:flex;gap:7px}.result-input select{width:70px;flex-shrink:0}.result-input input{min-width:0}.table-scroll{overflow-x:auto}@media (min-width:1550px){.content{padding-top:45px}.panel{padding:29px}.auth-card{max-width:480px}}@media (max-width:1100px){.sidebar{width:200px;padding:28px 16px}.main-shell{margin-left:200px;width:calc(100% - 200px)}.content{padding:28px 24px}.topbar{padding:0 24px}.stat,.stats{gap:10px}.stat{padding:16px}.stat strong{font-size:14px}.stat-icon{width:34px;height:34px}.overview-grid{grid-template-columns:1fr}.auth-story{padding:40px}.auth-story h1{font-size:36px}}@media (max-width:760px){.sidebar{position:static;width:100%;height:65px;padding:12px 18px;flex-direction:row;align-items:center;justify-content:space-between;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:21px}.brand-mark{width:33px;height:33px}.shield-note,.sidebar nav,.staff small,.staff-avatar,.workspace-label{display:none}.sidebar-bottom,.staff{margin:0}.staff strong{display:none}.workspace{display:block}.main-shell{margin:0;width:100%}.topbar{height:52px;padding:0 18px}.topbar .secure{display:none}.content{padding:25px 16px}.demo-banner{padding:10px 18px}.demo-banner a{display:none}.page-heading h1{font-size:30px}.round-symbol{width:48px;height:48px}.stats{grid-template-columns:1fr;gap:8px;margin-bottom:20px}.stat{padding:13px 16px}.stat>div:not(.stat-icon){display:flex;justify-content:space-between;align-items:center;flex:1 1;gap:10px}.stat small{margin:0}.stat strong{font-size:14px}.panel{padding:18px}.panel-heading{align-items:flex-start;flex-wrap:wrap}.patient-heading{gap:12px;flex-wrap:wrap}.patient-heading h1{font-size:25px}.patient-heading-meta{width:100%;margin:0;text-align:left}.identity{gap:6px;flex-wrap:wrap}.tabs{gap:18px}.record-footer,.record-top{flex-wrap:wrap}.table-scroll table{min-width:500px}.record .table-scroll table{min-width:440px}.auth-shell{display:block}.auth-story{min-height:260px;padding:25px}.auth-story h1{font-size:30px;margin:16px 0}.auth-story .eyebrow,.auth-story>small,.story-features{display:none}.auth-story>div>p:not(.eyebrow){font-size:12px}.auth-card{padding:35px 25px}.auth-icon{display:none}.form-grid{grid-template-columns:1fr;gap:0}.dialog{padding:20px}.dialog-actions .button{white-space:normal}.vital svg{width:100%}.history-row{flex-wrap:wrap}.history-row span{margin:0;width:100%}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}