/* Turbo Core 1.39.4 — Refino Visual Premium | baseline 1.39.3.
 * Extensao CSS auditavel, sem remover interfaces, rotas, RBAC, API, ou alterar dados.
 * Acessibilidade: cores opacas; 14–16px de texto util, foco visivel, sem blur e sem translucidez. */
:root {
 --core-1394-ink: #152741;
 --core-1394-ink-deep: #10233c;
 --core-1394-body: #394e68;
 --core-1394-muted: #506580;
 --core-1394-line: #dbe4ee;
 --core-1394-accent: #1559bb;
 --core-1394-bg: #f0f4f9;
 --core-1394-card: #ffffff;
 --core-1394-radius: 15px;
 --core-1394-shadow: 0 7px 22px rgba(20,42,74,.072),0 1px 3px rgba(22,43,74,.045);
}
/* 1. Tela: fundo off-white com gradiente opaco sutil, evitando branco chapado e tema lavado. */
body.app-body {color:var(--core-1394-ink); background:#edf2f8;}
.app-body .app-frame {background:linear-gradient(145deg,#edf2f8 0%,#f6f8fc 32%,#eef3f9 100%);}
.app-body .app-main {background:transparent!important; max-width:none; min-width:0;}
.app-body .app-frame>footer {color:#526780;background:#f7f9fc;border-top:1px solid #dbe4ee;}
/* 2. Barra lateral clara: sombra discreta, tons sólidos, hierarquia robusta. */
.app-body .core-sidebar-v3 {background:linear-gradient(180deg,#fff 0%,#f7f9fd 63%,#f1f5fa 100%)!important; border-right:1px solid #cbd7e5;box-shadow:4px 0 17px rgba(20,43,76,.07);}
.app-body .core-sidebar-v3 .sidebar-brand {background:linear-gradient(120deg,#fff 0%,#f3f7fc 100%);border-bottom:1px solid #d9e2ed;}
.app-body .core-sidebar-v3 .sidebar-nav {padding:18px 12px 20px;scrollbar-color:#aebed0 transparent;}
.app-body .core-sidebar-v3 .core-nav-group {margin-bottom:9px;background:transparent;border:1px solid transparent;border-radius:12px;}
.app-body .core-sidebar-v3 .core-nav-group[open] {background:#fff;border-color:#dce5ef;box-shadow:0 2px 8px rgba(24,45,76,.035);}
.app-body .core-sidebar-v3 .core-nav-heading {min-height:56px;padding:9px 10px;gap:12px;}
.app-body .core-sidebar-v3 .core-nav-heading .sidebar-label {color:#152942!important;font-size:14.5px;font-weight:740;letter-spacing:-.12px;line-height:1.35;opacity:1!important;}
.app-body .core-sidebar-v3 .core-group-icon {width:39px;height:39px;flex:0 0 39px;border-radius:11px;border:1px solid rgba(35,66,98,.09);box-shadow:inset 0 1px rgba(255,255,255,.75);}
.app-body .core-sidebar-v3 .core-group-icon svg {width:21px;height:21px;}
.app-body .core-sidebar-v3 .core-nav-heading:hover {background:var(--core-tint-hover)!important;}
.app-body .core-sidebar-v3 .core-nav-heading:focus-visible {outline:3px solid var(--core-tint);outline-offset:-2px;}
.app-body .core-sidebar-v3 .core-nav-links {padding:2px 7px 12px 50px;gap:2px;}
.app-body .core-sidebar-v3 .core-nav-links:before {background:#cbd8e7;}
.app-body .core-sidebar-v3 .sidebar-link {min-height:42px;font-size:14px;font-weight:590;color:#354b65!important;line-height:1.4;padding:9px 11px;opacity:1!important;}
.app-body .core-sidebar-v3 .sidebar-link .sidebar-text {color:inherit!important;opacity:1!important;}
.app-body .core-sidebar-v3 .sidebar-link:hover {background:var(--core-tint-hover)!important;color:#102e4e!important;}
.app-body .core-sidebar-v3 .sidebar-link.active {background:var(--core-tint-light)!important;color:var(--core-tint)!important;box-shadow:inset 3px 0 0 var(--core-tint)!important;font-weight:780;}
.app-body .core-sidebar-v3 .sidebar-link .sidebar-icon svg {width:18px;height:18px;}
.app-body .core-sidebar-v3 .core-sidebar-bottom {background:#f7f9fd;border-top:1px solid #d9e2ed;}
.app-body .core-sidebar-v3 .sidebar-account {background:#fff;border:1px solid #d9e2ed;box-shadow:0 2px 8px rgba(15,35,67,.045);}
.app-body .core-sidebar-v3 .sidebar-account strong {color:#182c47;font-size:14px;}
.app-body .core-sidebar-v3 .sidebar-account small {color:#536780;font-size:12px;}
.app-body .core-sidebar-v3 .sidebar-collapse {color:#2c4869;background:#fff;border-color:#cad7e6;box-shadow:0 2px 5px #223e6310;}
/* 3. Cabecalho e campo de busca: sem remanescente escuro nem translucido. */
.app-body .app-header {height:76px;background:linear-gradient(90deg,#fff 0%,#f7f9fd 100%)!important;border-bottom:1px solid #d7e1ed;box-shadow:0 3px 12px rgba(18,46,86,.045);backdrop-filter:none;-webkit-backdrop-filter:none;}
.app-body .app-header .global-search {background:#fff!important;border:1px solid #cddae9!important;border-radius:11px;box-shadow:0 2px 6px rgba(29,54,90,.048);height:44px;color:#223a56;}
.app-body .app-header .global-search:focus-within {border-color:#447bd2!important;box-shadow:0 0 0 3px #dceafa;}
.app-body .app-header .global-search input {background:transparent!important;color:#203752!important;font-size:14px;font-weight:500;opacity:1!important;}
.app-body .app-header .global-search input::placeholder {color:#62758e!important;opacity:1!important;}
.app-body .app-header .global-search kbd {background:#edf2f9;color:#415773;border:1px solid #d3dfed;}
.app-body .app-header .search-icon {color:#42658e;}
.app-body .app-header .user-meta strong {color:#192d47!important;font-weight:730;font-size:13.5px;}
.app-body .app-header .user-meta small {color:#546982!important;opacity:1;}
/* 4. Contexto e navegacao secundaria legiveis em qualquer pagina. */
.app-body .core-page-context {background:#fff;border-color:#dce5ef;box-shadow:0 2px 7px rgba(22,43,74,.045);padding:11px 15px;border-radius:12px;}
.app-body .core-page-context .core-breadcrumbs {color:#536982;font-size:12.5px;}
.app-body .core-page-context .core-breadcrumbs a {color:#1557ae;font-weight:650;}
.app-body .core-page-context .core-breadcrumbs strong {color:#172942;font-weight:800;}
.app-body .core-page-context .core-context-actions a {color:#1453a9;font-weight:720;}
.app-body .core-page-context summary {color:#244e84;font-weight:700;}
/* 5. Painel executivo: labels em tamanhos utilizaveis, contraste e superficies solidas. */
.app-body .core-dashboard-shell,.app-body .turbo-dash-v2 {color:var(--core-1394-ink-deep);}
.app-body .turbo-dash-v2 {gap:19px;}
.app-body .core-dash-eyebrow {color:#365e9b;opacity:1;font-size:11.5px;letter-spacing:1.25px;font-weight:850;margin-bottom:8px;}
.app-body .core-dash-head {margin:0 0 2px;}
.app-body .core-dash-head h1 {color:#14263f!important;font-size:clamp(28px,2.4vw,38px);line-height:1.18;letter-spacing:-1px;font-weight:830;}
.app-body .core-dash-head p {color:#425974!important;font-size:14.5px;line-height:1.5;opacity:1;}
.app-body .core-dash-period {background:#fff;border:1px solid #cfdae8;color:#324761;font-size:12.5px;font-weight:670;box-shadow:0 2px 5px rgba(26,53,83,.035);}
.app-body .core-dash-live {color:#08764c;font-weight:750;}
.app-body .core-dash-kpis {gap:15px;}
.app-body .core-dash-kpi {background:#fff!important;opacity:1;border:1px solid #d9e3ef;border-top:3px solid var(--core-kpi,#1c65c7);border-radius:var(--core-1394-radius);box-shadow:var(--core-1394-shadow);min-height:162px;padding:18px 19px 17px;gap:6px;}
.app-body .core-dash-kpi:hover {border-color:#c1d4ec;border-top-color:var(--core-kpi,#1c65c7);box-shadow:0 11px 27px rgba(24,50,87,.115);}
.app-body .core-kpi-icon {width:42px;height:42px;border-radius:11px;background:var(--core-kpi-soft)!important;color:var(--core-kpi)!important;opacity:1;}
.app-body .core-kpi-icon svg {width:23px;height:23px;}
.app-body .core-kpi-label {font-size:13.5px;line-height:1.4;font-weight:700;color:#314862!important;opacity:1;}
.app-body .core-dash-kpi strong {color:#14243b!important;font-size:clamp(24px,2.05vw,32px);letter-spacing:-.85px;font-weight:850;opacity:1;}
.app-body .core-dash-kpi small {font-size:12px;line-height:1.4;color:#526780!important;opacity:1;}
.app-body .core-dash-main-grid,.app-body .core-dash-bottom-grid {gap:15px;}
.app-body .core-dash-panel {background:#fff!important;border:1px solid #dce5ef;border-radius:var(--core-1394-radius);box-shadow:var(--core-1394-shadow);padding:21px 22px;opacity:1;}
.app-body .core-dash-panel-head h2 {color:#162841!important;font-size:17px;line-height:1.35;font-weight:810;letter-spacing:-.25px;}
.app-body .core-dash-panel-head p {color:#4d637c!important;font-size:12.5px;line-height:1.5;opacity:1;}
.app-body .core-dash-text-link,.app-body .core-dash-operational-action {color:#1559b9!important;font-size:12.5px;font-weight:760;}
.app-body .core-period-pill {color:#405876;font-size:12px;background:#edf3fa;border-color:#d5e0ec;}
.app-body .core-chart-legend {color:#415872;font-size:12px;}
.app-body .core-dash-bar-chart {background:repeating-linear-gradient(to top,#e5ebf2 0,#e5ebf2 1px,transparent 1px,transparent 43px);border-bottom:1px solid #cdd9e6;}
.app-body .core-month-column {color:#4b617a;font-size:12px;font-weight:630;}
.app-body .core-month-paid {background:linear-gradient(180deg,#4d94ee,#1b5bbf);}
.app-body .core-month-clients {background:linear-gradient(180deg,#38ca93,#10855a);}
.app-body .core-dash-funnel-row .core-stage-label,.app-body .core-stage-label small {font-size:12px;color:#425875;}
.app-body .core-stage-bar {background:#e8eef6;}
.app-body .core-stage-bar>span {opacity:1;}
.app-body .core-stage-bar strong {color:#132940;text-shadow:0 1px 0 #fff;font-size:13px;}
.app-body .core-chart-caption {font-size:11.5px!important;color:#51667d!important;line-height:1.5!important;opacity:1!important;}
.app-body .core-dash-empty {color:#536981;padding:29px 14px;}
.app-body .core-dash-empty>span {color:#6482a8;}
.app-body .core-dash-empty strong {color:#1f3b5b;font-size:14px;}
.app-body .core-dash-empty p {color:#536981;font-size:12.5px;}
/* 6. Acoes e historico: cores sem transparencia nem wash-out, textos reconheciveis. */
.app-body .core-dash-action {border:1px solid #dce5ef;min-height:76px;background:var(--action-soft)!important;box-shadow:0 2px 5px rgba(24,49,76,.027);}
.app-body .core-dash-action>span {background:var(--action)!important;color:#fff!important;}
.app-body .core-dash-action strong {color:#19304c!important;font-size:13px;font-weight:790;}
.app-body .core-dash-action small {color:#435c78!important;font-size:11.5px;line-height:1.35;}
.app-body .core-dash-action:hover {box-shadow:0 6px 15px rgba(20,43,76,.075);border-color:var(--action);}
.app-body .core-dash-activity {border-bottom-color:#e0e8f1;}
.app-body .core-dash-activity strong {color:#253b58;font-size:12.5px;}
.app-body .core-dash-activity small {color:#4d647e;font-size:11.5px;}
.app-body .core-dash-activity time {color:#526881;font-size:11px;}
.app-body .core-operational-metrics>span {color:#354e6c;font-size:12.5px;}
.app-body .core-operational-metrics strong {color:#122e53;}
.app-body .core-dash-admin-footer {background:#fff;border:1px solid #dbe5f0;box-shadow:var(--core-1394-shadow);border-radius:14px;}
.app-body .core-dash-admin-footer h2 {color:#203650;font-size:16px;font-weight:800;}
.app-body .core-dash-admin-footer p {color:#4b637b;font-size:12.5px;}
.app-body .core-dash-admin-links a {background:#e8f0fc;color:#154f9d;font-weight:760;}
/* 7. Cores para telas operacionais do Core: somente titulo e areas de conteudo, nao dados. */
.app-body .app-main>h1,.app-body .app-main>h2,.app-body .page-head h1,.app-body .page-header h1,.app-body .admin-content h1 {color:#152b46;}
.app-body .app-main .muted,.app-body .app-main .text-muted {color:#50647f;}
/* 8. Estados de teclado e dispositivos: sem remover foco ou sobrepor menus. */
.app-body .core-dash-kpi:focus-visible,.app-body .core-dash-action:focus-visible,.app-body .core-dash-text-link:focus-visible {outline:3px solid #528ad6;outline-offset:3px;}
@media(min-width:861px) {
 .app-body .app-layout {grid-template-columns:306px minmax(0,1fr);}
 .sidebar-collapsed .app-body .app-layout {grid-template-columns:82px minmax(0,1fr);}
}
@media(max-width:1250px) {
 .app-body .core-dash-kpi {padding:17px 15px;}
 .app-body .core-dash-panel {padding:19px 17px;}
}
@media(max-width:860px) {
 .app-body .core-sidebar-v3 {width:min(325px,92vw);background:linear-gradient(180deg,#fff,#f7f9fd)!important;}
 .app-body .core-sidebar-v3 .core-nav-heading .sidebar-label {font-size:14.5px;}
 .app-body .core-sidebar-v3 .sidebar-link {min-height:45px;font-size:14px;}
 .app-body .core-sidebar-v3 .core-nav-links {padding:2px 8px 10px 50px;}
 .app-body .app-header {height:66px;}
 .app-body .app-main {padding:20px 14px 32px;}
}
@media(max-width:620px) {
 .app-body .core-dash-head {align-items:flex-start;}
 .app-body .core-dash-kpis {gap:10px;}
 .app-body .core-dash-kpi {min-height:150px;padding:14px 13px;}
 .app-body .core-dash-kpi strong {font-size:clamp(20px,5vw,26px);}
 .app-body .core-dash-panel {padding:16px 13px;}
 .app-body .core-dash-panel-head h2 {font-size:15px;}
 .app-body .core-dash-action {min-height:68px;}
 .app-body .core-dash-action strong {font-size:12px;}
 .app-body .core-dash-action small {font-size:10.5px;}
 .app-body .core-chart-caption {font-size:11px!important;}
}
@media(prefers-reduced-motion:reduce) {
 .app-body .core-dash-action,.app-body .core-dash-kpi {transition:none!important;transform:none!important;}
}
