:root{
  --btp-gold:#d7a332;
  --btp-gold-2:#f0cb78;
  --btp-gold-soft:#fbf2df;
  --btp-navy:#1e2e45;
  --btp-navy-2:#273955;
  --btp-charcoal:#243142;
  --btp-ink:#11202f;
  --btp-gray:#687585;
  --btp-gray-2:#8d97a3;
  --btp-bg:#f4f4f1;
  --btp-surface:#ffffff;
  --btp-surface-2:#fbfbfa;
  --btp-border:#e7e8ea;
  --btp-green:#1f8a59;
  --btp-red:#c85c5c;
  --btp-shadow:0 18px 45px rgba(20,31,48,.08);
  --btp-shadow-soft:0 10px 26px rgba(20,31,48,.05);
}

html,body{max-width:100%;overflow-x:hidden}
body:has(.btp-app), body:has(.btp-login-shell){background:var(--btp-bg)!important}
body:has(.btp-app) #wpadminbar, body:has(.btp-login-shell) #wpadminbar{display:none!important}
body:has(.btp-app), body:has(.btp-login-shell){margin-top:0!important;padding-top:0!important}
.btp-app, .btp-login-shell{font-family:Inter,Montserrat,Arial,sans-serif;color:var(--btp-charcoal)}
.btp-app *,.btp-login-shell *{box-sizing:border-box}
.btp-app button,.btp-app input,.btp-app select,.btp-app textarea,.btp-login-shell button,.btp-login-shell input{font:inherit}

