:root{color-scheme:dark;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;background:#120b20;color:#f9f7ff}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.hidden{display:none!important}.brand{display:flex;align-items:center;gap:10px;letter-spacing:.11em}.brand strong{font-size:19px;letter-spacing:.13em}.brand small{display:block;font-size:9px;letter-spacing:.26em;color:#cdbbe1;margin-top:3px}.symbol{font-size:24px;font-weight:900;letter-spacing:-.16em;background:#f7dd35;color:#201134;padding:9px 14px 9px 10px;border-radius:10px}.symbol span{color:#7b33e8}.eyebrow{letter-spacing:.19em;font-size:10px;font-weight:800;color:#f3d735}.auth-wrap{min-height:100dvh;display:grid;place-items:center;padding:24px;background:radial-gradient(ellipse at 75% 12%,#4c217d 0%,transparent 48%),radial-gradient(ellipse at 14% 91%,#32225e 0%,transparent 50%),#120b20}.auth-card{width:min(100%,450px);padding:36px;background:linear-gradient(150deg,#28183c,#1c132b);border:1px solid #63418a;border-radius:23px;box-shadow:0 22px 85px #0008}.auth-card>.eyebrow{display:block;margin-top:48px}h1{font-size:clamp(31px,5vw,43px);line-height:1.13;margin:15px 0}h1 em{font-style:normal;color:#f3d735}.auth-card>p{color:#bdaecf;line-height:1.55;margin-bottom:30px}label{display:block;font-size:12px;font-weight:700;color:#d9cce9;margin-bottom:16px}input,select,textarea{width:100%;margin-top:7px;border:1px solid #56436b;border-radius:10px;padding:12px 13px;background:#1b122b;color:#fff;outline:0}input:focus,select:focus,textarea:focus{border-color:#e8d332;box-shadow:0 0 0 3px #e8d33223}input::placeholder{color:#8f7da4}.btn{border:0;border-radius:10px;padding:12px 17px;font-weight:800}.primary{background:#efd735;color:#20132b}.btn:hover{filter:brightness(1.1)}.auth-card .btn{width:100%;margin-top:6px}.text-button{border:0;background:none;color:#f3d735;display:block;margin:19px auto;text-decoration:underline}.message{min-height:1.2em;font-size:13px;color:#f3d735;margin:10px 0}.foot{display:block;text-align:center;color:#ad9dbc;font-size:11px;margin-top:23px}.app{min-height:100dvh;display:flex;background:#150e21}.sidebar{width:236px;flex-shrink:0;padding:25px 16px;border-right:1px solid #392849;display:flex;flex-direction:column;background:#1e142f}.sidebar .brand{margin-bottom:55px}.nav-label{font-size:10px;font-weight:800;letter-spacing:.2em;color:#8b789f;margin:0 10px 15px}.sidebar nav{display:grid;gap:8px}.nav{width:100%;background:none;color:#c4b5d2;border:0;border-radius:10px;text-align:left;padding:13px 12px;font-weight:600;display:flex;gap:13px}.nav.active,.nav:hover{background:#49306b;color:#fff}.side-bottom{margin-top:auto}.badge{font-size:10px;color:#f0d835;letter-spacing:.13em;border:1px solid #67511f;padding:12px;border-radius:8px;margin-bottom:12px}main{flex:1;min-width:0;padding:30px;overflow:hidden}header{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:28px}h2{font-size:29px;margin:8px 0}header p{color:#aa98bc;margin:0;font-size:13px}.user-actions{display:flex;align-items:center;gap:16px}.user-actions span{font-size:12px;color:#d6c7e5}.metrics{display:grid;grid-template-columns:repeat(4,minmax(145px,1fr));gap:13px;margin-bottom:30px}.metric{background:#271a38;border:1px solid #402a58;border-radius:13px;padding:19px}.metric small{font-size:11px;color:#bbaacc}.metric strong{display:block;font-size:26px;margin-top:10px}.toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.toolbar h3{margin:0 0 13px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filters input,.filters select{margin:0;max-width:240px}.board{display:flex;gap:14px;overflow-x:auto;padding:12px 1px 24px;min-height:400px}.column{min-width:260px;width:260px;max-width:260px;background:#21162f;border:1px solid #3a2850;border-radius:13px;padding:12px}.column h4{font-size:12px;margin:2px 0 5px;display:flex;justify-content:space-between;gap:8px}.column .total{color:#a997bd;font-size:11px;margin:0 0 16px}.lead{background:#322043;border:1px solid #523366;border-radius:10px;padding:13px;margin:9px 0;cursor:pointer}.lead:hover{border-color:#e3ce37}.lead strong{display:block;margin-bottom:7px;font-size:13px;overflow-wrap:anywhere}.lead .desc{font-size:11px;color:#b7a9c9}.lead .money{font-size:14px;color:#f5dd38;font-weight:800;margin:11px 0 5px}.lead .owner{font-size:11px;color:#b6a5c8}.lead .locked{font-size:10px;color:#c6abc6}.empty{font-size:12px;color:#907ba5;padding:30px 5px;text-align:center}.overlay{position:fixed;inset:0;background:#090610dc;display:grid;place-items:center;z-index:20;padding:15px}.modal{background:#251733;border:1px solid #654284;padding:23px;border-radius:17px;width:min(100%,620px);max-height:94vh;overflow:auto}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.modal h2{font-size:23px;margin:0}.close{font-size:28px;color:#fff;background:none;border:0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 13px}.wide{grid-column:span 2}.modal-actions{display:flex;justify-content:space-between;gap:10px}.danger{color:#ffd2e0;background:#793456}.notice{margin:0 0 22px;padding:12px;border:1px solid #b2a031;background:#382e19;border-radius:8px;font-size:13px}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:13px}.stat{background:#281b38;padding:20px;border-radius:11px;border:1px solid #49315c}.stat strong{font-size:22px;display:block;margin-top:10px}@media(max-width:850px){.sidebar{width:70px;padding:20px 8px}.sidebar .brand div,.nav span,.nav-label,.badge{display:none}.sidebar .brand{margin-bottom:50px}.sidebar .symbol{font-size:17px;padding:8px}.nav{justify-content:center}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}main{padding:20px 12px}}@media(max-width:470px){.grid{grid-template-columns:1fr}.wide{grid-column:span 1}.user-actions{width:100%;justify-content:space-between}.metric strong{font-size:20px}.metrics{gap:7px}.metric{padding:12px}.auth-card{padding:24px}.column{min-width:240px;width:240px}}

.sidebar nav{max-height:calc(100dvh - 245px);overflow-y:auto}.sidebar nav::-webkit-scrollbar{width:4px}.sidebar nav::-webkit-scrollbar-thumb{background:#73518e}.muted{color:#a997bd;font-size:13px}.record{display:flex;align-items:center;justify-content:space-between;gap:20px;background:#291b3c;border:1px solid #4c3164;border-radius:12px;padding:19px;margin:11px 0}.record strong{overflow-wrap:anywhere}.record p,.record small{color:#b9a7c9;font-size:12px}.record-right{display:flex;align-items:center;gap:16px;color:#f5dc38;font-weight:700}.subtle{background:#493060;color:#fff}.empty-state{padding:35px;background:#291b3c;border:1px dashed #674b82;border-radius:15px;color:#cdbcdc;margin-top:20px}.record-right .btn{white-space:nowrap}@media(max-width:650px){.record{flex-direction:column;align-items:stretch}.record-right{justify-content:space-between}.sidebar{width:61px}main{padding:15px 9px}}

.column.drop-target{border:2px dashed #f3d735;background:#342247}.lead.dragging{opacity:.4}.lead[draggable="true"]{cursor:grab}.lead[draggable="true"]:active{cursor:grabbing}

/* Versão 4 — interface visual inspirada na tela de referência do CRM original */
body.light{color-scheme:light;background:#fcf9ff;color:#23182e}
body.light .app{background:#fbf9ff}
body.light main{background:linear-gradient(130deg,#fff 0%,#faf6ff 62%,#f7f0fe 100%)}
body.light .sidebar{background:linear-gradient(#211326,#140d18);color:#fff}
body.light header p,body.light .muted{color:#67546e}
body.light .metric{background:#fff;color:#27192f;border:1px solid #e1d6eb;box-shadow:0 7px 22px #3d1e5b0c}
body.light .metric small{color:#715f7a}
body.light .metric strong{color:#21122b}
body.light .column{background:#f4eef9;color:#23152e;border-color:#ded0e8;min-height:430px}
body.light .column .total{color:#6d5b78}
body.light .lead{background:#fff;color:#2a1935;border-color:#e0d5e9;box-shadow:0 3px 10px #4e2a6d10}
body.light .lead .desc,body.light .lead .owner{color:#645772}
body.light .lead .money{color:#6d25cb}
body.light .empty{color:#8f7f9c}
body.light .stat,body.light .record,body.light .empty-state{background:#fff;color:#261432;border-color:#e4d9ed}
body.light .record p,body.light .record small{color:#675574}
body.light .stat strong{color:#261432}
body.light .stats .stat small{color:#7c688a}
body.light .filters input,body.light .filters select{background:#fff;color:#2b2032;border-color:#d5c9df}
body.light .notice{background:#fffbe8;color:#523a00}
body.light .primary{background:#8733e6;color:#fff}
body.light .subtle{background:#efe6f8;color:#4a2e63}
body.light #extended-title,body.light #page-title{color:#23152e}
body.light .toolbar h3{color:#28172d}
body.light #extended-content{color:#291932}
body.light .overlay{color-scheme:dark}
body.light #theme-toggle{color:#fff}
body.light #filter-owner{color:#291d32}
.column{position:relative}.column h4:before{content:'';width:9px;height:9px;border-radius:50%;background:#9554ec;display:inline-block;flex-shrink:0;margin-top:3px}
.column[data-stage="Pediu para ligar outro dia"] h4:before{background:#bb6cff}.column[data-stage="Não atendeu"] h4:before{background:#7186a3}.column[data-stage="Lead sem interesse"] h4:before{background:#ef5959}.column[data-stage="Interessado, mas não quer agora"] h4:before{background:#5968ec}.column[data-stage="Interessado"] h4:before{background:#28aadd}.column[data-stage="Fechado"] h4:before{background:#2baa76}
.chance{margin-top:6px;font-size:11px;color:#ae8fc8}.light .chance{color:#8e63aa}
#page-title{text-transform:uppercase;font-size:clamp(25px,3vw,38px);font-weight:900;letter-spacing:-.03em}
#board{scrollbar-width:thin;scrollbar-color:#8559b4 transparent}
#theme-toggle{font-size:12px}

/* V5: destaque sutil das extremidades do funil durante o arraste. */
#board{overscroll-behavior-x:contain;scroll-behavior:auto;}


/* V6: coluna Fechado + comemoração visual */
.column[data-stage="Fechado"] h4:before{background:#2baa76}
.celebration{position:fixed;inset:0;pointer-events:none;overflow:hidden;z-index:80;opacity:0;transition:opacity .22s ease}
.celebration.show{opacity:1}
.celebration-message{position:absolute;left:50%;top:14px;transform:translateX(-50%);background:linear-gradient(135deg,#2b1742,#1d122f);color:#fff;padding:14px 22px;border-radius:16px;border:1px solid #6b4c93;box-shadow:0 18px 50px rgba(0,0,0,.35);text-align:center;min-width:min(92vw,360px)}
.celebration-message strong{display:block;font-size:24px;letter-spacing:.04em;color:#f3d735}
.celebration-message span{display:block;margin-top:4px;font-size:15px;font-weight:700}
.celebration-message small{display:block;margin-top:4px;color:#d3c5e5}
.confetti{position:absolute;width:10px;height:18px;border-radius:3px;opacity:.95;animation:confettiFall linear forwards}
@keyframes confettiFall{0%{transform:translate3d(0,0,0) rotate(0deg)}100%{transform:translate3d(var(--dx),110vh,0) rotate(var(--rot))}}
body.light .celebration-message{background:linear-gradient(135deg,#ffffff,#f7f1ff);color:#241233;border-color:#dcccf0}
body.light .celebration-message small{color:#644f74}

/* V7 — visualização de histórico, relatórios, lembretes e administração */
.timeline-item{padding:10px 14px;margin:7px 0;border-left:3px solid #f3d735;background:#342442;border-radius:4px;color:#eee}.timeline-item small{display:block;color:#bdadc9;margin-top:3px}.timeline-item p{font-size:12px;margin:5px 0}.light .timeline-item{background:#f5edf9;color:#261632}.light .timeline-item small{color:#706079}#lead-history{max-height:210px;overflow:auto;margin:12px 0}.wide{grid-column:1/-1}.report-values{text-align:right;display:flex;flex-direction:column;gap:6px}.report-values small{color:#a997bd}.light .report-values small{color:#796585}#reminder-banner{border-color:#f3d735}#insights .stats{margin-top:18px}

/* V10 — visual premium da base comercial: superfícies profundas, cor por perfil e legibilidade */
:root{--seller-highlight:#9e6bf9;--n3-gold:#f3d735;--n3-purple:#9550ec}
.sidebar{background:linear-gradient(180deg,#1e112e 0%,#130b20 100%);border-right-color:#3b2754;box-shadow:7px 0 35px #0a061226}
.sidebar .brand{padding:6px 8px 19px;margin-bottom:24px;border-bottom:1px solid #ffffff17}
.sidebar .nav{transition:background .16s,transform .16s,border-color .16s;border:1px solid transparent}
.sidebar .nav:hover{transform:translateX(2px);background:#39224e}
.sidebar .nav.active{background:linear-gradient(115deg,#4e276b,#3f2361);border-left:3px solid var(--seller-highlight);box-shadow:0 4px 15px #1608225c}
main{background:radial-gradient(ellipse at top right,#3c215725,transparent 48%),#150e21}
header{border-bottom:1px solid #ffffff17;padding-bottom:24px}
#user-name{border:1px solid var(--seller-highlight);border-radius:30px;padding:9px 12px;background:#ffffff0a}
.metrics .metric{border-radius:18px;background:linear-gradient(145deg,#2d1c44,#231732);box-shadow:0 8px 26px #09041420;transition:transform .18s}
.metrics .metric:hover{transform:translateY(-2px)}
.metric strong{font-variant-numeric:tabular-nums}
.column{border-radius:17px;background:linear-gradient(165deg,#291936,#1f142c)}
.lead{border-radius:14px;box-shadow:0 6px 20px #0e081722}
.lead:hover{transform:translateY(-2px);box-shadow:0 10px 24px #11081d5c;transition:transform .12s}
body.light main{background:radial-gradient(ellipse at top right,#e6d2ff83,transparent 48%),#fbf9ff}
body.light .metrics .metric{background:#fff;box-shadow:0 8px 25px #3d1e5b0d}
body.light .column{background:linear-gradient(150deg,#f9f5fe,#f0e9f8)}
body.light header{border-bottom:1px solid #e5dceb}
body.light #user-name{background:#fff}
.assistant-hero{padding:28px;border-radius:21px;background:radial-gradient(circle at right top,#7153aa73,transparent 44%),linear-gradient(125deg,#25123d,#44265d);border:1px solid #765293;box-shadow:0 14px 38px #10092055}
.assistant-hero h3{font-size:clamp(25px,3.7vw,39px);margin:11px 0;letter-spacing:-.045em}
.assistant-hero p{line-height:1.55;max-width:680px;color:#dfd2eb}
.assistant-badge{display:inline-block;padding:9px 12px;border-radius:50px;background:#f3d73520;color:#f3d735;border:1px solid #f3d73577;font-size:12px;font-weight:750}
.assistant-shell{margin-top:15px;padding:22px;border-radius:20px;border:1px solid #624477;background:#271934}
.assistant-prompts{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px}
.assistant-prompts .btn{font-size:12px;padding:10px 13px}
#assistant-replies{display:flex;flex-direction:column;gap:12px;max-height:410px;overflow:auto;padding:10px 0}
.assistant-query{align-self:flex-end;background:#60418c;color:#fff;border-radius:14px 14px 2px 14px;padding:13px;max-width:88%}
.assistant-response{align-self:flex-start;border-radius:14px 14px 14px 2px;padding:16px;background:#38264c;border:1px solid #61457c;max-width:94%;line-height:1.55}
.assistant-response strong{color:#f3d735}.assistant-response ul{padding-left:20px;margin-bottom:0}
.assistant-response li{padding:4px 0}.assistant-form{display:flex;gap:8px;margin:18px 0 12px}
.assistant-form input{margin:0;min-width:0}.assistant-form button{white-space:nowrap}
body.light .assistant-shell{background:#fff;border-color:#e5d6f2}
body.light .assistant-response{background:#f5eefb;color:#301b3e;border-color:#e3d1f3}
body.light .assistant-response strong{color:#7336bc}
body.light .assistant-query{background:#7038bb}
body.light .assistant-form input{background:#fff;color:#24172d;border-color:#d9cbe4}
@media(max-width:650px){.assistant-shell,.assistant-hero{padding:16px}.assistant-form{flex-direction:column}.assistant-form button{width:100%}.user-actions{gap:7px}}
@media(prefers-reduced-motion:reduce){.celebration .confetti{animation:none}.lead,.metric,.sidebar .nav{transition:none}}

/* V11 · plataforma comercial */
.v11-hero{padding:26px 30px;border:1px solid #9b77c25c;border-radius:22px;background:radial-gradient(circle at 100% 0%,#8e45d94d,transparent 50%),linear-gradient(115deg,#28143f,#422050);box-shadow:0 15px 45px #09021235;margin-bottom:17px}.v11-hero h3{font-size:clamp(25px,3.8vw,38px);letter-spacing:-.035em;margin:10px 0}.v11-hero p{color:#d9c9e9}.v11-actions{display:flex;flex-wrap:wrap;gap:9px}.v11-block{border:1px solid #64477b;background:#261932;border-radius:17px;padding:19px;margin:14px 0}.v11-block h3{margin:0 0 14px}.v11-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.v11-grid .v11-block{min-width:0;margin:0}.v11-pill{border:1px solid #c8a44c;background:#d8b84b24;color:#f6d75b;border-radius:30px;padding:7px 11px;font-size:12px;font-weight:700}.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;margin-top:15px}.calendar-grid>b{font-size:12px;text-align:center;color:#bea7d3;padding:11px 0}.calendar-day{min-height:104px;background:#2a1a3a;color:#eee;border:1px solid #674883;border-radius:12px;text-align:left;padding:9px;display:flex;flex-direction:column;gap:5px;min-width:0;cursor:pointer}.calendar-day:hover{border-color:#f3d735}.calendar-day strong{font-size:17px}.calendar-day small{color:#f3d735}.calendar-day span{font-size:11px;background:#57336d;border-radius:5px;padding:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.calendar-today{outline:2px solid #f3d735}.light .v11-block,.light .calendar-day{background:#fff;color:#342144;border-color:#e4d4f1}.light .calendar-day span{background:#f0e4fa}.light .v11-pill{color:#765500}.light .v11-hero{color:white}@media(max-width:900px){.v11-grid{grid-template-columns:1fr}.calendar-day{min-height:70px;padding:5px}.calendar-day span{display:none}}@media(max-width:580px){.v11-hero{padding:19px}.calendar-grid{gap:2px}.calendar-day{min-height:55px;border-radius:5px}.calendar-day small{font-size:9px}}@media print{.sidebar,header .user-actions,.toolbar .btn,.v11-block button,.v11-actions{display:none!important}main{background:white!important;color:#161616!important}.v11-block,.record,.stat{break-inside:avoid;color:#161616!important;background:#fff!important;border-color:#aaa!important}.v11-pill{color:#161616!important}}

/* V12: fechamento confirmado e cadastro automático de cliente */
.client-auto-badge{display:inline-flex;align-items:center;margin-top:9px;font-size:11px;font-weight:700;line-height:1.4;color:#275f42;background:#e6f8ed;border:1px solid #a8e7bc;border-radius:100px;padding:4px 9px;max-width:100%}

/* V14 — navegação lateral fixa na viewport, rolagem independente do conteúdo. */
.app{align-items:flex-start}
.sidebar{
  position:sticky;
  top:0;
  height:100vh;
  height:100dvh;
  max-height:100dvh;
  align-self:flex-start;
  overflow:hidden;
  z-index:12;
}
.sidebar nav{
  display:grid;
  align-content:start;
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  overflow-x:hidden;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#73518e transparent;
}
.sidebar .brand,.sidebar .nav-label,.sidebar .side-bottom{flex-shrink:0}
.sidebar .side-bottom{padding-top:10px;background:linear-gradient(180deg,transparent,#160d24 14%)}
main{min-height:100dvh;min-width:0}
/* Teclado: destaque permanece visível ao navegar pelo menu. */
.sidebar .nav:focus-visible{outline:2px solid #f3d735;outline-offset:-2px}
@media(max-width:850px){.sidebar{height:100dvh;max-height:100dvh}}
@media(max-width:650px){.sidebar nav{gap:5px}.sidebar .nav{min-height:42px;padding:10px 8px}.sidebar .brand{margin-bottom:18px;padding:4px 0 12px}.sidebar .side-bottom{padding-top:6px}}

/* V15 Preferências de notificações */
.notice-switch{display:flex;align-items:center;gap:10px;white-space:nowrap;font-size:13px;font-weight:700;cursor:pointer}.notice-switch input{width:21px;height:21px;accent-color:#8454e8}.notice-switch span{min-width:78px}.record{gap:14px}

/* V17 — acessibilidade, visual, prioridades e avisos */
.n3-bell{position:relative;white-space:nowrap;min-width:55px}.n3-count{position:absolute;top:-9px;right:-7px;background:#f3d735;color:#21142e;font-size:11px;font-weight:900;padding:2px 6px;border-radius:20px;border:2px solid #22152f}.n3-unread{border-left:4px solid #f3d735!important;background:linear-gradient(115deg,#42245a,#2e1c3c)!important}.n3-stale{display:inline-block;font-size:11px;background:#f3d7351c;color:#f3d735;border:1px solid #f3d73577;border-radius:12px;padding:5px 7px;margin:7px 0}.light .n3-stale{color:#754900;background:#ffefbc}.light .n3-unread{background:#f6efff!important}.n3-lead-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:4px 0 18px}.n3-lead-tabs button{border:1px solid #775593;background:#291a3a;color:#e6d9f5;cursor:pointer;border-radius:10px;padding:9px 12px;font-weight:700}.n3-lead-tabs button.active{border-color:#f3d735;color:#f3d735;background:#4c2864}.light .n3-lead-tabs button{background:#f4edfa;color:#54316e}.light .n3-lead-tabs button.active{background:#eee0ff;color:#542184}.n3-edit-grid>label.hidden{display:none!important}@media(max-width:650px){.n3-lead-tabs button{flex:1 1 42%}.n3-bell{padding:7px!important;min-width:44px}}

.n3-calendar-compact{grid-template-columns:repeat(7,minmax(0,1fr))}.n3-calendar-compact .calendar-day{min-height:110px}.n3-calendar-compact .calendar-day span{display:block}@media(max-width:700px){.n3-calendar-compact{grid-template-columns:1fr}.n3-calendar-compact .calendar-day{min-height:70px}}

/* V18: aplicação consistente do símbolo N3 em login e navegação. */
.n3-brandmark{display:block;width:46px;height:46px;flex-shrink:0;border-radius:11px;box-shadow:0 0 0 1px #f3d73538,0 5px 18px #12062188}
.auth-card .n3-brandmark{width:58px;height:58px;border-radius:15px}
.n3-device-fields{min-width:0;flex:1}.n3-device-fields label{margin:12px 0}.n3-device-fields input{max-width:420px}
@media(max-width:850px){.sidebar .n3-brandmark{width:40px;height:40px}}

/* V20.2 — textos amarelos somente na página Configurações (temas escuro e claro). */
.n3-settings-yellow,
.n3-settings-yellow :is(h1,h2,h3,h4,h5,h6,p,small,strong,span,div,label,legend,button,a,option,select,input,textarea,li),
.n3-settings-yellow .muted,
.n3-settings-yellow .empty-state,
.n3-settings-yellow .v11-block,
.n3-settings-yellow input::placeholder,
body:has(.sidebar [data-page="settings"].active) #extended-title,
body.light:has(.sidebar [data-page="settings"].active) #extended-title {
 color:#f3d735!important;
}
.n3-settings-yellow :is(input,select,textarea,button) {
 background-color:#2e1b43;
 border-color:#745b24;
}
.n3-settings-yellow .empty-state,
.n3-settings-yellow .v11-block {
 background:#21152e;
 border-color:#6e5722;
}
.n3-settings-yellow :is(input,select,textarea):focus-visible,
.n3-settings-yellow button:focus-visible {
 outline:2px solid #f3d735;
 outline-offset:2px;
}


/* V20.7 — textos amarelos em toda a navegação lateral. */
.sidebar .brand strong,
.sidebar .brand small,
.sidebar .nav-label,
.sidebar .nav,
.sidebar .nav span,
.sidebar .side-bottom .badge,
.sidebar #theme-toggle,
.sidebar #logout {
 color:#f3d735 !important;
}
.sidebar .nav{border-color:#5e4a19;background:transparent}
.sidebar .nav:hover,
.sidebar .nav.active{color:#fff5a3 !important;background:#3a254d}
.sidebar .nav.active{border-left-color:#f3d735;box-shadow:0 4px 16px rgba(243,215,53,.15)}
.sidebar .brand small{opacity:.95}

/* V20.8: marca oficial N3 no login e menu lateral, sem alterar textos amarelos V20.7. */
.n3-brandmark{object-fit:contain;background:#1d1233;padding:4px;border:1px solid #f3d73546}

/* V20.11 · Carteira de Clientes / Lixeira */
.n3-wallet-head{padding:20px;border:1px solid #6c4a80;border-radius:14px;background:linear-gradient(110deg,#281a42,#1b1427);margin:12px 0 18px}.n3-wallet-head p{margin-top:0;line-height:1.55;color:#d9cee9}.n3-wallet-filters,.n3-wallet-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}.n3-wallet-filters .btn{font-size:12px}.n3-wallet-actions strong{color:#f3d735}.n3-customer-card small{display:block;margin-top:8px}.n3-wallet-actions .btn{padding:9px 12px;font-size:12px}body.light .n3-wallet-head{background:#f9f4fc;color:#281833}body.light .n3-wallet-head p{color:#4b3e56}@media(max-width:650px){.n3-wallet-actions{justify-content:flex-start}.n3-wallet-filters .btn{flex-grow:1}}

.n3-legacy-clients{margin-top:24px;padding:15px;border:1px solid #51386c;border-radius:12px}.n3-legacy-clients summary{cursor:pointer;color:#e9d54e;font-weight:800;padding:7px 0}

/* V20.12: seleção controlada de leads incorretos no funil. */
.n3-lead-select{display:flex;align-items:center;justify-content:space-between;gap:8px;font-weight:700;font-size:12px;color:#ffe476;border:1px solid #9770b4;border-radius:10px;padding:6px 9px;margin-bottom:9px;cursor:pointer}.n3-lead-select input{width:18px;height:18px;accent-color:#f3d735}.toolbar .filters #n3-send-selected{background:#873b62;color:white}.toolbar .filters #n3-select-leads{white-space:nowrap}

/* Auto Save comercial */
.n3-autosave-status{background:rgba(72,32,103,.23);border:1px solid #8259a3;border-radius:12px;padding:10px 14px;font-size:12px;color:#e9d4ff;line-height:1.4;margin:12px 0}

/* V20.19 — barra horizontal do funil no topo em desktop */
.board-top-scroll{display:none;overflow-x:auto;overflow-y:hidden;height:18px;margin:8px 1px 2px;scrollbar-width:thin;scrollbar-color:#8559b4 transparent;overscroll-behavior-x:contain}
.board-top-scroll>div{height:1px;min-width:1px}
.board-top-scroll::-webkit-scrollbar{height:10px}
.board-top-scroll::-webkit-scrollbar-thumb{background:#8559b4;border-radius:999px}
.board-top-scroll::-webkit-scrollbar-track{background:#21162f;border-radius:999px}
@media(min-width:851px){
  .board-top-scroll{display:block}
  #board{scrollbar-width:none}
  #board::-webkit-scrollbar{height:0}
}

/* V20.21 — preferência nos Novos Leads */
.n3-preferred-field{display:flex;flex-direction:column;justify-content:flex-end}.n3-preferred-control{display:flex;align-items:center;gap:9px;margin-top:7px;min-height:43px;padding:9px 11px;border:1px solid #6b5680;border-radius:10px;background:#1b122b;color:#f3d735}.n3-preferred-control input{width:18px;height:18px;margin:0;accent-color:#f3d735;flex:0 0 auto}.n3-preferred-control b{font-size:12px}.n3-preferred-badge{display:inline-flex;align-items:center;width:max-content;margin-top:8px;padding:4px 7px;border:1px solid #f3d73588;border-radius:999px;background:#f3d73518;color:#f3d735;font-size:10px;font-weight:900;letter-spacing:.03em}.light .n3-preferred-control{background:#faf7ff;color:#654d00}.light .n3-preferred-badge{background:#fff1a8;color:#624d00;border-color:#d6ba24}

/* Antena CRM V1 — identidade editorial do Jornal Antena */
:root{
  --seller-highlight:#cf202c;
  --antena-red:#cf202c;
  --antena-black:#151515;
  --antena-ink:#22201d;
  --antena-paper:#f4f1ea;
  --antena-card:#fffdf8;
  --antena-line:#d9d2c5;
}
.antena-brand{letter-spacing:.04em;align-items:center}
.antena-brandmark{width:116px;max-height:48px;object-fit:contain;object-position:left center;display:block}
.antena-brand strong{font-family:Georgia,'Times New Roman',serif;font-size:20px;letter-spacing:.04em;color:inherit}
.antena-brand small{letter-spacing:.2em;color:#8f8981}
body.light{background:var(--antena-paper);color:var(--antena-ink)}
body.light .app{background:var(--antena-paper)}
body.light main{background:linear-gradient(145deg,#fffdf8 0%,#f6f2ea 72%,#ece5d9 100%)}
body.light .sidebar{background:linear-gradient(180deg,#171717 0%,#090909 100%);border-right-color:#2e2e2e}
body.light .sidebar .nav{color:#d7d2ca}
body.light .sidebar .nav.active,body.light .sidebar .nav:hover{background:#2a2a2a;color:#fff;border-left-color:var(--antena-red)}
body.light .nav-label{color:#8c8882}
body.light .badge{color:#fff;border-color:#5b2328;background:#261416}
body.light .eyebrow{color:var(--antena-red)}
body.light #page-title,body.light #extended-title,body.light h1,body.light h2,body.light h3{color:#171717}
body.light .metric,body.light .stat,body.light .record,body.light .empty-state,body.light .lead{background:var(--antena-card);border-color:var(--antena-line);box-shadow:0 7px 24px rgba(36,31,23,.06)}
body.light .column{background:#ede8df;border-color:#d7cfc1;color:#1e1d1b}
body.light .lead:hover{border-color:var(--antena-red);box-shadow:0 10px 25px rgba(84,25,29,.10)}
body.light .lead .money,body.light .record-right{color:var(--antena-red)}
body.light .primary{background:var(--antena-red);color:#fff}
body.light .subtle{background:#e9e4dc;color:#262321}
body.light .danger{background:#77222a;color:#fff}
body.light .filters input,body.light .filters select{background:#fffdf8;color:#1f1d1a;border-color:#cbc3b6}
body.light .notice{background:#fff4e3;border-color:#d8a15a;color:#4f3215}
body.light .modal{background:#1d1d1d;border-color:#4e4e4e}
body.light .overlay{background:#0a0a0ae8}
body.light #n3-contract-dialog{background:#171717!important;border-color:#494949!important}
body.light .column h4:before{background:var(--antena-red)}
body.light .column[data-stage="Fechado"] h4:before{background:#2f855a}
body.light #board{scrollbar-color:#a7a097 transparent}
.auth-wrap{background:radial-gradient(ellipse at 80% 8%,rgba(207,32,44,.18),transparent 42%),linear-gradient(145deg,#161616,#050505)}
.auth-card{background:linear-gradient(145deg,#1c1c1c,#101010);border-color:#3b3b3b}
.auth-card h1{color:#fff}.auth-card h1 em{color:#ef3e48}.auth-card>p{color:#c5c0ba}.auth-card label{color:#e8e4de}
.auth-card input{background:#111;border-color:#444}.auth-card input:focus{border-color:#cf202c;box-shadow:0 0 0 3px rgba(207,32,44,.18)}
.text-button,.message{color:#ef4650}.foot{color:#9d9790}
@media(max-width:850px){.antena-brandmark{width:44px;height:44px;object-fit:contain}.sidebar .antena-brand div{display:none}}


/* Antena CRM V1.1 — Dashboard Executivo */
.executive-hero{display:flex;justify-content:space-between;gap:24px;align-items:stretch;margin-bottom:16px;padding:28px;border:1px solid var(--antena-line,#d7d0c5);border-radius:22px;background:linear-gradient(120deg,rgba(207,32,44,.10),transparent 55%),var(--antena-card,#fff);box-shadow:0 12px 38px rgba(32,24,19,.06)}
.executive-hero h3{font-family:Georgia,'Times New Roman',serif;font-size:clamp(29px,4vw,46px);line-height:1.02;margin:10px 0 9px;max-width:760px;letter-spacing:-.035em}.executive-hero p{margin:0;color:var(--antena-muted,#6f685f);max-width:720px}.executive-potential{min-width:260px;padding:20px 22px;border-radius:17px;background:#111;color:#fff;display:flex;flex-direction:column;justify-content:center}.executive-potential small{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#c9c1b7}.executive-potential strong{font-size:31px;margin:8px 0}.executive-potential span{font-size:12px;color:#ded7cf}.executive-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px}.executive-kpis .stat{min-height:120px;background:var(--antena-card,#fff);border-color:var(--antena-line,#ddd);box-shadow:0 7px 25px rgba(32,24,19,.05)}.executive-kpis .stat strong{font-size:26px}.executive-kpis .stat p{margin:8px 0 0;font-size:11px;color:var(--antena-muted,#6f685f)}.executive-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:13px}.executive-panel{background:var(--antena-card,#fff);border:1px solid var(--antena-line,#ddd);border-radius:18px;padding:20px;min-width:0;box-shadow:0 7px 26px rgba(32,24,19,.045)}.executive-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:15px}.executive-heading h3{margin:4px 0 0;font-family:Georgia,'Times New Roman',serif;font-size:22px}.executive-funnel{display:grid;gap:13px}.executive-funnel-row>div:first-child{display:flex;justify-content:space-between;gap:10px;align-items:end}.executive-funnel-row strong{font-size:13px}.executive-funnel-row small{font-size:11px;color:var(--antena-muted,#756d65)}.executive-funnel-track{height:8px;border-radius:99px;background:rgba(120,110,100,.12);overflow:hidden;margin-top:7px}.executive-funnel-track i{display:block;height:100%;min-width:5px;border-radius:99px;background:linear-gradient(90deg,#cf202c,#111)}.executive-alerts{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-bottom:13px}.executive-alerts>div{border:1px solid var(--antena-line,#ddd);border-radius:12px;padding:13px;background:rgba(207,32,44,.035)}.executive-alerts strong{display:block;font-size:23px}.executive-alerts span{font-size:11px;color:var(--antena-muted,#756d65)}.executive-priority{display:grid;gap:7px}.executive-priority-item{width:100%;border:1px solid var(--antena-line,#ddd);border-radius:11px;padding:11px 12px;background:transparent;color:inherit;display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left}.executive-priority-item:hover{border-color:#cf202c}.executive-priority-item span{min-width:0}.executive-priority-item strong,.executive-priority-item small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.executive-priority-item small{margin-top:3px;font-size:10px;color:var(--antena-muted,#756d65)}.executive-priority-item b{font-size:12px;white-space:nowrap;color:#cf202c}.executive-sources,.executive-team{display:grid;gap:0}.executive-sources>div,.executive-team>div{display:flex;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid var(--antena-line,#eee)}.executive-sources>div:last-child,.executive-team>div:last-child{border-bottom:0}.executive-sources span strong,.executive-sources span small,.executive-team span strong,.executive-team span small{display:block}.executive-sources small,.executive-team small{font-size:10px;color:var(--antena-muted,#756d65);margin-top:3px}.executive-sources b,.executive-team b{font-size:12px;color:#cf202c;white-space:nowrap}.empty-state.compact{padding:17px;margin:0}.light .executive-potential{background:#111;color:white}.light .executive-panel,.light .executive-hero,.light .executive-kpis .stat{background:#fff}.light .executive-funnel-track{background:#eee8e1}@media(max-width:1050px){.executive-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.executive-grid{grid-template-columns:1fr}}@media(max-width:700px){.executive-hero{flex-direction:column;padding:20px}.executive-potential{min-width:0}.executive-kpis{grid-template-columns:1fr 1fr}.executive-alerts{grid-template-columns:1fr 1fr}}@media(max-width:470px){.executive-kpis{grid-template-columns:1fr}.executive-alerts{grid-template-columns:1fr}.executive-hero h3{font-size:30px}.executive-panel{padding:15px}}


/* Antena CRM V1.2 — logo oficial + visual clean/profissional */
:root{--antena-muted:#746f68;--antena-paper:#f7f4ee;--antena-card:#fffdf9;--antena-line:#ddd5ca;--antena-soft:#f1ebe1;--antena-shadow:0 14px 40px rgba(26,20,14,.07)}
body.light{background:var(--antena-paper);color:#1e1b18}
body.light .auth-wrap{background:radial-gradient(circle at top right,rgba(207,32,44,.12),transparent 28%),linear-gradient(145deg,#121212 0%,#080808 100%)}
body.light .auth-card{width:min(100%,520px);padding:40px 38px;border-radius:28px;border:1px solid #353535;box-shadow:0 28px 90px rgba(0,0,0,.38)}
body.light .auth-card>.eyebrow{margin-top:30px;letter-spacing:.24em;color:#d44a54}
body.light .auth-card>p{color:#bbb4ac}
body.light .auth-card label{color:#efebe6}
body.light .auth-card input{background:#111;border-color:#3d3d3d;color:#fff}
body.light .auth-card .brand{gap:14px;align-items:center}
body.light .auth-card .antena-brandmark{width:210px;max-height:76px;object-fit:contain;object-position:left center;filter:drop-shadow(0 6px 18px rgba(207,32,44,.08))}
body.light .auth-card .antena-brand strong{font-size:15px;letter-spacing:.18em;color:#f6f2ec}
body.light .auth-card .antena-brand small{font-size:10px;letter-spacing:.24em;color:#aba49b}
body.light h1{letter-spacing:-.04em;margin-top:18px}
body.light h1 em{color:#ef4450}
body.light .text-button{font-weight:700}
body.light .sidebar{width:268px;padding:22px 16px 18px;background:linear-gradient(180deg,#141414 0%,#0b0b0b 100%);border-right:1px solid #272727}
body.light .sidebar .brand{gap:14px;align-items:flex-start;padding:8px 10px 18px;margin-bottom:20px;border-bottom:1px solid rgba(255,255,255,.08)}
body.light .sidebar .antena-brandmark{width:176px;max-height:62px}
body.light .sidebar .antena-brand strong{font-size:14px;letter-spacing:.18em;color:#fff}
body.light .sidebar .antena-brand small{font-size:10px;letter-spacing:.22em;color:#9f9891}
body.light .nav-label{margin:0 12px 14px;color:#8c857d}
body.light .sidebar nav{gap:7px}
body.light .sidebar .nav{padding:12px 13px;border:1px solid transparent;border-radius:12px;transition:.18s ease;background:transparent}
body.light .sidebar .nav.active,body.light .sidebar .nav:hover{background:#1b1b1b;border-color:#303030;color:#fff;box-shadow:inset 3px 0 0 var(--antena-red)}
body.light .side-bottom{padding-top:10px;border-top:1px solid rgba(255,255,255,.06);margin-top:18px}
body.light .badge{background:#221315;color:#f2d4d6;border-color:#5a2c31}
body.light main{padding:24px;background:linear-gradient(180deg,#faf7f2 0%,#f4efe7 100%)}
body.light header{background:rgba(255,253,249,.88);backdrop-filter:saturate(1.15) blur(8px);padding:22px 24px;border:1px solid var(--antena-line);border-radius:22px;box-shadow:var(--antena-shadow);margin-bottom:22px}
body.light header p{color:var(--antena-muted)}
body.light .user-actions span{color:#5e5953;font-weight:600}
body.light .metric,body.light .stat,body.light .record,body.light .empty-state,body.light .lead,body.light .executive-panel,body.light .executive-hero,body.light .executive-kpis .stat{background:var(--antena-card);border-color:var(--antena-line);box-shadow:var(--antena-shadow)}
body.light .metric,body.light .stat{border-radius:18px}
body.light .metrics{gap:14px;margin-bottom:22px}
body.light .metric small,body.light .stats .stat small,body.light .record small,body.light .record p,body.light .lead .desc,body.light .lead .owner,body.light .column .total,.executive-funnel-row small,.executive-alerts span,.executive-priority-item small,.executive-sources small,.executive-team small{color:var(--antena-muted)}
body.light .toolbar h3,body.light #extended-title,body.light #page-title{letter-spacing:-.02em}
body.light .column{background:#efe8dc;border:1px solid #d7cebf;border-radius:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
body.light .lead{border-radius:14px;padding:14px 14px 12px}
body.light .lead .money,body.light .record-right,body.light .executive-priority-item b,body.light .executive-sources b,body.light .executive-team b{color:var(--antena-red)}
body.light .primary{background:linear-gradient(180deg,#d73f49,#bf202b);box-shadow:0 10px 24px rgba(175,33,43,.18)}
body.light .primary:hover{filter:brightness(1.03)}
body.light .subtle{background:#efe9e0;color:#26211d;border:1px solid #ddd4c8}
body.light .filters input,body.light .filters select,input,select,textarea{border-radius:12px}
body.light .filters input,body.light .filters select{background:#fffdfa;border-color:#d2c8bc}
body.light .notice{background:#fff6e9;border-color:#e0b475;color:#5d3c12}
body.light .executive-hero{padding:30px;border-radius:24px;background:linear-gradient(120deg,rgba(207,32,44,.08),transparent 52%),#fffdf9}
body.light .executive-potential{background:linear-gradient(160deg,#191919,#0e0e0e);border:1px solid #2b2b2b;box-shadow:0 18px 35px rgba(0,0,0,.16)}
body.light .executive-panel{border-radius:20px}
body.light .executive-priority-item{background:#fffdfa;border-radius:13px}
body.light .board-top-scroll::-webkit-scrollbar-track{background:#ece4d7}
body.light .board-top-scroll::-webkit-scrollbar-thumb{background:#b1a593}
@media(max-width:850px){body.light .sidebar{width:72px;padding:18px 8px}body.light .sidebar .brand{padding:4px 0 12px;align-items:center}body.light .sidebar .antena-brandmark{width:42px;height:42px}body.light .sidebar .antena-brand div{display:none}body.light header{padding:18px 16px}}


/* Antena CRM V1.2.2 — correção da marca no menu lateral */
body.light .sidebar .brand.antena-brand{display:flex;flex-direction:column;align-items:flex-start;gap:8px;overflow:hidden}
body.light .sidebar .antena-brandmark{width:100%;max-width:188px;height:auto;max-height:none}
body.light .sidebar .antena-brand>div{display:block;width:100%;min-width:0}
body.light .sidebar .antena-brand strong,
body.light .sidebar .antena-brand small{display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.12}
body.light .sidebar .antena-brand strong{font-size:13px;letter-spacing:.16em}
body.light .sidebar .antena-brand small{font-size:10px;letter-spacing:.18em;margin-top:3px}
@media(max-width:850px){body.light .sidebar .brand.antena-brand{align-items:center}body.light .sidebar .antena-brand>div{display:none}}


/* Antena CRM V1.3 — Tech Corporate */
:root{
  --tech-red:#d52b38;
  --tech-red-bright:#ef4551;
  --tech-cyan:#75d7f2;
  --tech-ink:#0a0e13;
  --tech-panel:#10161e;
  --tech-panel-2:#151d27;
  --tech-line:rgba(255,255,255,.09);
  --tech-soft-line:#dbe2e9;
  --tech-shadow:0 22px 60px rgba(15,22,30,.10);
}
/* Sidebar */
body.light .sidebar{
  position:relative;isolation:isolate;overflow:hidden;
  background:
    radial-gradient(circle at 10% 2%,rgba(213,43,56,.20),transparent 22%),
    radial-gradient(circle at 100% 55%,rgba(117,215,242,.08),transparent 32%),
    linear-gradient(180deg,#0d1117 0%,#080b0f 100%);
  border-right:1px solid rgba(117,215,242,.10);
  box-shadow:18px 0 55px rgba(5,8,12,.16)
}
body.light .sidebar:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.22;background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px);background-size:24px 24px;mask-image:linear-gradient(to bottom,#000,transparent 92%)}
body.light .sidebar:after{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent,var(--tech-red-bright),var(--tech-cyan),transparent);opacity:.75}
body.light .sidebar .brand.antena-brand{position:relative;padding:10px 12px 22px;margin-bottom:18px;border-bottom:1px solid var(--tech-line)}
body.light .sidebar .brand.antena-brand:after{content:"";position:absolute;left:12px;bottom:-1px;width:56px;height:1px;background:linear-gradient(90deg,var(--tech-red-bright),transparent)}
body.light .sidebar .antena-brandmark{filter:drop-shadow(0 8px 18px rgba(213,43,56,.13))}
body.light .sidebar .antena-brand strong{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:12px;font-weight:800;letter-spacing:.20em;color:#f3f6fa}
body.light .sidebar .antena-brand small{font-size:9px;letter-spacing:.26em;color:#8996a5}
body.light .nav-label{font-size:9px;letter-spacing:.24em;color:#748292;margin:2px 12px 12px}
body.light .sidebar nav{gap:6px;padding-right:2px}
body.light .sidebar .nav{position:relative;color:#bfc8d3!important;background:rgba(255,255,255,.018)!important;border:1px solid transparent!important;border-radius:12px;padding:12px 13px;min-height:46px;transition:transform .16s ease,border-color .16s ease,background .16s ease,color .16s ease,box-shadow .16s ease}
body.light .sidebar .nav:hover{transform:translateX(2px);background:rgba(255,255,255,.05)!important;border-color:rgba(117,215,242,.14)!important;color:#fff!important;box-shadow:0 10px 28px rgba(0,0,0,.16)}
body.light .sidebar .nav.active{background:linear-gradient(90deg,rgba(213,43,56,.16),rgba(255,255,255,.045))!important;border-color:rgba(239,69,81,.28)!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--tech-red-bright),0 10px 34px rgba(213,43,56,.10)!important}
body.light .sidebar .nav.active:after{content:"";position:absolute;right:11px;width:5px;height:5px;border-radius:50%;background:var(--tech-cyan);box-shadow:0 0 10px rgba(117,215,242,.7)}
body.light .sidebar nav::-webkit-scrollbar-thumb{background:linear-gradient(var(--tech-red-bright),#72313a);border-radius:999px}
body.light .side-bottom{border-top:1px solid var(--tech-line)}
body.light .badge{background:rgba(213,43,56,.08);border-color:rgba(239,69,81,.22);color:#ffb9bf;box-shadow:inset 0 0 20px rgba(213,43,56,.04)}

/* Main shell */
body.light .app{background:#edf1f5}
body.light main{position:relative;isolation:isolate;background:
  radial-gradient(circle at 93% 2%,rgba(117,215,242,.10),transparent 22%),
  radial-gradient(circle at 16% 0%,rgba(213,43,56,.055),transparent 25%),
  linear-gradient(180deg,#f5f7f9 0%,#edf1f4 100%)}
body.light main:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.45;background-image:linear-gradient(rgba(54,72,91,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(54,72,91,.04) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to bottom,#000 0%,transparent 75%)}
body.light header{position:relative;overflow:hidden;background:rgba(255,255,255,.78);border:1px solid rgba(100,117,132,.16);box-shadow:0 16px 45px rgba(18,27,37,.08);backdrop-filter:blur(16px) saturate(1.2);border-radius:20px}
body.light header:before{content:"";position:absolute;left:0;top:0;width:100%;height:2px;background:linear-gradient(90deg,var(--tech-red-bright),rgba(117,215,242,.65),transparent 75%)}
body.light header .eyebrow{display:inline-flex;align-items:center;gap:7px;color:#8a2630;background:rgba(213,43,56,.07);border:1px solid rgba(213,43,56,.12);padding:6px 9px;border-radius:999px;letter-spacing:.18em}
body.light header .eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--tech-red-bright);box-shadow:0 0 9px rgba(239,69,81,.45)}
body.light #page-title{font-size:clamp(28px,3vw,40px);letter-spacing:-.045em;text-transform:none}
.tech-status{display:inline-flex!important;align-items:center;gap:7px;padding:7px 9px;border:1px solid rgba(72,158,124,.18);border-radius:999px;background:rgba(72,158,124,.07);font-size:9px!important;font-weight:800!important;letter-spacing:.12em;color:#3d8068!important;white-space:nowrap}.tech-status i{display:block;width:7px;height:7px;border-radius:50%;background:#49a47f;box-shadow:0 0 10px rgba(73,164,127,.55)}
body.light .user-actions .btn{border-radius:12px}
body.light .n3-bell{background:#fff;border:1px solid #d9e0e6;color:#1c2733;box-shadow:0 8px 22px rgba(22,32,43,.06)}
body.light .primary{background:linear-gradient(135deg,#df3541,#b91f2b);border:1px solid rgba(255,255,255,.16);box-shadow:0 12px 28px rgba(196,31,44,.20)}

/* Executive dashboard */
body.light .executive-hero{position:relative;overflow:hidden;color:#fff;background:
 radial-gradient(circle at 82% 22%,rgba(117,215,242,.14),transparent 23%),
 radial-gradient(circle at 6% 80%,rgba(213,43,56,.21),transparent 28%),
 linear-gradient(135deg,#111821 0%,#0b1016 100%);border:1px solid rgba(117,215,242,.12);box-shadow:0 26px 70px rgba(10,16,24,.18)}
body.light .executive-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);background-size:28px 28px;mask-image:linear-gradient(90deg,#000,transparent 72%)}
body.light .executive-hero:after{content:"";position:absolute;width:240px;height:240px;border:1px solid rgba(117,215,242,.13);border-radius:50%;right:-80px;top:-95px;box-shadow:0 0 0 30px rgba(117,215,242,.025),0 0 0 65px rgba(213,43,56,.02)}
body.light .executive-hero>div{position:relative;z-index:1}
body.light .executive-hero h3{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#fff;font-weight:850;letter-spacing:-.05em}
body.light .executive-hero p{color:#aeb9c6}
body.light .executive-potential{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.10);backdrop-filter:blur(8px);box-shadow:inset 0 1px 0 rgba(255,255,255,.05)}
body.light .executive-potential small{color:#94a4b5}.executive-potential strong{font-variant-numeric:tabular-nums}
body.light .executive-potential strong{color:#fff}.light .executive-potential span{color:#aeb9c6}
body.light .executive-kpis .stat,body.light .metric,body.light .executive-panel{position:relative;overflow:hidden;background:rgba(255,255,255,.87);border:1px solid rgba(95,113,130,.15);box-shadow:0 16px 42px rgba(20,30,40,.075);backdrop-filter:blur(10px)}
body.light .executive-kpis .stat:before,body.light .metric:before{content:"";position:absolute;left:0;top:0;width:100%;height:2px;background:linear-gradient(90deg,var(--tech-red-bright),rgba(117,215,242,.72),transparent 80%)}
body.light .executive-kpis .stat:after,body.light .metric:after{content:"";position:absolute;right:-24px;top:-24px;width:72px;height:72px;border-radius:50%;border:1px solid rgba(117,215,242,.10)}
body.light .executive-kpis .stat strong,body.light .metric strong{font-variant-numeric:tabular-nums;letter-spacing:-.035em}
body.light .executive-panel h3{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-weight:800;letter-spacing:-.035em}
body.light .executive-funnel-track{height:7px;background:#e6ebef;border:1px solid #dde4ea}
body.light .executive-funnel-track i{background:linear-gradient(90deg,var(--tech-red-bright),#7e3240 58%,var(--tech-cyan));box-shadow:0 0 13px rgba(213,43,56,.12)}
body.light .executive-alerts>div{position:relative;background:#f9fbfc;border:1px solid #e1e7ec;border-radius:14px}
body.light .executive-alerts>div:before{content:"";position:absolute;left:0;top:13px;bottom:13px;width:2px;border-radius:2px;background:var(--tech-red-bright)}
body.light .executive-priority-item{background:#fbfcfd;border-color:#e0e6eb;transition:.16s ease}
body.light .executive-priority-item:hover{transform:translateY(-1px);border-color:rgba(213,43,56,.36);box-shadow:0 10px 24px rgba(20,30,40,.07)}

/* Pipeline / cards */
body.light .column{background:rgba(233,238,242,.82);border:1px solid #d8e0e6;border-radius:17px;box-shadow:inset 0 1px 0 #fff}
body.light .column h4{letter-spacing:.01em}
body.light .column h4:before{box-shadow:0 0 10px rgba(213,43,56,.23)}
body.light .lead{background:rgba(255,255,255,.94);border:1px solid #dde4e9;border-radius:13px;box-shadow:0 8px 24px rgba(20,29,38,.055);transition:.15s ease}
body.light .lead:hover{transform:translateY(-2px);border-color:rgba(213,43,56,.35);box-shadow:0 14px 34px rgba(20,29,38,.09)}
body.light .filters input,body.light .filters select{background:rgba(255,255,255,.90);border-color:#d7dfe6;box-shadow:inset 0 1px 0 #fff}
body.light .subtle{background:#f3f6f8;border:1px solid #dbe2e8;color:#263442}
body.light .record,body.light .empty-state{background:rgba(255,255,255,.88);border-color:#dfe5ea;box-shadow:0 12px 32px rgba(20,30,40,.06)}

/* Dark mode gets the same tech language */
body:not(.light) .app{background:#090d12}
body:not(.light) main{background:radial-gradient(circle at 95% 0%,rgba(117,215,242,.08),transparent 25%),linear-gradient(180deg,#0d1218,#090d12)}
body:not(.light) .sidebar{background:linear-gradient(180deg,#090d12,#07090c);border-right-color:rgba(117,215,242,.10)}
body:not(.light) header,body:not(.light) .metric,body:not(.light) .stat,body:not(.light) .record,body:not(.light) .empty-state,body:not(.light) .executive-panel{background:#111821;border-color:#202b36;box-shadow:0 18px 48px rgba(0,0,0,.22)}
body:not(.light) .executive-hero{background:radial-gradient(circle at 85% 18%,rgba(117,215,242,.12),transparent 24%),linear-gradient(135deg,#151d27,#0b1016);border-color:#21303d}
body:not(.light) .column{background:#10161e;border-color:#202b36}body:not(.light) .lead{background:#151d27;border-color:#263341}
body:not(.light) .sidebar .nav{color:#bec8d3}body:not(.light) .sidebar .nav.active{background:linear-gradient(90deg,rgba(213,43,56,.17),rgba(255,255,255,.03));box-shadow:inset 3px 0 0 var(--tech-red-bright)}

@media(max-width:850px){.tech-status{display:none!important}body.light .sidebar .nav.active:after{display:none}}


/* Rascunho V1.4 — agrupamento funcional do menu lateral */
.sidebar nav{display:block}
.nav-section{display:grid;gap:6px;padding:0 0 14px;margin-bottom:12px;border-bottom:1px solid rgba(255,255,255,.055)}
.nav-section:last-child{border-bottom:0;margin-bottom:0}
.nav-section-title{padding:4px 12px 7px;font-size:9px;font-weight:900;letter-spacing:.22em;color:#68717d;text-transform:uppercase}
body.light .sidebar .nav-section-title{color:#7b838d}
body.light .sidebar .nav-section:first-child .nav-section-title{color:#ef4a55}
.nav-section .nav{margin:0}
@media(max-width:850px){.nav-section-title{display:none}.nav-section{padding-bottom:8px;margin-bottom:8px}.nav-section .nav{justify-content:center}}


/* Rascunho V1.4 — rolagem independente entre menu lateral e conteúdo principal */
body.crm-app-open{height:100vh;height:100dvh;overflow:hidden}
body.crm-app-open .app{height:100vh;height:100dvh;min-height:0;overflow:hidden;align-items:stretch}
body.crm-app-open .sidebar{position:relative;top:auto;height:100%;max-height:100%;min-height:0;overflow:hidden;flex:0 0 auto}
body.crm-app-open .sidebar nav{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
body.crm-app-open main{height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable}
/* A rolagem horizontal do funil continua isolada dentro do próprio quadro. */
body.crm-app-open .board{overscroll-behavior-x:contain}
@media(max-width:850px){body.crm-app-open .sidebar{height:100%;max-height:100%}body.crm-app-open main{height:100%}}


/* Antena CRM V1.4 — shell cinematográfico bordô + menu flutuante */
:root{
  --antena-bordo:#4e0f19;
  --antena-bordo-deep:#23070d;
  --antena-bordo-soft:#741927;
  --antena-paper-tech:#f7f2ea;
}
.cinematic-bg{position:fixed;inset:0;z-index:0;overflow:hidden;background:linear-gradient(145deg,#120509,#3a0a13 55%,#17070b);pointer-events:none}
.cinematic-bg video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;filter:saturate(1.2) contrast(1.08) brightness(.9);transform:scale(1.035)}
.cinematic-overlay{position:absolute;inset:0;background:
  radial-gradient(circle at 18% 22%,rgba(135,28,44,.14),transparent 26%),
  radial-gradient(circle at 78% 8%,rgba(109,197,226,.045),transparent 20%),
  linear-gradient(90deg,rgba(8,3,5,.47) 0%,rgba(31,7,12,.26) 27%,rgba(38,8,14,.20) 64%,rgba(12,4,7,.46) 100%)}
body:not(.crm-app-open) .cinematic-bg{display:none}
body.crm-app-open .app{position:relative;z-index:1;background:transparent!important}
body.crm-app-open .sidebar{position:relative;z-index:3;background:transparent!important;border-right:1px solid rgba(255,255,255,.07)!important;box-shadow:none!important;backdrop-filter:none!important}
body.crm-app-open .sidebar:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(8,3,5,.18),rgba(8,3,5,.04) 78%,transparent);pointer-events:none}
body.crm-app-open .sidebar .brand{background:transparent!important;border-bottom:1px solid rgba(255,255,255,.08)!important;box-shadow:none!important}
body.crm-app-open .sidebar .antena-brandmark{filter:drop-shadow(0 8px 24px rgba(0,0,0,.24))}
body.crm-app-open .sidebar .nav-section{border-bottom-color:rgba(255,255,255,.06)}
body.crm-app-open .sidebar .nav-section-title{color:rgba(237,226,220,.58)!important;text-shadow:0 1px 10px rgba(0,0,0,.28)}
body.crm-app-open .sidebar .nav-section:first-child .nav-section-title{color:#f29199!important}
body.crm-app-open .sidebar .nav{position:relative;background:transparent!important;border:1px solid transparent!important;color:#e7dedd!important;text-shadow:0 1px 12px rgba(0,0,0,.35);box-shadow:none!important}
body.crm-app-open .sidebar .nav:hover{background:rgba(255,255,255,.045)!important;border-color:rgba(255,255,255,.08)!important;color:#fff!important;transform:translateX(2px)}
body.crm-app-open .sidebar .nav.active{background:linear-gradient(90deg,rgba(137,28,43,.30),rgba(255,255,255,.025) 72%,transparent)!important;border-color:rgba(239,102,113,.16)!important;color:#fff!important;box-shadow:inset 3px 0 0 #e24b59,0 8px 30px rgba(57,6,15,.12)!important}
body.crm-app-open .sidebar .nav.active:after{background:#f07a85!important;box-shadow:0 0 12px rgba(240,122,133,.52)!important}
body.crm-app-open .side-bottom{background:transparent!important;border-top-color:rgba(255,255,255,.065)!important}
body.crm-app-open .badge{background:rgba(94,13,26,.16)!important;border-color:rgba(236,98,110,.16)!important;color:#f5c6ca!important}
body.crm-app-open main{position:relative;z-index:2;background:linear-gradient(180deg,rgba(33,7,13,.18),rgba(19,5,9,.28))!important;padding:24px}
body.crm-app-open main:before{content:"";position:fixed;left:268px;right:0;top:0;bottom:0;z-index:-1;pointer-events:none;background:
 linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),
 linear-gradient(90deg,rgba(255,255,255,.015) 1px,transparent 1px),
 radial-gradient(circle at 75% 10%,rgba(111,196,224,.035),transparent 22%);background-size:40px 40px,40px 40px,auto}
body.crm-app-open header{background:linear-gradient(135deg,rgba(40,8,14,.84),rgba(22,7,11,.72))!important;border:1px solid rgba(245,196,200,.10)!important;box-shadow:0 18px 48px rgba(5,1,3,.24)!important;backdrop-filter:blur(18px) saturate(1.15)!important}
body.crm-app-open header:before{background:linear-gradient(90deg,#d94754,#7b1e2b 48%,rgba(116,202,229,.28),transparent 84%)!important}
body.crm-app-open header .eyebrow{color:#f2b8bd!important;background:rgba(136,24,39,.20)!important;border-color:rgba(235,104,116,.17)!important}
body.crm-app-open header #page-title,body.crm-app-open header h2{color:#fff!important;text-shadow:0 1px 16px rgba(0,0,0,.28)}
body.crm-app-open header p{color:#c8b8b8!important}
body.crm-app-open .user-actions span{color:#d8cbcb!important}
body.crm-app-open .tech-status{color:#9fdfc5!important;background:rgba(38,111,84,.10)!important;border-color:rgba(113,208,170,.15)!important}
body.crm-app-open .n3-bell{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.10)!important;color:#fff!important}
body.crm-app-open .primary{background:linear-gradient(135deg,#d84a57,#8c1929)!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 12px 30px rgba(87,9,23,.26)!important}

/* Papel editorial sobre o fundo bordô: tecnologia + identidade de jornal */
body.crm-app-open .executive-kpis .stat,
body.crm-app-open .metric,
body.crm-app-open .executive-panel,
body.crm-app-open .record,
body.crm-app-open .empty-state{
  background:rgba(251,247,241,.94)!important;
  border:1px solid rgba(255,255,255,.26)!important;
  box-shadow:0 18px 52px rgba(9,2,5,.20)!important;
  backdrop-filter:blur(14px)!important;
}
body.crm-app-open .executive-hero{background:
 radial-gradient(circle at 82% 18%,rgba(121,202,229,.09),transparent 23%),
 radial-gradient(circle at 8% 82%,rgba(190,44,63,.24),transparent 28%),
 linear-gradient(135deg,rgba(47,8,15,.93),rgba(16,6,9,.94))!important;
 border-color:rgba(242,154,163,.14)!important;box-shadow:0 28px 72px rgba(6,1,3,.30)!important}
body.crm-app-open .executive-funnel-track i{background:linear-gradient(90deg,#d64250,#6c1723 60%,#79bfd5)!important}
body.crm-app-open .column{background:rgba(245,238,230,.91)!important;border-color:rgba(255,255,255,.24)!important;box-shadow:0 14px 38px rgba(11,2,5,.16)!important;backdrop-filter:blur(12px)}
body.crm-app-open .lead{background:rgba(255,253,249,.96)!important;border-color:rgba(93,48,54,.14)!important;box-shadow:0 10px 30px rgba(20,3,7,.10)!important}
body.crm-app-open .lead:hover{border-color:rgba(184,47,64,.42)!important;box-shadow:0 15px 36px rgba(37,5,12,.15)!important}
body.crm-app-open .filters input,body.crm-app-open .filters select{background:rgba(255,253,249,.95)!important;border-color:rgba(87,48,54,.18)!important}
body.crm-app-open .subtle{background:rgba(250,245,239,.92)!important;border-color:rgba(95,55,61,.15)!important;color:#42202a!important}
body.crm-app-open .toolbar h3,body.crm-app-open #extended-title{color:#fff!important;text-shadow:0 1px 12px rgba(0,0,0,.28)}
body.crm-app-open .toolbar .muted,body.crm-app-open #extended-subtitle{color:#c7b5b7!important}
body.crm-app-open .board-top-scroll::-webkit-scrollbar-track{background:rgba(255,255,255,.07)!important}
body.crm-app-open .board-top-scroll::-webkit-scrollbar-thumb{background:linear-gradient(90deg,#8b2636,#d4525e)!important}

/* Modal continua legível acima do fundo em movimento */
body.crm-app-open .overlay{z-index:30;background:rgba(8,2,5,.78)!important;backdrop-filter:blur(8px)}
body.crm-app-open .modal{background:linear-gradient(160deg,#201116,#120a0d)!important;border-color:rgba(239,124,135,.18)!important;box-shadow:0 34px 90px rgba(0,0,0,.44)!important}

@media(max-width:850px){
 body.crm-app-open main:before{left:72px}
 body.crm-app-open .sidebar:before{background:rgba(9,3,5,.10)}
 body.crm-app-open main{padding:15px 9px}
}
@media(prefers-reduced-motion:reduce){.cinematic-bg video{display:none}.cinematic-bg{background:linear-gradient(145deg,#16060a,#4e0f19 55%,#1b070c)}}


/* Antena CRM V1.4.1 — aba principal branca + blocos bordô + símbolo ao fundo */
body.crm-app-open main{background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(251,247,244,.98))!important}
body.crm-app-open main:before{content:"";position:fixed;left:268px;right:0;top:0;bottom:0;z-index:-2;pointer-events:none;background:linear-gradient(rgba(116,33,45,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(116,33,45,.03) 1px,transparent 1px);background-size:38px 38px}
body.crm-app-open main:after{content:"";position:fixed;left:268px;right:0;top:0;bottom:0;z-index:-1;pointer-events:none;background:url('/antena-symbol-watermark.png?v=1.4.1') center 58% / min(52vw,560px) no-repeat;opacity:.18;filter:saturate(.85) contrast(1.02)}
body.crm-app-open header{background:rgba(255,255,255,.88)!important;border:1px solid rgba(123,38,51,.14)!important;box-shadow:0 18px 50px rgba(71,19,29,.10)!important;backdrop-filter:blur(18px) saturate(1.08)!important}
body.crm-app-open header:before{background:linear-gradient(90deg,#8b2636,#b84555 42%,rgba(139,38,54,.18),transparent 90%)!important}
body.crm-app-open header .eyebrow{color:#8b2636!important;background:rgba(139,38,54,.07)!important;border-color:rgba(139,38,54,.10)!important}
body.crm-app-open header #page-title,body.crm-app-open header h2{color:#34141b!important;text-shadow:none!important}
body.crm-app-open header p,body.crm-app-open .user-actions span{color:#6c4a51!important}
body.crm-app-open .tech-status{color:#3f6e5b!important;background:rgba(63,110,91,.06)!important;border-color:rgba(63,110,91,.12)!important}
body.crm-app-open .executive-kpis .stat,
body.crm-app-open .metric,
body.crm-app-open .executive-panel,
body.crm-app-open .record,
body.crm-app-open .empty-state,
body.crm-app-open .column{background:linear-gradient(145deg,rgba(108,23,35,.97),rgba(74,14,24,.98))!important;border:1px solid rgba(128,38,53,.28)!important;box-shadow:0 18px 48px rgba(70,15,25,.18)!important;color:#fff6f7!important}
body.crm-app-open .executive-hero{background:radial-gradient(circle at 88% 18%,rgba(255,255,255,.10),transparent 24%),linear-gradient(145deg,rgba(104,19,33,.98),rgba(58,10,18,.99))!important;border-color:rgba(171,67,83,.20)!important;box-shadow:0 28px 72px rgba(54,8,17,.24)!important}
body.crm-app-open .executive-potential{background:linear-gradient(145deg,#4f101b,#2f0a11)!important;border-color:rgba(214,92,106,.20)!important;box-shadow:0 18px 44px rgba(43,7,14,.24)!important}
body.crm-app-open .metric small,body.crm-app-open .stats .stat small,body.crm-app-open .record small,body.crm-app-open .record p,body.crm-app-open .column .total,body.crm-app-open .executive-funnel-row small,body.crm-app-open .executive-alerts span,body.crm-app-open .executive-priority-item small,body.crm-app-open .executive-sources small,body.crm-app-open .executive-team small,body.crm-app-open .lead .desc,body.crm-app-open .lead .owner{color:#eed6d9!important}
body.crm-app-open .metric strong,body.crm-app-open .stat strong,body.crm-app-open .executive-alerts strong,body.crm-app-open .executive-heading h3,body.crm-app-open .toolbar h3,body.crm-app-open #extended-title,body.crm-app-open .column h4,body.crm-app-open .lead strong,body.crm-app-open .record strong{color:#fff!important}
body.crm-app-open .executive-funnel-track{background:rgba(255,255,255,.10)!important}
body.crm-app-open .executive-funnel-track i{background:linear-gradient(90deg,#f08393,#ffd4da 65%,#ffffff)!important}
body.crm-app-open .executive-alerts>div,body.crm-app-open .executive-priority-item{background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.10)!important;color:#fff!important}
body.crm-app-open .executive-priority-item b,body.crm-app-open .executive-sources b,body.crm-app-open .executive-team b,body.crm-app-open .lead .money,body.crm-app-open .record-right{color:#ffd4da!important}
body.crm-app-open .executive-sources>div,body.crm-app-open .executive-team>div{border-bottom-color:rgba(255,255,255,.10)!important}
body.crm-app-open .column{background:linear-gradient(180deg,rgba(112,25,39,.95),rgba(86,17,29,.97))!important}
body.crm-app-open .lead{background:rgba(255,250,250,.09)!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 8px 22px rgba(36,7,13,.14)!important;color:#fff!important}
body.crm-app-open .lead:hover{border-color:rgba(255,214,220,.34)!important;box-shadow:0 14px 30px rgba(40,8,14,.20)!important}
body.crm-app-open .filters input,body.crm-app-open .filters select{background:rgba(255,255,255,.90)!important;border-color:rgba(113,31,44,.18)!important;color:#331218!important}
body.crm-app-open .subtle{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.14)!important;color:#fff1f3!important}
body.crm-app-open .toolbar .muted,body.crm-app-open #extended-subtitle{color:#6f4e55!important;text-shadow:none!important}
body.crm-app-open .toolbar h3,body.crm-app-open #extended-title{color:#38151c!important;text-shadow:none!important}
@media(max-width:850px){body.crm-app-open main:before,body.crm-app-open main:after{left:72px}body.crm-app-open main:after{background-size:min(72vw,360px);opacity:.15}}
