body{margin:0;background:#f5f8fc;color:#17334c;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}header{height:68px;background:#123d67;color:#fff;display:flex;justify-content:space-between;align-items:center;padding:0 max(20px,calc((100vw - 980px)/2));box-shadow:0 2px 8px #0b294520}.brand{display:flex;align-items:center;gap:10px;font-weight:750;font-size:21px}.avatar{background:#3974a8;border-radius:50%;width:34px;height:34px;display:grid;place-items:center;font-size:12px}.content{max-width:800px;margin:0 auto;padding:24px 18px 110px}.page-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}h1{font-size:27px;margin:3px 0}h2{font-size:18px;margin:28px 0 14px}h3{font-size:16px;margin:5px 0 7px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.4px;color:#6283a0;margin:0}.muted,article p{color:#6b8093;line-height:1.5}.notice{background:#fff7e7;border:1px solid #f5dca7;color:#8c5e14;border-radius:12px;padding:12px;display:flex;align-items:flex-start;gap:8px;font-size:12px;margin-bottom:20px}.summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.summary>div{background:#fff;border:1px solid #e5ecf2;border-radius:15px;padding:18px 12px;display:flex;flex-direction:column;gap:6px;text-align:center}.summary strong{font-size:27px;color:#174a78}.summary span{font-size:12px;color:#71869a}.stack{display:grid;gap:12px}.appointment,.therapy{background:#fff;border:1px solid #e3ebf2;border-radius:15px;padding:17px;box-shadow:0 2px 6px #17334c06}.appt-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.time{font-weight:750;color:#285e8e}.pill{font-size:11px;border-radius:100px;padding:5px 9px;font-weight:700}.pending{background:#fff1d7;color:#986b0e}.done{background:#e4f6e9;color:#257445}.missed{background:#fce8e8;color:#a64b4b}.appointment p{font-size:13px;margin:0 0 14px}.primary,.outline{min-height:43px;border-radius:10px;padding:10px 15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:650}.primary{background:#21649e;color:#fff;border:1px solid #21649e}.primary:disabled{opacity:.5}.outline{border:1px solid #bdd3e5;background:#fff;color:#205b8e}.appointment .outline{width:100%}textarea,input,select{width:100%;border:1px solid #cddbe7;border-radius:10px;background:#fff;padding:12px;color:#183e60;margin:7px 0 12px}textarea{resize:vertical;line-height:1.5}label{display:block;color:#54718c;font-size:13px;margin-top:10px}.therapy{display:flex;align-items:center;justify-content:space-between}.text-button,.back{background:none;border:0;color:#276699}.therapy-form{margin-top:16px}.therapy-form button{width:100%}.bottom-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fff;border-top:1px solid #e1e9f0;padding:9px 4px max(11px,env(safe-area-inset-bottom));z-index:10}.bottom-nav button{border:0;background:none;color:#7d92a4;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:70px;font-size:11px}.bottom-nav button.active{color:#1b639d;font-weight:750}.overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#0d294770;display:flex;align-items:flex-end;justify-content:center;z-index:20}.sheet{background:#fff;width:100%;max-width:520px;border-radius:22px 22px 0 0;padding:25px 22px 36px}.sheet .primary,.sheet .outline{width:100%;margin:8px 0}.back{display:flex;gap:8px;align-items:center;padding:0}.login,.center{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(100%,400px);background:#fff;border-radius:20px;padding:35px;text-align:center;box-shadow:0 6px 40px #16395815}.login-card svg{color:#276699}.login-card p{color:#6b8093}.login-card button{width:100%;margin-top:16px}@media(min-width:760px){.bottom-nav{position:static;max-width:800px;margin:0 auto;border:1px solid #e3ebf2;border-radius:16px;padding:12px}.content{padding-bottom:30px}.summary{gap:16px}.summary>div{padding:24px}.appointment{padding:23px}.therapy-form{display:flex;align-items:center;gap:12px}.therapy-form input{margin:0}.therapy-form button{width:auto}}fieldset.workspace{border:0;padding:0;margin:0;min-width:0}button:disabled{cursor:wait;opacity:.55}form{margin-bottom:24px}nav{gap:8px;overflow-x:auto}h1{text-transform:capitalize}small{overflow-wrap:anywhere}select[multiple]{min-height:110px}.summary-icon{width:36px;height:36px;border-radius:12px;display:grid;place-items:center;align-self:center;margin-bottom:2px}.total{background:#e7f0fb;color:#285e8e}.empty-state{background:#fff;border:1px dashed #c5d8e8;border-radius:16px;padding:36px 22px;text-align:center;color:#477293}.empty-state>svg{margin-bottom:12px;color:#6295bc}.empty-state p{font-size:14px;line-height:1.6;color:#71869a;margin:12px 0 20px}.quick-links{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 22px}.quick-links .outline{font-size:12px;min-height:36px;padding:8px 12px;background:#fff}.quick-links .selected{border-color:#21649e;background:#eaf3fb;color:#164d7b}header .outline{background:transparent;color:#fff;border-color:#ffffff50;font-size:12px;min-height:36px}.bottom-nav button{flex:1;min-height:44px;justify-content:center;min-width:60px}.notice>svg{flex:none}.summary strong{font-size:29px}:root{font-family:Arial,sans-serif;color:#071b49;background:#eaf4fa;font-size:14px}body{margin:0}*{box-sizing:border-box}button,input,select,textarea{font:inherit}button{cursor:pointer}h2{font-size:15px;margin:20px 0 12px}h3{font-size:15px}small{display:block;color:#52658b;font-size:12px;line-height:1.5}label{color:#112754;font-weight:500}input,select,textarea{background:#f7faff;border:1px solid #dbe5f5;color:#112754;border-radius:9px;padding:11px}input[type=checkbox],input[type=radio]{width:16px;height:16px;accent-color:#005bff;flex:none;margin:0;padding:0}button{border:0;color:inherit;background:transparent}button.primary,.primary{background:#005bff;border-color:#005bff;color:#fff;border-radius:9px;font-weight:600}.outline{background:#edf4ff;color:#052b73;border:1px solid #e3ecfa;border-radius:9px}.full{width:100%;margin:8px 0}.mobile-app{width:100%;max-width:540px;min-height:100dvh;margin:auto;background:#002547;box-shadow:0 5px 32px #00264718}.mobile-header{height:76px;display:flex;align-items:center;gap:15px;justify-content:space-between;padding:20px;color:#fff;background:#002547}.mobile-header strong{font-size:16px;font-weight:600}.mobile-header button{color:#fff;display:grid;place-items:center;min-width:32px;min-height:36px}.mobile-content{background:linear-gradient(135deg,#fff,#fbfdff);border-radius:20px 20px 0 0;padding:18px 16px 104px;min-height:calc(100dvh - 76px)}.greeting{display:flex;gap:12px;align-items:center;margin-bottom:16px}.greeting strong{font-size:15px}.avatar{height:38px;width:38px;border-radius:50%;display:inline-flex;flex:none;align-items:center;justify-content:center;background:linear-gradient(135deg,#fa8bd3,#f44ebb);color:#fff;font-size:18px}.avatar.purple{background:linear-gradient(135deg,#b698ff,#9567f9)}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.metrics>div{padding:11px 3px 8px;border-radius:9px;text-align:center;background:#dff8ee}.metrics strong{font-size:21px;color:#00965d}.metrics small{font-size:11px;color:#175746;line-height:1.3;margin-top:4px}.metrics>div:nth-child(2){background:#e7f1ff}.metrics>div:nth-child(2) strong{color:#005bff}.metrics>div:nth-child(2) small{color:#213d74}.metrics>div:nth-child(3){background:#fff3e3}.metrics>div:nth-child(3) strong{color:#f08000}.metrics>div:nth-child(3) small{color:#795b3a}.metrics>div:nth-child(4){background:#ffeded}.metrics>div:nth-child(4) strong{color:#ff3d4e}.section-title{display:flex;justify-content:space-between;align-items:center;gap:8px;margin:18px 0 10px}.section-title h2{margin:0}.section-title>button{font-size:12px;color:#005bff}.section-title>button.primary{color:#fff;min-height:34px;padding:7px 10px}.week-strip{display:grid;grid-template-columns:28px repeat(5,minmax(0,1fr)) 28px;gap:4px;margin:10px 0 14px}.week-strip button{display:flex;flex-direction:column;align-items:center;background:#f7faff;border:1px solid #e4ecfa;border-radius:10px;padding:9px 2px;gap:3px;box-shadow:0 2px 4px #002b4f04}.week-strip span{font-size:11px;text-transform:capitalize}.week-strip .range-arrow{border:0;background:transparent;box-shadow:none;padding:0;justify-content:center;font-size:28px;color:#005bff;min-width:0}.week-strip strong{font-size:15px}.week-strip small{background:#e5ecf8;border-radius:50%;min-width:21px;line-height:21px;color:#152651;font-weight:600}.week-strip .selected{background:#005bff;color:#fff;box-shadow:0 3px 8px #005bff2a}.week-strip .selected small{background:#fff;color:#005bff}.quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.quick-actions button{display:flex;flex-direction:column;align-items:center;gap:9px;background:#f0f6ff;border-radius:10px;padding:14px 5px;font-size:11px;line-height:1.3;min-height:86px;color:#072656}.quick-actions svg{color:#005bff}.quick-actions button:nth-child(2) svg{color:#08b36b}.visit-list{display:grid;gap:3px}.visit-row{display:flex;align-items:center;gap:10px;padding:13px 8px 13px 13px;border:1px solid #edf2f9;border-left:4px solid #fb4b69;background:#fff;text-align:left;border-radius:7px;width:100%;min-height:78px;box-shadow:0 3px 9px #11334e04}.visit-row.realizado{border-left-color:#06b786}.visit-row.nao_realizado{border-left-color:#ffac16}.visit-row time{align-self:flex-start;font-size:13px;font-weight:700;padding-top:2px;min-width:42px}.visit-person{flex:1;min-width:0}.visit-person strong{font-size:13px;display:block;overflow-wrap:anywhere}.visit-person small{font-size:11px}.pill{display:inline-block;border-radius:6px;padding:5px 7px;font-size:10px;white-space:nowrap;font-weight:500;background:#f0f3f8;color:#45516e}.pill.pendente{background:#ede1ff;color:#5a25ce}.pill.realizado,.done{background:#dcf8ec;color:#00895b}.pill.nao_realizado,.missed{background:#fff0dc;color:#d76a00}.bottom-nav{position:fixed;bottom:0;left:50%;right:auto;transform:translate(-50%);width:100%;max-width:540px;display:flex;justify-content:space-around;align-items:center;padding:8px 5px max(10px,env(safe-area-inset-bottom));background:#fff;border-top:1px solid #edf1f8;z-index:10;box-shadow:0 -3px 12px #11334e05;margin:0;border-radius:0}.bottom-nav button{display:flex;flex:1;flex-direction:column;align-items:center;gap:4px;color:#50638b;font-size:10px;min-height:44px;min-width:0;justify-content:center}.bottom-nav button.active{color:#005bff;font-weight:600}.bottom-nav .add-button{flex:none;background:#005bff;color:#fff;width:49px;height:49px;border-radius:50%;margin:-17px 10px 0;box-shadow:0 4px 10px #005bff30}.date-navigation{display:flex;gap:10px;align-items:center}.date-navigation>button{font-size:25px;min-width:32px;min-height:44px}.date-navigation label{margin:0;flex:1;font-size:11px;color:#586b8d}.date-navigation input{margin:3px 0 0;padding:7px}.filter-pills{display:flex;gap:6px;overflow-x:auto;padding:2px 0 12px}.filter-pills button{white-space:nowrap;border:1px solid #e1eaf8;border-radius:9px;padding:8px 10px;font-size:11px;background:#f9fbff}.filter-pills small{display:inline;font-size:10px;background:#e6eef9;border-radius:12px;padding:2px 4px}.filter-pills .selected{background:#005bff;color:#fff;border-color:#005bff}.filter-pills .selected small{background:#ffffff25;color:#fff}.person-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid #edf1f8;border-radius:12px;padding:15px;box-shadow:0 4px 14px #172f5206;margin-bottom:15px}.person-card .avatar{height:46px;width:46px;font-size:22px}.person-card strong{display:block}.person-card small{margin:4px 0}.tag{display:inline-block;background:#eae4ff;color:#5325bb;border-radius:5px;padding:4px 7px;font-size:11px;margin:3px 5px 0 0}.tag+.tag{background:#e6f1ff;color:#0050b4}.detail-tabs{display:flex;gap:4px;border-bottom:1px solid #e8eef7;margin:8px 0 12px}.detail-tabs button{flex:1;font-size:13px;padding:13px 6px;border-bottom:2px solid transparent}.detail-tabs .selected{border-color:#005bff;color:#005bff}.detail-row{display:flex;gap:15px;padding:17px 9px;border-bottom:1px solid #edf1f8;align-items:center}.detail-row strong{font-size:13px}.detail-row small{font-size:13px;margin-top:3px}.detail-rows{margin-bottom:18px}.result-option{display:flex;align-items:center;gap:13px;background:#f7faff;border:1px solid #e8eef8;padding:13px;border-radius:9px;margin:7px 0}.result-option.realizado{background:#e0f9ee;border-color:#96dec4;color:#008957}.result-option.nao_realizado{background:#ffeded;border-color:#ffcaca;color:#dc2431}.result-option small{font-weight:400;margin-top:3px}.radio-row{display:flex;gap:10px;align-items:center;background:#fafcff;border:1px solid #edf1f8;padding:10px;border-radius:7px;font-size:12px;font-weight:400;margin:6px 0}.search-field{display:flex;align-items:center;border:1px solid #dce6f5;border-radius:8px;padding-left:10px;color:#6d82a9}.search-field input{border:0;background:none;margin:0;font-size:12px}.patient-row{display:flex;align-items:center;gap:10px;padding:12px 5px;border-bottom:1px solid #edf1f8;width:100%;text-align:left}.patient-row .avatar{width:31px;height:31px;font-size:14px}.patient-row:nth-child(3n) .avatar{background:#299ce8}.patient-row:nth-child(3n+1) .avatar{background:#41ba83}.patient-row:nth-child(3n+2) .avatar{background:#ffbf49}.distribution-row{display:flex;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid #edf1f8}.distribution-row>div{flex:1;min-width:0}.distribution-row strong{font-size:12px}.distribution-row select{width:36%;margin:0;padding:8px;font-size:12px}.review-card{padding:15px;border:1px solid #e2eaf6;background:#fff;border-radius:11px;margin:9px 0}.notice{padding:14px;border:1px solid #f8dfac;background:#fff7e5;color:#73531c;border-radius:9px;line-height:1.6;font-size:13px;margin:12px 0}.notice.error{background:#fff0f0;border-color:#ffd5d5;color:#a91929}.notice.realizado{background:#dcf8ec;border-color:#b9ecda;color:#005c3f}.toast{padding:10px;background:#e5f8f0;color:#06724b;border-radius:8px;margin-bottom:12px;font-size:12px}.empty-state{padding:28px 16px;border:1px dashed #d5e3f6;border-radius:12px;text-align:center;color:#61728d;margin:12px 0}.empty-state svg{color:#83a8da;margin-bottom:12px}.empty-state p{font-size:13px;margin:10px 0 17px;line-height:1.6}.muted{font-size:13px;color:#647796;line-height:1.6;margin:12px 0}.menu-list button{width:100%;display:flex;align-items:center;gap:14px;padding:18px 8px;border-bottom:1px solid #e7edf7;text-align:left}.menu-list button svg:last-child{margin-left:auto;width:18px}.menu-list svg{width:21px;color:#005bff}.login,.center{min-height:100dvh;display:grid;place-items:center;padding:26px;background:radial-gradient(ellipse at 20% 10%,#34657c,#002547 70%)}.login-card{border-radius:18px;box-shadow:0 12px 50px #0003}.login-card>svg{color:#005bff}.login-card h1{font-size:30px;margin:16px 0 8px}.login-card p{color:#53698b;line-height:1.6}.login-card button{width:100%;margin:8px 0}@media(min-width:760px){body{padding:24px 0}.mobile-app{border-radius:24px;overflow:hidden;min-height:calc(100dvh - 48px)}.mobile-content{min-height:calc(100dvh - 124px)}.bottom-nav{position:fixed;bottom:12px;max-width:540px;margin:0;border-radius:0 0 20px 20px;box-shadow:0 8px 32px #002b4f14}.mobile-header{height:80px}}.brand-symbol{display:block;width:36px;height:36px;background:#fff;border-radius:9px;padding:2px;object-fit:contain;flex:none}.brand-full{display:block;width:100%;max-width:280px;height:auto;margin:-16px auto -10px}.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.bottom-nav button.active svg,.quick-actions svg{color:#007fab;stroke-width:1.8}.quick-actions button:nth-child(2) svg{color:#16bba6}
