:root{--ink: #17251e;--muted: #68766d;--subtle: #8e9991;--canvas: #f4f6f2;--surface: #ffffff;--line: #dfe6e0;--green: #1d7a51;--green-dark: #145a3d;--green-soft: #e8f3eb;--amber: #b9781d;--amber-soft: #fff3df;--blue: #277da1;--blue-soft: #e8f3f7;--red: #ad493e;--red-soft: #faece9;--sidebar: #173d2b;--font: Inter, "Segoe UI", system-ui, -apple-system, sans-serif}*{box-sizing:border-box}html,body,#root{height:100%}body{margin:0;color:var(--ink);background:var(--canvas);font:14px/1.4 var(--font);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit;color:inherit}h1,h2,h3,p{margin:0}h1{font-size:29px;line-height:1.18;letter-spacing:-.7px}h2{font-size:20px;line-height:1.25;letter-spacing:-.35px}h3{font-size:15px;line-height:1.3}a{color:var(--green)}.muted{color:var(--muted)}small.muted{display:block;margin-top:3px;font-size:12px}:focus-visible{outline:2px solid var(--green);outline-offset:2px}.app{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100%}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;height:100vh;padding:24px 18px;color:#dbe9df;background:var(--sidebar)}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 25px}.brand-mark{display:grid;width:38px;height:38px;flex:none;place-items:center;border-radius:12px;color:var(--sidebar);background:#d9f0df;font-size:19px;font-weight:900}.brand strong{display:block;color:#fff;font-size:17px}.brand span{display:block;margin-top:1px;color:#9fb7a6;font-size:11px}.nav-label{margin:11px 10px 7px;color:#779483;font-size:10px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}.nav{display:grid;gap:5px}.nav-group{display:grid;gap:3px}.nav-item{display:flex;min-height:45px;align-items:center;gap:11px;padding:0 12px;border-radius:12px;color:#bcd0c2;text-decoration:none}.nav-item:hover{color:#fff;background:#ffffff0d}.nav-item i{display:grid;width:25px;height:25px;flex:none;place-items:center;border-radius:8px;background:#ffffff0f}.nav-item[aria-current=page]{color:#fff;background:#d9f0df21}.nav-item[aria-current=page] i{color:#153d2a;background:#d9f0df}.settings-subnav{display:grid;gap:2px;margin:3px 0 7px 25px;padding-left:18px;border-left:1px solid rgba(217,240,223,.2)}.settings-subnav a{padding:8px 10px;border-radius:9px;color:#9fb7a6;font-size:12px;font-weight:650;line-height:1.25;text-decoration:none}.settings-subnav a:hover{color:#fff;background:#ffffff0d}.settings-subnav a[aria-current=page]{color:#fff;background:#d9f0df1f}.sidebar-bottom{display:grid;gap:10px;margin-top:auto;padding:14px 12px;border:1px solid rgba(255,255,255,.1);border-radius:14px;background:#ffffff0a}.sidebar-bottom span{color:#a7baad;font-size:11px;overflow-wrap:anywhere}.sidebar-bottom button{min-height:34px;border:1px solid rgba(255,255,255,.16);border-radius:10px;color:#dbe9df;background:transparent;font-weight:700;cursor:pointer}.sidebar-bottom button:hover{background:#ffffff14}.main{display:grid;min-width:0;grid-template-rows:68px 1fr}.topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 32px;border-bottom:1px solid var(--line);background:#ffffffeb}.crumb{display:flex;min-width:0;align-items:center;gap:9px;color:var(--muted);font-size:12px}.crumb strong{overflow:hidden;color:var(--ink);text-overflow:ellipsis;white-space:nowrap}.top-actions{display:flex;flex:none;align-items:center;gap:10px}.demo{padding:6px 10px;border-radius:99px;color:var(--blue);background:var(--blue-soft);font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.avatar,.initial{display:grid;width:38px;height:38px;flex:none;place-items:center;border-radius:11px;color:var(--green);background:var(--green-soft);font-weight:900}.initial.large{width:56px;height:56px;font-size:18px}.content{width:100%;max-width:1260px;padding:31px 34px 56px}.page-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px 20px;margin-bottom:24px}.page-head p{margin-top:6px;color:var(--muted)}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.actions.end{justify-content:flex-end;margin-top:22px}.stack{display:grid;gap:18px}.btn{display:inline-flex;min-height:42px;align-items:center;justify-content:center;gap:8px;padding:0 17px;border:1px solid var(--line);border-radius:11px;color:var(--ink);background:#fff;font-weight:750;text-decoration:none;white-space:nowrap;cursor:pointer}.btn:hover{border-color:#c5d2c8}.btn.primary{border-color:var(--green);color:#fff;background:var(--green)}.btn.primary:hover{border-color:var(--green-dark);background:var(--green-dark)}.btn.ghost{border-color:transparent;color:var(--green);background:transparent}.btn.ghost:hover{background:var(--green-soft)}.btn.danger{border-color:#e7c7c2;color:var(--red)}.btn.small{min-height:34px;padding:0 12px;font-size:12px}.btn.block{width:100%}.btn:disabled{opacity:.55;cursor:not-allowed}.icon-btn{display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:9px;color:var(--muted);background:transparent;font-size:16px;cursor:pointer}.icon-btn:hover{color:var(--red);background:var(--red-soft)}.grid{display:grid;gap:18px}.cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.split{grid-template-columns:minmax(0,1.65fr) minmax(280px,.75fr);align-items:start}.card{padding:21px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 5px 16px #20372809}.card.soft{border-color:#d1e4d6;background:#edf6ef}.card.amber{border-color:#f0dfbd;background:#fff7e9}.card.red{border-color:#eccfc9;background:#fff1ef}.card>h2+p,.card>.eyebrow+h2{margin-top:7px}.card>h2+p,.card>p.lead{margin-top:9px;color:var(--muted)}.metric-label{color:var(--muted);font-size:12px}.metric-value{margin-top:7px;font-size:28px;font-weight:850;letter-spacing:-.5px;overflow-wrap:anywhere}.metric-value.compact{font-size:20px}.metric-foot{margin-top:6px;color:var(--muted);font-size:11px}.eyebrow{color:var(--green);font-size:10px;font-weight:850;letter-spacing:.11em;text-transform:uppercase}.eyebrow.amber{color:var(--amber)}.eyebrow.red{color:var(--red)}.row{display:flex;align-items:center;gap:11px}.row.between{flex-wrap:wrap;justify-content:space-between}.badge{display:inline-flex;min-height:25px;align-items:center;padding:0 9px;border-radius:99px;color:var(--green);background:var(--green-soft);font-size:10px;font-weight:800;white-space:nowrap}.badge.amber{color:var(--amber);background:var(--amber-soft)}.badge.blue{color:var(--blue);background:var(--blue-soft)}.badge.gray{color:var(--muted);background:#eef1ee}.badge.red{color:var(--red);background:var(--red-soft)}.table-card{padding:0;overflow-x:auto}.table-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px}table{width:100%;border-collapse:collapse}th{padding:13px 17px;color:var(--muted);background:#f7f8f5;font-size:10px;letter-spacing:.06em;text-align:left;text-transform:uppercase;white-space:nowrap}td{padding:15px 17px;border-top:1px solid var(--line);vertical-align:middle}tr.clickable{cursor:pointer}tr.clickable:hover td{background:#fafbf9}td.chevron{width:30px;color:var(--muted);font-weight:800;text-align:right}.person{display:flex;align-items:center;gap:10px}.person b{display:block}.person small{display:block;margin-top:3px;color:var(--muted)}.empty{display:flex;min-height:420px;flex-direction:column;align-items:center;justify-content:center;padding:40px 24px;text-align:center}.empty-icon{display:grid;width:72px;height:72px;place-items:center;margin-bottom:18px;border-radius:23px;color:var(--green);background:var(--green-soft);font-size:30px}.empty>p:not(.eyebrow){max-width:470px;margin:10px auto 20px;color:var(--muted)}.empty .check-list,.empty .notice{width:min(620px,100%);text-align:left}.empty .notice{margin-top:22px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:grid;gap:7px;align-content:start}.field.full{grid-column:1 / -1}.field label{color:#4f5c53;font-size:11px;font-weight:800}.field small{color:var(--muted);font-size:11px}.input,.field input,.field select,.field textarea{width:100%;min-height:45px;padding:0 13px;border:1px solid #d9e1db;border-radius:11px;color:#39463e;background:#fff}.field textarea{min-height:86px;padding-top:12px;padding-bottom:12px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus,.search-box:focus-within{border-color:var(--green);outline:2px solid var(--green-soft)}.field input[readonly]{background:#f7f8f5}.input{display:flex;align-items:center;justify-content:space-between;gap:10px}.error-text{color:var(--red);font-size:12px;font-weight:700}.choice{display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid var(--line);border-radius:13px;background:#fff}label.choice{cursor:pointer}.choice.selected{border-color:#7eb092;background:#f0f7f1}.choice input{width:18px;height:18px;flex:none;margin:1px 0 0;accent-color:var(--green)}.radio{width:19px;height:19px;flex:none;border:2px solid #9dac9f;border-radius:50%;box-shadow:inset 0 0 0 4px #fff}.selected .radio{border-color:var(--green);background:var(--green)}.choice p{margin-top:4px;color:var(--muted);font-size:11px}.notice{display:flex;align-items:flex-start;gap:11px;padding:15px;border-radius:13px;color:#4d5a51;background:#f1f4f0;font-size:12px}.notice i{display:grid;width:24px;height:24px;flex:none;place-items:center;border-radius:8px;color:var(--green);background:var(--green-soft);font-style:normal;font-weight:900}.notice.error{color:var(--red);background:var(--red-soft)}.notice.error i{color:var(--red);background:#fff}.card .notice{margin-top:16px}.card.soft .notice,.card.amber .notice{background:#ffffffb3}.steps{display:flex;flex-wrap:wrap;align-items:center;margin:0 0 26px}.step{display:flex;align-items:center;gap:8px;color:var(--subtle);font-size:11px;font-weight:700}.step b{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;color:#637269;background:#e8ece8}.step.active{color:var(--green)}.step.active b{color:#fff;background:var(--green)}.step-line{width:70px;height:1px;margin:0 10px;background:var(--line)}.check-list{display:grid;gap:11px;margin-top:17px}.check-item{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 15px;border:1px solid var(--line);border-radius:13px;color:inherit;background:#fff;text-align:left;text-decoration:none}a.check-item:hover,button.check-item:hover{border-color:#b9d2c1}button.check-item{width:100%;cursor:pointer}.check-item>div{display:flex;min-width:0;align-items:center;gap:11px}.check-item small{display:block;margin-top:2px;color:var(--muted)}.check-mark{display:grid;width:28px;height:28px;flex:none;place-items:center;border-radius:9px;color:var(--green);background:var(--green-soft);font-weight:900}.timeline{display:grid;margin-top:17px}.timeline-item{position:relative;display:grid;grid-template-columns:22px 1fr auto;gap:11px;padding:0 0 20px}.timeline-item:before{position:absolute;top:20px;bottom:0;left:9px;width:2px;background:#e2e8e3;content:""}.timeline-item:last-child:before{display:none}.timeline-dot{width:20px;height:20px;border:5px solid #dceade;border-radius:50%;background:var(--green)}.timeline-dot.pending{background:#c3cdc6}.timeline-item p{margin-top:3px;color:var(--muted);font-size:11px}.food-list{display:grid;gap:8px}.food{display:grid;grid-template-columns:minmax(0,1fr) 160px 110px 34px;align-items:center;gap:10px;padding:13px 14px;border:1px solid var(--line);border-radius:12px;background:#fff}.food small{display:block;margin-top:3px;color:var(--muted)}.food>span{color:var(--muted)}.patient-context{display:inline-flex;align-items:center;gap:9px;margin-bottom:16px;padding:7px 10px;border-radius:11px;color:#3e5848;background:var(--green-soft);font-size:11px;font-weight:750}.patient-context i{display:grid;min-width:24px;height:24px;padding:0 4px;place-items:center;border-radius:8px;color:#fff;background:var(--green);font-size:10px;font-style:normal}.patient-context.prominent{display:flex;width:min(520px,100%);padding:13px 15px;border:1px solid #b8d7c2;border-left:5px solid var(--green);border-radius:15px;background:#f0f8f2;box-shadow:0 8px 24px #144a3312;font-size:13px}.patient-context.prominent i{width:38px;height:38px;border-radius:11px;font-size:12px}.patient-context.prominent span{display:grid;gap:2px}.patient-context.prominent small{color:var(--muted);font-size:10px;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.patient-context.prominent b{color:var(--ink);font-size:17px}.dialog-backdrop{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#0a1f1594;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.dialog-card{width:min(480px,100%);padding:24px;border:1px solid #c8d9cd;border-radius:20px;background:#fff;box-shadow:0 24px 70px #0720153d}.dialog-card.wide{width:min(720px,100%);max-height:calc(100vh - 40px);overflow:auto}.dialog-card h2{margin-top:12px}.dialog-card p{margin-top:8px;color:var(--muted);line-height:1.55}.dialog-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:12px;color:#8a4d05;background:#fff0d5;font-weight:900}.verification-box{padding:13px;border:2px solid transparent;border-radius:14px;transition:border-color .15s ease,background .15s ease,box-shadow .15s ease}.verification-box.required{border-color:#d68616;background:#fff9ec;box-shadow:0 0 0 4px #d686161f}.review-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:18px}@media(max-width:620px){.review-grid{grid-template-columns:1fr}}.tab-row{display:flex;flex-wrap:wrap;gap:8px}.search-box{display:flex;min-height:52px;align-items:center;gap:10px;padding:0 16px;border:2px solid #9bb9a6;border-radius:14px;background:#fff;font-size:16px}.search-box.compact{width:min(320px,100%);min-height:42px;border-width:1px;border-color:#d9e1db;border-radius:11px;font-size:14px}.search-box input{min-width:0;flex:1;border:0;outline:0;background:transparent}.search-result{display:grid;grid-template-columns:minmax(0,1fr) 110px 110px 110px;align-items:center;gap:12px;padding:14px 16px;border-bottom:1px solid var(--line)}.search-result:last-child{border-bottom:0}.search-result small{display:block;margin-top:3px;color:var(--muted)}.auth{display:grid;min-height:100%;grid-template-columns:minmax(360px,520px) 1fr;background:#f7f8f5}.auth-brand{padding:64px 58px;color:#fff;background:linear-gradient(150deg,#163e2a,#1e6342)}.auth-brand .brand{padding:0}.auth-brand h1{margin-top:120px;font-size:44px;line-height:1.12;letter-spacing:-1.5px}.auth-brand>p{max-width:360px;margin-top:18px;color:#c3d7c9;font-size:16px;line-height:1.6}.auth-bullets{display:grid;gap:13px;margin-top:40px}.auth-bullets div{display:flex;align-items:center;gap:10px;color:#dcebe0}.auth-bullets i{display:grid;width:27px;height:27px;place-items:center;border-radius:9px;color:#17442e;background:#cfe8d5;font-style:normal;font-weight:900}.auth-main{display:grid;place-items:center;padding:50px 24px}.auth-card{width:min(460px,100%);padding:38px;border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 18px 60px #1e362717}.auth-card>p{margin-top:8px;color:var(--muted)}.auth-card form{display:grid;gap:18px;margin-top:18px}.auth-card .notice{margin-top:22px}.separator{display:flex;align-items:center;gap:10px;margin:19px 0 0;color:var(--subtle);font-size:10px}.separator:before,.separator:after{flex:1;height:1px;background:var(--line);content:""}.google-button{display:flex;min-height:44px;justify-content:center;margin-top:14px}.link{display:block;width:100%;margin-top:17px;border:0;color:var(--green);background:transparent;font-size:12px;font-weight:700;text-align:center;cursor:pointer}.loading-page{display:grid;min-height:100%;place-items:center;color:var(--muted)}@media(max-width:1100px){.cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}.split{grid-template-columns:minmax(0,1fr)}}@media(max-width:860px){.app{grid-template-columns:minmax(0,1fr)}.sidebar{position:static;height:auto;padding:14px 16px}.brand{padding-bottom:12px}.nav-label{display:none}.nav{display:flex;overflow-x:auto}.nav-item{flex:none}.nav-group{display:flex;flex:none}.settings-subnav{display:flex;margin:0 0 0 5px;padding:0;border-left:0}.settings-subnav a{display:flex;flex:none;align-items:center;min-height:45px;padding:0 12px}.sidebar-bottom{grid-template-columns:1fr auto;align-items:center;margin-top:12px;padding:8px 12px}.sidebar-bottom button{padding:0 14px}.topbar{padding:0 18px}.content{padding:24px 18px 48px}.cols-3,.field-grid,.auth{grid-template-columns:minmax(0,1fr)}.auth-brand{padding:32px 24px}.auth-brand h1{margin-top:32px;font-size:32px}.auth-bullets{display:none}.food,.search-result{grid-template-columns:minmax(0,1fr) auto}}
