:root{--bg:#f2f7f5;--bg-accent:#eaf3f0;--surface:#ffffff;--surface-soft:#f7fbf9;--surface-muted:#eef5f2;--surface-strong:#e4f0ec;--sidebar-bg:#21443f;--sidebar-border:rgba(214, 232, 227, 0.14);--sidebar-hover:rgba(255, 255, 255, 0.08);--sidebar-active:rgba(223, 242, 237, 0.14);--primary:#2f7f72;--primary-hover:#276b60;--primary-soft:#e2f2ed;--functional-phase-mobilizacao:#5B917A;--functional-phase-reabilitacao:#3F6755;--secondary:#ffffff;--secondary-hover:#eef5f2;--text:#18312d;--text-soft:#5a716b;--text-inverse:#f4fbf9;--border:#d7e6e1;--border-strong:#c3d7d1;--warning-bg:#fbf5e8;--warning-border:#eadab9;--warning-text:#7a5b2f;--danger-bg:#fbefee;--danger-border:#e8cbc8;--danger-text:#9c4d4d;--success-bg:#e7f4ef;--success-text:#266a5e;--shadow-soft:0 24px 48px rgba(24, 49, 45, 0.08);--shadow-card:0 12px 28px rgba(24, 49, 45, 0.06);--radius-panel:24px;--radius-card:18px;--radius-control:14px;--sidebar-width:196px;--layout-gap:12px;--footer-height:44px;--font-size-page-title:clamp(24px, 2.2vw, 30px);--font-size-section-title:clamp(20px, 1.6vw, 24px);--font-size-card-title:14px;--font-size-helper:12px;--font-size-card-subtitle:11px;--font-size-card-value:clamp(24px, 2vw, 32px);--font-size-card-value-emphasis:clamp(1.45rem, 2.1vw, 1.85rem);--space-section:20px;--space-card-gap:16px;--space-card-stack:10px;--space-page-title-bottom:14px;--space-footer-top:24px;--font-heading:"Aptos","Segoe UI","Helvetica Neue",sans-serif}html{scroll-behavior:smooth}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}*,::after,::before{box-sizing:border-box}body{margin:0;min-height:100vh;display:flex;flex-direction:column;font-family:Aptos,"Segoe UI","Helvetica Neue",sans-serif;background:radial-gradient(circle at top left,rgba(47,127,114,.08),transparent 24%),linear-gradient(180deg,var(--bg-accent) 0,var(--bg) 220px);color:var(--text)}button,input,select{font:inherit}input,select{width:100%;margin:0;padding:12px 14px;border-radius:var(--radius-control);border:1px solid var(--border);background:#fff;color:var(--text);transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}input:focus,select:focus{outline:0;border-color:rgba(47,127,114,.48);box-shadow:0 0 0 4px rgba(47,127,114,.12)}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(47,127,114,.36);outline-offset:2px}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;margin:0;padding:11px 16px;border:1px solid transparent;border-radius:999px;background:var(--primary);color:#fff;font-weight:600;line-height:1.1;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease,opacity .18s ease}button:hover{background:var(--primary-hover);transform:translateY(-1px);box-shadow:0 12px 22px rgba(47,127,114,.14)}button:disabled{opacity:.55;cursor:not-allowed;transform:none;box-shadow:none}.dev-banner{background:rgba(250,244,230,.94);color:var(--warning-text);text-align:center;padding:7px 12px;font-size:11px;font-weight:600;letter-spacing:.01em;position:fixed;top:0;left:0;width:100%;z-index:1000;border-bottom:1px solid var(--warning-border);backdrop-filter:blur(4px)}.app-notice-host{position:fixed;top:44px;right:20px;z-index:1400;width:min(420px,calc(100vw - 32px))}.app-notice{padding:14px 16px;border-radius:16px;border:1px solid var(--border);background:rgba(255,255,255,.96);color:var(--text);box-shadow:var(--shadow-card);line-height:1.45}.app-notice-info{background:rgba(255,255,255,.96);border-color:var(--border);color:var(--text)}.app-notice-warning{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}.app-notice-error{background:var(--danger-bg);border-color:var(--danger-border);color:var(--danger-text)}.login-stage{width:min(calc(100% - 28px),480px);margin:96px auto 28px;text-align:center}.center-wrap{max-width:480px;margin:0;padding:32px 30px 28px;border:1px solid rgba(215,230,225,.9);border-radius:var(--radius-panel);background:rgba(255,255,255,.94);box-shadow:var(--shadow-soft);text-align:center;backdrop-filter:blur(6px)}.login-logo{display:block;width:min(100%,190px);height:auto;margin:0 auto 30px}.center-wrap h2{margin:0 0 18px;font-size:28px;font-family:var(--font-heading);text-align:left;letter-spacing:-.02em;color:#475651}#loginScreen button,#loginScreen input{margin-top:10px}.password-field{position:relative;margin-top:10px}.password-field input{padding-right:46px}.password-toggle{position:absolute;top:50%;right:10px;width:40px;height:40px;padding:0;margin:0;border-radius:999px;transform:translateY(-50%);background:0 0;border-color:transparent;color:var(--text-soft);box-shadow:none}.password-toggle:hover{background:rgba(24,49,45,.06);color:var(--text);transform:translateY(-50%);box-shadow:none}.password-toggle svg,[data-icon] svg{width:20px;height:20px;display:block;stroke:currentColor;stroke-width:2}.login-msg{min-height:20px;margin:14px 0 8px;color:var(--danger-text);text-align:left;font-weight:600}.login-hint{margin:0;color:var(--text-soft);font-size:13px;line-height:1.45;text-align:left}.login-home-link{display:inline-flex;align-items:center;justify-content:center;margin-top:14px;color:var(--text-soft);font-size:13px;font-weight:600;text-decoration:none;transition:color .18s ease,transform .18s ease}.login-home-link:hover{color:var(--primary);transform:translateY(-1px)}.login-home-link:focus-visible{border-radius:999px}.app{min-height:calc(100vh - 35px);display:flex;flex-direction:column}.app-content{flex:1;display:block;min-height:0;padding-top:34px}.sidebar{position:fixed;top:34px;left:0;bottom:0;z-index:900;overflow:hidden;width:var(--sidebar-width);min-width:var(--sidebar-width);max-width:var(--sidebar-width);padding:16px 10px 14px;display:flex;flex-direction:column;background:linear-gradient(180deg,rgba(255,255,255,.03),transparent 22%),var(--sidebar-bg);color:var(--text-inverse);border-right:1px solid var(--sidebar-border);box-shadow:inset -1px 0 0 rgba(255,255,255,.02)}.sidebar-brand{width:100%;display:flex;justify-content:center;margin:2px 0 16px;padding-bottom:12px;border-bottom:1px solid rgba(214,232,227,.18)}.sidebar-brand-logo{display:block;width:min(152px,100%);height:auto}.sidebar h3{width:auto;margin:0 0 16px;color:#f0b669;font-size:22px;font-weight:700;line-height:1.2;letter-spacing:-.015em}.panel-nav-button,.sidebar button{justify-content:flex-start;padding:9px 10px;border-radius:12px;background:0 0;border-color:transparent;color:var(--text-inverse);box-shadow:none;font-size:12px;line-height:1.25}.panel-nav-button:hover,.sidebar button:hover{background:var(--sidebar-hover);transform:none;box-shadow:none}.panel-nav-button.active,.sidebar button.active{background:var(--sidebar-active);font-weight:700;border-left:3px solid #91c9bc}.sidebar-footer{margin-top:auto;padding-top:12px;border-top:1px solid var(--sidebar-border)}.user-email{font-size:12px;color:rgba(244,251,249,.9);margin-bottom:7px;line-height:1.45;word-break:break-word}#logoutButton,.sidebar-footer button{background:rgba(255,255,255,.08)}#logoutButton:hover,.sidebar-footer button:hover{background:rgba(255,255,255,.14)}main{flex:1;min-height:calc(100vh - 34px);margin-left:calc(var(--sidebar-width) + var(--layout-gap));padding:12px 18px 40px 4px;display:flex;flex-direction:column}.mobile-panel-nav{display:none;align-items:stretch;justify-content:space-between;gap:10px;margin:0 0 10px;padding:10px 12px;border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.94);box-shadow:var(--shadow-card)}.mobile-panel-nav-actions{display:flex;flex:1 1 auto;gap:8px;min-width:0}.mobile-logout-button,.mobile-panel-nav .panel-nav-button{width:auto;min-width:0;padding:10px 12px;border-radius:12px;box-shadow:none;transform:none}.mobile-panel-nav .panel-nav-button{flex:1 1 0;color:var(--text);background:var(--surface-soft);border:1px solid var(--border);justify-content:center}.mobile-panel-nav .panel-nav-button:hover{background:var(--surface-muted)}.mobile-panel-nav .panel-nav-button.active{border-left:1px solid var(--border);border-color:rgba(47,127,114,.28);background:var(--primary-soft)}.mobile-logout-button{flex:0 0 auto;background:var(--secondary-hover);color:var(--text);border:1px solid var(--border)}.mobile-logout-button:hover{background:var(--surface-muted)}.selector-container{display:flex;align-items:center;gap:12px;margin:2px 0 10px;padding:8px 12px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.82);box-shadow:0 8px 18px rgba(24,49,45,.04)}.selector-toolbar{justify-content:space-between;gap:10px;margin:0 0 8px;padding:7px 10px}.selector-field{min-width:0}.selector-field-professional{flex:1 1 auto}.selector-field-professional .custom-select-wrapper{width:100%}.selector-inline-period{display:flex;align-items:center;gap:8px;flex:0 0 auto}.selector-label{font-size:12px;font-weight:600;color:var(--text-soft);white-space:nowrap}.custom-select-wrapper{position:relative;display:inline-block}.custom-select-wrapper::after{content:"▼";position:absolute;top:50%;right:14px;transform:translateY(-50%);font-size:9px;color:var(--text-soft);pointer-events:none}#periodSelector,#professionalSelector{-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:8px 34px 8px 12px;background-color:#fff;cursor:pointer}#professionalSelector{min-width:0;width:100%;font-size:14px}#periodSelector{min-width:148px;font-size:12px}.section-separator,.selectors-separator{height:1px;background-color:var(--border)}.selectors-separator{margin:6px 0 14px}.section-separator{margin:20px 0 16px}.section-subtitle{text-align:center;font-weight:800;font-size:var(--font-size-section-title);font-family:var(--font-heading);margin:34px 0 14px;color:var(--text);letter-spacing:-.01em}.section-subtitle--main{margin-top:38px;margin-bottom:14px}.section-subtitle--minor{margin-top:6px;margin-bottom:18px;font-size:16px;font-weight:600;color:var(--text-soft)}.overview-main-title{margin:8px 0 10px;text-align:center;font-size:clamp(24px,2vw,28px);font-weight:800;font-family:var(--font-heading);letter-spacing:-.015em;color:#2d3748}.overview-main-title--with-icon{display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;text-align:left}#dashboardSection .overview-main-title.overview-main-title--with-icon{text-align:left}#dashboardSection .overview-main-title--with-icon{display:inline-flex;align-items:center;justify-content:flex-start;gap:12px;width:100%;box-sizing:border-box;text-align:left}#dashboardSection .overview-main-title--with-icon [data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}#dashboardSection .overview-main-title--with-icon [data-icon] svg{width:.88em;height:.88em;min-width:26px;min-height:26px;max-width:40px;max-height:40px}.section-subtitle.section-subtitle--main{font-size:clamp(24px,2vw,28px);font-weight:800;font-family:var(--font-heading);letter-spacing:-.015em;color:var(--text)}#dadosSection .section-subtitle{margin:17px 0 7px;text-align:left}#dadosSection .section-subtitle--main{margin-top:19px;margin-bottom:7px}#dadosSection .section-subtitle--minor{margin-top:3px;margin-bottom:9px;font-size:clamp(17px,1.55vw,21px);font-weight:700;text-align:left;color:#334155}#dadosSection .section-separator{margin:10px 0 8px}.charts-block,.charts-row-section{margin-top:var(--space-section)}#dadosSection .charts-row-section{margin-top:10px}.filters-toolbar{margin-bottom:20px;padding:16px;border:1px solid var(--border);border-radius:var(--radius-card);background:rgba(255,255,255,.9);box-shadow:var(--shadow-card)}.filtros-wrapper{display:flex;justify-content:flex-start;gap:18px;flex-wrap:wrap}.filtro-container{display:inline-flex;align-items:center;gap:8px;margin-bottom:0;font-size:13px;color:var(--text-soft);font-weight:600}.filtro-container select{width:auto;min-width:150px;margin-left:0;padding:9px 12px;border-radius:12px;border:1px solid var(--border)}.export-container{text-align:center;margin-top:24px;margin-bottom:var(--space-footer-top)}.export-hint{margin:8px auto 0;max-width:420px;color:var(--text-soft);font-size:12px;line-height:1.45}.app-footer{margin-top:var(--space-footer-top);padding:18px 12px 12px;color:var(--text-soft);font-size:13px;text-align:center}#exportButtons button,#exportDadosPacientes button{width:auto!important;min-width:188px;padding:10px 14px;border-radius:999px;font-weight:600;font-size:13px}.btn-export-disabled{display:inline-flex;align-items:center;gap:8px;background:#d7e2de;color:#6d7e79;opacity:1;cursor:not-allowed}.btn-export-disabled:hover{background:#d7e2de;transform:none;box-shadow:none}.panel-feedback{display:flex;align-items:center;justify-content:center;min-height:220px;padding:18px;border:1px dashed var(--border-strong);border-radius:var(--radius-card);background:var(--surface-soft);color:var(--text-soft);text-align:center}.panel-feedback-error{background:var(--danger-bg);border-color:var(--danger-border);color:var(--danger-text)}#cardsContainer{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:var(--space-card-gap);margin-top:8px}.functional-phases-summary{margin:16px 0 0;padding:14px 16px;border:1px solid rgba(192,205,214,.58);border-radius:var(--radius-card);background:rgba(255,255,255,.82);box-shadow:0 8px 18px rgba(34,56,74,.045)}.functional-phases-title{margin:0 0 12px;color:var(--text);font-size:clamp(22px,1.9vw,30px);font-weight:800;letter-spacing:.005em}.functional-phases-flow{display:flex;align-items:stretch;gap:20px;width:100%;min-width:0}.functional-phase-step{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:6px;padding:4px 2px;background:0 0;border:none;box-shadow:none}.functional-phase-step-header{display:flex;align-items:center;gap:10px;width:100%}.functional-phase-step-icon-circle{width:28px;height:28px;flex:0 0 28px;border-radius:50%;display:inline-block}.functional-phase-step--mobilizacao .functional-phase-step-icon-circle{background:var(--functional-phase-mobilizacao)}.functional-phase-step--reabilitacao .functional-phase-step-icon-circle{background:var(--functional-phase-reabilitacao)}.functional-phase-step-text{min-width:0}.functional-phase-step-name{margin:0;font-size:12px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;color:var(--text);word-break:break-word;line-height:1.2;text-align:left}.functional-phase-step-description{margin:2px 0 0;font-size:11px;color:var(--text-soft);line-height:1.25;max-width:none;text-align:left}.functional-phase-step-metrics{display:flex;align-items:baseline;justify-content:space-between;width:100%;gap:8px}.functional-phase-step-percent{margin-top:0;font-size:28px;font-weight:800;line-height:1;letter-spacing:-.02em}.functional-phase-step--mobilizacao .functional-phase-step-percent{color:var(--functional-phase-mobilizacao)}.functional-phase-step--reabilitacao .functional-phase-step-percent{color:var(--functional-phase-reabilitacao)}.functional-phase-step-progress{width:100%;max-width:none;height:8px;border-radius:9999px;background:rgba(120,130,140,.15);overflow:hidden}.functional-phase-step-progress-fill{display:block;height:100%;border-radius:inherit;transition:width .5s ease-in-out}.functional-phase-step--mobilizacao .functional-phase-step-progress-fill{background:var(--functional-phase-mobilizacao)}.functional-phase-step--reabilitacao .functional-phase-step-progress-fill{background:var(--functional-phase-reabilitacao)}.functional-phase-step-count{font-size:12px;font-weight:700;line-height:1;color:var(--text)}.functional-phases-flow-arrow{flex:0 0 auto;display:flex;align-items:center;justify-content:center;align-self:center;color:var(--text-soft)}.functional-phases-flow-arrow svg{width:24px;height:24px;transform:rotate(45deg)}.functional-phases-empty{margin:0;color:var(--text-soft);font-size:13px;line-height:1.45}#overviewKpiSection{margin-top:14px}.kpi-section{display:flex;flex-direction:column;width:100%;max-width:100%;min-width:0;padding:12px 14px 14px;margin-bottom:28px;border:1px solid rgba(192,205,214,.58);border-radius:var(--radius-card);background:rgba(255,255,255,.82);box-shadow:0 8px 18px rgba(34,56,74,.045);box-sizing:border-box;overflow:visible}.kpi-section__title{margin:0 0 10px;color:var(--text);font-size:clamp(22px,1.9vw,30px);font-weight:800;letter-spacing:.005em}#overviewKpiContainer{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:var(--space-card-gap);width:100%;min-width:0}#overviewKpiContainer>.overview-kpi-card{flex:1 1 0;min-width:0}.prescription-planning-block{display:flex;flex-direction:column;gap:12px;margin:4px 0 12px}.prescription-metrics-bar{width:100%;box-sizing:border-box}.prescription-metrics-bar__inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;justify-items:center;column-gap:8px;min-height:64px;max-height:80px;padding:16px 24px;box-sizing:border-box}.prescription-metric{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;width:100%;text-align:center}.prescription-metric__label-row{display:inline-flex;align-items:center;justify-content:center;gap:6px}.prescription-metric__icon-host{display:inline-flex;width:18px;height:18px;flex:0 0 18px;color:#94a3b8}.prescription-metric__icon-host svg{width:18px;height:18px}.prescription-metric__label{font-size:12px;font-weight:600;color:#64748b;letter-spacing:.01em}.prescription-metric__value{font-size:clamp(1.25rem,2.2vw,1.5rem);font-weight:700;line-height:1.15;color:var(--primary);font-variant-numeric:tabular-nums}.prescription-metrics-bar__sep{width:1px;justify-self:center;align-self:stretch;min-height:44px;background:#e2e8f0}.prescription-treatment-heading{text-align:left;margin:0 0 2px;padding:0;align-self:stretch}.prescription-charts-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;width:100%}.prescription-charts-row .grafico-box{min-width:0}.overview-kpi-card{background:rgba(255,255,255,.94);border:1px solid var(--border);border-radius:var(--radius-card);box-shadow:var(--shadow-card);padding:18px 16px 16px;text-align:center;display:flex;flex-direction:column;gap:12px;min-height:136px}.overview-kpi-title{margin:0;min-height:34px;font-size:var(--font-size-card-title);line-height:1.2;font-weight:800;color:var(--text-soft);letter-spacing:.005em}.overview-kpi-subtitle{display:block;margin-top:4px;font-size:var(--font-size-card-subtitle);line-height:1.2;font-weight:500;opacity:.63;color:var(--text-soft)}.overview-kpi-value{margin:4px 0 0;font-size:var(--font-size-card-value);line-height:1.1;font-weight:700;color:var(--primary)}.overview-kpi-details{margin-top:4px;display:grid;gap:6px}.overview-kpi-detail-line{margin:0;font-size:14px;line-height:1.25;font-weight:700;color:var(--primary)}.info-card{position:relative;background:rgba(255,255,255,.94);border:1px solid var(--border);border-radius:var(--radius-card);padding:16px 14px 14px;box-shadow:var(--shadow-card);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.info-card--horizontal{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;align-items:start;column-gap:14px;row-gap:0;min-height:116px;padding:14px 16px 0;text-align:left}.info-card--horizontal .info-icon{grid-column:1;grid-row:1;margin:0;align-self:start;transform:translateY(-2px)}.info-card--horizontal .info-card-body{grid-column:2;grid-row:1;min-width:0;display:flex;flex-direction:column;gap:6px;align-items:flex-start;text-align:left;padding-bottom:12px}.info-card--horizontal:not(:has(.info-card-footer)){align-items:center;min-height:104px;padding-bottom:14px}.info-card--horizontal:not(:has(.info-card-footer)) .info-icon{align-self:center;transform:none}.info-card--horizontal:not(:has(.info-card-footer)) .info-card-body{align-self:center;justify-content:center;gap:8px;padding-bottom:0}.info-card--horizontal .info-card-footer{grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:6px;margin:0 -16px 0;padding:9px 16px;border-top:1px solid var(--border);font-size:11.5px;font-weight:700;letter-spacing:.02em;width:calc(100% + 32px);box-sizing:border-box}.info-card-footer-icon{display:inline-flex;flex-shrink:0;width:14px;height:14px;align-items:center;justify-content:center}.info-card-footer-icon svg{width:14px;height:14px;stroke:currentColor;stroke-width:2.2}.info-card-footer-text{line-height:1.25;flex:1;min-width:0}.info-card:hover{transform:translateY(-3px);border-color:var(--border-strong);box-shadow:0 16px 28px rgba(24,49,45,.08)}.info-icon{font-size:22px;color:#fff;width:44px;height:44px;border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.info-card-title{margin:0;font-size:var(--font-size-card-title);line-height:1.2;min-height:0;font-weight:600;color:var(--text-soft);letter-spacing:.005em}.info-card-subtitle{display:inline-block;margin-top:4px;font-size:var(--font-size-card-subtitle);font-weight:500;line-height:1.2;opacity:.68;color:var(--text-soft)}.info-card-value{margin:0;font-size:var(--font-size-card-value);font-weight:800;color:var(--text);line-height:1.1}.info-card.pacientes .info-icon{background:#5f9f93}.info-card.pacientes-atendidos .info-icon{background:#4a8f95}.info-card.pacientes-com-alta .info-icon{background:#6c9f86}.info-card.avaliacoes .info-icon{background:#3f8c73}.info-card.planejamentos .info-icon{background:#c7a45e}.info-card.evolucoes .info-icon{background:#7a92a6}.info-card.relatorios .info-icon{background:#b7867d}.info-card .info-icon svg{width:22px;height:22px;stroke:#fff;stroke-width:2}.graficos-row{display:flex;flex-wrap:wrap;gap:var(--space-card-gap);justify-content:center;align-items:stretch}.grafico-box{flex:1 1 calc(33.33% - 12px);max-width:calc(33.33% - 12px);min-width:280px;padding:20px 20px 16px;border:1px solid var(--border);border-radius:var(--radius-card);background:rgba(255,255,255,.94);box-shadow:var(--shadow-card);text-align:center;display:flex;flex-direction:column}#prescriptionPlanningRow .prescription-charts-row .grafico-box{min-width:0;max-width:none}#graficosDependenciaContainer .grafico-box--wide{flex-basis:100%;max-width:100%}.patients-charts-top{margin-top:10px}.patients-top-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:stretch;width:100%}.patients-top-charts .grafico-box{min-width:0;max-width:none;flex:initial}#dadosSection{background-color:#f8fafc;padding:0 0 6px;--overview-accent:#5B917A;--overview-accent-mid:#3F6755;--overview-blue:#364D6A;--overview-warn:#1F2B5C;--overview-surface:#ffffff;--overview-border:#e2e8f0;--overview-text-muted:#64748b}#dadosSection .dados-overview-layout{display:grid;gap:8px;min-width:0;padding:0 2px}#dadosSection .dados-main-title{margin:2px 0 4px;text-align:left;font-family:var(--font-heading);font-size:clamp(31px,2.8vw,40px);font-weight:900;letter-spacing:-.02em;color:#0f172a}#dadosSection .dados-main-subtitle{margin:0 0 var(--space-page-title-bottom);text-align:left;font-size:clamp(16px,1.5vw,20px);line-height:1.45;font-weight:500;color:#475569}#dadosSection .dados-bloco-prescricao{min-width:0}#dadosSection .dados-bloco-prescricao .prescription-planning-block{margin:0}#dadosSection .dados-bloco-prescricao .prescription-charts-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;width:100%}#dadosSection .dados-delta-fullwidth{width:100%;min-width:0;margin-top:6px;padding-top:12px;border-top:3px solid var(--overview-accent)}#dadosSection .dados-delta-fullwidth .dados-section-heading{margin-bottom:8px}#dadosSection .dados-delta-kpi.delta-funcional-container{display:flex;flex-direction:column;gap:10px;min-height:0;margin-top:0;margin-bottom:0;padding:12px 14px 12px;border-left:none;border-radius:12px;background:var(--overview-surface);border:1px solid var(--overview-border);box-shadow:0 4px 14px -4px rgba(13,148,136,.12),0 4px 6px -1px rgba(0,0,0,.05)}#dadosSection .dados-delta-kpi .delta-funcional-filter-card{background:var(--overview-surface);border:1px solid var(--overview-border);box-shadow:0 4px 6px -1px rgba(0,0,0,.05),0 2px 4px -1px rgba(0,0,0,.03)}#dadosSection #deltaFuncionalList.delta-list{flex:1 1 auto;min-height:120px;max-height:min(52vh,560px);overflow-y:auto;overflow-x:hidden;padding-right:6px;gap:8px}#dadosSection .dados-delta-fullwidth .delta-chips{gap:8px;justify-content:flex-start}#dadosSection .dados-bloco-perfil{min-width:0}#dadosSection .dados-section-heading.section-subtitle--main,#dadosSection .prescription-treatment-heading.section-subtitle--minor{font-size:clamp(22px,2.35vw,30px);font-weight:800;font-family:var(--font-heading);letter-spacing:-.015em;text-align:left;color:#1e293b}#dadosSection .dados-section-heading.section-subtitle--main{margin:0 0 6px}#dadosSection .prescription-treatment-heading.section-subtitle--minor{margin:12px 0 8px}#dadosSection .section-subtitle.dados-section-heading{margin-top:0;margin-bottom:6px}#dadosSection .dados-bloco-perfil .dados-section-heading{margin-top:4px}#dadosSection .dados-dependencia-row.charts-row-section{margin-top:6px}#dadosSection .delta-empty-state,#dadosSection .delta-funcional-filter-card,#dadosSection .filters-toolbar,#dadosSection .grafico-box,#dadosSection .prescription-metrics-bar{background:#fff;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 4px 6px -1px rgba(0,0,0,.05),0 2px 4px -1px rgba(0,0,0,.03)}#dadosSection .delta-funcional-container:not(.dados-delta-kpi){margin-top:4px}#dadosSection .delta-funcional-filter-card{padding:12px 14px}#dadosSection .filters-toolbar{margin-bottom:12px;padding:10px 12px}#dadosSection .filtros-wrapper{gap:10px}#dadosSection .grafico-box{padding:14px 14px 12px}#dadosSection #graficosDependenciaContainer .grafico-box{padding:12px 14px 10px}#dadosSection .grafico-box h3{margin:0 0 6px;min-height:0;font-size:clamp(14px,1.4vw,18px);line-height:1.3;font-weight:800;text-align:left;color:#334155}#dadosSection #graficosDependenciaContainer .grafico-box h3{font-size:clamp(24px,2.1vw,32px)}#dadosSection .patients-top-charts>.grafico-box{display:flex;flex-direction:column;min-height:0;min-width:0;padding:10px 12px 10px}#dadosSection .patients-top-charts>.grafico-box:nth-child(1),#dadosSection .patients-top-charts>.grafico-box:nth-child(2){padding:7px 9px 7px}#dadosSection .patients-top-charts>.grafico-box canvas{flex:1 1 auto;min-height:0;margin-top:0}#dadosSection .patients-top-charts>.overview-chart-donut{align-items:stretch;overflow:visible;min-width:0}#dadosSection .patients-top-charts>.overview-chart-donut h3{align-self:stretch;text-align:left}#dadosSection .patients-top-charts>.overview-chart-donut .imc-card-subtitle{margin:-6px 0 4px;font-weight:500;color:#64748b}#dadosSection .patients-top-charts>.overview-chart-donut .imc-donut-shell{display:flex;flex-direction:row;align-items:center;gap:8px;flex:1 1 auto;min-height:0;width:100%}#dadosSection .patients-top-charts>.overview-chart-donut .imc-donut-canvas-wrap{flex:0 1 50%;min-width:0;max-width:52%;min-height:0;display:flex;align-self:center}#dadosSection .patients-top-charts>.overview-chart-donut .imc-donut-canvas-wrap canvas{flex:1 1 auto;min-height:0;margin-top:0}#dadosSection .patients-top-charts>.overview-chart-donut .imc-patient-legend:not([hidden]){flex:1 1 48%;min-width:0;overflow:visible;display:flex;flex-direction:column;justify-content:center;align-self:center}#dadosSection .patients-top-charts>.overview-chart-donut .imc-patient-legend-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;justify-content:center;gap:6px}#dadosSection .patients-top-charts>.overview-chart-donut .imc-patient-legend-row{display:flex;flex-direction:row;align-items:center;gap:6px;min-width:0}#dadosSection .patients-top-charts>.overview-chart-donut .imc-legend-swatch{flex:0 0 auto;width:10px;height:10px;border-radius:2px;border:1px solid rgba(15,23,42,.12)}#dadosSection .patients-top-charts>.overview-chart-donut .imc-legend-name{flex:1 1 auto;min-width:0;font-size:11px;font-weight:600;line-height:1.25;color:#334155}#dadosSection .patients-top-charts>.overview-chart-donut .imc-legend-values{flex:0 0 auto;display:inline-flex;flex-wrap:nowrap;gap:4px;align-items:baseline;justify-content:flex-end;margin-left:auto;font-size:11px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}#dadosSection .patients-top-charts>.overview-chart-donut .imc-legend-count{color:#334155}#dadosSection .patients-top-charts>.overview-chart-donut .imc-legend-pct{color:#64748b;font-weight:500}#dadosSection .patients-top-charts>.overview-chart-donut .imc-card-footnote{margin:8px 0 0;font-size:11px;font-style:italic;font-weight:400;line-height:1.35;color:#64748b}.grafico-box h3{margin:0 0 12px;font-weight:800;color:var(--text);font-size:15px;line-height:1.35;min-height:40px}.grafico-box-subtitle{margin:-8px 0 6px;font-size:12px;font-weight:500;color:#64748b;letter-spacing:.2px;line-height:1.2}.daily-evaluations-box{padding:20px 20px 16px;border:1px solid rgba(192,205,214,.46);background:linear-gradient(180deg,rgba(248,251,253,.96) 0,rgba(255,255,255,.98) 36%),rgba(255,255,255,.98);box-shadow:0 6px 16px rgba(34,56,74,.05)}.daily-evaluations-box h3{text-align:left;margin:0 0 14px;color:#3a4953;font-size:14px;font-weight:700;letter-spacing:0}.daily-evaluations-box canvas{height:300px!important;max-height:300px}#dashboardSection{background-color:#f8fafc;--overview-accent:#5B917A;--overview-accent-mid:#3F6755;--overview-blue:#364D6A;--overview-warn:#1F2B5C;--overview-surface:#ffffff;--overview-border:#e2e8f0;--overview-text-muted:#64748b}#dashboardSection .overview-layout{display:grid;gap:6px;min-width:0}#dashboardSection .overview-main-title{margin:2px 0 var(--space-page-title-bottom);text-align:center;font-size:clamp(31px,2.8vw,40px);font-weight:900;letter-spacing:-.02em;color:#0f172a}#dashboardSection .overview-insights{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:stretch;gap:6px;min-width:0;margin-bottom:8px}#dashboardSection .overview-insights>#overviewKpiSection,#dashboardSection .overview-insights>.functional-phases-summary{flex:1 1 0%;min-width:0;min-height:0;align-self:stretch}@media (min-width:1101px){#dashboardSection .overview-insights>#overviewKpiSection,#dashboardSection .overview-insights>.functional-phases-summary{height:100%;box-sizing:border-box}}#dashboardSection .overview-insights #overviewKpiSection{margin-top:0;margin-bottom:0;width:100%;max-width:100%;min-width:0}#dashboardSection .overview-insights .kpi-section__title{margin:0 0 6px;font-size:clamp(25px,2.2vw,34px)}#dashboardSection .overview-insights #overviewKpiContainer{gap:6px}#dashboardSection .overview-insights .functional-phases-summary{margin:0;min-height:0;padding:8px 10px 10px}#dashboardSection .overview-insights .functional-phases-title{margin:0 0 6px;font-size:clamp(25px,2.2vw,34px)}#dashboardSection .overview-insights .functional-phases-flow{gap:12px}#dashboardSection .overview-insights .functional-phase-step-icon-circle{width:22px;height:22px;flex-basis:22px}#dashboardSection .overview-insights .functional-phase-step-name{font-size:11px}#dashboardSection .overview-insights .functional-phase-step-description{font-size:11px}#dashboardSection .overview-insights .functional-phase-step-percent{font-size:22px}#dashboardSection .overview-insights .functional-phase-step-count{font-size:11px}#dashboardSection .overview-insights .functional-phase-step-header{gap:8px}#dashboardSection .overview-insights .functional-phases-flow-arrow svg{width:18px;height:18px}#dashboardSection .overview-charts.charts-block{margin-top:4px}#dashboardSection .overview-charts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch;min-width:0}#dashboardSection .overview-charts-grid>.grafico-box{display:flex;flex-direction:column;width:100%;max-width:none;min-width:0;flex:initial;min-height:0;height:100%;padding:10px 12px 10px}#dashboardSection .overview-charts-grid>.grafico-box h3{margin:0 0 6px;min-height:0;font-size:clamp(25px,2.2vw,34px);line-height:1.25;font-weight:800;font-family:var(--font-heading);color:var(--text);text-align:left;letter-spacing:-.015em}#dashboardSection .overview-charts-grid>.grafico-box canvas{flex:1 1 auto;min-height:0;margin-top:0;width:100%!important}#dashboardSection .overview-charts-grid>.grafico-box .exc-aval-tipo-chart{flex:0 1 auto;min-height:0;margin-top:0;width:100%!important}.exc-aval-tipo-chart--html{display:flex;flex-direction:column;min-width:0;font-family:Aptos,"Segoe UI","Helvetica Neue",sans-serif}.exc-aval-tipo-chart--html.exc-aval-tipo-chart--empty{justify-content:center;align-items:center}.exc-aval-tipo-html-empty-msg{margin:0;font-size:13px;color:#64748b;text-align:center;padding:24px 8px}.exc-aval-tipo-html-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:16px 22px;margin:0 0 8px;font-size:13px;font-weight:600;color:rgba(51,65,85,.92)}.exc-aval-tipo-html-legend-chip{display:inline-flex;align-items:center;gap:8px}.exc-aval-tipo-html-legend-dot{width:14px;height:14px;border-radius:3px;flex-shrink:0}.exc-aval-tipo-html-rows{flex:0 0 auto;overflow:visible;display:flex;flex-direction:column;gap:0;padding:0 0 1px}.exc-aval-tipo-html-row{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,2fr) auto;align-items:center;gap:4px 6px;min-width:0;flex-shrink:0;box-sizing:border-box;height:30px;min-height:30px;cursor:default}.exc-aval-tipo-html-label{font-size:11px;font-weight:500;color:rgba(51,65,85,.95);line-height:1.2;min-width:0;max-height:calc(1em * 1.2 * 2);text-align:right;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;align-self:center}.exc-aval-tipo-html-bar-cell{min-width:0}.exc-aval-tipo-html-track{height:10px;border-radius:999px;background:rgba(148,163,184,.2);overflow:hidden}.exc-aval-tipo-html-fill{height:100%;border-radius:999px 0 0 999px;min-width:3px}.exc-aval-tipo-html-num{font-size:11px;font-weight:700;color:#334155;font-variant-numeric:tabular-nums;text-align:right;min-width:2.1rem}.chart-html-slot--placeholder{display:flex;align-items:center;justify-content:center;min-height:120px}.chart-slot-message{margin:0;padding:12px;text-align:center;font-size:14px;color:#64748b;line-height:1.35}.chart-slot-message--loading{color:#475569}#dashboardSection .overview-location-breakdown{margin-top:4px;border:1px solid var(--overview-border);border-radius:12px;background:linear-gradient(180deg,var(--overview-surface) 0,rgba(91,145,122,.06) 100%);box-shadow:0 6px 16px rgba(34,56,74,.05);padding:12px 14px}#dashboardSection .overview-location-breakdown-title{margin:0 0 6px;min-height:0;font-size:clamp(25px,2.2vw,34px);line-height:1.25;font-weight:800;font-family:var(--font-heading);color:var(--text);text-align:left;letter-spacing:-.015em}#dashboardSection .overview-location-breakdown-empty{margin:0;font-size:12px;color:var(--overview-text-muted)}#dashboardSection .overview-location-breakdown-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}#dashboardSection .overview-location-item{--location-accent:var(--overview-blue);border:1px solid var(--overview-border);border-radius:10px;padding:10px;background:var(--overview-surface);min-width:0}#dashboardSection .overview-location-item-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin-bottom:8px}#dashboardSection .overview-location-item-icon{width:24px;height:24px;border-radius:999px;display:inline-block;background:var(--location-accent);flex-shrink:0}#dashboardSection .overview-location-item-name{margin:0;font-size:12px;font-weight:700;color:var(--text);line-height:1.2}#dashboardSection .overview-location-item-percent{margin:0;font-size:20px;font-weight:800;color:var(--location-accent);line-height:1}#dashboardSection .overview-location-item-track{width:100%;height:8px;border-radius:999px;background:rgba(54,77,106,.12);overflow:hidden}#dashboardSection .overview-location-item-fill{display:block;width:0;height:100%;border-radius:inherit;background:var(--location-accent)}#dashboardSection .overview-location-item-count{margin:8px 0 0;font-size:11px;color:var(--overview-text-muted)}#dashboardSection #cardsContainer{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:6px;margin-top:0}#dashboardSection #cardsContainer .info-card{border-left:3px solid transparent;padding:14px 16px 0}#dashboardSection .info-card.pacientes{border-left-color:var(--overview-accent)}#dashboardSection .info-card.pacientes-atendidos{border-left-color:var(--overview-blue)}#dashboardSection .info-card.pacientes-com-alta{border-left-color:var(--overview-warn)}#dashboardSection .info-card.avaliacoes{border-left-color:#059669}#dashboardSection .info-card.planejamentos{border-left-color:#7c3aed}#dashboardSection .info-card.evolucoes{border-left-color:#0284c7}#dashboardSection .info-card.relatorios{border-left-color:#c2410c}#dashboardSection .info-card .info-icon{box-shadow:0 2px 6px rgba(15,23,42,.08)}#dashboardSection .info-card.pacientes .info-icon{background:linear-gradient(145deg,#0d9488,#2dd4bf)}#dashboardSection .info-card.pacientes-atendidos .info-icon{background:linear-gradient(145deg,#1d4ed8,#3b82f6)}#dashboardSection .info-card.pacientes-com-alta .info-icon{background:linear-gradient(145deg,#c2410c,#fb923c)}#dashboardSection .info-card.avaliacoes .info-icon{background:linear-gradient(145deg,#047857,#10b981)}#dashboardSection .info-card.planejamentos .info-icon{background:linear-gradient(145deg,#5b21b6,#8b5cf6)}#dashboardSection .info-card.evolucoes .info-icon{background:linear-gradient(145deg,#0369a1,#0ea5e9)}#dashboardSection .info-card.relatorios .info-icon{background:linear-gradient(145deg,#9a3412,#ea580c)}#dashboardSection #cardsContainer .info-card.pacientes .info-card-footer{color:var(--overview-accent)}#dashboardSection #cardsContainer .info-card.pacientes-atendidos .info-card-footer{color:var(--overview-blue)}#dashboardSection #cardsContainer .info-card.pacientes-com-alta .info-card-footer{color:var(--overview-warn)}#dashboardSection #cardsContainer .info-card.avaliacoes .info-card-footer{color:#059669}#dashboardSection #cardsContainer .info-card.planejamentos .info-card-footer{color:#7c3aed}#dashboardSection #cardsContainer .info-card.evolucoes .info-card-footer{color:#0284c7}#dashboardSection #cardsContainer .info-card.relatorios .info-card-footer{color:#c2410c}#dashboardSection #cardsContainer .info-card-footer--positive .info-card-footer-icon{color:#059669}#dashboardSection #cardsContainer .info-card-footer--negative .info-card-footer-icon{color:#dc2626}#dashboardSection #cardsContainer .info-card-footer--neutral .info-card-footer-icon{color:#64748b}@media (max-width:1100px){#dashboardSection .overview-insights{flex-direction:column;flex-wrap:nowrap;align-items:stretch;margin-bottom:8px}#dashboardSection .overview-insights>#overviewKpiSection,#dashboardSection .overview-insights>.functional-phases-summary{flex:0 1 auto;width:100%;max-width:100%;height:auto}#dashboardSection .overview-charts-grid{grid-template-columns:1fr;gap:10px}}@media (max-width:720px){#dashboardSection .overview-insights #overviewKpiContainer{flex-direction:column;flex-wrap:nowrap}#dashboardSection .overview-insights #overviewKpiContainer>.overview-kpi-card{flex:1 1 auto;max-width:100%}.functional-phases-flow{flex-direction:column}.functional-phases-flow-arrow svg{transform:rotate(135deg)}}#dashboardSection #cardsContainer .info-card,#dashboardSection .functional-phases-summary,#dashboardSection .grafico-box,#dashboardSection .overview-kpi-card{background:#fff;border-radius:12px;border:1px solid #e2e8f0;box-shadow:0 4px 6px -1px rgba(0,0,0,.05),0 2px 4px -1px rgba(0,0,0,.03)}#dashboardSection .overview-charts .grafico-box.daily-evaluations-box{border-top:2px solid var(--overview-accent)}#dashboardSection .daily-evaluations-box h3{margin:0 0 6px;font-size:clamp(25px,2.2vw,34px);font-weight:800;font-family:var(--font-heading);color:var(--text);letter-spacing:-.015em}#dashboardSection .info-card:hover{box-shadow:0 10px 15px -3px rgba(0,0,0,.06),0 4px 6px -2px rgba(0,0,0,.04);border-color:#cbd5e1}#dashboardSection .info-card--horizontal .info-card-value{font-size:clamp(1.3rem,1.8vw,1.62rem);font-weight:700;color:#1e293b;line-height:1.15;letter-spacing:-.01em;font-variant-numeric:tabular-nums}#dashboardSection .overview-kpi-value{font-size:clamp(1.35rem,2.2vw,1.65rem);font-weight:800;color:#1e293b;line-height:1.1}#dashboardSection .info-card--horizontal .info-card-title{font-size:12px;font-weight:800;color:#334155;line-height:1.25;text-transform:capitalize;letter-spacing:.06em}#dashboardSection .overview-kpi-title{font-size:13px;font-weight:800;color:var(--text);line-height:1.3}#dashboardSection .info-card-subtitle{font-size:11px;font-weight:500;color:#64748b;opacity:1}#dashboardSection .overview-kpi-subtitle{font-size:11px;font-weight:500;color:#64748b;opacity:1;line-height:1.35}#dashboardSection .overview-charts-grid .daily-evaluations-box canvas,#dashboardSection .overview-charts-grid .overview-chart-donut canvas{height:clamp(288px,42vh,380px)!important;min-height:278px;max-height:380px}#dashboardSection .overview-charts-grid .overview-chart-bars #graficoTestes.exc-aval-tipo-chart{height:auto!important;min-height:240px;max-height:none!important}#dashboardSection .overview-kpi-card{min-height:0;padding:8px 8px 8px;text-align:left;align-items:flex-start;border-left:3px solid var(--overview-accent);gap:4px}#dashboardSection .overview-kpi-card:nth-child(2){border-left-color:var(--overview-blue)}#dashboardSection .overview-kpi-card:nth-child(3){border-left-color:var(--overview-warn)}#dashboardSection .overview-kpi-title{width:100%;min-height:0}#dashboardSection .overview-kpi-value{font-variant-numeric:tabular-nums;font-size:clamp(1.25rem,2.05vw,1.6rem);line-height:1.2}#dashboardSection .overview-kpi-card:nth-child(3) .overview-kpi-value{font-size:clamp(1.2rem,1.9vw,1.45rem)}#dashboardSection .overview-kpi-detail-line{font-size:13px;font-weight:600;color:#475569;line-height:1.3}#dashboardSection .overview-charts .export-container{margin-top:4px;margin-bottom:0}#dashboardSection .overview-charts .export-hint{margin-top:4px;font-size:11px}#dashboardSection .overview-kpi-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px;margin-top:2px;width:100%;min-width:0}#dashboardSection .overview-kpi-trend{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:700;letter-spacing:.02em;line-height:1.3;white-space:nowrap;flex-wrap:nowrap;max-width:100%;min-width:0;overflow:hidden;text-overflow:ellipsis}#dashboardSection .overview-kpi-trend--positive{color:#059669}#dashboardSection .overview-kpi-trend--neutral{color:#64748b}#dashboardSection .overview-kpi-card:nth-child(1) .overview-kpi-trend{color:var(--overview-accent)}#dashboardSection .overview-kpi-card:nth-child(2) .overview-kpi-trend{color:var(--overview-blue)}#dashboardSection .overview-kpi-card:nth-child(3) .overview-kpi-trend{color:var(--overview-warn)}#dashboardSection .overview-kpi-trend .overview-kpi-trend-icon{display:inline-flex;width:14px;height:14px;flex-shrink:0;margin-right:4px;vertical-align:middle}#dashboardSection .overview-kpi-trend .overview-kpi-trend-icon svg{width:14px;height:14px;stroke:currentColor}.grafico-box canvas{width:100%!important;height:320px!important;max-height:320px;margin-top:auto}#dadosSection .patients-top-charts .grafico-box canvas{height:220px!important;max-height:220px}#dadosSection .patients-top-charts .overview-chart-donut canvas{height:clamp(218px,40vmin + 28px,300px)!important;max-height:300px}#dadosSection .prescription-charts-row .grafico-box canvas{height:200px!important;max-height:200px}#dadosSection #graficosDependenciaContainer .grafico-box canvas{height:170px!important;max-height:170px}#dadosSection .prescription-metrics-bar__inner{min-height:48px;max-height:none;padding:10px 14px}#dadosSection .prescription-metric__value{color:var(--overview-accent)}.dependencia-legend{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 6px}.dependencia-legend-item{width:auto;border:1px solid transparent;border-radius:999px;background:0 0;color:rgba(33,68,63,.9);box-shadow:none;transform:none;padding:6px 10px;gap:7px;font-size:11px;font-weight:600;cursor:pointer;opacity:1;transition:background .18s ease,opacity .18s ease,border-color .18s ease,color .18s ease}.dependencia-legend-item:hover{background:rgba(49,69,80,.08);box-shadow:none;transform:none}.dependencia-legend-item.is-active{border-bottom-color:rgba(33,68,63,.55)}.dependencia-legend-item.is-inactive{opacity:.35}.dependencia-legend-item.is-inactive .dependencia-legend-label{text-decoration:none}.dependencia-legend-swatch{width:12px;height:12px;border-radius:3px;border:1px solid rgba(33,68,63,.18);flex:0 0 auto}.dependencia-legend-swatch-previo{background:#c7c7c7}.dependencia-legend-swatch-atual{background:#5b917a}#dadosSection .patients-top-charts .grafico-box #graficoPerfilDemografico{display:block;width:100%!important;flex:0 0 auto;height:312px!important;min-height:312px;max-height:312px;margin-top:0}@media (max-width:1199px){#dadosSection #deltaFuncionalList.delta-list{max-height:min(44vh,480px)}}@media (max-width:720px){#dadosSection .dados-bloco-prescricao .prescription-charts-row{grid-template-columns:1fr}}.spinner{display:flex;justify-content:center;align-items:center;min-height:200px}.spinner::after{content:"";width:34px;height:34px;border:4px solid rgba(47,127,114,.18);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.delta-section-title{margin:0 0 12px;font-size:15px;line-height:1.35;font-weight:800;font-family:var(--font-heading);color:var(--text);min-height:40px;text-align:center}.delta-funcional-container{display:flex;flex-direction:column;gap:14px;margin-bottom:20px;margin-top:2px;max-width:100%;min-width:0}.delta-funcional-filter-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:16px;border-radius:12px;border:1px solid rgba(47,127,114,.22);background:linear-gradient(180deg,rgba(236,252,245,.95) 0,rgba(240,253,250,.88) 100%);box-sizing:border-box;max-width:100%}.delta-filter-label{display:block;width:100%;font-size:12px;font-weight:600;color:rgba(33,68,63,.58);line-height:1.2;margin:0}.delta-chips{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px;width:100%;min-width:0}.delta-chip{flex:0 0 auto;width:auto;display:inline-flex;align-items:center;justify-content:center;background:#fff;border:1px solid rgba(47,127,114,.28);border-radius:999px;padding:5px 10px;font-size:11px;font-weight:600;color:#21423f;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease;-webkit-tap-highlight-color:transparent}.delta-chip:hover{background:rgba(255,255,255,.95);border-color:rgba(47,127,114,.45)}.delta-chip.active{background:#2f7f72;border-color:#2f7f72;color:#fff}.delta-list{display:flex;flex-direction:column;gap:12px;min-width:0;width:100%}.delta-row{display:flex;flex-direction:row;align-items:center;gap:12px;min-width:0;width:100%}.delta-row-name{flex:0 1 28%;min-width:0;max-width:200px;font-size:13px;font-weight:600;color:var(--text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.delta-row-progress-container{flex:1 1 auto;min-width:0;height:8px;background:rgba(180,192,186,.45);border-radius:999px;overflow:hidden;position:relative}.delta-row-progress-bar{height:100%;min-width:0;background:#2f7f72;border-radius:999px;transition:width .35s ease}.delta-row-progress-bar.negative{background:var(--overview-warn,#ea580c)}#dadosSection .delta-row-progress-bar:not(.negative){background:var(--overview-accent,#0d9488)}.delta-row-percentage{flex:0 0 auto;min-width:3.5rem;font-size:13px;font-weight:700;color:var(--text);text-align:right;font-variant-numeric:tabular-nums}.delta-empty-state{text-align:center;padding:20px 16px;color:var(--text-soft);font-size:13px;background:rgba(255,255,255,.6);border-radius:10px;border:1px dashed rgba(47,127,114,.25)}.delta-evolution-subtitle{margin:-4px 0 14px;font-size:13px;line-height:1.45;font-weight:500;color:rgba(33,68,63,.72);max-width:52rem}.delta-evolution-empty-message{margin:-6px 0 14px;padding:10px 14px;max-width:52rem;font-size:13px;line-height:1.5;font-weight:500;color:rgba(51,65,85,.95);background:rgba(248,250,252,.98);border:1px solid rgba(148,163,184,.35);border-radius:10px;box-sizing:border-box}.delta-evolution-empty-message[hidden]{display:none!important}.delta-funcional-evolution{gap:16px}.delta-evolution-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;padding:12px 16px;border-radius:12px;border:1px solid rgba(47,127,114,.22);background:linear-gradient(180deg,rgba(236,252,245,.95) 0,rgba(240,253,250,.88) 100%);box-sizing:border-box;max-width:100%}.delta-evolution-mode-label{font-size:12px;font-weight:600;color:rgba(33,68,63,.58);margin:0}.delta-evolution-mode-select{min-width:11rem;padding:8px 12px;font-size:13px;font-weight:600;color:#21423f;border:1px solid rgba(47,127,114,.35);border-radius:10px;background:#fff;cursor:pointer}.delta-evolution-chart-wrap{position:relative;width:100%;min-height:300px;max-height:420px;padding:8px 4px 4px;box-sizing:border-box}.delta-evolution-chart-wrap canvas{width:100%!important;height:100%!important}#dadosSection .delta-evolution-chart-wrap.grafico-box{flex:1 1 auto;max-width:none;width:100%;min-width:0;align-self:stretch}#dadosSection .delta-evolution-chart-wrap.grafico-box canvas{margin-top:0;flex:1 1 auto;min-height:0;max-height:none}.delta-evolution-toolbar--stack{flex-direction:column;align-items:stretch;gap:12px}.delta-evolution-toolbar-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px}.delta-evolution-category-delegate{width:100%}.delta-evolution-category-pills-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;min-height:0}.delta-evolution-pill{display:inline-flex;align-items:center;justify-content:center;padding:7px 14px;border-radius:999px;font-size:12px;font-weight:600;line-height:1.25;cursor:pointer;transition:background .14s ease,color .14s ease,border-color .14s ease,box-shadow .14s ease;border-width:1px;border-style:solid;font-family:Aptos,"Segoe UI","Helvetica Neue",sans-serif}.delta-evolution-pill--muted{background:#fff;color:rgba(33,66,63,.95);border-color:rgba(47,127,114,.28);box-shadow:0 1px 2px rgba(15,23,42,.04)}.delta-evolution-pill--muted:hover{border-color:rgba(47,127,114,.45);background:rgba(255,255,255,.98)}.delta-evolution-pill--active{background:#145d52;color:#fff;border-color:rgba(12,75,65,.95);box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 1px 4px rgba(15,23,42,.12)}.delta-evolution-split{display:grid;grid-template-columns:minmax(0,65%) minmax(220px,35%);gap:0 14px;align-items:stretch;padding-top:4px;box-sizing:border-box}.delta-evolution-chart-panel{display:flex;flex-direction:column;min-height:0;border-right:1px solid rgba(47,127,114,.15);min-width:0;padding-right:10px;box-sizing:border-box}#dadosSection .delta-evolution-chart-panel .delta-evolution-chart-wrap.grafico-box{flex:1 1 auto;min-height:0}.delta-evolution-legend-panel{min-width:0;padding-left:4px;display:flex;flex-direction:column;gap:12px;box-sizing:border-box}.delta-evolution-legend-patient-summary{margin:0;padding:0;font-size:13px;font-weight:700;line-height:1.35;color:rgba(21,64,57,.92);letter-spacing:.01em}.delta-evolution-legend-patient-summary[hidden]{display:none}.delta-evolution-legend-list{list-style:none;margin:0;padding:4px 0 0;display:flex;flex-direction:column;gap:0;max-height:420px;overflow-y:auto}.delta-evolution-legend-item{padding:10px 0;border-bottom:1px solid rgba(15,23,42,.06)}.delta-evolution-legend-item:last-of-type{border-bottom:none}.delta-evolution-legend-row{display:flex;flex-direction:row;align-items:flex-start;gap:10px}.delta-evolution-legend-dot{width:10px;height:10px;margin-top:5px;border-radius:50%;flex-shrink:0}.delta-evolution-legend-mid{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.delta-evolution-legend-name{font-size:12px;font-weight:600;line-height:1.38;color:rgba(15,23,42,.9)}.delta-evolution-legend-pct{align-self:flex-end;font-size:14px;font-weight:800;font-variant-numeric:tabular-nums;letter-spacing:.01em}.delta-evolution-legend-pct--pos{color:#059669}.delta-evolution-legend-pct--neg{color:#dc2626}.delta-evolution-legend-pct--zero{color:#64748b}@media (max-width:900px){.delta-evolution-split{grid-template-columns:1fr;gap:16px}.delta-evolution-chart-panel{border-right:none;padding-right:0;border-bottom:1px solid rgba(47,127,114,.15);padding-bottom:14px}.delta-evolution-legend-panel{padding-left:0}.delta-evolution-legend-list{max-height:none}}@media (max-width:640px){.delta-funcional-filter-card{padding:12px}.delta-row{gap:8px}.delta-row-name{flex:0 1 32%;max-width:none;font-size:12px}.delta-row-percentage{min-width:3.1rem;font-size:12px}.delta-row-progress-container{height:7px}}@media (max-width:1200px){#cardsContainer{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}#dashboardSection #cardsContainer{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.grafico-box{flex-basis:calc(50% - 8px);max-width:calc(50% - 8px)}#dadosSection .patients-top-charts .grafico-box,#dadosSection .prescription-charts-row .grafico-box{flex-basis:auto;max-width:none}#dadosSection #graficosDependenciaContainer .grafico-box--wide{flex-basis:100%;max-width:100%}}@media (max-width:1100px){.prescription-charts-row{grid-template-columns:1fr}.prescription-treatment-heading{margin-top:2px}.grafico-box{max-width:100%;min-width:0}}@media (max-width:900px){.sidebar{display:none}main{min-height:auto;margin:0;padding:16px 14px 26px}.mobile-panel-nav{display:flex}.overview-main-title{margin:6px 0 8px;font-size:clamp(22px,4.6vw,26px)}.section-subtitle{margin-top:28px;margin-bottom:12px}.section-subtitle.section-subtitle--main{font-size:clamp(22px,4.6vw,26px)}#dadosSection .section-subtitle{margin-top:14px;margin-bottom:6px}#dadosSection .section-subtitle--main{margin-top:12px}#cardsContainer{grid-template-columns:repeat(2,minmax(0,1fr))}#overviewKpiContainer{flex-wrap:wrap}#overviewKpiContainer>.overview-kpi-card{flex:1 1 calc((100% - var(--space-card-gap))/ 2);max-width:calc((100% - var(--space-card-gap))/ 2)}.filtros-wrapper,.graficos-row{flex-wrap:wrap}.grafico-box{max-width:100%}.daily-evaluations-box{padding:18px 16px 14px}.daily-evaluations-box canvas{height:260px!important;max-height:260px}#dadosSection .patients-top-charts .grafico-box #graficoPerfilDemografico{height:288px!important;min-height:288px;max-height:288px}.prescription-charts-row .grafico-box{flex-basis:100%;max-width:100%}.selector-container{flex-wrap:wrap;align-items:flex-start}.selector-inline-period{width:100%}}@media (max-width:480px){.prescription-metrics-bar__inner{grid-template-columns:1fr;grid-template-rows:auto auto auto;min-height:auto;max-height:none;padding:12px 16px;row-gap:10px}.prescription-metrics-bar__sep{width:100%;height:1px;min-height:1px}}@media (max-width:560px){.patients-top-charts{grid-template-columns:1fr}.center-wrap{margin:0;padding:26px 20px 22px}.login-stage{width:auto;margin:76px 14px 24px}.overview-main-title{margin:6px 0 8px;font-size:clamp(21px,6.6vw,24px)}.section-subtitle{margin-top:24px;margin-bottom:10px;font-size:clamp(18px,5.3vw,22px)}.section-subtitle.section-subtitle--main{font-size:clamp(21px,6.6vw,24px)}.section-subtitle--minor{margin-top:4px;margin-bottom:14px;font-size:15px}#dadosSection .section-subtitle{margin-top:12px;margin-bottom:5px}#dadosSection .section-subtitle--main{margin-top:10px}#dadosSection .section-subtitle--minor{margin-top:2px;margin-bottom:7px}#dashboardSection .info-card--horizontal .info-card-title{font-size:13px}#dashboardSection .info-card-subtitle{font-size:10px}#dashboardSection .info-card--horizontal .info-card-value{font-size:clamp(20px,5.8vw,24px)}#dashboardSection .overview-kpi-title{font-size:12.5px}#dashboardSection .overview-kpi-subtitle{font-size:10px}#dashboardSection .overview-kpi-value{font-size:clamp(22px,7vw,28px)}#dashboardSection .overview-kpi-card:nth-child(3) .overview-kpi-value{font-size:clamp(17px,5.5vw,22px)}.prescription-metric__label{font-size:11px}.prescription-metric__value{font-size:clamp(1.1rem,5vw,1.35rem)}#cardsContainer{grid-template-columns:1fr}#overviewKpiContainer>.overview-kpi-card{flex:1 1 100%;max-width:100%}.functional-phases-summary{padding:13px 14px}#dadosSection .grafico-box,.grafico-box{flex-basis:100%;min-width:0}.grafico-box{padding:16px 14px 12px}.daily-evaluations-box{padding:16px 14px 12px}.daily-evaluations-box h3{margin-bottom:10px;font-size:13px}.daily-evaluations-box canvas{height:220px!important;max-height:220px}#dadosSection .patients-top-charts .grafico-box #graficoPerfilDemografico{height:272px!important;min-height:272px;max-height:272px}#periodSelector,#professionalSelector,.filtro-container select{min-width:0;width:100%}.filtro-container{width:100%;flex-direction:column;align-items:flex-start}.mobile-panel-nav{flex-direction:column}.mobile-panel-nav-actions{width:100%;flex-direction:column}.mobile-logout-button,.mobile-panel-nav .panel-nav-button{width:100%}}