/* FINNEX Enterprise Control Pack 3.0.0 — isolated UI improvements */
:where(.fnxf615,.fnx113,.fnxf-dashboard27,.fnxf-bi-panel){
 --ecp-accent:var(--fnxf638-accent,var(--fnx-accent,#344257));
 --ecp-border:#e3e8ee;
 font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
 min-width:0;
}
:where(.fnxf615,.fnx113,.fnxf-dashboard27,.fnxf-bi-panel) *,
:where(.fnxf615,.fnx113,.fnxf-dashboard27,.fnxf-bi-panel) *::before,
:where(.fnxf615,.fnx113,.fnxf-dashboard27,.fnxf-bi-panel) *::after{box-sizing:border-box}
.fnxf615 .fnxf615-main,.fnxf615 .fnxf615-layout,.fnxf615 .fnxf615-panel,
.fnxf-bi-grid,.fnxf-bi-layout,.fnx113 .fnx113grid{min-width:0}
.fnxf-bi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.fnxf-bi-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:16px}
.fnxf-bi-card,.fnxf-bi-chart,.fnx113 .fnx113card{
 background:#fff;border:1px solid var(--ecp-border);border-radius:16px;
 box-shadow:0 8px 28px rgba(20,32,48,.05);overflow-wrap:anywhere;
}
.fnxf-bi-card{padding:clamp(16px,2vw,24px)}
.fnxf-bi-card strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.fnxf-bi-tabs button,.fnxf-bi-refresh{min-height:44px;cursor:pointer}
.fnxf-bi-tabs button[aria-pressed=true]{background:var(--ecp-accent);border-color:var(--ecp-accent);color:#fff}
.fnxf-bi-track{overflow:hidden}.fnxf-bi-fill{max-width:100%}
.fnxf615 .fnxf615-nav a{min-height:44px}
.fnxf615 .fnxf615-main img,.fnx113 img{max-width:100%;height:auto}
.fnxf615 :is(a,button,input,select,textarea,summary):focus-visible,
.fnx113 :is(a,button,input,select,textarea):focus-visible,
.fnxf-bi-panel :is(a,button):focus-visible{
 outline:3px solid var(--ecp-accent);outline-offset:3px
}
.fnxf615 :is(button,input,select,textarea),.fnx113 :is(button,input,select,textarea){max-width:100%}
@media(max-width:1100px){.fnxf-bi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.fnxf-bi-layout{grid-template-columns:minmax(0,1fr)}.fnxf615 .fnxf615-nav{position:static}}
@media(max-width:782px){
 .fnxf615 .fnxf615-layout{display:block}
 .fnxf615 .fnxf615-main,.fnxf615 .fnxf615-nav{width:100%;max-width:100%}
 .fnxf615 .fnxf615-nav{margin-bottom:18px}
 .fnx113 .fnx113grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .fnxf-bi-grid,.fnx113 .fnx113grid{grid-template-columns:minmax(0,1fr)}
 .fnxf615 .fnxf639-hero{padding:20px!important}
 .fnxf615 .fnxf639-context{flex-direction:column;align-items:stretch}
 .fnxf615 .fnxf639-context a{white-space:normal}
 .fnx113 .fnx113toolbar{flex-direction:column;align-items:stretch}
 .fnx113 .fnx113toolbar select,.fnx113 .fnx113toolbar button{width:100%}
 .fnxf-bi-bar-label{flex-wrap:wrap}
}
@media(prefers-reduced-motion:reduce){
 .fnxf615 *, .fnx113 *, .fnxf-dashboard27 *, .fnxf-bi-panel *{
 animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important
 }
}
