/* FINNEX 62.3 — last-in-cascade visual overhaul, no global theme mutation */
.fnxf615{font-family:system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif!important;font-synthesis:none!important;font-weight:400!important;letter-spacing:normal!important;color:#182d48!important;background:transparent}
.fnxf615 :is(h1,h2,h3,h4,b,strong){font-family:inherit!important;text-shadow:none!important;font-stretch:normal!important;letter-spacing:-.025em!important}
.fnxf615 .fnxf615-brand b{font-size:21px!important;font-weight:720!important}
.fnxf615 .fnxf615-brand small{font-size:12px!important;font-weight:500!important}
.fnxf615 .fnxf615-nav{background:#11243e!important;border:1px solid #1e3b60!important;box-shadow:none!important;border-radius:15px!important}
.fnxf615 .fnxf615-nav a{font-size:14px!important;font-weight:530!important;line-height:1.45!important;color:#dce7f7!important;letter-spacing:0!important}
.fnxf615 .fnxf615-nav a[aria-current="page"]{font-weight:660!important;background:#2864d9!important}
.fnxf615 .fnxf615-nav a .dashicons{font-size:19px!important;width:19px!important;height:19px!important}
.fnxf615 .fnxf615-hero{background:linear-gradient(110deg,#16365f,#2561b3)!important;min-height:154px!important;padding:27px 32px!important;border-radius:17px!important}
.fnxf615 .fnxf615-hero h1{font-size:clamp(25px,2.5vw,34px)!important;font-weight:720!important;line-height:1.17!important;margin:9px 0 10px!important}
.fnxf615 .fnxf615-hero p{font-size:14px!important;font-weight:450!important;line-height:1.55!important}
.fnxf615 .fnxf615-eyebrow{font-size:11px!important;font-weight:620!important}
.fnxf615 .fnxf615-version{font-size:11px!important;font-weight:550!important}
.fnxf615 .fnxf617-section-heading h2,.fnxf615 .fnxf620-section-title h2,.fnxf615 .fnxf615-panel h2{font-size:20px!important;font-weight:690!important}
.fnxf615 .fnxf615-metric strong{font-size:32px!important;font-weight:700!important}
.fnxf615 .fnxf615-metric span{font-size:13px!important;font-weight:590!important}
.fnxf615 .fnxf615-metric small{font-size:12px!important;font-weight:450!important}
.fnxf615 .fnxf615-toolbar label{font-weight:570!important}
.fnxf615 .fnxf615-status{font-size:12px!important;font-weight:530!important}
.fnxf615 .fnxf615-panel,.fnxf615 .fnxf615-metric,.fnxf615 .fnxf620-detail{box-shadow:0 3px 12px rgba(20,40,70,.035)!important}
.fnxf615 .fnxf615-action{font-weight:570!important}
.fnxf623-studio{margin:25px 0;background:#fff;border:1px solid #e0e8f3;border-radius:19px;padding:24px;box-shadow:0 8px 24px rgba(21,44,80,.04)}
.fnxf623-studio-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:22px}
.fnxf623-studio-head span:first-child{font-size:11px;font-weight:700;letter-spacing:.11em;color:#2762c3}
.fnxf623-studio-head h2{font-size:23px!important;font-weight:710!important;margin:7px 0!important;color:#162d4b!important}
.fnxf623-studio-head p{font-size:13px!important;color:#667891!important;margin:0}
.fnxf623-tag{background:#edf3fd;border:1px solid #d9e5f8;border-radius:50px;padding:9px 13px;color:#365785;font-size:12px;white-space:nowrap}
.fnxf623-studio-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,1fr);gap:22px}
.fnxf623-preview{--fnxf-preview-color:#245bd6;background:#f5f8fc;border:1px solid #e1e8f2;border-radius:15px;overflow:hidden}
.fnxf623-preview-top{display:flex;align-items:center;gap:10px;background:white;border-bottom:1px solid #e4eaf3;padding:17px;font-size:16px;font-weight:690;color:#203754}
.fnxf623-preview-logo{display:flex;align-items:center;justify-content:center;width:36px;height:36px;background:var(--fnxf-preview-color);color:#fff;border-radius:10px;overflow:hidden}
.fnxf623-preview-logo img{max-width:100%;max-height:100%;object-fit:contain}
.fnxf623-preview-body{padding:28px 23px}
.fnxf623-preview-body>span:first-child{font-size:10px;letter-spacing:.1em;color:#667b9b;font-weight:700}
.fnxf623-preview-body h3{font-size:22px!important;line-height:1.25!important;font-weight:710!important;margin:10px 0!important;color:#172c48!important}
.fnxf623-preview-body p{color:#62748b!important;font-size:13px!important;line-height:1.5!important}
.fnxf623-preview-bars{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:25px 0}
.fnxf623-preview-bars i{height:57px;background:#fff;border:1px solid #e1e8f3;border-radius:10px}
.fnxf623-preview-cta{display:inline-block;background:var(--fnxf-preview-color);border-radius:9px;color:#fff;padding:10px 17px;font-size:12px;font-weight:650}
.fnxf623-preview>small{display:block;padding:12px 20px;color:#74839a;font-size:11px}
.fnxf623-form{display:grid;gap:14px;align-content:start}
.fnxf623-form label{display:grid;gap:6px;color:#415572;font-size:13px;font-weight:620}
.fnxf623-form input:not([type=color]){width:100%;min-height:40px;border:1px solid #ccd8e8;border-radius:9px;padding:9px 12px;font-size:14px;background:#fff;color:#1d334e}
.fnxf623-form input[type=color]{width:90px;height:42px;border:1px solid #ccd8e8;border-radius:9px;background:#fff;padding:4px}
.fnxf623-disclaimer{font-size:12px!important;line-height:1.5!important;color:#6b7e96!important;margin:0!important}
.fnxf623-save{background:#245bd6;color:#fff;border:0;border-radius:10px;padding:13px 17px;font-weight:670;cursor:pointer}
.fnxf623-save:hover{background:#174dbd}
.fnxf623-locked{border:1px solid #e0e8f3;border-radius:12px;padding:22px;background:#fafcff}
.fnxf623-success{padding:12px 15px;margin-bottom:16px;background:#e9f9f1;border:1px solid #b6e6cd;color:#17603b;border-radius:10px;font-size:13px}
.fnxf615 :focus-visible{outline:3px solid #8ab7ff!important;outline-offset:3px!important}
@media(max-width:880px){.fnxf623-studio-grid{grid-template-columns:1fr}}
@media(max-width:580px){.fnxf623-studio{padding:16px}.fnxf623-studio-head{display:block}.fnxf623-tag{display:inline-block;margin-top:12px}.fnxf615 .fnxf615-hero{padding:22px!important}}

.fnxf623-records{width:100%;border-collapse:collapse;font-size:13px;color:#304560}
.fnxf623-records th{text-align:left;background:#f4f7fc;color:#58708f;font-weight:650;padding:12px;border-bottom:1px solid #dce5f0}
.fnxf623-records td{padding:12px;border-bottom:1px solid #e8edf5}
.fnxf623-recent{margin:22px 0}


/* White Label Studio: prévia e edição com hierarquia consistente */
.fnxf623-studio{font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:#172b45;border-radius:20px!important}
.fnxf623-studio-head{gap:20px;padding:26px!important;border-radius:18px;background:#f3f6fb!important}
.fnxf623-studio-head h2{font-size:clamp(22px,2.2vw,30px)!important;letter-spacing:-.035em;line-height:1.25}
.fnxf623-studio-head p{font-size:14px!important;line-height:1.6;color:#52647b!important}
.fnxf623-studio-grid{gap:24px!important;align-items:start}
.fnxf623-form{min-width:0;padding:24px!important;border:1px solid #dce5ef;border-radius:16px!important;background:#fff}
.fnxf623-form label{font-size:13px;font-weight:600;color:#40546e}
.fnxf623-form :is(input:not([type=checkbox]):not([type=radio]),select,textarea){font:inherit!important;min-height:44px;padding:10px 12px;border:1px solid #cbd7e4;border-radius:10px;max-width:100%}
.fnxf623-form :is(input,select,textarea,button):focus-visible{outline:3px solid #2360bf;outline-offset:3px}
.fnxf623-save{min-height:46px;border-radius:10px!important;padding:12px 20px;font-weight:650}
.fnxf623-disclaimer{font-size:13px!important;line-height:1.6;color:#52647b!important;background:#f5f8fc;border-radius:12px;padding:14px}
.fnxf623-preview{border-radius:18px!important;overflow:hidden;min-width:0}
@media(max-width:780px){.fnxf623-studio-grid{grid-template-columns:1fr!important}.fnxf623-form{padding:18px!important}.fnxf623-studio-head{padding:20px!important}}

/* Controles de marca: todos usam o campo principal persistido pelo servidor. */
.fnxf623-form .fnxf-brand-editor{grid-column:1/-1;min-width:0;padding:22px;border:1px solid #dce5ef;border-radius:16px;background:#f7f9fd;display:grid;gap:16px}
.fnxf-brand-editor h3{margin:0;font-size:19px;letter-spacing:-.025em;color:#172b45}
.fnxf-brand-editor .fnxf-brand-help{margin:0;color:#52647b;font-size:13px;line-height:1.65}
.fnxf-brand-color-row label{display:grid;gap:8px;max-width:240px}
.fnxf-brand-color-row input{font-family:ui-monospace,monospace!important;letter-spacing:.05em;width:100%;box-sizing:border-box}
.fnxf-brand-palettes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.fnxf-brand-editor .fnxf-brand-swatch{display:flex;align-items:center;gap:8px;min-height:44px;border:1px solid #cbd7e4;border-radius:10px;background:#fff;color:#304560;padding:10px;font:inherit;font-size:12px;cursor:pointer;text-align:left;line-height:1.4}
.fnxf-brand-swatch:before{content:'';width:18px;height:18px;flex:0 0 18px;border-radius:50%;background:var(--swatch);border:1px solid #0002}
.fnxf-brand-editor button:hover{border-color:#677e9b;box-shadow:0 2px 8px #17385b12}
.fnxf-brand-tone{display:grid;gap:8px}.fnxf623-form .fnxf-brand-tone input{width:100%;padding:0;accent-color:#245bd6;cursor:pointer}
.fnxf-brand-contrast{margin:0;padding:12px 14px;background:#eaf4ef;border:1px solid #c8e1d3;border-radius:10px;color:#23513c;font-size:13px;line-height:1.6}
.fnxf-brand-sample{display:flex;align-items:center;flex-wrap:wrap;gap:14px;padding:18px;border:1px solid #dce5ef;border-radius:12px;background:#fff;font-size:13px}
.fnxf-brand-demo-button{display:inline-block;border-radius:9px;padding:12px 18px;font-weight:650}.fnxf-brand-sample small{color:#52647b;line-height:1.5}
.fnxf623-form .fnxf-brand-live{display:flex;align-items:center;gap:10px;line-height:1.6}.fnxf-brand-live input{width:20px;height:20px;flex-shrink:0;accent-color:#245bd6}
.fnxf-brand-editor-actions button{min-height:44px;padding:10px 14px;border:1px solid #cbd7e4;border-radius:10px;background:#fff;color:#304560;font:inherit;font-size:13px;cursor:pointer}
.fnxf623-preview :is(.fnxf623-preview-logo,.fnxf623-preview-cta){color:var(--fnxf-preview-on-color,#fff)}
@media(max-width:600px){.fnxf623-form .fnxf-brand-editor{padding:16px}.fnxf-brand-palettes{grid-template-columns:repeat(2,minmax(0,1fr))}.fnxf-brand-sample{align-items:flex-start;flex-direction:column}}

