/* INICIO_VISUAL_REFINADO_V4 */
#homeView{--ref-panel:#111725;--ref-slot:#0e1421;--ref-hover:#1a2333;--ref-line:#293244;--ref-menu:#1c2535;--ref-ink:#edf1f8;--ref-sub:#a0acc0;--ref-link:#a7b7ff;--home-surface:var(--ref-panel);--home-surface-raised:var(--ref-panel);--home-hairline:var(--ref-line)}
#homeView .home-panel{background:var(--ref-panel);border-color:var(--ref-line);box-shadow:none}
#homeView .home-panel-head,#homeView .home-session-summary,#homeView .home-summary-strip{background:transparent;box-shadow:none;border-color:var(--ref-line)}
#homeView .home-integrated-stats{grid-template-columns:repeat(4,minmax(0,1fr));width:100%}
#homeView .home-integrated-stats .home-stat,#homeView .home-integrated-stats .home-stat:first-child{padding:8px 12px!important;overflow:hidden;background:transparent;border-color:var(--ref-line);border-radius:6px;gap:6px;transition:background .15s ease}
#homeView .home-integrated-stats .home-stat:before,#homeView .home-integrated-stats .home-stat:after{display:none!important}
#homeView .home-integrated-stats .home-stat:hover{background:var(--ref-hover)}
#homeView .home-integrated-stats .home-stat-top{min-height:30px;align-items:flex-start}
#homeView .home-integrated-stats .home-stat-label{color:var(--ref-sub);font-size:12px;font-weight:600}
#homeView .home-integrated-stats .home-stat-value{color:var(--ref-ink);font-size:23px;font-weight:700}
#homeView .home-session-slot,#homeView .home-upcoming-item{background:var(--ref-slot);box-shadow:none;border:1px solid var(--ref-line);transition:background .15s ease,border-color .15s ease}
#homeView .home-session-slot:hover,#homeView .home-upcoming-item:hover{background:var(--ref-hover);transform:none;border-color:#53617e}
#homeView .home-session-slot.is-online,#homeView .home-upcoming-item.is-online{border-color:#57547d;box-shadow:none}
#homeView .home-status:before,#homeView .home-session-summary-title:before,#homeView .home-list-dot{box-shadow:none}
#homeView .home-link{color:var(--ref-link)}
#homeView #homeFollowup .fu-filter-popover,#homeView #homeFollowup .fu-options-menu{background:var(--ref-menu);border-color:#3a465c;color:var(--ref-ink);box-shadow:0 12px 28px rgba(0,0,0,.3)}
#homeView #homeFollowup .fu-tool svg circle{fill:var(--ref-panel)}
#homeView #homeFollowup .fu-filter-popover input,#homeView #homeFollowup .fu-filter-popover select{background:var(--ref-panel);color:var(--ref-ink);border-color:#45516a}
#homeView .home-review-dialog{width:min(780px,calc(100% - 28px));max-height:86dvh;padding:0;color:var(--ref-ink);background:var(--ref-panel);border:1px solid var(--ref-line);border-radius:14px;box-shadow:0 18px 60px rgba(0,0,0,.4);font:inherit}
#homeView .home-review-dialog::backdrop{background:rgba(0,0,0,.56)}
#homeView .home-review-dialog[open]{display:flex;flex-direction:column}
#homeView .home-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:18px 20px;border-bottom:1px solid var(--ref-line);flex:0 0 auto}
#homeView .home-review-head h2{font-size:17px;margin:0 0 6px;line-height:1.4}
#homeView .home-review-head p{font-size:12px;color:var(--ref-sub);max-width:600px;margin:0;line-height:1.6}
#homeView .home-review-head button{flex:0 0 34px;display:grid;place-items:center;width:34px;min-height:34px;border:0;border-radius:6px;background:transparent;color:var(--ref-sub);font-size:23px}
#homeView .home-review-body{min-height:0;overflow:auto;padding:0 20px 20px;overscroll-behavior:contain}
#homeView .home-review-group{padding:16px 0 0}
#homeView .home-review-group h3{display:flex;gap:8px;flex-wrap:wrap;align-items:center;font-size:14px;margin:0 0 8px}
#homeView .home-review-group h3 span{font-size:11px;color:var(--ref-sub);font-weight:400}
#homeView .home-review-record{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:12px;border:1px solid var(--ref-line);border-radius:8px;background:var(--ref-slot);margin-top:7px}
#homeView .home-review-record strong{font-size:13px;overflow-wrap:anywhere}
#homeView .home-review-record p{font-size:12px;color:var(--ref-sub);margin:4px 0 0;line-height:1.5;overflow-wrap:anywhere}
#homeView .home-review-record small{display:block;margin-top:4px;font-size:11px;color:var(--ref-sub)}
#homeView .home-review-record button{border:1px solid #45516a;border-radius:7px;background:transparent;color:var(--ref-ink);padding:7px 10px;font:inherit;font-size:12px;min-height:34px;white-space:nowrap}
#homeView .home-review-record button:disabled{opacity:.5;cursor:default}
#homeFollowup .fu-copy{display:inline-flex;align-items:center;gap:7px;min-height:26px;padding:2px 4px 2px 0;border:0;border-radius:4px;background:transparent;color:var(--ref-sub,#a0acc0);font:inherit;font-size:12px;text-align:left}
#homeFollowup .fu-copy:hover{color:var(--ref-ink,#edf1f8)}
#homeFollowup .fu-copy svg{flex:0 0 14px}
body.light-theme #homeView{--ref-panel:#fff;--ref-slot:#f6f8fb;--ref-hover:#edf1f7;--ref-line:#dce2ec;--ref-menu:#fff;--ref-ink:#1c293e;--ref-sub:#59687f;--ref-link:#415db9}
body.light-theme #homeView #homeFollowup .fu-filter-popover,body.light-theme #homeView #homeFollowup .fu-options-menu{border-color:#cbd4e3;box-shadow:0 12px 28px rgba(24,34,56,.14)}
body.light-theme #homeView #homeFollowup .fu-filter-popover input,body.light-theme #homeView #homeFollowup .fu-filter-popover select{border-color:#cbd4e3}
@media(max-width:620px){#homeView .home-integrated-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:4px}#homeView .home-integrated-stats .home-stat:nth-child(2){border-right:0}#homeView .home-integrated-stats .home-stat-top{min-height:18px}#homeView .home-integrated-stats .home-stat-label{font-size:11px}#homeView .home-review-head{padding:14px}#homeView .home-review-body{padding:0 14px 14px}#homeView .home-review-record{grid-template-columns:1fr}#homeView .home-review-record button{justify-self:start;min-height:44px}}
@media(pointer:coarse),(max-width:480px){#homeFollowup .fu-copy{min-height:44px}}

/* FOLLOWUP_INTERACOES_PADRAO_V5 */
#homeFollowup .fu-notice[hidden]{display:none!important}
#homeFollowup .fu-name{display:inline;padding:0;border:0;border-radius:3px;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:600;line-height:1.5;text-align:left;overflow-wrap:anywhere}
#homeFollowup .fu-name:hover{color:var(--ref-link);text-decoration:underline;text-underline-offset:3px}
#homeFollowup .fu-copy{width:fit-content;max-width:100%;min-width:0;background:transparent;border:0;box-shadow:none;padding:2px 0;font-size:12px;line-height:1.5;cursor:copy}
#homeFollowup .fu-copy:hover{color:var(--ref-link);text-decoration:underline;text-underline-offset:3px}
#homeView #homeFollowup .fu-filter-popover{width:min(286px,calc(100% - 24px));right:12px;top:54px;padding:8px;border-radius:10px;background:var(--ref-menu);box-shadow:0 10px 28px #0003;border:1px solid var(--ref-line)}
#homeFollowup .fu-popover-head{padding:2px 4px 6px;font-size:12px;color:var(--ref-sub)}
#homeFollowup .fu-search-field{display:flex!important;align-items:center;gap:8px;grid-template-columns:none;margin:0 2px 10px;padding:0 9px;border:1px solid var(--ref-line);border-radius:6px;background:var(--ref-slot);color:var(--ref-sub)}
#homeView #homeFollowup .fu-search-field input{width:100%;height:34px;min-height:34px;padding:0;border:0;box-shadow:none;background:transparent;font-size:12px;color:var(--ref-ink)}
#homeFollowup .fu-search-field svg{flex:0 0 16px}
#homeFollowup .fu-search-field:focus-within{outline:2px solid var(--ref-link);outline-offset:1px}
#homeFollowup .fu-search-field input:focus-visible{outline:none}
#homeFollowup .fu-period-label{padding:4px 8px 6px;font-size:11px;color:var(--ref-sub)}
#homeFollowup .fu-periods{display:grid;gap:2px}
#homeFollowup .fu-periods button{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:34px;padding:7px 9px;border:0;border-radius:6px;background:transparent;color:var(--ref-ink);font:inherit;font-size:12px;text-align:left}
#homeFollowup .fu-periods button:hover,#homeFollowup .fu-periods button[aria-pressed=true]{background:var(--ref-hover)}
#homeFollowup .fu-time-check{color:var(--ref-link);font-size:13px;min-width:14px}
#homeFollowup .fu-filter-actions{margin-top:8px;padding:6px 0 0;border-color:var(--ref-line)}
#homeFollowup .fu-filter-actions button,#homeFollowup .fu-filter-actions button:last-child{min-height:30px;padding:5px 8px;background:transparent;color:var(--ref-sub);font-size:11px}
#homeFollowup .fu-filter-actions button:hover{background:var(--ref-hover);color:var(--ref-ink)}
@media(pointer:coarse),(max-width:480px){#homeFollowup .fu-copy,#homeFollowup .fu-name,#homeFollowup .fu-periods button{min-height:44px}}
/* INICIO_ACABAMENTO_V6 */
#homeView .home-card-action{--metric-accent:114,166,247}
#homeView .home-card-success{--metric-accent:109,205,142}
#homeView .home-card-warning{--metric-accent:231,187,83}
#homeView .home-card-flow{--metric-accent:166,145,246}
#homeView .home-integrated-stats .home-stat,#homeView .home-integrated-stats .home-stat:first-child{position:relative;border-radius:10px;background:transparent;box-shadow:none;transition:background .18s ease,box-shadow .18s ease}
#homeView .home-integrated-stats .home-stat:hover{background:radial-gradient(ellipse at 15% 0%,rgba(var(--metric-accent),.11),rgba(var(--metric-accent),.025) 70%);box-shadow:inset 0 0 0 1px rgba(var(--metric-accent),.2)}
#homeView .home-integrated-stats .home-stat:hover .home-stat-label{color:var(--ref-ink)}
#homeView .home-integrated-stats .home-stat:focus-visible{outline:2px solid rgb(var(--metric-accent));outline-offset:2px}
#homeView #homeFollowup .fu-tabs{display:flex;flex-wrap:nowrap;gap:4px;margin:0 16px 10px;padding:4px;border:1px solid var(--ref-line);border-radius:10px;background:var(--ref-slot);min-width:0}
#homeView #homeFollowup .fu-tabs button{display:flex;justify-content:center;align-items:center;gap:5px;flex:1 1 auto;min-width:0;min-height:34px;padding:7px 8px;border:0;border-radius:7px;background:transparent;color:var(--ref-sub);font:inherit;font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap;box-shadow:none;transition:background .15s ease,color .15s ease;cursor:pointer}
#homeView #homeFollowup .fu-tabs button:hover{background:rgba(145,162,200,.08);color:var(--ref-ink)}
#homeView #homeFollowup .fu-tabs button[aria-pressed=true]{background:rgba(132,148,242,.15);color:var(--ref-link);box-shadow:inset 0 0 0 1px rgba(148,163,255,.2)}
#homeView #homeFollowup .fu-tabs span{margin:0;padding:2px 4px;border-radius:4px;font-size:10px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.2;background:rgba(145,162,200,.1);color:inherit}
#homeView #homeFollowup .fu-tabs button:focus-visible{outline:2px solid var(--ref-link);outline-offset:1px}
@media(max-width:480px){#homeView #homeFollowup .fu-tabs{margin-left:12px;margin-right:12px;gap:2px;padding:3px}#homeView #homeFollowup .fu-tabs button{min-height:44px;padding:7px 5px;font-size:11px;gap:4px}}
@media(max-width:360px){#homeView #homeFollowup .fu-tabs button{flex-direction:column;gap:3px;padding:5px 3px}}
@media(prefers-reduced-motion:reduce){#homeView .home-integrated-stats .home-stat,#homeView #homeFollowup .fu-tabs button{transition:none}}
/* FOLLOWUP_ABAS_LEVES_V7 */
#homeView #homeFollowup .fu-tabs{display:flex;justify-content:flex-start;align-items:center;flex-wrap:nowrap;gap:5px;margin:0 16px 8px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;min-width:0}
#homeView #homeFollowup .fu-tabs button{display:inline-flex;flex:0 1 auto;flex-direction:row;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:32px;padding:7px 9px;border:0;border-radius:7px;background:transparent;box-shadow:none;color:var(--ref-sub);font:inherit;font-size:12px;font-weight:500;line-height:1.2;white-space:nowrap;transition:background .15s ease,color .15s ease}
#homeView #homeFollowup .fu-tabs button:hover{background:rgba(145,162,200,.06);color:var(--ref-ink)}
#homeView #homeFollowup .fu-tabs button[aria-pressed=true]{background:rgba(133,151,217,.12);color:var(--ref-ink);box-shadow:none;font-weight:600}
#homeView #homeFollowup .fu-tabs span{margin:0;padding:0;border:0;background:transparent;box-shadow:none;color:var(--ref-sub);font-size:10px;font-weight:500;line-height:1.2;font-variant-numeric:tabular-nums}
#homeView #homeFollowup .fu-tabs button[aria-pressed=true] span{color:var(--ref-link)}
#homeView #homeFollowup .fu-tabs button:focus-visible{outline:2px solid var(--ref-link);outline-offset:2px}
@media(max-width:480px){#homeView #homeFollowup .fu-tabs{margin-left:12px;margin-right:12px;padding:0;gap:3px}#homeView #homeFollowup .fu-tabs button{min-height:44px;padding:7px 7px;gap:4px;font-size:11px;flex-direction:row}}
@media(max-width:360px){#homeView #homeFollowup .fu-tabs{gap:2px}#homeView #homeFollowup .fu-tabs button{padding:7px 5px;gap:3px}}
@media(prefers-reduced-motion:reduce){#homeView #homeFollowup .fu-tabs button{transition:none}}
/* FOLLOWUP_REVISOES_VISUAL_V8 */
#homeView .home-review-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;color:var(--ref-sub);font-size:12px}
#homeView .home-review-toolbar button,#homeView .home-review-done{font:inherit;font-size:12px;border:1px solid var(--ref-line);border-radius:7px;background:transparent;color:var(--ref-link);padding:7px 10px;cursor:pointer;min-height:34px}
#homeView .home-review-toolbar button:hover,#homeView .home-review-done:hover{background:var(--ref-hover)}
#homeView .home-review-toolbar button:disabled,#homeView .home-review-done:disabled{opacity:.5;cursor:wait}
#homeView .home-review-group{position:relative}
#homeView .home-review-group h3{padding-right:160px;min-height:34px;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
#homeView .home-review-done{position:absolute;top:0;right:0}
#homeView .home-review-confirm{width:100%;padding:12px;border:1px solid var(--ref-line);border-radius:8px;background:var(--ref-slot)}
#homeView .home-review-confirm p{margin:0 0 10px;line-height:1.5}
#homeView .home-review-confirm>div{display:flex;justify-content:flex-end;gap:8px}
#homeView .home-review-error{color:#f3a69b;font-size:12px;line-height:1.5}
#homeView .home-review-toolbar button:focus-visible,#homeView .home-review-done:focus-visible{outline:2px solid var(--ref-link);outline-offset:2px}
@media(max-width:600px){#homeView .home-review-group h3{padding-right:0}#homeView .home-review-done{position:static;margin:0 0 10px;min-height:44px}#homeView .home-review-toolbar button{min-height:44px}#homeView .home-review-toolbar{align-items:flex-start;flex-wrap:wrap}}
/* FOLLOWUP_LUPA_VISUAL_V11 */
#homeView #homeFollowup .fu-search-toggle{position:relative;display:inline-flex;justify-content:center;align-items:center;min-width:30px;min-height:30px;padding:6px}
#homeView #homeFollowup .fu-search-toggle[aria-expanded=true]{background:rgba(133,151,217,.12);color:var(--ref-link);border-radius:7px}
#homeView #homeFollowup .fu-search-dot{position:absolute;top:4px;right:4px;width:5px;height:5px;border-radius:50%;background:var(--ref-link)}
#homeView #homeFollowup .fu-search-popover .fu-filter-actions{margin-top:10px}
@media(pointer:coarse),(max-width:480px){#homeView #homeFollowup .fu-search-toggle{min-width:44px;min-height:44px}}
@media(max-width:480px){#homeView #homeFollowup .fu-head{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:4px;row-gap:3px;align-items:center}#homeView #homeFollowup .fu-head>div:first-child{display:contents}#homeView #homeFollowup .fu-head h2{grid-column:1;grid-row:1}#homeView #homeFollowup .fu-head p{grid-column:1/-1;grid-row:2;max-width:none}#homeView #homeFollowup .fu-tools{grid-column:2;grid-row:1}}
/* FOLLOWUP_BUSCA_INLINE_VISUAL_V12 */
#homeView #homeFollowup .fu-inline-search{display:flex;align-items:center;flex:1;min-width:0;margin:0;border-bottom:1px solid var(--ref-link,#9daaf1);gap:4px}
#homeView #homeFollowup .fu-inline-search[hidden]{display:none}
#homeView #homeFollowup .fu-inline-search input{width:100%;min-width:0;height:34px;border:0;border-radius:0;background:transparent;color:inherit;padding:5px 4px;outline:none;box-shadow:none;font-size:13px}
#homeView #homeFollowup .fu-inline-search input:focus{outline:none;box-shadow:none}
#homeView #homeFollowup .fu-inline-search input::-webkit-search-cancel-button{display:none}
#homeView #homeFollowup .fu-inline-search button{flex:0 0 28px;width:28px;height:30px;padding:0;border:0;background:transparent;color:inherit;font-size:18px}
#homeView #homeFollowup .fu-inline-search button[hidden]{display:none}
#homeView #homeFollowup .fu-search-expanded>div:first-child{display:none}
#homeView #homeFollowup .fu-search-expanded .fu-tools{display:flex;width:100%;min-width:0;gap:8px}
#homeView #homeFollowup .fu-search-expanded .fu-tools>.fu-tool{flex-shrink:0}
#homeView #homeFollowup .fu-search-expanded{min-height:86px}
@media(max-width:480px){#homeView #homeFollowup .fu-search-expanded{display:flex;min-height:100px}#homeView #homeFollowup .fu-search-expanded h2,#homeView #homeFollowup .fu-search-expanded p{display:none}#homeView #homeFollowup .fu-inline-search input{font-size:16px;height:44px}#homeView #homeFollowup .fu-search-expanded .fu-tools{gap:4px}}
/* FOLLOWUP_BUSCA_ESTAVEL_VISUAL_V13 */
#homeView #homeFollowup{container-type:inline-size}
#homeView #homeFollowup .fu-head,#homeView #homeFollowup .fu-head.fu-search-expanded{display:grid;grid-template-columns:100px minmax(0,1fr);grid-template-rows:36px 22px;gap:3px 12px;align-items:center;box-sizing:border-box;height:94px;min-height:94px}
#homeView #homeFollowup .fu-head>div:first-child,#homeView #homeFollowup .fu-head.fu-search-expanded>div:first-child{display:contents}
#homeView #homeFollowup .fu-head h2,#homeView #homeFollowup .fu-head.fu-search-expanded h2{display:block;grid-column:1;grid-row:1;white-space:nowrap}
#homeView #homeFollowup .fu-head p,#homeView #homeFollowup .fu-head.fu-search-expanded p{display:block;grid-column:1/-1;grid-row:2;margin:0;max-width:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#homeView #homeFollowup .fu-head .fu-tools,#homeView #homeFollowup .fu-head.fu-search-expanded .fu-tools{display:flex;grid-column:2;grid-row:1;justify-content:flex-end;width:100%;min-width:0;gap:6px}
#homeView #homeFollowup .fu-head .fu-tools>.fu-tool{flex:0 0 32px;width:32px;height:34px;min-width:32px;min-height:34px;padding:4px}
#homeView #homeFollowup .fu-inline-search{flex:1;max-width:240px}
#homeView #homeFollowup .fu-inline-search input{font-size:14px}
@container(max-width:350px){#homeView #homeFollowup .fu-head,#homeView #homeFollowup .fu-head.fu-search-expanded{grid-template-columns:minmax(0,1fr);grid-template-rows:24px 44px;height:108px;min-height:108px;gap:8px}#homeView #homeFollowup .fu-head h2{grid-column:1;grid-row:1}#homeView #homeFollowup .fu-head p,#homeView #homeFollowup .fu-head.fu-search-expanded p{display:none}#homeView #homeFollowup .fu-head .fu-tools,#homeView #homeFollowup .fu-head.fu-search-expanded .fu-tools{grid-column:1;grid-row:2}#homeView #homeFollowup .fu-head .fu-tools>.fu-tool{flex-basis:44px;width:44px;height:44px;min-width:44px;min-height:44px}#homeView #homeFollowup .fu-inline-search{max-width:none}#homeView #homeFollowup .fu-inline-search input{font-size:16px;height:44px}}
/* INICIO_CONTORNO_INDICADORES_V7 */
#homeView .home-integrated-stats .home-stat,
#homeView .home-integrated-stats .home-stat:first-child{
 box-sizing:border-box;border:0!important;border-image:none!important;
}
#homeView .home-integrated-stats .home-stat:not(:last-child)::after{
 content:"";display:block!important;position:absolute;top:16%;bottom:16%;right:0;
 width:1px;height:auto;inset-inline-start:auto;background:var(--ref-line,var(--home-hairline));
 border:0;border-radius:0;box-shadow:none;pointer-events:none;opacity:1;
 transition:opacity .18s ease;
}
#homeView .home-integrated-stats .home-stat:hover::after,
#homeView .home-integrated-stats .home-stat:focus-visible::after{opacity:0}
@media(max-width:620px){
 #homeView .home-integrated-stats .home-stat:nth-child(2n)::after{display:none!important}
}
@media(prefers-reduced-motion:reduce){
 #homeView .home-integrated-stats .home-stat::after{transition:none}
}
#homeView #homeUcaNotice.uca-alert-integrado-v2:not(.is-error){
 background:rgba(223,109,114,.045);box-shadow:inset 3px 0 0 #df6d72;
}
#homeView #homeUcaNotice.uca-alert-integrado-v2:not(.is-error) .home-panel-title{
 display:flex;align-items:center;gap:8px;
}
#homeView #homeUcaNotice.uca-alert-integrado-v2:not(.is-error) .home-panel-title::before{
 content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#df6d72;
}
#homeView #homeUcaNotice.uca-alert-integrado-v2:not(.is-error) .home-uca-count{
 color:#ef9b9f;background:rgba(223,109,114,.11);border-radius:5px;padding:3px 7px;
 font-weight:600;line-height:1.3;
}
body.light-theme #homeView #homeUcaNotice.uca-alert-integrado-v2:not(.is-error){background:rgba(177,52,63,.045)}
body.light-theme #homeView #homeUcaNotice.uca-alert-integrado-v2:not(.is-error) .home-uca-count{color:#ac3540;background:rgba(177,52,63,.08)}
