/* FINNEX 2900000: shared premium readability for all six dashboard views. */
.fnxf615, .fnxf-experience, [data-fnxf-dashboard] {
 --fnxf290-font:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
 font-family:var(--fnxf290-font);
 font-size:16px;line-height:1.55;
 -webkit-font-smoothing:antialiased;
 text-rendering:optimizeLegibility;
}
.fnxf615 :is(h1,h2,h3),.fnxf-experience :is(h1,h2,h3),[data-fnxf-dashboard] :is(h1,h2,h3){
 letter-spacing:-.025em;line-height:1.23;text-wrap:balance;
}
.fnxf615 :is(button,input,select,textarea),.fnxf-experience :is(button,input,select,textarea),[data-fnxf-dashboard] :is(button,input,select,textarea){font:inherit}
.fnxf615 :is(button,input,select,textarea):focus-visible,.fnxf-experience :is(button,input,select,textarea):focus-visible,[data-fnxf-dashboard] :is(button,input,select,textarea):focus-visible{outline:3px solid #2762c2;outline-offset:2px}
@media(max-width:700px){.fnxf615,.fnxf-experience,[data-fnxf-dashboard]{font-size:16px}}
@media(prefers-reduced-motion:reduce){.fnxf615 *, .fnxf-experience *, [data-fnxf-dashboard] *{scroll-behavior:auto!important;transition-duration:.01ms!important}}

/* FINNEX 3.79 — Garantias do Cliente: enterprise responsive visual layer.
   Scoped to the panel with the actual guarantee editor, without changing business logic. */
.fnxf615-panel:has(input[name="fnxf378_save"]){
  --g-border:#dce5f0;--g-ink:#122642;--g-muted:#536780;--g-accent:#2159b6;
  background:linear-gradient(180deg,#fff 0%,#fbfdff 100%);
  border:1px solid var(--g-border);border-radius:22px;
  padding:clamp(18px,3vw,38px);box-shadow:0 16px 48px rgba(17,39,75,.06);
  color:var(--g-ink);
}
.fnxf615-panel:has(input[name="fnxf378_save"]) > h1{
 font-size:clamp(28px,3.5vw,40px);font-weight:750;letter-spacing:-.04em;
 margin:0 0 8px;color:#102743;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) > h2{
 font-size:clamp(19px,2vw,25px);font-weight:720;letter-spacing:-.025em;
 margin:32px 0 14px;color:#163458;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) > p{
 color:var(--g-muted);max-width:86ch;line-height:1.65;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) > form{
 background:#f6f9fd;border:1px solid var(--g-border);border-radius:16px;
 padding:18px 20px;margin:16px 0 22px;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) label{
 display:inline-flex;align-items:center;gap:12px;font-weight:650;color:#24405f;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) input:is([type="number"],[type="text"]){
 box-sizing:border-box;min-height:44px;padding:10px 12px;border:1px solid #cbd9ea;
 border-radius:10px;background:#fff;color:#172b49;font-size:15px;max-width:100%;
 transition:border-color .16s ease,box-shadow .16s ease;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) input:focus-visible{
 outline:2px solid #2b65c2;outline-offset:2px;border-color:#2b65c2;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) button,
.fnxf615-panel:has(input[name="fnxf378_save"]) .button{
 min-height:44px;padding:10px 20px;border-radius:10px;
 font-weight:680;cursor:pointer;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) button[type="submit"],
.fnxf615-panel:has(input[name="fnxf378_save"]) .button-primary{
 background:#245ab4;border:1px solid #245ab4;color:#fff;
 box-shadow:0 5px 14px rgba(36,90,180,.16);
}
.fnxf615-panel:has(input[name="fnxf378_save"]) button[type="submit"]:hover,
.fnxf615-panel:has(input[name="fnxf378_save"]) .button-primary:hover{
 background:#174894;border-color:#174894;color:#fff;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) div[style*="overflow-x:auto"]{
 border:1px solid var(--g-border);border-radius:15px;background:#fff;
 overflow-x:auto!important;box-shadow:0 5px 20px rgba(25,47,78,.035);
}
.fnxf615-panel:has(input[name="fnxf378_save"]) table{
 width:100%;border-collapse:separate;border-spacing:0;background:#fff;
 font-size:14px;min-width:660px;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) th{
 background:#edf3fb;color:#254368;font-size:12px;font-weight:760;
 letter-spacing:.055em;text-transform:uppercase;text-align:left;
 padding:15px 16px;border-bottom:1px solid var(--g-border);
}
.fnxf615-panel:has(input[name="fnxf378_save"]) td{
 padding:13px 16px;border-bottom:1px solid #edf1f7;
 vertical-align:middle;color:#28405d;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) tr:last-child td{border-bottom:0}
.fnxf615-panel:has(input[name="fnxf378_save"]) tbody tr:hover{background:#f7faff}
.fnxf615-panel:has(input[name="fnxf378_save"]) td:first-child{font-weight:680;color:#163455}
.fnxf615-panel:has(input[name="fnxf378_save"]) td input{width:100%;min-width:140px}
.fnxf615-panel:has(input[name="fnxf378_save"]) [role="status"]{
 background:#eef8f1;border:1px solid #b9dec5;border-radius:12px;
 padding:14px 16px;color:#235339;
}
.fnxf615-panel:has(input[name="fnxf378_save"]) [role="alert"]{
 background:#fff4f2;border:1px solid #e9b6ae;border-radius:12px;
 padding:14px 16px;color:#8d2e24;
}
@media(max-width:760px){
 .fnxf615-panel:has(input[name="fnxf378_save"]){padding:16px;border-radius:16px}
 .fnxf615-panel:has(input[name="fnxf378_save"]) > form{padding:14px}
 .fnxf615-panel:has(input[name="fnxf378_save"]) > form:first-of-type label{
   display:flex;flex-wrap:wrap;align-items:flex-start
 }
 .fnxf615-panel:has(input[name="fnxf378_save"]) > form:first-of-type button{margin-top:10px;width:100%}
 .fnxf615-panel:has(input[name="fnxf378_save"]) th,
 .fnxf615-panel:has(input[name="fnxf378_save"]) td{padding:12px}
}
@media(prefers-reduced-motion:reduce){
 .fnxf615-panel:has(input[name="fnxf378_save"]) *{transition:none!important}
}



/* FINNEX SaaS / White Label — camada compartilhada de apresentação */
:is(.fnxf615,.fnxf-app,.fnxf160){--fx-ui-ink:#172b45;--fx-ui-muted:#52647b;--fx-ui-line:#dce5ef;--fx-ui-bg:#f5f7fb;--fx-ui-accent:var(--fnxf-brand,#2456b5);font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-variant-numeric:tabular-nums;line-height:1.55;color:var(--fx-ui-ink)}
:is(.fnxf615,.fnxf-app,.fnxf160) *, :is(.fnxf615,.fnxf-app,.fnxf160) *::before,:is(.fnxf615,.fnxf-app,.fnxf160) *::after{box-sizing:border-box}
:is(.fnxf615,.fnxf-app,.fnxf160) :is(h1,h2,h3,h4){letter-spacing:-.025em;text-wrap:balance;line-height:1.25}
:is(.fnxf615,.fnxf-app,.fnxf160) :is(input,select,textarea,button){font:inherit}
:is(.fnxf615,.fnxf-app,.fnxf160) :is(button,.button,.fnxf-action,.fnxf615-action){min-height:42px;border-radius:10px;cursor:pointer;transition:background-color .15s,border-color .15s}
:is(.fnxf615,.fnxf-app,.fnxf160) button:disabled{cursor:wait;opacity:.55}
:is(.fnxf615,.fnxf-app,.fnxf160) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){border:1px solid #cbd7e4;border-radius:10px;min-height:44px;padding:9px 12px;max-width:100%;color:#172b45;background:#fff}
:is(.fnxf615,.fnxf-app,.fnxf160) :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #2360bf!important;outline-offset:3px!important}
:is(.fnxf615,.fnxf-app,.fnxf160) :is(table,.widefat){border-collapse:separate;border-spacing:0;font-size:14px;width:100%;background:#fff}
:is(.fnxf615,.fnxf-app,.fnxf160) :is(th,td){text-align:left;padding:13px 15px;border-bottom:1px solid #e6edf5;vertical-align:middle}
:is(.fnxf615,.fnxf-app,.fnxf160) th{background:#f1f5fa;color:#40546e;font-size:12px;letter-spacing:.02em;font-weight:650}
:is(.fnxf615,.fnxf-app,.fnxf160) tbody tr:hover{background:#f7faff}
:is(.fnxf615,.fnxf-app,.fnxf160) [role=alert]{color:#9c3037;background:#fff1f2;border:1px solid #f0c4c8;border-radius:12px;padding:14px 16px}
.fnxf615 .fnxf615-hero{background:linear-gradient(115deg,#142a46,#23496e)!important;border-radius:22px!important;padding:30px!important;box-shadow:none!important}
.fnxf615 .fnxf615-metric{position:relative;border-radius:18px!important;padding:22px!important;border-color:#dce5ef!important;box-shadow:0 3px 12px #122c4c05!important}
.fnxf615 .fnxf615-metric strong{font-size:clamp(26px,2.5vw,38px)!important;letter-spacing:-.035em!important;overflow-wrap:anywhere}
.fnxf615 .fnxf615-metric small{font-size:12px!important;line-height:1.5!important}
.fnxf615 .fnxf615-panel{border-radius:18px!important;padding:clamp(18px,2.5vw,30px)!important;border-color:#dce5ef!important;box-shadow:0 3px 12px #122c4c05!important}
.fnxf615 .fnxf615-nav{max-height:calc(100vh - 64px);overflow-y:auto!important;scrollbar-width:thin}
.fnxf615 .fnxf620-context-grid{gap:16px}.fnxf615 .fnxf620-detail{border-radius:18px;box-shadow:none;padding:24px}
.fnxf-app .fnxf-panel{max-width:none;padding:clamp(20px,3vw,40px)}
.fnxf-app .fnxf-topbar{min-height:72px;height:auto;padding:18px 26px;gap:16px;flex-wrap:wrap}
.fnxf-app .fnxf-panel>h2{font-size:clamp(24px,2.4vw,34px)!important;letter-spacing:-.035em}
.fnxf-app .fnxf-panel>p{max-width:90ch;color:#52647b}
.fnxf-app .fnxf-sidebar{background:#14263e}
.fnxf-app .fnxf-nav a{padding:11px 14px;font-weight:550}
.fnxf-app .fnxf-nav a[aria-current=page]{box-shadow:inset 3px 0 #b5d3fc;background:#253f60}
.fnxf-bi-head{margin:0 0 22px}.fnxf-bi-kicker{font-size:11px;letter-spacing:.08em;font-weight:650;color:#52647b}
.fnxf-app .fnxf-bi-heading{font-size:clamp(23px,2vw,30px);margin:8px 0 0}
.fnxf-app .fnxf-bi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}
.fnxf-app .fnxf-bi-card{display:flex;flex-direction:column;gap:10px;min-width:0;background:#fff;border:1px solid #dce5ef;border-radius:18px;padding:22px;box-shadow:0 3px 12px #122c4c05}
.fnxf-app .fnxf-bi-card small{font-size:13px;font-weight:600;color:#52647b}
.fnxf-app .fnxf-bi-card strong{font-size:clamp(23px,2.2vw,34px);line-height:1.2;letter-spacing:-.035em;overflow-wrap:anywhere;color:#172b45}
.fnxf-app .fnxf-bi-card span{font-size:12px;line-height:1.5;color:#52647b}
.fnxf-app .fnxf-bi-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px}
.fnxf-app .fnxf-bi-chart{background:#fff;border:1px solid #dce5ef;border-radius:18px;padding:24px;min-width:0}
.fnxf-app .fnxf-bi-chart h4{font-size:17px;margin:0 0 22px}.fnxf-app .fnxf-bi-context p{font-size:13px;line-height:1.6;margin:12px 0}
.fnxf-bi-bar-line{margin:18px 0}.fnxf-bi-bar-label{display:flex;justify-content:space-between;gap:16px;font-size:13px;margin-bottom:9px}
.fnxf-bi-track{height:8px;background:#edf1f6;border-radius:20px;overflow:hidden}.fnxf-bi-fill{height:100%;border-radius:20px}
.fnxf-bi-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;margin-top:22px;color:#52647b;font-size:12px}
.fnxf-app .fnxf-bi-refresh{background:#fff;border:1px solid #cbd7e4;border-radius:10px;padding:10px 16px;color:#203e64;font-weight:600}
.fnxf-bi-empty{background:#fff;border:1px dashed #cbd7e4;border-radius:14px;padding:22px!important;color:#52647b!important}
@media(max-width:1100px){.fnxf-app .fnxf-bi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fnxf-app .fnxf-bi-layout{grid-template-columns:1fr}}
@media(max-width:780px){.fnxf615 .fnxf615-nav{max-height:none}.fnxf-app .fnxf-topbar{padding:14px 16px}.fnxf-app .fnxf-panel{padding:20px 16px}.fnxf615 .fnxf615-hero{padding:22px!important}.fnxf-app .fnxf-bi-card{padding:17px}.fnxf-app .fnxf-bi-chart{padding:18px}}
@media(max-width:420px){.fnxf-app .fnxf-bi-grid{grid-template-columns:1fr}.fnxf-bi-bar-label{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){:is(.fnxf615,.fnxf-app,.fnxf160) *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

