
:root{font-family:Inter,'Segoe UI',Arial,sans-serif;color:#233e35;background:#f6f8f5;font-synthesis:none;--green:#205d49;--muted:#748179;--line:#e4e9e2}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}h1{font-size:34px;letter-spacing:-1.2px;margin-bottom:10px;font-weight:600}h2{font-size:21px;font-weight:600;letter-spacing:-.4px}h3{font-size:17px;font-weight:600}p{color:var(--muted);line-height:1.65;font-size:14px}aside{position:fixed;width:244px;inset:0 auto 0 0;background:#fff;border-right:1px solid var(--line);padding:36px 22px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:29px;font-weight:750;letter-spacing:-1.2px;color:var(--green)}.brand-light{font-weight:400}.brand small{display:block;letter-spacing:2.5px;font-size:8px;margin-top:4px;font-weight:500}.workspace{font-size:9px;letter-spacing:1.5px;color:#96a198;margin:55px 12px 16px}nav{display:grid;gap:8px}.nav-item{border:0;background:none;padding:15px 14px;display:flex;align-items:center;gap:13px;color:#79847d;font-size:13px;text-align:left;border-radius:8px}.nav-item span{font-size:21px}.nav-item.active{background:#edf4eb;color:var(--green);font-weight:600}.sidebar-bottom{margin-top:auto;padding:22px 12px 0}.sidebar-bottom strong{font-size:13px}.sidebar-bottom p{font-size:12px;margin-top:10px}.care-icon{font-size:34px;color:#90a58b;margin-bottom:14px}.logout{background:none;border:0;color:#7c8981;padding:18px 0 0;font-size:12px}main{margin-left:244px}header{height:92px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 42px}.breadcrumb{color:#87928b;font-size:12px}.breadcrumb span{margin:0 14px;color:#c0c9c1}.profile{display:flex;align-items:center;gap:11px;font-size:12px}.profile small{display:block;color:#929b95;font-size:10px;margin-top:4px}.avatar{display:grid;place-items:center;width:37px;height:37px;border-radius:50%;background:#eaf0e5;color:#51734e}.content{max-width:1280px;margin:auto;padding:38px 42px 55px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:27px}.page-heading p{margin:0}.eyebrow{font-size:9px;color:#789376;font-weight:650;letter-spacing:1.8px;margin-bottom:12px}.primary,.secondary,.light,.danger{display:inline-flex;align-items:center;justify-content:center;gap:22px;border-radius:7px;padding:13px 20px;border:1px solid transparent;font-size:12px;font-weight:600;line-height:1.4}.primary{background:var(--green);color:white}.primary:hover{background:#154d3b}.secondary{border-color:#d4dfd3;background:white;color:var(--green)}.light{background:#f4f7e9;color:#32523c}.danger{background:#fff3ee;color:#a15440;margin-top:15px}.hero{display:flex;min-height:280px;justify-content:space-between;padding:34px 38px;background:#205b47;border-radius:14px;overflow:hidden;color:white;position:relative}.hero-label{color:#c2d3ab;font-size:9px;letter-spacing:1.7px}.hero h2{font-size:31px;font-weight:450;line-height:1.25;letter-spacing:-.8px;margin:18px 0 12px}.hero p{color:#b9d1c0;font-size:12px}.hero .light{margin-top:4px}.hero-art{width:36%;position:relative;display:flex;align-items:center;justify-content:center}.medical-cross{font-size:132px;line-height:1;color:#d5e4b9;transform:rotate(-12deg);z-index:1;text-shadow:12px 18px #134b3940}.orbit{position:absolute;border:1px solid #a7c69b24;border-radius:50%;width:310px;height:310px}.orbit-two{width:230px;height:230px}.art-caption{position:absolute;right:-8px;bottom:10px;font-size:11px;line-height:1.7;color:#bdcfb6;transform:rotate(-4deg);z-index:2}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:23px 0 36px}.stats>div{position:relative;border:1px solid var(--line);border-radius:10px;background:white;padding:20px 23px}.stats span{float:right;color:#91a18a;font-size:24px}.stats strong{display:block;font-size:27px;font-weight:550;margin-bottom:6px}.stats small{color:#8b958f;font-size:11px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 17px}.section-heading h2{font-size:18px;margin:0}.section-heading>span{font-size:11px;color:#929b94}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.visit-card{border:1px solid var(--line);background:white;border-radius:11px;padding:22px}.visit-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px}.service-icon{display:grid;place-items:center;border-radius:10px;background:#f0f4e9;color:#708963;font-size:25px;width:43px;height:43px;flex-shrink:0}.badge{font-size:9px;padding:6px 9px;display:inline-block;border-radius:5px;background:#edf3e7;color:#718363}.badge.en_route{background:#edf1fc;color:#6379aa}.badge.in_progress{background:#fff1d8;color:#9c772b}.badge.completed{background:#e6f3ed;color:#347b5b}.badge.cancelled{background:#faeaea;color:#a16e6e}.visit-card h3{margin-bottom:12px;font-size:16px}.visit-card p{font-size:11px;margin:7px 0}.address{min-height:36px;overflow-wrap:anywhere}.visit-meta{font-size:10px;border-top:1px solid var(--line);padding-top:14px;margin-top:15px;color:#8a958c}.text-button{display:inline-block;background:none;border:0;color:#54784f;padding:13px 0 0;font-size:11px;text-align:left}.service-section{margin-top:32px}.service-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin:20px 0}.service-tile{display:flex;align-items:center;gap:16px;text-align:left;border:1px solid var(--line);border-radius:10px;background:white;padding:20px;color:inherit}.service-tile.selected{border-color:#427747;background:#f0f5e9}.service-tile h3{font-size:14px;margin-bottom:5px}.service-tile p{font-size:11px;margin:0}.service-tile>span:last-child{margin-left:auto}footer{padding:22px 42px;border-top:1px solid var(--line);font-size:10px;color:#939e95;display:flex;justify-content:space-between}.empty{grid-column:1/-1;border:1px dashed #d8e1d4;border-radius:10px;padding:35px;text-align:center;background:#fbfcfa}.empty>span{font-size:30px;color:#849e79}.empty h3{font-size:15px;margin:12px 0 8px}.empty p{font-size:12px;margin:0}.panel{border:1px solid var(--line);background:white;border-radius:12px;padding:28px}.steps{display:flex;gap:24px;margin:30px 0;color:#98a096;font-size:12px}.steps>div{display:flex;align-items:center;gap:10px}.steps span{display:grid;place-items:center;width:28px;height:28px;border:1px solid #dce4d7;border-radius:50%}.steps .current{color:#326147}.steps .current span{background:#e4eddd;border-color:#cfdcc4}.booking-panel{max-width:850px}.booking-panel>.text-button{padding:0 0 25px}.booking-panel h2{margin-bottom:20px}label{display:block;font-size:12px;color:#52685b;margin-bottom:18px}input:not([type=radio]):not([type=checkbox]),textarea{display:block;width:100%;border:1px solid #dbe3d7;border-radius:6px;background:#fff;padding:12px;margin-top:8px;color:#294535}input:focus,textarea:focus{outline:2px solid #a9c195}.location-row{display:flex;align-items:center;gap:15px;margin:20px 0}.location-row span{font-size:11px;color:#7d8f7b}.slots{display:flex;flex-wrap:wrap;gap:10px;margin:25px 0}.slot{border:1px solid #c7d7c0;border-radius:6px;padding:12px 20px;background:#f3f7ec;color:#3a643a}.notice{padding:15px;background:#f5f7ef;border-radius:7px;font-size:12px;color:#73816a}fieldset{border:0;border-bottom:1px solid var(--line);margin:0 0 20px;padding:0 0 12px}legend{font-size:13px;line-height:1.6;margin-bottom:10px}.radios{display:flex;gap:25px}.radios label{margin-bottom:6px}.check{display:flex;align-items:flex-start;gap:9px;line-height:1.6}.summary{border:1px solid var(--line);padding:23px;border-radius:8px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.detail-grid h2{margin-top:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.group-header{display:grid;grid-template-columns:120px 1fr 2fr;gap:12px;grid-column:1/-1;padding:0 0 4px;color:var(--muted);font-size:11px}.group-row{display:grid;grid-template-columns:120px 1fr 2fr;gap:12px;align-items:end;grid-column:1/-1}.group-code{padding:12px 0;color:var(--green);font-weight:600;font-size:12px}.group-row label{margin:0}.group-row>label:first-child{padding-bottom:12px;font-weight:600;color:var(--green)}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.timeline{padding-left:20px;border-left:1px solid #dce5d6;list-style:none;margin:25px 0}.timeline li{position:relative;padding:0 0 23px 5px;font-size:12px}.timeline li:before{content:'';position:absolute;width:7px;height:7px;border-radius:50%;background:#7d9c6a;left:-24px;top:4px}.timeline small{display:block;color:#889781;margin-top:7px}.documents a{display:block;border:1px solid var(--line);padding:14px;margin:14px 0;font-size:13px}.vitals{display:flex;flex-wrap:wrap;gap:20px;margin:25px 0}.vitals span{font-size:11px;color:#8c9b86}.vitals strong{display:block;font-size:15px;color:#436537;margin-top:6px}.notes{white-space:pre-wrap}.live{font-size:11px;color:#769568}.route-filter{display:flex;align-items:center;gap:15px}.day-weather{display:block;margin-top:10px;color:var(--muted);font-size:11px;max-width:340px}.weather-chart-title{margin-top:12px;color:var(--muted);font-size:10px}.weather-chart{display:flex;align-items:flex-end;gap:12px;height:110px;margin-top:5px}.weather-point{display:flex;flex-direction:column;align-items:center;gap:3px;font-size:10px;color:var(--muted)}.weather-point strong{font-size:10px}.weather-icon{font-size:18px;line-height:1.2}.weather-temp{display:block;width:18px;background:#8fb7d1;border-radius:4px 4px 1px 1px}.weather-point small{font-size:10px;color:var(--green)}.weather-point em{font-size:9px;font-style:normal;color:#6b91ad}.route-panel{margin:20px 0}.auth{display:grid;grid-template-columns:1.1fr 1fr;min-height:100vh}.auth-story{background:#205b47;color:#edf4e8;padding:50px 60px;display:flex;flex-direction:column;justify-content:space-between}.auth-story .brand{color:#eef4df}.auth-story h1{font-size:53px;line-height:1.18;font-weight:450;margin:20px 0}.auth-story .eyebrow{color:#bbd4a9}.auth-story p{color:#bbd1bd}.auth-story small{color:#a8c09f}.auth-features{display:grid;gap:20px;margin-top:40px;font-size:13px;color:#d4e0c9}.auth-form{display:grid;place-items:center;padding:50px;background:#fbfcf9}.auth-form form{width:100%;max-width:360px}.auth-form h2{font-size:30px}.auth-form .text-button{display:block;margin:10px auto 30px}.auth-form small{font-size:10px;color:#9aa294;line-height:1.6}.wide{width:100%;justify-content:space-between}.setup,.loading{padding:60px;max-width:800px;margin:auto}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;background:#233e35;color:white;padding:16px 24px;border-radius:9px;box-shadow:0 5px 30px #0002;z-index:100;opacity:0;pointer-events:none;font-size:13px;transition:opacity .2s}#toast.show{opacity:1}@media(min-width:1500px){.hero{min-height:310px}.hero h2{font-size:37px}}@media(max-width:1100px){aside{width:205px;padding:30px 15px}.brand{font-size:25px}main{margin-left:205px}.content{padding:30px 25px}header{padding:0 25px}.cards{grid-template-columns:repeat(2,1fr)}.hero h2{font-size:27px}.hero-art{width:30%}.medical-cross{font-size:100px}.auth-story{padding:40px}.auth-story h1{font-size:42px}}@media(max-width:760px){aside{position:static;width:auto;padding:20px;border-right:0;border-bottom:1px solid var(--line)}.brand{font-size:23px}.brand small{font-size:7px}.workspace,.sidebar-bottom .care-icon,.sidebar-bottom strong,.sidebar-bottom p{display:none}nav{display:flex;margin-top:19px;gap:5px;overflow:auto}.nav-item{white-space:nowrap;font-size:11px;padding:10px}.nav-item span{font-size:16px}.sidebar-bottom{position:absolute;right:22px;top:10px;padding:0}.logout{font-size:11px}main{margin:0}header{height:65px;padding:0 20px}.breadcrumb{font-size:10px}.profile{font-size:10px}.avatar{width:30px;height:30px}.content{padding:27px 20px}.page-heading{align-items:flex-start;flex-wrap:wrap;gap:17px}h1{font-size:28px}.page-heading p{font-size:12px}.hero{padding:27px 24px;min-height:275px}.hero h2{font-size:26px}.hero-art{display:none}.hero p{font-size:12px}.stats{gap:8px;margin-bottom:29px}.stats>div{padding:16px 12px}.stats span{display:none}.stats small{font-size:9px;line-height:1.5;display:block}.stats strong{font-size:23px}.cards,.service-grid,.detail-grid{grid-template-columns:1fr}.section-heading>span{display:none}.section-heading h2{font-size:17px}.visit-card{padding:22px}.steps{gap:13px;font-size:9px}.steps>div{flex-direction:column;text-align:center;flex:1}.panel{padding:21px}.location-row{flex-direction:column;align-items:flex-start}footer{padding:20px;font-size:9px}footer span{display:none}.auth{grid-template-columns:1fr}.auth-story{padding:28px}.auth-story h1{font-size:33px;margin:20px 0}.auth-story>div:nth-child(2){margin-top:35px}.auth-story small,.auth-features{display:none}.auth-form{padding:35px 25px}.auth-form h2{font-size:26px}.route-filter{align-items:flex-end}.route-filter label{margin:0}.route-filter button{margin-bottom:1px}.form-grid{gap:9px}.group-header{display:none}.group-row{grid-template-columns:1fr;gap:0}.group-code{padding:0 0 4px}.group-row>label:first-child{padding-bottom:0}.live{font-size:10px}}

#family-triage > fieldset > .anamnesis-person-name{font-size:24px;font-weight:600;letter-spacing:-.4px} [data-action="family-back"],[data-action="back"]{scroll-margin-top:16px}

.visit-status-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.responsible-whatsapp{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;color:#128c4a;border-radius:50%;background:#eaf8ef}.responsible-whatsapp svg{width:22px;height:22px}.responsible-whatsapp:hover{background:#d1efdc}.responsible-whatsapp:focus-visible{outline:2px solid #128c4a;outline-offset:3px}
/* Associação de serviços do médico em lista simples, com colunas alinhadas. */
.doctor-service-list{margin:12px 0 16px}
.doctor-service-header,.doctor-service-row{display:grid;grid-template-columns:48px minmax(160px,1.8fr) 105px repeat(5,minmax(82px,1fr));align-items:center;column-gap:4px}
.doctor-service-header{padding:0 0 6px;border-bottom:2px solid var(--line);color:var(--muted);font-size:11px;font-weight:700}
.doctor-service-header span:first-child{text-align:center}
.doctor-service-header span:nth-child(n+4){text-align:right}
.doctor-service-row{padding:6px 0;border-bottom:1px solid var(--line);margin:0;color:#52685b}
.doctor-service-row>input[type=checkbox]{justify-self:center;margin:0;width:17px;height:17px;accent-color:var(--green)}
.doctor-service-name{min-width:0;overflow-wrap:anywhere;font-size:12px}
.doctor-service-discount-wrap{display:flex;align-items:center;gap:6px;justify-content:flex-end;white-space:nowrap;font-size:12px}
.doctor-service-discount{width:82px!important;margin:0!important;padding:8px!important;text-align:right}
.doctor-service-value{font-size:12px;text-align:right;white-space:nowrap;color:#52685b}
.doctor-service-value[data-discount-value]{font-weight:700}
.birth-sex-row{display:flex;align-items:flex-start;gap:20px;margin-bottom:18px;flex-wrap:wrap}
.birth-field{display:block;min-width:0;margin:0;flex:0 1 170px}
.birth-field input{max-width:170px}
.family-age{display:block;margin-top:5px;color:var(--muted);font-size:11px}
.sex-options label{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.sex-options{display:flex;align-items:center;column-gap:18px;row-gap:6px;flex-wrap:wrap}.sex-options legend{flex-basis:100%}
.pregnancy-option{display:inline-flex;align-items:center;gap:5px;margin-left:12px;color:var(--green);font-weight:600}
#family-person .sex-options{display:grid;grid-template-columns:max-content max-content;justify-content:start;align-items:center;padding:0;margin:0;border:0;border-radius:0;column-gap:12px;row-gap:4px;min-width:0}
#family-person .birth-field,#family-person .sex-options legend{color:#505e43;font-size:13px;font-weight:400;line-height:1.4}
#family-person .sex-options legend{margin-bottom:8px}
#family-person .sex-options>label{margin:0;line-height:1.4}
#family-person .sex-options>label:has(input[value="female"]){grid-column:1;grid-row:1}
#family-person .sex-options>.pregnancy-option{grid-column:2;grid-row:1;margin-left:0}
#family-person .sex-options>label:has(input[value="male"]){grid-column:1;grid-row:2}
.vaccine-add-row{display:flex;align-items:flex-end;gap:8px;margin-top:4px}.vaccine-add-row label{flex:1;margin-bottom:0}.vaccine-add-row button{flex-shrink:0;margin-bottom:0}
#family-person h3~p{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:7px 0}#family-person h3~p .text-button{padding:5px 0;font-size:18px;line-height:1}
.family-vaccine-name{min-width:0;overflow-wrap:anywhere}.family-vaccine-price{margin-left:auto;text-align:right;white-space:nowrap}.family-vaccine-remove{color:#b3261e!important;font-size:19px!important;line-height:1}
#family-person .vaccine-person-fields>h3{margin-top:24px;text-align:center}
.booking-location-options{display:flex;flex-wrap:wrap;gap:12px 24px;margin:16px 0}
.booking-location-options label{display:flex;align-items:center;gap:7px;margin:0;cursor:pointer}
.booking-step-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:24px}
.booking-step-navigation>.primary{margin-left:auto}
.booking-step-navigation button{white-space:normal}
#family-person h3~p:has(>strong){padding:10px 27px 0 0;border-top:1px solid var(--line);margin-top:12px}
