/*
 * SMART.HUB CAMPANHAS · UI SYSTEM 1.1.1
 * A single light blue enterprise layer inspired by the supplied desktop/mobile screenshot.
 * Scope: .bfb-shell, its owned standalone template, and .bfb-admin-wrap only.
 * Data, shortcodes, actions, business logic and other WordPress pages are unchanged.
 */
body.bfb-standalone-page,
.bfb-shell,
body.wp-admin .bfb-admin-wrap {
 --bfb-ui-blue:#0952b3;
 --bfb-ui-deep:#06429c;
 --bfb-ui-blue-2:#126bc8;
 --bfb-ui-accent:#238be3;
 --bfb-ui-bg:#eff3f8;
 --bfb-ui-card:#fff;
 --bfb-ui-line:#dee7f1;
 --bfb-ui-text:#172c46;
 --bfb-ui-muted:#62748a;
 --bfb-ui-light:#e8f3ff;
 --bfb-ui-success:#15834f;
 --bfb-ui-warning:#a56607;
 --bfb-ui-error:#bf3548;
 --bfb-ink:var(--bfb-ui-text);
 --bfb-gold:var(--bfb-ui-blue);
 --bfb-card:var(--bfb-ui-card);
 --bfb-sub:var(--bfb-ui-bg);
 --bfb-line:var(--bfb-ui-line);
 --bfb-secondary:var(--bfb-ui-muted);
 font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important;
 color:var(--bfb-ui-text);
 -webkit-font-smoothing:antialiased;
}
/* Full screen platform chrome, isolated from the active theme. */
html:has(body.bfb-standalone-page){margin:0!important;height:auto;min-height:100%;scroll-behavior:smooth}
body.bfb-standalone-page{
 margin:0!important;padding:0!important;width:100%;min-height:100dvh;
 background:var(--bfb-ui-bg)!important;color:var(--bfb-ui-text)!important;
 font-size:14px;line-height:1.55;
}
body.bfb-standalone-page .bfb-app-frame{min-height:100dvh;display:grid;grid-template-columns:minmax(0,1fr);background:var(--bfb-ui-bg)}
body.bfb-standalone-page .bfb-app-frame.bfb-layout-panel{grid-template-columns:245px minmax(0,1fr)}
body.bfb-standalone-page .bfb-app-stage{min-width:0;display:flex;flex-direction:column;min-height:100dvh}
body.bfb-standalone-page .bfb-app-sidebar{
 background:linear-gradient(160deg,#073f96 0%,#0953b4 57%,#116fce 100%);
 color:#fff;min-height:100dvh;height:100dvh;position:sticky;top:0;overflow-y:auto;
 display:flex;flex-direction:column;z-index:60;box-shadow:2px 0 12px #123e7310;
 scrollbar-width:thin;scrollbar-color:#ffffff3c transparent;
}
.bfb-app-brand{display:flex;gap:12px;align-items:center;min-height:80px;padding:18px 18px;border-bottom:1px solid #ffffff22;color:#fff!important;text-decoration:none!important}
.bfb-app-brand:hover{color:#fff!important;background:#ffffff0b}
.bfb-app-brand-symbol{width:36px;height:36px;display:inline-flex;flex:0 0 36px;align-items:center;justify-content:center;color:#fff;background:#ffffff20;border:1px solid #ffffff60;border-radius:50%}
.bfb-app-brand-symbol .dashicons{font-size:20px;width:20px;height:20px}
.bfb-app-brand-copy{display:flex;flex-direction:column;min-width:0;line-height:1.2}
.bfb-app-brand-copy strong{font-size:14px;white-space:normal;overflow-wrap:anywhere;font-weight:750;letter-spacing:-.02em}
.bfb-app-brand-copy small{font-size:9px;letter-spacing:.12em;font-weight:700;color:#c7e3ff;margin-top:5px}
.bfb-app-nav-caption{color:#b4d8ff;font:700 10px/1.4 Inter,system-ui,sans-serif;letter-spacing:.13em;margin:28px 19px 12px}
.bfb-app-nav{display:grid;gap:4px;padding:0 10px}
.bfb-app-nav-link{display:flex;align-items:center;min-height:43px;gap:12px;color:#eff7ff!important;text-decoration:none!important;border-radius:8px;padding:10px 13px;font-weight:550;font-size:13px;transition:background .16s ease;outline-offset:2px}
.bfb-app-nav-link .dashicons{color:#dfedff;font-size:17px;width:19px;height:19px;line-height:19px;flex:0 0 19px}
.bfb-app-nav-link:hover,.bfb-app-nav-link:focus-visible{background:#ffffff20;color:#fff!important}
.bfb-app-nav-link.is-active{background:#ffffff2d;color:#fff!important;font-weight:750;box-shadow:inset 3px 0 0 #e0f1ff}
.bfb-app-sidebar-bottom{margin-top:auto;padding:20px 18px 23px;color:#c5def8;font-size:11px;display:flex;gap:8px;align-items:center}
.bfb-app-sidebar-dot{display:block;width:7px;height:7px;border-radius:50%;background:#79e3b4;box-shadow:0 0 0 4px #79e3b429}
body.bfb-standalone-page .bfb-app-topbar{
 min-height:68px;background:linear-gradient(100deg,#073f99,#0956b8);
 color:white;display:flex;align-items:center;justify-content:space-between;gap:18px;
 padding:11px clamp(18px,2.3vw,34px);position:sticky;top:0;z-index:40;
 box-shadow:0 2px 12px #06499d22;
}
.bfb-app-topbar-leading,.bfb-app-topbar-trailing{display:flex;align-items:center;gap:13px;min-width:0}
.bfb-app-topbar-heading{display:flex;flex-direction:column;gap:2px;min-width:0;line-height:1.25}
.bfb-app-topbar-heading strong{font-size:15px;line-height:1.25;font-weight:750;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bfb-app-topbar-heading small{font-size:10px;letter-spacing:.03em;color:#d5eaff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bfb-app-topbar-shortcut{display:flex;gap:7px;align-items:center;background:#ffffff20;border:1px solid #ffffff2c;border-radius:7px;color:#fff!important;text-decoration:none!important;padding:8px 11px;font-size:12px;font-weight:650;white-space:nowrap}
.bfb-app-topbar-shortcut:hover{background:#ffffff38}
.bfb-app-topbar-shortcut .dashicons{font-size:16px;width:16px;height:16px}
.bfb-app-topbar-brand{border-left:1px solid #ffffff40;padding-left:14px;font-size:11px;color:#e1f1ff;font-weight:650;max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bfb-app-guest-symbol{width:36px;height:36px;flex-basis:36px}
.bfb-app-menu-toggle,.bfb-app-nav-backdrop{display:none}
body.bfb-standalone-page .bfb-standalone-main{
 min-width:0;width:100%;margin:0!important;min-height:0!important;padding:clamp(16px,2.25vw,30px)!important;
 display:flex;align-items:flex-start;justify-content:center;flex:1;
}
body.bfb-standalone-page .bfb-standalone-main>.bfb-shell,
body.bfb-standalone-page .bfb-standalone-main>.bfb-shell:not(.bfb-public):not(.bfb-register){
 flex:1 1 auto!important;width:100%!important;max-width:1480px!important;margin:0 auto!important;
}
body.bfb-standalone-page .bfb-standalone-main>.bfb-public{flex:0 1 780px!important;max-width:780px!important}
body.bfb-standalone-page .bfb-standalone-main>.bfb-register{flex:0 1 820px!important;max-width:820px!important}
body.bfb-standalone-page .bfb-standalone-main>.bfb-login{flex:0 1 520px!important;max-width:520px!important}
body.bfb-standalone-page .bfb-standalone-main>.bfb-portal{flex:0 1 1000px!important;max-width:1000px!important}
body.bfb-standalone-page .bfb-layout-panel .bfb-tabs{display:none!important} /* Sidebar replaces tabs only on standalone panel */
/* Surface, typography and spacing shared across every plugin page and embedded shortcode. */
.bfb-shell{
 background:transparent!important;border:0!important;box-shadow:none!important;
 color:var(--bfb-ui-text)!important;border-radius:0!important;
 max-width:1480px;letter-spacing:normal!important;
 margin:12px auto;padding:0!important;font-size:14px;line-height:1.55;
}
.bfb-shell :is(h1,h2,h3,h4),body.wp-admin .bfb-admin-wrap :is(h1,h2,h3,h4){color:#173e6d!important;font-family:Inter,system-ui,sans-serif!important;font-weight:700!important;letter-spacing:-.025em!important;line-height:1.32}
.bfb-shell h1{font-size:clamp(22px,2.2vw,28px)!important;margin:0 0 9px}
.bfb-shell h2{font-size:18px!important;margin:0 0 12px}
.bfb-shell h3{font-size:15px!important;margin:0 0 10px}
.bfb-shell :is(p,li),.bfb-shell .bfb-hint,.bfb-shell .bfb-note,.bfb-register-head p{color:var(--bfb-ui-muted)!important;font-size:13px;line-height:1.65}
.bfb-shell strong{color:var(--bfb-ui-text)}
.bfb-shell a{color:var(--bfb-ui-blue);text-underline-offset:2px}
.bfb-shell .bfb-top{border:0!important;padding:4px 1px 17px!important;margin:0 0 12px!important;gap:12px;align-items:flex-start}
.bfb-shell .bfb-top h1{font-size:clamp(23px,2.2vw,29px)!important;line-height:1.25!important;margin:5px 0 7px!important}
.bfb-shell .bfb-top p{max-width:780px;font-size:13px!important;color:var(--bfb-ui-muted)!important;line-height:1.5}
.bfb-shell .bfb-kicker{font:750 10px/1.4 Inter,system-ui,sans-serif!important;letter-spacing:.10em;color:var(--bfb-ui-blue)!important}
.bfb-shell .bfb-label{font:650 11px/1.3 Inter,system-ui,sans-serif;color:#18589c!important;background:#e6f2ff!important;border:1px solid #c8def6!important;border-radius:999px!important;padding:9px 13px!important}
.bfb-shell :is(.bfb-card,.bfb-subcard,.bfb-tile,.bfb-metric,.bfb-ticket,.bfb-template),
.bfb-public .bfb-recovery{
 background:var(--bfb-ui-card)!important;color:var(--bfb-ui-text)!important;
 border:1px solid var(--bfb-ui-line)!important;border-radius:12px!important;
 box-shadow:0 3px 14px #2448780b!important;
}
.bfb-shell .bfb-card{padding:clamp(18px,2.1vw,26px)!important;margin:0 0 18px!important}
.bfb-shell .bfb-card .bfb-card{background:#f8fbff!important;box-shadow:none!important;margin:12px 0!important}
.bfb-shell .bfb-card h2{margin-bottom:10px}
.bfb-shell .bfb-subcard{padding:16px 18px!important;margin:13px 0!important}
.bfb-shell .bfb-subcard small,.bfb-shell .bfb-tile small{color:var(--bfb-ui-muted)!important}
.bfb-shell .bfb-tile{padding:17px!important;gap:8px;transition:box-shadow .15s,border-color .15s,transform .15s}
.bfb-shell .bfb-tile:hover{border-color:#8bbcec!important;box-shadow:0 9px 22px #0952b313!important;transform:translateY(-1px)}
.bfb-shell .bfb-tile,.bfb-shell .bfb-tile strong,.bfb-shell .bfb-winners div{color:var(--bfb-ui-text)!important}
.bfb-shell label{color:#354963!important;font:650 12px/1.5 Inter,system-ui,sans-serif!important}
.bfb-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea),
.bfb-register :is(input:not([type=checkbox]),select){
 box-sizing:border-box;background:#fff!important;color:#223b57!important;
 border:1px solid #cbd9e8!important;border-radius:8px!important;
 font:500 13px/1.5 Inter,system-ui,sans-serif!important;
 min-height:43px;padding:10px 12px!important;box-shadow:none!important;
}
.bfb-shell input::placeholder,.bfb-register input::placeholder,.bfb-shell textarea::placeholder{color:#8496ab!important;opacity:1}
.bfb-shell :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus,
.bfb-register :is(input:not([type=checkbox]),select):focus{
 outline:0!important;border-color:var(--bfb-ui-blue-2)!important;
 box-shadow:0 0 0 3px #1773cb22!important;
}
.bfb-shell input[readonly]{background:#f1f5fa!important;color:#425c77!important}
.bfb-shell :is(input[type=checkbox],input[type=radio]),.bfb-register input[type=checkbox]{accent-color:var(--bfb-ui-blue)!important}
.bfb-shell .bfb-check{display:flex;gap:9px;align-items:flex-start;color:#435974!important;font-weight:500!important}
.bfb-shell :is(button,.bfb-btn,.bfb-primary){
 display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:41px;
 background:#e9f3fe!important;color:#1557a0!important;
 border:1px solid #c8ddf5!important;border-radius:8px!important;
 padding:10px 16px!important;text-decoration:none!important;
 font:650 12.5px/1.35 Inter,system-ui,sans-serif!important;
 cursor:pointer;transition:background .15s ease,box-shadow .15s ease,transform .15s ease;
}
.bfb-shell :is(.bfb-primary,.bfb-register-submit),.bfb-shell button[type=submit]:not(.bfb-btn){
 background:linear-gradient(110deg,#0952b3,#1477d5)!important;
 color:#fff!important;border:1px solid #0952b3!important;
}
.bfb-shell .bfb-btn.muted{background:#f4f6f9!important;color:#697d91!important;border-color:#dae1e9!important}
.bfb-shell :is(button,.bfb-btn,.bfb-primary):hover{filter:none!important;box-shadow:0 5px 14px #0952b326!important;transform:translateY(-1px)}
.bfb-shell :is(button,.bfb-btn,.bfb-primary):focus-visible{outline:3px solid #74b8ff!important;outline-offset:2px!important}
.bfb-shell :is(button,.bfb-btn,.bfb-primary):disabled{opacity:.55;cursor:not-allowed;transform:none}
.bfb-shell .bfb-actions{gap:10px;margin:15px 0}
.bfb-shell .bfb-tabs{gap:8px;border-color:var(--bfb-ui-line)!important;margin-bottom:18px;padding-bottom:12px}
.bfb-shell .bfb-tabs a{background:#fff!important;color:#295981!important;border:1px solid var(--bfb-ui-line)!important;border-radius:8px!important;padding:9px 13px!important;font-size:12px;font-weight:650}
.bfb-shell .bfb-tabs a:hover{background:#eaf4ff!important}
.bfb-shell .bfb-tabs a.selected{background:#0952b3!important;border-color:#0952b3!important;color:#fff!important}
.bfb-shell .bfb-selectline{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.bfb-shell .bfb-selectline strong{font-size:13px;font-weight:650}
.bfb-shell .bfb-scroll{background:#fff;border-color:var(--bfb-ui-line)!important;border-radius:10px!important;box-shadow:0 3px 14px #2448780b}
.bfb-shell .bfb-scroll table{color:var(--bfb-ui-text)!important;min-width:900px}
.bfb-shell .bfb-scroll :is(th,td){font:500 12px/1.45 Inter,system-ui,sans-serif;color:var(--bfb-ui-text)!important;border-bottom:1px solid #e7edf4!important;padding:12px 13px}
.bfb-shell .bfb-scroll th{background:#f3f8fd!important;color:#24598c!important;font-weight:750;letter-spacing:.01em}
.bfb-shell .bfb-scroll tr:nth-child(even){background:#fafcff!important}
.bfb-shell .bfb-scroll tr:hover{background:#edf6ff!important}
.bfb-shell .bfb-chips .bfb-chip,.bfb-shell .bfb-chip{background:#eaf4ff!important;border:1px solid #d1e4f6!important;color:#155990!important;border-radius:999px!important;padding:6px 11px}
.bfb-shell .bfb-pager a{background:#eaf4ff!important;color:#155990!important;border:1px solid #d1e4f6;border-radius:7px}
.bfb-shell .bfb-pager a.active{background:#0952b3!important;color:#fff!important}
.bfb-shell .bfb-alert{background:#fff8ed!important;border:1px solid #ebd5a7!important;color:#886115!important;border-radius:9px!important;padding:13px 15px!important}
.bfb-shell .bfb-alert.bfb-ok,.bfb-shell .bfb-ok{background:#ebf9f1!important;border:1px solid #bce9d1!important;color:#176b43!important}
.bfb-shell .bfb-winners div{background:#eff8ff!important;border:1px solid #b9daf4!important;border-radius:9px!important}
.bfb-shell .bfb-draw-box{background:#f5faff!important;border:1px dashed #8fc0ee!important;border-radius:12px!important}
.bfb-shell .bfb-wa-phone{color:#087f4a!important}
.bfb-shell code{background:#e9f3ff!important;color:#0952b3!important;border-radius:5px}
.bfb-shell .bfb-reply-config{border-left:3px solid #0952b3!important}
.bfb-draw-overlay{background:#102a52b8!important}
.bfb-draw-overlay-box{background:#fff!important;color:#1c3551!important;border:1px solid #d8e8f7!important;border-radius:16px!important;font-family:Inter,system-ui,sans-serif!important;box-shadow:0 24px 85px #0a25474d}
.bfb-draw-overlay-box h2{color:#154b89!important}
.bfb-draw-overlay-box strong{color:#0952b3!important}
/* Summary indicators / referrals / participant portal */
.bfb-portal-metrics{gap:14px!important;margin:0 0 18px}
.bfb-shell .bfb-metric{padding:20px!important;gap:10px}
.bfb-shell .bfb-metric strong{font:750 clamp(26px,3vw,34px)/1.1 Inter,system-ui,sans-serif!important;color:var(--bfb-ui-blue)!important;letter-spacing:-.045em}
.bfb-shell .bfb-metric span{font:600 12px/1.5 Inter,system-ui,sans-serif!important;color:var(--bfb-ui-muted)!important}
.bfb-shell .bfb-ticket{background:#f7faff!important;padding:16px 10px!important;border-radius:9px!important;gap:6px}
.bfb-shell .bfb-ticket strong{font:750 17px/1.3 Inter,system-ui,sans-serif!important;color:#16528f!important;letter-spacing:.015em}
.bfb-shell .bfb-ticket small{color:var(--bfb-ui-muted)!important;font-size:11px}
.bfb-shell .bfb-ticket-grid{gap:10px}
/* Public promotional page, registration, login and access-by-token share one visual family. */
.bfb-shell.bfb-public,.bfb-shell.bfb-register{
 background:#fff!important;border:1px solid var(--bfb-ui-line)!important;
 border-radius:13px!important;box-shadow:0 8px 32px #134d8c12!important;
 padding:0!important;overflow:hidden;
}
.bfb-public .bfb-hero,.bfb-register .bfb-register-head{
 background:linear-gradient(120deg,#073e96,#0c64c5)!important;
 border-bottom:0!important;padding:clamp(26px,4vw,42px) clamp(20px,4vw,40px)!important;
 color:#fff!important;
}
.bfb-public .bfb-hero :is(h1,p,small),.bfb-register .bfb-register-head :is(h1,p),.bfb-register-head .bfb-kicker{color:#fff!important}
.bfb-public .bfb-hero h1,.bfb-register .bfb-register-head h1{font-size:clamp(23px,3.25vw,32px)!important;line-height:1.23!important;letter-spacing:-.025em!important}
.bfb-public .bfb-hero p,.bfb-register .bfb-register-head p{color:#e2efff!important;font-size:14px!important}
.bfb-public .bfb-hero small{font-size:10px;letter-spacing:.14em;color:#c8e5ff!important}
.bfb-register .bfb-register-icon{background:#ffffff25!important;color:#fff!important;border:1px solid #ffffff57;border-radius:12px!important;box-shadow:none!important;transform:none!important}
.bfb-public .bfb-fields{padding:clamp(18px,3.5vw,30px)!important;gap:10px}
.bfb-public .bfb-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bfb-public .bfb-note{font-size:11px!important;color:#61758c!important}
.bfb-public details{background:#f9fcff!important;border:1px solid var(--bfb-ui-line)!important;border-radius:9px!important;color:var(--bfb-ui-text)!important}
.bfb-public summary{color:#275c91;font-size:13px}
.bfb-public .bfb-recovery{margin:19px clamp(18px,3vw,28px)!important}
.bfb-register .bfb-register-form{padding:clamp(18px,3.5vw,30px)!important}
.bfb-register .bfb-register-grid{gap:3px 17px}
.bfb-register .bfb-register-foot,.bfb-register .bfb-register-note,.bfb-register label small{color:var(--bfb-ui-muted)!important}
.bfb-register .bfb-register-check{color:#455b75!important}
.bfb-register .bfb-current-user{background:#e9f9f0!important;border:1px solid #bce9d1!important;color:#206d49!important}
.bfb-register .bfb-register-submit{min-height:48px!important}
.bfb-register a{color:#0952b3!important}
/* WordPress back-office pages: only the plugin's own three screens are themed. */
body.wp-admin:has(.bfb-admin-wrap) #wpcontent,
body.wp-admin:has(.bfb-admin-wrap) #wpbody-content{background:#eff3f8!important}
body.wp-admin .bfb-admin-wrap{background:transparent!important;color:var(--bfb-ui-text)!important;font:400 13px/1.6 Inter,system-ui,sans-serif!important;padding:22px 22px 45px 0!important}
body.wp-admin .bfb-admin-wrap h1{font-size:25px!important;color:#173e6d!important;margin:4px 0 16px!important}
body.wp-admin .bfb-admin-wrap h1 small{color:#5f7b9d!important;font-size:12px!important;font-weight:500}
body.wp-admin .bfb-admin-wrap h2{font-size:18px!important;color:#173e6d!important}
body.wp-admin .bfb-admin-wrap h3{font-size:15px!important}
body.wp-admin .bfb-admin-wrap :is(p,.description){color:var(--bfb-ui-muted)!important;font-size:12px;line-height:1.6}
body.wp-admin .bfb-admin-wrap .bfb-admin-config{
 max-width:1200px;background:#fff!important;border:1px solid var(--bfb-ui-line)!important;
 border-radius:12px!important;box-shadow:0 3px 18px #2448780c!important;
 padding:24px!important;margin:18px 0!important;
}
body.wp-admin .bfb-admin-wrap .bfb-brand-config{border-left:3px solid var(--bfb-ui-blue)!important}
body.wp-admin .bfb-admin-wrap label{color:#354963!important;font:650 12px/1.5 Inter,system-ui,sans-serif!important}
body.wp-admin .bfb-admin-wrap :is(input:not([type=checkbox]),select,textarea){background:#fff!important;border:1px solid #cbd9e8!important;border-radius:8px!important;color:#223b57!important;font:500 13px/1.45 Inter,system-ui,sans-serif!important;min-height:39px!important;padding:9px 12px!important}
body.wp-admin .bfb-admin-wrap :is(input:not([type=checkbox]),select,textarea):focus{border-color:#0952b3!important;box-shadow:0 0 0 3px #1773cb22!important}
body.wp-admin .bfb-admin-wrap .button{background:#e9f3fe!important;border:1px solid #c8ddf5!important;border-radius:8px!important;color:#1557a0!important;font:650 12px/1.35 Inter,system-ui,sans-serif!important;padding:8px 13px!important;min-height:36px}
body.wp-admin .bfb-admin-wrap .button-primary{background:#0952b3!important;border-color:#0952b3!important;color:#fff!important}
body.wp-admin .bfb-admin-wrap .button:hover{filter:none!important;box-shadow:0 4px 12px #0952b322!important}
body.wp-admin .bfb-admin-wrap a{color:#0952b3!important}
body.wp-admin .bfb-admin-wrap a.button-primary{color:#fff!important}
body.wp-admin .bfb-admin-wrap hr{border-color:var(--bfb-ui-line)!important}
body.wp-admin .bfb-admin-wrap .bfb-admin-scroller{border:1px solid var(--bfb-ui-line)!important;border-radius:11px!important;background:#fff!important;box-shadow:0 3px 15px #2448780b!important}
body.wp-admin .bfb-admin-wrap .bfb-admin-table{color:var(--bfb-ui-text)!important;background:#fff!important;border:0!important}
body.wp-admin .bfb-admin-wrap .bfb-admin-table th{background:#f2f8ff!important;color:#24598c!important;border-color:#e4ebf3!important;font:700 12px/1.4 Inter,system-ui,sans-serif!important;padding:12px}
body.wp-admin .bfb-admin-wrap .bfb-admin-table td{background:#fff!important;color:var(--bfb-ui-text)!important;border-color:#e4ebf3!important;font-size:12px!important;padding:11px 12px}
body.wp-admin .bfb-admin-wrap .bfb-admin-table tr:nth-child(even) td{background:#f9fcff!important}
body.wp-admin .bfb-admin-wrap .bfb-admin-table .description{color:#6c8196!important}
body.wp-admin .bfb-admin-wrap .bfb-admin-table .bfb-chip{background:#eaf4ff!important;color:#155990!important;border:1px solid #d1e4f6!important;border-radius:999px!important}
body.wp-admin .bfb-admin-wrap .bfb-total{color:#0952b3!important}
body.wp-admin .bfb-admin-wrap .notice{background:#effaf4!important;border-color:#36a06c!important}
body.wp-admin .bfb-admin-wrap .notice p{color:#176b43!important}
/* Responsive: keep the same typography scale, colors, borders and rhythm. */
@media(max-width:1100px){
 body.bfb-standalone-page .bfb-app-frame.bfb-layout-panel{grid-template-columns:216px minmax(0,1fr)}
 .bfb-app-brand{padding:17px 13px}.bfb-app-nav{padding:0 8px}
 body.bfb-standalone-page .bfb-standalone-main{padding:20px!important}
}
@media(max-width:900px){
 body.bfb-standalone-page .bfb-app-frame.bfb-layout-panel{display:block}
 body.bfb-standalone-page .bfb-app-sidebar{position:fixed;inset:0 auto 0 0;width:min(290px,85vw);height:100dvh;min-height:0;transform:translateX(-105%);transition:transform .2s ease;z-index:110;box-shadow:10px 0 35px #102d5c36}
 body.bfb-standalone-page.bfb-nav-open .bfb-app-sidebar{transform:translateX(0)}
 body.bfb-standalone-page .bfb-app-nav-backdrop{position:fixed;inset:0;border:0;background:#102d5c80;z-index:100;display:none;cursor:pointer}
 body.bfb-standalone-page.bfb-nav-open .bfb-app-nav-backdrop{display:block}
 body.bfb-standalone-page .bfb-app-menu-toggle{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;color:#fff;background:#ffffff18;border:1px solid #ffffff45;border-radius:8px;cursor:pointer}
 .bfb-app-menu-toggle .dashicons{font-size:21px;width:21px;height:21px}
 body.bfb-standalone-page .bfb-app-topbar{min-height:60px;padding:10px 16px}
 body.bfb-standalone-page .bfb-standalone-main{padding:17px!important}
}
@media(max-width:620px){
 body.bfb-standalone-page .bfb-app-topbar{padding:10px 13px;gap:10px}
 .bfb-app-topbar-heading strong{font-size:13px}.bfb-app-topbar-heading small{font-size:9px;letter-spacing:0}
 .bfb-app-topbar-brand{display:none}.bfb-app-topbar-shortcut{padding:8px;font-size:0;gap:0}.bfb-app-topbar-shortcut .dashicons{font-size:18px;width:18px;height:18px}
 body.bfb-standalone-page .bfb-standalone-main{padding:12px!important}
 .bfb-shell .bfb-top{display:block!important;padding:4px 0 14px!important}
 .bfb-shell .bfb-top h1{font-size:23px!important}
 .bfb-shell .bfb-label{display:inline-block;margin-top:9px}
 .bfb-shell .bfb-card{padding:16px!important}
 .bfb-shell .bfb-grid,.bfb-register .bfb-register-grid,.bfb-public .bfb-columns{grid-template-columns:minmax(0,1fr)!important}
 .bfb-register .bfb-span-2{grid-column:auto}
 .bfb-shell .bfb-portal-metrics{gap:9px!important;grid-template-columns:repeat(2,minmax(0,1fr))}
 .bfb-shell .bfb-metric{padding:14px!important}
 .bfb-shell .bfb-metric strong{font-size:26px!important}
 .bfb-shell .bfb-ticket-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .bfb-shell .bfb-ticket{padding:11px 6px!important}
 .bfb-shell .bfb-ticket strong{font-size:14px!important}
 .bfb-shell .bfb-selectline{display:block}
 .bfb-shell .bfb-selectline select{margin-top:7px}
 .bfb-shell .bfb-actions{flex-wrap:wrap}
 .bfb-public .bfb-hero,.bfb-register .bfb-register-head{padding:25px 18px!important}
 .bfb-register .bfb-register-form,.bfb-public .bfb-fields{padding:19px 17px!important}
 .bfb-public .bfb-recovery{margin:15px!important}
 body.wp-admin .bfb-admin-wrap{padding:12px 8px 30px 0!important}
 body.wp-admin .bfb-admin-wrap .bfb-admin-config{padding:15px!important}
}
@media(prefers-reduced-motion:reduce){.bfb-app-sidebar,.bfb-app-nav-link,.bfb-shell .bfb-tile,.bfb-shell :is(button,.bfb-btn,.bfb-primary){transition:none!important}}

/* 1.1.2: Manual do estabelecimento + vídeo, limitado à aba Passo a passo */
.bfb-shell .bfb-help-page{max-width:1060px;margin-left:auto!important;margin-right:auto!important}
.bfb-shell .bfb-help-page .bfb-help-section-title{font-size:13px!important;font-weight:750!important;color:#56728f!important;text-transform:uppercase;letter-spacing:.09em!important;margin:0 0 16px!important}
.bfb-shell .bfb-help-video{width:100%;max-width:920px;aspect-ratio:16 / 9;position:relative;overflow:hidden;border:1px solid #cbddec;border-radius:14px;background:#0b2c58;margin:0 auto 26px;box-shadow:0 10px 22px #0952b312}
.bfb-shell .bfb-help-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.bfb-shell .bfb-help-manual{max-width:920px;margin:0 auto;color:var(--bfb-ui-text);font-size:14px;line-height:1.75;overflow-wrap:break-word}
.bfb-shell .bfb-help-manual h1{color:#123c70!important;font-size:clamp(22px,2.15vw,30px)!important;margin:0 0 8px!important;font-weight:800!important}
.bfb-shell .bfb-help-manual h2{color:#1b559c!important;font-size:clamp(17px,1.5vw,21px)!important;margin:12px 0 18px!important;font-weight:700!important}
.bfb-shell .bfb-help-manual h3{color:#17487f!important;font-size:clamp(16px,1.3vw,19px)!important;margin:0 0 13px!important;font-weight:750!important}
.bfb-shell .bfb-help-manual :is(p,li){color:#344f6f!important;font-size:14px!important;line-height:1.75!important}
.bfb-shell .bfb-help-manual p{margin:0 0 13px!important}
.bfb-shell .bfb-help-manual :is(ol,ul){margin:7px 0 18px!important;padding-left:24px!important;list-style-position:outside}
.bfb-shell .bfb-help-manual ol{list-style-type:decimal!important}
.bfb-shell .bfb-help-manual ul{list-style-type:disc!important}
.bfb-shell .bfb-help-manual li{display:list-item!important;margin:0 0 7px!important;padding-left:3px}
.bfb-shell .bfb-help-manual li::marker{color:#0952b3;font-weight:700}
.bfb-shell .bfb-help-manual strong{color:#163d6c!important;font-weight:750!important}
.bfb-shell .bfb-help-manual hr{border:0!important;border-top:1px solid #dbe6f2!important;height:0!important;margin:29px 0!important}
.bfb-shell .bfb-help-manual a{color:#0952b3!important;text-decoration:underline}
@media(max-width:700px){.bfb-shell .bfb-help-page{padding:18px!important}.bfb-shell .bfb-help-video{border-radius:9px;margin-bottom:20px}.bfb-shell .bfb-help-manual :is(p,li){font-size:13px!important}.bfb-shell .bfb-help-manual :is(ol,ul){padding-left:21px!important}.bfb-shell .bfb-help-manual hr{margin:23px 0!important}}

/* v1.1.3 — Cartão de pós-inscrição com convite rastreado (desktop/mobile). */
.bfb-shell .bfb-signup-success{max-width:780px;margin:0 auto 20px!important;text-align:center;padding:clamp(23px,4vw,38px)!important}
.bfb-shell .bfb-signup-success .bfb-success-icon{font-size:34px;line-height:1;margin:0 0 13px}
.bfb-shell .bfb-signup-success #bfb-success-heading{font-size:clamp(21px,2.7vw,27px)!important;color:#18528d!important;margin-bottom:9px}
.bfb-shell .bfb-success-number{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;background:#edf6ff;border:1px solid #cfe2f7;border-radius:14px;padding:20px 14px;margin:23px auto;max-width:420px}
.bfb-shell .bfb-success-number span{font-size:13px;color:#486685;font-weight:650}
.bfb-shell .bfb-success-number strong{font:750 clamp(27px,4.5vw,35px)/1.18 Inter,system-ui,sans-serif!important;color:#0952b3!important;letter-spacing:0.05em}
.bfb-shell .bfb-success-invite{padding-top:5px}
.bfb-shell .bfb-success-invite h3{font-size:clamp(16px,2vw,19px)!important;margin-bottom:10px}
.bfb-shell .bfb-success-invite p{max-width:550px;margin:0 auto 16px}
.bfb-shell .bfb-success-invite label{text-align:left;display:block;max-width:550px;margin:0 auto}
.bfb-shell .bfb-success-invite input[readonly]{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bfb-shell .bfb-success-buttons{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin:16px auto 12px}
.bfb-shell .bfb-success-buttons>*{flex:0 1 255px;display:flex;justify-content:center;align-items:center;min-height:44px;text-decoration:none!important;text-align:center;font-size:13px!important}
.bfb-shell .bfb-success-buttons .bfb-wa-share{background:#198451!important;border-color:#198451!important;color:white!important}
.bfb-shell .bfb-success-buttons .bfb-wa-share:hover{background:#126f42!important}
.bfb-shell .bfb-signup-success .bfb-hint{font-size:11.5px!important;margin:18px auto 0;max-width:560px}
@media(max-width:530px){.bfb-shell .bfb-success-buttons>*{flex:1 1 100%}.bfb-shell .bfb-success-number{margin:17px auto}.bfb-shell .bfb-signup-success{padding:20px 14px!important}}

/* 1.1.4 — componentes padronizados da plataforma, sem alterar o restante do tema. */
.bfb-shell .bfb-template-list{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:15px 0 20px}
.bfb-shell details.bfb-accordion{padding:0!important;overflow:hidden;border:1px solid #d7e5f3!important;border-radius:12px!important;background:#fff!important;margin:0!important}
.bfb-shell details.bfb-accordion>summary{display:flex;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;list-style:none;padding:16px 18px!important;font:700 13px/1.45 Inter,system-ui,sans-serif;color:#164a85;background:#f9fcff}
.bfb-shell details.bfb-accordion>summary::-webkit-details-marker{display:none}
.bfb-shell details.bfb-accordion>summary::before{content:'▸';color:#075dbd;font-size:16px}
.bfb-shell details.bfb-accordion[open]>summary::before{content:'▾'}
.bfb-shell .bfb-mini-status{margin-left:auto;font-size:11px;color:#627c98;background:#eff5fc;border-radius:100px;padding:5px 10px}
.bfb-shell .bfb-accordion-body{padding:20px 18px;border-top:1px solid #dce8f5}
.bfb-shell .bfb-accordion-body textarea{width:100%!important;min-height:150px}
.bfb-shell .bfb-field-editor table{min-width:690px}
.bfb-shell .bfb-field-editor table input[type=text]{min-width:170px}
.bfb-shell .bfb-field-editor table input.bfb-field-order{max-width:78px;min-width:60px}
.bfb-shell .bfb-extra-fields{display:grid;gap:12px;margin:16px 0}
.bfb-shell .bfb-extra-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px;background:#f7fbff;border:1px solid #dbe8f5;border-radius:11px}
.bfb-shell .bfb-extra-row .bfb-check{align-self:end;padding-bottom:9px}
.bfb-shell .bfb-extra-row .bfb-remove-extra{justify-self:start;align-self:end}
.bfb-shell .bfb-pause-control{border-left:4px solid #e59b38!important}
.bfb-shell .bfb-pause-control .bfb-danger{background:#fff0ed!important;border-color:#ed9f92!important;color:#a32919!important}
.bfb-shell .bfb-pause-notice{text-align:center;padding:32px!important;border:1px solid #f2d9ac!important;background:#fff9ef!important}
.bfb-shell .bfb-pause-notice h2{font-size:24px!important}
.bfb-shell .bfb-draw-screen .bfb-draw-stage{border:1px solid #d2e4f7;background:linear-gradient(135deg,#f3f9ff,#fff);border-radius:15px;padding:clamp(18px,3vw,30px);margin:20px 0 28px}
.bfb-shell .bfb-draw-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.bfb-shell .bfb-draw-heading h3{font-size:22px!important;margin:10px 0!important}
.bfb-shell .bfb-mini-label{font-size:11px;letter-spacing:.1em;font-weight:750;color:#1462aa}
.bfb-shell .bfb-draw-trophy{font-size:42px}
.bfb-shell .bfb-draw-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center;gap:18px;margin:25px 0}
.bfb-shell .bfb-draw-controls input[type=number]{max-width:160px}
.bfb-shell .bfb-draw-controls small{display:block;margin-top:7px;color:#60788f;font-size:11px}
.bfb-shell .bfb-draw-start{margin-top:18px;min-height:48px;font-size:15px!important}
.bfb-shell .bfb-draw-list-header{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin:20px 0 16px}
.bfb-shell .bfb-draw-list-header h3{font-size:18px!important}
.bfb-shell .bfb-draw-table table{min-width:480px}
.bfb-shell .bfb-draw-table td:nth-child(2){font-weight:750;font-variant-numeric:tabular-nums}
.bfb-shell .bfb-dynamic-field{display:block;margin:10px 0}
.bfb-shell .bfb-dynamic-field input,.bfb-shell .bfb-dynamic-field select{display:block;width:100%;margin-top:6px}
.bfb-shell .bfb-dynamic-field input[type=checkbox]{display:inline-block;width:auto}
@media(max-width:720px){
  .bfb-shell .bfb-extra-row,.bfb-shell .bfb-draw-controls{grid-template-columns:1fr}
  .bfb-shell .bfb-draw-heading h3{font-size:18px!important}
  .bfb-shell .bfb-draw-trophy{font-size:30px}
  .bfb-shell .bfb-draw-list-header .bfb-btn{width:100%;text-align:center}
}

/* ===== v1.1.5: Identidade por estabelecimento (apenas páginas públicas) ===== */
.bfb-grid>.bfb-brand-customization{grid-column:1 / -1}
.bfb-brand-customization{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:start;margin:18px 0 8px;padding:16px;border:1px solid #d6e5f5;border-radius:11px;background:#f8fbff}
.bfb-brand-customization label{display:grid;gap:7px;min-width:0}
.bfb-brand-customization label small{font-size:11px;color:#60778c;line-height:1.5}
.bfb-brand-customization input[type=file]{width:100%;max-width:100%;font-size:12px;min-height:46px;padding:10px;background:#fff}
.bfb-brand-picker-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.bfb-brand-customization input[type=color]{width:74px;height:48px;padding:4px;cursor:pointer;border:1px solid #c9dbea;border-radius:9px;background:#fff}
.bfb-brand-hex{font-size:13px;font-weight:750;color:#173a5e}
.bfb-brand-preview{width:55px;height:34px;border-radius:7px;border:1px solid #d2deee;display:inline-block}
.bfb-logo-preview{grid-column:1 / -1;display:flex;gap:14px;align-items:center}
.bfb-logo-preview span{font-size:11px;font-weight:600;color:#60778c}
.bfb-logo-preview img{max-width:145px;max-height:76px;object-fit:contain;border:1px solid #d6e5f5;background:#fff;border-radius:7px;padding:5px}
@media(max-width:700px){.bfb-brand-customization{grid-template-columns:1fr}.bfb-logo-preview{grid-column:auto}}
/* Each store changes ONE theme color; readable foreground calculated in PHP. */
body.bfb-standalone-form .bfb-app-topbar,
body.bfb-standalone-participant .bfb-app-topbar{
 background:linear-gradient(115deg,color-mix(in srgb,var(--bfb-brand,#0952b3) 83%,#071a30),var(--bfb-brand,#0952b3))!important;
 color:var(--bfb-brand-contrast,#fff)!important;
}
body.bfb-standalone-form .bfb-app-topbar :is(strong,small,.bfb-app-topbar-brand,.bfb-app-topbar-heading),
body.bfb-standalone-participant .bfb-app-topbar :is(strong,small,.bfb-app-topbar-brand,.bfb-app-topbar-heading){color:var(--bfb-brand-contrast,#fff)!important}
.bfb-shell.bfb-public .bfb-hero,
.bfb-shell.bfb-portal>.bfb-top{
 background:linear-gradient(120deg,color-mix(in srgb,var(--bfb-brand,#0952b3) 84%,#071a30),var(--bfb-brand,#0952b3))!important;
 color:var(--bfb-brand-contrast,#fff)!important;
}
.bfb-shell.bfb-public .bfb-hero :is(h1,p,small),
.bfb-shell.bfb-portal>.bfb-top{padding:22px 24px!important;border-radius:12px!important;margin-bottom:20px!important}
body.bfb-standalone-form .bfb-app-guest-symbol,body.bfb-standalone-participant .bfb-app-guest-symbol{color:var(--bfb-brand-contrast,#fff)!important;border-color:currentColor!important}
.bfb-shell.bfb-portal>.bfb-top :is(h1,p,.bfb-kicker){color:var(--bfb-brand-contrast,#fff)!important}
.bfb-shell.bfb-public :is(.bfb-fields button[type=submit],.bfb-fields .bfb-primary,.bfb-pause-notice .bfb-primary),
.bfb-shell.bfb-portal :is(.bfb-primary,.bfb-actions button){
 background:var(--bfb-brand,#0952b3)!important;
 border-color:var(--bfb-brand,#0952b3)!important;
 color:var(--bfb-brand-contrast,#fff)!important;
}
.bfb-shell.bfb-public .bfb-success-number strong,
.bfb-shell.bfb-portal .bfb-metric strong,
.bfb-shell.bfb-portal .bfb-ticket strong,
.bfb-shell.bfb-public details summary{color:var(--bfb-brand,#0952b3)!important}
.bfb-shell.bfb-public :is(input,select,textarea):focus-visible,
.bfb-shell.bfb-portal :is(input,select,textarea):focus-visible{outline:2px solid var(--bfb-brand,#0952b3)!important;outline-offset:2px}
/* WhatsApp remains identifiable as a sharing action rather than another brand CTA. */
.bfb-shell.bfb-public .bfb-wa-share{background:#168348!important;border-color:#168348!important;color:#fff!important}

/* v1.1.6 — sugestão inicial de campanha e critérios editáveis */
.bfb-preset-note{border:1px solid #bdd5f4;background:#f0f6ff;border-radius:14px;padding:16px 20px;margin:12px 0 18px;color:#123e75}
.bfb-preset-note p{margin:8px 0 0;line-height:1.65}
.bfb-preset-eligibility{background:#f8fbff;border:1px solid #dce8f5;border-radius:14px;padding:18px 20px;margin:16px 0}
.bfb-preset-eligibility h3{margin:0 0 8px}
.bfb-preset-eligibility p{line-height:1.6;margin-bottom:16px}

/* 1.1.7 – Dashboard: same design tokens as the rest of the platform */
.bfb-shell .bfb-dashboard-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:22px 0 14px}
.bfb-shell .bfb-dashboard-stat{min-width:0;display:flex;flex-direction:column;gap:8px;align-items:flex-start;padding:22px;background:#fff;border:1px solid var(--bfb-ui-line);border-radius:16px;box-shadow:0 7px 25px #173e6410}
.bfb-shell .bfb-dashboard-stat .dashicons{font-size:22px;width:24px;height:24px;color:var(--bfb-ui-blue)}
.bfb-shell .bfb-dashboard-stat strong{font:750 clamp(30px,3vw,40px)/1.15 Inter,system-ui,sans-serif;color:var(--bfb-ui-blue);font-variant-numeric:tabular-nums}
.bfb-shell .bfb-dashboard-stat>span:last-child{font-size:13px;line-height:1.4;font-weight:600;color:var(--bfb-ui-muted)}
.bfb-shell .bfb-dashboard-note{font-size:12px;color:var(--bfb-ui-muted);margin:10px 0 18px}
.bfb-shell .bfb-dashboard .bfb-selectline{margin-top:16px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.bfb-shell .bfb-dashboard .bfb-selectline select{max-width:min(420px,100%)}
@media(max-width:900px){.bfb-shell .bfb-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.bfb-shell .bfb-dashboard-cards{grid-template-columns:1fr;gap:10px}.bfb-shell .bfb-dashboard-stat{padding:17px}}
\n/* v1.1.8 · Editor de regulamento com exemplos vermelhos, substituições em preto. */
.bfb-shell .bfb-terms-section{display:block;margin:18px 0 13px}
.bfb-shell .bfb-terms-section>label{display:block;margin-bottom:9px;font-weight:700!important}
.bfb-shell .bfb-terms-help{margin:0 0 10px!important;font-size:13px!important}
.bfb-shell .bfb-terms-red-key{color:#c82333;font-weight:750}
.bfb-shell .bfb-terms-editor{
  display:none;min-height:350px;max-height:540px;overflow:auto;padding:18px 20px;
  background:#fff;color:#172c46;border:1px solid #cbd9e8;border-radius:10px;
  font:450 14px/1.65 Inter,system-ui,sans-serif;white-space:normal;
  overflow-wrap:anywhere;box-sizing:border-box;
}
.bfb-shell .bfb-terms-editor:focus-visible{outline:2px solid #126bc8;outline-offset:2px}
.bfb-shell .bfb-terms-editor :is(p,div,li){color:#172c46!important;font:inherit!important;line-height:1.65!important}
.bfb-shell .bfb-terms-editor p{margin:0 0 13px!important}
.bfb-shell .bfb-terms-editor .bfb-edit-example{color:#c82333!important;font-weight:650}
.bfb-shell .bfb-terms-section.bfb-terms-enhanced .bfb-terms-editor{display:block}
.bfb-shell .bfb-terms-section.bfb-terms-enhanced .bfb-terms-fallback{display:none!important}
.bfb-shell .bfb-instagram-follow{display:flex!important;align-items:flex-start;gap:11px;padding:13px 12px;background:#f1f7ff;border:1px solid #c9def5;border-radius:9px;margin:14px 0}
.bfb-shell .bfb-instagram-follow input{flex:0 0 auto;margin-top:4px}
.bfb-shell .bfb-instagram-follow span{line-height:1.5;font-weight:500}
body.bfb-standalone-form .bfb-app-topbar-trailing,body.bfb-standalone-participant .bfb-app-topbar-trailing{display:none!important}
/* O título do cabeçalho mobile fica legível em todas as abas (incluindo Formulário). */
@media(max-width:900px){
  body.bfb-standalone-page .bfb-app-menu-toggle{width:42px;height:42px;flex-basis:42px}
  .bfb-app-menu-toggle .dashicons{font-size:23px;width:23px;height:23px}
}
@media(max-width:620px){
  body.bfb-standalone-page .bfb-app-topbar-heading strong{font-size:17px!important;line-height:1.32!important}
  body.bfb-standalone-page .bfb-app-topbar-heading small{font-size:11px!important}
  .bfb-shell .bfb-terms-editor{font-size:15px;padding:15px;min-height:300px;max-height:480px}
}

/* SMART ESCALA 1.1.9 · personalize a identidade do estabelecimento, nunca o wp-admin central. */
body.bfb-standalone-panel .bfb-app-sidebar{background:var(--bfb-brand,#0952b3)!important;color:var(--bfb-brand-contrast,#fff)!important}
body.bfb-standalone-panel .bfb-app-topbar{background:var(--bfb-brand,#0952b3)!important;color:var(--bfb-brand-contrast,#fff)!important}
body.bfb-standalone-panel .bfb-app-topbar :is(strong,.bfb-app-topbar-brand,.bfb-app-topbar-shortcut),body.bfb-standalone-panel .bfb-app-sidebar :is(strong,small,.bfb-app-nav-link,.dashicons){color:var(--bfb-brand-contrast,#fff)!important}
body.bfb-standalone-panel .bfb-app-nav-link.is-active{background:color-mix(in srgb,var(--bfb-brand-contrast,#fff) 17%,transparent)!important;box-shadow:inset 3px 0 var(--bfb-brand-contrast,#fff)!important}
body.bfb-standalone-panel .bfb-shell :is(.bfb-primary,.bfb-btn,.bfb-campaign-list a){border-color:var(--bfb-brand,#0952b3);}
body.bfb-standalone-panel .bfb-shell .bfb-primary{background:var(--bfb-brand,#0952b3)!important;color:var(--bfb-brand-contrast,#fff)!important}
body.bfb-standalone-form .bfb-app-topbar-heading strong,body.bfb-standalone-participant .bfb-app-topbar-heading strong{text-transform:uppercase!important}
.bfb-campaigns-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.bfb-campaigns-heading h2{margin:0!important}
.bfb-campaign-list{overflow:auto;border:1px solid #dce7f2;border-radius:12px}
.bfb-campaign-list table{width:100%;border-collapse:collapse;min-width:450px}
.bfb-campaign-list td,.bfb-campaign-list th{padding:12px 15px;border-bottom:1px solid #e5edf5;text-align:left}
.bfb-campaign-list tr:last-child td{border-bottom:0}.bfb-campaign-list th{background:#f2f7fc}
.bfb-campaign-list td:first-child{width:70%}.bfb-campaign-list small{display:block;max-width:600px;color:#64778e;margin-top:4px}
.bfb-shell .bfb-fields-table input[type=checkbox],.bfb-shell .bfb-form-fields input[type=checkbox],.bfb-shell .bfb-field-editor input[type=checkbox]{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;margin:auto!important;accent-color:var(--bfb-brand,#0952b3)!important}
body.wp-admin .bfb-cadastros-controls{display:flex;gap:10px;align-items:center;margin:16px 0;flex-wrap:wrap}
body.wp-admin #bfb-cadastros-search{width:min(370px,90vw)}
body.wp-admin .bfb-cadastros-scroll{overflow:auto;max-height:67vh;border:1px solid #d2ddea;border-radius:10px}
body.wp-admin .bfb-cadastros-table{min-width:2400px;width:100%;border-collapse:separate;border-spacing:0}
body.wp-admin .bfb-cadastros-table th{position:sticky;top:0;background:#eaf3ff;z-index:2;white-space:nowrap}
body.wp-admin .bfb-cadastros-table td{white-space:nowrap;vertical-align:middle}
body.wp-admin .bfb-cadastros-table th:first-child,body.wp-admin .bfb-cadastros-table td:first-child{position:sticky;left:0;z-index:3;background:#f6fbff;min-width:175px}
body.wp-admin .bfb-cadastros-table th:nth-child(2),body.wp-admin .bfb-cadastros-table td:nth-child(2){position:sticky;left:175px;z-index:3;background:#f6fbff;min-width:170px}
body.wp-admin .bfb-cadastros-table .num{text-align:right;font-variant-numeric:tabular-nums}
body.wp-admin .bfb-cadastros-table .bfb-sort{border:0;background:transparent;cursor:pointer;font:inherit;font-weight:700;color:#164d8d;padding:0}
body.wp-admin .bfb-invite-link{display:flex;gap:4px;align-items:center}
body.wp-admin .bfb-invite-link input{width:240px;min-width:240px}
@media(max-width:800px){.bfb-campaign-list td,.bfb-campaign-list th{padding:9px 10px}.bfb-app-topbar-shortcut{font-size:11px!important}}


/* SMART ESCALA v1.2.4: UM seletor de cor, dois tons na identidade da navegação.
   Sidebar 28% mais clara (mistura com branco), Topbar 30% mais escura.
   Contraste calculado em PHP, sem alterar conteúdo, rotas ou valores salvos. */
body.bfb-standalone-panel .bfb-app-sidebar {
    background:var(--bfb-brand-sidebar,#4E82C8)!important;
    color:var(--bfb-brand-sidebar-contrast,#FFFFFF)!important;
}
body.bfb-standalone-panel .bfb-app-topbar {
    background:var(--bfb-brand-topbar,#073D8B)!important;
    color:var(--bfb-brand-topbar-contrast,#FFFFFF)!important;
}
body.bfb-standalone-panel .bfb-app-sidebar :is(.bfb-app-brand,.bfb-app-brand-copy strong,.bfb-app-brand-copy small,.bfb-app-nav-caption,.bfb-app-nav-link,.bfb-app-nav-link .dashicons,.bfb-app-sidebar-bottom) {
    color:var(--bfb-brand-sidebar-contrast,#FFFFFF)!important;
}
body.bfb-standalone-panel .bfb-app-sidebar :is(.bfb-app-brand,.bfb-app-nav-link){border-color:color-mix(in srgb,var(--bfb-brand-sidebar-contrast,#fff) 18%,transparent)!important}
body.bfb-standalone-panel .bfb-app-nav-link:is(:hover,:focus-visible),
body.bfb-standalone-panel .bfb-app-nav-link.is-active {
    background:color-mix(in srgb,var(--bfb-brand-sidebar-contrast,#FFFFFF) 13%,transparent)!important;
}
body.bfb-standalone-panel .bfb-app-nav-link.is-active {
    box-shadow:inset 3px 0 0 var(--bfb-brand-sidebar-contrast,#FFFFFF)!important;
}
body.bfb-standalone-panel .bfb-app-topbar :is(.bfb-app-topbar-heading strong,.bfb-app-topbar-heading small,.bfb-app-topbar-brand,.bfb-app-topbar-shortcut,.bfb-app-topbar-shortcut .dashicons,.bfb-app-menu-toggle .dashicons) {
    color:var(--bfb-brand-topbar-contrast,#FFFFFF)!important;
}
body.bfb-standalone-panel .bfb-app-topbar .bfb-app-topbar-shortcut {
    border-color:color-mix(in srgb,var(--bfb-brand-topbar-contrast,#FFFFFF) 25%,transparent)!important;
}
/* A página pública usa o mesmo tom escuro no cabeçalho, mantendo o herói e botões na cor base. */
body.bfb-standalone-form .bfb-app-topbar,
body.bfb-standalone-participant .bfb-app-topbar {
    background:var(--bfb-brand-topbar,#073D8B)!important;
    color:var(--bfb-brand-topbar-contrast,#FFFFFF)!important;
}
body.bfb-standalone-form .bfb-app-topbar :is(strong,small,.bfb-app-topbar-heading),
body.bfb-standalone-participant .bfb-app-topbar :is(strong,small,.bfb-app-topbar-heading) {
    color:var(--bfb-brand-topbar-contrast,#FFFFFF)!important;
}
