@import url('data:text/css,');
:root{--ink:#203f37;--text:#283b35;--muted:#66766e;--line:#e0e6df;--bg:#f7f8f3;--paper:#fff;--sage:#e8efe1;--mint:#d7e7c5;--dark:#173e33;--orange:#b97846;--peach:#f8eadb;--radius:20px;--shadow:0 8px 32px #243e2e06;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);font-synthesis:none;font-size:14px}
*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button:focus-visible,a:focus-visible{outline:3px solid #9fbd80;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:2px solid #91aa7c;outline-offset:2px}button{color:inherit}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-family:Georgia,"Times New Roman",serif;font-size:39px;line-height:1.2;font-weight:400;letter-spacing:-1.3px;color:var(--ink)}h2{font-size:18px;line-height:1.35;font-weight:600;letter-spacing:-.4px}h3{font-size:15px;line-height:1.5;font-weight:600}p{line-height:1.65}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.6}.eyebrow{font-size:10px;letter-spacing:1.6px;text-transform:uppercase;font-weight:700;color:#64775b}.icon{width:20px;height:20px;stroke:currentColor;stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.flex{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:18px}.row-end{display:flex;justify-content:flex-end;gap:10px;align-items:center}.space{margin-top:20px}.space-sm{margin-top:10px}.space-lg{margin-top:28px}.grow{flex:1}.nowrap{white-space:nowrap}
.demo-bar{min-height:35px;padding:7px 25px;display:flex;justify-content:center;align-items:center;gap:12px;background:var(--ink);color:#edf2e8;font-size:11px;letter-spacing:.2px}.demo-bar .icon{width:14px;height:14px}.demo-bar button{background:transparent;border:0;color:#dce9ca;font-size:11px;text-decoration:underline;text-underline-offset:3px;padding:0 8px}.demo-dot{width:6px;height:6px;border-radius:50%;background:#bad48e}.app-layout{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:calc(100vh - 35px)}.sidebar{background:#fff;border-right:1px solid var(--line);padding:38px 23px 22px;display:flex;flex-direction:column;position:sticky;top:0;height:calc(100vh - 35px)}.brand{display:flex;align-items:center;gap:10px;margin-bottom:5px;color:var(--ink)}.brand-word{font-family:Georgia,serif;font-size:37px;letter-spacing:-2px}.brand-icon{width:32px;height:37px}.brand-sub{font-size:10px;color:#849083;letter-spacing:.5px;margin-left:42px}.nav-label{font-size:9px;letter-spacing:1.5px;color:#95a093;margin:46px 14px 13px;font-weight:700}.nav-item{display:flex;align-items:center;gap:13px;width:100%;border:0;background:none;text-align:left;padding:13px 15px;border-radius:10px;color:#6d7b72;margin-bottom:5px;font-size:12px}.nav-item:hover{background:#f5f7f1}.nav-item.active{color:var(--ink);background:#eaf0e2;font-weight:600}.nav-item .nav-count{margin-left:auto;font-size:10px;background:#fff;padding:2px 6px;border-radius:5px}.sidebar-bottom{margin-top:auto;padding-top:24px}.sidebar-note{padding:16px;background:#f6f8f1;border:1px solid #e9eee3;border-radius:14px;color:#6c7c66;font-size:11px;line-height:1.7}.sidebar-person{border-top:1px solid var(--line);margin-top:22px;padding-top:20px}.avatar{height:38px;width:38px;border-radius:50%;display:grid;place-items:center;font-weight:600;font-size:12px;flex-shrink:0}.sage{background:#e4ecd8;color:#4b6443}.peach{background:#f6e2cf;color:#906244}.lavender{background:#e9e2f1;color:#786688}.blue{background:#dce9ec;color:#577680}.sand{background:#ede9d8;color:#7d7451}.dark-avatar{background:var(--ink);color:white}.large-avatar{width:56px;height:56px;font-size:17px}.person-name{font-size:12px;font-weight:600}.person-sub{font-size:10px;color:var(--muted);margin-top:3px}.workspace{min-width:0}.topbar{padding:19px 36px;min-height:79px;background:#fff9;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:18px}.topbar-label{font-size:10px;color:#899385;margin-bottom:7px}.roles{display:flex;gap:3px;border:1px solid var(--line);border-radius:9px;padding:3px;background:#f4f6f0}.role-btn{border:0;background:transparent;color:#70816f;border-radius:6px;padding:7px 14px;font-size:11px;white-space:nowrap}.role-btn.active{background:white;box-shadow:0 1px 5px #223e2510;color:var(--ink);font-weight:600}.topbar-right{text-align:right;font-size:11px;color:#74806f}.topbar-right strong{font-weight:500;display:block;color:#374d3e;margin-bottom:4px}.main{max-width:1370px;margin:auto;padding:34px 38px 40px}.page-heading{margin-bottom:27px;display:flex;align-items:center;justify-content:space-between;gap:16px}.page-heading p{margin-top:9px;font-size:13px;color:var(--muted)}.pill{display:inline-flex;align-items:center;gap:6px;font-size:10px;border-radius:20px;padding:6px 10px;line-height:1.4;white-space:nowrap;background:#f0f3eb;color:#627653}.pill.green{background:#eaf0e3;color:#58774a}.pill.amber{background:#fcf0d9;color:#936a28}.pill.red{background:#fae9e4;color:#a44937}.pill.blue{background:#e9f0f6;color:#5b7890}.pill.dark{background:#ffffff1c;color:#e5eddc}.pill.outline{background:transparent;border:1px solid #cdd8c1;color:#5e7054}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:24px}.card-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px}.card-head .eyebrow{margin-bottom:6px}.btn{border:1px solid var(--line);background:white;border-radius:9px;padding:11px 16px;font-size:12px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;text-decoration:none}.btn .icon{width:16px;height:16px}.btn:hover{background:#f3f6ef;border-color:#bccbb4}.btn.primary{background:var(--ink);border-color:var(--ink);color:white}.btn.primary:hover{background:#2f5548}.btn.light{background:#ecf2df;border-color:#ecf2df;color:var(--ink)}.btn.ghost{background:transparent;border-color:transparent;padding:9px;color:#708566}.btn.danger{background:#a64c3d;border-color:#a64c3d;color:white}.btn.full{width:100%}.text-link{border:0;background:transparent;color:#627951;padding:4px 0;font-size:12px;display:inline-flex;align-items:center;gap:6px}.text-link .icon{width:14px;height:14px}.text-link:hover{text-decoration:underline;text-underline-offset:4px}.hero{display:grid;grid-template-columns:1.5fr 1fr;background:#e9efdf;border:1px solid #e0e8d5;border-radius:22px;overflow:hidden;min-height:238px;padding:30px 34px;margin-bottom:22px;position:relative}.hero-copy{position:relative;z-index:1;max-width:470px}.hero h2{font-family:Georgia,serif;font-size:32px;font-weight:400;letter-spacing:-.8px;line-height:1.22;margin:13px 0 12px}.hero p{max-width:420px;color:#6b7b60;font-size:12px}.hero-art{display:flex;align-items:center;justify-content:center;position:relative;min-width:170px}.orbit{position:absolute;width:190px;height:190px;border:1px solid #ccd8bb;border-radius:50%;transform:rotate(-20deg)}.orbit:nth-child(2){width:240px;height:145px;transform:rotate(35deg)}.leaf{width:90px;height:137px;border-radius:95% 0 95% 0;background:linear-gradient(150deg,#819775,#bdce9f);transform:rotate(-25deg);position:relative;box-shadow:12px 14px 26px #69805a12}.leaf:after{content:"";position:absolute;width:1px;height:110px;background:#e4ebd066;transform:rotate(34deg);left:50%;top:25px}.mini-note{position:absolute;bottom:8px;right:1px;background:#ffffffdb;border:1px solid white;border-radius:12px;padding:12px 15px;box-shadow:0 9px 30px #70885b15;font-size:11px;display:flex;align-items:center;gap:10px;white-space:nowrap}.mini-note strong{display:block;font-size:12px;margin-bottom:4px}.mini-note .icon{color:#769566;width:24px;height:24px}.patient-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.checkin-card{border-color:#dbe4ce}.icon-box{width:43px;height:43px;border-radius:12px;background:#f0f4e8;display:grid;place-items:center;color:#71885f;flex-shrink:0}.checkin-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:22px 0}.mini-step{display:flex;align-items:center;gap:8px;color:#7c8875;font-size:11px}.mini-step span{width:24px;height:24px;border:1px solid #d9e2cf;border-radius:50%;display:grid;place-items:center;color:#6b805a;font-size:10px}.stat-number{font-size:32px;letter-spacing:-1.3px;font-weight:500;color:var(--ink)}.stat-number small{font-size:13px;font-weight:400;letter-spacing:0;color:var(--muted)}.stat-caption{font-size:11px;color:var(--muted);margin-top:7px}.divider{border:0;border-top:1px solid var(--line);margin:20px 0}.date-tile{background:#f3f5ed;width:55px;min-width:55px;border-radius:10px;padding:9px;text-align:center}.date-tile strong{display:block;font-size:22px;font-weight:500}.date-tile span{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#7c896e}.timeline{margin-top:18px}.timeline-row{display:flex;gap:12px;align-items:flex-start;padding:0 0 20px;position:relative}.timeline-row:before{content:"";position:absolute;left:8px;top:17px;width:1px;height:100%;background:#e1e7db}.timeline-row:last-child:before{display:none}.timeline-dot{height:17px;width:17px;border:4px solid #f0f4e9;background:#789560;border-radius:50%;margin-top:3px;flex-shrink:0;z-index:1}.timeline-row p{font-size:12px}.timeline-row .small{font-size:10px;color:#8a9582}.spark-chart{width:100%;height:135px;overflow:visible}.chart-labels{display:flex;justify-content:space-between;color:#93a089;font-size:10px;padding:0 6px;margin-top:0}.info-note{font-size:11px;line-height:1.65;color:#74806c;background:#f5f7f0;border-radius:10px;padding:12px 14px}.info-note.amber{background:#fcf5e8;color:#8d703d}.info-note.red{background:#fbede8;color:#9a4c3c}.panel-grid{display:grid;grid-template-columns:1.8fr 1fr;gap:22px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}.stat-card{padding:18px 21px}.stat-card .stat-number{font-size:30px;margin-top:13px}.stat-card.active-stat{background:#eaf0e2;border-color:#dae4cd}.stat-top{font-size:11px;color:#76856a;display:flex;justify-content:space-between;align-items:center}.stat-top .icon{width:17px;height:17px}.patient-row{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #edf0e8}.patient-row:last-child{border:0;padding-bottom:0}.patient-row:first-child{padding-top:0}.patient-row h3{font-size:13px}.patient-row .meta{font-size:10px;color:#8b9684;margin-top:5px}.patient-row .right{margin-left:auto;text-align:right}.patient-row .right .btn{padding:7px 12px;min-height:34px;font-size:11px}.progress-dots{display:flex;gap:4px;align-items:center;margin-top:7px}.progress-dots i{width:17px;height:4px;background:#e3e8dc;border-radius:2px}.progress-dots i.filled{background:#8ba66e}.progress-dots span{font-size:10px;color:#849075;margin-left:4px}.alert-card{border-radius:12px;background:#fcf4e7;border:1px solid #f0e1c3;padding:16px}.alert-card p{font-size:12px;color:#8c7448;margin:8px 0 12px}.alert-card h3{font-size:13px}.empty{padding:28px 10px;text-align:center;color:#7b8971}.empty .icon{width:30px;height:30px;color:#99ad84;margin-bottom:13px}.search{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:10px 13px;min-width:230px}.search .icon{width:17px;height:17px;color:#8a977f}.search input{border:0;background:none;outline:none;width:100%;min-width:0;font-size:12px}.filter-bar{display:flex;gap:6px;margin-bottom:22px;flex-wrap:wrap}.filter{border:1px solid var(--line);background:transparent;padding:8px 14px;border-radius:20px;font-size:11px;color:#75846b}.filter.active{background:var(--ink);border-color:var(--ink);color:white}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{font-size:9px;text-transform:uppercase;letter-spacing:1px;color:#8b9583;font-weight:500;border-bottom:1px solid var(--line);padding:0 14px 14px}td{padding:18px 14px;border-bottom:1px solid #edf0e9}tr:last-child td{border:0}td:first-child,th:first-child{padding-left:0}td:last-child,th:last-child{padding-right:0}.table-title{font-size:12px;font-weight:600}.fictitious{font-size:9px;color:#94a089;margin-top:3px}.section-title{margin:27px 0 14px}.split-checkin{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(230px,1fr);gap:24px}.stepper{display:flex;gap:8px;margin-bottom:26px}.stepper i{height:4px;flex:1;background:#e4eadd;border-radius:3px}.stepper i.active{background:#77915f}.step-title{font-family:Georgia,serif;font-size:28px;margin:11px 0 8px;font-weight:400}.checkin-form{padding:32px}.field{display:block;margin-top:20px}.field-label{display:block;font-size:12px;font-weight:500;margin-bottom:9px}.field input,.field textarea,.field select{width:100%;border:1px solid #dce3d4;border-radius:9px;background:#fcfdf9;padding:12px 14px;color:var(--ink);min-height:44px}.field textarea{resize:vertical;min-height:110px;line-height:1.6}.weight-input{display:flex;align-items:center;border:1px solid #cfdcbf;border-radius:12px;padding:10px 18px;background:#fbfdf7;margin-top:21px}.weight-input input{font-size:39px;width:100%;border:0;outline:0!important;background:none;color:var(--ink);letter-spacing:-1px;min-width:0}.weight-input span{font-size:17px;color:#8a997b}.checkbox{display:flex;align-items:center;gap:9px;font-size:12px;color:#74836b;margin:18px 0}.checkbox input{accent-color:#607a50;width:16px;height:16px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:24px 0}.choice{border:1px solid var(--line);background:#fff;border-radius:13px;padding:20px 12px;min-height:90px;display:flex;flex-direction:column;gap:11px;align-items:center;font-size:13px}.choice.selected{background:#edf3e4;border:2px solid #849f6b;padding:19px 11px}.choice .icon{width:24px;height:24px}.form-actions{display:flex;align-items:center;justify-content:space-between;margin-top:29px;padding-top:20px;border-top:1px solid var(--line)}.scenario-list{display:flex;gap:6px;flex-wrap:wrap;margin-top:15px}.scenario{background:#f5f7f0;border:1px solid #e0e6d7;border-radius:7px;padding:7px 9px;font-size:10px;color:#778568}.scenario.selected{background:#e6eed9;border-color:#9eb78a;color:#446139}.scenario.emergency{color:#a05746;background:#fcf2ed}.scale{background:linear-gradient(135deg,#e7e9e2,#f9faf7);border:6px solid #f7f8f3;border-radius:18px;padding:22px;margin:19px auto;width:205px;box-shadow:0 4px 16px #53604713;text-align:center}.scale-screen{border-radius:7px;background:#c8d6ba;color:#3f513a;font-family:monospace;font-size:33px;padding:12px 6px;box-shadow:inset 0 2px 5px #3f513a13}.scale-screen small{font-size:13px}.scale-name{font-size:8px;letter-spacing:2px;color:#97a18a;margin-top:15px}.photo-confirm{background:#edf3e5;padding:15px;border-radius:10px;margin-top:16px}.audio-preview{display:flex;align-items:center;gap:13px;border:1px solid #d7e0cc;border-radius:13px;padding:16px;background:#f3f7ec;margin-top:17px}.audio-preview .icon{color:#698550}.wave{height:28px;display:flex;align-items:center;gap:3px;flex:1}.wave i{width:3px;height:var(--h);background:#96ad7e;border-radius:2px}.review-list{margin-top:20px}.review-item{padding:14px 0;border-bottom:1px solid var(--line);display:flex;gap:18px;justify-content:space-between;font-size:12px}.review-item span{color:#89967f}.review-item strong{font-weight:500;text-align:right}.message{background:#edf3e5;border:1px solid #dce7cf;border-radius:0 16px 16px;padding:20px;max-width:640px;margin-top:18px}.message p{font-size:13px;color:#597047;line-height:1.8}.message.red{background:#fcf0eb;border-color:#edd4cb}.message.red p{color:#9b5140}.message-author{font-size:10px;font-weight:600;color:#617a4d;display:flex;align-items:center;gap:7px;margin-bottom:10px}.message-author .icon{width:14px;height:14px}.success-circle{width:61px;height:61px;display:grid;place-items:center;border-radius:50%;background:#e7efdc;color:#738c5c;margin-bottom:20px}.success-circle .icon{width:29px;height:29px}.task-row{display:flex;gap:14px;padding:19px 0;border-bottom:1px solid #eaf0e3;align-items:flex-start}.task-row:last-child{border-bottom:0}.task-row:first-child{padding-top:0}.task-row h3{font-size:13px;margin-top:6px}.task-row p{font-size:11px;color:#7b8872;margin:5px 0 12px;max-width:440px}.task-row .btn{font-size:11px;padding:8px 11px;min-height:35px}.agenda-row{display:flex;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid #edf0e7}.agenda-row:last-child{border:0}.agenda-row h3{font-size:12px}.agenda-time{font-size:10px;color:#91a085;margin-top:5px}.reminder{display:flex;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid #edf0e7;font-size:11px}.reminder span{color:#859679;min-width:48px}.footer{margin-top:28px;padding-top:17px;border-top:1px solid var(--line);font-size:10px;color:#9aa590;display:flex;justify-content:space-between;gap:12px}.emergency-link{background:none;border:0;font-size:10px;color:#8b7d67;text-decoration:underline;text-underline-offset:3px;padding:0}.caregiver-note{padding:9px 14px;background:#eef1f8;border:1px solid #dbe0ea;border-radius:9px;font-size:11px;color:#647183;margin-bottom:18px}
dialog{border:1px solid var(--line);border-radius:22px;padding:0;max-width:650px;width:calc(100% - 36px);max-height:90vh;box-shadow:0 30px 100px #1833242b;color:var(--text)}dialog::backdrop{background:#243b3255;backdrop-filter:blur(4px)}.modal-head{padding:24px 28px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.modal-body{padding:24px 28px;overflow:auto;max-height:calc(90vh - 90px)}.close-btn{display:grid;place-items:center;width:32px;height:32px;background:#f4f6ef;border:0;border-radius:50%;flex-shrink:0}.close-btn .icon{width:16px;height:16px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:20px 0}.detail-stat{padding:16px;background:#f6f8f1;border-radius:12px}.detail-stat .small{font-size:10px}.detail-stat strong{display:block;font-size:21px;font-weight:500;margin-top:8px}.weight-history{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:17px 0}.weight-week{border:1px solid #e3e9da;border-radius:9px;text-align:center;padding:13px 5px}.weight-week span{font-size:9px;color:#8c9a7e;display:block;margin-bottom:7px}.weight-week strong{font-size:12px;font-weight:500}.decision-option{display:flex;gap:9px;align-items:center;margin:12px 0;font-size:12px;padding:12px;border:1px solid #dfe6d6;border-radius:9px}.decision-option input{accent-color:var(--ink)}.error{color:#a14a39;font-size:12px;line-height:1.5;margin-top:12px;min-height:18px}.form-error{color:#a14a39;font-size:12px;margin-top:12px}#toast{position:fixed;bottom:23px;left:50%;transform:translate(-50%,15px);background:var(--ink);color:#fff;border-radius:12px;box-shadow:0 8px 30px #1f3e3726;padding:13px 22px;font-size:12px;max-width:calc(100% - 30px);z-index:20;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}.content-fade{animation:appear .3s ease-out}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1550px){.main{padding:44px 52px}.hero{min-height:270px;padding:38px}.hero h2{font-size:37px}.app-layout{grid-template-columns:250px minmax(0,1fr)}}
@media(max-width:1100px){.app-layout{grid-template-columns:194px minmax(0,1fr)}.sidebar{padding:31px 15px}.main{padding:26px}.topbar{padding:16px 26px}.hero{padding:25px}.hero h2{font-size:29px}.hero-art{min-width:135px}.orbit{width:140px;height:140px}.orbit:nth-child(2){width:165px;height:120px}.leaf{width:70px;height:100px}.mini-note{right:-10px;padding:10px;font-size:9px}.mini-note strong{font-size:10px}.patient-grid,.panel-grid{grid-template-columns:1.35fr 1fr}.card{padding:21px}.stats{gap:10px}.stat-card{padding:16px}.stat-top{font-size:10px}.split-checkin{grid-template-columns:1fr}.checkin-aside{display:none}}
@media(max-width:820px){.app-layout{grid-template-columns:1fr}.sidebar{height:auto;position:static;border-right:0;border-bottom:1px solid var(--line);padding:14px 20px;display:block}.brand{margin:0}.brand-word{font-size:30px}.brand-icon{width:25px;height:29px}.brand-sub,.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:5px;margin-top:15px;overflow:auto}.nav-item{width:auto;white-space:nowrap;margin:0;padding:10px 12px;font-size:11px}.nav-item .icon{width:16px;height:16px}.topbar{padding:14px 20px}.topbar-right{font-size:10px}.main{padding:25px 20px}h1{font-size:33px}.patient-grid,.panel-grid{grid-template-columns:1fr 1fr}.hero{grid-template-columns:1.5fr 1fr}.stats{grid-template-columns:repeat(2,1fr)}.page-heading{align-items:flex-start}.search{min-width:180px;max-width:210px}}
@media(max-width:600px){.demo-bar{font-size:9px;gap:6px;padding:8px 9px;flex-wrap:wrap}.demo-bar button{font-size:9px;padding:0 3px}.topbar{gap:8px;flex-wrap:wrap}.topbar-right{display:none}.roles{width:100%}.role-btn{flex:1;padding:9px 12px}.topbar>div:first-child{width:100%}.main{padding:24px 16px 30px}h1{font-size:30px}.page-heading{margin-bottom:22px;flex-wrap:wrap}.page-heading p{font-size:12px}.page-heading .pill{font-size:9px}.hero{grid-template-columns:1fr;padding:26px 24px;min-height:240px}.hero-copy{max-width:85%}.hero h2{font-size:30px}.hero p{font-size:12px;max-width:94%}.hero-art{position:absolute;right:-25px;bottom:12px;opacity:.4;width:90px;height:145px;z-index:0}.hero-art .mini-note{display:none}.orbit{width:120px;height:120px}.orbit:nth-child(2){width:135px;height:80px}.hero .btn{position:relative;z-index:2}.patient-grid,.panel-grid{grid-template-columns:1fr}.card{padding:21px}.checkin-steps{gap:6px}.mini-step{font-size:10px;gap:6px}.mini-step span{width:21px;height:21px}.stats{gap:10px}.stat-number{font-size:30px}.card-head{margin-bottom:17px}.patient-row{gap:10px}.patient-row .right{max-width:105px}.patient-row .pill{white-space:normal;font-size:9px}.checkin-form{padding:22px}.step-title{font-size:26px}.search{max-width:none;width:100%}.table-wrap{margin-right:-8px}.modal-head{padding:20px}.modal-body{padding:20px}.detail-grid{gap:9px}.weight-week strong{font-size:10px}.weight-history{gap:5px}.task-row .avatar{width:33px;height:33px;font-size:10px}.footer{line-height:1.6}.footer span:last-child{display:none}.review-item{gap:10px}.review-item strong{max-width:65%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.demo-controls{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;max-width:570px}.demo-controls label{display:flex;align-items:center;gap:6px;font-size:11px}.demo-controls input,.demo-controls select{max-width:185px;padding:6px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink)}.reminder{flex-wrap:wrap}.message p{white-space:pre-line}@media(max-width:820px){.topbar{flex-wrap:wrap}.demo-controls{display:flex;justify-content:flex-start;text-align:left;width:100%;max-width:none}.demo-controls label{flex-wrap:wrap}}

.medical-decisions{display:grid;gap:12px}.medical-choice{width:100%;text-align:left;border:1px solid #cbd7bf;border-radius:10px;padding:15px;background:#fff;color:var(--ink);font-size:13px;line-height:1.5;min-height:48px}.medical-choice:hover:not(:disabled){background:#f4f7ef}.medical-choice.selected{border:2px solid #607a50;padding:14px;background:#eaf1e1;font-weight:600}.medical-choice:focus-visible{outline:3px solid #607a50;outline-offset:3px}.medical-choice:disabled{background:#f4f4ef;color:#71796b;cursor:not-allowed}.decision-reason{padding:6px 10px;color:#8d703d;line-height:1.5}details>summary{cursor:pointer;font-size:12px}

/* Acompanhamento semanal e autoria da demonstração. */
.weekly-today { font-size:1.15rem; font-weight:700; color:var(--ink, #243b32); }
.btn:disabled { cursor:not-allowed; opacity:.6; }
.followup-entry { padding:14px 0; border-bottom:1px solid #e2e8dc; }
.followup-values { display:grid; grid-template-columns:minmax(120px,1fr) 2fr; gap:6px 14px; font-size:.85rem; margin-top:12px; }
.followup-values dd { margin:0; overflow-wrap:anywhere; }
.followup-values dt { color:#647260; }
.followup-week summary { cursor:pointer; font-weight:600; }
.audit-values { white-space:pre-wrap; overflow-wrap:anywhere; font-size:.75rem; }

/* Confirmação da orientação semanal: informação operacional legível no celular. */
.application-plan{padding:18px;border:1px solid #d5dfce;border-radius:16px;background:#f5f8f1}
.application-instruction{display:flex;flex-direction:column;gap:4px;margin:16px 0}
.application-instruction strong{font-size:1.8rem;line-height:1.2;color:#334d3a}
.application-options{display:grid;gap:10px;border:0;padding:0;min-width:0}
.application-options legend{font-weight:600;margin-bottom:12px}
.application-options .choice{width:100%;min-height:48px;text-align:left;white-space:normal}
.application-report{overflow-wrap:anywhere}

/* Etapas legíveis e rascunhos; movimento discreto, com alternativa sem animação. */
.checkin-stage-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0 0 16px}
.checkin-stage-list li{font-size:12px;color:#687568;overflow-wrap:anywhere}
.checkin-stage-list li>span:first-child{display:grid;place-items:center;width:30px;height:30px;border:1px solid #c8d1c2;border-radius:50%;margin-bottom:8px}
.checkin-stage-list .current{font-weight:700;color:var(--ink)}
.checkin-stage-list .current>span:first-child{border:2px solid var(--ink);background:#edf2e7}
.checkin-stage-list .complete>span:first-child{background:var(--ink);color:white;border-color:var(--ink)}
.checkin-progress-track{height:7px;background:#e7ecdf;border-radius:8px;overflow:hidden;margin-bottom:20px}
.checkin-progress-fill{height:100%;background:#536d43;border-radius:8px;transition:width .25s ease;animation:progress-reveal .25s ease-out;transform-origin:left}
.draft-resume{border:2px solid #829b69;background:#f8faf3}
.draft-saved{margin-bottom:18px}
.draft-partial{border-left:4px solid #b58a3b}
.draft-clock{display:flex;gap:6px;align-items:center;flex-wrap:wrap;text-align:left}
.draft-clock span{width:100%;font-size:11px}
.draft-clock .btn{font-size:11px;padding:6px 10px}
.checkin-completion{animation:completion-appear .25s ease-out}
.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}
@keyframes progress-reveal{from{opacity:.65}to{opacity:1}}
@keyframes completion-appear{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:scale(1)}}
@media(max-width:600px){.checkin-stage-list{grid-template-columns:repeat(2,minmax(0,1fr))}.form-actions{flex-wrap:wrap}.draft-resume{padding:18px}}
@media(prefers-reduced-motion:reduce){.checkin-progress-fill,.checkin-completion{animation:none;transition:none}}

.patient-row .pill{white-space:normal;max-width:100%}

/* Pendências contextuais e detalhes de sintomas. */
.pending-summary { padding:16px; border:1px solid var(--line,#ddd); border-radius:12px; }
.symptom-detail { min-width:0; padding:12px; border:1px solid var(--line,#ddd); border-radius:12px; }
.symptom-detail legend { padding:0 5px; font-weight:600; }
.symptom-picker .choice { text-align:left; }
.symptom-picker fieldset { min-width:0; }

/* Seleção nativa de foto, acessível por teclado e adequada ao celular. */
.media-file-input{display:block;max-width:100%;margin-top:.5rem;font:inherit;font-size:.85rem}
.pressure-photo-preview{display:block;width:100%;height:auto;max-height:72vh;object-fit:contain;margin-top:1rem}
.patient-response{border:1px solid var(--border,#dfe5d8);border-radius:16px;padding:1rem}
.patient-response audio,.modal-body audio{max-width:100%;width:100%;margin-top:1rem}

.pressure-photo-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
.media-upload-label:focus-within{outline:3px solid #819b66;outline-offset:3px}
.pressure-today-toggle{list-style:none;display:flex;flex-direction:column;gap:5px;padding:16px 18px;border:2px solid #8ba570;border-radius:12px;background:#eff4e8;color:#1e4037;cursor:pointer;min-height:64px}
.pressure-today-toggle::-webkit-details-marker{display:none}
.pressure-today-title{font-size:1.1rem;font-weight:700}
.pressure-today-hint{font-size:.95rem}
.camera-preview{display:block;width:100%;max-height:65vh;background:#142820;border-radius:12px;object-fit:contain}
.other-symptom-field{padding:16px;border:2px solid #8ba570;border-radius:12px;background:#f6f8f2}
.other-symptom-field textarea{min-height:100px}

/* Perguntas do relato clínico em sequência, sem animação obrigatória. */
.guided-checkin { display:block; max-width:760px; margin-inline:auto; }
.guided-checkin .checkin-aside { display:none; }
.guided-checkin .checkin-form { padding:clamp(20px,4vw,40px); }
.guided-panel { margin-top:20px; }
.guided-panel fieldset { min-width:0; }
.guided-panel .checkbox { padding:18px; border:1px solid var(--line, #dce4d5); border-radius:14px; cursor:pointer; }
.guided-panel .choice { text-align:left; padding:20px; }
.guided-panel [tabindex="-1"]:focus { outline:none; }
@media(max-width:600px) { .guided-checkin .form-actions { flex-wrap:wrap; } }

/* Resposta curta e feedback visual somente durante gravação real iniciada. */
.guided-checkin .step-title { font-size:clamp(1.8rem,4.5vw,2.5rem); line-height:1.18; }
.guided-checkin .patient-response { border:0; padding:0; }
.guided-checkin .choice { font-size:1.1rem; min-height:64px; }
.response-context { font-size:1.1rem; line-height:1.5; }
.response-question { display:block; margin-top:4px; }
.response-free-text textarea { min-height:110px; font-size:1.1rem; }
.audio-recording { display:flex; align-items:center; gap:18px; padding:18px; margin-bottom:12px; border-radius:14px; background:#f2f5ec; color:#1e4037; }
.recording-waves { display:flex; align-items:center; gap:4px; height:36px; }
.recording-waves i { display:block; width:5px; height:28px; border-radius:5px; background:currentColor; animation:recording-wave .9s ease-in-out infinite alternate; animation-delay:calc(var(--wave) * -.12s); }
@keyframes recording-wave { from { transform:scaleY(.3); } to { transform:scaleY(1); } }
@media(prefers-reduced-motion:reduce) { .recording-waves i { animation:none; height:18px; } }

.photo-review .pressure-photo-preview { max-height:50vh; background:#f3f5ef; min-height:160px; object-fit:contain; border-radius:12px; }
.audio-playback audio { display:block; width:100%; max-width:100%; margin-top:12px; }
.audio-playback .error { margin-top:8px; }

.pressure-entry input { font-size:1.35rem; letter-spacing:.04em; }
.pressure-entry input::placeholder { color:#85918a; opacity:.75; }
.received-checkin { padding:18px 0; border-top:1px solid var(--line); overflow-wrap:anywhere; }
.received-checkin:first-of-type { border-top:0; padding-top:0; }
.received-photo { margin:10px 0; }
.photo-playback { max-width:100%; overflow-wrap:anywhere; }
.photo-playback .pressure-photo-preview { border-radius:12px; background:#f3f5ef; }
.care-overview-tools { display:flex; flex-wrap:wrap; gap:18px; }
.care-overview-tools .field { flex:1; min-width:200px; }
.care-overview-table { min-width:1450px; width:100%; }
.care-overview-table th,.care-overview-table td { vertical-align:top; min-width:115px; white-space:normal; }
.care-overview-table th[scope=row] { min-width:180px; position:sticky; left:0; background:#fff; z-index:1; }
.care-overview-table .small { margin-top:8px; }
.care-overview-table .btn { white-space:normal; min-height:44px; }
.care-legend,.care-weeks { display:flex; flex-wrap:wrap; gap:8px; }
.care-status { display:inline-block; font-size:12px; font-weight:600; padding:6px 9px; border-radius:8px; }
.care-green { color:#245335; background:#e4f0e4; }
.care-blue { color:#235170; background:#e5eff8; }
.care-amber { color:#795411; background:#fff2d8; }
.care-red { color:#92372c; background:#fae8e3; }
.care-neutral { color:#586460; background:#eef1ee; }
.care-week { border:1px solid currentColor; border-radius:8px; min-width:44px; min-height:44px; padding:8px; font-weight:600; }

/* Datas do plano no mesmo formulário, com campos visíveis também no celular. */
.care-inline-visit{padding:18px 0;border-bottom:1px solid var(--line)}
.care-inline-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.care-inline-dates .field{margin-top:12px}
.care-inline-visit summary{cursor:pointer;min-height:44px;display:flex;align-items:center;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.care-inline-dates{grid-template-columns:1fr}.care-inline-visit h4{font-size:15px}}

.care-payment-notes{white-space:pre-wrap;overflow-wrap:anywhere}
.care-inline-dates input[type="text"]::placeholder{color:#7a8375;opacity:1}