/* Login */
.btp-login-shell{min-height:100vh;padding:32px;background:
 radial-gradient(circle at top right, rgba(215,163,50,.20), transparent 23%),
 linear-gradient(180deg, #f7f6f2 0%, #f2f1ec 100%);display:flex;align-items:center;justify-content:center}
.btp-login-card{width:min(520px,100%);background:rgba(255,255,255,.92);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.75);box-shadow:0 30px 80px rgba(24,36,53,.12);border-radius:32px;padding:34px 32px;position:relative;overflow:hidden}
.btp-login-card:before,.btp-login-card:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.btp-login-card:before{width:220px;height:220px;background:rgba(215,163,50,.10);right:-90px;top:-110px}
.btp-login-card:after{width:180px;height:180px;background:rgba(30,46,69,.05);left:-70px;bottom:-90px}
.btp-login-brand,.btp-brand{display:flex;align-items:flex-end;gap:3px;position:relative;z-index:1}
.btp-brand-wrap{margin-bottom:24px}
.btp-brand-tag{margin:14px 2px 0;color:#d9dfe6;font-size:12px;line-height:1.5}
.btp-brand-script{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:46px;line-height:.82;color:var(--btp-gold);letter-spacing:-4px;text-shadow:0 4px 15px rgba(215,163,50,.22)}
.btp-brand-name{font-size:24px;font-weight:500;color:inherit}
.btp-login-brand small,.btp-brand small{display:block;font-size:13px;margin:0 0 -16px -66px;letter-spacing:.06em;color:#9aa6b3}
.btp-login-kicker{display:inline-block;font-size:11px;letter-spacing:.18em;color:#9b6a00;font-weight:800;margin:18px 0 10px;position:relative;z-index:1}
.btp-login-card h2{margin:0 0 10px;color:var(--btp-ink);font-size:34px;line-height:1.08;position:relative;z-index:1}
.btp-login-card p{margin:0 0 24px;color:var(--btp-gray);line-height:1.7;position:relative;z-index:1}
.btp-login-error{position:relative;z-index:1;background:#fff0f0;border:1px solid #efc9c9;color:#a84b4b;padding:12px 14px;border-radius:16px;margin-bottom:16px}
.btp-login-form{display:grid;gap:14px;position:relative;z-index:1}
.btp-login-form label{display:grid;gap:7px;font-size:13px;font-weight:700;color:#556373}
.btp-login-form input[type="text"],.btp-login-form input[type="password"]{height:54px;border:1px solid var(--btp-border);background:#fff;border-radius:16px;padding:0 16px;outline:none;color:var(--btp-charcoal)}
.btp-login-form input[type="text"]:focus,.btp-login-form input[type="password"]:focus{border-color:rgba(215,163,50,.75);box-shadow:0 0 0 4px rgba(215,163,50,.14)}
.btp-check{display:flex!important;align-items:center;gap:10px;font-weight:500!important}
.btp-check input{width:18px;height:18px}
.btp-login-links{margin-top:18px;position:relative;z-index:1}
.btp-login-links a{color:var(--btp-navy);font-weight:600;text-decoration:none}

/* App layout */
.btp-app{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:100vh;background:var(--btp-bg);color:var(--btp-charcoal)}
.btp-sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,#162231 0%, #1f2f46 60%, #243550 100%);padding:28px 20px;display:flex;flex-direction:column;color:#fff;box-shadow:24px 0 60px rgba(16,25,38,.14);z-index:5;border-right:1px solid rgba(255,255,255,.05)}
.btp-sidebar:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg, rgba(240,203,120,.04), transparent 22%);pointer-events:none}
.btp-sidebar nav{display:grid;gap:8px;position:relative;z-index:1}
.btp-sidebar nav button{border:0;background:transparent;color:#d3dae2;padding:13px 14px;border-radius:16px;text-align:left;cursor:pointer;display:flex;gap:12px;align-items:center;transition:.24s;letter-spacing:.01em}
.btp-sidebar nav button:hover,.btp-sidebar nav button.is-active{background:rgba(255,255,255,.08);color:#fff;box-shadow:inset 0 0 0 1px rgba(240,203,120,.14)}
.btp-sidebar nav button.is-active{background:linear-gradient(90deg, rgba(215,163,50,.22), rgba(215,163,50,.12));box-shadow:inset 3px 0 0 var(--btp-gold), inset 0 0 0 1px rgba(240,203,120,.20)}
.btp-sidebar-foot{margin-top:auto;font-size:11px;color:#95a2b2;padding:14px 8px 6px;position:relative;z-index:1}
.btp-main{padding:28px 32px 56px;min-width:0}
.btp-topbar{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:26px}
.btp-topbar h1{margin:0;color:var(--btp-ink);font-size:22px;letter-spacing:-.02em}.btp-topbar p{margin:5px 0 0;color:#8a939f;font-size:13px}
.btp-userbox{display:flex;align-items:center;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.btp-usercard{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.78);backdrop-filter:blur(8px);border:1px solid rgba(255,255,255,.55);padding:10px 14px;border-radius:18px;box-shadow:var(--btp-shadow-soft)}
.btp-useravatar{display:inline-flex;width:40px;height:40px;border-radius:14px;align-items:center;justify-content:center;background:linear-gradient(180deg,#fffaf0,#f4e4b9);border:1px solid rgba(215,163,50,.22);font-weight:800;color:#8a630a}
.btp-usertext{min-width:0}
.btp-usertext strong{display:block;color:var(--btp-navy);max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.btp-usertext small{display:block;color:#8c97a4;max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.btp-view{display:none}.btp-view.is-active{display:block}
.btp-hero{background:linear-gradient(135deg,rgba(255,255,255,.96) 0%, rgba(255,255,255,.92) 62%, rgba(251,242,223,.94) 100%);border:1px solid rgba(255,255,255,.6);border-radius:30px;padding:30px;display:flex;justify-content:space-between;gap:28px;align-items:center;box-shadow:var(--btp-shadow);position:relative;overflow:hidden}.btp-hero:before{content:"";position:absolute;width:460px;height:460px;border-radius:50%;right:-260px;top:-220px;background:radial-gradient(circle, rgba(215,163,50,.18), rgba(215,163,50,0) 65%)}.btp-hero:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;background:rgba(215,163,50,.10);right:-45px;bottom:-70px}
.btp-hero span,.btp-section-head span{font-size:11px;letter-spacing:.20em;color:#9b6a00;font-weight:800}.btp-hero h2,.btp-section-head h2{margin:10px 0 10px;color:var(--btp-ink);font-size:34px;line-height:1.06;letter-spacing:-.03em}.btp-hero p,.btp-section-head p{margin:0;color:var(--btp-gray);line-height:1.7;max-width:760px}
.btp-goal{min-width:300px;background:rgba(255,255,255,.8);border:1px solid rgba(255,255,255,.55);backdrop-filter:blur(10px);border-radius:24px;padding:20px 22px;z-index:1;box-shadow:var(--btp-shadow-soft)}.btp-goal strong{font-size:34px;color:var(--btp-ink);display:block}.btp-goal small{color:#8a939f}.btp-goal em{display:block;margin-top:12px;color:#74808f;font-style:normal;font-size:13px}
.btp-progress{height:10px;background:#eceff2;border-radius:20px;margin-top:16px;overflow:hidden}.btp-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--btp-gold),var(--btp-gold-2));border-radius:20px;box-shadow:0 4px 12px rgba(215,163,50,.3)}

.btp-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:18px 0}.btp-cards article,.btp-panel,.btp-message-card{background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.9));border:1px solid rgba(255,255,255,.62);border-radius:24px;box-shadow:var(--btp-shadow-soft)}
.btp-cards article{padding:22px}.btp-cards article span{display:block;color:#7c8794;font-size:13px}.btp-cards article strong{display:block;color:var(--btp-ink);font-size:30px;margin:8px 0 6px;letter-spacing:-.03em}.btp-cards article small{color:#9aa3ad}.btp-cards-finance article:nth-child(1){box-shadow:inset 0 3px 0 var(--btp-green), var(--btp-shadow-soft)}.btp-cards-finance article:nth-child(2){box-shadow:inset 0 3px 0 var(--btp-red), var(--btp-shadow-soft)}.btp-cards-finance article:nth-child(3),.btp-cards-finance article:nth-child(4){box-shadow:inset 0 3px 0 var(--btp-gold), var(--btp-shadow-soft)}

.btp-section-head{display:flex;justify-content:space-between;align-items:flex-end;margin:8px 0 18px}.btp-section-head h2{font-size:26px}.btp-panel{padding:24px;margin-bottom:18px}.btp-table-panel{padding:0;overflow:hidden}.btp-table-panel .btp-section-head{padding:24px 24px 0}.btp-table-wrap{overflow:auto;padding-bottom:4px}
.btp-table{width:100%;border-collapse:collapse;min-width:860px}.btp-table th{font-size:11px;letter-spacing:.10em;text-transform:uppercase;color:#929ca7;background:#f8f8f8;padding:14px 16px;text-align:left;border-top:1px solid #eceef0;border-bottom:1px solid #eceef0}.btp-table td{padding:15px 16px;border-bottom:1px solid #eff1f3;vertical-align:middle;background:transparent}.btp-table tr:hover td{background:rgba(251,242,223,.18)}.btp-table td strong,.btp-table td small{display:block}.btp-table td small{color:#8d97a3;margin-top:4px}.btp-table a{color:#8a630a;text-decoration:none;font-weight:700}
.btp-empty{text-align:center;padding:38px 18px!important;color:#7d8792}.btp-empty strong{display:block;font-size:18px;color:var(--btp-ink);margin-bottom:8px}.btp-empty small{display:block;color:#97a1ab;max-width:430px;margin:0 auto;line-height:1.6}
.btp-score{display:inline-flex;width:44px;height:44px;border-radius:14px;align-items:center;justify-content:center;font-weight:800;letter-spacing:-.02em}.btp-score.hot{background:#fff0e7;color:#b95c30}.btp-score.warm{background:#fff7df;color:#9a6a00}.btp-score.cool{background:#eff2f5;color:#627181}.btp-badge{display:inline-block;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em}.btp-badge.danger{background:#fff0f0;color:#b64e4e}.btp-status{border:1px solid #dfe4e8;border-radius:12px;padding:9px 10px;background:#fff;color:#3d4751;min-width:130px}

.btp-app .btp-mini,.btp-app .btp-primary,.btp-login-shell .btp-primary,.btp-app .btp-ghost{appearance:none;-webkit-appearance:none;border:0;cursor:pointer;border-radius:14px;font-weight:700;transition:.22s;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.btp-app .btp-mini{padding:9px 12px;background:#f3f4f6;color:#34404d;border:1px solid #e6e8eb}.btp-app .btp-mini:hover{background:#eceff2}
.btp-app .btp-primary,.btp-login-shell .btp-primary{padding:14px 18px;background:linear-gradient(180deg,var(--btp-gold-2),var(--btp-gold))!important;color:#182331!important;border:1px solid rgba(186,132,11,.08)!important;box-shadow:0 12px 28px rgba(215,163,50,.22)}
.btp-app .btp-primary:hover,.btp-login-shell .btp-primary:hover,.btp-app .btp-ghost:hover{transform:translateY(-1px);filter:brightness(.98)}
.btp-app .btp-ghost{padding:12px 16px;background:rgba(255,255,255,.84);color:var(--btp-navy);border:1px solid rgba(255,255,255,.65);box-shadow:var(--btp-shadow-soft)}

.btp-form-grid{display:grid;grid-template-columns:2fr 2fr 1fr auto;gap:14px;align-items:end}.btp-form-grid label{display:grid;gap:8px;font-size:12px;font-weight:800;color:#606b77}.btp-form-grid label.wide{grid-column:1/-1}.btp-form-grid input,.btp-form-grid select,.btp-form-grid textarea{width:100%;height:52px;border:1px solid #dde2e7;background:#fff;border-radius:16px;padding:0 14px;color:#2f3945;outline:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}.btp-form-grid textarea{height:auto;min-height:120px;padding:12px 14px}.btp-form-grid input:focus,.btp-form-grid select:focus,.btp-form-grid textarea:focus{border-color:rgba(215,163,50,.75);box-shadow:0 0 0 4px rgba(215,163,50,.12)}.btp-form-grid small{font-weight:500;color:#8c949c;line-height:1.5}
.btp-feedback{margin-top:10px;font-size:13px;color:#6c7580}.btp-feedback.success{color:var(--btp-green)}.btp-feedback.error{color:var(--btp-red)}

.btp-pipeline{display:grid;grid-template-columns:repeat(6,minmax(220px,1fr));gap:14px;overflow:auto;padding-bottom:8px}.btp-pipe-col{background:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.55);border-radius:22px;padding:12px;min-height:360px;box-shadow:var(--btp-shadow-soft)}.btp-pipe-col h3{margin:4px 6px 14px;font-size:13px;color:#64707d;text-transform:uppercase;letter-spacing:.10em;display:flex;align-items:center;justify-content:space-between;gap:10px}.btp-pipe-col h3 em{font-style:normal;color:#9aa5b1;font-size:12px}.btp-pipe-col article{background:#fff;border:1px solid #e3e7eb;border-radius:18px;padding:12px;margin-bottom:10px;box-shadow:0 6px 16px rgba(37,49,66,.04)}.btp-pipe-col article strong,.btp-pipe-col article small{display:block;margin-top:7px}.btp-pipe-col article small{color:#8c949d}.btp-pipe-col .btp-score{width:36px;height:36px;font-size:12px}.btp-pipe-empty{min-height:160px;display:flex;align-items:center;justify-content:center;text-align:center;color:#95a0aa;font-size:14px;border:1px dashed #dfe4ea;border-radius:16px;background:rgba(255,255,255,.46);padding:12px}

.btp-message-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.btp-message-card{padding:22px}.btp-message-card>span{font-size:10px;letter-spacing:.16em;color:#a56f00;font-weight:800}.btp-message-card h3{margin:10px 0 12px;color:var(--btp-ink)}.btp-message-card pre{white-space:pre-wrap;word-break:break-word;font-family:inherit;color:#55626e;line-height:1.62;background:#fafbfc;border:1px solid #eef1f3;border-radius:16px;padding:15px;max-height:240px;overflow:auto}

.btp-modal{position:fixed;inset:0;background:rgba(16,23,33,.55);display:none;align-items:center;justify-content:center;padding:20px;z-index:99999}.btp-modal.is-open{display:flex}.btp-modal-card{width:min(760px,100%);max-height:88vh;overflow:auto;background:#fff;border-radius:28px;padding:24px;position:relative;box-shadow:0 30px 90px rgba(20,29,40,.28)}.btp-modal-close{position:absolute;right:16px;top:14px;width:40px;height:40px;border:0;border-radius:50%;background:#f1f3f5;cursor:pointer;font-size:24px}.btp-lead-detail h2{margin-top:0;color:var(--btp-ink)}.btp-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.btp-detail-grid div{background:#fafbfc;border:1px solid #edf0f2;border-radius:16px;padding:13px}.btp-detail-grid span{display:block;font-size:11px;color:#89929d;text-transform:uppercase;letter-spacing:.08em}.btp-detail-grid strong{display:block;margin-top:5px}.btp-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.btp-evidence{margin-top:18px;background:#fff9e9;border:1px solid #f9e2a5;border-radius:18px;padding:14px}.btp-evidence ul{margin:8px 0 0 18px;padding:0}.btp-outcome-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:16px}.btp-outcome-form input,.btp-outcome-form select{border:1px solid #dde2e6;border-radius:12px;padding:11px;height:48px}.btp-outcome-form .wide{grid-column:1/-1}

@media (max-width:1180px){
  .btp-app{grid-template-columns:92px minmax(0,1fr)}
  .btp-sidebar{padding:24px 12px}
  .btp-brand-name,.btp-brand small,.btp-sidebar nav span,.btp-sidebar-foot,.btp-brand-tag{display:none}
  .btp-brand{justify-content:center}
  .btp-brand-script{font-size:40px}
  .btp-sidebar nav button{justify-content:center;font-size:20px;padding:13px 10px}
  .btp-cards{grid-template-columns:repeat(2,1fr)}
  .btp-form-grid{grid-template-columns:1fr 1fr}
  .btp-form-grid .btp-primary{grid-column:1/-1}
  .btp-message-grid{grid-template-columns:1fr}
}

@media (max-width:860px){
  .btp-main{padding:22px 18px 102px}
  .btp-topbar{flex-direction:column;align-items:stretch}
  .btp-userbox{justify-content:space-between}
  .btp-hero{padding:24px;flex-direction:column;align-items:flex-start}
  .btp-goal{width:100%;min-width:0}
  .btp-detail-grid,.btp-outcome-form{grid-template-columns:1fr}
}

@media (max-width:720px){
  .btp-app{display:block}
  .btp-sidebar{position:fixed;left:0;right:0;bottom:0;top:auto;width:auto;height:auto;padding:8px 10px 12px;z-index:50;border-right:0;border-top:1px solid rgba(255,255,255,.06);box-shadow:0 -18px 40px rgba(20,29,40,.18)}
  .btp-brand,.btp-sidebar-foot{display:none}
  .btp-sidebar nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:auto;gap:8px}
  .btp-sidebar nav button{min-width:0;padding:11px 6px 12px;border-radius:18px;font-size:18px;display:flex;flex-direction:column;gap:3px;line-height:1.05}
  .btp-sidebar nav span{display:block!important;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
  .btp-main{padding:18px 14px 112px}
  .btp-topbar h1{font-size:18px}
  .btp-topbar p{font-size:12px}
  .btp-userbox{align-items:stretch;gap:10px}
  .btp-usercard{flex:1;min-width:0}
  .btp-usertext strong,.btp-usertext small{max-width:150px}
  .btp-app .btp-ghost{padding:12px 14px}
  .btp-hero h2,.btp-section-head h2{font-size:22px}
  .btp-section-head{margin-bottom:14px}
  .btp-cards{grid-template-columns:1fr;gap:14px}
  .btp-panel{padding:18px}
  .btp-form-grid{grid-template-columns:1fr}
  .btp-table{min-width:660px}
  .btp-pipeline{grid-template-columns:repeat(6,74vw);gap:10px}
  .btp-pipe-col{min-height:260px}
  .btp-pipe-empty{min-height:110px}
  .btp-login-shell{padding:18px}
  .btp-login-card{padding:28px 22px;border-radius:26px}
  .btp-login-card h2{font-size:28px}
}

@media (max-width:420px){
  .btp-topbar-copy h1{max-width:220px}
  .btp-usertext strong,.btp-usertext small{max-width:120px}
  .btp-hero{padding:20px}
  .btp-goal strong,.btp-cards article strong{font-size:24px}
  .btp-sidebar nav{gap:6px}
  .btp-sidebar nav button{padding:10px 4px}
}

/* v0.3 app-shell isolation and premium mobile behavior */
.btp-shell-body{margin:0!important;min-height:100vh;background:var(--btp-bg)!important}
.btp-shell-main{min-height:100vh}
.btp-main>.btp-topbar,.btp-main>.btp-view{width:min(100%,1600px);margin-left:auto;margin-right:auto}
.btp-main>.btp-topbar{margin-bottom:26px}
.btp-login-notice{position:relative;z-index:1;padding:13px 14px;border-radius:16px;margin-bottom:16px;font-size:14px;line-height:1.5}
.btp-login-notice.error{background:#fff0f0;border:1px solid #efc9c9;color:#a84b4b}
.btp-login-notice.success{background:#eef9f2;border:1px solid #c6e6d1;color:#277046}
.btp-mobile-more-toggle{display:none!important}
.btp-nav-more{display:contents}

@media (max-width:720px){
  .btp-main>.btp-topbar,.btp-main>.btp-view{width:100%}
  .btp-sidebar nav.btp-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;overflow:visible}
  .btp-mobile-more-toggle{display:flex!important}
  .btp-nav-more{display:none;position:fixed;left:14px;right:14px;bottom:86px;padding:12px;background:rgba(22,34,49,.98);border:1px solid rgba(240,203,120,.16);border-radius:22px;box-shadow:0 24px 60px rgba(10,18,28,.28);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;z-index:60}
  .btp-nav.is-more-open .btp-nav-more{display:grid}
  .btp-nav-more button{min-height:58px!important;flex-direction:row!important;justify-content:flex-start!important;padding:12px 14px!important;font-size:16px!important}
  .btp-nav-more button span{font-size:11px!important;white-space:normal!important;text-align:left}

  .btp-table-wrap{overflow:visible;padding:0 14px 14px}
  .btp-table{min-width:0;width:100%;display:block;border-collapse:separate}
  .btp-table thead{display:none}
  .btp-table tbody{display:grid;gap:12px}
  .btp-table tbody tr{display:block;background:#fff;border:1px solid #ebedf0;border-radius:20px;padding:8px 14px;box-shadow:0 8px 22px rgba(20,31,48,.05)}
  .btp-table tbody tr:hover td{background:transparent}
  .btp-table tbody td{display:flex;align-items:center;justify-content:space-between;gap:18px;width:100%;padding:11px 0!important;border-bottom:1px solid #f0f2f4!important;text-align:right;background:transparent!important}
  .btp-table tbody td:last-child{border-bottom:0!important}
  .btp-table tbody td:before{content:attr(data-label);font-size:10px;letter-spacing:.10em;text-transform:uppercase;color:#9aa3ad;font-weight:800;text-align:left;flex:0 0 88px}
  .btp-table tbody td>strong,.btp-table tbody td>small,.btp-table tbody td>a,.btp-table tbody td>.btp-badge,.btp-table tbody td>.btp-score,.btp-table tbody td>.btp-status,.btp-table tbody td>.btp-mini{margin-left:auto}
  .btp-table tbody td small{margin-top:0}
  .btp-table tbody td[data-label="Empresa"]{align-items:flex-start}
  .btp-table tbody td[data-label="Empresa"] strong,.btp-table tbody td[data-label="Empresa"] small{max-width:180px}
  .btp-status{min-width:145px;max-width:170px}
  .btp-empty{display:block!important;padding:28px 12px!important;border:0!important;box-shadow:none!important;background:transparent!important;text-align:center!important}
  .btp-empty:before{display:none!important}

  .btp-pipeline{grid-template-columns:repeat(6,82vw);scroll-snap-type:x mandatory;gap:12px;padding:0 2px 10px}
  .btp-pipe-col{scroll-snap-align:start;min-height:230px;padding:12px}
  .btp-pipe-col:has(.btp-pipe-empty){min-height:190px}
  .btp-pipe-empty{min-height:90px}
}

@media(max-width:420px){
  .btp-sidebar nav.btp-nav{grid-template-columns:repeat(6,minmax(46px,1fr))}
  .btp-sidebar nav button span{font-size:9px}
  .btp-table tbody td:before{flex-basis:78px}
  .btp-table tbody td[data-label="Empresa"] strong,.btp-table tbody td[data-label="Empresa"] small{max-width:155px}
}

/* v0.4 — metas inteligentes, conta e refinamento visual */
.btp-usercard{appearance:none;-webkit-appearance:none;border:1px solid rgba(255,255,255,.55);cursor:pointer;text-align:left}
.btp-usercard:hover{transform:translateY(-1px);box-shadow:0 14px 30px rgba(20,31,48,.08)}

.btp-settings-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);gap:18px;align-items:start}
.btp-goal-calculator{grid-row:span 2;padding:28px;background:linear-gradient(145deg,#fff 0%,#fff 55%,#fbf2df 100%);position:relative;overflow:hidden}
.btp-goal-calculator:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-110px;bottom:-130px;background:rgba(215,163,50,.11);pointer-events:none}
.btp-settings-card{padding:24px}
.btp-settings-title{position:relative;z-index:1;margin-bottom:20px}
.btp-settings-title>span{font-size:10px;letter-spacing:.18em;font-weight:800;color:#9b6a00}
.btp-settings-title h3{margin:8px 0 8px;color:var(--btp-ink);font-size:22px;letter-spacing:-.02em}
.btp-settings-title p{margin:0;color:var(--btp-gray);line-height:1.65;font-size:14px}
.btp-calc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;position:relative;z-index:1}
.btp-calc-grid label,.btp-field{display:grid;gap:8px;font-size:12px;font-weight:800;color:#606b77}
.btp-money-input{display:flex;align-items:center;min-width:0;height:56px;background:#fff;border:1px solid #dde2e7;border-radius:17px;overflow:hidden;transition:.2s}
.btp-money-input:focus-within{border-color:rgba(215,163,50,.75);box-shadow:0 0 0 4px rgba(215,163,50,.12)}
.btp-money-input span{padding-left:15px;font-weight:800;color:#8a630a}
.btp-money-input input{width:100%;height:100%;border:0!important;box-shadow:none!important;outline:0;background:transparent;padding:0 14px 0 8px;color:var(--btp-ink);font-size:19px;font-weight:800}
.btp-calc-result{grid-column:1/-1;display:grid;grid-template-columns:auto 1fr;align-items:end;column-gap:16px;background:linear-gradient(135deg,#18263a,#263a58);border-radius:24px;padding:22px 24px;color:#fff;box-shadow:0 18px 38px rgba(21,34,52,.16)}
.btp-calc-result small{grid-column:1/-1;color:#c9d2de;font-size:12px;margin-bottom:8px}
.btp-calc-result strong{font-size:54px;line-height:.9;color:#f0cb78;letter-spacing:-.05em}
.btp-calc-result span{font-size:17px;font-weight:700;padding-bottom:4px}
.btp-calc-result em{grid-column:1/-1;margin-top:12px;font-style:normal;color:#aab6c5;font-size:12px}
.btp-form-grid-compact{grid-template-columns:1fr 1fr;margin:0}
.btp-form-grid-compact label{min-width:0}
.btp-field input{width:100%;height:52px;border:1px solid #dde2e7;background:#fff;border-radius:16px;padding:0 14px;color:#2f3945;outline:none}
.btp-field input:focus{border-color:rgba(215,163,50,.75);box-shadow:0 0 0 4px rgba(215,163,50,.12)}
.btp-field small{font-weight:500;color:#8d97a3;line-height:1.5}
.btp-settings-savebar{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:18px 20px;border-radius:22px;background:rgba(255,255,255,.92);border:1px solid rgba(255,255,255,.7);box-shadow:var(--btp-shadow-soft);position:sticky;bottom:18px;z-index:12}
.btp-settings-savebar div{display:grid;gap:3px}.btp-settings-savebar strong{color:var(--btp-ink)}.btp-settings-savebar span{color:#8b95a0;font-size:13px}

.btp-profile-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:18px;align-items:start}
.btp-profile-form{padding:28px}
.btp-form-grid-profile{grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}
.btp-profile-divider{height:1px;background:#eceff1;margin:26px 0}
.btp-account-card{position:sticky;top:20px;text-align:center;padding:28px}
.btp-account-avatar{width:78px;height:78px;border-radius:24px;display:grid;place-items:center;margin:0 auto 16px;background:linear-gradient(180deg,#fff8e7,#f2dfab);border:1px solid rgba(215,163,50,.25);color:#855f09;font-size:28px;font-weight:900;box-shadow:0 12px 26px rgba(215,163,50,.15)}
.btp-account-card h3{margin:0;color:var(--btp-ink);font-size:22px}.btp-account-card>p{margin:7px 0 22px;color:#8b95a0;word-break:break-word}
.btp-account-meta{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1px solid #edf0f2;text-align:left}.btp-account-meta span{color:#8c96a1;font-size:12px}.btp-account-meta strong{color:var(--btp-charcoal);font-size:13px;text-align:right}
.btp-account-note{padding:14px!important;margin:18px 0!important;border-radius:16px;background:#fbf6ea;color:#6c7480!important;font-size:12px;line-height:1.6;text-align:left}
.btp-account-logout{width:100%}

/* Pipeline: mais elegante e sem aperto no desktop */
.btp-pipeline{grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:16px}
.btp-pipe-col{min-height:250px;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(248,249,250,.76));border:1px solid rgba(255,255,255,.82);box-shadow:0 12px 28px rgba(20,31,48,.05)}
.btp-pipe-col h3{padding-bottom:10px;border-bottom:1px solid #edf0f2}
.btp-pipe-empty{min-height:115px;background:rgba(255,255,255,.5)}

/* Estado vazio mais compacto e sofisticado */
.btp-table-panel:has(.btp-empty){min-height:0}
.btp-table-panel:has(.btp-empty) .btp-table-wrap{padding-bottom:20px}
.btp-table-panel:has(.btp-empty) .btp-empty{padding:30px 20px!important}

@media(min-width:1900px){.btp-pipeline{grid-template-columns:repeat(6,minmax(0,1fr))}}

@media(max-width:980px){
  .btp-settings-layout,.btp-profile-grid{grid-template-columns:1fr}
  .btp-goal-calculator{grid-row:auto}
  .btp-account-card{position:static}
}

@media(max-width:720px){
  .btp-main{padding:14px 12px 104px}
  .btp-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-bottom:18px!important}
  .btp-topbar-copy h1{font-size:18px;max-width:none}.btp-topbar-copy p{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:220px}
  .btp-userbox{display:flex;align-items:center;gap:8px;justify-content:flex-end}
  .btp-usercard{padding:5px!important;width:44px;height:44px;border-radius:15px;flex:0 0 44px;justify-content:center}
  .btp-useravatar{width:34px;height:34px;border-radius:12px;font-size:13px}.btp-usertext{display:none}
  .btp-topbar .btp-ghost{display:none}

  .btp-hero{padding:20px;border-radius:24px}.btp-hero h2{font-size:25px}.btp-hero p{font-size:14px;line-height:1.55}
  .btp-goal{padding:17px;border-radius:19px}
  .btp-cards:not(.btp-cards-finance){grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.btp-cards:not(.btp-cards-finance) article{padding:16px}.btp-cards:not(.btp-cards-finance) article strong{font-size:24px}.btp-cards:not(.btp-cards-finance) article span,.btp-cards:not(.btp-cards-finance) article small{font-size:11px}
  .btp-cards-finance{grid-template-columns:1fr;gap:10px}.btp-cards-finance article{padding:17px}.btp-cards-finance article strong{font-size:25px}

  .btp-table-panel{border-radius:22px}.btp-table-panel .btp-section-head{padding:18px 18px 8px}.btp-table-panel .btp-section-head h2{font-size:24px}.btp-table-panel .btp-section-head p{font-size:14px;line-height:1.55}
  .btp-table-wrap{padding:0 10px 10px}
  .btp-empty{padding:22px 8px!important}.btp-empty strong{font-size:17px}.btp-empty small{font-size:13px}

  .btp-sidebar nav button span{font-size:0!important}.btp-sidebar nav button span:after{content:attr(data-mobile);font-size:9px;line-height:1.1}
  .btp-nav-more button span{font-size:11px!important}.btp-nav-more button span:after{content:none!important}

  .btp-pipeline{display:flex;overflow-x:auto;gap:10px;width:100%;max-width:100%;padding:0 0 10px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}
  .btp-pipe-col{flex:0 0 calc(100% - 30px);min-width:0;min-height:210px;scroll-snap-align:start;border-radius:20px}
  .btp-pipe-col:has(.btp-pipe-empty){min-height:180px}.btp-pipe-empty{min-height:86px}

  .btp-settings-layout{gap:12px}.btp-goal-calculator,.btp-settings-card,.btp-profile-form,.btp-account-card{padding:20px;border-radius:22px}
  .btp-settings-title h3{font-size:20px}.btp-settings-title p{font-size:13px}
  .btp-calc-grid{grid-template-columns:1fr;gap:12px}.btp-calc-result{grid-column:auto;padding:19px}.btp-calc-result strong{font-size:46px}
  .btp-form-grid-compact,.btp-form-grid-profile{grid-template-columns:1fr}
  .btp-settings-savebar{position:static;flex-direction:column;align-items:stretch;padding:16px}.btp-settings-savebar .btp-primary{width:100%}
  .btp-profile-grid{gap:12px}.btp-account-card{order:-1}.btp-account-avatar{width:64px;height:64px;border-radius:20px}
}

@media(max-width:380px){
  .btp-cards:not(.btp-cards-finance){grid-template-columns:1fr 1fr}
  .btp-sidebar nav.btp-nav{grid-template-columns:repeat(6,minmax(44px,1fr))}
  .btp-sidebar{padding-left:7px;padding-right:7px}
}

/* v0.5.0 — premium black & gold refinement */
:root{
  --btp-gold:#d6a34b;
  --btp-gold-2:#f2d38f;
  --btp-gold-3:#9f7324;
  --btp-gold-soft:#fbf4e4;
  --btp-obsidian:#0d1117;
  --btp-obsidian-2:#131922;
  --btp-obsidian-3:#1b2430;
  --btp-ink:#121a24;
  --btp-charcoal:#273241;
  --btp-gray:#6c7784;
  --btp-gray-2:#95a0ad;
  --btp-bg:#f5f3ef;
  --btp-surface:#ffffff;
  --btp-surface-2:#fcfbf8;
  --btp-border:#e5e1d9;
  --btp-border-strong:#d6d0c5;
  --btp-shadow:0 24px 64px rgba(12,16,24,.10);
  --btp-shadow-soft:0 16px 36px rgba(12,16,24,.07);
}

html{scrollbar-color:rgba(214,163,75,.75) rgba(15,17,23,.18);scrollbar-width:thin}
.btp-app,.btp-login-shell{position:relative;isolation:isolate}
.btp-app::selection,.btp-login-shell::selection{background:rgba(214,163,75,.22);color:var(--btp-ink)}
.btp-app,.btp-login-shell,.btp-app *,.btp-login-shell *{scrollbar-width:thin;scrollbar-color:rgba(214,163,75,.82) rgba(15,17,23,.14)}
.btp-app *::-webkit-scrollbar,.btp-login-shell *::-webkit-scrollbar{width:10px;height:10px}
.btp-app *::-webkit-scrollbar-track,.btp-login-shell *::-webkit-scrollbar-track{background:rgba(18,22,29,.12);border-radius:999px}
.btp-app *::-webkit-scrollbar-thumb,.btp-login-shell *::-webkit-scrollbar-thumb{background:linear-gradient(180deg,var(--btp-gold-2),var(--btp-gold));border-radius:999px;border:2px solid transparent;background-clip:padding-box}
.btp-app *::-webkit-scrollbar-thumb:hover,.btp-login-shell *::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#f7dfaa,#cf9837)}

.btp-app{
  background:
    radial-gradient(circle at top right, rgba(214,163,75,.10), transparent 22%),
    radial-gradient(circle at bottom left, rgba(18,22,29,.05), transparent 24%),
    linear-gradient(180deg,#f8f7f3 0%, #f2f0eb 100%);
}
.btp-login-shell{
  background:
    radial-gradient(circle at top right, rgba(214,163,75,.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(18,22,29,.07), transparent 30%),
    linear-gradient(180deg,#f7f6f2 0%,#efede7 100%);
}

.btp-app button,
.btp-app input,
.btp-app select,
.btp-app textarea,
.btp-login-shell button,
.btp-login-shell input,
.btp-login-shell select,
.btp-login-shell textarea{
  font:inherit;
  color:inherit;
}
.btp-app input:-webkit-autofill,
.btp-app textarea:-webkit-autofill,
.btp-app select:-webkit-autofill,
.btp-login-shell input:-webkit-autofill,
.btp-login-shell textarea:-webkit-autofill,
.btp-login-shell select:-webkit-autofill{
  -webkit-text-fill-color:var(--btp-ink);
  -webkit-box-shadow:0 0 0 1000px #fff inset;
  transition:background-color 9999s ease-in-out 0s;
}

/* premium logo */
.btp-brand,
.btp-login-brand{display:flex;align-items:center;gap:14px}
.btp-brand--login{margin-bottom:6px}
.btp-brand-emblem{
  width:48px;height:48px;border-radius:16px;display:grid;place-items:center;position:relative;flex:0 0 48px;
  background:linear-gradient(180deg,#f7e3b3 0%, #d39b34 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 16px 34px rgba(177,122,22,.18);
}
.btp-brand-emblem::after{
  content:"";position:absolute;inset:1px;border-radius:15px;border:1px solid rgba(35,26,10,.14)
}
.btp-brand-emblem-core{font-family:Georgia,'Times New Roman',serif;font-size:28px;font-style:italic;font-weight:700;line-height:1;color:#18130c;text-shadow:0 1px 0 rgba(255,255,255,.3)}
.btp-brand-lockup{display:grid;gap:3px;min-width:0}
.btp-brand-line{display:flex;align-items:flex-end;gap:2px;line-height:1}
.btp-brand-script{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:42px;line-height:.8;color:#d8a33a;letter-spacing:-3px;text-shadow:0 6px 18px rgba(214,163,75,.20)}
.btp-brand-name{font-size:24px;font-weight:600;letter-spacing:-.03em;color:inherit}
.btp-brand-lockup small,
.btp-login-brand small,
.btp-brand small{display:block;margin:0;color:#a0adba;font-size:11px;letter-spacing:.26em;text-transform:uppercase}
.btp-brand-wrap{margin-bottom:28px}
.btp-brand-tag{margin:16px 2px 0;color:#9aa7b7;font-size:12px;line-height:1.65;max-width:190px}

/* sidebar & nav */
.btp-sidebar{
  background:
    radial-gradient(circle at top, rgba(214,163,75,.12), transparent 28%),
    linear-gradient(180deg,#0f141b 0%, #121922 44%, #182233 100%);
  border-right:1px solid rgba(214,163,75,.10);
  box-shadow:28px 0 70px rgba(6,10,16,.18);
}
.btp-sidebar::before{background:linear-gradient(180deg, rgba(255,255,255,.03), transparent 16%),linear-gradient(180deg, rgba(214,163,75,.03), transparent 45%)}
.btp-sidebar nav{gap:9px}
.btp-sidebar nav button,
.btp-nav-more button,
.btp-mobile-more-toggle{
  appearance:none!important;-webkit-appearance:none!important;
  background:transparent!important;border:1px solid transparent!important;outline:none!important;
  color:#d6dde7!important;box-shadow:none!important;position:relative;font-size:15px;font-weight:600;
}
.btp-sidebar nav button:hover,
.btp-sidebar nav button.is-active,
.btp-nav-more button:hover,
.btp-nav-more button.is-active,
.btp-mobile-more-toggle:hover,
.btp-mobile-more-toggle.is-active{
  color:#fff!important;
}
.btp-sidebar nav button::after,
.btp-nav-more button::after,
.btp-mobile-more-toggle::after{
  content:"";position:absolute;inset:0;border-radius:16px;pointer-events:none;opacity:0;transition:.24s;
  box-shadow:inset 0 0 0 1px rgba(214,163,75,.16), 0 14px 28px rgba(4,8,14,.08)
}
.btp-sidebar nav button:hover::after,
.btp-sidebar nav button.is-active::after,
.btp-nav-more button:hover::after,
.btp-nav-more button.is-active::after,
.btp-mobile-more-toggle:hover::after,
.btp-mobile-more-toggle.is-active::after{opacity:1}
.btp-sidebar nav button.is-active,
.btp-mobile-more-toggle.is-active{
  background:linear-gradient(90deg, rgba(214,163,75,.18), rgba(214,163,75,.06))!important;
  border-color:rgba(214,163,75,.24)!important;
  box-shadow:inset 3px 0 0 var(--btp-gold)!important, 0 10px 24px rgba(6,10,16,.12)!important;
}
.btp-nav-icon{font-size:18px!important;width:18px;height:18px;display:inline-grid;place-items:center;color:#f0d492;flex:0 0 18px}
.btp-sidebar nav button span:last-child{min-width:0}
.btp-sidebar-foot{color:#7e8a97}

/* main layout */
.btp-main{padding:30px 34px 64px}
.btp-topbar{align-items:center;margin-bottom:30px}
.btp-topbar-copy h1{font-size:22px;font-weight:700;letter-spacing:-.03em}
.btp-topbar-copy p{font-size:13px;color:#8a939f;letter-spacing:.02em}
.btp-userbox{gap:14px;align-items:center}
.btp-app .btp-usercard,
.btp-app .btp-usercard:visited,
.btp-app .btp-usercard:hover,
.btp-app .btp-usercard:focus-visible{
  appearance:none!important;-webkit-appearance:none!important;outline:none!important;
  background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(255,255,255,.90))!important;
  border:1px solid rgba(214,163,75,.22)!important;color:var(--btp-ink)!important;
  box-shadow:0 14px 34px rgba(12,16,24,.07)!important;
  padding:10px 14px;border-radius:20px;text-decoration:none;transform:none;
}
.btp-usercard:focus-visible,
.btp-app .btp-primary:focus-visible,
.btp-app .btp-ghost:focus-visible,
.btp-app .btp-mini:focus-visible,
.btp-login-shell .btp-primary:focus-visible,
.btp-app .btp-status:focus-visible,
.btp-app input:focus-visible,
.btp-app textarea:focus-visible,
.btp-app select:focus-visible,
.btp-login-shell input:focus-visible{
  box-shadow:0 0 0 4px rgba(214,163,75,.18)!important;
}
.btp-useravatar{
  background:linear-gradient(180deg,#fff9ea,#efd8a0)!important;
  color:#714f0d;border:1px solid rgba(214,163,75,.28)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.7)
}
.btp-usertext strong{font-size:15px;color:var(--btp-ink)}
.btp-usertext small{font-size:13px;color:#8e98a5}

/* headings & hero */
.btp-hero,
.btp-panel,
.btp-message-card,
.btp-cards article,
.btp-pipe-col,
.btp-login-card,
.btp-modal-card{
  border-color:rgba(214,163,75,.10)!important;
}
.btp-hero{
  padding:34px;border-radius:32px;gap:30px;
  background:
    radial-gradient(circle at top right, rgba(214,163,75,.14), transparent 34%),
    linear-gradient(135deg,rgba(255,255,255,.98) 0%, rgba(255,255,255,.95) 58%, rgba(249,243,228,.98) 100%);
  box-shadow:var(--btp-shadow);
}
.btp-hero::before{width:520px;height:520px;right:-290px;top:-270px;background:radial-gradient(circle, rgba(214,163,75,.18), rgba(214,163,75,0) 66%)}
.btp-hero::after{width:220px;height:220px;background:rgba(214,163,75,.10);right:-60px;bottom:-90px}
.btp-hero span,.btp-section-head span,.btp-settings-title>span{color:#9e701e;font-size:11px;letter-spacing:.22em}
.btp-hero h2,
.btp-section-head h2,
.btp-settings-title h3,
.btp-login-card h2,
.btp-account-card h3{
  text-wrap:balance;
  color:var(--btp-ink);
}
.btp-hero h2{font-size:clamp(34px,3vw,48px);max-width:16ch}
.btp-hero p{max-width:56ch;font-size:16px;color:#697586}
.btp-goal{
  min-width:315px;padding:22px 24px;border-radius:26px;
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.88));
  border:1px solid rgba(214,163,75,.12);box-shadow:0 18px 42px rgba(12,16,24,.08)
}
.btp-goal strong{font-size:36px;letter-spacing:-.04em}
.btp-goal small,.btp-goal em{color:#7f8996}
.btp-progress{height:12px;background:#e9ecf1}
.btp-progress i{background:linear-gradient(90deg,#f0d48d 0%, #d09a38 100%)}

/* surfaces, cards, tables */
.btp-cards{gap:18px;margin:20px 0}
.btp-cards article,
.btp-panel,
.btp-message-card{
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  border:1px solid rgba(214,163,75,.10)!important;
  box-shadow:var(--btp-shadow-soft)!important;
  border-radius:26px;
}
.btp-panel{padding:26px}
.btp-cards article{padding:24px;position:relative;overflow:hidden}
.btp-cards article::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg, rgba(214,163,75,.0), rgba(214,163,75,.55), rgba(214,163,75,0))}
.btp-cards article span{font-size:13px;color:#818c99}
.btp-cards article strong{font-size:clamp(32px,2.4vw,42px);color:#111926}
.btp-section-head{gap:18px;margin:10px 0 20px}
.btp-section-head h2{font-size:clamp(28px,2.3vw,40px);line-height:1.05;max-width:18ch}
.btp-section-head p{max-width:54ch;font-size:15px;color:#6c7784}
.btp-table-panel{overflow:hidden;padding:0}
.btp-table-panel .btp-section-head{padding:28px 28px 0}
.btp-table-wrap{padding-bottom:2px}
.btp-table{min-width:980px}
.btp-table th{
  background:#faf9f6;color:#8793a1;border-top:1px solid #eee9dd;border-bottom:1px solid #eee9dd;
}
.btp-table td{border-bottom:1px solid #f0ece4}
.btp-table tr:hover td{background:rgba(251,244,228,.48)}
.btp-empty strong{font-size:20px}
.btp-score{box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
.btp-score.hot{background:#fff0e2;color:#ab5a2b}
.btp-score.warm{background:#fff7df;color:#94650d}
.btp-score.cool{background:#eef2f6;color:#5e6b7c}
.btp-badge.danger{background:#fff0f0;color:#af5252}
.btp-app .btp-status,
.btp-app .btp-form-grid input,
.btp-app .btp-form-grid select,
.btp-app .btp-form-grid textarea,
.btp-field input,
.btp-money-input,
.btp-login-form input[type="text"],
.btp-login-form input[type="password"]{
  background:#fff!important;border:1px solid var(--btp-border-strong)!important;color:var(--btp-ink)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.6)!important;
}
.btp-app .btp-status{
  padding:10px 12px;border-radius:14px;min-width:138px;
  background-image:linear-gradient(180deg,#fff,#fcfbf9)!important
}
.btp-app .btp-status:hover{border-color:rgba(214,163,75,.42)!important}

/* buttons */
.btp-app .btp-primary,
.btp-login-shell .btp-primary{
  appearance:none!important;-webkit-appearance:none!important;
  border-radius:16px!important;padding:14px 20px!important;outline:none!important;
  background:linear-gradient(180deg,#f0cc7a 0%, #d6a34b 100%)!important;
  color:#16110c!important;border:1px solid rgba(160,111,17,.18)!important;
  box-shadow:0 16px 30px rgba(214,163,75,.24), inset 0 1px 0 rgba(255,255,255,.5)!important;
}
.btp-app .btp-primary:hover,
.btp-login-shell .btp-primary:hover{transform:translateY(-1px);filter:brightness(1.02)}
.btp-app .btp-ghost,
.btp-app .btp-mini{
  appearance:none!important;-webkit-appearance:none!important;
  border-radius:16px!important;outline:none!important;backdrop-filter:blur(10px)
}
.btp-app .btp-ghost{
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.84))!important;
  border:1px solid rgba(214,163,75,.18)!important;color:var(--btp-obsidian)!important;
}
.btp-app .btp-mini{
  background:linear-gradient(180deg,#faf9f7,#f3f0e8)!important;
  border:1px solid rgba(214,163,75,.14)!important;color:#243040!important;padding:9px 13px
}
.btp-app .btp-mini:hover,.btp-app .btp-ghost:hover{transform:translateY(-1px);filter:brightness(1.01)}

/* forms and calculators */
.btp-form-grid,.btp-calc-grid{gap:16px}
.btp-calc-grid label,.btp-form-grid label,.btp-field{color:#5e6976}
.btp-goal-calculator{
  background:
    radial-gradient(circle at bottom right, rgba(214,163,75,.13), transparent 28%),
    linear-gradient(145deg,#ffffff 0%,#fffdfa 58%,#fbf4e5 100%);
}
.btp-calc-result{
  background:linear-gradient(135deg,#0f1620,#1b2533 44%,#222e40 100%);
  border:1px solid rgba(214,163,75,.16);
  box-shadow:0 24px 44px rgba(10,15,24,.16)
}
.btp-calc-result small{color:#cdd5df}.btp-calc-result em{color:#9cabbc}.btp-calc-result strong{color:#f1d187}
.btp-settings-savebar{
  background:rgba(255,255,255,.92);backdrop-filter:blur(12px);border:1px solid rgba(214,163,75,.14);box-shadow:0 18px 40px rgba(12,16,24,.10)
}
.btp-settings-savebar strong{font-size:16px}
.btp-feedback.success{color:#1f8a59;font-weight:600}.btp-feedback.error{color:#bf5757;font-weight:600}

/* messages, modal and pipeline */
.btp-message-grid{gap:18px}
.btp-message-card pre,.btp-detail-grid div{background:#fbfaf8;border-color:#ede7db}
.btp-modal{background:rgba(10,14,21,.64);backdrop-filter:blur(6px)}
.btp-modal-card{background:linear-gradient(180deg,#fff,#fcfbf8);border:1px solid rgba(214,163,75,.12);box-shadow:0 34px 90px rgba(6,10,16,.24)}
.btp-modal-close{background:#f4efe2;border:1px solid rgba(214,163,75,.18);color:var(--btp-ink)}
.btp-evidence{background:#fff9ea;border-color:#f0d995}

.btp-pipeline{
  display:grid;grid-template-columns:repeat(6,minmax(250px,1fr));gap:16px;overflow:auto;padding:0 0 12px;
}
.btp-pipe-col{
  min-height:280px;padding:14px;background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(250,249,246,.92));
  border:1px solid rgba(214,163,75,.10)!important;border-radius:24px;box-shadow:var(--btp-shadow-soft)!important
}
.btp-pipe-col h3{margin:2px 2px 16px;color:#6b7580;border-bottom:1px solid #f0ece4;padding-bottom:11px}
.btp-pipe-col article{border-radius:18px;background:linear-gradient(180deg,#fff,#fcfbf9);border:1px solid #ece7dd;box-shadow:0 12px 24px rgba(15,17,23,.05)}
.btp-pipe-empty{min-height:110px;background:rgba(255,255,255,.58);border-color:#e7dfcf;color:#8b95a0}

/* account card */
.btp-account-card{background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(255,255,255,.92));overflow:hidden}
.btp-account-avatar{background:linear-gradient(180deg,#fff9e8,#ecd59a);color:#784d08}
.btp-account-card h3{font-size:clamp(24px,2vw,28px);line-height:1.05;word-break:break-word}
.btp-account-card > p{font-size:16px;word-break:break-word}
.btp-account-note{background:#fbf4e5;color:#697382!important;border:1px solid rgba(214,163,75,.16)}

/* login */
.btp-login-card{padding:36px 34px;border-radius:34px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.90));border:1px solid rgba(214,163,75,.12)!important}
.btp-login-card:before{background:rgba(214,163,75,.11)}
.btp-login-card:after{background:rgba(18,22,29,.04)}
.btp-login-kicker{color:#a0701b}
.btp-login-card h2{font-size:clamp(34px,3vw,44px);line-height:1.02;max-width:12ch}
.btp-login-card p{font-size:16px;max-width:40ch;color:#6c7784}
.btp-check{font-weight:600!important;color:#6b7785}
.btp-login-links a{color:var(--btp-obsidian)}
.btp-login-notice{border-radius:18px}

/* mobile */
@media (max-width: 980px){
  .btp-main{padding:22px 20px 110px}
  .btp-hero{padding:28px;gap:20px}
  .btp-goal{min-width:0;width:100%}
  .btp-settings-layout,.btp-profile-grid{gap:16px}
}

@media (max-width: 720px){
  .btp-main{padding:16px 14px 108px}
  .btp-topbar{grid-template-columns:minmax(0,1fr) auto;gap:12px;margin-bottom:20px!important}
  .btp-topbar-copy h1{font-size:20px}
  .btp-topbar-copy p{font-size:11px;max-width:100%;white-space:normal;line-height:1.45}
  .btp-userbox{gap:8px}
  .btp-usercard{width:48px!important;height:48px!important;padding:6px!important;border-radius:16px!important;flex:0 0 48px}
  .btp-useravatar{width:36px;height:36px;border-radius:13px}
  .btp-hero{padding:22px;border-radius:26px}
  .btp-hero h2{font-size:clamp(28px,9vw,38px);max-width:11ch}
  .btp-hero p,.btp-section-head p{font-size:14px;line-height:1.58}
  .btp-section-head{margin:8px 0 16px}
  .btp-section-head h2{font-size:clamp(24px,8vw,32px);max-width:12ch}
  .btp-cards{gap:12px}
  .btp-cards:not(.btp-cards-finance){grid-template-columns:repeat(2,minmax(0,1fr))}
  .btp-cards article{padding:18px;border-radius:22px}
  .btp-cards article strong{font-size:28px}
  .btp-panel,.btp-message-card,.btp-goal-calculator,.btp-settings-card,.btp-profile-form,.btp-account-card{padding:20px;border-radius:24px}
  .btp-table-panel .btp-section-head{padding:20px 20px 4px}
  .btp-table-wrap{padding:0 10px 10px}
  .btp-pipeline{display:flex;gap:12px;padding-bottom:10px}
  .btp-pipe-col{flex:0 0 calc(100% - 24px);min-width:0;min-height:210px;scroll-snap-align:start}

  .btp-sidebar{padding:8px 8px 10px;height:auto;position:fixed;left:0;right:0;bottom:0;top:auto;z-index:40;border-right:0;border-top:1px solid rgba(214,163,75,.12);box-shadow:0 -18px 46px rgba(8,12,19,.20)}
  .btp-brand-wrap{display:none}
  .btp-sidebar nav.btp-nav{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;align-items:stretch}
  .btp-sidebar nav button,
  .btp-mobile-more-toggle{min-height:64px!important;padding:10px 6px 8px!important;border-radius:18px!important;display:flex;flex-direction:column;justify-content:center;gap:4px;text-align:center}
  .btp-sidebar nav button span:last-child,
  .btp-mobile-more-toggle span:last-child{font-size:10px;line-height:1.1;display:block}
  .btp-nav-icon{font-size:17px!important;width:18px;height:18px;margin:0 auto}
  .btp-sidebar nav button span:last-child{font-size:0!important}
  .btp-sidebar nav button span:last-child::after{content:attr(data-mobile);font-size:10px;line-height:1.15;display:block}

  .btp-nav-more{display:none;position:fixed;left:14px;right:14px;bottom:92px;padding:14px;background:rgba(14,18,25,.96);border:1px solid rgba(214,163,75,.16);border-radius:24px;backdrop-filter:blur(14px);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;box-shadow:0 24px 60px rgba(8,12,19,.30);z-index:60}
  .btp-nav.is-more-open .btp-nav-more{display:grid}
  .btp-nav-more button{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:58px!important;padding:14px!important;border-radius:18px!important;background:rgba(255,255,255,.02)!important}
  .btp-nav-more button .btp-nav-icon{margin:0;flex:0 0 18px}
  .btp-nav-more button span:last-child{font-size:13px!important;white-space:normal!important;text-align:left!important}

  .btp-login-shell{padding:20px 16px}
  .btp-login-card{padding:28px 22px;border-radius:28px}
  .btp-login-card h2{font-size:clamp(28px,10vw,36px)}
  .btp-form-grid-profile,.btp-form-grid-compact,.btp-calc-grid{grid-template-columns:1fr}
  .btp-settings-savebar{position:static;flex-direction:column;align-items:stretch;padding:16px;border-radius:20px}
  .btp-settings-savebar .btp-primary{width:100%}
  .btp-account-card{order:-1}
  .btp-account-card h3{font-size:24px}
}

@media (max-width: 420px){
  .btp-main{padding-left:12px;padding-right:12px}
  .btp-topbar-copy h1{font-size:18px}
  .btp-hero h2{max-width:10ch}
  .btp-section-head h2{max-width:11ch}
  .btp-table tbody td:before{flex-basis:74px}
}

/* v0.6.0 — luxury sales OS refinement */
:root{
  --btp-obsidian:#0b0f14;
  --btp-obsidian-2:#111722;
  --btp-gold-deep:#9f6f12;
  --btp-cream:#f5f1e8;
  --btp-border-strong:#d6dde6;
}

html{scrollbar-color:#ae7c1e #111722;scrollbar-width:thin}
.btp-app *::-webkit-scrollbar,
.btp-login-shell *::-webkit-scrollbar{width:12px;height:12px}
.btp-app *::-webkit-scrollbar-track,
.btp-login-shell *::-webkit-scrollbar-track{background:linear-gradient(180deg,#111722,#182233);border-radius:999px}
.btp-app *::-webkit-scrollbar-thumb,
.btp-login-shell *::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#f0d088,#a87515);border:2px solid #111722;border-radius:999px}
.btp-app *::-webkit-scrollbar-thumb:hover,
.btp-login-shell *::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#f6dda0,#bd8620)}

body:has(.btp-app){background:linear-gradient(180deg,#f2efe8 0%,#efeae0 100%)!important}
body:has(.btp-login-shell){background:#0b0f14!important}
.btp-main{background:radial-gradient(circle at top right, rgba(214,163,75,.10), transparent 18%)}

.btp-brand{transition:transform .55s cubic-bezier(.22,.8,.24,1), filter .55s ease}
.btp-brand.is-animating{animation:btpBrandLift .72s cubic-bezier(.2,.82,.23,.99)}
@keyframes btpBrandLift{0%{transform:translateY(0) scale(1);filter:none}35%{transform:translateY(-4px) scale(1.015);filter:drop-shadow(0 10px 20px rgba(214,163,75,.22))}100%{transform:translateY(0) scale(1);filter:none}}
.btp-brand-emblem{overflow:hidden}
.btp-brand-emblem-bars{position:absolute;left:11px;bottom:10px;display:flex;align-items:flex-end;gap:3px;opacity:.28}
.btp-brand-emblem-bars i{display:block;width:4px;border-radius:999px;background:rgba(24,16,7,.65)}
.btp-brand-emblem-bars i:nth-child(1){height:9px}.btp-brand-emblem-bars i:nth-child(2){height:13px}.btp-brand-emblem-bars i:nth-child(3){height:18px}
.btp-brand-emblem-arrow{position:absolute;right:8px;top:12px;width:17px;height:17px;border-top:2px solid rgba(24,16,7,.55);border-right:2px solid rgba(24,16,7,.55);transform:rotate(45deg);border-radius:1px}
.btp-brand--login .btp-brand-script{font-size:46px}
.btp-brand--login .btp-brand-name{font-size:25px}
.btp-brand-lockup small{letter-spacing:.22em}

.btp-sidebar{background:radial-gradient(circle at top left, rgba(214,163,75,.15), transparent 24%),linear-gradient(180deg,#080b11 0%, #101823 44%, #162131 100%)}
.btp-sidebar nav button,
.btp-nav-more button,
.btp-mobile-more-toggle{border-radius:18px!important}
.btp-sidebar nav button.is-active,
.btp-mobile-more-toggle.is-active{background:linear-gradient(90deg, rgba(214,163,75,.22), rgba(214,163,75,.07))!important;box-shadow:inset 3px 0 0 var(--btp-gold),0 18px 28px rgba(7,11,18,.24)!important}

.btp-usercard,
.btp-goal,
.btp-cards article,
.btp-panel,
.btp-message-card,
.btp-pipe-col,
.btp-login-card{
  position:relative;
  overflow:hidden;
  box-shadow:0 18px 40px rgba(7,11,18,.08), inset 0 1px 0 rgba(255,255,255,.84), inset 0 -12px 24px rgba(214,163,75,.03)!important;
}
.btp-cards article::after,
.btp-panel::after,
.btp-goal::after,
.btp-login-card::after{
  content:"";position:absolute;inset:auto 16px 0 16px;height:28px;border-radius:50%;background:radial-gradient(circle, rgba(214,163,75,.08), rgba(214,163,75,0) 70%);pointer-events:none;filter:blur(10px);opacity:.55
}
@media (hover:hover){
  .btp-cards article:hover,.btp-panel:hover,.btp-message-card:hover,.btp-pipe-col:hover,.btp-goal:hover{transform:translateY(-2px)}
}

.btp-hero{background:radial-gradient(circle at top right, rgba(214,163,75,.14), transparent 31%),linear-gradient(145deg,rgba(255,255,255,.99),rgba(255,255,255,.96) 55%,rgba(250,244,231,.98) 100%)}
.btp-hero h2,.btp-section-head h2,.btp-settings-title h3,.btp-login-card h2{max-width:none;text-wrap:pretty}
.btp-hero h2{font-size:clamp(34px,2.7vw,46px)}
.btp-section-head h2{font-size:clamp(28px,2vw,38px)}
.btp-section-head p,.btp-hero p,.btp-settings-title p,.btp-login-card p{max-width:62ch}
.btp-goal strong{font-size:clamp(34px,2.6vw,42px)}

.btp-cards article{min-height:154px;background:linear-gradient(180deg,#ffffff 0%,#fcfaf6 100%)}
.btp-cards article strong{letter-spacing:-.04em}
.btp-panel,.btp-message-card{background:linear-gradient(180deg,#ffffff 0%,#fcfaf7 100%)}
.btp-table-wrap{scrollbar-gutter:stable both-edges}

.btp-profile-grid{grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr)}
.btp-account-card h3,
.btp-account-card>p{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.btp-account-card h3{font-size:clamp(22px,1.8vw,30px);letter-spacing:-.03em}
.btp-account-card>p{font-size:15px}
.btp-account-note{font-size:13px;line-height:1.65;background:linear-gradient(180deg,#fdf7ea,#f8f0db)}
.btp-account-meta strong{font-size:14px}

.btp-login-shell{position:relative;padding:32px;background:radial-gradient(circle at 15% 18%, rgba(214,163,75,.18), transparent 14%),radial-gradient(circle at 85% 12%, rgba(214,163,75,.11), transparent 22%),linear-gradient(135deg,#090d12 0%,#111722 42%,#172231 100%)}
.btp-login-shell::before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);background-size:72px 72px;mask-image:linear-gradient(180deg,rgba(0,0,0,.85),rgba(0,0,0,.18));opacity:.25}
.btp-login-stage{width:min(1220px,100%);display:grid;grid-template-columns:minmax(0,.95fr) minmax(470px,.72fr);gap:32px;align-items:center;position:relative;z-index:1}
.btp-login-scene{min-height:620px;border-radius:36px;padding:38px;display:flex;flex-direction:column;justify-content:space-between;background:linear-gradient(145deg,rgba(12,16,24,.88),rgba(18,25,36,.82) 58%,rgba(30,42,58,.84) 100%);border:1px solid rgba(214,163,75,.16);box-shadow:0 34px 80px rgba(0,0,0,.22);color:#fff;position:relative;overflow:hidden}
.btp-login-scene::before{content:"";position:absolute;width:320px;height:320px;right:-120px;top:-100px;border-radius:50%;background:radial-gradient(circle, rgba(214,163,75,.23), rgba(214,163,75,0) 66%)}
.btp-login-scene-copy{position:relative;z-index:1;max-width:520px}
.btp-login-scene-copy span{display:inline-block;font-size:12px;letter-spacing:.22em;font-weight:800;color:#efcc80;margin-bottom:18px}
.btp-login-scene-copy h3{margin:0 0 14px;font-size:clamp(34px,4vw,54px);line-height:.98;letter-spacing:-.05em;color:#fff;text-wrap:balance}
.btp-login-scene-copy p{margin:0;color:#c8d2de;font-size:17px;line-height:1.75;max-width:42ch}
.btp-login-scene-stack{position:relative;z-index:1;display:grid;grid-template-columns:1.2fr 1fr;gap:14px;max-width:560px}
.btp-login-float{padding:18px 20px;border-radius:22px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));border:1px solid rgba(214,163,75,.14);backdrop-filter:blur(12px);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.btp-login-float--lg{grid-column:1/-1}
.btp-login-float strong{display:block;font-size:22px;letter-spacing:-.03em;color:#f7dfaa}
.btp-login-float small{display:block;margin-top:6px;font-size:13px;line-height:1.6;color:#c5cfdb}
.btp-login-graph{position:absolute;right:34px;bottom:34px;display:flex;align-items:flex-end;gap:9px;height:150px;width:220px;padding:18px 20px;border-radius:26px;background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px solid rgba(214,163,75,.14);box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.btp-login-graph::before{content:"";position:absolute;left:20px;right:20px;bottom:46px;height:1px;background:rgba(255,255,255,.08);box-shadow:0 -30px 0 rgba(255,255,255,.06),0 -60px 0 rgba(255,255,255,.05)}
.btp-login-graph i{position:relative;z-index:1;display:block;flex:1;border-radius:999px 999px 12px 12px;background:linear-gradient(180deg,#f6dfa4 0%,#b37e18 100%);box-shadow:0 10px 24px rgba(214,163,75,.16)}
.btp-login-card{justify-self:end;width:min(520px,100%);background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(255,255,255,.92))}
.btp-login-card p{font-size:15px}
.btp-login-form label{font-size:13px;color:#566474}
.btp-login-form input[type="text"],.btp-login-form input[type="password"]{height:58px;border-radius:18px;background:#fffdf8!important}
.btp-check{gap:9px;color:#6b7682}

@media (max-width:1080px){
  .btp-login-stage{grid-template-columns:1fr}
  .btp-login-card{justify-self:center}
  .btp-login-scene{min-height:inherit;padding:30px 28px}
  .btp-login-graph{position:relative;right:auto;bottom:auto;width:100%;max-width:420px;height:130px;margin-top:18px}
}
@media (max-width:720px){
  .btp-profile-grid{grid-template-columns:1fr}
  .btp-hero h2,.btp-section-head h2{max-width:15ch}
  .btp-login-shell{padding:16px 14px 20px}
  .btp-login-stage{gap:14px}
  .btp-login-scene{display:none}
  .btp-login-card{width:100%;padding:28px 22px;border-radius:30px}
  .btp-login-card h2{max-width:11ch}
  .btp-cards:not(.btp-cards-finance){grid-template-columns:1fr 1fr}
  .btp-cards-finance{grid-template-columns:1fr}
  .btp-userbox .btp-ghost{padding:12px 14px!important}
}
@media (max-width:480px){
  .btp-cards:not(.btp-cards-finance){grid-template-columns:1fr}
  .btp-usertext strong,.btp-usertext small{max-width:140px}
  .btp-account-card h3,.btp-account-card>p{max-width:100%}
}

/* v0.7.0 — transição de tela + login refinado + tabelas premium */

/* As tabelas ficam visualmente "encaixadas" no card, sem linhas tocando as bordas. */
.btp-table-panel .btp-table-wrap{
  margin:0 14px 18px!important;
  padding:0!important;
  border:1px solid rgba(214,163,75,.13);
  border-radius:20px;
  overflow:auto;
  background:linear-gradient(180deg,#fff,#fcfaf6);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
}
.btp-table th,.btp-table td{
  border-left:0!important;
  border-right:0!important;
}
.btp-table thead th:first-child{border-top-left-radius:18px}
.btp-table thead th:last-child{border-top-right-radius:18px}
.btp-table tbody tr:last-child td{border-bottom:0!important}
.btp-table-panel:has(.btp-empty) .btp-table-wrap{padding-bottom:0!important}

/* Login: tudo respira melhor e o gráfico deixa de sobrepor os cards. */
.btp-login-scene{
  display:grid!important;
  grid-template-rows:auto auto auto;
  gap:22px;
  align-content:space-between;
}
.btp-login-scene-stack{align-self:end}
.btp-login-graph{
  position:relative!important;
  right:auto!important;
  bottom:auto!important;
  width:min(100%,520px)!important;
  max-width:520px!important;
  height:138px!important;
  margin:0!important;
  justify-self:start;
}
.btp-login-card{
  align-self:center;
}
.btp-login-card>.btp-brand{margin-bottom:22px}
.btp-login-card .btp-login-kicker{margin:0 0 12px!important}
.btp-login-card h2{margin:0 0 14px!important}
.btp-login-card>p{margin:0 0 24px!important}
.btp-login-form{gap:16px!important}
.btp-login-form label{gap:8px!important}
.btp-login-form .btp-primary{margin-top:2px}
.btp-login-links{margin-top:18px!important}

/* Fundo vivo, porém discreto: movimento lento de luz dourada/azul. */
.btp-login-shell::after{
  content:"";
  position:fixed;
  inset:-18%;
  pointer-events:none;
  z-index:0;
  background:
    radial-gradient(circle at 24% 30%,rgba(214,163,75,.13),transparent 18%),
    radial-gradient(circle at 74% 22%,rgba(73,103,143,.11),transparent 22%),
    radial-gradient(circle at 58% 78%,rgba(214,163,75,.08),transparent 19%);
  filter:blur(34px);
  opacity:.9;
  animation:btpLoginAmbient 16s ease-in-out infinite alternate;
}
@keyframes btpLoginAmbient{
  0%{transform:translate3d(-2%,0,0) scale(1);opacity:.72}
  50%{transform:translate3d(2%,-1.5%,0) scale(1.035);opacity:.94}
  100%{transform:translate3d(0,2%,0) scale(1.015);opacity:.78}
}
.btp-login-stage{position:relative;z-index:2}

/* Transição de tela inspirada na experiência do Inglês Avançado, adaptada para vendas. */
.btp-route-transition{
  position:fixed;
  inset:0;
  z-index:999999;
  display:grid;
  place-items:center;
  padding:24px;
  background:
    radial-gradient(circle at 50% 45%,rgba(214,163,75,.12),transparent 20%),
    radial-gradient(circle at 50% 48%,rgba(52,75,105,.08),transparent 38%),
    #090d13;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .20s ease,visibility .20s ease;
  isolation:isolate;
}
.btp-route-transition.is-active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.btp-route-transition__inner{
  width:min(390px,90vw);
  display:grid;
  justify-items:center;
  text-align:center;
  color:#fff;
  transform:translateZ(0);
}
.btp-route-transition__mark{
  position:relative;
  width:190px;
  height:164px;
  display:grid;
  place-items:center;
  isolation:isolate;
}
.btp-route-transition__halo{
  position:absolute;
  width:142px;
  height:142px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(214,163,75,.18),rgba(214,163,75,.03) 48%,transparent 72%);
  filter:blur(3px);
  animation:btpRouteHalo 1.6s ease-in-out infinite;
}
.btp-route-transition__ring{
  position:absolute;
  width:132px;
  height:132px;
  border-radius:50%;
  border:1px solid rgba(240,207,137,.18);
  border-top-color:rgba(240,207,137,.72);
  border-right-color:rgba(214,163,75,.34);
  box-shadow:0 0 34px rgba(214,163,75,.10);
  animation:btpRouteSpin 2.15s linear infinite;
}
.btp-route-transition__brand{
  position:relative;
  z-index:4;
  min-width:126px;
  display:grid;
  grid-template-columns:auto auto;
  align-items:end;
  justify-content:center;
  column-gap:2px;
  color:#f7f4ed;
  font-size:25px;
  font-weight:700;
  letter-spacing:-.04em;
  filter:drop-shadow(0 8px 24px rgba(0,0,0,.28));
  animation:btpRouteBrandFloat 1.18s ease-in-out infinite alternate;
}
.btp-route-transition__brand small{
  grid-column:1/-1;
  margin-top:6px;
  color:#b8c1ce;
  font-size:9px;
  font-weight:800;
  letter-spacing:.27em;
  text-transform:uppercase;
}
.btp-route-transition__by{
  color:#e5b957;
  font-family:Georgia,'Times New Roman',serif;
  font-size:42px;
  font-style:italic;
  line-height:.72;
  letter-spacing:-4px;
}
.btp-route-transition__bars{
  position:absolute;
  z-index:2;
  left:32px;
  bottom:14px;
  height:52px;
  display:flex;
  align-items:flex-end;
  gap:6px;
  opacity:.7;
}
.btp-route-transition__bars i{
  display:block;
  width:8px;
  border-radius:7px 7px 2px 2px;
  background:linear-gradient(180deg,#f2d38f,#b87e18);
  box-shadow:0 0 15px rgba(214,163,75,.18);
  transform-origin:bottom;
  animation:btpRouteBarGrow 1.15s cubic-bezier(.22,.78,.24,1) infinite alternate;
}
.btp-route-transition__bars i:nth-child(1){height:15px;animation-delay:-.18s}
.btp-route-transition__bars i:nth-child(2){height:24px;animation-delay:-.10s}
.btp-route-transition__bars i:nth-child(3){height:35px;animation-delay:-.04s}
.btp-route-transition__bars i:nth-child(4){height:48px}
.btp-route-transition__arrow{
  position:absolute;
  z-index:3;
  right:25px;
  top:24px;
  width:52px;
  height:52px;
  border-top:3px solid #edcb7a;
  border-right:3px solid #edcb7a;
  transform:rotate(-2deg);
  filter:drop-shadow(0 0 12px rgba(214,163,75,.28));
  animation:btpRouteArrow 1.15s cubic-bezier(.22,.78,.24,1) infinite alternate;
}
.btp-route-transition__arrow::before{
  content:"";
  position:absolute;
  left:-20px;
  bottom:3px;
  width:62px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,#edcb7a 46%,#edcb7a);
  transform:rotate(-42deg);
  transform-origin:right center;
}
.btp-route-transition__copy{margin-top:16px}
.btp-route-transition__copy strong{
  display:block;
  color:#f7f4ed;
  font-size:18px;
  font-weight:800;
  letter-spacing:-.02em;
}
.btp-route-transition__copy span{
  display:block;
  margin-top:7px;
  color:#8e9aaa;
  font-size:12px;
  font-weight:600;
  line-height:1.5;
}
.btp-route-transition__progress{
  position:relative;
  width:190px;
  height:4px;
  margin-top:22px;
  overflow:hidden;
  border-radius:999px;
  background:rgba(255,255,255,.05);
}
.btp-route-transition__progress span{
  position:absolute;
  inset:0 auto 0 0;
  width:42%;
  border-radius:inherit;
  background:linear-gradient(90deg,transparent,#d3a044 28%,#f1d48b 72%,transparent);
  box-shadow:0 0 15px rgba(214,163,75,.26);
  animation:btpRouteProgress 1.02s cubic-bezier(.45,0,.55,1) infinite;
}
.btp-route-transition.is-switching .btp-route-transition__ring{
  border-top-color:#f8e1a9;
  box-shadow:0 0 52px rgba(214,163,75,.18);
}
.btp-route-transition.is-finishing .btp-route-transition__inner{
  animation:btpRouteOut .24s ease both;
}
@keyframes btpRouteHalo{0%,100%{transform:scale(.92);opacity:.55}50%{transform:scale(1.06);opacity:1}}
@keyframes btpRouteSpin{to{transform:rotate(360deg)}}
@keyframes btpRouteBrandFloat{from{transform:translateY(2px) scale(.995)}to{transform:translateY(-4px) scale(1.018)}}
@keyframes btpRouteBarGrow{from{transform:scaleY(.68);opacity:.6}to{transform:scaleY(1);opacity:1}}
@keyframes btpRouteArrow{from{transform:translate(-5px,6px) scale(.94)}to{transform:translate(4px,-5px) scale(1)}}
@keyframes btpRouteProgress{0%{transform:translateX(-120%)}100%{transform:translateX(350%)}}
@keyframes btpRouteOut{from{opacity:1;transform:none}to{opacity:0;transform:scale(.97)}}

@media(max-width:1080px){
  /* Em tablet/mobile, acesso vem antes do material visual de apoio. */
  .btp-login-card{order:1!important;justify-self:center!important}
  .btp-login-scene{order:2!important}
  .btp-login-stage{align-items:start!important}
}

@media(max-width:720px){
  .btp-table-panel .btp-table-wrap{
    margin:0 10px 12px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  .btp-login-card>.btp-brand{margin-bottom:18px}
  .btp-login-card h2{margin-bottom:12px!important}
  .btp-login-card>p{margin-bottom:20px!important}
  .btp-login-scene{display:none!important}
  .btp-login-card{order:1!important}
  .btp-route-transition__mark{width:166px;height:148px}
  .btp-route-transition__ring{width:120px;height:120px}
  .btp-route-transition__halo{width:132px;height:132px}
  .btp-route-transition__copy strong{font-size:16px}
}

@media(prefers-reduced-motion:reduce){
  .btp-login-shell::after,
  .btp-route-transition__halo,
  .btp-route-transition__ring,
  .btp-route-transition__brand,
  .btp-route-transition__bars i,
  .btp-route-transition__arrow,
  .btp-route-transition__progress span{animation:none!important}
  .btp-route-transition{transition:none!important}
}

/* ================================================================
   v0.8.0 — refinement: motion, login and interaction hierarchy
   ================================================================ */

/* Only controls that are actually actionable receive hover motion. */
.btp-cards article,
.btp-panel,
.btp-message-card,
.btp-pipe-col,
.btp-goal{
  transition:box-shadow .32s ease,border-color .32s ease,background .32s ease!important;
}
@media (hover:hover){
  .btp-cards article:hover,
  .btp-panel:hover,
  .btp-message-card:hover,
  .btp-pipe-col:hover,
  .btp-goal:hover{transform:none!important}
}
.btp-sidebar nav button,
.btp-nav-more button,
.btp-mobile-more-toggle{
  transition:
    background-color .38s cubic-bezier(.22,.75,.22,1),
    border-color .38s cubic-bezier(.22,.75,.22,1),
    color .30s ease,
    box-shadow .38s cubic-bezier(.22,.75,.22,1),
    transform .38s cubic-bezier(.22,.75,.22,1)!important;
}
.btp-sidebar nav button::after,
.btp-nav-more button::after,
.btp-mobile-more-toggle::after{transition:opacity .34s ease,box-shadow .34s ease!important}
@media (hover:hover){
  .btp-sidebar nav button:hover,
  .btp-nav-more button:hover,
  .btp-mobile-more-toggle:hover{transform:translateX(2px)!important}
  .btp-app .btp-primary:hover,
  .btp-login-shell .btp-primary:hover,
  .btp-app .btp-ghost:hover,
  .btp-app .btp-mini:hover,
  .btp-app .btp-usercard:hover{transform:translateY(-1px)!important}
}
.btp-app .btp-primary,
.btp-login-shell .btp-primary,
.btp-app .btp-ghost,
.btp-app .btp-mini,
.btp-app .btp-usercard{
  transition:transform .28s cubic-bezier(.22,.75,.22,1),box-shadow .28s ease,filter .28s ease,border-color .28s ease!important;
}

/* Table content is inset so separator lines never touch the outer premium card. */
.btp-table-panel{padding:0 18px 18px!important;overflow:hidden!important}
.btp-table-panel .btp-section-head{padding:26px 8px 4px!important}
.btp-table-panel .btp-table-wrap{
  margin-top:12px!important;
  border:1px solid rgba(166,137,80,.16)!important;
  border-radius:20px!important;
  overflow:auto!important;
  background:rgba(255,255,255,.62)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
.btp-table th:first-child,.btp-table td:first-child{padding-left:20px}
.btp-table th:last-child,.btp-table td:last-child{padding-right:20px}
.btp-table th{border-top:0!important}
.btp-table tbody tr:last-child td{border-bottom:0!important}
.btp-table tr:hover td{background:transparent!important}

/* Headings wrap only when the viewport really requires it. */
.btp-hero h2,
.btp-section-head h2,
.btp-settings-title h3,
.btp-account-card h3,
.btp-login-card h2{
  max-width:none!important;
  text-wrap:pretty!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}

/* Account summary: no implementation / architecture explanation for end users. */
.btp-account-note{display:none!important}
.btp-account-card{padding-bottom:24px!important}
.btp-account-card .btp-account-logout{margin-top:22px!important}

/* View enters under the opaque transition with a very light finish. */
.btp-view.btp-view-arrive{animation:btpViewArrive .42s cubic-bezier(.22,.72,.22,1) both}
@keyframes btpViewArrive{from{opacity:.72;transform:translateY(5px)}to{opacity:1;transform:none}}

/* ----------------------------------------------------------------
   Route transition — visual layer only, no selection or interaction.
   Logo and growth indicators are separated to avoid overlap.
   ---------------------------------------------------------------- */
.btp-route-transition{
  position:fixed!important;
  inset:0!important;
  width:100vw!important;
  height:100vh!important;
  height:100dvh!important;
  z-index:2147483000!important;
  display:grid!important;
  place-items:center!important;
  padding:max(24px,env(safe-area-inset-top)) max(20px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(20px,env(safe-area-inset-left))!important;
  margin:0!important;
  background:
    radial-gradient(circle at 50% 46%,rgba(214,163,75,.12),transparent 21%),
    radial-gradient(circle at 50% 50%,rgba(56,78,106,.07),transparent 39%),
    #080c12!important;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s ease,visibility .22s ease!important;
  isolation:isolate;
  contain:strict;
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-touch-callout:none!important;
  touch-action:none!important;
  cursor:progress!important;
}
.btp-route-transition.is-active{opacity:1!important;visibility:visible!important;pointer-events:auto!important}
.btp-route-transition,
.btp-route-transition *{
  -webkit-user-select:none!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
}
.btp-route-transition__inner,
.btp-route-transition__inner *{pointer-events:none!important}
.btp-route-transition__inner{
  width:min(330px,88vw)!important;
  display:grid!important;
  justify-items:center!important;
  align-content:center!important;
  text-align:center!important;
  color:#fff!important;
}
.btp-route-transition__mark{
  position:relative!important;
  width:166px!important;
  height:172px!important;
  display:grid!important;
  place-items:center!important;
  padding-bottom:32px!important;
  isolation:isolate!important;
}
.btp-route-transition__orbit{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:126px!important;
  height:126px!important;
  margin:-72px 0 0 -63px!important;
  border-radius:50%!important;
  border:1px solid rgba(236,205,137,.14)!important;
  border-top-color:rgba(239,207,139,.48)!important;
  border-right-color:rgba(214,163,75,.22)!important;
  box-shadow:0 0 0 12px rgba(214,163,75,.015),0 0 42px rgba(214,163,75,.08)!important;
  animation:btpRouteOrbitSoft 2.4s linear infinite!important;
}
.btp-route-transition__pulse{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  width:112px!important;
  height:112px!important;
  margin:-65px 0 0 -56px!important;
  border-radius:50%!important;
  background:radial-gradient(circle,rgba(214,163,75,.13),rgba(214,163,75,.025) 52%,transparent 72%)!important;
  animation:btpRoutePulseSoft 1.75s ease-in-out infinite!important;
}
.btp-route-transition__logo{
  position:relative!important;
  z-index:4!important;
  display:grid!important;
  grid-template-columns:auto auto!important;
  align-items:end!important;
  justify-content:center!important;
  column-gap:2px!important;
  color:#f7f4ee!important;
  font-size:23px!important;
  font-weight:700!important;
  letter-spacing:-.035em!important;
  filter:drop-shadow(0 8px 22px rgba(0,0,0,.30))!important;
  animation:btpRouteLogoSoft 1.45s cubic-bezier(.45,0,.55,1) infinite alternate!important;
}
.btp-route-transition__logo small{
  grid-column:1/-1!important;
  margin-top:7px!important;
  color:#9ca7b5!important;
  font-size:8.5px!important;
  font-weight:800!important;
  letter-spacing:.28em!important;
}
.btp-route-transition__logo-by{
  color:#e5b957!important;
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:38px!important;
  font-style:italic!important;
  line-height:.74!important;
  letter-spacing:-4px!important;
}
.btp-route-transition__growth{
  position:absolute!important;
  left:50%!important;
  bottom:8px!important;
  transform:translateX(-50%)!important;
  z-index:5!important;
  display:flex!important;
  align-items:flex-end!important;
  gap:5px!important;
  height:28px!important;
}
.btp-route-transition__growth i{
  display:block!important;
  width:6px!important;
  border-radius:5px 5px 2px 2px!important;
  background:linear-gradient(180deg,#f0d38e,#a87317)!important;
  box-shadow:0 0 10px rgba(214,163,75,.12)!important;
  transform-origin:bottom!important;
  animation:btpRouteRevenue .95s cubic-bezier(.35,.75,.25,1) infinite alternate!important;
}
.btp-route-transition__growth i:nth-child(1){height:9px!important;animation-delay:-.24s!important}
.btp-route-transition__growth i:nth-child(2){height:14px!important;animation-delay:-.16s!important}
.btp-route-transition__growth i:nth-child(3){height:20px!important;animation-delay:-.08s!important}
.btp-route-transition__growth i:nth-child(4){height:27px!important}
.btp-route-transition__copy{margin-top:12px!important;max-width:310px!important}
.btp-route-transition__copy strong{display:block!important;color:#f7f4ee!important;font-size:17px!important;font-weight:800!important;letter-spacing:-.015em!important;line-height:1.25!important}
.btp-route-transition__copy span{display:block!important;margin-top:7px!important;color:#8996a5!important;font-size:11.5px!important;font-weight:600!important;line-height:1.5!important}
.btp-route-transition__progress{
  position:relative!important;
  width:168px!important;
  height:3px!important;
  margin-top:20px!important;
  overflow:hidden!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.045)!important;
}
.btp-route-transition__progress span{
  position:absolute!important;
  inset:0 auto 0 0!important;
  width:40%!important;
  border-radius:inherit!important;
  background:linear-gradient(90deg,transparent,#c79332 28%,#f0d38e 72%,transparent)!important;
  box-shadow:0 0 13px rgba(214,163,75,.20)!important;
  animation:btpRouteProgressSoft 1.06s cubic-bezier(.45,0,.55,1) infinite!important;
}
.btp-route-transition.is-finishing .btp-route-transition__inner{animation:btpRouteFinishSoft .22s ease both!important}
@keyframes btpRouteOrbitSoft{to{transform:rotate(360deg)}}
@keyframes btpRoutePulseSoft{0%,100%{transform:scale(.95);opacity:.52}50%{transform:scale(1.04);opacity:.95}}
@keyframes btpRouteLogoSoft{from{transform:translateY(1px) scale(.995)}to{transform:translateY(-3px) scale(1.012)}}
@keyframes btpRouteRevenue{from{transform:scaleY(.70);opacity:.62}to{transform:scaleY(1);opacity:1}}
@keyframes btpRouteProgressSoft{0%{transform:translateX(-120%)}100%{transform:translateX(360%)}}
@keyframes btpRouteFinishSoft{from{opacity:1;transform:none}to{opacity:0;transform:scale(.985)}}

/* ----------------------------------------------------------------
   Login — balanced desktop composition, login first on tablet/mobile.
   The visual panel supports the product instead of competing with it.
   ---------------------------------------------------------------- */
.btp-login-shell{
  background:
    radial-gradient(circle at 18% 24%,rgba(214,163,75,.14),transparent 16%),
    radial-gradient(circle at 82% 18%,rgba(57,82,115,.11),transparent 22%),
    linear-gradient(135deg,#080c12 0%,#0e1621 48%,#162131 100%)!important;
}
.btp-login-shell::after{opacity:.58!important;filter:blur(52px)!important;animation-duration:22s!important}
.btp-login-stage{
  width:min(1160px,100%)!important;
  display:grid!important;
  grid-template-columns:minmax(0,.92fr) minmax(430px,.72fr)!important;
  grid-template-areas:"scene login"!important;
  gap:30px!important;
  align-items:center!important;
}
.btp-login-scene{
  grid-area:scene!important;
  min-height:560px!important;
  padding:34px!important;
  border-radius:34px!important;
  display:grid!important;
  grid-template-rows:auto auto minmax(150px,1fr)!important;
  align-content:start!important;
  gap:24px!important;
  background:
    radial-gradient(circle at top right,rgba(214,163,75,.12),transparent 33%),
    linear-gradient(145deg,rgba(12,17,25,.94),rgba(18,27,39,.92) 62%,rgba(25,37,53,.94))!important;
  border:1px solid rgba(214,163,75,.14)!important;
  box-shadow:0 34px 84px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.btp-login-scene-copy{max-width:560px!important}
.btp-login-scene-copy span{font-size:10px!important;letter-spacing:.24em!important;margin-bottom:14px!important;color:#e6bf69!important}
.btp-login-scene-copy h3{font-size:clamp(34px,3.4vw,48px)!important;line-height:1.00!important;max-width:14ch!important;margin-bottom:16px!important}
.btp-login-scene-copy p{font-size:15px!important;line-height:1.65!important;max-width:47ch!important;color:#bac6d3!important}
.btp-login-scene-metrics{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
}
.btp-login-scene-metrics article{
  min-width:0!important;
  padding:15px 16px!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.055),rgba(255,255,255,.025))!important;
  border:1px solid rgba(214,163,75,.10)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
}
.btp-login-scene-metrics small{display:block!important;color:#d9b566!important;font-size:8.5px!important;font-weight:800!important;letter-spacing:.14em!important}
.btp-login-scene-metrics strong{display:block!important;margin-top:8px!important;color:#f6f1e8!important;font-size:17px!important;letter-spacing:-.02em!important}
.btp-login-scene-metrics span{display:block!important;margin-top:6px!important;color:#94a1af!important;font-size:11px!important;line-height:1.45!important}
.btp-login-trajectory{
  min-height:160px!important;
  border-radius:22px!important;
  padding:18px 20px 14px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018))!important;
  border:1px solid rgba(214,163,75,.10)!important;
  overflow:hidden!important;
}
.btp-login-trajectory-head{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;margin-bottom:6px!important}
.btp-login-trajectory-head span{font-size:8.5px!important;letter-spacing:.16em!important;color:#8795a5!important;font-weight:800!important}
.btp-login-trajectory-head strong{font-size:12px!important;color:#e9c977!important}
.btp-login-trajectory svg{display:block!important;width:100%!important;height:118px!important;overflow:visible!important}
.btp-login-trajectory-grid{fill:none!important;stroke:rgba(255,255,255,.055)!important;stroke-width:1!important}
.btp-login-trajectory-line{fill:none!important;stroke:url(#btpSalesLine)!important;stroke-width:4!important;stroke-linecap:round!important;filter:drop-shadow(0 4px 10px rgba(214,163,75,.16))!important}
.btp-login-trajectory circle{fill:#e5bc63!important;stroke:#182130!important;stroke-width:3!important}
.btp-login-card{
  grid-area:login!important;
  width:100%!important;
  max-width:500px!important;
  padding:32px 30px!important;
  border-radius:32px!important;
  justify-self:end!important;
}
.btp-login-card>.btp-brand{margin-bottom:20px!important}
.btp-login-kicker{margin:4px 0 10px!important}
.btp-login-card h2{font-size:clamp(34px,3vw,43px)!important;line-height:1.02!important;margin-bottom:12px!important}
.btp-login-card>p{font-size:14px!important;line-height:1.62!important;margin-bottom:22px!important}
.btp-login-form{gap:15px!important}
.btp-login-form input[type="text"],.btp-login-form input[type="password"]{height:56px!important}
.btp-login-links{margin-top:16px!important}

@media(max-width:1080px){
  .btp-login-stage{
    grid-template-columns:minmax(0,640px)!important;
    grid-template-areas:"login" "scene"!important;
    justify-content:center!important;
    align-items:start!important;
  }
  .btp-login-card{grid-area:login!important;order:initial!important;justify-self:center!important;max-width:560px!important}
  .btp-login-scene{grid-area:scene!important;order:initial!important;min-height:0!important;max-width:760px!important;width:100%!important}
}
@media(max-width:820px){
  .btp-login-shell{align-items:flex-start!important;padding:22px 16px 28px!important}
  .btp-login-stage{gap:18px!important}
  .btp-login-card{max-width:600px!important}
  .btp-login-scene{padding:26px!important}
  .btp-login-scene-copy h3{font-size:34px!important;max-width:none!important}
  .btp-login-scene-metrics{grid-template-columns:1fr!important}
  .btp-login-trajectory{display:none!important}
}
@media(max-width:720px){
  .btp-table-panel{padding:0 10px 12px!important}
  .btp-table-panel .btp-section-head{padding:20px 10px 0!important}
  .btp-table-panel .btp-table-wrap{margin:10px 0 0!important;border:0!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
  .btp-login-scene{display:none!important}
  .btp-login-stage{grid-template-areas:"login"!important}
  .btp-login-card{padding:26px 20px!important;border-radius:28px!important}
  .btp-login-card h2{font-size:clamp(30px,9.5vw,38px)!important;max-width:none!important}
  .btp-login-card>p{font-size:13.5px!important}
  .btp-route-transition__mark{width:150px!important;height:158px!important}
  .btp-route-transition__copy{max-width:280px!important}
}
@media(max-width:430px){
  .btp-login-shell{padding:14px 12px 22px!important}
  .btp-login-card{padding:24px 18px!important}
  .btp-login-brand .btp-brand-name{font-size:22px!important}
  .btp-login-card h2{font-size:31px!important}
  .btp-route-transition__copy strong{font-size:15.5px!important}
  .btp-route-transition__copy span{font-size:11px!important}
}

@media(prefers-reduced-motion:reduce){
  .btp-route-transition__orbit,
  .btp-route-transition__pulse,
  .btp-route-transition__logo,
  .btp-route-transition__growth i,
  .btp-route-transition__progress span,
  .btp-login-shell::after,
  .btp-view.btp-view-arrive{animation:none!important}
  .btp-route-transition{transition:none!important}
}

/* ================================================================
   v0.9.0 — full-surface tables + guided message personalization
   ================================================================ */

/* Tables now use the complete premium field. Backgrounds reach every edge,
   while separators remain inset so they never collide with the rounded card. */
@media (min-width:721px){
  .btp-table-panel{
    padding:0!important;
    overflow:hidden!important;
    border-radius:26px!important;
  }
  .btp-table-panel .btp-section-head{
    margin:0!important;
    padding:28px 28px 20px!important;
    background:linear-gradient(180deg,#fff 0%,#fdfbf7 100%)!important;
  }
  .btp-table-panel .btp-table-wrap{
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    overflow:auto!important;
    background:#f6f6f6!important;
    box-shadow:none!important;
  }
  .btp-table{
    width:100%!important;
    min-width:860px;
    border-collapse:separate!important;
    border-spacing:0!important;
    background:#f6f6f6!important;
  }
  .btp-table thead,
  .btp-table tbody,
  .btp-table tr{position:relative}
  .btp-table thead{background:#fbfaf7!important}
  .btp-table thead::after{
    content:"";
    position:absolute;
    left:26px;right:26px;bottom:0;height:1px;
    background:linear-gradient(90deg,transparent,#e7e0d3 7%,#e7e0d3 93%,transparent);
    pointer-events:none;
  }
  .btp-table th{
    background:transparent!important;
    border:0!important;
    padding-top:18px!important;
    padding-bottom:18px!important;
  }
  .btp-table tbody{background:#f6f6f6!important}
  .btp-table tbody tr{background:#f6f6f6!important}
  .btp-table tbody tr:not(:last-child)::after{
    content:"";
    position:absolute;
    left:26px;right:26px;bottom:0;height:1px;
    background:linear-gradient(90deg,transparent,#e9e9e9 8%,#e9e9e9 92%,transparent);
    pointer-events:none;
  }
  .btp-table td{
    background:transparent!important;
    border:0!important;
  }
  .btp-table .btp-empty{
    min-height:172px!important;
    height:172px!important;
    background:#f6f6f6!important;
  }
  .btp-table-panel:has(.btp-empty) .btp-table-wrap{background:#f6f6f6!important}
}

/* Message workspace */
.btp-message-helper{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
  margin:0 0 20px;
  padding:18px 20px;
  border:1px solid rgba(214,163,75,.16);
  border-radius:22px;
  background:
    radial-gradient(circle at top right,rgba(214,163,75,.09),transparent 36%),
    linear-gradient(180deg,#fffdf8,#faf7ef);
  box-shadow:0 12px 28px rgba(12,16,24,.05);
}
.btp-message-helper strong{display:block;color:var(--btp-ink);font-size:15px;margin-bottom:4px}
.btp-message-helper p{margin:0;color:#71808f;font-size:13px;line-height:1.55;max-width:760px}
.btp-message-helper-badge{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#111925;
  color:#f1d48b;
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  white-space:nowrap;
}
.btp-message-grid{align-items:stretch}
.btp-message-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  padding:22px!important;
}
.btp-message-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.btp-message-card-head>div{min-width:0}
.btp-message-card-head>div>span{font-size:10px;letter-spacing:.16em;color:#a56f00;font-weight:800}
.btp-message-card h3{margin:8px 0 0;color:var(--btp-ink);font-size:20px;line-height:1.18;text-wrap:balance}
.btp-message-channel{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 9px;
  border-radius:999px;
  background:#f4f0e7;
  border:1px solid #e8dfcf;
  color:#7b6b50;
  font-size:9px;
  font-weight:800;
  letter-spacing:.11em;
}
.btp-message-preview{
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  color:#55626e;
  line-height:1.62;
  background:linear-gradient(180deg,#fbfaf8,#f8f7f4);
  border:1px solid #ece7dd;
  border-radius:17px;
  padding:16px;
  margin-top:16px;
  min-height:154px;
  max-height:260px;
  overflow:auto;
  font-size:14px;
}
.btp-message-vars{display:flex;flex-wrap:wrap;gap:7px;margin:13px 0 0}
.btp-message-vars span{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:0 9px;
  border-radius:999px;
  background:#fff7e5;
  border:1px solid #efdeb5;
  color:#8a620e;
  font-size:10px;
  font-weight:700;
}
.btp-message-vars span.is-ready{background:#edf8f2;border-color:#cde9da;color:#28714d}
.btp-message-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:auto;padding-top:16px}
.btp-message-actions .btp-primary{flex:1 1 190px}
.btp-message-actions .btp-mini{flex:0 1 auto;min-width:130px}
.btp-copy-message:disabled{
  cursor:not-allowed!important;
  opacity:.52!important;
  filter:saturate(.45)!important;
  transform:none!important;
}

/* Message personalization modal */
.btp-message-editor{
  position:fixed;
  inset:0;
  z-index:2147482500;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(8,12,18,.68);
  backdrop-filter:blur(8px);
}
.btp-message-editor.is-open{display:flex}
.btp-message-editor-card{
  width:min(820px,100%);
  max-height:min(88vh,900px);
  overflow:auto;
  position:relative;
  border-radius:30px;
  padding:28px;
  background:
    radial-gradient(circle at top right,rgba(214,163,75,.10),transparent 30%),
    linear-gradient(180deg,#fff,#fcfaf6);
  border:1px solid rgba(214,163,75,.16);
  box-shadow:0 36px 100px rgba(5,9,15,.30);
}
.btp-message-editor-close{
  position:absolute;
  top:16px;right:16px;
  width:42px;height:42px;
  display:grid;place-items:center;
  border:1px solid #e8e1d5;
  border-radius:50%;
  background:#fff;
  color:#273241;
  font-size:24px;
  cursor:pointer;
}
.btp-message-editor-head{padding-right:54px;margin-bottom:20px}
.btp-message-editor-head>span,
.btp-message-editor-preview-wrap>span{
  color:#9b6a00;
  font-size:10px;
  font-weight:800;
  letter-spacing:.18em;
}
.btp-message-editor-head h3{margin:8px 0 7px;color:var(--btp-ink);font-size:28px;line-height:1.08;text-wrap:balance}
.btp-message-editor-head p{margin:0;color:#748190;line-height:1.55;max-width:62ch}
.btp-message-lead-select{
  display:grid;
  gap:7px;
  margin-bottom:18px;
  padding:16px;
  border-radius:18px;
  background:#f8f5ed;
  border:1px solid #ebe1cb;
  color:#596675;
  font-size:12px;
  font-weight:800;
}
.btp-message-lead-select select{
  width:100%;height:50px;padding:0 13px;
  border:1px solid #d8d3c9;
  border-radius:14px;
  background:#fff;
  color:var(--btp-ink);
  outline:none;
}
.btp-message-lead-select small{font-weight:500;color:#87929f;line-height:1.45}
.btp-message-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.btp-message-field{display:grid;gap:7px;min-width:0}
.btp-message-field>span{font-size:12px;font-weight:800;color:#5c6876}
.btp-message-field-control{
  display:flex;
  align-items:center;
  min-width:0;
  height:52px;
  overflow:hidden;
  border:1px solid #d8d3c9;
  border-radius:15px;
  background:#fff;
  transition:border-color .2s ease,box-shadow .2s ease;
}
.btp-message-field-control em{
  align-self:stretch;
  display:flex;align-items:center;
  padding:0 12px;
  border-right:1px solid #ece7dd;
  background:#faf7ef;
  color:#8c6415;
  font-style:normal;
  font-size:12px;
  font-weight:800;
}
.btp-message-field-input{
  width:100%!important;height:100%!important;min-width:0!important;
  border:0!important;outline:0!important;box-shadow:none!important;
  background:transparent!important;padding:0 13px!important;color:var(--btp-ink)!important;
}
.btp-message-field:focus-within .btp-message-field-control{border-color:rgba(214,163,75,.75);box-shadow:0 0 0 4px rgba(214,163,75,.11)}
.btp-message-field.has-error .btp-message-field-control{border-color:#d96666;box-shadow:0 0 0 4px rgba(217,102,102,.10)}
.btp-message-field.has-error>span{color:#b64c4c}
.btp-message-editor-preview-wrap{margin-top:20px}
.btp-message-editor-preview{
  margin-top:8px;
  min-height:130px;
  max-height:240px;
  overflow:auto;
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  padding:16px 17px;
  border-radius:18px;
  border:1px solid #e6dfd3;
  background:#f7f7f5;
  color:#485563;
  line-height:1.65;
  font-size:14px;
}
.btp-message-editor-error{
  margin-top:12px;
  padding:11px 13px;
  border-radius:14px;
  background:#fff0f0;
  border:1px solid #edcaca;
  color:#a84c4c;
  font-size:12px;
  font-weight:700;
}
.btp-message-editor-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}
.btp-message-editor-actions .btp-primary{min-width:220px}
body.btp-modal-open{overflow:hidden!important}

@media(max-width:720px){
  .btp-message-helper{align-items:flex-start;flex-direction:column;padding:16px}
  .btp-message-helper-badge{white-space:normal;line-height:1.3;padding:8px 11px}
  .btp-message-grid{grid-template-columns:1fr!important}
  .btp-message-card{padding:18px!important}
  .btp-message-preview{min-height:0;max-height:none}
  .btp-message-actions{flex-direction:column}
  .btp-message-actions .btp-primary,.btp-message-actions .btp-mini{width:100%;flex:auto}
  .btp-message-editor{align-items:flex-end;padding:10px}
  .btp-message-editor-card{
    width:100%;max-height:92vh;
    padding:22px 18px calc(20px + env(safe-area-inset-bottom));
    border-radius:26px 26px 18px 18px;
  }
  .btp-message-editor-head{padding-right:44px}
  .btp-message-editor-head h3{font-size:23px}
  .btp-message-fields{grid-template-columns:1fr}
  .btp-message-editor-actions{flex-direction:column-reverse}
  .btp-message-editor-actions .btp-primary,.btp-message-editor-actions .btp-mini{width:100%;min-width:0}
}

/* v0.10.0 — messages cleaner + prompt library */
.btp-message-vars-pending{display:none!important;margin:0!important}
.btp-message-actions .is-hidden{display:none!important}
.btp-message-actions{margin-top:18px}
.btp-message-card:has(.btp-message-vars-pending) .btp-message-actions .btp-primary{width:100%}

.btp-prompts-head{align-items:center}
.btp-prompts-head>.btp-primary{flex:0 0 auto;white-space:nowrap}
.btp-prompt-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px;padding:12px 14px;border:1px solid rgba(214,163,75,.12);border-radius:18px;background:rgba(255,255,255,.78);box-shadow:0 10px 26px rgba(12,16,24,.05)}
.btp-prompt-toolbar>span{font-size:12px;color:#7b8693;white-space:nowrap}
.btp-prompt-search{display:flex;align-items:center;gap:10px;flex:1;min-width:0}
.btp-prompt-search .dashicons{color:#b88628;font-size:18px;width:18px;height:18px}
.btp-prompt-search input{width:100%;border:0!important;background:transparent!important;outline:none!important;box-shadow:none!important;color:var(--btp-ink);padding:8px 4px!important;height:auto!important}
.btp-prompt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:stretch}
.btp-prompt-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:22px;border-radius:26px;background:linear-gradient(180deg,#fff 0%,#fcfaf7 100%);border:1px solid rgba(214,163,75,.11);box-shadow:0 16px 36px rgba(12,16,24,.07),inset 0 1px 0 rgba(255,255,255,.84);overflow:hidden}
.btp-prompt-card::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(214,163,75,.55),transparent)}
.btp-prompt-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.btp-prompt-card-head>span{font-size:10px;letter-spacing:.16em;color:#a56f00;font-weight:800}
.btp-prompt-menu{display:flex;gap:7px}
.btp-prompt-menu .btp-mini{padding:7px 10px!important;border-radius:12px!important}
.btp-prompt-menu .btp-delete-prompt{width:34px;height:34px;padding:0!important;font-size:19px;line-height:1}
.btp-prompt-card h3{margin:14px 0 7px;font-size:21px;line-height:1.15;color:var(--btp-ink);text-wrap:balance}
.btp-prompt-card>p{margin:0 0 14px;color:#778391;font-size:13px;line-height:1.6}
.btp-prompt-card pre{white-space:pre-wrap;word-break:break-word;font-family:inherit;margin:0;padding:15px;border:1px solid #ece7dd;border-radius:17px;background:#faf9f6;color:#566371;line-height:1.6;max-height:250px;overflow:auto;flex:1}
.btp-prompt-actions{display:flex;margin-top:16px}
.btp-prompt-actions .btp-primary{width:100%}
.btp-prompt-empty{grid-column:1/-1;text-align:center;padding:46px 28px!important}
.btp-prompt-empty>.dashicons{font-size:36px;width:36px;height:36px;color:#c59536}
.btp-prompt-empty h3{margin:15px 0 8px;color:var(--btp-ink);font-size:22px}
.btp-prompt-empty p{max-width:520px;margin:0 auto 20px;color:#7b8693;line-height:1.65}

.btp-prompt-editor{position:fixed;inset:0;z-index:100020;display:none;align-items:center;justify-content:center;padding:24px;background:rgba(8,12,18,.72);backdrop-filter:blur(8px)}
.btp-prompt-editor.is-open{display:flex}
.btp-prompt-editor-card{position:relative;width:min(820px,100%);max-height:min(88vh,920px);overflow:auto;padding:28px;border-radius:28px;background:linear-gradient(180deg,#fff,#fcfaf7);border:1px solid rgba(214,163,75,.16);box-shadow:0 34px 90px rgba(6,10,16,.28)}
.btp-prompt-editor-close{position:absolute;right:18px;top:16px;width:42px;height:42px;border:1px solid rgba(214,163,75,.18);border-radius:50%;background:#f6f1e7;color:var(--btp-ink);font-size:24px;cursor:pointer;z-index:2}
.btp-prompt-form{display:grid;gap:15px}
.btp-prompt-form label{display:grid;gap:7px;color:#5f6b79;font-size:12px;font-weight:800}
.btp-prompt-form input,.btp-prompt-form select,.btp-prompt-form textarea{width:100%;border:1px solid #d9d6cf;background:#fff;border-radius:15px;padding:12px 14px;color:var(--btp-ink);outline:none;resize:vertical}
.btp-prompt-form input,.btp-prompt-form select{height:50px}
.btp-prompt-form textarea{min-height:300px;line-height:1.55}
.btp-prompt-form input:focus,.btp-prompt-form select:focus,.btp-prompt-form textarea:focus{border-color:rgba(214,163,75,.78);box-shadow:0 0 0 4px rgba(214,163,75,.12)}
.btp-prompt-form-grid{display:grid;grid-template-columns:1.4fr .8fr;gap:14px}

@media(max-width:900px){
  .btp-prompt-grid{grid-template-columns:1fr}
}
@media(max-width:720px){
  .btp-prompts-head{align-items:flex-start;flex-direction:column}
  .btp-prompts-head>.btp-primary{width:100%}
  .btp-prompt-toolbar{flex-direction:column;align-items:stretch}
  .btp-prompt-toolbar>span{white-space:normal}
  .btp-prompt-card{padding:18px;border-radius:22px}
  .btp-prompt-form-grid{grid-template-columns:1fr}
  .btp-prompt-editor{align-items:flex-end;padding:10px}
  .btp-prompt-editor-card{width:100%;max-height:92vh;border-radius:26px 26px 18px 18px;padding:22px 18px}
  .btp-prompt-form textarea{min-height:250px}
}

/* ================================================================
   v0.11.0 — responsive workspace stabilization
   Navigation icons, compact empty states and bounded work areas
   ================================================================ */

/* Let copy use the available width. Wrap only when the viewport requires it. */
.btp-hero h2,
.btp-section-head h2,
.btp-settings-title h3,
.btp-account-card h3,
.btp-login-card h2,
.btp-message-card h3,
.btp-prompt-card h3{
  width:auto!important;
  max-width:100%!important;
  min-width:0!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
  text-wrap:balance!important;
}
.btp-section-head>div,
.btp-topbar-copy,
.btp-message-card-head>div,
.btp-prompt-card-head,
.btp-account-card,
.btp-usertext{min-width:0!important}

/* Dense work areas get their own elegant scrolling so the full page does not
   become excessively long once real data is present. */
@media (min-width:721px){
  .btp-view[data-view="mensagens"] .btp-message-grid,
  .btp-view[data-view="prompts"] .btp-prompt-grid{
    max-height:min(66vh,720px);
    overflow-y:auto;
    overscroll-behavior:contain;
    scroll-padding:12px;
    padding:2px 8px 12px 2px;
  }
  .btp-table-panel:not(:has(.btp-empty)) .btp-table-wrap{
    max-height:min(64vh,680px)!important;
    overflow:auto!important;
    overscroll-behavior:contain;
  }
  .btp-pipe-col:not(:has(.btp-pipe-empty)){
    max-height:min(64vh,680px);
    overflow-y:auto;
    overscroll-behavior:contain;
  }
}

/* Empty states should be compact. Their size grows only after data exists. */
.btp-table-panel:has(.btp-empty){min-height:0!important}
.btp-table-panel:has(.btp-empty) .btp-table-wrap{min-height:0!important}
.btp-table-panel:has(.btp-empty) .btp-table .btp-empty{
  min-height:118px!important;
  height:auto!important;
  padding:24px 20px!important;
}
.btp-pipe-col:has(.btp-pipe-empty){min-height:0!important;height:auto!important}
.btp-pipe-col:has(.btp-pipe-empty) .btp-pipe-empty{min-height:92px!important}

/* Bottom navigation icons are explicit and protected from label typography. */
@media (max-width:720px){
  .btp-main{padding:16px 14px calc(96px + env(safe-area-inset-bottom))!important}
  .btp-sidebar{padding-bottom:calc(9px + env(safe-area-inset-bottom))!important}
  .btp-sidebar nav.btp-nav{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:4px!important;
  }
  .btp-sidebar nav.btp-nav>.btp-primary-nav,
  .btp-sidebar nav.btp-nav>.btp-mobile-more-toggle{
    min-height:62px!important;
    padding:8px 3px 7px!important;
    gap:5px!important;
  }
  .btp-sidebar nav.btp-nav .btp-nav-icon.dashicons{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    flex:0 0 20px!important;
    width:20px!important;
    height:20px!important;
    margin:0 auto!important;
    font-family:dashicons!important;
    font-size:20px!important;
    font-weight:400!important;
    line-height:20px!important;
    text-align:center!important;
    color:#f0d18a!important;
    -webkit-font-smoothing:antialiased!important;
  }
  /* Only the five primary labels are replaced by their short mobile labels. */
  .btp-sidebar nav.btp-nav>.btp-primary-nav>span:last-child{
    display:block!important;
    width:100%!important;
    font-size:0!important;
    line-height:1!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }
  .btp-sidebar nav.btp-nav>.btp-primary-nav>span:last-child::after{
    content:attr(data-mobile)!important;
    display:block!important;
    font-size:10px!important;
    line-height:1.15!important;
    color:inherit!important;
  }
  .btp-sidebar nav.btp-nav>.btp-mobile-more-toggle>span:last-child{
    display:block!important;
    font-size:10px!important;
    line-height:1.15!important;
    color:inherit!important;
  }

  /* More menu: keep every icon and every label visible. */
  .btp-nav-more{
    left:12px!important;
    right:12px!important;
    bottom:calc(84px + env(safe-area-inset-bottom))!important;
    max-height:min(58dvh,430px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    padding:12px!important;
  }
  .btp-sidebar nav.btp-nav .btp-nav-more button{
    min-width:0!important;
    min-height:54px!important;
    padding:10px 11px!important;
    gap:9px!important;
    align-items:center!important;
    justify-content:flex-start!important;
    flex-direction:row!important;
    text-align:left!important;
  }
  .btp-sidebar nav.btp-nav .btp-nav-more button .btp-nav-icon.dashicons{
    flex:0 0 18px!important;
    width:18px!important;
    height:18px!important;
    margin:0!important;
    font-size:18px!important;
    line-height:18px!important;
  }
  .btp-sidebar nav.btp-nav .btp-nav-more button>span:last-child{
    display:block!important;
    min-width:0!important;
    font-size:12px!important;
    line-height:1.22!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    color:#e2e8ef!important;
  }
  .btp-sidebar nav.btp-nav .btp-nav-more button>span:last-child::after{content:none!important}

  /* Headings now expand across the card before wrapping. */
  .btp-hero h2,
  .btp-section-head h2,
  .btp-settings-title h3,
  .btp-account-card h3{
    max-width:100%!important;
    font-size:clamp(25px,8.2vw,34px)!important;
    line-height:1.08!important;
  }
  .btp-hero p,.btp-section-head p{max-width:100%!important}

  /* Empty mobile tables are real compact states instead of oversized blank cards. */
  .btp-table-panel:has(.btp-empty){
    padding:0 0 14px!important;
    border-radius:24px!important;
  }
  .btp-table-panel:has(.btp-empty) .btp-section-head{padding:20px 20px 4px!important}
  .btp-table-panel:has(.btp-empty) .btp-table-wrap{
    margin:8px 14px 0!important;
    padding:0!important;
    max-height:none!important;
    overflow:visible!important;
    background:transparent!important;
  }
  .btp-table-panel:has(.btp-empty) .btp-table,
  .btp-table-panel:has(.btp-empty) .btp-table tbody,
  .btp-table-panel:has(.btp-empty) .btp-table tbody tr{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:auto!important;
  }
  .btp-table-panel:has(.btp-empty) .btp-table tbody tr{
    padding:0!important;
    margin:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .btp-table-panel:has(.btp-empty) .btp-table .btp-empty{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-height:112px!important;
    height:auto!important;
    padding:20px 16px!important;
    margin:0!important;
    border:1px solid #ebe6dc!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#fbfaf7,#f7f5f1)!important;
    text-align:center!important;
    color:#768292!important;
  }
  .btp-table-panel:has(.btp-empty) .btp-table .btp-empty::before{display:none!important}
  .btp-table-panel:has(.btp-empty) .btp-table .btp-empty strong,
  .btp-table-panel:has(.btp-empty) .btp-table .btp-empty small{
    display:block!important;
    width:100%!important;
    max-width:280px!important;
    margin:0 auto!important;
    text-align:center!important;
  }
  .btp-table-panel:has(.btp-empty) .btp-table .btp-empty strong{
    color:var(--btp-ink)!important;
    font-size:18px!important;
    line-height:1.2!important;
  }
  .btp-table-panel:has(.btp-empty) .btp-table .btp-empty small{
    margin-top:7px!important;
    color:#8b96a4!important;
    font-size:12px!important;
    line-height:1.5!important;
  }

  /* Real data scrolls inside the workspace instead of making the full page huge. */
  .btp-table-panel:not(:has(.btp-empty)) .btp-table-wrap{
    max-height:calc(100dvh - 270px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    padding-bottom:10px!important;
  }
  .btp-view[data-view="mensagens"] .btp-message-grid,
  .btp-view[data-view="prompts"] .btp-prompt-grid{
    max-height:calc(100dvh - 245px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    padding:2px 4px 14px 0!important;
  }
  .btp-message-preview{
    min-height:0!important;
    max-height:220px!important;
    overflow:auto!important;
  }
  .btp-prompt-card pre{max-height:220px!important}
  .btp-pipeline{max-height:calc(100dvh - 250px)!important;overflow-y:hidden!important}
  .btp-pipe-col{max-height:calc(100dvh - 285px)!important;overflow-y:auto!important}
  .btp-pipe-col:has(.btp-pipe-empty){max-height:none!important;overflow:visible!important}

  /* Personalization modal stays inside the viewport; preview and actions stay usable. */
  .btp-message-editor-card{
    max-height:calc(100dvh - 18px)!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
  }
  .btp-message-editor-preview{min-height:96px!important;max-height:180px!important;overflow:auto!important}
  .btp-message-editor-actions{
    position:sticky!important;
    bottom:-1px!important;
    z-index:4!important;
    padding-top:12px!important;
    padding-bottom:2px!important;
    background:linear-gradient(180deg,rgba(252,250,246,0),#fcfaf6 22%,#fcfaf6 100%)!important;
  }
}

@media (max-width:380px){
  .btp-main{padding-left:12px!important;padding-right:12px!important}
  .btp-sidebar nav.btp-nav>.btp-primary-nav,
  .btp-sidebar nav.btp-nav>.btp-mobile-more-toggle{padding-left:2px!important;padding-right:2px!important}
  .btp-sidebar nav.btp-nav .btp-nav-icon.dashicons{font-size:19px!important;width:19px!important;height:19px!important;line-height:19px!important}
  .btp-sidebar nav.btp-nav>.btp-primary-nav>span:last-child::after,
  .btp-sidebar nav.btp-nav>.btp-mobile-more-toggle>span:last-child{font-size:9.5px!important}
  .btp-nav-more{grid-template-columns:1fr!important;max-height:min(61dvh,450px)!important}
  .btp-sidebar nav.btp-nav .btp-nav-more button>span:last-child{font-size:12.5px!important}
}

/* ================================================================
   v0.12.0 — sidebar finish + anti-theme color bleed
   ================================================================ */

/* The version label was intentionally removed from the product UI. Keep the
   sidebar visually complete on every view and viewport. */
.btp-sidebar{
  min-height:100vh!important;
  height:100dvh!important;
  bottom:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
  padding-bottom:24px!important;
}
.btp-sidebar-foot{display:none!important}

/* Elementor/theme global button colors must never leak into the Prospect UI. */
.btp-app .btp-modal-close,
.btp-app .btp-message-editor-close,
.btp-app .btp-prompt-editor-close,
.btp-app .btp-delete-prompt{
  -webkit-appearance:none!important;
  appearance:none!important;
  background:linear-gradient(180deg,#1a2230 0%,#101722 100%)!important;
  background-color:#111722!important;
  color:#f0cf83!important;
  border:1px solid rgba(214,163,75,.34)!important;
  box-shadow:0 10px 24px rgba(8,12,18,.16),inset 0 1px 0 rgba(255,255,255,.06)!important;
  outline:none!important;
  text-decoration:none!important;
  transition:background-color .22s ease,border-color .22s ease,box-shadow .22s ease,color .22s ease,transform .22s ease!important;
}
.btp-app .btp-modal-close:hover,
.btp-app .btp-message-editor-close:hover,
.btp-app .btp-prompt-editor-close:hover,
.btp-app .btp-delete-prompt:hover{
  background:linear-gradient(180deg,#232d3d 0%,#151d29 100%)!important;
  background-color:#182130!important;
  color:#ffe2a0!important;
  border-color:rgba(214,163,75,.62)!important;
  box-shadow:0 12px 28px rgba(8,12,18,.22),0 0 0 3px rgba(214,163,75,.08)!important;
  transform:translateY(-1px)!important;
}
.btp-app .btp-modal-close:focus-visible,
.btp-app .btp-message-editor-close:focus-visible,
.btp-app .btp-prompt-editor-close:focus-visible,
.btp-app .btp-delete-prompt:focus-visible{
  box-shadow:0 0 0 4px rgba(214,163,75,.18)!important;
}

/* Lock the Prospect's core buttons to the design system even when Elementor
   global colors or theme button rules use higher specificity. */
body .btp-app .btp-primary,
body .btp-login-shell .btp-primary{
  background:linear-gradient(180deg,#f0cc7a 0%,#d6a34b 100%)!important;
  background-color:#d6a34b!important;
  color:#16110c!important;
  border-color:rgba(160,111,17,.20)!important;
}
body .btp-app .btp-mini,
body .btp-app .btp-ghost{
  background-color:#f8f5ee!important;
  color:#243040!important;
  border-color:rgba(214,163,75,.18)!important;
}
body .btp-app .btp-primary-nav,
body .btp-app .btp-mobile-more-toggle,
body .btp-app .btp-nav-more button{
  background-color:transparent!important;
}
body .btp-app .btp-primary-nav.is-active,
body .btp-app .btp-mobile-more-toggle.is-active,
body .btp-app .btp-nav-more button.is-active{
  background:linear-gradient(90deg,rgba(214,163,75,.22),rgba(214,163,75,.07))!important;
}

@media (max-width:720px){
  .btp-sidebar{
    min-height:0!important;
    height:auto!important;
    padding-bottom:calc(9px + env(safe-area-inset-bottom))!important;
    overflow:visible!important;
  }
}


/* v0.12.1 — icon actions follow the rounded Prospect design system */
body .btp-app .btp-modal-close,
body .btp-app .btp-message-editor-close,
body .btp-app .btp-prompt-editor-close{
  width:44px!important;
  height:44px!important;
  min-width:44px!important;
  min-height:44px!important;
  max-width:44px!important;
  max-height:44px!important;
  aspect-ratio:1 / 1!important;
  padding:0!important;
  border-radius:999px!important;
  display:grid!important;
  place-items:center!important;
  line-height:1!important;
  flex:0 0 44px!important;
}

@media (max-width:720px){
  body .btp-app .btp-modal-close,
  body .btp-app .btp-message-editor-close,
  body .btp-app .btp-prompt-editor-close{
    width:42px!important;
    height:42px!important;
    min-width:42px!important;
    min-height:42px!important;
    max-width:42px!important;
    max-height:42px!important;
    flex-basis:42px!important;
  }
}

/* ================================================================
   v0.13.0 — definitive ByThomas Prospect brand rollout
   ================================================================ */

/* Production logo assets replace the provisional CSS-drawn brand. */
.btp-brand{
  display:block!important;
  width:100%!important;
  line-height:0!important;
  user-select:none!important;
  -webkit-user-select:none!important;
}
.btp-brand-image,
.btp-brand-mark{
  display:block;
  max-width:100%;
  height:auto;
  object-fit:contain;
  pointer-events:none;
  -webkit-user-drag:none;
  user-select:none;
}
.btp-brand--sidebar{
  width:min(218px,100%)!important;
  margin:0 auto!important;
}
.btp-brand--sidebar .btp-brand-image{width:100%!important}
.btp-brand--sidebar .btp-brand-mark{display:none!important}
.btp-brand--login{
  width:min(286px,76%)!important;
  margin:0 0 20px!important;
}
.btp-brand--login .btp-brand-image{width:100%!important}
.btp-brand-wrap{margin-bottom:26px!important}
.btp-brand-tag{
  margin:14px 2px 0!important;
  max-width:218px!important;
  color:#9aa5b2!important;
  font-size:11.5px!important;
  line-height:1.6!important;
}

/* Transition uses the new logo and keeps the sales-growth cue separate. */
.btp-route-transition__mark{
  width:min(360px,86vw)!important;
  height:184px!important;
  padding:0 0 44px!important;
  display:grid!important;
  place-items:center!important;
  isolation:isolate!important;
}
.btp-route-transition__mark::before{
  content:"";
  position:absolute;
  inset:10px 12% 34px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(214,163,75,.16),rgba(214,163,75,.04) 45%,transparent 72%);
  filter:blur(8px);
  animation:btpBrandAura 1.8s ease-in-out infinite;
}
.btp-route-transition__orbit,
.btp-route-transition__pulse{display:none!important}
.btp-route-transition__brand-image{
  position:relative!important;
  z-index:4!important;
  width:min(302px,78vw)!important;
  max-width:100%!important;
  height:auto!important;
  display:block!important;
  object-fit:contain!important;
  pointer-events:none!important;
  user-select:none!important;
  -webkit-user-drag:none!important;
  filter:drop-shadow(0 18px 30px rgba(0,0,0,.26));
  animation:btpBrandReveal .62s cubic-bezier(.2,.78,.2,1) both;
}
.btp-route-transition__growth{
  position:absolute!important;
  left:50%!important;
  bottom:6px!important;
  transform:translateX(-50%)!important;
  z-index:5!important;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:6px!important;
  width:auto!important;
  height:32px!important;
  margin:0!important;
}
.btp-route-transition__growth::after{
  content:"";
  position:absolute;
  left:-10px;
  right:-16px;
  top:-8px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,rgba(214,163,75,.36),#edca7d 74%,transparent);
  transform:rotate(-8deg);
  transform-origin:right center;
  opacity:.62;
}
.btp-route-transition__growth i{
  width:7px!important;
  border-radius:999px 999px 2px 2px!important;
  background:linear-gradient(180deg,#f5dda2,#b37b16)!important;
  box-shadow:0 8px 18px rgba(214,163,75,.16)!important;
  transform-origin:center bottom!important;
  animation:btpRevenueBars .78s cubic-bezier(.2,.75,.2,1) both!important;
}
.btp-route-transition__growth i:nth-child(1){height:9px!important;animation-delay:.04s!important}
.btp-route-transition__growth i:nth-child(2){height:15px!important;animation-delay:.10s!important}
.btp-route-transition__growth i:nth-child(3){height:22px!important;animation-delay:.16s!important}
.btp-route-transition__growth i:nth-child(4){height:30px!important;animation-delay:.22s!important}
@keyframes btpBrandReveal{
  from{opacity:0;transform:translateY(9px) scale(.96);filter:blur(4px) drop-shadow(0 18px 30px rgba(0,0,0,.12))}
  to{opacity:1;transform:none;filter:blur(0) drop-shadow(0 18px 30px rgba(0,0,0,.26))}
}
@keyframes btpRevenueBars{
  from{opacity:0;transform:scaleY(.12) translateY(7px)}
  to{opacity:1;transform:scaleY(1) translateY(0)}
}
@keyframes btpBrandAura{
  0%,100%{opacity:.55;transform:scale(.96)}
  50%{opacity:1;transform:scale(1.04)}
}

/* Keep the logo proportional in the compact desktop navigation. */
@media (max-width:1180px) and (min-width:721px){
  .btp-brand--sidebar{width:58px!important;margin:0 auto!important}
  .btp-brand--sidebar .btp-brand-image{display:none!important}
  .btp-brand--sidebar .btp-brand-mark{
    display:block!important;
    width:52px!important;
    height:54px!important;
    object-fit:contain!important;
    margin:0 auto!important;
    filter:drop-shadow(0 10px 20px rgba(214,163,75,.14));
  }
  .btp-brand-wrap{margin-bottom:20px!important}
  .btp-brand-tag{display:none!important}
}

@media (max-width:720px){
  /* The bottom navigation does not need a logo; login still does. */
  .btp-brand--sidebar{display:none!important}
  .btp-login-card>.btp-brand--login{
    display:block!important;
    width:min(238px,78%)!important;
    margin:0 0 18px!important;
  }
  .btp-route-transition__mark{
    width:min(300px,90vw)!important;
    height:162px!important;
    padding-bottom:40px!important;
  }
  .btp-route-transition__brand-image{width:min(255px,79vw)!important}
  .btp-route-transition__growth{bottom:4px!important}
}

@media (max-width:380px){
  .btp-login-card>.btp-brand--login{width:min(220px,82%)!important}
  .btp-route-transition__mark{height:152px!important}
  .btp-route-transition__brand-image{width:min(232px,80vw)!important}
}

@media (prefers-reduced-motion:reduce){
  .btp-route-transition__brand-image,
  .btp-route-transition__growth i,
  .btp-route-transition__mark::before{animation:none!important}
}

/* =========================================================
   v0.14.0 · Qualification Engine
   Mantém a identidade premium preto/dourado e adiciona uma
   camada visual própria para busca, score e diagnóstico.
========================================================= */
.btp-prospect-head{margin-bottom:18px}
.btp-prospect-head h2{max-width:760px}
.btp-prospect-head p{max-width:820px}
.btp-prospect-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(300px,.72fr);gap:18px;align-items:start}
.btp-search-panel{padding:28px!important;overflow:hidden}
.btp-search-panel::before{content:"";position:absolute;right:-90px;top:-110px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(214,163,75,.13),rgba(214,163,75,0) 68%);pointer-events:none}
.btp-search-panel-head{position:relative;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}
.btp-search-panel-head>div>span,.btp-search-filters-title>span,.btp-engine-card>span,.btp-lead-eyebrow,.btp-opportunity-summary>span,.btp-lead-block-title>span,.btp-recommended-action>span{display:block;color:#9e701e;font-size:11px;font-weight:800;letter-spacing:.18em}
.btp-search-panel-head h3,.btp-engine-card h3,.btp-lead-block-title h3{margin:7px 0 6px;color:var(--btp-ink);font-size:24px;line-height:1.08;letter-spacing:-.03em}
.btp-search-panel-head p,.btp-engine-card p{margin:0;color:#74808e;line-height:1.62;font-size:14px;max-width:62ch}
.btp-engine-badge{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:9px 12px;border:1px solid rgba(214,163,75,.20);border-radius:999px;background:#fffaf0;color:#6e541f;font-size:11px;font-weight:800;letter-spacing:.06em;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
.btp-engine-badge i{width:8px;height:8px;border-radius:50%;background:#22a165;box-shadow:0 0 0 5px rgba(34,161,101,.10)}
.btp-search-core{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1.05fr) minmax(150px,.55fr);gap:14px;position:relative;z-index:1}
.btp-search-core label,.btp-search-filter-grid label{display:grid;gap:8px;color:#5f6b79;font-size:12px;font-weight:800}
.btp-search-core input,.btp-search-core select,.btp-search-filter-grid select{width:100%;height:52px;border-radius:16px;border:1px solid #dcdfe3;background:#fff;color:#25303d;padding:0 14px;outline:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.7);transition:border-color .22s ease,box-shadow .22s ease,transform .22s ease}
.btp-search-core input:focus,.btp-search-core select:focus,.btp-search-filter-grid select:focus{border-color:rgba(214,163,75,.70);box-shadow:0 0 0 4px rgba(214,163,75,.11)}
.btp-search-filters{position:relative;z-index:1;margin-top:18px;padding:18px;border-radius:20px;background:linear-gradient(180deg,#faf8f4,#f7f3ea);border:1px solid rgba(214,163,75,.12)}
.btp-search-filters-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.btp-search-filters-title small{color:#929ba6;font-size:11px}
.btp-search-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.btp-auto-analysis{position:relative;z-index:1;margin-top:16px;padding:15px 16px;display:flex!important;align-items:flex-start!important;gap:12px;border-radius:18px;border:1px solid rgba(214,163,75,.14);background:rgba(255,255,255,.68);cursor:pointer;color:inherit!important}
.btp-auto-analysis input{width:20px;height:20px;flex:0 0 20px;margin:2px 0 0;accent-color:#c48c24}
.btp-auto-analysis span{display:grid;gap:4px}
.btp-auto-analysis strong{color:#25303d;font-size:13px}
.btp-auto-analysis small{color:#7d8895;font-size:12px;line-height:1.55;font-weight:500}
.btp-search-submit{position:relative;z-index:1;width:100%;margin-top:16px;min-height:54px;gap:9px}
.btp-search-submit .dashicons{font-size:18px;width:18px;height:18px}
.btp-search-submit.is-loading{opacity:.72;cursor:wait;transform:none!important}
.btp-search-feedback{position:relative;z-index:1;min-height:18px;margin:11px 2px 0}
.btp-analysis-progress{position:relative;z-index:1;margin-top:12px;padding:13px 14px;border-radius:16px;background:#111923;color:#fff;border:1px solid rgba(214,163,75,.13)}
.btp-analysis-progress>span{display:block;font-size:12px;font-weight:800;color:#efd08a;margin-bottom:8px}
.btp-analysis-progress>div{height:7px;background:rgba(255,255,255,.09);border-radius:999px;overflow:hidden}
.btp-analysis-progress i{display:block;width:0;height:100%;border-radius:999px;background:linear-gradient(90deg,#a87316,#f0d48d);transition:width .28s ease}
.btp-analysis-progress small{display:block;color:#aeb9c7;margin-top:7px;font-size:11px}

.btp-prospect-aside{display:grid;gap:16px}
.btp-engine-card{padding:22px!important;background:linear-gradient(155deg,#101721 0%,#182331 100%)!important;border-color:rgba(214,163,75,.18)!important;color:#fff;box-shadow:0 24px 52px rgba(8,12,18,.16)!important}
.btp-engine-card::before{content:"";position:absolute;right:-70px;top:-80px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(214,163,75,.21),rgba(214,163,75,0) 70%);pointer-events:none}
.btp-engine-card>span{color:#edca7c;position:relative;z-index:1}
.btp-engine-card h3{color:#fff;position:relative;z-index:1}
.btp-engine-card p{color:#bbc6d3;position:relative;z-index:1}
.btp-engine-score-legend{position:relative;z-index:1;display:grid;gap:8px;margin-top:18px}
.btp-engine-score-legend>div{display:grid;grid-template-columns:66px 1fr;align-items:center;gap:8px;padding:9px 10px;border-radius:13px;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.055)}
.btp-engine-score-legend strong{color:#f0d18a;font-size:13px}
.btp-engine-score-legend span{color:#d5dce5;font-size:12px}
.btp-engine-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.btp-engine-stats article{padding:16px;border-radius:20px;background:linear-gradient(180deg,#fff,#fbf9f4);border:1px solid rgba(214,163,75,.11);box-shadow:0 12px 28px rgba(12,16,24,.06)}
.btp-engine-stats span,.btp-engine-stats small{display:block;color:#8a95a2;font-size:11px}
.btp-engine-stats strong{display:block;margin:5px 0 3px;color:#131c28;font-size:25px;letter-spacing:-.04em}

/* Qualified lead table */
.btp-qualified-table{min-width:1120px}
.btp-qualified-table th:nth-child(1){width:115px}.btp-qualified-table th:nth-child(2){width:220px}.btp-qualified-table th:nth-child(3){width:310px}.btp-qualified-table th:nth-child(4){width:160px}.btp-qualified-table th:nth-child(5){width:140px}.btp-qualified-table th:nth-child(6){width:150px}.btp-qualified-table th:nth-child(7){width:150px}
.btp-score-stack{display:grid;gap:7px;justify-items:start;min-width:92px}
.btp-score-stack small{font-size:10px;line-height:1.25;color:#75808c;max-width:98px}
.btp-lead-site-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px}
.btp-lead-site-line a{font-size:11px}
.btp-lead-signal{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.02em;border:1px solid transparent}
.btp-lead-signal.is-opportunity{background:#fff5dd;color:#8c641b;border-color:#edd7a5}
.btp-lead-signal.is-done{background:#edf9f3;color:#22744d;border-color:#c7ead7}
.btp-lead-signal.is-pending{background:#f1f3f6;color:#687584;border-color:#e0e4e9}
.btp-lead-summary{margin:0;color:#63707e;font-size:12px;line-height:1.52;max-width:310px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.btp-table-actions{display:flex;gap:7px;flex-wrap:wrap}
.btp-table-actions .btp-mini{padding:8px 10px;font-size:11px}

/* Qualification detail modal */
.btp-modal-card{width:min(940px,100%)}
.btp-lead-detail{display:grid;gap:18px}
.btp-lead-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding-right:44px}
.btp-lead-detail-head h2{margin:7px 0 4px;font-size:32px;line-height:1.05;color:#111a25;letter-spacing:-.04em;text-wrap:balance}
.btp-lead-detail-head p{margin:0;color:#84909d;font-size:13px}
.btp-lead-score-hero{display:flex;align-items:center;gap:12px;min-width:245px;padding:12px 14px;border-radius:19px;background:linear-gradient(145deg,#111923,#202c3d);border:1px solid rgba(214,163,75,.18);box-shadow:0 14px 32px rgba(10,14,20,.13)}
.btp-lead-score-hero>span{display:grid;place-items:center;width:54px;height:54px;flex:0 0 54px;border-radius:16px;background:linear-gradient(180deg,#f0d287,#d39a34);color:#17110a;font-size:23px;font-weight:900;box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.btp-lead-score-hero div{display:grid;gap:3px}.btp-lead-score-hero strong{color:#fff;font-size:13px}.btp-lead-score-hero small{color:#aeb9c6;font-size:11px}
.btp-opportunity-summary{padding:16px 18px;border-radius:19px;background:linear-gradient(180deg,#fff9ec,#fbf2df);border:1px solid #f0deba}
.btp-opportunity-summary p{margin:7px 0 0;color:#505c69;line-height:1.62;font-size:13px}
.btp-lead-contact-strip{display:flex;gap:8px;flex-wrap:wrap}
.btp-lead-contact-strip .btp-mini{text-decoration:none}
.btp-lead-public-data{grid-template-columns:repeat(4,minmax(0,1fr))}
.btp-lead-diagnostic{padding:18px;border:1px solid #ece7dc;border-radius:22px;background:#fcfbf8}
.btp-lead-block-title{margin-bottom:13px}.btp-lead-block-title h3{font-size:20px;margin-bottom:0}
.btp-diagnostic-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.btp-diagnostic-item{padding:11px 12px;border-radius:15px;background:#fff;border:1px solid #e9e7e1;min-width:0}
.btp-diagnostic-item span{display:block;color:#8a95a1;font-size:10px;text-transform:uppercase;letter-spacing:.06em}.btp-diagnostic-item strong{display:block;margin-top:4px;color:#36414e;font-size:12px;line-height:1.35}
.btp-diagnostic-item.good{background:#f2faf5;border-color:#d2eadb}.btp-diagnostic-item.good strong{color:#276e4d}
.btp-diagnostic-item.bad{background:#fff5f2;border-color:#f0d9d3}.btp-diagnostic-item.bad strong{color:#9b5548}
.btp-diagnostic-item.opportunity{background:#fff8e8;border-color:#edd9ab}.btp-diagnostic-item.opportunity strong{color:#8b6318}
.btp-lead-insights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.btp-lead-list-block{padding:15px 16px;border-radius:18px;background:#fafbfc;border:1px solid #e9edf1}
.btp-lead-list-block>strong{display:block;color:#303b48;font-size:12px}.btp-lead-list-block ul{margin:10px 0 0 17px;padding:0}.btp-lead-list-block li{margin:0 0 7px;color:#687482;font-size:12px;line-height:1.5}.btp-lead-list-block li:last-child{margin-bottom:0}
.btp-lead-list-block.is-opportunity{background:#fff9ec;border-color:#efdeba}.btp-lead-list-block.is-strength{background:#f4faf6;border-color:#d9ebdf}.btp-lead-list-block.is-risk{background:#fbf8f4;border-color:#e9e2d6}
.btp-recommended-action{padding:16px 18px;border-radius:19px;background:linear-gradient(145deg,#111923,#1b2736);border:1px solid rgba(214,163,75,.17)}
.btp-recommended-action>span{color:#edca7c}.btp-recommended-action p{margin:7px 0 0;color:#d5dce5;line-height:1.62;font-size:13px}
.btp-lead-detail .btp-detail-actions{margin-top:0;padding-top:2px}

@media (max-width:1180px){
  .btp-prospect-layout{grid-template-columns:1fr}
  .btp-prospect-aside{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:stretch}
  .btp-engine-stats{height:100%}
}
@media (max-width:860px){
  .btp-search-core{grid-template-columns:1fr 1fr}.btp-search-core label:last-child{grid-column:1/-1}
  .btp-search-filter-grid{grid-template-columns:1fr 1fr}.btp-search-filter-grid label:last-child{grid-column:1/-1}
  .btp-prospect-aside{grid-template-columns:1fr}
  .btp-lead-public-data{grid-template-columns:1fr 1fr}.btp-diagnostic-grid{grid-template-columns:1fr 1fr}.btp-lead-insights{grid-template-columns:1fr}
}
@media (max-width:720px){
  .btp-prospect-head h2{max-width:14ch}
  .btp-search-panel{padding:20px!important;border-radius:24px}
  .btp-search-panel-head{display:grid;gap:12px}.btp-engine-badge{justify-self:start}
  .btp-search-panel-head h3{font-size:22px}.btp-search-panel-head p{font-size:13px}
  .btp-search-core,.btp-search-filter-grid{grid-template-columns:1fr}.btp-search-core label:last-child,.btp-search-filter-grid label:last-child{grid-column:auto}
  .btp-search-filters{padding:14px}.btp-search-filters-title{display:grid;justify-content:start;gap:4px}
  .btp-auto-analysis{padding:13px 14px}.btp-auto-analysis small{font-size:11px}
  .btp-engine-stats{grid-template-columns:repeat(2,1fr)}
  .btp-qualified-table{min-width:0!important}
  .btp-qualified-table tbody tr{gap:11px}
  .btp-lead-summary{max-width:none;-webkit-line-clamp:4}
  .btp-score-stack{justify-items:end}.btp-score-stack small{text-align:right;max-width:150px}
  .btp-table-actions{justify-content:flex-end}
  .btp-modal-card{padding:20px 16px 18px!important}
  .btp-lead-detail-head{display:grid;padding-right:42px;gap:13px}.btp-lead-detail-head h2{font-size:26px;max-width:11ch}.btp-lead-score-hero{min-width:0;width:100%}
  .btp-lead-public-data,.btp-diagnostic-grid{grid-template-columns:1fr 1fr}
  .btp-lead-contact-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.btp-lead-contact-strip .btp-mini{width:100%}
  .btp-lead-detail .btp-detail-actions{display:grid;grid-template-columns:1fr}.btp-lead-detail .btp-detail-actions>*{width:100%}
}
@media (max-width:420px){
  .btp-engine-stats{grid-template-columns:1fr 1fr}.btp-engine-stats article{padding:13px}.btp-engine-stats strong{font-size:22px}
  .btp-lead-public-data,.btp-diagnostic-grid{grid-template-columns:1fr}
  .btp-lead-contact-strip{grid-template-columns:1fr 1fr}
  .btp-opportunity-summary,.btp-lead-diagnostic,.btp-recommended-action{padding:14px}
}

/* =========================================================
   v0.15.0 — Multi-Source Prospecting Engine
========================================================= */
.btp-search-core{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr) minmax(210px,.75fr) minmax(150px,.52fr)}
.btp-source-waterfall{display:grid;gap:8px;margin:18px 0 20px;position:relative;z-index:1}
.btp-source-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border-radius:14px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.045)}
.btp-source-row span{display:flex;align-items:center;gap:9px;color:#eef3f8;font-size:12px;font-weight:750}
.btp-source-row span i{width:8px;height:8px;border-radius:50%;background:#677382;box-shadow:0 0 0 4px rgba(255,255,255,.03)}
.btp-source-row.is-ready span i{background:#e2b653;box-shadow:0 0 0 4px rgba(226,182,83,.1),0 0 18px rgba(226,182,83,.25)}
.btp-source-row strong{color:#aeb9c7;font-size:11px;font-weight:700}
.btp-source-row.is-ready strong{color:#edca7c}

.btp-lead-sources{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-top:7px}
.btp-lead-sources span,.btp-lead-sources em{display:inline-flex;align-items:center;min-height:22px;padding:3px 8px;border-radius:999px;background:#f6f1e7;border:1px solid #eadfca;color:#8f6821;font-size:10px;font-weight:800;font-style:normal;line-height:1}
.btp-lead-sources em{background:#eef1f4;border-color:#e0e4e8;color:#687482}
.btp-modal-source-strip{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:12px 14px;margin:-2px 0 14px;border-radius:16px;border:1px solid #ece3d3;background:linear-gradient(135deg,#fffdfa,#f8f3e9)}
.btp-modal-source-strip>span{color:#a87824;font-size:10px;font-weight:900;letter-spacing:.16em;margin-right:2px}
.btp-modal-source-strip em{font-style:normal;padding:5px 8px;border-radius:999px;background:#fff;border:1px solid #eadfc9;color:#6d5835;font-size:11px;font-weight:800}
.btp-modal-source-strip strong{margin-left:auto;color:#687482;font-size:11px;font-weight:700}

.btp-source-settings-panel{grid-column:1/-1;padding:26px!important;overflow:hidden}
.btp-source-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}
.btp-source-setting-card{position:relative;display:flex;flex-direction:column;gap:14px;min-width:0;padding:20px;border-radius:20px;border:1px solid #e5e2dc;background:linear-gradient(150deg,#fff,#fbfaf7);box-shadow:0 14px 34px rgba(20,28,38,.055)}
.btp-source-setting-card.is-connected{border-color:rgba(210,158,61,.42);box-shadow:0 16px 36px rgba(204,152,51,.09)}
.btp-source-setting-card.is-free{background:linear-gradient(150deg,#fff,#f7f8f8)}
.btp-source-setting-head{display:flex;align-items:center;justify-content:space-between;gap:14px}
.btp-source-setting-head>div{display:flex;align-items:center;gap:10px;min-width:0}
.btp-source-setting-head strong{font-size:17px;color:var(--btp-ink)}
.btp-source-setting-head em{font-style:normal;padding:5px 9px;border-radius:999px;background:#f0f2f4;color:#7a8490;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.btp-source-setting-card.is-connected .btp-source-setting-head em{background:#fff2cf;color:#8d651d}
.btp-source-dot{width:10px;height:10px;border-radius:50%;background:#9ba4ae;box-shadow:0 0 0 4px rgba(115,126,139,.08)}
.btp-source-setting-card.is-connected .btp-source-dot,.btp-source-setting-card.is-free .btp-source-dot{background:#d9a63f;box-shadow:0 0 0 4px rgba(217,166,63,.12)}
.btp-source-setting-card p{margin:0;color:#788392;font-size:13px;line-height:1.55;max-width:58ch}
.btp-source-setting-card .btp-field{margin-top:auto}
.btp-source-note{display:block;color:#8b929b;font-size:11px;line-height:1.5}
.btp-switch{display:flex!important;align-items:center;gap:10px;color:#485563!important;font-size:12px!important;font-weight:800!important;cursor:pointer}
.btp-switch input{position:absolute;opacity:0;pointer-events:none}
.btp-switch>span{position:relative;width:40px;height:23px;border-radius:999px;background:#dfe3e8;box-shadow:inset 0 0 0 1px rgba(0,0,0,.04);transition:.22s ease;flex:0 0 auto}
.btp-switch>span::after{content:"";position:absolute;top:3px;left:3px;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 2px 7px rgba(0,0,0,.16);transition:.22s ease}
.btp-switch input:checked+span{background:linear-gradient(135deg,#d4a13e,#f0cd77)}
.btp-switch input:checked+span::after{transform:translateX(17px)}
.btp-source-setting-card select{height:48px;border-radius:14px;border:1px solid #dcdfe3;background:#fff;color:#25303d;padding:0 12px}

@media (max-width:1180px){
  .btp-search-core{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:860px){
  .btp-source-settings-grid{grid-template-columns:1fr}
  .btp-source-settings-panel{padding:20px!important}
}
@media (max-width:620px){
  .btp-search-core{grid-template-columns:1fr}
  .btp-modal-source-strip{align-items:flex-start}
  .btp-modal-source-strip strong{width:100%;margin-left:0;padding-top:2px}
  .btp-source-setting-card{padding:16px;border-radius:18px}
  .btp-source-setting-head{align-items:flex-start}
  .btp-source-setting-head em{white-space:normal;text-align:right}
}

/* =========================================================
   v0.16.0 — Enriquecimento, validação e confiança por campo
========================================================= */
.btp-score-dimensions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.btp-score-dimensions>div{min-width:0;padding:14px 15px;border-radius:18px;border:1px solid #e9e4da;background:linear-gradient(155deg,#fff,#faf8f3);box-shadow:0 10px 24px rgba(19,28,39,.04)}
.btp-score-dimensions span{display:block;color:#7e8996;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;line-height:1.35}
.btp-score-dimensions strong{display:block;margin-top:7px;color:#162131;font-size:22px;letter-spacing:-.03em}
.btp-score-dimensions small{display:block;margin-top:5px;color:#95a0ac;font-size:10px;line-height:1.45}
.btp-score-dimensions .is-priority{background:linear-gradient(145deg,#111923,#1e2b3c);border-color:rgba(216,167,72,.24)}
.btp-score-dimensions .is-priority span,.btp-score-dimensions .is-priority small{color:#bdc6d1}.btp-score-dimensions .is-priority strong{color:#edc86f}

.btp-official-site-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;border-radius:18px;border:1px solid #e8e4dc;background:linear-gradient(135deg,#fbfaf7,#f4f2ed)}
.btp-official-site-card.is-verified{border-color:#d6e8dd;background:linear-gradient(135deg,#f8fcf9,#eff8f2)}
.btp-official-site-card>div:first-child{min-width:0}.btp-official-site-card span{display:block;color:#a1711d;font-size:10px;font-weight:900;letter-spacing:.15em}.btp-official-site-card strong{display:block;margin-top:5px;color:#1b2734;font-size:15px;overflow-wrap:anywhere}.btp-official-site-card small{display:block;margin-top:4px;color:#7d8995;font-size:11px;line-height:1.4}
.btp-site-confidence{flex:0 0 auto;display:grid;justify-items:end}.btp-site-confidence b{color:#182433;font-size:21px}.btp-site-confidence span{margin-top:2px;color:#8994a0;font-size:9px;letter-spacing:.08em}

.btp-lead-public-data>div{min-width:0}.btp-field-confidence{display:inline-flex!important;width:max-content;margin-top:7px;padding:4px 7px;border-radius:999px;font-size:9px!important;font-weight:850!important;letter-spacing:.02em!important;text-transform:none!important}
.btp-field-confidence.is-high{background:#eaf7f0;color:#22714c}.btp-field-confidence.is-mid{background:#fff5dd;color:#8b631b}.btp-field-confidence.is-low{background:#f0f2f4;color:#7a8591}
.btp-field-sources{display:block!important;margin-top:5px;color:#9aa4ae!important;font-size:9px!important;line-height:1.4;text-transform:none!important;letter-spacing:0!important;overflow-wrap:anywhere}

.btp-pitch-suggestion{padding:17px 18px;border-radius:20px;border:1px solid rgba(211,158,55,.34);background:linear-gradient(145deg,#fffaf0,#f6edda);box-shadow:0 14px 30px rgba(175,125,29,.07)}
.btp-pitch-suggestion>div span{display:block;color:#9e701e;font-size:10px;font-weight:900;letter-spacing:.16em}.btp-pitch-suggestion h3{margin:5px 0 0;color:#182331;font-size:18px}.btp-pitch-suggestion p{margin:12px 0 13px;color:#556270;font-size:13px;line-height:1.65;white-space:pre-wrap}.btp-pitch-suggestion .btp-mini{background:#fff}

@media (max-width:900px){.btp-score-dimensions{grid-template-columns:1fr 1fr}}
@media (max-width:620px){
  .btp-score-dimensions{grid-template-columns:1fr 1fr;gap:8px}
  .btp-score-dimensions>div{padding:12px}.btp-score-dimensions strong{font-size:19px}
  .btp-official-site-card{align-items:flex-start}.btp-site-confidence{justify-items:start}
}
@media (max-width:420px){
  .btp-score-dimensions{grid-template-columns:1fr}
  .btp-official-site-card{display:grid;gap:10px}.btp-site-confidence{display:flex;align-items:baseline;gap:7px}
  .btp-pitch-suggestion{padding:14px}
}
.btp-priority-tag{display:inline-flex;width:max-content;margin-top:4px;padding:4px 7px;border-radius:999px;font-size:9px;font-style:normal;font-weight:850;letter-spacing:.03em;background:#f0f2f4;color:#737e8a}
.btp-priority-tag.is-alta{background:#fff0c9;color:#855d14}.btp-priority-tag.is-media{background:#f4f0e6;color:#7d6942}.btp-priority-tag.is-baixa{background:#eef1f4;color:#77828d}

/* =========================================================
   v0.17.0 — Prospecting Workspace
   Tabela operacional, KPIs, ações em lote e drawer lateral
========================================================= */
.btp-prospect-results{margin-top:20px}
.btp-lead-workspace{overflow:hidden!important}
.btp-workspace-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px}
.btp-workspace-total{display:flex;align-items:baseline;gap:7px;padding:10px 14px;border-radius:16px;background:linear-gradient(145deg,#111923,#1c2838);border:1px solid rgba(214,163,75,.2);box-shadow:0 12px 28px rgba(11,16,23,.12)}
.btp-workspace-total strong{font-size:22px;color:#f1cd78;letter-spacing:-.04em}
.btp-workspace-total span{font-size:11px;color:#aeb9c6;text-transform:uppercase;letter-spacing:.08em;font-weight:800}

.btp-lead-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;padding:0 18px 16px}
.btp-lead-kpis button{appearance:none;border:1px solid #ece6db;background:linear-gradient(180deg,#fff,#fbfaf7);min-height:74px;border-radius:18px;padding:13px 14px;text-align:left;cursor:pointer;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease,background .22s ease;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.btp-lead-kpis button span{display:block;color:#8894a1;font-size:11px;font-weight:700;margin-bottom:4px}
.btp-lead-kpis button strong{display:block;color:#111b28;font-size:23px;line-height:1;letter-spacing:-.04em}
.btp-lead-kpis button.is-active{border-color:rgba(211,154,52,.48);background:linear-gradient(145deg,#fffaf0,#f9efd8);box-shadow:0 12px 28px rgba(178,126,26,.11),inset 0 1px 0 #fff}
@media (hover:hover){.btp-lead-kpis button:hover{transform:translateY(-2px);border-color:rgba(211,154,52,.42);box-shadow:0 12px 24px rgba(17,27,40,.07)}}

.btp-workspace-toolbar{display:grid;grid-template-columns:minmax(280px,1.35fr) minmax(210px,.65fr) minmax(190px,.55fr);gap:10px;padding:0 18px 16px;align-items:end}
.btp-workspace-toolbar label{display:grid;gap:6px;color:#7c8794;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.btp-workspace-toolbar input,.btp-workspace-toolbar select{width:100%;height:46px;border-radius:15px!important;border:1px solid #e4e7ea!important;background:#fff!important;color:#172231!important;font-size:13px!important;font-weight:700!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;outline:none!important;transition:border-color .2s ease,box-shadow .2s ease}
.btp-workspace-toolbar input:focus,.btp-workspace-toolbar select:focus{border-color:#d8a748!important;box-shadow:0 0 0 3px rgba(216,167,72,.12)!important}
.btp-workspace-search{position:relative}
.btp-workspace-search>span{position:absolute;left:14px;bottom:12px;color:#a67927;font-size:18px;width:18px;height:18px;z-index:1}
.btp-workspace-search input{padding-left:42px!important;text-transform:none!important;letter-spacing:0!important;font-weight:600!important}

.btp-bulkbar{margin:0 18px 14px;padding:11px 12px;border-radius:17px;background:linear-gradient(145deg,#0d131c,#182335);border:1px solid rgba(214,163,75,.22);display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 15px 30px rgba(8,12,18,.12);transition:box-shadow .25s ease,border-color .25s ease}
.btp-bulkbar[hidden]{display:none!important}
.btp-bulkbar.is-confirmed{border-color:rgba(103,198,147,.45);box-shadow:0 15px 30px rgba(58,151,104,.14)}
.btp-bulkbar>div:first-child{display:flex;align-items:baseline;gap:6px;white-space:nowrap}.btp-bulkbar>div:first-child strong{color:#f0cb74;font-size:20px}.btp-bulkbar>div:first-child span{color:#aeb8c4;font-size:11px}
.btp-bulk-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px}
.btp-bulk-actions button{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.055);color:#edf2f7;border-radius:999px;padding:8px 11px;font-size:11px;font-weight:750;cursor:pointer;transition:background .2s ease,border-color .2s ease,transform .2s ease}
.btp-bulk-actions button .dashicons{font-size:15px;width:15px;height:15px;color:#e8c46d}
@media (hover:hover){.btp-bulk-actions button:hover{background:rgba(216,167,72,.12);border-color:rgba(216,167,72,.3);transform:translateY(-1px)}}

.btp-lead-workspace .btp-qualified-table{min-width:1180px}
.btp-lead-workspace .btp-qualified-table .btp-select-col{width:42px;min-width:42px;text-align:center;padding-left:10px!important;padding-right:8px!important}
.btp-lead-workspace .btp-qualified-table th:nth-child(2){width:245px}.btp-lead-workspace .btp-qualified-table th:nth-child(3){width:210px}.btp-lead-workspace .btp-qualified-table th:nth-child(4){width:150px}.btp-lead-workspace .btp-qualified-table th:nth-child(5){width:130px}.btp-lead-workspace .btp-qualified-table th:nth-child(6){width:235px}.btp-lead-workspace .btp-qualified-table th:nth-child(7){width:150px}.btp-lead-workspace .btp-qualified-table th:nth-child(8){width:190px}
.btp-lead-row[hidden]{display:none!important}
.btp-lead-row{transition:background .18s ease}
@media (hover:hover){.btp-lead-row:hover{background:#fffaf1!important}}
.btp-lead-select,.btp-lead-workspace .btp-qualified-table [data-btp-select-all]{accent-color:#c9902d;width:17px;height:17px;cursor:pointer}
.btp-company-cell,.btp-site-cell,.btp-opportunity-cell{display:grid;gap:5px;min-width:0}
.btp-company-cell>strong{font-size:13px;color:#172230;line-height:1.3}.btp-company-cell>small,.btp-site-cell>small,.btp-opportunity-cell>small{font-size:10.5px;color:#8995a2;line-height:1.4}
.btp-site-cell>strong{font-size:12px;color:#45515f}.btp-site-cell>strong.is-gap{color:#9a6c1b}
.btp-opportunity-cell>strong{font-size:12px;line-height:1.35;color:#263240}.btp-score-inline{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.btp-score-inline .btp-score{width:36px;height:36px;min-width:36px;font-size:13px;border-radius:12px}.btp-score-inline .btp-priority-tag{margin:0}

.btp-quick-actions{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:6px!important}
.btp-icon-action{display:grid!important;place-items:center!important;width:35px!important;height:35px!important;min-width:35px!important;padding:0!important;border-radius:12px!important;border:1px solid #e7e3da!important;background:#fff!important;color:#243142!important;text-decoration:none!important;cursor:pointer!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease!important;box-shadow:0 5px 12px rgba(16,23,33,.04)!important}
.btp-icon-action .dashicons{font-size:17px!important;width:17px!important;height:17px!important;line-height:17px!important}
.btp-icon-action.is-whatsapp{color:#28734d!important;background:#f2fbf6!important;border-color:#d4ecde!important}
.btp-icon-action.is-saved{background:linear-gradient(145deg,#fff6d9,#f5dda1)!important;border-color:#dfba61!important;color:#8d6215!important}
@media (hover:hover){.btp-icon-action:hover{transform:translateY(-2px);border-color:#d7aa50!important;box-shadow:0 9px 18px rgba(132,93,21,.1)!important;background:#fffaf0!important}}

.btp-workspace-empty{margin:6px 18px 18px;min-height:150px;border-radius:20px;border:1px dashed #e2d7c3;background:#fcfbf8;display:grid;place-items:center;text-align:center;padding:28px}.btp-workspace-empty[hidden]{display:none!important}.btp-workspace-empty .dashicons{color:#c79334;font-size:28px;width:28px;height:28px}.btp-workspace-empty strong{display:block;color:#263240;font-size:15px;margin-top:6px}.btp-workspace-empty small{display:block;color:#8a96a2;font-size:12px;margin-top:4px}

/* Lead details become a premium side drawer on desktop. */
.btp-modal.is-lead-drawer{align-items:stretch!important;justify-content:flex-end!important;padding:0!important;background:rgba(7,12,18,.56)!important;backdrop-filter:blur(7px)}
.btp-modal.is-lead-drawer .btp-modal-card{margin:0!important;width:min(660px,92vw)!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border-radius:28px 0 0 28px!important;padding:28px 26px 30px!important;overflow:auto!important;transform:translateX(28px);animation:btpDrawerIn .28s cubic-bezier(.22,.78,.28,1) forwards;background:linear-gradient(180deg,#fff,#fcfaf6)!important;border-left:1px solid rgba(214,163,75,.2)!important;box-shadow:-30px 0 70px rgba(6,10,15,.2)!important}
.btp-modal.is-lead-drawer .btp-modal-close{position:sticky!important;float:right;top:0;z-index:6;margin:0 0 -44px auto!important;background:#111a26!important;color:#f1cd78!important;border-color:rgba(214,163,75,.35)!important;border-radius:15px!important}
@keyframes btpDrawerIn{to{transform:translateX(0)}}
.btp-modal.is-lead-drawer .btp-lead-detail-head{padding-right:0!important;display:grid!important;grid-template-columns:1fr auto;gap:14px!important;align-items:start!important}
.btp-modal.is-lead-drawer .btp-lead-detail-head h2{font-size:clamp(25px,2.1vw,34px)!important;max-width:18ch!important}
.btp-modal.is-lead-drawer .btp-lead-score-hero{min-width:0!important;width:190px!important}
.btp-offer-recommendation{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:10px}
.btp-offer-recommendation>div{padding:15px 16px;border-radius:18px;border:1px solid #ebdfc8;background:linear-gradient(145deg,#fffaf0,#fcf7ec)}
.btp-offer-recommendation>div:first-child{background:linear-gradient(145deg,#111923,#1d2939);border-color:rgba(214,163,75,.24)}
.btp-offer-recommendation span{display:block;font-size:9px;font-weight:900;letter-spacing:.15em;color:#9c7020;margin-bottom:6px}.btp-offer-recommendation>div:first-child span{color:#d7ae5d}.btp-offer-recommendation strong{display:block;color:#f3d17d;font-size:16px;line-height:1.35}.btp-offer-recommendation p{margin:0;color:#606d7b;font-size:12px;line-height:1.58}

/* Batch approach review uses the center modal, not the drawer. */
.btp-modal.is-batch-modal{align-items:center!important;justify-content:center!important;padding:24px!important}
.btp-modal.is-batch-modal .btp-modal-card{width:min(900px,96vw)!important;max-height:88dvh!important;border-radius:30px!important;padding:28px!important;overflow:auto!important}
.btp-batch-approaches>h2{margin:7px 0 8px;font-size:30px;line-height:1.05;letter-spacing:-.04em;color:#111a25}.btp-batch-approaches>p{margin:0 0 18px;color:#778493;font-size:13px;line-height:1.6;max-width:65ch}
.btp-batch-pitch-list{display:grid;gap:10px;max-height:52vh;overflow:auto;padding-right:4px;margin-bottom:16px}.btp-batch-pitch{padding:14px 15px;border:1px solid #e8e3da;border-radius:18px;background:#fcfbf8}.btp-batch-pitch>div{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:8px}.btp-batch-pitch strong{font-size:13px;color:#1e2a39}.btp-batch-pitch span{font-size:10px;font-weight:800;color:#9a6b1c;background:#fff4d9;border:1px solid #ead39d;border-radius:999px;padding:5px 8px}.btp-batch-pitch p{margin:0;font-size:12px;line-height:1.62;color:#677381;white-space:pre-line}

@media (max-width:1180px){
  .btp-lead-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}
  .btp-workspace-toolbar{grid-template-columns:1fr 1fr}.btp-workspace-search{grid-column:1/-1}
}
@media (max-width:760px){
  .btp-prospect-results{margin-top:14px}
  .btp-workspace-head{align-items:flex-start}.btp-workspace-total{display:none}
  .btp-lead-kpis{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 12px 12px;gap:8px}.btp-lead-kpis button{min-height:64px;border-radius:16px;padding:11px 12px}.btp-lead-kpis button strong{font-size:20px}
  .btp-workspace-toolbar{grid-template-columns:1fr;padding:0 12px 12px}.btp-workspace-search{grid-column:auto}.btp-workspace-toolbar input,.btp-workspace-toolbar select{height:44px}
  .btp-bulkbar{margin:0 12px 12px;align-items:flex-start;flex-direction:column}.btp-bulk-actions{justify-content:flex-start;width:100%}.btp-bulk-actions button{flex:1 1 calc(50% - 7px);justify-content:center;min-height:39px}
  .btp-lead-workspace .btp-qualified-table{min-width:0!important}
  .btp-lead-workspace .btp-qualified-table thead{display:none!important}
  .btp-lead-workspace .btp-qualified-table tbody{display:grid!important;gap:10px!important;padding:10px!important}
  .btp-lead-workspace .btp-qualified-table tbody tr.btp-lead-row{display:grid!important;grid-template-columns:36px minmax(0,1fr);gap:9px 10px;padding:13px!important;border:1px solid #e7e1d7!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 26px rgba(17,25,36,.05)!important}
  .btp-lead-workspace .btp-qualified-table tbody tr.btp-lead-row[hidden]{display:none!important}
  .btp-lead-workspace .btp-qualified-table tbody tr.btp-lead-row td{display:block!important;padding:0!important;border:0!important;text-align:left!important;min-width:0!important}
  .btp-lead-workspace .btp-qualified-table tbody tr.btp-lead-row td::before{display:block!important;position:static!important;width:auto!important;margin:0 0 4px!important;color:#9b6e20!important;font-size:9px!important;font-weight:900!important;letter-spacing:.12em!important;text-transform:uppercase!important;content:attr(data-label)!important}
  .btp-lead-workspace .btp-qualified-table tbody tr.btp-lead-row .btp-select-col{grid-row:1/span 2;grid-column:1;align-self:start;padding-top:2px!important}.btp-lead-workspace .btp-qualified-table tbody tr.btp-lead-row .btp-select-col::before{display:none!important}
  .btp-lead-workspace .btp-qualified-table tbody tr.btp-lead-row td:nth-child(2){grid-column:2}.btp-lead-workspace .btp-qualified-table tbody tr.btp-lead-row td:nth-child(n+3){grid-column:1/-1}
  .btp-company-cell>strong{font-size:15px}.btp-company-cell>small{font-size:11px}.btp-lead-sources{margin-top:4px}
  .btp-opportunity-cell{grid-template-columns:auto 1fr;align-items:start}.btp-score-inline{grid-row:1/span 2}.btp-opportunity-cell>strong{font-size:13px}.btp-opportunity-cell>small{font-size:11px}
  .btp-status{width:100%!important;min-height:42px!important}
  .btp-quick-actions{flex-wrap:wrap!important}.btp-icon-action{width:40px!important;height:40px!important;min-width:40px!important;border-radius:14px!important}
  .btp-modal.is-lead-drawer .btp-modal-card{width:100%!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;padding:20px 16px 26px!important}
  .btp-modal.is-lead-drawer .btp-lead-detail-head{grid-template-columns:1fr!important;padding-top:26px!important}.btp-modal.is-lead-drawer .btp-lead-score-hero{width:100%!important}.btp-modal.is-lead-drawer .btp-lead-detail-head h2{max-width:none!important;font-size:27px!important}
  .btp-offer-recommendation{grid-template-columns:1fr}
  .btp-modal.is-batch-modal{padding:10px!important}.btp-modal.is-batch-modal .btp-modal-card{width:100%!important;max-height:96dvh!important;border-radius:24px!important;padding:22px 16px!important}.btp-batch-approaches>h2{font-size:25px}.btp-batch-pitch>div{display:grid}.btp-batch-pitch span{width:max-content}
}
@media (max-width:420px){
  .btp-lead-kpis{grid-template-columns:1fr 1fr}.btp-bulk-actions button{flex:1 1 100%}
  .btp-lead-workspace .btp-qualified-table tbody{padding:8px!important}.btp-lead-workspace .btp-qualified-table tbody tr.btp-lead-row{padding:12px!important;border-radius:18px!important}
}

/* =========================================================
   v0.17.1 — Decision Drawer + Commercial Identity
========================================================= */
.btp-settings-side-stack{display:grid;gap:18px;align-content:start;min-width:0}
.btp-sales-identity-card{position:relative;overflow:hidden}
.btp-sales-identity-card::after{content:"";position:absolute;width:170px;height:170px;right:-72px;top:-72px;border-radius:50%;background:radial-gradient(circle,rgba(225,178,79,.18),rgba(225,178,79,0) 68%);pointer-events:none}
.btp-sales-identity-card .btp-field{position:relative;z-index:1}
.btp-sales-name-preview{position:relative;z-index:1;margin-top:14px;padding:14px 15px;border:1px solid rgba(211,154,52,.22);border-radius:18px;background:linear-gradient(145deg,#111923,#1c2938);box-shadow:0 12px 30px rgba(10,15,22,.08)}
.btp-sales-name-preview>span{display:block;color:#e4bd68;font-size:9px;font-weight:900;letter-spacing:.15em;margin-bottom:7px}
.btp-sales-name-preview p{margin:0;color:#dbe2e9;font-size:13px;line-height:1.55}
.btp-sales-name-preview strong{color:#f1d183}

/* Drawer decision header: the company name owns the full width; score no longer competes with it. */
.btp-modal.is-lead-drawer .btp-modal-card{width:min(690px,94vw)!important;padding:24px 24px 24px!important;scrollbar-gutter:stable}
.btp-modal.is-lead-drawer .btp-modal-close{position:sticky!important;float:right!important;top:14px!important;margin:0 0 -48px auto!important;width:42px!important;height:42px!important;min-width:42px!important;border-radius:999px!important;z-index:12!important;box-shadow:0 10px 24px rgba(8,12,18,.18)!important}
.btp-modal.is-lead-drawer .btp-lead-detail{gap:14px}
.btp-modal.is-lead-drawer .btp-lead-detail-head{display:block!important;padding:3px 58px 0 0!important;min-width:0}
.btp-modal.is-lead-drawer .btp-lead-detail-head h2{max-width:none!important;font-size:clamp(25px,2.15vw,34px)!important;line-height:1.07!important;text-wrap:pretty!important;overflow-wrap:break-word!important}
.btp-modal.is-lead-drawer .btp-lead-detail-head p{font-size:12px!important;line-height:1.45!important}
.btp-lead-decision-bar{position:sticky;top:-1px;z-index:7;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0 11px;background:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,253,248,.96) 78%,rgba(255,253,248,0) 100%);backdrop-filter:blur(10px)}
.btp-lead-decision-bar .btp-lead-score-hero{width:auto!important;min-width:0!important;flex:0 1 auto;padding:9px 11px!important;border-radius:18px!important}
.btp-lead-decision-bar .btp-lead-score-hero>span{width:48px;height:48px;flex-basis:48px;border-radius:15px;font-size:21px}
.btp-lead-decision-bar .btp-lead-score-hero div{min-width:0}
.btp-lead-decision-bar .btp-lead-score-hero div>small{order:-1;color:#d9b461;font-size:8px;font-weight:900;letter-spacing:.11em}
.btp-lead-decision-bar .btp-lead-score-hero strong{font-size:12px;line-height:1.35;max-width:180px}
.btp-decision-meta{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.btp-decision-meta>span{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:7px 10px;border:1px solid #ebe4d9;border-radius:999px;background:#fff;color:#85909d;font-size:10px;white-space:nowrap}
.btp-decision-meta strong{color:#283443;font-size:10px}

.btp-modal.is-lead-drawer .btp-opportunity-summary,
.btp-modal.is-lead-drawer .btp-offer-recommendation>div,
.btp-modal.is-lead-drawer .btp-recommended-action,
.btp-modal.is-lead-drawer .btp-pitch-suggestion{border-radius:18px!important}
.btp-modal.is-lead-drawer .btp-score-dimensions{gap:8px}
.btp-modal.is-lead-drawer .btp-score-dimensions>div{padding:12px 13px;border-radius:16px}
.btp-modal.is-lead-drawer .btp-score-dimensions strong{font-size:19px}
.btp-modal.is-lead-drawer .btp-lead-contact-strip{gap:7px}
.btp-modal.is-lead-drawer .btp-lead-contact-strip .btp-mini{min-height:38px;padding:9px 13px;border-radius:999px!important}
.btp-modal.is-lead-drawer .btp-lead-public-data>div{padding:12px!important;border-radius:15px!important}

/* Compact secondary information inside native, accessible folds. */
.btp-drawer-fold{border:1px solid #ebe5da;border-radius:19px;background:linear-gradient(180deg,#fff,#fcfbf8);overflow:hidden}
.btp-drawer-fold>summary{list-style:none;display:grid;grid-template-columns:1fr auto;gap:3px 12px;align-items:center;padding:14px 16px;cursor:pointer;user-select:none;transition:background .22s ease,border-color .22s ease}
.btp-drawer-fold>summary::-webkit-details-marker{display:none}
.btp-drawer-fold>summary>span{grid-column:1;color:#a67417;font-size:9px;font-weight:900;letter-spacing:.14em}
.btp-drawer-fold>summary>strong{grid-column:1;color:#24303e;font-size:13px;line-height:1.35}
.btp-drawer-fold>summary>.dashicons{grid-column:2;grid-row:1/3;align-self:center;color:#9b742e;transition:transform .22s ease}
.btp-drawer-fold[open]>summary>.dashicons{transform:rotate(180deg)}
.btp-drawer-fold[open]>summary{background:#fffbf2}
.btp-drawer-fold-body{padding:0 13px 13px}
.btp-drawer-fold .btp-diagnostic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.btp-drawer-fold .btp-lead-insights{grid-template-columns:repeat(2,minmax(0,1fr))}
.btp-drawer-fold .btp-lead-insights .btp-lead-list-block.is-risk:nth-child(3){grid-column:1/-1}
.btp-drawer-more-actions-grid{display:flex;gap:8px;flex-wrap:wrap}
.btp-drawer-more-actions-grid .btp-mini{flex:1 1 170px}

/* Keep the two daily actions available without making the whole drawer feel long. */
.btp-modal.is-lead-drawer .btp-drawer-actionbar{position:sticky;bottom:-1px;z-index:8;display:grid!important;grid-template-columns:minmax(0,1.1fr) repeat(2,minmax(0,1fr));gap:8px!important;margin:2px -8px -8px!important;padding:12px 8px 8px!important;background:linear-gradient(0deg,#fff 68%,rgba(255,255,255,.92) 84%,rgba(255,255,255,0));backdrop-filter:blur(10px)}
.btp-modal.is-lead-drawer .btp-drawer-actionbar>*{width:100%!important;min-width:0!important;min-height:44px!important;border-radius:999px!important;display:flex;align-items:center;justify-content:center;text-decoration:none;text-align:center}

/* Premium icon tooltips: only interactive controls get them. */
.btp-icon-action{position:relative}
@media (hover:hover){
  .btp-icon-action[title]::after{content:attr(title);position:absolute;left:50%;bottom:calc(100% + 8px);transform:translate(-50%,4px);z-index:30;pointer-events:none;opacity:0;white-space:nowrap;padding:6px 8px;border-radius:9px;background:#111923;color:#f4f7fa;font-size:10px;font-weight:700;box-shadow:0 8px 20px rgba(4,8,13,.18);transition:opacity .16s ease,transform .16s ease}
  .btp-icon-action[title]:hover::after,.btp-icon-action[title]:focus-visible::after{opacity:1;transform:translate(-50%,0)}
}

@media (max-width:900px){
  .btp-settings-side-stack{gap:14px}
  .btp-drawer-fold .btp-diagnostic-grid{grid-template-columns:1fr 1fr}
  .btp-drawer-fold .btp-lead-insights{grid-template-columns:1fr}
  .btp-drawer-fold .btp-lead-insights .btp-lead-list-block.is-risk:nth-child(3){grid-column:auto}
}
@media (max-width:760px){
  .btp-modal.is-lead-drawer .btp-modal-card{padding:16px 14px 18px!important}
  .btp-modal.is-lead-drawer .btp-modal-close{top:10px!important;right:auto!important;margin:0 0 -44px auto!important;width:40px!important;height:40px!important}
  .btp-modal.is-lead-drawer .btp-lead-detail-head{padding:9px 50px 0 0!important}
  .btp-modal.is-lead-drawer .btp-lead-detail-head h2{font-size:clamp(23px,8vw,28px)!important;line-height:1.08!important}
  .btp-lead-decision-bar{display:grid;grid-template-columns:1fr;padding:8px 0 10px;gap:8px}
  .btp-lead-decision-bar .btp-lead-score-hero{width:100%!important}
  .btp-decision-meta{justify-content:flex-start}
  .btp-modal.is-lead-drawer .btp-score-dimensions{grid-template-columns:1fr 1fr!important}
  .btp-modal.is-lead-drawer .btp-drawer-actionbar{grid-template-columns:1fr 1fr;margin:0 -4px -4px!important;padding:10px 4px 4px!important}
  .btp-modal.is-lead-drawer .btp-drawer-actionbar .btp-primary{grid-column:1/-1}
  .btp-drawer-fold>summary{padding:13px 14px}
}
@media (max-width:430px){
  .btp-modal.is-lead-drawer .btp-score-dimensions{grid-template-columns:1fr!important}
  .btp-drawer-fold .btp-diagnostic-grid{grid-template-columns:1fr 1fr}
  .btp-modal.is-lead-drawer .btp-lead-contact-strip{grid-template-columns:1fr 1fr!important}
  .btp-modal.is-lead-drawer .btp-drawer-actionbar{grid-template-columns:1fr!important}
  .btp-modal.is-lead-drawer .btp-drawer-actionbar .btp-primary{grid-column:auto}
}


/* v0.17.2 — Conversation Quality & Message Context */
.btp-message-preview strong,.btp-message-editor-preview strong{font-weight:800;color:#111c2b}
.btp-message-editor-preview{line-height:1.7}
.btp-message-card .btp-message-preview{line-height:1.65}

/* v0.18.0 — auditoria de oportunidade para webdesign */
.btp-lead-kpis{grid-template-columns:repeat(7,minmax(0,1fr))}
.btp-site-cell small.is-audit-pending{color:#a7741d;font-weight:800}
.btp-site-cell small.is-strong{color:#27825f;font-weight:800}
.btp-site-cell small.is-gap{color:#aa6b28;font-weight:800}
.btp-score-dimensions--audit{grid-template-columns:repeat(4,minmax(0,1fr))}
.btp-audit-note{margin-top:10px;padding:12px 14px;border:1px solid rgba(214,163,75,.18);border-radius:16px;background:linear-gradient(145deg,#fffaf0,#fbf7ef);color:#778391;font-size:11px;line-height:1.55}
.btp-audit-note strong{color:#6f4b0e}
@media (max-width:1180px){.btp-lead-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:900px){.btp-lead-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.btp-score-dimensions--audit{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.btp-lead-kpis{grid-template-columns:1fr 1fr}.btp-score-dimensions--audit{grid-template-columns:1fr}.btp-audit-note{font-size:10.5px}}


/* v0.18.1 — reanálise, descarte seguro e robustez do drawer */
.btp-inline-reanalyze{appearance:none;border:0;background:transparent;color:#a7741d;padding:3px 0 0;margin:0;display:inline-flex;align-items:center;gap:5px;font:inherit;font-size:10px;font-weight:850;line-height:1.25;cursor:pointer;text-align:left;transition:color .2s ease,opacity .2s ease}
.btp-inline-reanalyze .dashicons{width:14px;height:14px;font-size:14px;line-height:14px}
.btp-inline-reanalyze:hover{color:#7d5612}.btp-inline-reanalyze:disabled{opacity:.62;cursor:wait}
.btp-bulk-progress{display:block;width:100%;padding-top:8px;color:#7f8b98;font-size:11px;font-weight:700}
.btp-lead-row[data-archived="1"]{opacity:.62!important;background:#f5f3ef!important}
.btp-lead-row[data-archived="1"] .btp-company-cell>strong{text-decoration:line-through;text-decoration-thickness:1px}
.btp-modal.is-lead-drawer .btp-modal-card{overflow-x:hidden!important;overscroll-behavior:contain}
.btp-modal.is-lead-drawer .btp-lead-detail{min-width:0;padding-bottom:72px}
.btp-modal.is-lead-drawer .btp-lead-detail>*{min-width:0;max-width:100%}
.btp-modal.is-lead-drawer .btp-official-site-card,
.btp-modal.is-lead-drawer .btp-modal-source-strip,
.btp-modal.is-lead-drawer .btp-lead-public-data,
.btp-modal.is-lead-drawer .btp-diagnostic-grid,
.btp-modal.is-lead-drawer .btp-score-dimensions,
.btp-modal.is-lead-drawer .btp-offer-recommendation,
.btp-modal.is-lead-drawer .btp-lead-insights{min-width:0;max-width:100%}
.btp-modal.is-lead-drawer .btp-official-site-card strong,
.btp-modal.is-lead-drawer .btp-lead-public-data strong,
.btp-modal.is-lead-drawer .btp-diagnostic-item strong,
.btp-modal.is-lead-drawer .btp-score-dimensions strong,
.btp-modal.is-lead-drawer .btp-score-dimensions small,
.btp-modal.is-lead-drawer .btp-decision-meta span,
.btp-modal.is-lead-drawer .btp-modal-source-strip em,
.btp-modal.is-lead-drawer .btp-lead-list-block li,
.btp-modal.is-lead-drawer .btp-pitch-suggestion p,
.btp-modal.is-lead-drawer .btp-recommended-action p{overflow-wrap:anywhere;word-break:normal;white-space:normal}
.btp-modal.is-lead-drawer .btp-decision-meta{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;min-width:0}
.btp-modal.is-lead-drawer .btp-decision-meta span{max-width:100%}
.btp-modal.is-lead-drawer .btp-drawer-fold-body{overflow:hidden}
@media (max-width:760px){
  .btp-modal.is-lead-drawer .btp-lead-detail{padding-bottom:110px}
  .btp-modal.is-lead-drawer .btp-modal-source-strip{display:grid;grid-template-columns:1fr;gap:7px}
  .btp-modal.is-lead-drawer .btp-modal-source-strip strong{margin-left:0!important}
  .btp-bulk-progress{font-size:10px}
}

/* v0.18.1 — drawer: no action bar covering diagnostic content */
.btp-modal.is-lead-drawer .btp-lead-public-data{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.btp-modal.is-lead-drawer .btp-drawer-actionbar{position:static!important;margin:4px 0 0!important;padding:8px 0 0!important;background:transparent!important;backdrop-filter:none!important}
.btp-modal.is-lead-drawer .btp-lead-detail{padding-bottom:8px!important}
@media (max-width:430px){.btp-modal.is-lead-drawer .btp-lead-public-data{grid-template-columns:1fr!important}}

/* v0.18.2 — blindagem visual dos botões contra cores globais do tema/Elementor
   Mantém todos os controles dentro da identidade preto + dourado do Prospect. */
body .btp-app button,
body .btp-login-shell button{
  --e-global-color-accent:#d6a34b;
  --wp--preset--color--vivid-red:#d6a34b;
  -webkit-appearance:none;
  appearance:none;
  text-shadow:none!important;
}

/* Ação textual de reanálise: nunca deve herdar o rosa/accent do tema. */
body .btp-app button.btp-inline-reanalyze,
body .btp-app .btp-site-cell button.btp-inline-reanalyze,
body .btp-app button.btp-inline-reanalyze.btp-quick-analyze{
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
  color:#a7741d!important;
  border:0!important;
  border-color:transparent!important;
  border-radius:0!important;
  box-shadow:none!important;
  padding:3px 0 0!important;
  min-height:0!important;
  line-height:1.25!important;
}
body .btp-app button.btp-inline-reanalyze:hover,
body .btp-app button.btp-inline-reanalyze:active{
  background:transparent!important;
  background-color:transparent!important;
  color:#76500f!important;
  box-shadow:none!important;
  transform:none!important;
  filter:none!important;
}
body .btp-app button.btp-inline-reanalyze:focus-visible{
  outline:2px solid rgba(214,163,75,.52)!important;
  outline-offset:3px!important;
  box-shadow:none!important;
}

/* Ações compactas da tabela. */
body .btp-app button.btp-icon-action{
  background:#fff!important;
  background-color:#fff!important;
  background-image:none!important;
  color:#243142!important;
  border:1px solid #e7e3da!important;
  box-shadow:0 5px 12px rgba(16,23,33,.04)!important;
}
body .btp-app button.btp-icon-action.is-whatsapp{
  background:#f2fbf6!important;
  background-color:#f2fbf6!important;
  color:#28734d!important;
  border-color:#d4ecde!important;
}
body .btp-app button.btp-icon-action.is-saved{
  background:linear-gradient(145deg,#fff6d9,#f5dda1)!important;
  background-color:#f5dda1!important;
  color:#8d6215!important;
  border-color:#dfba61!important;
}
@media (hover:hover){
  body .btp-app button.btp-icon-action:hover{
    background:#fffaf0!important;
    background-color:#fffaf0!important;
    color:#1e2a39!important;
    border-color:#d7aa50!important;
  }
}

/* Botões secundários/ghost e botões principais. */
body .btp-app button.btp-mini,
body .btp-app button.btp-ghost,
body .btp-app a.btp-mini,
body .btp-app a.btp-ghost{
  background:#f8f5ee!important;
  background-color:#f8f5ee!important;
  background-image:none!important;
  color:#243040!important;
  border:1px solid rgba(214,163,75,.18)!important;
}
body .btp-app button.btp-primary,
body .btp-login-shell button.btp-primary{
  background:linear-gradient(180deg,#f0cc7a 0%,#d6a34b 100%)!important;
  background-color:#d6a34b!important;
  color:#16110c!important;
  border:1px solid rgba(160,111,17,.20)!important;
}

/* Fechar modais/drawers: preto premium com detalhe dourado. */
body .btp-app button.btp-modal-close,
body .btp-app button.btp-message-editor-close,
body .btp-app button.btp-prompt-editor-close,
body .btp-app button.btp-delete-prompt{
  background:#111a26!important;
  background-color:#111a26!important;
  background-image:none!important;
  color:#f1cd78!important;
  border:1px solid rgba(214,163,75,.32)!important;
  box-shadow:0 10px 24px rgba(8,12,18,.16)!important;
}

/* KPIs/filtros clicáveis da tela de Leads. */
body .btp-app .btp-lead-kpis button{
  background:linear-gradient(180deg,#fff,#fbfaf7)!important;
  background-color:#fff!important;
  color:#111b28!important;
  border:1px solid #ece6db!important;
}
body .btp-app .btp-lead-kpis button.is-active{
  background:linear-gradient(145deg,#fffaf0,#f9efd8)!important;
  background-color:#fffaf0!important;
  border-color:rgba(211,154,52,.48)!important;
}

/* Ações em lote usam o painel escuro; evita herança do accent rosa. */
body .btp-app .btp-bulk-actions button{
  background:rgba(255,255,255,.055)!important;
  background-color:rgba(255,255,255,.055)!important;
  background-image:none!important;
  color:#edf2f7!important;
  border:1px solid rgba(255,255,255,.10)!important;
}
@media (hover:hover){
  body .btp-app .btp-bulk-actions button:hover{
    background:rgba(216,167,72,.12)!important;
    background-color:rgba(216,167,72,.12)!important;
    border-color:rgba(216,167,72,.30)!important;
  }
}

/* Navegação continua preta/transparente + dourado no estado ativo. */
body .btp-app .btp-sidebar nav button,
body .btp-app button.btp-primary-nav,
body .btp-app button.btp-mobile-more-toggle,
body .btp-app .btp-nav-more button{
  background-color:transparent!important;
  background-image:none!important;
}
body .btp-app .btp-sidebar nav button.is-active,
body .btp-app button.btp-primary-nav.is-active,
body .btp-app button.btp-mobile-more-toggle.is-active,
body .btp-app .btp-nav-more button.is-active{
  background:linear-gradient(90deg,rgba(214,163,75,.22),rgba(214,163,75,.07))!important;
  background-color:rgba(214,163,75,.12)!important;
}


/* v0.18.3 — refinamento da barra de ações em lote + reanálise visual */
body .btp-app .btp-bulkbar{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px 14px!important;
  padding:14px 16px!important;
}
body .btp-app .btp-bulkbar > div:first-child{
  align-self:center!important;
}
body .btp-app .btp-bulk-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  justify-content:flex-start!important;
  align-items:center!important;
  gap:8px!important;
  min-width:0!important;
}
body .btp-app .btp-bulk-actions button,
body .btp-app .btp-bulk-actions button:visited,
body .btp-app .btp-bulk-actions button:focus,
body .btp-app .btp-bulk-actions button:active{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:38px!important;
  padding:9px 13px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.06)!important;
  background-color:rgba(255,255,255,.06)!important;
  background-image:none!important;
  color:#edf2f7!important;
  border:1px solid rgba(255,255,255,.10)!important;
  box-shadow:none!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  outline:none!important;
}
body .btp-app .btp-bulk-actions button:hover{
  background:rgba(216,167,72,.12)!important;
  background-color:rgba(216,167,72,.12)!important;
  border-color:rgba(216,167,72,.30)!important;
}
body .btp-app .btp-bulk-actions button:focus-visible{
  box-shadow:0 0 0 3px rgba(214,163,75,.18)!important;
  border-color:rgba(216,167,72,.40)!important;
}
body .btp-app .btp-bulk-actions button[data-btp-bulk="reanalyze"]{
  background:linear-gradient(180deg,#f0cc7a 0%,#d6a34b 100%)!important;
  background-color:#d6a34b!important;
  color:#16110c!important;
  border-color:rgba(160,111,17,.22)!important;
  box-shadow:0 10px 22px rgba(214,163,75,.22)!important;
}
body .btp-app .btp-bulk-actions button[data-btp-bulk="reanalyze"] .dashicons{
  color:#6d4b0d!important;
}
body .btp-app .btp-bulk-actions button[data-btp-bulk="reanalyze"]:hover,
body .btp-app .btp-bulk-actions button[data-btp-bulk="reanalyze"]:focus,
body .btp-app .btp-bulk-actions button[data-btp-bulk="reanalyze"]:active{
  background:linear-gradient(180deg,#f3d382 0%,#d9a94e 100%)!important;
  background-color:#d9a94e!important;
  color:#16110c!important;
  border-color:rgba(160,111,17,.28)!important;
}
body .btp-app .btp-bulk-progress{
  grid-column:1 / -1!important;
  display:flex!important;
  align-items:center!important;
  gap:8px!important;
  min-height:40px!important;
  margin-top:2px!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.04)!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#aeb8c4!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.01em!important;
}
body .btp-app .btp-bulk-progress::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:999px;
  background:#d6a34b;
  box-shadow:0 0 0 4px rgba(214,163,75,.12);
  flex:0 0 9px;
}

body .btp-app button.btp-inline-reanalyze,
body .btp-app .btp-site-cell button.btp-inline-reanalyze,
body .btp-app button.btp-inline-reanalyze.btp-quick-analyze{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  align-self:flex-start!important;
  width:auto!important;
  max-width:max-content!important;
  min-height:34px!important;
  padding:7px 12px!important;
  margin-top:2px!important;
  border-radius:12px!important;
  border:1px solid rgba(214,163,75,.30)!important;
  background:linear-gradient(180deg,#fff9ef 0%,#f8f1e1 100%)!important;
  background-color:#fff9ef!important;
  background-image:none!important;
  color:#8a6115!important;
  box-shadow:none!important;
  white-space:nowrap!important;
  line-height:1!important;
}
body .btp-app button.btp-inline-reanalyze .dashicons{
  color:#a7741d!important;
}
body .btp-app button.btp-inline-reanalyze:hover,
body .btp-app button.btp-inline-reanalyze:focus,
body .btp-app button.btp-inline-reanalyze:active{
  background:linear-gradient(180deg,#fff7e7 0%,#f4ead3 100%)!important;
  background-color:#fff7e7!important;
  color:#6f4d12!important;
  border-color:rgba(214,163,75,.42)!important;
  transform:none!important;
  filter:none!important;
}
body .btp-app button.btp-inline-reanalyze:focus-visible{
  outline:2px solid rgba(214,163,75,.34)!important;
  outline-offset:2px!important;
}
body .btp-app .btp-site-cell{
  align-items:start!important;
}

@media (max-width:980px){
  body .btp-app .btp-bulkbar{
    grid-template-columns:1fr!important;
    align-items:flex-start!important;
  }
}
@media (max-width:760px){
  body .btp-app .btp-bulk-actions button{
    flex:1 1 calc(50% - 8px)!important;
  }
  body .btp-app .btp-bulk-actions button[data-btp-bulk="reanalyze"]{
    flex:1 1 100%!important;
  }
}
@media (max-width:520px){
  body .btp-app .btp-bulk-actions button{
    flex:1 1 100%!important;
  }
}


/* ================================================================
   v0.18.4 — responsive polish, spacing rhythm and component consistency
   ================================================================ */

/* Global product rhythm: every page gets the same breathing room and no child
   is allowed to force horizontal overflow. */
body .btp-app *,body .btp-login-shell *{box-sizing:border-box}
body .btp-app .btp-view,
body .btp-app .btp-view.is-active,
body .btp-app .btp-panel,
body .btp-app .btp-table-panel,
body .btp-app .btp-message-card,
body .btp-app .btp-settings-card,
body .btp-app .btp-profile-form,
body .btp-app .btp-account-card{min-width:0;max-width:100%}
body .btp-app .btp-view.is-active{overflow:visible}

/* Non-clickable surfaces stay stable. Hover movement is reserved for controls. */
@media (hover:hover){
  body .btp-app .btp-panel:hover,
  body .btp-app .btp-settings-card:hover,
  body .btp-app .btp-profile-form:hover,
  body .btp-app .btp-account-card:hover,
  body .btp-app .btp-table-panel:hover,
  body .btp-app .btp-message-card:hover{transform:none!important}
}

/* Shared headings and section spacing. */
body .btp-app .btp-section-head,
body .btp-app .btp-workspace-head{
  gap:18px!important;
  min-width:0!important;
}
body .btp-app .btp-section-head h2,
body .btp-app .btp-workspace-head h2,
body .btp-app .btp-settings-title h3,
body .btp-app .btp-hero h2{
  margin-top:0!important;
  text-wrap:pretty!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}
body .btp-app .btp-section-head p,
body .btp-app .btp-workspace-head p,
body .btp-app .btp-settings-title p,
body .btp-app .btp-hero p{
  text-wrap:pretty!important;
  overflow-wrap:break-word!important;
}

/* Panels/cards keep one premium visual language throughout the app. */
body .btp-app .btp-panel,
body .btp-app .btp-table-panel,
body .btp-app .btp-message-card,
body .btp-app .btp-settings-card,
body .btp-app .btp-profile-form,
body .btp-app .btp-account-card,
body .btp-app .btp-goal-calculator{
  border-radius:26px!important;
  overflow:hidden;
}

/* Leads workspace — flexible KPIs, toolbar and table. */
body .btp-app .btp-lead-kpis{
  grid-template-columns:repeat(auto-fit,minmax(132px,1fr))!important;
  gap:10px!important;
  padding:0 18px 16px!important;
}
body .btp-app .btp-lead-kpis button{
  min-width:0!important;
  min-height:72px!important;
  padding:13px 14px!important;
  border-radius:18px!important;
}
body .btp-app .btp-workspace-toolbar{
  grid-template-columns:minmax(260px,1.35fr) minmax(190px,.68fr) minmax(180px,.58fr)!important;
  gap:10px!important;
  padding:0 18px 16px!important;
}
body .btp-app .btp-workspace-toolbar label{min-width:0!important}
body .btp-app .btp-workspace-toolbar input,
body .btp-app .btp-workspace-toolbar select{
  min-width:0!important;
  border-radius:16px!important;
}
body .btp-app .btp-lead-workspace .btp-table-wrap{
  scrollbar-gutter:stable;
  border-radius:0 0 24px 24px;
}
body .btp-app .btp-lead-workspace .btp-qualified-table th,
body .btp-app .btp-lead-workspace .btp-qualified-table td{
  vertical-align:middle;
}
body .btp-app .btp-company-cell>strong,
body .btp-app .btp-opportunity-cell>strong{
  overflow-wrap:break-word!important;
}
body .btp-app .btp-quick-actions{
  min-width:0!important;
}
body .btp-app .btp-icon-action{
  width:38px!important;
  height:38px!important;
  min-width:38px!important;
  border-radius:999px!important;
}
body .btp-app button.btp-inline-reanalyze,
body .btp-app .btp-site-cell button.btp-inline-reanalyze,
body .btp-app button.btp-inline-reanalyze.btp-quick-analyze{
  border-radius:999px!important;
}

/* Selection bar: clean two-row layout when progress text exists, without
   compressing the controls or pushing them outside the panel. */
body .btp-app .btp-bulkbar{
  margin:0 18px 14px!important;
  padding:13px 14px!important;
  border-radius:20px!important;
  overflow:hidden!important;
}
body .btp-app .btp-bulk-actions{min-width:0!important}
body .btp-app .btp-bulk-actions button{font-size:11px!important;font-weight:800!important}
body .btp-app .btp-bulk-progress{margin:0!important}

/* Buttons/forms: rounded consistently across all screens. */
body .btp-app button.btp-primary,
body .btp-app a.btp-primary,
body .btp-app button.btp-mini,
body .btp-app a.btp-mini,
body .btp-app button.btp-ghost,
body .btp-app a.btp-ghost,
body .btp-login-shell button.btp-primary{
  border-radius:999px!important;
}
body .btp-app input:not([type="checkbox"]):not([type="radio"]),
body .btp-app select,
body .btp-app textarea,
body .btp-login-shell input:not([type="checkbox"]):not([type="radio"]){
  border-radius:16px!important;
}

/* Messages / prompts — predictable card spacing and readable content. */
body .btp-app .btp-message-grid,
body .btp-app .btp-prompt-grid{gap:16px!important}
body .btp-app .btp-message-card,
body .btp-app .btp-prompt-card{min-width:0!important}
body .btp-app .btp-message-preview,
body .btp-app .btp-message-editor-preview,
body .btp-app .btp-prompt-card pre{
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}

/* Settings / account — keep cards aligned but never too tight. */
body .btp-app .btp-settings-layout,
body .btp-app .btp-profile-grid{gap:20px!important}
body .btp-app .btp-settings-side-stack{gap:16px!important}
body .btp-app .btp-account-meta{align-items:flex-start!important}
body .btp-app .btp-account-meta strong{min-width:0!important;overflow-wrap:anywhere!important}

/* Drawer — no cropped labels, controlled scrolling and stable action bar. */
body .btp-app .btp-modal.is-lead-drawer .btp-modal-card{
  width:min(700px,94vw)!important;
  padding:26px 24px 28px!important;
  scrollbar-gutter:stable;
}
body .btp-app .btp-modal.is-lead-drawer .btp-lead-detail-head{
  min-width:0!important;
}
body .btp-app .btp-modal.is-lead-drawer .btp-lead-detail-head h2{
  max-width:none!important;
  overflow-wrap:break-word!important;
}
body .btp-app .btp-modal.is-lead-drawer .btp-diagnostic-grid,
body .btp-app .btp-modal.is-lead-drawer .btp-score-dimensions,
body .btp-app .btp-modal.is-lead-drawer .btp-lead-public-data{
  gap:8px!important;
}
body .btp-app .btp-modal.is-lead-drawer .btp-drawer-actionbar{
  border-radius:20px 20px 0 0!important;
}

/* Tablet: sections stack before they become cramped. */
@media (max-width:1180px){
  body .btp-app .btp-workspace-toolbar{
    grid-template-columns:minmax(0,1fr) minmax(190px,.65fr)!important;
  }
  body .btp-app .btp-workspace-search{grid-column:1/-1!important}
  body .btp-app .btp-quick-actions{flex-wrap:wrap!important}
  body .btp-app .btp-settings-layout,
  body .btp-app .btp-profile-grid{gap:16px!important}
}

/* Mobile/tablet workspace: preserve hierarchy and avoid giant empty areas. */
@media (max-width:760px){
  body .btp-app .btp-main{padding-left:14px!important;padding-right:14px!important}
  body .btp-app .btp-topbar{margin-bottom:18px!important}
  body .btp-app .btp-topbar-copy p{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    max-width:100%!important;
    line-height:1.45!important;
  }
  body .btp-app .btp-hero,
  body .btp-app .btp-panel,
  body .btp-app .btp-table-panel,
  body .btp-app .btp-message-card,
  body .btp-app .btp-settings-card,
  body .btp-app .btp-profile-form,
  body .btp-app .btp-account-card,
  body .btp-app .btp-goal-calculator{
    border-radius:22px!important;
  }
  body .btp-app .btp-section-head,
  body .btp-app .btp-workspace-head{
    align-items:flex-start!important;
    flex-direction:column!important;
    gap:8px!important;
  }
  body .btp-app .btp-section-head h2,
  body .btp-app .btp-workspace-head h2,
  body .btp-app .btp-hero h2{
    font-size:clamp(25px,8vw,34px)!important;
    line-height:1.08!important;
  }
  body .btp-app .btp-lead-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    padding:0 12px 12px!important;
    gap:8px!important;
  }
  body .btp-app .btp-lead-kpis button{
    min-height:64px!important;
    padding:11px 12px!important;
    border-radius:16px!important;
  }
  body .btp-app .btp-workspace-toolbar{
    grid-template-columns:1fr!important;
    gap:9px!important;
    padding:0 12px 12px!important;
  }
  body .btp-app .btp-workspace-search{grid-column:auto!important}
  body .btp-app .btp-workspace-toolbar input,
  body .btp-app .btp-workspace-toolbar select{height:44px!important}
  body .btp-app .btp-bulkbar{
    margin:0 12px 12px!important;
    padding:12px!important;
    border-radius:18px!important;
  }
  body .btp-app .btp-bulkbar>div:first-child{width:100%!important}
  body .btp-app .btp-bulk-actions{width:100%!important;gap:7px!important}
  body .btp-app .btp-bulk-actions button{
    flex:1 1 calc(50% - 7px)!important;
    min-height:40px!important;
    white-space:normal!important;
    line-height:1.2!important;
    text-align:center!important;
  }
  body .btp-app .btp-bulk-actions button[data-btp-bulk="reanalyze"]{flex:1 1 100%!important}
  body .btp-app .btp-bulk-progress{min-height:38px!important;padding:9px 10px!important}

  /* Lead rows already become cards; these refinements prevent clipped labels. */
  body .btp-app .btp-lead-workspace .btp-qualified-table tbody tr{
    border-radius:18px!important;
    padding:8px 12px!important;
  }
  body .btp-app .btp-lead-workspace .btp-qualified-table tbody td{
    align-items:flex-start!important;
    gap:12px!important;
  }
  body .btp-app .btp-lead-workspace .btp-qualified-table tbody td::before{
    flex:0 0 78px!important;
  }
  body .btp-app .btp-company-cell,
  body .btp-app .btp-site-cell,
  body .btp-app .btp-opportunity-cell{max-width:calc(100% - 86px)!important}
  body .btp-app .btp-quick-actions{
    margin-left:auto!important;
    flex-wrap:wrap!important;
    justify-content:flex-end!important;
    max-width:190px!important;
  }
  body .btp-app .btp-icon-action{
    width:36px!important;height:36px!important;min-width:36px!important;
  }

  body .btp-app .btp-settings-layout,
  body .btp-app .btp-profile-grid,
  body .btp-app .btp-settings-side-stack{gap:12px!important}
  body .btp-app .btp-settings-card,
  body .btp-app .btp-profile-form,
  body .btp-app .btp-account-card,
  body .btp-app .btp-goal-calculator{padding:18px!important}

  body .btp-app .btp-modal.is-lead-drawer .btp-modal-card{
    width:100vw!important;
    max-width:100vw!important;
    border-radius:0!important;
    padding:16px 14px 20px!important;
  }
  body .btp-app .btp-modal.is-lead-drawer .btp-drawer-actionbar{
    border-radius:18px 18px 0 0!important;
  }
}

@media (max-width:430px){
  body .btp-app .btp-main{padding-left:12px!important;padding-right:12px!important}
  body .btp-app .btp-lead-kpis{gap:7px!important;padding-left:10px!important;padding-right:10px!important}
  body .btp-app .btp-lead-kpis button{padding:10px!important}
  body .btp-app .btp-lead-kpis button span{font-size:10px!important}
  body .btp-app .btp-lead-kpis button strong{font-size:20px!important}
  body .btp-app .btp-bulk-actions button{flex:1 1 100%!important}
  body .btp-app .btp-lead-workspace .btp-qualified-table tbody td::before{flex-basis:70px!important}
  body .btp-app .btp-company-cell,
  body .btp-app .btp-site-cell,
  body .btp-app .btp-opportunity-cell{max-width:calc(100% - 76px)!important}
}


/* =========================================================
   v0.18.5 — status recovery + stable drawer backdrop
========================================================= */
/* Chromium can render backdrop-filter over a fixed/sticky sidebar as segmented blocks.
   Use a clean dark veil for the commercial drawer so the left menu remains visually solid. */
.btp-modal.is-lead-drawer{
  background:rgba(6,10,15,.74)!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
}
body.btp-modal-open .btp-sidebar{
  filter:none!important;
  -webkit-filter:none!important;
}

/* Status save feedback — no pink/red UI in the normal interaction path. */
.btp-app .btp-status{transition:border-color .2s ease,box-shadow .2s ease,background .2s ease,opacity .2s ease!important}
.btp-app .btp-status.is-saving{opacity:.72!important;cursor:wait!important;border-color:#d7aa50!important;background:#fff9eb!important;box-shadow:0 0 0 4px rgba(214,163,75,.10)!important}
.btp-app .btp-status.is-saved{border-color:#c79a3b!important;background:#fffaf0!important;box-shadow:0 0 0 4px rgba(214,163,75,.10)!important}
.btp-app .btp-status.is-error{border-color:#9f7b38!important;background:#fff8ea!important;box-shadow:0 0 0 4px rgba(159,123,56,.10)!important}

/* =========================================================
   v0.18.6 — explicit client update + clean diagnostic actions
========================================================= */
.btp-status-control{
  display:grid!important;
  grid-template-columns:minmax(118px,1fr)!important;
  gap:7px!important;
  min-width:132px!important;
  max-width:172px!important;
  align-items:center!important;
}
.btp-status-control .btp-status{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  border-radius:999px!important;
  transition:border-color .22s ease,box-shadow .22s ease,background .22s ease,opacity .22s ease!important;
}
.btp-status-control .btp-status.is-dirty{
  border-color:#d4a348!important;
  background:#fffaf0!important;
  box-shadow:0 0 0 3px rgba(214,163,75,.10)!important;
}
.btp-status-save{
  width:100%!important;
  min-height:36px!important;
  padding:8px 12px!important;
  border:1px solid #c7922f!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,#f2d184 0%,#d7a33f 100%)!important;
  color:#171a20!important;
  font-size:11px!important;
  line-height:1.1!important;
  font-weight:850!important;
  letter-spacing:.01em!important;
  cursor:pointer!important;
  box-shadow:0 8px 18px rgba(165,116,27,.14)!important;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease,opacity .2s ease!important;
}
.btp-status-save:hover:not(:disabled){
  transform:translateY(-1px)!important;
  box-shadow:0 11px 22px rgba(165,116,27,.18)!important;
  filter:brightness(1.02)!important;
}
.btp-status-save:disabled{opacity:.68!important;cursor:wait!important;transform:none!important}
.btp-status-save[hidden]{display:none!important}
.btp-status-feedback{
  display:block!important;
  min-height:0!important;
  margin:0 3px!important;
  color:#8b7448!important;
  font-size:9px!important;
  line-height:1.35!important;
  text-align:left!important;
}
.btp-status-feedback:empty{display:none!important}

.btp-drawer-operations{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:14px!important;
  padding:14px!important;
  border:1px solid #ece3d3!important;
  border-radius:20px!important;
  background:linear-gradient(145deg,#fffdf9,#f8f3e9)!important;
}
.btp-drawer-operations .btp-mini{
  flex:1 1 180px!important;
  min-height:44px!important;
  border-radius:999px!important;
  background:#fff!important;
  border:1px solid #e6dcc9!important;
  color:#25303d!important;
  font-weight:800!important;
  box-shadow:none!important;
  transition:background .2s ease,border-color .2s ease,transform .2s ease!important;
}
.btp-drawer-operations .btp-mini:hover{
  background:#fff9ed!important;
  border-color:#d9b66d!important;
  transform:translateY(-1px)!important;
}

@media(max-width:980px){
  .btp-status-control{max-width:none!important;width:100%!important}
  .btp-status-control .btp-status,.btp-status-save{width:100%!important}
}
@media(max-width:720px){
  .btp-status-control{grid-template-columns:1fr!important;gap:8px!important}
  .btp-status-save{min-height:40px!important}
  .btp-drawer-operations{padding:12px!important;gap:8px!important}
  .btp-drawer-operations .btp-mini{flex:1 1 100%!important;width:100%!important}
}


/* v0.18.7 — calculator focus polish + compact source badges */
body .btp-app .btp-money-input{
  position:relative!important;
  border:1px solid var(--btp-border-strong)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.72)!important;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease!important;
}
body .btp-app .btp-money-input:focus-within{
  border-color:#d7aa50!important;
  box-shadow:0 0 0 4px rgba(214,163,75,.12),inset 0 1px 0 rgba(255,255,255,.72)!important;
}
body .btp-app .btp-money-input input,
body .btp-app .btp-money-input input:focus,
body .btp-app .btp-money-input input:focus-visible,
body .btp-app .btp-money-input input:active{
  appearance:none!important;
  -webkit-appearance:none!important;
  border:0!important;
  border-left:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body .btp-app .btp-money-input span{
  position:relative!important;
  z-index:1!important;
  flex:0 0 auto!important;
  border:0!important;
  box-shadow:none!important;
  background:transparent!important;
}
body .btp-app .btp-lead-sources{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:5px!important;
}
body .btp-app .btp-lead-sources span{
  max-width:100%!important;
  white-space:normal!important;
  line-height:1.15!important;
}

/* =========================================================
   v0.19.0 — dedicated auth page + self-service registration
========================================================= */
body .btp-login-shell .btp-auth-switch{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:6px!important;
  width:100%!important;
  margin:0 0 20px!important;
  padding:5px!important;
  border:1px solid rgba(214,163,75,.16)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(16,23,33,.06),rgba(16,23,33,.035))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75)!important;
}
body .btp-login-shell .btp-auth-switch a{
  min-width:0!important;
  min-height:42px!important;
  padding:10px 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  color:#566372!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1!important;
  text-decoration:none!important;
  transition:background .22s ease,border-color .22s ease,color .22s ease,box-shadow .22s ease,transform .22s ease!important;
}
body .btp-login-shell .btp-auth-switch a:hover{
  color:#182331!important;
  background:rgba(214,163,75,.08)!important;
  border-color:rgba(214,163,75,.18)!important;
}
body .btp-login-shell .btp-auth-switch a.is-active{
  color:#161b22!important;
  background:linear-gradient(180deg,#f3d78f 0%,#d8a43f 100%)!important;
  border-color:#d0a34f!important;
  box-shadow:0 8px 18px rgba(164,113,24,.16),inset 0 1px 0 rgba(255,255,255,.52)!important;
}
body .btp-login-shell .btp-auth-switch a.is-active:hover{
  transform:translateY(-1px)!important;
  filter:brightness(1.02)!important;
}

body .btp-login-shell .btp-login-form input[type="email"]{
  width:100%!important;
  height:56px!important;
  border:1px solid var(--btp-border)!important;
  background:#fff!important;
  border-radius:16px!important;
  padding:0 16px!important;
  outline:none!important;
  color:var(--btp-charcoal)!important;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease!important;
}
body .btp-login-shell .btp-login-form input[type="email"]:focus,
body .btp-login-shell .btp-login-form input[type="email"]:focus-visible{
  border-color:rgba(215,163,50,.78)!important;
  box-shadow:0 0 0 4px rgba(215,163,50,.13)!important;
}

body .btp-register-card{
  max-width:560px!important;
}
body .btp-register-form{
  gap:14px!important;
}
body .btp-register-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
}
body .btp-register-help{
  display:block!important;
  margin:-2px 2px 2px!important;
  color:#7c8897!important;
  font-size:11.5px!important;
  line-height:1.55!important;
}
body .btp-login-links--center{
  text-align:center!important;
  color:#7d8997!important;
  font-size:13px!important;
}
body .btp-honeypot{
  position:absolute!important;
  left:-10000px!important;
  top:auto!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

@media(max-width:1080px){
  body .btp-register-card{max-width:620px!important}
}
@media(max-width:720px){
  body .btp-login-shell .btp-auth-switch{margin-bottom:18px!important}
  body .btp-login-shell .btp-auth-switch a{min-height:40px!important;font-size:12.5px!important;padding:9px 11px!important}
  body .btp-register-grid{grid-template-columns:1fr!important;gap:14px!important}
  body .btp-register-card{max-width:600px!important}
}
@media(max-width:430px){
  body .btp-login-shell .btp-auth-switch{gap:4px!important;padding:4px!important}
  body .btp-login-shell .btp-auth-switch a{font-size:12px!important;min-height:38px!important}
  body .btp-register-help{font-size:11px!important}
}
