:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172b42;background:#f5f7fa;font-size:14px;font-synthesis:none;--navy:#112338;--orange:#ef7e3e;--muted:#68798b;--line:#e4e9ef}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:3px}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:inherit}button{border:0;border-radius:7px;transition:background .15s}h1,h2,h3,p{margin-top:0}h1{font-size:27px;letter-spacing:-.8px;margin-bottom:8px}h2{font-size:18px;letter-spacing:-.3px}h3{font-size:15px}p{line-height:1.65}small,.muted{color:var(--muted)}.loading{padding:40px;color:var(--muted)}.login{min-height:100vh;display:grid;grid-template-columns:1.1fr 1fr;background:white}.login-intro{background:var(--navy);color:white;padding:8vh 8vw;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-intro:after{content:"";position:absolute;width:360px;height:360px;border:70px solid #ffffff05;border-radius:50%;right:-150px;bottom:-80px}.brand{display:flex;align-items:center;gap:11px;font-size:20px;font-weight:650;letter-spacing:-.5px}.brand-icon{background:var(--orange);color:var(--navy);border-radius:8px;width:34px;height:34px;display:grid;place-items:center;font-size:23px;font-weight:800}.brand small{font-size:11px;font-weight:500;color:#9fb1c4;letter-spacing:2px;display:block;margin-top:4px}.login-intro h1{font-size:46px;line-height:1.16;max-width:480px;margin:80px 0 24px;letter-spacing:-1.8px}.login-intro p{color:#b6c4d2;max-width:400px;font-size:16px}.login-features{display:flex;gap:25px;color:#b6c4d2;margin-top:35px;font-size:12px}.login-features span{display:block;font-size:22px;font-weight:600;color:white;margin-bottom:5px}.login-form-wrap{display:flex;align-items:center;justify-content:center;padding:40px}.login-form{width:100%;max-width:370px}.eyebrow{text-transform:uppercase;letter-spacing:1.6px;font-size:10px;font-weight:700;color:var(--orange);margin-bottom:13px}.login-form h2{font-size:27px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;font-weight:550;font-size:12px}.field input,.field select,.field textarea,input.search,select.filter{width:100%;padding:11px 12px;border:1px solid #d9e0e8;border-radius:6px;background:white;color:#172b42;min-height:41px}.field textarea{resize:vertical;min-height:80px}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--orange);outline:2px solid #ef7e3e22}.primary{background:var(--navy);color:white;padding:11px 17px;font-weight:600}.accent{background:var(--orange);color:white}.secondary{background:white;border:1px solid var(--line);color:#31445b;padding:10px 14px;font-weight:550}.ghost{background:transparent;padding:8px 10px;color:var(--muted)}.full{width:100%}.error{color:#b92f39;font-size:12px;line-height:1.6;margin:12px 0;min-height:18px}.login-foot{font-size:12px;text-align:center;color:var(--muted);margin-top:25px}.app{display:grid;grid-template-columns:224px 1fr;min-height:100vh}.sidebar{background:var(--navy);color:white;padding:28px 16px;position:fixed;inset:0 auto 0 0;width:224px;display:flex;flex-direction:column;z-index:5}.sidebar .brand{padding:0 10px;font-size:17px;margin-bottom:42px}.sidebar nav{display:flex;flex-direction:column;gap:7px}.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#748ba2;padding:0 13px;margin:0 0 13px}.nav-button{display:flex;align-items:center;gap:12px;background:transparent;color:#a9bbce;text-align:left;padding:12px 14px;font-size:13px}.nav-button svg{width:18px;height:18px}.nav-button.active{background:#ffffff0d;color:white;box-shadow:inset 3px 0 var(--orange)}.nav-button:hover{background:#ffffff0d;color:white}.sidebar-bottom{margin-top:auto;border-top:1px solid #ffffff12;padding:20px 10px 0}.user-block{display:flex;gap:10px;align-items:center;margin-bottom:13px}.avatar{display:grid;place-items:center;background:#e9eef3;border-radius:50%;width:34px;height:34px;font-size:12px;font-weight:700;color:#405975;flex-shrink:0}.sidebar .avatar{background:#29415a;color:#cbd8e4}.user-block strong{font-size:12px;display:block}.user-block small{font-size:10px}.sidebar-bottom button{color:#a9bbce;font-size:11px}.main{grid-column:2;min-width:0}.topbar{height:76px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 35px;gap:12px}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb b{color:#263b52;font-weight:550}.top-right{display:flex;align-items:center;gap:18px;color:var(--muted);font-size:11px}.live-dot{width:6px;height:6px;background:#2f9e79;border-radius:50%;display:inline-block;margin-right:6px}.content{padding:32px 35px;max-width:1600px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px}.page-head p{font-size:12px;color:var(--muted);margin:0}.page-head .primary{font-size:12px}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:26px}.metric{background:white;border:1px solid var(--line);border-radius:9px;padding:20px;position:relative}.metric-label{font-size:11px;color:var(--muted);display:flex;justify-content:space-between;gap:10px}.metric .icon{background:#f1f4f7;padding:8px;border-radius:7px;position:absolute;right:17px;top:18px;color:#6e8196}.metric .icon svg{width:17px;height:17px}.metric-value{font-size:29px;font-weight:650;letter-spacing:-1px;margin:15px 0 6px}.metric-foot{font-size:10px;color:var(--muted)}.metric.warm{border-top:2px solid var(--orange)}.dashboard-grid{display:grid;grid-template-columns:1.45fr 1fr;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:9px;overflow:hidden}.panel-head{padding:21px 23px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.panel-head h2{font-size:14px;margin:0}.panel-head button{font-size:11px}.panel-body{padding:22px}.pipeline-row{display:grid;grid-template-columns:135px 1fr 35px;align-items:center;gap:15px;margin:16px 0;font-size:11px}.bar-track{height:8px;background:#f0f3f6;border-radius:3px;overflow:hidden}.bar-fill{height:100%;background:#849cb6;min-width:0}.pipeline-row:first-child .bar-fill{background:var(--orange)}.pipeline-row b{text-align:right;font-weight:600}.empty{padding:35px 20px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}.empty strong{display:block;color:#36506b;margin-bottom:6px;font-size:14px}.notice{background:#fff4e9;border:1px solid #f4dfc8;border-radius:8px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px;font-size:12px;color:#8b572e}.notice p{margin:0}.notice strong{display:block;margin-bottom:5px}.notice button{flex-shrink:0}.filters{display:flex;gap:10px;flex-wrap:wrap;padding:17px 20px;border-bottom:1px solid var(--line)}.search-wrap{position:relative;flex:1;min-width:200px}.search-wrap svg{position:absolute;left:12px;top:12px;width:16px;height:16px;color:#8796a5}.search-wrap input{padding-left:36px;font-size:12px}.filter{max-width:165px;font-size:11px;padding:9px!important}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}th{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:#7d8c9c;font-weight:600;background:#fafbfd;padding:13px 20px;border-bottom:1px solid var(--line)}td{padding:15px 20px;border-bottom:1px solid #edf0f4;font-size:11px;color:#617287}tr:last-child td{border-bottom:0}tbody tr:hover{background:#fbfcfd}.lead-name{color:#223952;font-weight:600;border:0;padding:0;background:none;text-align:left;max-width:340px;display:block;white-space:normal;line-height:1.5;font-size:12px}.lead-sub{color:#8995a3;font-size:10px;display:block;margin-top:4px}.pill{padding:5px 8px;border-radius:5px;background:#edf1f5;color:#60758a;font-size:10px;white-space:nowrap;display:inline-block}.pill.contato{background:#eaf2fe;color:#4779ae}.pill.qualificado,.pill.simulacao{background:#fff0e5;color:#b76f3f}.pill.negociacao,.pill.contrato{background:#f1ecfc;color:#8866aa}.pill.ganho{background:#e8f7ef;color:#27815f}.pill.perdido{background:#fcebed;color:#b96069}.whatsapp{display:inline-flex;align-items:center;justify-content:center;gap:6px;text-decoration:none;background:#edf9f1;border:1px solid #d8efdf;border-radius:6px;padding:8px 10px;color:#238454;font-size:10px;font-weight:600;white-space:nowrap}.whatsapp svg{width:13px;height:13px}.whatsapp:hover{background:#dcf3e4}.pagination{padding:15px 20px;display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.pagination button{font-size:11px;padding:7px 12px}.kanban{display:flex;gap:14px;overflow-x:auto;padding:0 0 20px}.kanban-column{min-width:265px;max-width:265px;background:#edf1f5;border-radius:8px;padding:13px}.column-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;margin:2px 1px 14px}.column-head span{background:white;border-radius:4px;padding:3px 7px;color:#7890a7;font-size:10px}.kanban-card{background:white;border:1px solid #e1e7ee;border-radius:7px;padding:14px;margin-bottom:10px;box-shadow:0 2px 3px #102b4210}.kanban-card .lead-name{font-size:11px}.kanban-meta{display:flex;justify-content:space-between;align-items:center;margin:13px 0;font-size:10px;color:var(--muted)}.kanban-card .whatsapp{width:100%}.kanban-more{font-size:11px;text-align:center;width:100%;margin:6px 0}.team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.team-card{padding:24px}.team-card header{display:flex;align-items:center;gap:12px;margin-bottom:23px}.team-card header h2{font-size:15px;margin:0 0 5px}.team-card header small{font-size:11px}.team-stats{display:flex;justify-content:space-between;background:#f7f9fb;padding:15px;border-radius:7px;margin-bottom:20px}.team-stats b{display:block;margin-bottom:5px;font-size:20px}.team-stats small{font-size:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.form-grid .span2{grid-column:1/-1}dialog{border:1px solid var(--line);border-radius:12px;padding:28px;max-width:500px;width:calc(100% - 32px);color:#172b42;box-shadow:0 20px 80px #102b4240;max-height:90vh}dialog::backdrop{background:#11233870;backdrop-filter:blur(2px)}.lead-dialog{margin-right:16px;margin-top:16px;margin-bottom:16px;width:780px;max-width:calc(100% - 32px);height:calc(100vh - 32px);max-height:calc(100vh - 32px);padding:0;overflow-y:auto}.drawer-head{padding:25px 28px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:flex-start;gap:20px;position:sticky;top:0;background:white;z-index:3}.drawer-head h2{font-size:20px;line-height:1.4;margin-bottom:8px}.drawer-head small{font-size:11px}.close{background:#f0f3f6;border-radius:50%;width:28px;height:28px;font-size:20px;flex-shrink:0;color:#6e8196}.drawer-body{padding:25px 28px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px;font-size:12px;background:#f7f9fb;padding:20px;border-radius:8px;margin-bottom:20px}.contact-grid small{display:block;font-size:10px;margin-bottom:5px}.contact-grid .span2{grid-column:1/-1}.section-label{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#8797a7;border-bottom:1px solid var(--line);padding-bottom:12px;margin:28px 0 20px}.source-note{padding:14px;border-left:3px solid #d4dfeb;background:#fafbfd;font-size:11px;line-height:1.6;white-space:pre-wrap;margin-top:16px}.activity{position:relative;border-left:2px solid #e9eef3;padding:0 0 20px 17px;font-size:12px;line-height:1.6}.activity:before{content:"";width:7px;height:7px;background:#bbcbdc;border:3px solid white;position:absolute;left:-7px;top:3px;border-radius:50%}.activity strong{font-size:11px}.activity small{font-size:10px;display:block;margin:3px 0}.activity p{margin:5px 0;white-space:pre-wrap}.activity .secondary{font-size:10px;padding:6px 10px}.task-row{display:flex;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);padding:16px 21px;align-items:center}.task-row:last-child{border-bottom:0}.task-row p{margin:5px 0;font-size:11px}.task-time{font-size:10px;color:var(--muted)}.overdue{color:#ba5c54}.task-actions{display:flex;gap:8px}.task-actions button{font-size:10px;white-space:nowrap}.toolbar-actions{display:flex;gap:10px;align-items:center}.success{color:#268057;font-size:12px}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:#112338;color:white;padding:12px 20px;border-radius:8px;z-index:50;font-size:12px;box-shadow:0 5px 20px #11233830;display:none}.mobile-menu{display:none}.note-help{font-size:10px;color:var(--muted);line-height:1.7;margin:8px 0 0}.team-form .field{font-size:11px}.drawer-actions{display:flex;align-items:center;gap:12px}.form-feedback{font-size:11px;color:#b92f39;margin:0;line-height:1.6}.date-tag{font-size:10px;background:#fff0e5;color:#a76337;padding:5px 8px;border-radius:5px;display:inline-block}.footnote{font-size:10px;color:var(--muted);margin:16px 0;line-height:1.6}.page-loading{padding:60px;text-align:center;color:var(--muted)}
@media(min-width:1600px){.content{padding-top:40px}.metrics{gap:22px}}@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,1fr)}.dashboard-grid{grid-template-columns:1fr}.content{padding:25px}.topbar{padding:0 25px}.app{grid-template-columns:200px 1fr}.sidebar{width:200px}.team-grid{grid-template-columns:1fr}.login-intro{padding:7vh 6vw}.login-intro h1{font-size:38px}}@media(max-width:760px){.login{grid-template-columns:1fr}.login-intro{padding:30px}.login-intro h1{font-size:29px;margin:35px 0 15px;max-width:380px}.login-intro p{font-size:13px}.login-features{display:none}.login-intro>small{display:none}.login-form-wrap{padding:35px 25px}.sidebar{transform:translateX(-100%);transition:transform .2s;width:224px}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vw #11233855}.app{display:block}.main{width:100%}.topbar{height:61px;padding:0 18px}.top-right .today{display:none}.mobile-menu{display:block;background:transparent;padding:8px;color:#172b42}.mobile-menu svg{width:18px;height:18px}.content{padding:22px 17px}.page-head{align-items:flex-start}.page-head h1{font-size:23px}.page-head p{font-size:11px}.page-head .primary{font-size:10px;padding:9px 11px}.metrics{gap:10px}.metric{padding:16px}.metric .icon{display:none}.metric-value{font-size:26px}.notice{align-items:flex-start;flex-direction:column;gap:12px}.filters{padding:13px;gap:8px}.filter{max-width:calc(50% - 4px);flex:1;min-width:120px}.search-wrap{flex-basis:100%}.contact-grid{grid-template-columns:1fr}.contact-grid .span2{grid-column:auto}.drawer-head,.drawer-body{padding:20px}.lead-dialog{margin:auto;width:calc(100% - 16px);max-width:none;height:calc(100vh - 16px);max-height:calc(100vh - 16px)}.form-grid{gap:0 12px}.task-row{padding:15px;align-items:flex-start;flex-wrap:wrap}.task-actions{width:100%}.team-card{padding:20px}.pagination{padding:12px;font-size:10px}.pipeline-row{grid-template-columns:112px 1fr 30px;gap:9px}.panel-head{padding:17px}.top-right{gap:10px}.brand small{font-size:9px}.drawer-head h2{font-size:17px}.drawer-actions{flex-wrap:wrap}.form-grid .field{font-size:11px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

[hidden]{display:none!important}
.queue-summary{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 18px;font-size:14px;color:var(--muted)}.queue-summary strong{color:#223952}.queue-summary span{font-size:12px}.queue-name{display:block;max-width:450px;white-space:normal;line-height:1.5;font-size:14px;color:#223952}.queue-table td{font-size:14px}.queue-table .lead-sub{font-size:12px}.queue-table .pill{font-size:12px}.queue-table .claim-button{font-size:14px;white-space:nowrap}.queue-table .secondary{font-size:14px}.queue-table th{font-size:12px;text-transform:none;letter-spacing:0}
@media(max-width:760px){.queue-summary{align-items:flex-start;flex-direction:column;gap:7px}.queue-table,.queue-table tbody{display:block;width:100%}.queue-table thead{display:none}.queue-table tr{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:19px;border-bottom:1px solid var(--line)}.queue-table td{display:block;border:0!important;padding:0;white-space:normal}.queue-table td:first-child,.queue-table td:last-child{grid-column:1/-1}.queue-table td:nth-child(2):before{content:"Localização"}.queue-table td:nth-child(3):before{content:"Registros com este telefone"}.queue-table td:nth-child(2):before,.queue-table td:nth-child(3):before{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}.queue-table button{width:100%;min-height:44px}.queue-table .queue-name{max-width:none}}

@media(max-width:760px){.lead-table thead{display:none}.lead-table,.lead-table tbody{display:block;width:100%}.lead-table tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;padding:18px;border-bottom:1px solid var(--line)}.lead-table td{display:block;border:0!important;padding:0;font-size:11px;white-space:normal}.lead-table td:first-child{grid-column:1/-1}.lead-table .lead-name{max-width:none;font-size:13px}.lead-table td:nth-child(2):before{content:"Localização"}.lead-table td:nth-child(3):before{content:"Etapa"}.lead-table td:nth-child(4):before{content:"Responsável"}.lead-table td:nth-child(5):before{content:"Próximo retorno"}.lead-table td:nth-child(n+2):nth-child(-n+5):before{display:block;font-size:9px;color:#8b99a8;margin-bottom:5px}.lead-table td:last-child{grid-column:1/-1;margin-top:3px}.lead-table .whatsapp{width:100%;padding:10px;font-size:11px}.lead-table .lead-sub{font-size:11px}.lead-table tr:hover{background:white}}

:root {
  --navy: #142536;
  --orange: #b59747;
  --gold: #b59747;
  --muted: #6b7785;
  --line: #e5e9ec;
  color: #1c3042;
  background: #f6f7f9;
}
button, a { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); }
.primary { border-radius: 9px; box-shadow: 0 2px 4px #1425360b; }
.primary:hover { background: #253d51; }
.secondary { border-radius: 9px; }
.secondary:hover { background: #f4f6f8; border-color: #c6d0d8; }
.field input, .field select, .field textarea { border-radius: 8px; font-size: 13px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); outline-color: #b5974728; }
.eyebrow { color: #947531; font-size: 10px; letter-spacing: 1.8px; }
.sidebar .brand { font-size: 21px; padding: 0 5px; gap: 10px; margin-bottom: 36px; letter-spacing: -.6px; }
.sidebar .brand small { font-size: 7px; letter-spacing: .8px; color: #c2cbd2; }
.brand-symbol { position: relative; width: 48px; height: 48px; overflow: hidden; border-radius: 11px; background: white; flex-shrink: 0; }
.brand-symbol img { position: absolute; width: 188px; height: 188px; max-width: none; left: -70px; top: -50px; }
.brand-logo { background: white; border: 1px solid #fff3; border-radius: 15px; overflow: hidden; position: relative; width: 230px; height: 146px; box-shadow: 0 12px 40px #05121b1a; }
.brand-logo img { position: absolute; width: 280px; height: 280px; max-width: none; left: -25px; top: -62px; }
.login { grid-template-columns: 1.12fr 1fr; }
.login-intro { padding: 54px clamp(34px, 5vw, 78px); background: radial-gradient(ellipse at 100% 0, #294052 0, #142536 55%); min-height: 100svh; }
.login-intro .brand { position: relative; z-index: 1; }
.login-intro:after { border-color: #b5974712; width: 500px; height: 500px; right: -285px; bottom: -115px; }
.login-intro h1 { font-size: clamp(36px, 3.5vw, 54px); line-height: 1.16; font-weight: 550; margin: 42px 0 22px; letter-spacing: -1.8px; max-width: 490px; }
.login-intro h1 em { color: #d9c181; font-style: normal; }
.login-intro .eyebrow { color: #d9c181; font-size: 9px; margin-bottom: 0; }
.login-intro p { color: #bcc8d1; font-size: 15px; line-height: 1.8; max-width: 385px; }
.login-intro>small { color: #a8b6c1; position: relative; z-index: 1; margin-top: 38px; font-size: 11px; }
.login-features { gap: 28px; margin-top: 28px; font-size: 11px; }
.login-features span { color: #d9c181; font-size: 18px; }
.login-form-wrap { background: #fcfcfd; }
.login-form { max-width: 380px; }
.login-form h2 { font-size: 30px; letter-spacing: -1px; }
.login-form .field { margin-bottom: 21px; font-size: 13px; }
.login-form input { padding: 13px 14px; min-height: 47px; }
.login-form .primary { min-height: 47px; margin-top: 7px; }
.login-form>p { font-size: 13px; margin-bottom: 32px; }
.login-form>p.error { margin: 0 0 10px; }
.nav-button { border-radius: 9px; padding: 13px 14px; }
.nav-button.active { background: #ffffff0e; box-shadow: inset 3px 0 var(--gold); }
.nav-button.active svg { color: #d9c181; }
.sidebar-bottom { border-top-color: #ffffff15; }
.topbar { height: 76px; gap: 16px; }
.top-right { gap: 16px; }
.new-lead-button { display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; min-height: 39px; font-size: 12px; padding: 9px 14px; }
.new-lead-button>span { font-size: 19px; line-height: 1; color: #e4cc8b; }
.connection-label { font-size: 10px; }
.sidebar-backdrop { display: none; }
.content { padding-top: 32px; position: relative; }
.page-head { margin-bottom: 25px; }
.page-head h1 { font-size: 29px; font-weight: 620; letter-spacing: -1px; }
.page-head p { font-size: 13px; }
.metric { border-radius: 13px; padding: 23px; border-color: #e5e9ec; box-shadow: 0 3px 12px #14253603; }
.metric-label { font-size: 12px; }
.metric-value { font-size: 32px; color: #1c3042; }
.metric-foot { font-size: 11px; }
.metric.warm { border-top-color: var(--gold); }
.metric.warm .icon { color: #947531; background: #f8f3e6; }
.panel { border-radius: 13px; box-shadow: 0 3px 12px #14253603; }
.panel-head h2 { font-weight: 600; font-size: 15px; }
.notice { border-color: #e8dcbb; color: #715c29; background: #faf6eb; border-radius: 12px; }
.notice p { font-size: 12px; line-height: 1.6; }
.notice .primary { font-size: 12px; }
.pipeline-row:first-child .bar-fill { background: var(--gold); }
.bar-track { background: #f0f2f4; height: 7px; border-radius: 8px; }
.bar-fill { border-radius: 8px; }
.lead-name { font-size: 13px; }
.lead-sub { font-size: 11px; }
.lead-table td { font-size: 12px; padding-top: 17px; padding-bottom: 17px; }
.pill { border-radius: 6px; }
.whatsapp { border-radius: 8px; padding: 9px 12px; font-size: 11px; cursor: pointer; }
.whatsapp:hover { background: #def3e6; }
.kanban { gap: 15px; }
.kanban-column { border-radius: 12px; background: #eef1f4; }
.kanban-card { box-shadow: 0 2px 6px #14253605; border-radius: 10px; }
.kanban-card .lead-name { font-size: 12px; }
.kanban-card .whatsapp { min-height: 36px; }
dialog { border-radius: 16px; padding: 28px; overflow: auto; box-shadow: 0 24px 80px #102b4230; }
dialog::backdrop { background: #10223273; backdrop-filter: none; }
.lead-dialog { padding: 0; border-radius: 16px; }
.drawer-head { background: #fdfefe; }
.dialog-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; margin-bottom: 24px; }
.dialog-heading h2 { font-size: 23px; letter-spacing: -.7px; margin-bottom: 8px; }
.dialog-heading p { font-size: 12px; line-height: 1.7; margin: 0; }
.dialog-heading .eyebrow { font-size: 9px; margin-bottom: 10px; }
#new-lead-dialog { width: 640px; max-width: calc(100% - 32px); }
#new-lead-dialog .field { font-size: 12px; }
#new-lead-dialog .field small { display: inline; font-size: 10px; font-weight: 400; }
.owner-notice { display: flex; align-items: center; gap: 10px; padding: 13px 15px; background: #f6f3e9; color: #695728; border-radius: 8px; margin-bottom: 20px; font-size: 12px; }
.owner-notice svg { width: 18px; height: 18px; flex-shrink: 0; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 20px; }
.form-actions .primary { display: inline-flex; align-items: center; gap: 12px; }
.form-actions svg { width: 16px; height: 16px; }
#whatsapp-dialog { width: 890px; max-width: calc(100% - 32px); }
.approach-layout { display: grid; grid-template-columns: .95fr 1.15fr; gap: 24px; }
.approach-options { display: flex; flex-direction: column; gap: 9px; }
.approach-option { display: flex; align-items: center; gap: 13px; border: 1px solid var(--line); border-radius: 10px; background: white; text-align: left; padding: 14px 13px; min-height: 74px; color: #263e51; }
.approach-option:hover { border-color: #d2c294; background: #fcfbf7; }
.approach-option.selected { border-color: var(--gold); background: #faf6ea; box-shadow: 0 0 0 1px #b5974718; }
.approach-number { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 8px; background: #f0f3f5; color: #6d7c88; font-size: 11px; flex-shrink: 0; }
.selected .approach-number { background: #eadeba; color: #6c5421; }
.approach-option strong { display: block; font-size: 12px; margin-bottom: 5px; font-weight: 620; }
.approach-option small { display: block; font-size: 10px; line-height: 1.55; font-weight: 400; }
.message-preview { background: #f6f8f9; border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.message-preview .field { font-size: 12px; margin: 0; }
.message-preview textarea { line-height: 1.7; min-height: 230px; margin-top: 5px; padding: 15px; }
.message-preview-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10px; margin: 6px 0 17px; }
.message-preview-foot .ghost { font-size: 10px; }
.wa-send { background: #1f7650; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 12px; min-height: 43px; }
.wa-send:hover { background: #196342; }
.wa-send svg { width: 17px; height: 17px; }
.wa-send[aria-disabled=true] { opacity: .5; cursor: default; }
.message-preview .note-help { font-size: 10px; line-height: 1.7; }
.skeleton-page { padding: 15px 0; text-align: left; }
.skeleton { display: block; height: 105px; border-radius: 12px; background: #e9edf0; animation: skeleton-pulse 1.4s ease-in-out infinite alternate; }
.skeleton-title { height: 30px; width: 225px; margin-bottom: 35px; }
.skeleton-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 17px; margin-bottom: 25px; }
.skeleton-page>.muted { font-size: 12px; }
#view[aria-busy=true]::before { content: ''; position: absolute; top: 4px; left: 35px; right: 35px; height: 2px; background: #b5974733; border-radius: 3px; }
#toast { max-width: calc(100vw - 36px); font-size: 12px; line-height: 1.6; border: 1px solid #d6bd7430; }
@keyframes skeleton-pulse { to { opacity: .5; } }
@media(max-width:1100px) {
  .sidebar .brand { font-size: 18px; gap: 8px; }
  .sidebar .brand small { font-size: 6px; }
  .connection-label, .top-right .today { display: none; }
  .login-intro { padding: 44px 40px; }
  .login-intro h1 { font-size: 38px; }
}
@media(max-width:760px) {
  .login { grid-template-columns: 1fr; }
  .login-intro { min-height: auto; padding: 27px 28px 29px; }
  .brand-logo-large { width: 180px; height: 106px; border-radius: 11px; }
  .brand-logo-large img { width: 215px; height: 215px; left: -18px; top: -49px; }
  .login-intro h1 { font-size: 30px; letter-spacing: -.9px; margin: 24px 0 14px; }
  .login-intro h1 br:last-child { display: none; }
  .login-intro .eyebrow { display: none; }
  .login-intro p { font-size: 12px; line-height: 1.7; margin: 0; max-width: 300px; }
  .login-form-wrap { padding: 30px 27px 35px; }
  .login-form h2 { font-size: 24px; }
  .login-form>p { margin-bottom: 24px; }
  .login-form .field { margin-bottom: 17px; }
  .sidebar { width: 236px; transition: transform .18s ease; }
  .sidebar .brand { font-size: 21px; }
  .sidebar .brand small { font-size: 7px; }
  .sidebar.open { box-shadow: none; }
  .menu-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: #10223270; z-index: 4; border-radius: 0; padding: 0; }
  .topbar { height: 66px; padding: 0 13px; gap: 7px; }
  .topbar .toolbar-actions { gap: 4px; min-width: 0; }
  .breadcrumb { font-size: 10px; }
  .breadcrumb b { display: inline-block; max-width: 110px; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; vertical-align: middle; }
  .new-lead-button { font-size: 11px; padding: 8px 10px; min-height: 37px; }
  .top-right { flex-shrink: 0; }
  .content { padding: 24px 16px; }
  .page-head { gap: 12px; }
  .page-head h1 { font-size: 24px; }
  .page-head p { font-size: 12px; line-height: 1.6; }
  .page-head .secondary { font-size: 10px; padding: 9px 11px; }
  .metric { padding: 17px; }
  .metric-label { font-size: 11px; }
  .metric-value { font-size: 28px; }
  .metric-foot { font-size: 10px; }
  .lead-table .whatsapp { font-size: 12px; min-height: 42px; }
  .notice { padding: 16px; }
  .drawer-body, .drawer-head { padding: 20px; }
  dialog { padding: 22px; max-height: 92svh; }
  .lead-dialog { padding: 0; }
  .dialog-heading { gap: 12px; margin-bottom: 20px; }
  .dialog-heading h2 { font-size: 21px; line-height: 1.3; }
  #new-lead-dialog, #whatsapp-dialog { max-width: calc(100% - 20px); width: calc(100% - 20px); }
  .approach-layout { grid-template-columns: 1fr; gap: 18px; }
  .approach-options { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
  .approach-option { padding: 10px; gap: 8px; min-height: 63px; }
  .approach-option strong { font-size: 11px; line-height: 1.45; margin: 0; }
  .approach-option small { display: none; }
  .approach-number { width: 24px; height: 27px; font-size: 9px; }
  .message-preview { padding: 15px; }
  .message-preview textarea { min-height: 205px; height: 205px; font-size: 12px; }
  .skeleton-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .skeleton-grid>:last-child { display: none; }
  #view[aria-busy=true]::before { left: 16px; right: 16px; }
  .form-actions .primary, .form-actions .secondary { font-size: 12px; }
}
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { animation: none!important; transition: none!important; scroll-behavior: auto!important; } }

.theme-toggle { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; font-size: 14px; }
.theme-toggle>span { font-size: 20px; line-height: 1; }
.login-theme { position: absolute; top: 20px; right: 24px; z-index: 2; }
.sidebar-bottom .theme-toggle { justify-content: flex-start; width: 100%; color: #d9e2ea; }
.sidebar-bottom .theme-toggle:hover { background: #ffffff12; }
#new-user-dialog { width: 600px; max-width: calc(100% - 24px); }
#new-user-dialog .field, #view[data-view=accesses] .field { font-size: 14px; }
#new-user-dialog .field input, #new-user-dialog .field select { font-size: 16px; }
#new-user-dialog .field small { font-size: 12px; font-weight: 400; }
.password-entry { display: flex; gap: 8px; }
.password-entry input { min-width: 0; }
.password-entry button { font-size: 14px; flex-shrink: 0; }
.access-credentials { padding: 20px; background: #f4f6f8; border-radius: 10px; }
.access-credentials .field:last-child { margin-bottom: 0; }
.access-credentials input { font-family: ui-monospace, monospace; }
html[data-theme=dark] { --muted: #aab9c8; --line: #314153; --surface: #152435; --surface-muted: #1c2e42; --gold: #d1b46c; color: #e7eef6; background: #0c1723; color-scheme: dark; }
html[data-theme=dark] body, html[data-theme=dark] .main { background: #0c1723; color: #e7eef6; }
html[data-theme=dark] .login { background: #0c1723; }
html[data-theme=dark] .login-form-wrap { background: #101d2b; }
html[data-theme=dark] .sidebar { background: #0d1926; }
html[data-theme=dark] :is(.topbar,.panel,.metric,.kanban-card,dialog,.drawer-head,.approach-option) { background: var(--surface); color: #e7eef6; border-color: var(--line); }
html[data-theme=dark] :is(.metric-value,.breadcrumb b,.lead-name,.queue-name,.queue-summary strong,.page-head h1,.panel-head h2,.team-card h2,.empty strong) { color: #e7eef6; }
html[data-theme=dark] :is(.field input,.field select,.field textarea,input.search,select.filter) { background: #0f1d2c; color: #e7eef6; border-color: #435469; }
html[data-theme=dark] input::placeholder, html[data-theme=dark] textarea::placeholder { color: #a0adbc; }
html[data-theme=dark] :is(.field input,.field textarea,.field select):focus { border-color: #d1b46c; outline-color: #d1b46c40; }
html[data-theme=dark] .primary { background: #d1b46c; color: #142536; }
html[data-theme=dark] .primary:hover { background: #e1c786; }
html[data-theme=dark] .new-lead-button>span { color: #142536; }
html[data-theme=dark] .secondary { background: var(--surface); color: #e7eef6; border-color: #45576b; }
html[data-theme=dark] .secondary:hover { background: #24384f; }
html[data-theme=dark] .ghost { color: #c4d0dc; }
html[data-theme=dark] .eyebrow { color: #dfc480; }
html[data-theme=dark] :is(.contact-grid,.team-stats,.source-note,.message-preview,.access-credentials) { background: var(--surface-muted); color: #e7eef6; border-color: var(--line); }
html[data-theme=dark] .notice, html[data-theme=dark] .owner-notice { background: #302b1f; border-color: #665735; color: #efd99f; }
html[data-theme=dark] .metric .icon { background: #293c50; color: #d1b46c; }
html[data-theme=dark] .bar-track { background: #2d3e50; }
html[data-theme=dark] .bar-fill { background: #c2a55b; }
html[data-theme=dark] th { background: #1b2b3d; color: #bdccdc; }
html[data-theme=dark] td { color: #bdccdc; border-color: var(--line); }
html[data-theme=dark] tbody tr:hover { background: #203247; }
html[data-theme=dark] .lead-sub { color: #aab9c8; }
html[data-theme=dark] .kanban-column { background: #172536; }
html[data-theme=dark] .column-head span { background: #2b3e53; color: #cad8e6; }
html[data-theme=dark] .pill { background: #29394c; color: #d8e4ef; }
html[data-theme=dark] .pill.contato { background: #183d60; color: #a6d4ff; }
html[data-theme=dark] :is(.pill.qualificado,.pill.simulacao) { background: #493820; color: #f5d49a; }
html[data-theme=dark] :is(.pill.negociacao,.pill.contrato) { background: #392b4e; color: #dac5ff; }
html[data-theme=dark] .pill.ganho { background: #193d32; color: #a0e2bc; }
html[data-theme=dark] .pill.perdido { background: #492d35; color: #ffb9c3; }
html[data-theme=dark] .whatsapp { background: #153c30; color: #9ce5b9; border-color: #30634b; }
html[data-theme=dark] .whatsapp:hover { background: #204e3d; }
html[data-theme=dark] .wa-send { background: #277b55; color: white; }
html[data-theme=dark] .wa-send:hover { background: #318b64; }
html[data-theme=dark] .approach-option:hover { background: #23374b; border-color: #c0a460; }
html[data-theme=dark] .approach-option.selected { background: #353020; border-color: #d1b46c; }
html[data-theme=dark] .approach-number { background: #293c50; color: #b9cadd; }
html[data-theme=dark] .selected .approach-number { background: #685630; color: #fff0bf; }
html[data-theme=dark] .skeleton { background: #26384b; }
html[data-theme=dark] .activity { border-left-color: #465a70; }
html[data-theme=dark] .activity:before { border-color: var(--surface); background: #a0b6cd; }
html[data-theme=dark] :is(.error,.form-feedback,.overdue) { color: #ff9aa4; }
html[data-theme=dark] .success { color: #98e4ba; }
html[data-theme=dark] .section-label { color: #b7c8d8; }
html[data-theme=dark] .close, html[data-theme=dark] .mobile-menu { color: #c8d5e3; background: transparent; }
html[data-theme=dark] .avatar { background: #2b4057; color: #e4edf7; }
@media(max-width:760px) { .login-theme { top: 15px; right: 16px; font-size: 12px; padding: 8px 10px; } #new-user-dialog .form-grid { grid-template-columns: 1fr; } #new-user-dialog .span2 { grid-column: auto; } }

/* StartCon operations: navy surfaces, gold accents, compact working panels. */
.sidebar{max-height:100dvh}.sidebar nav{min-height:0;overflow-y:auto;flex:1;scrollbar-width:thin}.sidebar .brand{margin-bottom:24px}.sidebar-bottom{flex-shrink:0}.nav-button{font-size:14px;padding:11px 14px}.sidebar nav::-webkit-scrollbar{width:4px}.sidebar nav::-webkit-scrollbar-thumb{background:#ffffff20;border-radius:4px}
.modality-tabs{display:flex;gap:8px;margin-bottom:22px;flex-wrap:wrap}.modality-tab{padding:12px 24px;background:white;border:1px solid var(--line);color:var(--navy);font-size:15px;min-height:46px;transition:background .18s,border-color .18s,transform .18s}.modality-tab.selected,.followup-tabs .selected{background:var(--navy);color:white;border-color:var(--navy)}.modality-tab.selected{box-shadow:inset 0 -3px var(--gold)}.modality-tab:hover{transform:translateY(-1px)}
.simulation-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.65fr);gap:24px;align-items:start}.simulation-fields{min-width:0}.simulator-panel{margin-bottom:20px}.simulator-panel .panel-body{padding:23px}.simulator-panel .field,.rules-card .field,#followup-form .field{font-size:14px}.simulator-panel .field input,.simulator-panel .field select,.rules-card .field input,#followup-form .field input,#followup-form .field select,#followup-form .field textarea{font-size:16px;min-height:45px}.field small,.note-help{font-size:13px;line-height:1.6;font-weight:400}.simulator-panel .panel-head h2{font-size:16px}.simulator-panel .form-grid{gap:0 18px}.linked-lead{background:#f5f0df;border:1px solid #e8ddbc;color:#69562c;padding:11px 13px;border-radius:8px;display:flex;justify-content:space-between;align-items:center;font-size:14px;margin-bottom:18px}.block{display:block;margin-top:4px}
.simulation-result{position:sticky;top:24px;overflow:hidden;border-top:3px solid var(--gold)}.simulation-result .panel-body{padding:24px}.simulation-hero{padding:25px 20px;background:linear-gradient(120deg,#142536,#29465b);border-radius:11px;margin-bottom:22px;color:white}.simulation-hero span,.investment-outcome span{font-size:14px;display:block}.simulation-hero strong,.investment-outcome strong{font-size:clamp(25px,2.3vw,34px);display:block;letter-spacing:-1px;margin:9px 0;overflow-wrap:anywhere}.simulation-hero small{color:#d6c18c;font-size:14px}.result-details{margin:0}.result-details>div{display:flex;justify-content:space-between;gap:20px;padding:11px 0;border-bottom:1px solid var(--line);font-size:14px}.result-details dt{color:var(--muted);line-height:1.5}.result-details dd{font-weight:650;margin:0;text-align:right;white-space:nowrap}.result-details>div:last-child{border-bottom:0}.simulation-result-actions{padding:0 24px;display:grid;gap:10px}.simulation-result-actions button{min-height:46px;font-size:15px}.simulation-disclaimer{padding:15px 24px 20px;margin:0;color:var(--muted);font-size:13px;line-height:1.7}.sim-empty{padding:20px 0;text-align:center;color:var(--muted);min-height:210px}.sim-empty-icon{font-size:38px;display:block;color:var(--gold);margin-bottom:20px}.sim-empty strong{display:block;color:var(--navy);font-size:17px}.sim-empty p{font-size:14px}.investment-outcome{padding:19px;background:#eef7f0;border:1px solid #cce6d2;border-radius:9px;color:#225c36;margin-top:22px;margin-bottom:14px}.investment-outcome small{color:inherit;font-size:13px}.investment-outcome.negative{background:#fff0ee;border-color:#f0c8c2;color:#98452f}.simulation-history{margin-top:12px}.simulation-history td{font-size:14px;padding:17px 20px}.simulation-history th{font-size:13px}
.rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.rules-permission{padding:22px;margin-bottom:22px}.checkbox-field{display:flex;align-items:flex-start;gap:13px;font-size:14px;line-height:1.6;font-weight:500}.checkbox-field input{width:18px;height:18px;margin-top:3px;accent-color:var(--gold);flex-shrink:0}.checkbox-field small{display:block;font-size:14px;font-weight:400;line-height:1.6;margin-top:4px}.rules-card .panel-body{padding:22px}.rules-save{padding:20px;margin-top:22px;display:flex;gap:20px;justify-content:space-between;align-items:center;flex-wrap:wrap}.rules-save .form-feedback{width:100%;margin:0}.rules-save span{font-size:14px}.rules-save button{font-size:15px;min-height:44px}
.followup-team{margin-bottom:24px}.followup-team th{font-size:13px}.followup-team td{font-size:15px}.followup-team .lead-name{font-size:15px}.followup-tabs{display:flex;gap:8px;flex-wrap:wrap}.followup-tabs button{font-size:14px;min-height:43px}.followup-list .filters{flex-wrap:wrap}.followup-list input.search{min-width:200px;flex:1;font-size:15px}.followup-row{padding:23px;display:flex;align-items:flex-start;gap:24px;border-top:1px solid var(--line)}.followup-row-main{flex:1;min-width:0}.followup-title{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.followup-title .lead-name{font-size:16px;white-space:normal;line-height:1.6;text-align:left}.followup-title .pill{flex-shrink:0;font-size:13px;min-height:26px}.alert-pill{background:#fff0ee;color:#9a3d29}.followup-meta{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:14px;color:var(--muted);margin-top:9px}.followup-meta .pill{font-size:13px}.followup-summary{font-size:15px;line-height:1.7;margin:13px 0;white-space:pre-wrap;overflow-wrap:anywhere}.followup-dates{display:flex;gap:8px 23px;flex-wrap:wrap;color:var(--muted);font-size:13px}.followup-actions{display:grid;gap:10px;min-width:170px}.followup-actions button{font-size:14px;min-height:44px}.lead-followup{margin:15px 0 26px;padding:20px;background:#faf8f0;border:1px solid #e5d9b5;border-radius:12px}.lead-followup .section-label{font-size:13px;margin-top:0}.followup-current{font-size:14px;padding:15px;background:white;border-radius:8px;margin:15px 0 20px}.followup-current p{margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere}.followup-current small{font-size:13px}.lead-followup .primary{font-size:14px;min-height:44px;margin-top:12px}.attention-strip{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 24px;margin-bottom:22px;border-left:3px solid var(--gold)}.attention-strip h2{font-size:16px;margin-bottom:8px}.attention-strip p{margin:0;font-size:14px;color:var(--muted)}.attention-strip button{font-size:14px;min-height:43px;white-space:nowrap}.primary:active,.secondary:active{transform:translateY(1px)}
[data-theme=dark] .modality-tab{background:#1b3042;border-color:#35495b;color:#e4ebf0}[data-theme=dark] .modality-tab.selected,[data-theme=dark] .followup-tabs .selected{background:#d1b46a;color:#142536;border-color:#d1b46a}[data-theme=dark] .linked-lead,[data-theme=dark] .lead-followup{background:#2d2c24;border-color:#5d5031;color:#dfcd9a}[data-theme=dark] .followup-current{background:#1b3042;color:#e4ebf0}[data-theme=dark] .sim-empty strong{color:#e4ebf0}[data-theme=dark] .investment-outcome{background:#193c31;border-color:#32684e;color:#a6d9b7}[data-theme=dark] .investment-outcome.negative,[data-theme=dark] .alert-pill{background:#432922;border-color:#704738;color:#edb6a6}
@media(max-width:1150px){.simulation-layout{grid-template-columns:minmax(0,1fr) 320px;gap:18px}.simulator-panel .form-grid{grid-template-columns:1fr}.rules-grid{grid-template-columns:1fr}.followup-row{gap:16px}.followup-title{flex-wrap:wrap}.followup-actions{min-width:145px}}
@media(max-width:900px){.simulation-layout{grid-template-columns:1fr}.simulation-result{position:static}.simulator-panel .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.followup-row{flex-direction:column}.followup-actions{display:flex;width:100%;flex-wrap:wrap}.followup-actions button{flex:1}.attention-strip{align-items:flex-start;flex-direction:column}.modality-tab{padding:12px 18px}}
@media(max-width:580px){.modality-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.modality-tab{font-size:14px;padding:12px}.simulator-panel .panel-head{align-items:flex-start;gap:12px;flex-wrap:wrap}.simulator-panel .panel-head h2{font-size:15px;margin:0}.simulator-panel .panel-head .ghost{font-size:13px}.simulator-panel .form-grid,.rules-card .form-grid{grid-template-columns:1fr}.simulation-history .table-wrap,.followup-team .table-wrap{max-width:100%;overflow-x:auto}.followup-row{padding:18px}.followup-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.followup-tabs button{font-size:13px}.followup-list .filter{max-width:100%;width:100%}.followup-list input.search{width:100%;min-width:0}.followup-dates{flex-direction:column;gap:9px}.followup-meta{gap:8px}.lead-followup{padding:15px}.rules-save button{width:100%}.attention-strip{padding:18px}.result-details>div{gap:12px}.result-details dt{font-size:14px}.result-details dd{font-size:14px}.rules-grid{gap:18px}.rules-card .panel-body{padding:18px}.modality-tabs,.simulation-layout,.rules-grid,.followup-list{min-width:0;max-width:100%}.sidebar .brand{margin-bottom:18px}}
@media(prefers-reduced-motion:reduce){.modality-tab:hover,.primary:active,.secondary:active{transform:none}}

.brand-wordmark{display:block;width:170px;height:auto;object-fit:contain}.sidebar .brand{padding:4px 15px 20px;margin-bottom:16px}.brand-logo,.brand-logo-large{width:265px;height:auto;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:visible}.brand-logo img{display:block;width:100%;height:auto;position:static;max-width:100%}.sidebar{overflow-y:auto}.sidebar nav{display:grid;gap:4px}.nav-button{font-size:12px;min-height:44px;transition:background .16s ease,color .16s ease}.sidebar-bottom{margin-top:24px}.primary,.secondary,.ghost{transition:background .16s ease,border-color .16s ease,box-shadow .16s ease}.primary:hover{box-shadow:0 5px 14px #14253618}.panel,.metric{border-radius:16px}.page-head h1{letter-spacing:-.8px}.simulation-result{box-shadow:0 8px 30px #14253608}.simulator-panel .panel-head{background:linear-gradient(100deg,#b5974708,transparent)}
.proposal-dialog{padding:0;width:min(1120px,calc(100vw - 32px));max-width:1120px;max-height:94svh;background:#eff2f4;color:#142536;border:0}.proposal-toolbar{position:sticky;top:0;z-index:2;background:#142536;color:white;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 24px}.proposal-toolbar>div:last-child{display:flex;align-items:center;gap:15px}.proposal-toolbar small{display:block;color:#b9c7d2;font-size:11px;margin-top:5px}.proposal-toolbar .primary{background:#d1b46c;color:#142536;font-size:13px}.proposal-toolbar .close{color:white;background:transparent}.proposal-paper{margin:25px auto;padding:35px 42px;background:white;width:calc(100% - 48px);max-width:970px;border-radius:18px;color:#142536;box-shadow:0 8px 35px #14253607;font-size:14px}.proposal-brand{display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #e7ebee;padding-bottom:22px}.proposal-brand img{width:180px;height:110px;object-fit:contain}.proposal-brand>div{text-align:right;font-size:12px}.proposal-brand small{display:block;color:#6b7785;margin-top:7px;font-size:10px}.proposal-hero{display:grid;grid-template-columns:1.15fr 1fr;gap:35px;align-items:center;padding:28px 0}.proposal-hero h2{font-size:30px;line-height:1.23;letter-spacing:-.8px;margin:12px 0 22px;font-weight:600}.proposal-hero p{font-size:17px;margin:0 0 9px}.proposal-hero small{color:#6b7785;font-size:11px}.proposal-hero>img{width:100%;aspect-ratio:1.5;object-fit:cover;border-radius:15px}.proposal-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:4px 0 27px}.proposal-tile{padding:20px;background:#f6f7f8;border:1px solid #e7ebee;border-radius:12px;min-width:0}.proposal-tile small{display:block;color:#6b7785;font-size:11px;margin-bottom:9px}.proposal-tile strong{font-size:22px;font-weight:600;letter-spacing:-.5px;display:block}.proposal-tile span{font-size:10px;color:#6b7785;display:block;margin-top:8px;line-height:1.5}.proposal-section-title{font-size:17px;margin:25px 0 18px;font-weight:500}.proposal-cards{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:22px}.proposal-card{border:1px solid #e5e9ec;border-radius:13px;padding:22px;min-width:0}.proposal-card.accent{background:#fbf8ee;border-color:#e7dcbc}.proposal-card h3{font-size:17px;margin:10px 0 22px}.proposal-detail{display:flex;justify-content:space-between;align-items:baseline;gap:18px;border-top:1px solid #e7ebee;padding:12px 0;font-size:11px}.proposal-detail span{color:#6b7785;max-width:65%}.proposal-detail b{text-align:right;font-size:12px;font-weight:600}.proposal-chart{border:1px solid #e5e9ec;padding:22px;border-radius:13px;margin:20px 0}.proposal-chart h3{font-size:16px;margin:0 0 18px}.evolution-chart{display:block;width:100%;height:auto;max-height:220px;overflow:visible}.chart-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:11px;margin-bottom:10px;color:#6b7785}.chart-legend span{display:flex;gap:6px;align-items:center}.chart-legend i{width:9px;height:9px;border-radius:3px}.proposal-total{background:#142536;border-radius:13px;padding:22px;color:white;display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between}.proposal-total>strong{font-size:24px;color:#e0c984}.proposal-total small{width:100%;color:#b9c7d2;font-size:10px}.proposal-premises{margin:24px 0;font-size:12px}.proposal-premises summary{cursor:pointer;font-weight:600;padding:12px 0}.proposal-premises .proposal-cards{margin:12px 0 0}.proposal-notes{background:#f6f7f8;border-radius:13px;padding:20px;margin-top:22px}.proposal-notes h3{margin:0;font-size:15px}.proposal-notes p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:12px}.proposal-footer{border-top:1px solid #e7ebee;margin-top:28px;padding-top:23px}.proposal-footer>strong{font-size:17px;font-weight:500}.proposal-footer p{font-size:10px;line-height:1.75;color:#6b7785;margin:13px 0}.proposal-footer small{color:#6b7785;font-size:9px}.proposal-investment{background:#f6f8f7;border:1px solid #e0e7e2;padding:22px;border-radius:13px;margin:22px 0}.proposal-investment h3{font-size:19px;margin:10px 0}.proposal-investment p{font-size:11px;line-height:1.7;color:#6b7785}.proposal-investment .proposal-kpis{margin:20px 0 15px}.cost-donut{text-align:center;font-size:12px}.cost-donut svg{width:125px;max-width:100%;display:block;margin:auto}.cost-donut small{display:block;color:#6b7785;margin-top:4px}.cost-donut-wrap{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
html[data-theme=dark] .simulator-panel .panel-head{background:linear-gradient(100deg,#d1b46a10,transparent)}html[data-theme=dark] .proposal-dialog{background:#eff2f4;color:#142536}html[data-theme=dark] .proposal-dialog .eyebrow{color:#947531}html[data-theme=dark] .proposal-dialog .close{color:white}html[data-theme=dark] .proposal-dialog .primary{background:#d1b46c;color:#142536}
@media(max-width:760px){.brand-logo-large{width:190px}.sidebar .brand-wordmark{width:170px}.proposal-dialog{width:calc(100vw - 16px);max-height:96svh}.proposal-toolbar{padding:14px 16px}.proposal-toolbar strong{font-size:12px}.proposal-toolbar .primary{padding:10px;font-size:12px}.proposal-paper{width:calc(100% - 24px);padding:22px 18px;margin:12px auto}.proposal-brand{gap:12px;padding-bottom:16px}.proposal-brand img{width:130px;height:80px}.proposal-brand>div{font-size:10px}.proposal-brand small{font-size:9px}.proposal-hero{grid-template-columns:1fr;gap:20px;padding:22px 0}.proposal-hero h2{font-size:25px;margin-bottom:15px}.proposal-hero>img{max-height:185px}.proposal-kpis{grid-template-columns:1fr;gap:9px}.proposal-tile{padding:16px}.proposal-tile strong{font-size:23px}.proposal-cards{grid-template-columns:1fr;gap:12px}.proposal-card{padding:18px}.proposal-detail{font-size:12px}.proposal-detail b{font-size:12px}.proposal-total{padding:18px}.proposal-total span{font-size:12px}.proposal-premises .proposal-cards{gap:0}.proposal-chart{padding:15px}.cost-donut-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}}
.comparison-intro{display:flex;justify-content:space-between;gap:25px;align-items:center;padding:25px 28px;margin-bottom:24px;overflow:hidden;background:linear-gradient(100deg,#f8f4e8,#fff)}.comparison-intro h2{font-size:25px;font-weight:500;margin:10px 0;letter-spacing:-.5px}.comparison-intro p{color:var(--muted);font-size:13px;line-height:1.6;margin:0}.comparison-intro img{width:180px;height:105px;object-fit:cover;border-radius:12px}.comparator-objective{margin-bottom:20px}.comparator-objective .panel-body{padding:22px}.comparison-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}.comparator-panel .panel-body{padding:22px}.comparator-panel .field{font-size:13px}.comparison-advanced{margin-top:20px}.comparison-advanced summary{cursor:pointer;font-size:13px;padding:12px 0;color:var(--muted)}.comparison-advanced .form-grid{margin-top:12px}.comparison-financed{padding:20px;background:#f6f7f8;border-radius:10px;margin:22px 0;font-size:12px;color:var(--muted)}.comparison-financed strong{display:block;font-size:26px;color:var(--navy);margin-top:8px;font-weight:550}.comparison-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.comparison-columns.three{grid-template-columns:repeat(3,minmax(0,1fr))}.comparison-column{padding:22px;border:1px solid var(--line);border-radius:14px;min-width:0}.comparison-column h3{font-size:20px;font-weight:550;margin:10px 0 22px}.comparison-column.consortium-column{border-color:#dbc58c;background:#fbf8ee}.comparison-total{font-size:clamp(20px,2.15vw,29px);letter-spacing:-.7px;display:block;font-weight:550;margin-bottom:7px}.comparison-column>small{color:var(--muted);font-size:11px;display:block;margin-bottom:25px}.comparison-column .cost-donut{margin-top:16px}.comparison-column .proposal-detail{font-size:12px}.comparison-timeline{margin-top:25px;padding:25px 22px;border:1px solid var(--line);border-radius:14px}.comparison-timeline>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:15px}.comparison-timeline h3{font-size:16px;font-weight:500;margin:0}.comparison-timeline>div>span{font-size:13px;color:var(--gold);font-weight:600}.comparison-timeline input{width:100%;margin:24px 0 15px;accent-color:var(--gold);cursor:pointer;min-height:26px}.comparison-timeline .evolution-chart{margin-top:22px}.comparison-notices{font-size:12px;line-height:1.8;color:var(--muted);margin:24px 0}.comparison-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}.comparison-actions button{font-size:14px;min-height:44px}.comparison-history{margin-top:24px}.comparison-history td{font-size:13px}.comparison-history .secondary{white-space:nowrap}#comparison-results>.panel-body{padding:25px}#comparison-month-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}#comparison-month-values>div{background:#f6f7f8;padding:14px;border-radius:9px}#comparison-month-values span{display:block;color:var(--muted);font-size:11px}#comparison-month-values b{font-size:16px;display:block;margin-top:7px;font-weight:550}.financing-rules{margin-top:45px}.financing-rules .page-head h2{font-weight:550}.proposal-paper .comparison-column{border-color:#e5e9ec}.proposal-paper .comparison-column>small,.proposal-paper .comparison-column .eyebrow{color:#6b7785}.proposal-paper .comparison-total{font-size:23px}.proposal-premises ul{padding-left:18px;color:#6b7785;font-size:10px;line-height:1.8}.proposal-premises li{padding:5px 0}
html[data-theme=dark] .comparison-intro{background:linear-gradient(100deg,#2e2b21,#152435)}html[data-theme=dark] .comparison-financed,html[data-theme=dark] #comparison-month-values>div{background:#1c2e42}html[data-theme=dark] .comparison-financed strong{color:#e7eef6}html[data-theme=dark] .comparison-column.consortium-column{background:#302b1f;border-color:#665735}html[data-theme=dark] .comparison-column .proposal-detail{border-color:#314153}html[data-theme=dark] .comparison-column .proposal-detail span{color:#aab9c8}html[data-theme=dark] .proposal-paper .comparison-column.consortium-column{background:#fbf8ee;border-color:#dbc58c}html[data-theme=dark] .proposal-paper .comparison-column .proposal-detail{border-color:#e7ebee}html[data-theme=dark] .proposal-paper .comparison-column .proposal-detail span{color:#6b7785}
@media(max-width:1150px){.comparison-fields .form-grid{grid-template-columns:1fr}.comparison-columns.three{gap:10px}.comparison-column{padding:17px}.comparison-column .proposal-detail{flex-wrap:wrap;gap:7px}.comparison-column .proposal-detail b{text-align:left}.comparison-total{font-size:21px}}@media(max-width:900px){.comparison-fields{grid-template-columns:1fr}.comparison-fields .form-grid{grid-template-columns:1fr 1fr}.comparison-columns.three{grid-template-columns:1fr}.comparison-column .proposal-detail{flex-wrap:nowrap}.comparison-column .proposal-detail b{text-align:right}.comparison-column .cost-donut svg{width:100px}.comparison-total{font-size:27px}}@media(max-width:580px){.comparison-intro{padding:20px;gap:14px}.comparison-intro img{width:95px;height:100px}.comparison-intro h2{font-size:20px}.comparison-intro p{font-size:11px}.comparison-fields .form-grid,.comparator-objective .form-grid{grid-template-columns:1fr}.comparison-columns{grid-template-columns:1fr}.comparator-panel .panel-body{padding:18px}#comparison-results>.panel-body{padding:17px}.comparison-timeline{padding:17px}.comparison-actions button{width:100%}#comparison-month-values{grid-template-columns:1fr}#comparison-month-values>div{display:flex;justify-content:space-between;gap:12px;align-items:center}#comparison-month-values b{font-size:14px;margin:0}.proposal-paper .comparison-columns.three{grid-template-columns:1fr}.proposal-paper .comparison-total{font-size:23px}}

.sidebar .brand-logo{width:170px;height:auto}

.sidebar .brand-logo img,.login-intro .brand-logo img{filter:invert(1) hue-rotate(180deg)}

.money-input{font-variant-numeric:tabular-nums;}
button{transition:transform .14s ease,box-shadow .14s ease,background-color .14s ease;}
button:not(:disabled):active{transform:scale(.975);}
.button-clicked{animation:startcon-button-press .24s ease;}
.button-loading{display:inline-flex;align-items:center;justify-content:center;gap:.55rem;cursor:progress;}
.button-spinner{display:inline-block;flex:0 0 auto;width:1em;height:1em;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:startcon-button-spin .7s linear infinite;}
@keyframes startcon-button-spin{to{transform:rotate(360deg);}}
@keyframes startcon-button-press{0%{transform:scale(1)}45%{transform:scale(.965)}100%{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){button{transition:none;}button:not(:disabled):active{transform:none;}.button-clicked{animation:none;}.button-spinner{animation:none;border-right-color:currentColor;opacity:.65;}}

.proposal-card.accent{color:#142536}.proposal-paper :is(h2,h3,strong,b){color:inherit}.proposal-paper .proposal-card.accent :is(h3,b){color:#142536}.benefit-hero{border-radius:16px;padding:27px;margin:25px 0;border:1px solid #c9e2d4;background:#edf7f0;color:#175337}.benefit-hero h3{font-size:22px;letter-spacing:-.5px;margin:12px 0 18px;font-weight:550}.benefit-hero .eyebrow{color:#347b54}.benefit-main{display:flex;align-items:baseline;gap:20px;flex-wrap:wrap;margin-bottom:14px}.benefit-main>strong{font-size:clamp(30px,4vw,46px);font-weight:650;letter-spacing:-1px;line-height:1.2}.benefit-main>span{font-size:15px;font-weight:600}.benefit-hero>p{font-size:12px;line-height:1.8;margin:0 0 20px}.benefit-cash{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.benefit-cash>div{padding:19px;background:#ffffffb8;border:1px solid #c9e2d4;border-radius:11px}.benefit-cash span{font-size:11px;display:block;color:#496252}.benefit-cash b{font-size:21px;display:block;margin-top:10px;font-weight:600;letter-spacing:-.4px}.benefit-cash small{display:block;font-size:10px;line-height:1.6;color:#496252;margin-top:9px}.benefit-hero .benefit-note{font-size:10px;line-height:1.8;margin:18px 0 12px}.benefit-debt{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:11px;line-height:1.6;border-top:1px solid #c9e2d4;padding-top:15px}.benefit-negative{background:#fff0ed;border-color:#e8c6bf;color:#9c3d2d}.benefit-negative .eyebrow{color:#9c3d2d}.benefit-negative .benefit-cash>div{border-color:#e8c6bf}.benefit-negative .benefit-debt{border-color:#e8c6bf}.benefit-neutral{background:#f4f6f7;border-color:#dce3e7;color:#334c61}.savings-hero{padding:25px;border:1px solid #d5e5dc;border-radius:16px;margin:0 0 25px;background:#f6faf7;color:#142536}.savings-hero h3{font-size:23px;font-weight:550;letter-spacing:-.5px;margin:11px 0 22px}.savings-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.saving-option{padding:23px;border-radius:12px;border:1px solid #c9e2d4}.saving-option.benefit-positive{background:#e4f3e9;color:#175337}.saving-option>span{display:block;font-size:12px;font-weight:550}.saving-option strong{display:block;font-size:clamp(25px,3.2vw,38px);letter-spacing:-1px;margin:15px 0 10px;font-weight:650}.saving-option b{font-size:14px;display:block}.saving-option small{display:block;font-size:10px;line-height:1.7;margin-top:14px;color:inherit;opacity:.82}.savings-hero>p{font-size:10px;line-height:1.8;color:#6b7785;margin:20px 0 0}.benefit-compare-note{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:20px}.simulation-result .benefit-hero{padding:18px;margin:18px 0}.simulation-result .benefit-hero h3{font-size:18px}.simulation-result .benefit-main>strong{font-size:31px}.simulation-result .benefit-main>span{font-size:12px}.simulation-result .benefit-cash{grid-template-columns:1fr}.simulation-result .benefit-cash>div{padding:14px}.simulation-result .benefit-cash b{font-size:20px}.simulation-result .benefit-hero .benefit-note{font-size:11px}.simulation-result .benefit-debt{font-size:11px}
.budget-options{border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.budget-options h3{font-size:15px;font-weight:550;margin:0 0 8px}.budget-options>p{font-size:12px;line-height:1.7;color:var(--muted);margin-bottom:18px}.budget-option{width:100%;display:flex;flex-direction:column;text-align:left;padding:17px;border:1px solid var(--line);border-radius:10px;background:#f8fafb;margin-bottom:10px;color:#142536;position:relative;gap:8px}.budget-option.selected{border-color:#b59747;background:#fbf8ee;box-shadow:0 0 0 1px #b5974733}.budget-option.selected:after{content:'✓';position:absolute;top:15px;right:15px;color:#947531}.budget-option strong{font-size:21px;font-weight:600}.budget-option span{font-size:12px;color:#5d7081}.budget-option small{font-size:10px;line-height:1.65;color:#6b7785}.budget-option .budget-label{font-size:9px;font-weight:650;letter-spacing:.8px;color:#947531}.budget-option:disabled{opacity:.7;cursor:wait}.budget-note{margin:12px 0!important;font-size:11px!important}
.proposal-feedback{background:#fff0ed;color:#9c3d2d;border-top:1px solid #e8c6bf;margin:0;padding:12px 24px;font-size:13px;line-height:1.6}.proposal-feedback:empty{display:none}.proposal-ready-download{display:inline-block;color:#175337;background:#edf7f0;border:1px solid #c9e2d4;border-radius:8px;padding:10px 14px;margin-top:8px;font-weight:600;text-decoration:underline}.proposal-photo-fallback{display:grid;place-items:center;min-height:180px;border:1px solid #e5e9ec;border-radius:15px;background:#f6f7f8;color:#6b7785;font-size:14px}.proposal-hero>img[hidden]{display:none}
html[data-theme=dark] .proposal-paper .proposal-card.accent{color:#142536}html[data-theme=dark] .budget-option{background:#1c2e42;border-color:#314153;color:#e7eef6}html[data-theme=dark] .budget-option.selected{background:#302b1f;border-color:#d1b46c}html[data-theme=dark] .budget-option span,html[data-theme=dark] .budget-option small{color:#b7c6d5}html[data-theme=dark] .budget-option .budget-label{color:#dfc480}html[data-theme=dark] #comparison-results .savings-hero{background:#163126;border-color:#325841;color:#e0efe6}html[data-theme=dark] #comparison-results .saving-option.benefit-positive{background:#1a4430;border-color:#39764e;color:#a6e2b8}html[data-theme=dark] #comparison-results .savings-hero>p{color:#b9cdc1}html[data-theme=dark] .simulation-result .benefit-hero{background:#173827;color:#a6e2b8;border-color:#39764e}html[data-theme=dark] .simulation-result .benefit-cash>div{background:#123021;border-color:#39764e}html[data-theme=dark] .simulation-result .benefit-cash span,html[data-theme=dark] .simulation-result .benefit-cash small{color:#b9cdc1}html[data-theme=dark] .simulation-result .benefit-hero.benefit-negative{background:#432922;color:#edb6a6;border-color:#704738}html[data-theme=dark] .simulation-result .benefit-negative .benefit-cash>div{background:#38241f;border-color:#704738}html[data-theme=dark] .proposal-dialog .proposal-feedback{background:#fff0ed;color:#9c3d2d}
@media(max-width:760px){.benefit-hero,.savings-hero{padding:20px}.benefit-cash,.savings-options{grid-template-columns:1fr}.benefit-hero h3,.savings-hero h3{font-size:20px}.benefit-main>strong{font-size:33px}.saving-option strong{font-size:31px}.saving-option{padding:20px}.benefit-cash b{font-size:22px}.proposal-feedback{padding:12px 16px}.benefit-main{gap:10px}.benefit-main>span{font-size:13px}}

/* StartCon: layered navy / gold glass. Append after existing CRM styles.
   Only 3 surfaces blur: application frame, topbar and open working dialogs.
   Client proposal / PDF paper is intentionally outside these selectors. */
:root {
  --glass-bg: #edf1f5;
  --glass-shell: rgba(249, 251, 253, .78);
  --glass-panel: rgba(255, 255, 255, .78);
  --glass-inset: rgba(238, 242, 246, .8);
  --glass-control: rgba(255, 255, 255, .86);
  --glass-border: rgba(37, 62, 82, .12);
  --glass-shine: rgba(255, 255, 255, .88);
  --glass-text: #193044;
  --glass-muted: #596c7d;
  --glass-accent: #b59747;
  --glass-accent-soft: rgba(181, 151, 71, .13);
  --glass-shadow: 0 16px 44px rgba(15, 33, 49, .045);
  --glass-focus: #856826;
  --glass-frame-gap: 20px;
  --glass-sidebar-width: 242px;
  --glass-radius: 20px;
}
html[data-theme=dark] {
  --glass-bg: #08121d;
  --glass-shell: rgba(11, 23, 35, .88);
  --glass-panel: rgba(21, 36, 51, .78);
  --glass-inset: rgba(10, 23, 36, .64);
  --glass-control: rgba(16, 30, 45, .9);
  --glass-border: rgba(189, 210, 226, .13);
  --glass-shine: rgba(216, 232, 244, .065);
  --glass-text: #edf3f8;
  --glass-muted: #adbecd;
  --glass-accent: #d1b46c;
  --glass-accent-soft: rgba(209, 180, 108, .12);
  --glass-shadow: 0 14px 42px rgba(0, 6, 13, .17);
  --glass-focus: #dfc27b;
}
html { background: var(--glass-bg); }
html body {
  color: var(--glass-text);
  background:
    radial-gradient(ellipse 68% 54% at 0% 0%, rgba(181, 151, 71, .15), transparent 70%),
    radial-gradient(ellipse 50% 60% at 100% 20%, rgba(86, 124, 153, .1), transparent 72%),
    var(--glass-bg);
  background-attachment: fixed;
}
html[data-theme=dark] body {
  background:
    radial-gradient(ellipse 66% 57% at -5% -8%, rgba(167, 136, 55, .16), transparent 70%),
    radial-gradient(ellipse 58% 62% at 100% 35%, rgba(40, 77, 110, .18), transparent 70%),
    var(--glass-bg);
}
html .app {
  --muted: var(--glass-muted);
  --line: var(--glass-border);
  display: grid;
  grid-template-columns: var(--glass-sidebar-width) minmax(0, 1fr);
  width: calc(100% - 2 * var(--glass-frame-gap));
  max-width: 1720px;
  margin: var(--glass-frame-gap) auto;
  min-height: calc(100dvh - 2 * var(--glass-frame-gap));
  background: var(--glass-shell);
  border: 1px solid var(--glass-border);
  border-radius: 27px;
  box-shadow: 0 28px 95px rgba(10, 28, 43, .07), inset 0 1px 0 var(--glass-shine);
  color: var(--glass-text);
  font-size: 16px;
  isolation: isolate;
}
html[data-theme=dark] .app { box-shadow: 0 28px 90px rgba(0, 5, 13, .3), inset 0 1px 0 var(--glass-shine); }
html .app .main { background: transparent; min-width: 0; color: var(--glass-text); }
html .app .sidebar {
  width: var(--glass-sidebar-width);
  inset: 21px auto 21px max(21px, calc((100vw - 1720px) / 2 + 1px));
  padding: 25px 16px 21px;
  max-height: calc(100dvh - 42px);
  border-radius: 26px 0 0 26px;
  border-right: 1px solid rgba(219, 234, 245, .08);
  background: linear-gradient(155deg, rgba(26, 45, 62, .97), rgba(13, 28, 43, .97));
  color: #eef3f8;
  scrollbar-width: thin;
}
html[data-theme=dark] .app .sidebar { background: linear-gradient(155deg, rgba(16, 30, 43, .92), rgba(8, 20, 32, .94)); }
html .app .sidebar .brand { margin-bottom: 23px; padding: 2px 14px 15px; }
html .app .sidebar .brand-logo { width: 170px; max-width: 100%; }
html .app .nav-label { font-size: 12px; letter-spacing: 1.7px; color: #a0b2c2; margin-bottom: 13px; }
html .app .sidebar nav { gap: 6px; }
html .app .nav-button {
  border: 1px solid transparent;
  border-radius: 12px;
  color: #b9c8d4;
  font-size: 14px;
  min-height: 46px;
  line-height: 1.4;
  padding: 11px 12px;
  gap: 11px;
  white-space: normal;
  box-shadow: none;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}
html .app .nav-button svg { width: 18px; height: 18px; flex: 0 0 auto; }
html .app .nav-button.active {
  color: #f8efd7;
  background: linear-gradient(110deg, rgba(181, 151, 71, .28), rgba(181, 151, 71, .08));
  border-color: rgba(207, 177, 100, .27);
  box-shadow: inset 0 1px 0 rgba(234, 211, 152, .1);
}
html .app .nav-button.active svg { color: #ddc27c; }
html .app .nav-button:not(:disabled):hover { background: rgba(225, 237, 246, .055); border-color: rgba(217, 231, 242, .1); color: #fff; }
html .app .nav-button.active:not(:disabled):hover { background: linear-gradient(110deg, rgba(181, 151, 71, .35), rgba(181, 151, 71, .13)); border-color: rgba(207, 177, 100, .4); }
html .app .sidebar-bottom { margin-top: 23px; padding: 18px 8px 0; border-color: rgba(211, 227, 239, .1); }
html .app .user-block { align-items: center; gap: 12px; margin-bottom: 16px; }
html .app .sidebar .avatar { width: 39px; height: 39px; background: rgba(173, 199, 220, .12); color: #e6d49c; border: 1px solid rgba(203, 222, 235, .1); font-size: 13px; }
html .app .user-block strong { font-size: 14px; font-weight: 650; }
html .app .user-block small { font-size: 12px; line-height: 1.55; color: #a8b9c8; }
html .app .sidebar-bottom .ghost { font-size: 13px; color: #c5d1db; min-height: 40px; border-radius: 10px; }
html .app .sidebar-bottom .ghost:not(:disabled):hover { background: rgba(227, 238, 247, .07); color: #fff; }
html .app .topbar {
  height: auto;
  min-height: 82px;
  padding: 18px clamp(20px, 2.2vw, 37px);
  border-bottom: 1px solid var(--glass-border);
  border-radius: 0 26px 0 0;
  background: rgba(255, 255, 255, .25);
  color: var(--glass-text);
  gap: 20px;
}
html[data-theme=dark] .app .topbar { background: rgba(16, 29, 43, .34); }
html .app .breadcrumb { font-size: 13px; line-height: 1.6; color: var(--glass-muted); }
html .app .breadcrumb b { color: var(--glass-text); font-weight: 550; }
html .app .top-right { gap: 16px; font-size: 12px; color: var(--glass-muted); }
html .app .connection-label { font-size: 12px; white-space: nowrap; }
html .app .live-dot { width: 7px; height: 7px; box-shadow: 0 0 0 3px rgba(47, 158, 121, .1); }
html .app .new-lead-button { min-height: 43px; font-size: 14px; border-radius: 12px; padding: 10px 16px; }
html .app .content { padding: 30px clamp(20px, 2.2vw, 37px) 38px; max-width: 1480px; min-width: 0; }
html .app .page-head { gap: 20px; align-items: center; margin-bottom: 25px; }
html .app .page-head h1 { font-size: clamp(25px, 2.35vw, 33px); line-height: 1.25; color: var(--glass-text); font-weight: 630; letter-spacing: -1.05px; margin-bottom: 9px; }
html .app .page-head p { font-size: 14px; color: var(--glass-muted); line-height: 1.6; max-width: 740px; }
html .app :is(.page-head .primary, .page-head .secondary, .panel-head button) { font-size: 14px; }
html .app :is(.panel, .metric, .kanban-card) {
  background: var(--glass-panel);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  color: var(--glass-text);
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-shine);
}
html .app .panel-head {
  padding: 21px 23px;
  border-bottom-color: var(--glass-border);
  gap: 15px;
  background: linear-gradient(110deg, var(--glass-accent-soft), transparent 55%);
}
html .app .panel-head h2 { color: var(--glass-text); font-size: 16px; font-weight: 600; line-height: 1.5; }
html .app .panel-body { padding: 23px; }
html .app .metrics { gap: 17px; margin-bottom: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
html .app .metric { padding: 22px; min-width: 0; min-height: 152px; }
html .app .metric.warm { border-top: 1px solid var(--glass-border); background: linear-gradient(125deg, var(--glass-accent-soft), transparent 65%), var(--glass-panel); }
html .app .metric-label { font-size: 13px; line-height: 1.5; color: var(--glass-muted); padding-right: 29px; }
html .app .metric-value { font-size: clamp(28px, 2.5vw, 37px); font-weight: 600; letter-spacing: -1.1px; color: var(--glass-text); margin: 22px 0 7px; font-variant-numeric: tabular-nums; }
html .app .metric-foot { font-size: 12px; color: var(--glass-muted); line-height: 1.55; }
html .app .metric .icon { top: 20px; right: 17px; border-radius: 10px; background: var(--glass-accent-soft); color: var(--glass-accent); padding: 8px; }
html .app .dashboard-grid { grid-template-columns: minmax(0, 1.42fr) minmax(300px, 1fr); gap: 20px; align-items: stretch; }
html .app .dashboard-grid > .panel { min-width: 0; }
html .app .dashboard-grid > .panel:first-child { background: radial-gradient(ellipse 72% 56% at 0 0, var(--glass-accent-soft), transparent 80%), var(--glass-panel); }
html .app .pipeline-row { font-size: 14px; grid-template-columns: minmax(135px, .58fr) minmax(0, 1fr) 40px; gap: 17px; margin: 20px 0; }
html .app .pipeline-row b { color: var(--glass-text); font-size: 14px; font-variant-numeric: tabular-nums; }
html .app .bar-track { background: var(--glass-inset); height: 8px; border-radius: 20px; }
html .app .bar-fill { background: #718d9f; border-radius: 20px; }
html .app .pipeline-row:first-child .bar-fill { background: linear-gradient(90deg, #b59747, #dcc481); }
html[data-theme=dark] .app .bar-fill { background: #7c9aad; }
html .app .attention-strip { padding: 20px 23px; border-left: 1px solid var(--glass-border); background: linear-gradient(115deg, var(--glass-accent-soft), transparent 80%), var(--glass-panel); }
html .app .attention-strip h2 { font-size: 16px; line-height: 1.5; margin-bottom: 7px; }
html .app .attention-strip p { font-size: 14px; line-height: 1.65; }
html .app .attention-strip button { min-height: 44px; font-size: 14px; }
html .app .notice { border: 1px solid rgba(181, 151, 71, .22); border-radius: 15px; background: var(--glass-accent-soft); color: #775d24; padding: 18px 22px; }
html .app .notice :is(p, button) { font-size: 14px; }
html[data-theme=dark] .app .notice { color: #ead399; }
/* Working inputs use an opaque enough inner surface for dependable contrast. */
html :is(.app, .login, dialog:not(.proposal-dialog)) .field { font-size: 14px; line-height: 1.5; font-weight: 550; gap: 8px; }
html :is(.app, .login, dialog:not(.proposal-dialog)) :is(.field input, .field select, .field textarea, input.search, select.filter) {
  background: var(--glass-control);
  border: 1px solid var(--glass-border);
  color: var(--glass-text);
  font-size: 16px;
  min-height: 46px;
  border-radius: 11px;
  padding: 12px 13px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
html :is(.app, .login, dialog:not(.proposal-dialog)) :is(input, textarea)::placeholder { color: var(--glass-muted); opacity: .82; }
html :is(.app, .login, dialog:not(.proposal-dialog)) :is(.field input, .field select, .field textarea, input.search, select.filter):focus {
  outline: 2px solid var(--glass-focus);
  outline-offset: 2px;
  border-color: var(--glass-accent);
  box-shadow: none;
}
html :is(.app, .login, dialog:not(.proposal-dialog)) .field small { font-size: 12px; color: var(--glass-muted); line-height: 1.65; }
html .app .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html .app .search-wrap { min-width: min(230px, 100%); }
html .app .search-wrap svg { top: 15px; }
html .app .search-wrap input { padding-left: 39px; }
html .app .filters { padding: 17px 21px; gap: 10px; border-color: var(--glass-border); }
html .app .filter { font-size: 14px; max-width: 190px; }
html .app :is(.lead-name, .queue-name) { font-size: 14px; color: var(--glass-text); font-weight: 600; line-height: 1.5; }
html .app .lead-sub { font-size: 12px; line-height: 1.5; color: var(--glass-muted); }
html .app th { background: var(--glass-inset); border-color: var(--glass-border); color: var(--glass-muted); font-size: 12px; font-weight: 600; text-transform: none; letter-spacing: .025em; padding: 15px 20px; }
html .app td { color: var(--glass-muted); border-color: var(--glass-border); font-size: 14px; padding: 17px 20px; }
html .app tbody tr:hover { background: var(--glass-accent-soft); }
html .app .pill { border-radius: 8px; padding: 6px 9px; font-size: 12px; line-height: 1.4; }
html .app .pagination { border-top: 1px solid var(--glass-border); font-size: 13px; padding: 17px 21px; gap: 14px; flex-wrap: wrap; }
html .app .pagination button { font-size: 14px; min-height: 40px; border-radius: 10px; padding: 9px 13px; }
html .app .task-row { padding: 20px 23px; border-color: var(--glass-border); gap: 18px; }
html .app .task-row p { font-size: 14px; line-height: 1.6; }
html .app .task-time { font-size: 12px; line-height: 1.7; }
html .app .task-actions button { font-size: 13px; min-height: 39px; }
html .app .empty { padding: 35px 24px; color: var(--glass-muted); font-size: 14px; line-height: 1.8; }
html .app .empty strong { color: var(--glass-text); font-size: 16px; margin-bottom: 9px; }
html .app .footnote { font-size: 12px; color: var(--glass-muted); line-height: 1.8; }
html .app .kanban { gap: 16px; }
html .app .kanban-column { background: var(--glass-inset); border: 1px solid var(--glass-border); border-radius: 17px; padding: 14px; min-width: 280px; max-width: 280px; }
html .app .column-head { font-size: 14px; line-height: 1.5; gap: 9px; margin-bottom: 15px; }
html .app .column-head span { background: var(--glass-panel); color: var(--glass-muted); font-size: 12px; border: 1px solid var(--glass-border); border-radius: 7px; }
html .app .kanban-card { padding: 16px; border-radius: 13px; box-shadow: inset 0 1px 0 var(--glass-shine); }
html .app .kanban-card .lead-name { font-size: 14px; }
html .app .kanban-meta { font-size: 12px; flex-wrap: wrap; gap: 10px; }
html .app .kanban-more { font-size: 13px; line-height: 1.7; }
html .app .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html .app .team-card { padding: 23px; min-width: 0; }
html .app .team-card header h2 { font-size: 17px; }
html .app .team-card header small { font-size: 12px; line-height: 1.6; }
html .app .team-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; background: var(--glass-inset); padding: 17px; border: 1px solid var(--glass-border); border-radius: 12px; }
html .app .team-stats b { font-size: clamp(18px, 1.6vw, 24px); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
html .app .team-stats small { font-size: 12px; line-height: 1.6; }
html .app .followup-row { padding: 23px; gap: 22px; }
html .app .followup-current { background: var(--glass-control); border: 1px solid var(--glass-border); border-radius: 12px; }
html .app .followup-list input.search { min-width: min(230px, 100%); }
html .app .simulation-result { border-top: 1px solid var(--glass-border); }
html .app .simulation-hero { background: linear-gradient(130deg, #203b50, #142536); box-shadow: inset 0 1px 0 rgba(217, 234, 246, .12); border: 1px solid rgba(170, 202, 225, .1); border-radius: 15px; }
html .app .modality-tabs { gap: 9px; }
html .app .modality-tab { border-radius: 12px; border-color: var(--glass-border); background: var(--glass-control); color: var(--glass-text); min-height: 46px; font-size: 14px; padding: 12px 22px; box-shadow: inset 0 1px 0 var(--glass-shine); }
html .app .modality-tab.selected { background: var(--glass-accent-soft); border-color: rgba(181, 151, 71, .55); color: var(--glass-text); box-shadow: inset 0 1px 0 var(--glass-shine); }
html[data-theme=dark] .app .modality-tab.selected { border-color: rgba(209, 180, 108, .55); color: #edd7a0; }
html .app .comparison-intro { background: linear-gradient(125deg, var(--glass-accent-soft), transparent 80%), var(--glass-panel); }
html .app :is(.comparison-financed, #comparison-month-values > div) { background: var(--glass-inset); border: 1px solid var(--glass-border); border-radius: 12px; }
html .app .comparison-financed strong { color: var(--glass-text); }
/* Hover and keyboard feedback are scoped away from the client proposal. */
html :is(.app, .login, dialog:not(.proposal-dialog)) :is(.primary, .secondary, .ghost, .modality-tab, .whatsapp, .approach-option, .budget-option, .wa-send) {
  border-radius: 11px;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease, transform .16s ease;
}
html :is(.app, .login, dialog:not(.proposal-dialog)) .primary { background: #193044; color: #fff; border: 1px solid transparent; padding: 11px 17px; font-size: 14px; min-height: 44px; font-weight: 600; box-shadow: 0 3px 10px rgba(13, 35, 54, .07); }
html[data-theme=dark] :is(.app, .login, dialog:not(.proposal-dialog)) .primary { background: #d1b46c; color: #142536; }
html :is(.app, .login, dialog:not(.proposal-dialog)) .secondary { background: var(--glass-control); color: var(--glass-text); border: 1px solid var(--glass-border); font-size: 14px; min-height: 43px; box-shadow: inset 0 1px 0 var(--glass-shine); }
html :is(.app, .login, dialog:not(.proposal-dialog)) .ghost { color: var(--glass-muted); font-size: 14px; min-height: 40px; }
@media(hover:hover) and (pointer:fine) {
  html :is(.app, .login, dialog:not(.proposal-dialog)) .primary:not(:disabled):hover { background: #28495f; transform: translateY(-1px); }
  html[data-theme=dark] :is(.app, .login, dialog:not(.proposal-dialog)) .primary:not(:disabled):hover { background: #e1c681; }
  html :is(.app, .login, dialog:not(.proposal-dialog)) :is(.secondary, .modality-tab, .budget-option):not(:disabled):hover { background: var(--glass-accent-soft); border-color: var(--glass-accent); transform: translateY(-1px); }
  html :is(.app, .login, dialog:not(.proposal-dialog)) .ghost:not(:disabled):hover { background: var(--glass-accent-soft); color: var(--glass-text); }
  html .app .lead-name:not(:disabled):hover { color: var(--glass-focus); text-decoration: underline; text-underline-offset: 3px; }
  html :is(.app, dialog:not(.proposal-dialog)) .whatsapp:not(:disabled):hover { transform: translateY(-1px); }
}
html :is(.app, .login, dialog:not(.proposal-dialog)) :is(button, a, summary):focus-visible { outline: 2px solid var(--glass-focus); outline-offset: 3px; }
html .app .sidebar :is(button, a):focus-visible { outline-color: #e8ce8d; }
html :is(.app, .login, dialog:not(.proposal-dialog)) :is(button, a)[aria-busy=true] { transform: none; }
html :is(.app, .login, dialog:not(.proposal-dialog)) button:disabled { cursor: default; }
html :is(.app, .login, dialog:not(.proposal-dialog)) .button-loading:disabled { cursor: progress; }
html dialog:not(.proposal-dialog) { --muted: var(--glass-muted); --line: var(--glass-border); color: var(--glass-text); border: 1px solid var(--glass-border); background: var(--glass-shell); border-radius: 22px; box-shadow: 0 26px 90px rgba(6, 24, 40, .2), inset 0 1px 0 var(--glass-shine); font-size: 16px; }
html dialog:not(.proposal-dialog)::backdrop { background: rgba(7, 19, 31, .52); backdrop-filter: none; }
html dialog:not(.proposal-dialog) .drawer-head { background: var(--glass-control); border-color: var(--glass-border); color: var(--glass-text); }
html dialog:not(.proposal-dialog) .drawer-head h2 { font-size: 24px; line-height: 1.4; }
html dialog:not(.proposal-dialog) .contact-grid { background: var(--glass-inset); border: 1px solid var(--glass-border); border-radius: 13px; font-size: 15px; line-height: 1.6; }
html dialog:not(.proposal-dialog) :is(.contact-grid small, .section-label) { font-size: 12px; color: var(--glass-muted); }
html dialog:not(.proposal-dialog) :is(.source-note, .message-preview, .access-credentials) { background: var(--glass-inset); border-color: var(--glass-border); color: var(--glass-text); border-radius: 12px; }
html dialog:not(.proposal-dialog) .activity { font-size: 14px; }
html dialog:not(.proposal-dialog) .activity strong { font-size: 14px; }
html dialog:not(.proposal-dialog) .activity small { font-size: 12px; color: var(--glass-muted); }
html dialog:not(.proposal-dialog) .approach-option { background: var(--glass-control); border-color: var(--glass-border); color: var(--glass-text); }
html dialog:not(.proposal-dialog) .approach-option strong { font-size: 14px; }
html dialog:not(.proposal-dialog) .approach-option small { font-size: 12px; color: var(--glass-muted); }
html dialog:not(.proposal-dialog) .approach-option.selected { background: var(--glass-accent-soft); border-color: var(--glass-accent); }
html .login { margin: 20px; min-height: calc(100dvh - 40px); border: 1px solid var(--glass-border); border-radius: 27px; background: var(--glass-shell); overflow: hidden; box-shadow: 0 25px 75px rgba(10, 28, 43, .08); color: var(--glass-text); }
html .login .login-intro { min-height: calc(100dvh - 42px); background: radial-gradient(ellipse 85% 80% at 0 0, rgba(181, 151, 71, .2), transparent 80%), linear-gradient(145deg, #1c3449, #102233); }
html .login .login-intro:after { border-color: rgba(197, 166, 82, .07); }
html .login .login-form-wrap { background: transparent; }
html .login .login-form { max-width: 395px; }
html .login .login-form h2 { font-size: 31px; line-height: 1.3; margin-bottom: 12px; }
html .login .login-form > p { font-size: 15px; line-height: 1.7; color: var(--glass-muted); }
html .login .login-form .primary { min-height: 49px; font-size: 15px; }
html .login .login-foot { font-size: 13px; color: var(--glass-muted); line-height: 1.7; }
html .login .login-theme { top: 38px; right: 42px; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html .app { -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  html .app .topbar { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  html dialog:not(.proposal-dialog)[open] { -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html .app, html dialog:not(.proposal-dialog) { background: #f6f8fa; }
  html[data-theme=dark] .app, html[data-theme=dark] dialog:not(.proposal-dialog) { background: #101e2c; }
}
/* Optional class map: .dashboard-bento wraps metrics / dashboard-grid;
   .dashboard-primary and .dashboard-secondary mark the existing two panels. */
html .app .dashboard-bento { min-width: 0; }
html .app .dashboard-primary { position: relative; }
html .app .dashboard-secondary .task-row { background: transparent; }
html .app :is(.dashboard-primary, .dashboard-secondary) .panel-head { min-height: 80px; }
@media(min-width:1600px) { html .app .content { padding-top: 37px; } }
@media(max-width:1200px) {
  :root { --glass-frame-gap: 14px; --glass-sidebar-width: 224px; }
  html .app .sidebar { inset: 15px auto 15px 15px; max-height: calc(100dvh - 30px); padding-left: 12px; padding-right: 12px; }
  html .app .metrics { gap: 12px; }
  html .app .metric { padding: 19px; }
  html .app .metric-label { font-size: 12px; padding-right: 28px; }
  html .app .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  html .app .team-grid { grid-template-columns: minmax(0, 1fr); }
  html .app .connection-label, html .app .top-right .today { display: none; }
  html .app .simulation-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
  html .app .simulator-panel .form-grid, html .app .rules-card .form-grid, html .app .comparison-fields .form-grid { grid-template-columns: minmax(0, 1fr); }
}
@media(max-width:1000px) {
  html .app .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html .app .metric-label { font-size: 13px; }
  html .app .simulation-layout { grid-template-columns: minmax(0, 1fr); }
  html .app .simulation-result { position: static; }
  html .app .page-head { align-items: flex-start; }
}
@media(max-width:760px) {
  :root { --glass-frame-gap: 0px; --glass-radius: 17px; }
  html body, html[data-theme=dark] body { background-attachment: scroll; }
  html .app { display: block; width: 100%; max-width: 100%; margin: 0; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html .app .sidebar { inset: 0 auto 0 0; width: min(280px, calc(100vw - 36px)); max-height: 100dvh; border-radius: 0 22px 22px 0; padding: 24px 16px; box-shadow: 18px 0 50px rgba(0, 9, 21, .18); }
  html .app .sidebar .brand-logo { width: 190px; }
  html .app .sidebar .nav-button { min-height: 45px; }
  html .app .sidebar-bottom { margin-top: 19px; }
  html .app .topbar { min-height: 74px; padding: 14px 16px; gap: 10px; border-radius: 0; }
  html .app .mobile-menu { display: inline-flex; align-items: center; justify-content: center; background: var(--glass-control); border: 1px solid var(--glass-border); border-radius: 11px; min-width: 40px; min-height: 42px; color: var(--glass-text); padding: 10px; }
  html .app .breadcrumb { font-size: 12px; }
  html .app .breadcrumb b { max-width: min(33vw, 140px); }
  html .app .toolbar-actions { gap: 10px; }
  html .app .top-right { gap: 0; }
  html .app .new-lead-button { font-size: 13px; padding: 10px 12px; min-height: 42px; }
  html .app .content { padding: 25px 16px 32px; }
  html .app .page-head { gap: 13px; margin-bottom: 22px; }
  html .app .page-head h1 { font-size: 26px; letter-spacing: -.75px; }
  html .app .page-head p { font-size: 13px; }
  html .app .page-head :is(.primary, .secondary) { min-height: 42px; font-size: 13px; padding: 10px 12px; }
  html .app .metrics { gap: 12px; margin-bottom: 20px; }
  html .app .metric { padding: 17px; min-height: 143px; }
  html .app .metric-label { font-size: 12px; padding-right: 0; }
  html .app .metric .icon { display: none; }
  html .app .metric-value { margin-top: 17px; font-size: 30px; }
  html .app .metric-foot { font-size: 12px; }
  html .app .panel-head { padding: 18px; gap: 12px; flex-wrap: wrap; }
  html .app .panel-head h2 { font-size: 16px; }
  html .app .panel-head button { font-size: 13px; }
  html .app .panel-body { padding: 18px; }
  html .app .dashboard-grid { gap: 18px; }
  html .app .pipeline-row { grid-template-columns: minmax(115px, .85fr) minmax(0, 1fr) 35px; gap: 12px; font-size: 13px; margin: 18px 0; }
  html .app .pipeline-row b { font-size: 13px; }
  html .app .attention-strip { padding: 19px; gap: 15px; }
  html .app .attention-strip h2 { font-size: 16px; }
  html .app .attention-strip p { font-size: 13px; }
  html .app .attention-strip button { font-size: 13px; }
  html .app .notice { padding: 17px 18px; }
  html .app .notice p { font-size: 13px; }
  html .app .filters { padding: 15px; }
  html .app .filter { max-width: calc(50% - 5px); min-width: 125px; font-size: 13px; }
  html .app .pagination { padding: 16px; font-size: 12px; }
  html .app .pagination button { font-size: 13px; }
  html .app .task-row { padding: 18px; }
  html .app .task-row p { font-size: 13px; }
  html .app .task-actions button { font-size: 13px; min-height: 42px; }
  html .app .lead-table tr, html .app .queue-table tr { background: transparent; padding: 19px; }
  html .app .lead-table td, html .app .queue-table td { font-size: 13px; padding: 0; }
  html .app .lead-table .lead-name, html .app .queue-table .queue-name { font-size: 15px; }
  html .app .lead-table td:before { font-size: 12px; color: var(--glass-muted); }
  html .app .lead-table .lead-sub { font-size: 12px; }
  html .app .team-card { padding: 20px; }
  html .app .team-stats { gap: 13px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  html .app .team-stats > div:last-child { grid-column: 1 / -1; }
  html .app .team-stats b { font-size: 22px; }
  html .app .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html .app .simulator-panel .form-grid, html .app .rules-card .form-grid, html .app .comparison-fields .form-grid { grid-template-columns: minmax(0, 1fr); }
  html .app .simulation-result .panel-body { padding: 20px; }
  html .app .simulation-result-actions { padding-left: 20px; padding-right: 20px; }
  html .app .comparison-intro { padding: 20px; }
  html .app .comparison-intro h2 { font-size: 22px; }
  html .app .comparison-intro p { font-size: 13px; }
  html .app .followup-row { padding: 19px; }
  html .login { margin: 0; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
  html .login .login-intro { min-height: auto; padding: 29px 27px; }
  html .login .login-form-wrap { padding: 35px 27px 40px; }
  html .login .login-form h2 { font-size: 28px; }
  html .login .login-theme { top: 15px; right: 16px; font-size: 12px; }
  html dialog:not(.proposal-dialog) { border-radius: 19px; padding: 23px; }
  html dialog.lead-dialog { padding: 0; }
  html dialog:not(.proposal-dialog) .drawer-head h2 { font-size: 21px; }
  html dialog:not(.proposal-dialog) .drawer-head, html dialog:not(.proposal-dialog) .drawer-body { padding: 20px; }
  html dialog:not(.proposal-dialog) .contact-grid { font-size: 14px; }
}
@media(max-width:430px) {
  html .app .page-head { flex-wrap: wrap; }
  html .app .page-head > div { min-width: min(100%, 250px); }
  html .app .metric { padding: 16px; }
  html .app .metric-label { font-size: 12px; }
  html .app .metric-foot { font-size: 12px; }
  html .app .pipeline-row { grid-template-columns: minmax(105px, .9fr) minmax(0, 1fr) 30px; gap: 9px; font-size: 12px; }
  html .app .form-grid, html dialog:not(.proposal-dialog) .form-grid { grid-template-columns: minmax(0, 1fr); }
  html .app .form-grid .span2, html dialog:not(.proposal-dialog) .form-grid .span2 { grid-column: auto; }
  html .app .new-lead-button { font-size: 12px; padding: 10px; }
  html .app .breadcrumb b { max-width: 110px; }
}
@media(prefers-reduced-motion:reduce) {
  html :is(.app, .login, dialog:not(.proposal-dialog)) :is(button, a) { transition: none !important; }
  html :is(.app, .login, dialog:not(.proposal-dialog)) :is(button, a):hover { transform: none !important; }
}
@media(prefers-reduced-transparency:reduce) {
  html .app, html dialog:not(.proposal-dialog) { background: #f6f8fa; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html .app .topbar { background: #f6f8fa; -webkit-backdrop-filter: none; backdrop-filter: none; }
  html[data-theme=dark] .app, html[data-theme=dark] dialog:not(.proposal-dialog), html[data-theme=dark] .app .topbar { background: #101e2c; }
}
/* Reference-inspired bento dashboard: one overview surface, two right panels. */
html .app .dashboard-bento { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(330px, 1fr); gap: 18px; align-items: start; }
html .app .dashboard-overview { background: radial-gradient(ellipse 82% 38% at 0 0, var(--glass-accent-soft), transparent 80%), var(--glass-panel); }
html .app .dashboard-overview-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 23px; }
html .app .dashboard-overview-head .eyebrow { display: block; color: var(--glass-focus); font-size: 12px; margin: 0 0 9px; letter-spacing: 1.7px; }
html .app .dashboard-overview-head h2 { font-size: 19px; line-height: 1.4; letter-spacing: -.45px; color: var(--glass-text); margin: 0; font-weight: 580; }
html .app .dashboard-overview-head > .pill { white-space: normal; font-size: 12px; line-height: 1.5; text-align: center; background: var(--glass-inset); border: 1px solid var(--glass-border); color: var(--glass-muted); }
html .app .dashboard-overview .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0 23px 22px; gap: 13px; }
html .app .dashboard-overview .metric { background: var(--glass-inset); box-shadow: inset 0 1px 0 var(--glass-shine); padding: 19px; min-height: 140px; border-radius: 14px; }
html .app .dashboard-overview .metric.warm { background: linear-gradient(120deg, var(--glass-accent-soft), transparent 80%), var(--glass-inset); }
html .app .dashboard-overview .metric-label { font-size: 13px; }
html .app .dashboard-overview .metric-value { font-size: 33px; margin: 16px 0 7px; }
html .app .dashboard-overview .metric-foot { font-size: 12px; }
html .app .dashboard-overview .metric .icon { top: 15px; right: 15px; padding: 7px; border-radius: 9px; }
html .app .dashboard-primary { margin: 0 23px 23px; border-top: 1px solid var(--glass-border); }
html .app .dashboard-primary .panel-head { background: none; border: 0; padding: 19px 0 0; min-height: 0; }
html .app .dashboard-primary .panel-head h2 { font-size: 15px; }
html .app .dashboard-primary .panel-head .ghost { font-size: 13px; padding-right: 0; }
html .app .dashboard-primary .panel-body { padding: 2px 0 0; }
html .app .dashboard-primary .pipeline-row { grid-template-columns: minmax(135px, .65fr) minmax(0, 1fr) 35px; margin: 19px 0; gap: 15px; font-size: 13px; }
html .app .dashboard-primary .pipeline-row b { font-size: 13px; }
html .app .dashboard-primary .footnote { margin: 16px 0 0; font-size: 12px; }
html .app .dashboard-aside { display: grid; gap: 18px; min-width: 0; }
html .app .dashboard-secondary .panel-head, html .app .dashboard-status .panel-head { padding: 19px 22px; min-height: 72px; background: none; }
html .app .dashboard-secondary .panel-head h2, html .app .dashboard-status .panel-head h2 { font-size: 16px; }
html .app .dashboard-secondary .panel-head button { padding-right: 0; font-size: 13px; }
html .app .dashboard-secondary .task-row { padding: 17px 22px; gap: 12px; align-items: flex-start; }
html .app .dashboard-secondary .task-row > div:first-child { min-width: 0; }
html .app .dashboard-secondary .task-row p { overflow-wrap: anywhere; }
html .app .dashboard-secondary .task-actions { flex: 0 0 auto; }
html .app .dashboard-secondary .task-actions button { font-size: 12px; min-height: 35px; padding: 8px 10px; }
html .app .dashboard-secondary .empty { min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 13px; padding: 30px 25px; }
html .app .dashboard-secondary .empty > svg { color: var(--glass-accent); margin-bottom: 17px; }
html .app .dashboard-secondary .empty strong { font-size: 16px; }
html .app .dashboard-status-body { display: flex; align-items: center; gap: 22px; padding: 22px; }
html .app .status-donut { flex: 0 0 auto; width: 135px; height: 135px; padding: 14px; border-radius: 50%; background: conic-gradient(from -90deg, var(--glass-accent) 0 var(--progress, 0%), var(--glass-inset) var(--progress, 0%) 100%); box-shadow: inset 0 0 0 1px var(--glass-border); }
html .app .status-donut > div { height: 100%; width: 100%; background: #f3f6f8; border: 1px solid var(--glass-border); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; text-align: center; }
html[data-theme=dark] .app .status-donut > div { background: #122333; }
html .app .status-donut b { font-size: 29px; letter-spacing: -.8px; font-weight: 600; color: var(--glass-text); line-height: 1; }
html .app .status-donut small { font-size: 12px; line-height: 1.4; color: var(--glass-muted); }
html .app .status-legend { min-width: 0; flex: 1; margin: 0; display: grid; gap: 19px; }
html .app .status-legend > div { display: flex; align-items: center; justify-content: space-between; gap: 13px; }
html .app .status-legend dt { font-size: 12px; line-height: 1.5; color: var(--glass-muted); display: flex; align-items: center; gap: 9px; min-width: 0; }
html .app .status-legend dd { margin: 0; color: var(--glass-text); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
html .app .status-dot { height: 7px; width: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--glass-accent); }
html .app .status-dot.daily { background: #87a4b9; }
html .app .status-dot.late { background: #ba7961; }
html .app .dashboard-status > .footnote { margin: 0; padding: 0 22px 21px; font-size: 12px; }
html .app .dashboard-team { margin-top: 20px; }
@media(min-width:1500px) { html .app .dashboard-status-body { gap: 25px; } html .app .status-donut { width: 150px; height: 150px; } }
@media(max-width:1350px) and (min-width:1201px) { html .app .dashboard-status-body { flex-direction: column; } html .app .status-legend { width: 100%; } }
@media(max-width:1200px) {
  html .app .dashboard-bento { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  html .app .dashboard-overview .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html .app .dashboard-overview .metric { padding: 17px; }
  html .app .dashboard-overview .metric-label { font-size: 12px; padding-right: 0; }
  html .app .dashboard-overview .metric .icon { display: none; }
  html .app .dashboard-overview .metric-foot { font-size: 12px; }
  html .app .dashboard-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  html .app .dashboard-status-body { flex-direction: column; }
  html .app .status-legend { width: 100%; }
}
@media(max-width:1000px) {
  html .app .dashboard-overview .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html .app .dashboard-overview .metric { padding: 19px; }
  html .app .dashboard-overview .metric .icon { display: block; }
  html .app .dashboard-overview .metric-label { font-size: 13px; padding-right: 29px; }
  html .app .dashboard-overview .metric-foot { font-size: 12px; }
  html .app .dashboard-aside { grid-template-columns: minmax(0, 1fr); }
  html .app .dashboard-status-body { flex-direction: row; }
}
@media(max-width:760px) {
  html .app .dashboard-bento, html .app .dashboard-aside { gap: 18px; }
  html .app .dashboard-overview-head { padding: 20px; gap: 13px; align-items: flex-start; }
  html .app .dashboard-overview-head h2 { font-size: 18px; }
  html .app .dashboard-overview-head .eyebrow { font-size: 12px; }
  html .app .dashboard-overview-head > .pill { font-size: 12px; padding: 6px 8px; max-width: 86px; }
  html .app .dashboard-overview .metrics { padding: 0 18px 19px; gap: 10px; }
  html .app .dashboard-overview .metric { padding: 16px; min-height: 142px; }
  html .app .dashboard-overview .metric-label { font-size: 12px; padding-right: 0; }
  html .app .dashboard-overview .metric .icon { display: none; }
  html .app .dashboard-overview .metric-value { font-size: 30px; }
  html .app .dashboard-overview .metric-foot { font-size: 12px; }
  html .app .dashboard-primary { margin: 0 18px 20px; }
  html .app .dashboard-primary .pipeline-row { grid-template-columns: minmax(112px, .85fr) minmax(0, 1fr) 29px; gap: 10px; font-size: 12px; margin: 18px 0; }
  html .app .dashboard-primary .panel-head { padding-top: 13px; flex-wrap: wrap; }
  html .app .dashboard-primary .panel-head h2 { font-size: 15px; }
  html .app .dashboard-primary .panel-head .ghost { min-height: 36px; }
  html .app .dashboard-secondary .panel-head, html .app .dashboard-status .panel-head { padding: 18px; min-height: 70px; }
  html .app .dashboard-secondary .task-row { padding: 18px; }
  html .app .dashboard-secondary .task-actions { width: auto; }
  html .app .dashboard-secondary .task-actions button { min-height: 40px; font-size: 13px; }
  html .app .dashboard-status-body { padding: 21px 18px; gap: 20px; }
  html .app .status-donut { width: 125px; height: 125px; padding: 12px; }
  html .app .status-donut b { font-size: 28px; }
  html .app .status-legend dt { font-size: 12px; gap: 8px; }
  html .app .status-legend dd { font-size: 14px; }
  html .app .dashboard-status > .footnote { padding: 0 18px 20px; }
}
@media(max-width:380px) { html .app .dashboard-status-body { flex-direction: column; } html .app .status-legend { max-width: 250px; } }
/* Nested working cards keep the same material; success / loss heroes stay semantic. */
html .app .comparison-column { background: var(--glass-inset); border-color: var(--glass-border); box-shadow: inset 0 1px 0 var(--glass-shine); }
html .app .comparison-column.consortium-column { background: linear-gradient(130deg, var(--glass-accent-soft), transparent 90%), var(--glass-inset); border-color: rgba(181, 151, 71, .35); }
html[data-theme=dark] .app .comparison-column.consortium-column { border-color: rgba(209, 180, 108, .35); }
html .app .budget-option { background: var(--glass-control); border-color: var(--glass-border); color: var(--glass-text); box-shadow: inset 0 1px 0 var(--glass-shine); }
html .app .budget-option.selected { background: var(--glass-accent-soft); border-color: var(--glass-accent); }
html .app .budget-option :is(span, small) { color: var(--glass-muted); }
html .app .budget-option .budget-label { color: var(--glass-focus); }
html .app .followup-tabs .secondary.selected { background: var(--glass-accent-soft); border-color: var(--glass-accent); color: var(--glass-text); }

/* Tooltips intentionally stay outside proposal paper and PDF styling. */
.startcon-tooltip{position:fixed;inset:auto;margin:0;z-index:2147483646;box-sizing:border-box;max-width:min(250px,calc(100vw - 20px));width:max-content;padding:7px 10px;border:1px solid #d9bd7970;border-radius:11px;background:#142536f7;color:#f8f6f0;font-family:inherit;font-size:12px;font-weight:500;line-height:1.4;letter-spacing:.01em;overflow-wrap:anywhere;box-shadow:0 8px 28px #07131f33;pointer-events:none;opacity:1;animation:startcon-tooltip-in .13s ease-out;}
.startcon-tooltip[hidden]{display:none!important;}
.startcon-tooltip:popover-open{display:block;}
.startcon-tooltip::backdrop{background:transparent;pointer-events:none;}
html[data-theme=dark] .startcon-tooltip{background:#172d40f0;color:#f7f3e9;border-color:#d1b46c;box-shadow:0 8px 28px #0005;}
@keyframes startcon-tooltip-in{from{opacity:0;transform:translateY(3px);}to{opacity:1;transform:translateY(0);}}
:where(button,[role=button],a.primary,a.secondary,a.ghost,a.wa-send):focus-visible{outline:2px solid var(--gold,#b59747);outline-offset:4px;}
@media(prefers-reduced-motion:reduce){.startcon-tooltip{animation:none;}}
@media print{.startcon-tooltip{display:none!important;}}

/* A viewport-sized workspace: sidebar and work surface have independent scroll. */
html:has(.app),body:has(.app){height:100%;overflow:hidden}
html .app{width:100%;max-width:none;margin:0;height:100dvh;min-height:0;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;overflow:hidden;grid-template-rows:minmax(0,1fr)}
html[data-theme=dark] .app{box-shadow:none}
html .app .sidebar{position:relative;inset:auto;width:auto;height:100%;max-height:none;min-height:0;border-radius:0;overflow:hidden;display:flex;flex-direction:column;padding:20px 14px 16px;transform:none}
html .app .sidebar .brand{flex:none;margin-bottom:10px;padding:0 12px 10px}
html .app .sidebar .brand-logo{width:156px}
html .app .sidebar .nav-label{flex:none;margin-bottom:8px}
html .app .sidebar nav{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;flex:1;padding:2px 5px 4px 0;gap:4px}
html .app .sidebar nav button{flex:none;min-height:43px;padding:9px 11px}
html .app .sidebar-bottom{flex:none;position:static;margin-top:12px;padding:14px 6px 0}
html .app .user-block{margin-bottom:8px}
html .app .main{grid-column:2;min-width:0;min-height:0;height:100%;margin:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}
html .app .topbar{position:sticky;top:0;z-index:15;border-radius:0;min-height:72px;background:var(--glass-shell);backdrop-filter:blur(12px)}
html[data-theme=dark] .app .topbar{background:rgba(14,28,41,.9)}
html .app .content{max-width:none;min-width:0;padding:28px clamp(18px,2.2vw,38px) 40px}
html .app .modality-tab{transition:background-color .32s ease,border-color .32s ease,color .32s ease,box-shadow .32s ease,transform .24s ease;min-height:46px}
html .app .modality-tab.selected{box-shadow:inset 0 0 0 1px #caaa6260,0 5px 15px #b5974712}
.button-loading{position:relative;overflow:hidden}
.button-loading::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent,#fff2,transparent);animation:button-sheen 1.2s ease-in-out infinite;pointer-events:none}
@keyframes button-sheen{from{transform:translateX(-100%)}to{transform:translateX(100%)}}
@media(max-width:760px){html .app{display:block}html .app .sidebar{position:fixed;inset:0 auto 0 0;width:min(280px,calc(100vw - 36px));height:100dvh;max-height:none;z-index:60;border-radius:0 18px 18px 0;transform:translateX(-105%);transition:transform .32s cubic-bezier(.22,1,.36,1)}html .app .sidebar.open{transform:translateX(0)}html .app .main{width:100%}html .app .content{padding:22px 16px 32px}html .app .topbar{padding:12px 16px}html .app .sidebar-backdrop{position:fixed;inset:0;z-index:55}}
@media(prefers-reduced-motion:reduce){.button-loading::after{animation:none}html .app .sidebar{transition:none}}
.commercial-rules{margin-top:24px}.catalog-row{border:1px solid var(--glass-border);border-radius:16px;padding:20px;margin-bottom:16px;background:var(--glass-control)}.catalog-row-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.catalog-section-title{margin:30px 0 12px}.catalog-scenario-rule{padding:20px;border:1px solid var(--glass-border);border-radius:14px}.budget-budget-status{font-size:12px;line-height:1.5;border-radius:8px;padding:6px 9px}.within-budget{background:#26986d1c;color:#237657}.above-budget{background:#c38c261c;color:#a36c13}html[data-theme=dark] .within-budget{color:#87dab1}html[data-theme=dark] .above-budget{color:#e2c277}
.proposal-layout-picker{display:flex;gap:12px;padding:18px 24px;background:#142536;color:white;position:relative}.proposal-layout-choice{display:grid;grid-template-columns:58px 1fr;gap:4px 12px;flex:1;text-align:left;min-width:0;border:1px solid #ffffff20;background:#ffffff08;color:#f5f5ef;padding:12px;border-radius:12px;transition:background .3s,border-color .3s}.proposal-layout-choice.selected{border-color:#d4b572;background:#b5974730}.proposal-layout-choice small{font-size:12px;line-height:1.4;color:#c0cddd}.layout-mini{grid-row:span 2;display:grid;gap:3px;padding:6px;width:54px;height:64px;border-radius:4px;background:#fff}.layout-mini i{background:#b59747;border-radius:2px;height:9px}.layout-mini b{background:#afc1d0;height:17px}.layout-mini em{background:repeating-linear-gradient(90deg,#dce5eb 0 11px,transparent 11px 14px);height:17px}.layout-mini-visual{grid-template-columns:1fr 1fr}.layout-mini-visual i{grid-column:span 2}.layout-mini-visual b{height:35px}.layout-mini-visual em{height:35px}.layout-mini-executivo i{height:15px;background:#142536}.layout-mini-executivo b{height:10px}.proposal-image-wrap{position:relative;min-width:0}.proposal-hero .proposal-image-wrap img{width:100%;height:210px;object-fit:cover;border-radius:18px}.proposal-image-wrap>span{position:absolute;left:-18px;bottom:14px;max-width:85%;padding:10px 14px;border:1px solid #d8c388;border-radius:12px;background:#fffef1f2;color:#142536;font-size:12px;line-height:1.4}.proposal-client h2{font-size:32px;line-height:1.2;margin:12px 0;color:#142536}.proposal-client h3{font-size:16px;margin:20px 0 10px;color:#536b7c}.proposal-phone{font-size:15px;color:#247552}.proposal-consultant{display:flex;flex-direction:column;gap:5px;text-align:right;font-size:14px}.proposal-consultant strong{color:#142536}.proposal-contemplation{margin-top:26px}.proposal-contemplation>h3{font-size:20px;margin-bottom:7px}.proposal-contemplation>p{font-size:13px;color:#637483}.proposal-scenario-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.proposal-scenario{border:1px solid #d7e0e6;border-radius:17px;overflow:hidden;background:#fff}.proposal-scenario header{padding:13px 17px;background:#eff4f6;border-bottom:1px solid #d7e0e6}.proposal-scenario h4{margin:0 0 6px;font-size:16px;color:#142536}.proposal-scenario header p{margin:0;font-size:12px;line-height:1.45;color:#5c7180}.proposal-scenario h4 small{font-weight:400;color:#647482}.proposal-scenario-body{padding:12px 17px}.proposal-scenario-body .proposal-detail{font-size:12px;gap:12px;padding:6px 0}.proposal-scenario-body .proposal-detail b{color:#142536}.proposal-scenario-installment{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;margin:9px 0;background:#f2ecdc;border-radius:9px;font-size:13px;color:#142536}.proposal-scenario-installment strong{color:#846723;font-size:17px}.proposal-scenario-body>small{font-size:12px;color:#697b88}.proposal-scenario-unavailable{padding:18px;color:#697b88;font-size:13px}.proposal-possibilities{padding:22px;background:#f3f6f8;border:1px solid #dce4e9;border-radius:16px;margin:25px 0}.proposal-possibilities h3{margin-bottom:6px;color:#142536}.proposal-possibilities p{font-size:13px;color:#607585;margin-bottom:15px}.proposal-use-grid{display:flex;flex-wrap:wrap;gap:20px}.proposal-use-grid>div{display:flex;flex-direction:column;align-items:center;gap:6px;min-width:60px;flex:1}.proposal-use-grid svg{width:25px;height:25px;color:#a18847}.proposal-use-grid span{font-size:11px;color:#536b7c;text-align:center}.proposal-paper.layout-visual .proposal-hero{grid-template-columns:1.1fr 1fr}.layout-visual .proposal-image-wrap{grid-column:1;grid-row:1}.layout-visual .proposal-client{grid-column:2}.layout-visual .proposal-scenario-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.layout-visual .proposal-scenario:last-child{grid-column:span 3}.layout-visual .proposal-scenario:last-child .proposal-scenario-body{display:flex;align-items:center;flex-wrap:wrap;gap:12px 25px}.layout-visual .proposal-scenario:last-child .proposal-detail{min-width:180px}.layout-executivo .proposal-brand{border-bottom:3px solid #b59747}.layout-executivo .proposal-hero{grid-template-columns:1fr 180px}.layout-executivo .proposal-hero .proposal-image-wrap img{height:150px}.layout-executivo .proposal-image-wrap>span{display:none}.layout-executivo .proposal-kpis{background:#142536;border-radius:16px;padding:12px;gap:10px}.layout-executivo .proposal-kpis .proposal-tile{background:transparent;border:0}.layout-executivo .proposal-kpis .proposal-tile :is(small,span){color:#c5d3dd}.layout-executivo .proposal-kpis .proposal-tile strong{color:#e4c889}.layout-executivo .proposal-scenario header{background:#142536}.layout-executivo .proposal-scenario header h4{color:#fff}.layout-executivo .proposal-scenario header :is(p,small){color:#c5d3dd}.proposal-paper .proposal-detail{color:#607384}.proposal-paper .proposal-detail b{color:#142536}
@media(max-width:700px){.proposal-layout-picker{padding:12px;gap:8px}.proposal-layout-choice{display:flex;flex-direction:column;align-items:center;padding:9px;font-size:12px}.proposal-layout-choice small{display:none}.proposal-paper .proposal-hero,.proposal-paper.layout-visual .proposal-hero,.layout-executivo .proposal-hero{grid-template-columns:1fr}.layout-visual .proposal-client,.layout-visual .proposal-image-wrap{grid-column:auto;grid-row:auto}.proposal-client h2{font-size:26px}.proposal-scenario-grid,.layout-visual .proposal-scenario-grid{grid-template-columns:1fr}.layout-visual .proposal-scenario:last-child{grid-column:auto}.proposal-image-wrap>span{left:8px}.proposal-brand .proposal-consultant small{font-size:11px}.proposal-paper .proposal-brand>img{max-width:42%}}

/* StartCon working controls, informed by shadcn primitives and interface guidelines.
   Native HTML remains the runtime: no React, remote UI or extra rendering layer. */
:root {
  --ui-radius: 10px;
  --ui-panel-radius: 16px;
  --ui-gold: #c8a75d;
  --ui-gold-hover: #ddbf7a;
  --ui-ink: #102234;
  --ui-focus: #846326;
  --ui-control-height: 44px;
  font-size: 16px;
  color-scheme: light;
}
html[data-theme=dark] {
  --ui-focus: #e4c57c;
  color-scheme: dark;
}
html[data-theme] .app {
  --glass-radius: var(--ui-panel-radius);
  font-size: 1rem;
}
html[data-theme] .app :is(button,a,input,select,textarea) { touch-action: manipulation; }
html[data-theme] .app :is(.primary,.secondary,.ghost,.whatsapp,.modality-tab),
html[data-theme] .login :is(.primary,.secondary),
html[data-theme] dialog :is(.primary,.secondary,.ghost,.whatsapp) {
  min-height: var(--ui-control-height);
  border-radius: var(--ui-radius);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}
html[data-theme] .app .primary,html[data-theme] .login .primary,html[data-theme] dialog .primary {
  background: var(--ui-gold);
  color: var(--ui-ink);
  border: 1px solid #c7a355;
  box-shadow: inset 0 1px 0 #fff3;
}
html[data-theme] .app .secondary,html[data-theme] .login .secondary,html[data-theme] dialog .secondary {
  background: var(--glass-control);
  color: var(--glass-text);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 var(--glass-shine);
}
html[data-theme] .app .ghost,html[data-theme] dialog .ghost {
  color: var(--glass-muted);
  background: transparent;
  border: 1px solid transparent;
}
html[data-theme] .app .sidebar :is(.ghost,.theme-toggle) { color: #c3d0db; }
html[data-theme] .app :is(button,input,select,textarea),html[data-theme] dialog button {
  transition: background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
@media (hover:hover) {
  html[data-theme] .app .primary:not(:disabled):hover,html[data-theme] .login .primary:not(:disabled):hover,
  html[data-theme] dialog .primary:not(:disabled):hover { background: var(--ui-gold-hover);border-color: var(--ui-gold-hover); }
  html[data-theme] .app .secondary:not(:disabled):hover,html[data-theme] dialog .secondary:not(:disabled):hover {
    background: var(--glass-accent-soft);border-color: var(--glass-accent);color: var(--glass-text);
  }
  html[data-theme] .app .ghost:not(:disabled):hover,html[data-theme] dialog .ghost:not(:disabled):hover {
    background: var(--glass-inset);color: var(--glass-text);
  }
  html[data-theme] .app .sidebar .ghost:not(:disabled):hover { background: #ffffff0c;color: #f7f1e3; }
  html[data-theme] .app .nav-button:not(.active):hover { border-color: #d5b77140;background: #d5b7710e;color: #fff3d5; }
}
html :is(button,a,input,select,textarea,[tabindex]):focus-visible {
  outline: 2px solid var(--ui-focus);
  outline-offset: 3px;
}
html[data-theme] .app .sidebar :is(button,a):focus-visible { outline-color: #e4c57c;outline-offset: -3px; }
html[data-theme] .app button:disabled,html[data-theme] dialog button:disabled {
  opacity: .48;cursor: not-allowed;transform: none;
}
html[data-theme] .app button[aria-busy=true],html[data-theme] dialog button[aria-busy=true] { opacity: 1;cursor: progress; }
html[data-theme] .app .nav-button { font-size: .875rem;border-radius: 10px;position: relative; }
html[data-theme] .app .nav-button.active {
  background: linear-gradient(100deg,#c8a75d24,#c8a75d09);
  border-color: #c8a75d40;color: #fae9bf;
}
html[data-theme] .app .nav-button.active::before {
  content: "";width: 3px;height: 20px;background: var(--ui-gold);
  position: absolute;left: 0;top: calc(50% - 10px);border-radius: 0 3px 3px 0;
}
html[data-theme] .app .nav-label { text-transform: none;letter-spacing: .03em;font-size: .75rem; }
html[data-theme] .app .user-block strong { font-size: .875rem; }
html[data-theme] .app .user-block small { font-size: .75rem;line-height: 1.5; }
html[data-theme] .app .sidebar-bottom { display: grid;grid-template-columns: 1.4fr .6fr;column-gap: 4px; }
html[data-theme] .app .sidebar-bottom :is(.user-block,.theme-toggle,.form-feedback) { grid-column: 1 / -1; }
html[data-theme] .app .sidebar-bottom :is(#change-password,#logout) { padding-inline: 8px;font-size: .8125rem; }
html[data-theme] .app .topbar { min-height: 68px;height: auto; }
html[data-theme] .app .breadcrumb { font-size: .8125rem;line-height: 1.5;min-width: 0; }
html[data-theme] .app .breadcrumb b { color: var(--glass-text); }
html[data-theme] .app .top-right { font-size: .75rem;gap: 14px; }
html[data-theme] .app .page-head h1 { font-size: clamp(1.625rem,2.3vw,2rem);font-weight: 650;letter-spacing: -.035em;text-wrap: balance; }
html[data-theme] .app .page-head p { font-size: .875rem;line-height: 1.65;max-width: 78ch; }
html[data-theme] .app .page-head { margin-bottom: 24px; }
html[data-theme] .app :is(.panel,.notice,.attention-strip) { border-radius: var(--ui-panel-radius); }
html[data-theme] .app .panel { box-shadow: 0 5px 22px #06142306,inset 0 1px 0 var(--glass-shine); }
html[data-theme=dark] .app .panel { box-shadow: inset 0 1px 0 var(--glass-shine); }
html[data-theme] .app .panel-head { gap: 14px; }
html[data-theme] .app .panel-head h2 { font-size: 1rem;line-height: 1.4;text-wrap: balance; }
html[data-theme] .app .notice { gap: 18px;padding: 18px 20px;font-size: .875rem; }
html[data-theme] .app .notice :is(strong,p) { line-height: 1.6; }
html[data-theme] .app .dashboard-overview-head > div > .eyebrow { display: none; }
html[data-theme] .app .dashboard-overview-head h2 { margin: 0;font-size: 1.25rem; }
html[data-theme] .app .dashboard-overview .metric { border-radius: 12px;min-height: 142px;padding: 19px; }
html[data-theme] .app .metric-label { font-size: .875rem;line-height: 1.5; }
html[data-theme] .app .metric-value { font-variant-numeric: tabular-nums;font-size: 2rem;line-height: 1.2;letter-spacing: -.035em;margin: 14px 0 6px; }
html[data-theme] .app .metric-foot { font-size: .75rem;line-height: 1.55; }
html[data-theme] .app .dashboard-primary .pipeline-row { font-size: .875rem;grid-template-columns: minmax(130px,.8fr) minmax(0,1fr) 42px;gap: 16px; }
html[data-theme] .app .pipeline-row b { font-variant-numeric: tabular-nums; }
html[data-theme] .app .status-legend dt { font-size: .875rem; }
html[data-theme] .app .status-legend dd { font-size: .875rem; }
html[data-theme] .app .dashboard-secondary .empty { font-size: .875rem;min-height: 160px; }
html[data-theme] .app .dashboard-secondary .panel-head button { font-size: .875rem; }
html[data-theme] .app .filters { padding: 16px;gap: 10px;align-items: center; }
html[data-theme] .app .search-wrap input { min-height: 44px;font-size: .875rem;border-radius: 10px; }
html[data-theme] .app .search-wrap svg { top: 14px; }
html[data-theme] .app .filter { min-height: 44px;font-size: .875rem;border-radius: 10px;max-width: 190px; }
html[data-theme] .app .table-wrap { overscroll-behavior-x: contain; }
html[data-theme] .app th { text-transform: none;letter-spacing: 0;font-size: .8125rem;font-weight: 600;line-height: 1.5; }
html[data-theme] .app td { font-size: .875rem;padding: 17px 20px;line-height: 1.5;font-variant-numeric: tabular-nums; }
html[data-theme] .app :is(.lead-name,.queue-name) { font-size: .875rem;line-height: 1.55;overflow-wrap: anywhere; }
html[data-theme] .app .lead-sub { font-size: .75rem;line-height: 1.5; }
html[data-theme] .app .pill { font-size: .75rem;line-height: 1.4;border-radius: 7px; }
html[data-theme] .app .pill:where(:not(.contato,.qualificado,.simulacao,.negociacao,.contrato,.ganho,.perdido)) { color: var(--glass-muted);background: var(--glass-inset); }
html[data-theme] .app .pagination { font-size: .875rem;line-height: 1.5;gap: 16px;flex-wrap: wrap; }
html[data-theme] .app .pagination > div { display: flex;gap: 8px; }
html[data-theme] .app .field,html[data-theme] .login .field,html[data-theme] dialog .field { font-size: .875rem;line-height: 1.5;gap: 8px; }
html[data-theme] .app .field :is(input,select,textarea),html[data-theme] .login .field input,html[data-theme] dialog .field :is(input,select,textarea) {
  min-height: 44px;border-radius: 9px;font-size: 1rem;background: var(--glass-control);color: var(--glass-text);border-color: var(--glass-border);
}
html[data-theme] .app .field :is(input,select,textarea):focus,html[data-theme] dialog .field :is(input,select,textarea):focus {
  outline: 2px solid var(--ui-focus);outline-offset: 2px;border-color: var(--ui-focus);
}
html[data-theme] .app .field :is(input,select,textarea)[aria-invalid=true],html[data-theme] dialog .field :is(input,select,textarea)[aria-invalid=true] { border-color: #bd464b; }
html[data-theme] .app .field small,html[data-theme] .app :is(.note-help,.footnote,.simulation-disclaimer) { font-size: .75rem;line-height: 1.6; }
html[data-theme] .app .form-feedback,html[data-theme] dialog .form-feedback { font-size: .875rem; }
html[data-theme] .app :is(.modality-tabs,.followup-tabs) { gap: 6px; }
html[data-theme] .app .modality-tabs { padding: 5px;border: 1px solid var(--glass-border);border-radius: 13px;background: var(--glass-inset);width: fit-content;max-width: 100%; }
html[data-theme] .app .modality-tab { border: 1px solid transparent;background: transparent;border-radius: 9px;box-shadow: none;padding: 11px 20px;color: var(--glass-muted); }
html[data-theme] .app .modality-tab.selected { background: var(--glass-control);border-color: var(--glass-border);color: var(--glass-text);box-shadow: inset 0 -2px 0 var(--glass-accent); }
@media(hover:hover) { html[data-theme] .app .modality-tab:not(.selected):hover { background: var(--glass-accent-soft);color: var(--glass-text); } }
html[data-theme] dialog { overscroll-behavior: contain;border-radius: 18px; }
html[data-theme] dialog :is(h2,h3) { text-wrap: balance; }
html .close { min-width: 40px;min-height: 40px;display: inline-grid;place-items: center;border-radius: 9px;font-size: 22px; }
.sr-only { position: absolute;width: 1px;height: 1px;padding: 0;margin: -1px;overflow: hidden;clip-path: inset(50%);white-space: nowrap;border: 0; }
.skip-link { position: fixed;z-index: 70;top: 8px;left: 8px;transform: translateY(-150%);padding: 12px 18px;border-radius: 8px;color: var(--ui-ink);background: #e4c57c;font-size: .875rem;text-decoration: none; }
.skip-link:focus { transform: translateY(0); }
html[data-theme] .app .main :is(button,input,select,textarea,[tabindex]) { scroll-margin-top: 100px;scroll-margin-bottom: 24px; }
#toast { max-width: min(520px,calc(100vw - 32px));font-size: .875rem;line-height: 1.5;border: 1px solid #d3b26850;border-radius: 12px; }
.startcon-tooltip { font-size: .75rem; }
@media(max-width:1100px) {
  html[data-theme] .app .dashboard-primary .pipeline-row { grid-template-columns: minmax(120px,.85fr) minmax(0,1fr) 38px;gap: 12px; }
}
@media(max-width:760px) {
  html[data-theme] .app .topbar { padding-top: max(10px,env(safe-area-inset-top));padding-right: max(16px,env(safe-area-inset-right));padding-left: max(16px,env(safe-area-inset-left));gap: 8px; }
  html[data-theme] .app .top-right .connection-label { display: none; }
  html[data-theme] .app .top-right { gap: 8px; }
  html[data-theme] .app .toolbar-actions { min-width: 0;gap: 6px; }
  html[data-theme] .app .breadcrumb { max-width: 175px; }
  html[data-theme] .app .breadcrumb > .muted { display: none; }
  html[data-theme] .app .breadcrumb b { display: block;font-size: .75rem;overflow: hidden;text-overflow: ellipsis;white-space: nowrap; }
  html[data-theme] .app .new-lead-button { white-space: nowrap;padding: 10px 12px; }
  html[data-theme] .app .mobile-menu { min-width: 40px;min-height: 44px; }
  html[data-theme] .app .content { padding-bottom: max(32px,env(safe-area-inset-bottom)); }
  html[data-theme] .app .dashboard-overview .metric { padding: 16px;min-height: 148px; }
  html[data-theme] .app .dashboard-overview .metric-label { padding-right: 0;font-size: .875rem; }
  html[data-theme] .app .metric-value { font-size: 1.75rem; }
  html[data-theme] .app .modality-tabs { display: grid;grid-template-columns: repeat(2,minmax(0,1fr));width: 100%; }
  html[data-theme] .app .modality-tab { padding-inline: 12px; }
  html[data-theme] .app .page-head { align-items: flex-start;gap: 12px; }
  html[data-theme] .app .page-head .secondary { flex: 0 0 auto; }
  html[data-theme] .app .filter { max-width: calc(50% - 5px); }
  html[data-theme] .app .pagination { padding: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  html[data-theme] .app :is(button,input,select,textarea),html[data-theme] dialog button { transition: none; }
}

/* Selected Lucide icons: consistent optical size and baseline. */
.crm-icon { width: 20px; height: 20px; flex-shrink: 0; vertical-align: middle; }
html[data-theme] .app .nav-button > .crm-icon { width: 21px; height: 21px; flex: 0 0 21px; }
html[data-theme] .app .sidebar-bottom .ghost { display: inline-flex; align-items: center; gap: 9px; }
html[data-theme] .app .sidebar-bottom .ghost > .crm-icon { width: 18px; height: 18px; flex: 0 0 18px; }
html[data-theme] .app #change-password { gap: 6px; white-space: nowrap; }
html[data-theme] .app #logout { gap: 6px; white-space: nowrap; }

/* Gold progress, responsive glass reflections and compact interactive cards. */
html[data-theme] #view[aria-busy=true]::before { content: none; }
.workspace-progress { position:absolute;left:0;right:0;bottom:-1px;height:3px;overflow:hidden;pointer-events:none;opacity:0;transition:opacity .18s ease; }
.workspace-progress span { display:block;width:100%;height:100%;transform:scaleX(0);transform-origin:left center;background:linear-gradient(90deg,#b59747,#e5c77b);box-shadow:0 0 8px #d1b46c50; }
.workspace-progress[data-state=running] { opacity:1; }
.workspace-progress[data-state=done] { opacity:0; }
html[data-theme] .app .dashboard-link { cursor:pointer;text-align:left;color:var(--glass-text);font:inherit; }
html[data-theme] .app button.metric { display:block;width:100%;position:relative; }
html[data-theme] .app button.metric :is(.metric-label,.metric-value,.metric-foot) { display:block; }
html[data-theme] .app button.pipeline-row { display:grid;width:100%;background:transparent;padding:9px 10px;margin:4px 0;border:1px solid transparent;border-radius:9px;align-items:center;min-height:44px; }
html[data-theme] .app .dashboard-link:focus-visible { outline:2px solid var(--ui-focus);outline-offset:3px; }
html[data-theme] .app :is(.agenda-button,.funnel-button) { display:inline-flex;align-items:center;justify-content:center;flex:none;white-space:nowrap;min-width:112px;padding:10px 14px; }
html[data-theme] .app .panel-head { align-items:center;flex-wrap:wrap; }
html[data-theme] .app .button-loading.button-preserve { display:block; }
html[data-theme] .app button.pipeline-row.button-preserve { display:grid; }
html[data-theme] .app :is(.agenda-button,.funnel-button).button-preserve { display:inline-flex;padding-right:36px; }
html[data-theme] :is(.app,dialog) .button-preserve { position:relative;cursor:progress; }
.button-preserve > .button-spinner { position:absolute;right:9px;top:calc(50% - .5em);background:var(--glass-control,#142536);box-shadow:0 0 0 5px var(--glass-control,#142536); }
html[data-theme] .app .metric.button-preserve > .button-spinner { right:21px;top:24px; }
html[data-theme] .app .kanban { align-items:start; }
html[data-theme] .app .kanban-column { display:flex;flex-direction:column;min-height:250px; }
html[data-theme] .app .kanban-column .column-head { align-items:center;gap:10px;min-height:34px;margin-bottom:14px; }
html[data-theme] .app .kanban-column .column-head h2 { margin:0;font-size:1rem;line-height:1.4;color:var(--glass-text); }
html[data-theme] .app .kanban-items { min-height:128px; }
html[data-theme] .app .kanban-pagination { border-top:1px solid var(--glass-border);margin-top:14px;padding-top:13px;display:flex;flex-direction:column;gap:10px; }
html[data-theme] .app .kanban-pagination > span { color:var(--glass-muted);font-size:.75rem;text-align:center;font-variant-numeric:tabular-nums; }
html[data-theme] .app .kanban-pagination > div { display:grid;grid-template-columns:1fr 1fr;gap:8px; }
html[data-theme] .app .kanban-pagination button { padding:9px 8px;font-size:.8125rem; }
html[data-theme] .app .pipeline-row :is(.bar-track,.bar-fill) { display:block; }
html[data-theme] .app .pipeline-filters { margin-bottom:20px; }
html[data-theme] .app .filters > select.filter { appearance:none;-webkit-appearance:none;min-height:46px;height:46px;line-height:1.4;padding:11px 32px 11px 12px;text-align:center;text-align-last:center;box-sizing:border-box;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2384929f' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:16px;background-position:right 11px center;max-width:240px;min-width:190px;width:auto;flex:0 0 auto; }
html[data-theme] .app .filters #modality-filter { min-width:212px; }
html[data-theme] .app .search-wrap input { height:46px;padding-left:42px; }
html[data-theme] .app .filters > [hidden] { display:none!important; }
html[data-theme] .app { position:relative; }
.liquid-ambient { position:absolute;left:var(--glass-sidebar-width);top:0;right:0;bottom:0;overflow:hidden;pointer-events:none;z-index:-1; }
.liquid-ambient span { position:absolute;inset:-140px;transform:translate3d(0,var(--liquid-scroll,0px),0);background:radial-gradient(ellipse 65% 45% at 85% 25%,#6192b914,transparent 80%); }
.liquid-ambient span+span { transform:translate3d(0,calc(var(--liquid-scroll,0px)*-.7),0);background:radial-gradient(ellipse 55% 50% at 15% 75%,#c8a75d0f,transparent 78%); }
html[data-theme=dark] .liquid-ambient span { background:radial-gradient(ellipse 65% 50% at 85% 30%,#357ba82c,transparent 78%); }
html[data-theme=dark] .liquid-ambient span+span { background:radial-gradient(ellipse 55% 50% at 15% 75%,#c8a75d17,transparent 78%); }
html[data-theme] .app .liquid-surface { position:relative;isolation:isolate;overflow:clip; }
html[data-theme] .app .liquid-surface::before { content:"";position:absolute;inset:-32px;z-index:-1;pointer-events:none;opacity:.18;background:linear-gradient(125deg,#ffffff38,transparent 36%,#91b7d415 65%,transparent);transform:translate3d(0,0,0);transition:opacity .35s ease,transform .4s cubic-bezier(.22,1,.36,1); }
html[data-theme] .app .liquid-surface.liquid-hot::before { opacity:.72;transform:translate3d(var(--liquid-x,0px),var(--liquid-y,0px),0); }
html[data-theme] :is(.app,dialog) .pill.simulacao_feita { color:var(--glass-text);background:var(--glass-accent-soft);border:1px solid var(--glass-border); }
html[data-theme] :is(.app,dialog:not(.proposal-dialog)) .pill.simulacao { color:#236246;background:#deefe6; }
html[data-theme=dark] :is(.app,dialog:not(.proposal-dialog)) .pill.simulacao { color:#b5e4c7;background:#214237; }
html[data-theme=light] :is(.app,dialog:not(.proposal-dialog)) .whatsapp { color:#1b6841; }
html[data-theme=light] :is(.app,dialog:not(.proposal-dialog)) .pill.perdido { color:#9d3346; }
html[data-theme] :is(.app,dialog) .simulation-delivery { display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0; }
html[data-theme] :is(.app,dialog) .simulation-delivery .pill { font-size:.875rem;line-height:1.4; }
html[data-theme] :is(.app,dialog) .simulation-delivery small { display:block;color:var(--glass-muted);font-size:.8125rem;line-height:1.5;overflow-wrap:anywhere; }
html[data-theme] :is(.app,dialog) .delivery-pending { color:var(--glass-text);background:var(--glass-accent-soft); }
html[data-theme] :is(.app,dialog) .delivery-sent { color:#236246;background:#deefe6; }
html[data-theme=dark] :is(.app,dialog) .delivery-sent { color:#b5e4c7;background:#214237; }
html[data-theme] :is(.app,dialog) .current-simulation-delivery { margin-bottom:14px;padding:14px;border:1px solid var(--glass-border);border-radius:12px;background:var(--glass-inset); }
html[data-theme] :is(.app,dialog) .current-simulation-delivery > strong { display:block;margin-bottom:9px;font-size:.9375rem; }
html[data-theme] dialog .lead-simulations { margin:24px 0;padding:20px;border:1px solid var(--glass-border);border-radius:14px;background:var(--glass-inset); }
html[data-theme] dialog .lead-simulations-head { display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px; }
html[data-theme] dialog .lead-simulations h3 { margin:0;font-size:1rem;line-height:1.4;text-wrap:balance; }
html[data-theme] dialog .lead-simulation-items { display:grid;gap:12px; }
html[data-theme] dialog .lead-simulation-card { display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.9fr);gap:14px;padding:16px;border:1px solid var(--glass-border);border-radius:12px;background:var(--glass-control); }
html[data-theme] dialog .lead-simulation-card > div:first-child { min-width:0; }
html[data-theme] dialog .lead-simulation-card p { margin:7px 0;font-size:.875rem;line-height:1.55;color:var(--glass-muted);overflow-wrap:anywhere; }
html[data-theme] dialog .lead-simulation-card small { font-size:.8125rem;color:var(--glass-muted); }
html[data-theme] dialog .lead-simulation-card > button { justify-self:start; }
html[data-theme] dialog[data-dialog-motion] { transform-origin:center center; }
html[data-theme] dialog[data-dialog-motion=opening]::backdrop { animation:dialog-backdrop-in .45s ease both; }
html[data-theme] dialog[data-dialog-motion=closing]::backdrop { animation:dialog-backdrop-out .23s ease both; }
html[data-theme] dialog[data-dialog-motion=closing] { pointer-events:none; }
@keyframes dialog-backdrop-in { from{opacity:0}to{opacity:1} }
@keyframes dialog-backdrop-out { from{opacity:1}to{opacity:0} }
@media(hover:hover) {
 html[data-theme] .app .dashboard-link:not(:disabled):hover { border-color:#c8a75d66;box-shadow:inset 0 1px 0 var(--glass-shine),0 5px 16px #14253608; }
 html[data-theme] .app button.pipeline-row:not(:disabled):hover { background:var(--glass-accent-soft); }
}
@media(max-width:900px) { html[data-theme] .app .filters { flex-wrap:wrap; }html[data-theme] .app .filters .search-wrap { flex-basis:100%; }html[data-theme] .app .filters > select.filter { flex:1;max-width:none;min-width:min(190px,100%); } }
@media(max-width:760px) { .liquid-ambient { left:0; }html[data-theme] .app .filters #modality-filter { min-width:min(212px,100%); } }
@media(max-width:430px) { html[data-theme] .app .filters > select.filter { width:100%;flex-basis:100%; } }
@media(max-width:580px) { html[data-theme] dialog .lead-simulations { padding:14px; }html[data-theme] dialog .lead-simulation-card { grid-template-columns:minmax(0,1fr); } }
@media(prefers-reduced-motion:reduce) {
 .workspace-progress { transition:none; }.liquid-ambient span { transform:none!important; }
 html[data-theme] .app .liquid-surface::before { transition:none;transform:none!important; }
 html[data-theme] dialog[data-dialog-motion]::backdrop { animation:none; }
}
@media(prefers-reduced-transparency:reduce) { .liquid-ambient,html[data-theme] .app .liquid-surface::before { display:none; } }
@media print { .workspace-progress,.liquid-ambient { display:none; } }

/* Compact guidance stays next to the working CRM. */
html[data-theme] .tutorial-guide {
 --muted:var(--glass-muted);--line:var(--glass-border);position:fixed;inset:auto;margin:0;padding:0;width:358px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:hidden;
 background:var(--glass-shell);color:var(--glass-text);border:1px solid var(--glass-accent);border-radius:17px;box-shadow:0 14px 55px #0004;backdrop-filter:blur(16px);font-family:inherit;font-size:14px;line-height:1.6;
}
.tutorial-guide[hidden],.tutorial-guide [hidden] { display:none!important; }
.tutorial-guide::backdrop { background:transparent;pointer-events:none; }
.tutorial-guide-head { display:flex;align-items:center;gap:8px;padding:12px 15px;background:var(--glass-accent-soft); }
.tutorial-guide-head>div { display:flex;gap:15px;align-items:center;flex:1;min-width:0; }.tutorial-guide-head strong { font-size:13px;font-weight:650; }.tutorial-guide-head span { font-size:12px;color:var(--glass-muted);margin-left:auto;font-variant-numeric:tabular-nums; }
.tutorial-guide-head>button { width:30px;height:30px;display:grid;place-items:center;border:1px solid var(--glass-border);border-radius:8px;background:var(--glass-control);color:var(--glass-text);font-size:20px;line-height:1; }
.tutorial-guide .tutorial-progress { height:3px;background:var(--glass-border);overflow:hidden; }.tutorial-guide .tutorial-progress>i { display:block;height:100%;width:100%;background:var(--glass-accent);transform:scaleX(var(--tutorial-progress));transform-origin:left;transition:transform .5s cubic-bezier(.22,1,.36,1); }
.tutorial-guide-body { padding:15px 17px;overflow:auto;max-height:min(410px,calc(100dvh - 175px));scrollbar-width:thin;overscroll-behavior:contain; }
.tutorial-guide h2 { margin:0 0 10px;font-size:18px;line-height:1.35;letter-spacing:-.3px;color:var(--glass-text);text-wrap:balance; }
.tutorial-guide p { margin:0 0 12px;font-size:14px;line-height:1.65;color:var(--glass-muted); }
.tutorial-guide p.tutorial-small { font-size:12px;margin-bottom:0; }.tutorial-guide p.tutorial-goal { font-size:12px;line-height:1.5;padding:8px 10px;background:var(--glass-accent-soft);border-radius:8px;color:var(--glass-text); }
.tutorial-guide p.tutorial-goal.is-done { background:#23624616;color:#246a49; }html[data-theme=dark] .tutorial-guide p.tutorial-goal.is-done { background:#31523b66;color:#bde9cb; }
.tutorial-step-label { display:block;font-size:12px;color:var(--glass-muted);margin-bottom:5px; }
html[data-theme] .tutorial-guide select { width:100%;min-width:0;margin-bottom:13px;padding:8px 28px 8px 9px;min-height:38px;font-size:13px;border:1px solid var(--glass-border);border-radius:8px;background:var(--glass-control);color:var(--glass-text); }
.tutorial-more { margin-bottom:10px;font-size:12px; }.tutorial-more summary { cursor:pointer;color:var(--glass-text);font-size:12px;min-height:26px; }.tutorial-more>div { padding:12px 0 0; }.tutorial-more b { font-size:13px; }.tutorial-more p { font-size:13px;margin:3px 0 10px; }
.tutorial-locate { display:block;min-height:32px;background:transparent;border:0;border-radius:5px;color:var(--glass-focus);padding:4px 0;font-size:12px; }
.tutorial-guide-controls { display:flex;justify-content:flex-end;flex-wrap:wrap;gap:7px;padding:11px 15px;border-top:1px solid var(--glass-border);background:var(--glass-control); }
html[data-theme] .tutorial-guide-controls :is(.primary,.secondary) { min-height:38px;min-width:0;padding:8px 12px;font-size:12px;display:inline-flex;align-items:center;justify-content:center; }
.tutorial-guide #tutorial-feedback { padding:0 15px 10px;margin:0;font-size:12px;background:var(--glass-control); }.tutorial-guide #tutorial-feedback:empty { padding:0; }
.tutorial-guide :is(button,select,summary):focus-visible { outline:2px solid var(--glass-focus);outline-offset:3px; }
html[data-theme] .tutorial-highlight { outline:2px solid var(--glass-focus)!important;outline-offset:4px;box-shadow:0 0 0 7px var(--glass-accent-soft)!important; }
.tutorial-practice-banner { position:sticky;top:0;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 24px;border-bottom:1px solid var(--glass-accent);background:var(--glass-control);color:var(--glass-text);font-size:12px; }
.tutorial-practice-banner button { min-height:32px;border:1px solid var(--glass-border);border-radius:7px;background:var(--glass-accent-soft);color:var(--glass-text);font-size:12px;padding:5px 9px; }
html[data-theme] .app .tutorial-toolbar { min-height:40px;padding:8px 12px;display:inline-flex;gap:7px;align-items:center;font-size:12px; }.tutorial-toolbar svg { width:17px;height:17px; }.tutorial-menu-icon { display:inline-grid;place-items:center;width:19px;height:19px;border:1px solid currentColor;border-radius:50%;font-size:12px;margin-right:5px; }
html[data-tutorial-active] .content { padding-bottom:330px; }html[data-tutorial-active] .drawer-body { padding-bottom:340px; }html[data-tutorial-active] #proposal-layout-paper { padding-bottom:340px; }
@media(max-width:760px) { .tutorial-guide-body { max-height:min(230px,calc(100dvh - 190px));padding:12px 14px; }.tutorial-guide h2 { font-size:16px;margin-bottom:7px; }.tutorial-guide p { font-size:13px;margin-bottom:9px; }.tutorial-guide-head { padding:9px 12px; }.tutorial-guide-head strong { font-size:12px; }.tutorial-guide-controls { padding:9px 12px; }.tutorial-step-label { display:none; }html[data-theme] .tutorial-guide select { font-size:12px;min-height:34px;margin-bottom:10px; }.tutorial-practice-banner { padding:6px 12px;font-size:11px;align-items:flex-start; }.tutorial-practice-banner span { max-width:190px; }.tutorial-practice-banner button { font-size:11px;white-space:nowrap; }html[data-theme] .app .tutorial-toolbar { width:40px;padding:10px; }.tutorial-toolbar>span { display:none; } }
@media(max-height:500px) { .tutorial-guide-body { max-height:calc(100dvh - 150px); } }
@media(hover:hover) { .tutorial-guide button:hover { filter:brightness(1.07); }.tutorial-locate:hover { text-decoration:underline; } }
@media(prefers-reduced-motion:reduce) { .tutorial-guide * { transition:none!important;animation:none!important; } }
@media print { .tutorial-guide,.tutorial-practice-banner { display:none!important; } }

/* The default hint remains small; button explanations expand on demand. */
.tutorial-guide-body { padding:12px 15px; }
.tutorial-guide-head { padding:9px 13px; }
.tutorial-guide h2 { font-size:17px;margin-bottom:7px; }
.tutorial-guide p { font-size:13px;line-height:1.5;margin-bottom:10px; }
.tutorial-guide p.tutorial-goal:not(.is-done) { display:none; }
.tutorial-guide p.tutorial-goal.is-done { padding:5px 8px;margin-bottom:8px; }
.tutorial-step-label { position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%); }
html[data-theme] .tutorial-guide select { margin-bottom:10px; }
.tutorial-tools { display:flex;gap:8px;align-items:start;flex-wrap:wrap; }
.tutorial-more { flex:1;margin:0;min-width:170px; }
.tutorial-more[open] { flex-basis:100%; }
.tutorial-locate { display:inline-block;padding:0;min-height:26px; }
@media(max-width:760px) { .tutorial-guide h2 { font-size:16px; }.tutorial-guide-body { max-height:min(215px,calc(100dvh - 165px)); }.tutorial-tools { gap:5px; }.tutorial-more { min-width:160px; } }

.import-steps{display:flex;gap:24px;margin:0 0 24px;flex-wrap:wrap;color:var(--muted)}.import-steps span{display:flex;align-items:center;gap:10px}.import-steps b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--surface,#ffffff);border:1px solid var(--line)}.import-steps .current{color:inherit;font-weight:700}.import-steps .current b{background:var(--gold);color:#142536;border-color:transparent}.import-source{padding:28px;margin-bottom:22px}.import-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px}.import-source h2{margin:0 0 8px;font-size:20px}.import-source .muted{font-size:14px;line-height:1.6}.import-source form{border-left:1px solid var(--line);padding-left:32px}.import-drop{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;min-height:175px;padding:24px;border:1px dashed var(--gold);border-radius:20px;background:color-mix(in srgb,var(--gold) 7%,transparent);cursor:pointer;transition:background .2s ease,border-color .2s ease}.import-drop svg{width:30px;height:30px;color:var(--gold)}.import-drop span{font-size:14px;color:var(--muted)}.import-drop input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.import-drop:focus-within{outline:2px solid var(--gold);outline-offset:3px}.import-drop.drag-over,.import-drop:hover{background:color-mix(in srgb,var(--gold) 15%,transparent)}.import-drop.is-disabled{opacity:.6;cursor:wait}.import-column-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.import-mapping,.import-preview{margin-bottom:24px}.import-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:26px;border-bottom:1px solid var(--line)}.import-totals div{display:flex;flex-direction:column;gap:7px}.import-totals strong{font-size:32px}.import-totals span{font-size:14px;color:var(--muted)}.import-progress-area{padding:24px}.import-progress{height:8px;border-radius:12px;background:color-mix(in srgb,var(--muted) 20%,transparent);overflow:hidden}.import-progress span{display:block;height:100%;background:var(--gold);border-radius:12px;transition:width .35s ease}.import-progress-area p{font-size:14px;color:var(--muted);line-height:1.6}.import-preview .footnote{padding:0 24px}.import-preview table{min-width:580px}.import-mapping select{max-width:100%}.import-mapping .panel-head{flex-wrap:wrap}.import-mapping .panel-head p{margin:8px 0 0}.import-source button{margin-top:12px}@media(max-width:1000px){.import-column-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.import-source{padding:20px}.import-source-grid{grid-template-columns:1fr;gap:24px}.import-source form{border-left:0;border-top:1px solid var(--line);padding:24px 0 0}.import-column-grid{grid-template-columns:1fr}.import-totals{gap:12px;padding:20px}.import-totals strong{font-size:26px}.import-totals span{font-size:12px}.import-steps{gap:12px;font-size:12px}.import-steps b{width:26px;height:26px}.import-progress-area .form-actions{flex-wrap:wrap}.import-progress-area button{width:100%}}@media(prefers-reduced-motion:reduce){.import-progress span,.import-drop{transition:none}}

html[data-theme] .app .goal-panel{padding:24px;margin-bottom:24px;overflow:hidden}
.goal-panel-head,.goal-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.goal-panel-head h2{margin:5px 0 7px;font-size:1.35rem}.goal-panel-head p,.goal-dialog-head p{margin:0;color:var(--glass-muted);font-size:.875rem}
.goal-panel-head button{display:inline-flex;align-items:center;gap:8px}.goal-day-badge{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:30px;background:var(--glass-accent-soft);font-size:.8125rem;font-weight:700}
.goal-team-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;padding:20px 0;border-bottom:1px solid var(--glass-border);margin-bottom:20px}.goal-team-summary>div{display:flex;flex-direction:column;gap:6px}.goal-team-summary b{font-size:1.75rem}.goal-team-summary small{font-size:1rem;color:var(--glass-muted);font-weight:500}.goal-team-summary span{font-size:.8125rem;color:var(--glass-muted)}.goal-alert-number{color:#c58e3e}
.goal-sellers{display:grid;gap:14px;margin-top:20px}.goal-team{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr))}
.goal-seller{border:1px solid var(--glass-border);border-radius:16px;padding:18px;background:var(--glass-inset);min-width:0}.goal-seller-head{display:flex;align-items:center;gap:12px}.goal-seller-head>div{flex:1;min-width:0}.goal-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:var(--glass-accent-soft);color:var(--glass-accent)}.goal-seller h3{font-size:1rem;line-height:1.4;margin:0;overflow-wrap:anywhere}.goal-status{display:block;font-size:.75rem;margin-top:3px;color:var(--glass-muted)}.goal-count{font-size:1.6rem;font-variant-numeric:tabular-nums;white-space:nowrap}.goal-count small{font-size:.8125rem;color:var(--glass-muted);font-weight:500}
.goal-progress{height:11px;border-radius:20px;background:var(--glass-control);position:relative;overflow:hidden;margin:20px 0 15px;border:1px solid var(--glass-border)}.goal-progress>span{display:block;height:100%;width:var(--goal-progress);border-radius:inherit;background:linear-gradient(90deg,#b58f43,#e0bd70);animation:goal-progress-in .75s cubic-bezier(.22,1,.36,1) both}.goal-expected-marker{position:absolute;top:0;bottom:0;width:2px;background:var(--glass-text);opacity:.6}.goal-progress.is-complete>span{background:linear-gradient(90deg,#258257,#50b681)}
.goal-seller-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.goal-seller-foot>span{font-size:.75rem;color:var(--glass-muted);line-height:1.5}.goal-seller-foot button{font-size:.8125rem;min-height:40px}.goal-rule{font-size:.75rem;color:var(--glass-muted);line-height:1.65;margin:18px 0 0}.goal-report-available{font-size:.8125rem;color:var(--glass-accent)}
html[data-theme] .goal-seller.is-complete{border-color:#25825766;background:#2582570c}.goal-seller.is-complete .goal-avatar,.goal-day-badge.is-complete{color:#267549;background:#2582571c}.goal-seller.is-complete .goal-status{color:#267549}.goal-seller.is-behind{border-color:#c28f4655}.goal-seller.is-behind .goal-status{color:#946016}
html[data-theme=dark] .goal-seller.is-complete .goal-status,html[data-theme=dark] .goal-seller.is-complete .goal-avatar,html[data-theme=dark] .goal-day-badge.is-complete{color:#85d5a9}html[data-theme=dark] .goal-seller.is-behind .goal-status{color:#e1b978}
.goal-reminder{padding:17px;margin-top:15px;border:1px solid var(--glass-border);border-radius:13px;background:var(--glass-accent-soft)}.goal-reminder>div{display:flex;align-items:center;gap:9px}.goal-reminder small{margin-left:auto;color:var(--glass-muted)}.goal-reminder p{line-height:1.6;white-space:pre-wrap;font-size:.875rem}
html[data-theme] dialog.goal-dialog{width:min(760px,calc(100vw - 28px));max-height:calc(100dvh - 36px);padding:0;border-radius:20px;overflow:auto}.goal-dialog-head{padding:24px;border-bottom:1px solid var(--glass-border)}.goal-dialog-head h2{font-size:1.3rem;margin:5px 0 8px}.goal-dialog-body{padding:24px}.goal-dialog-body>section,.goal-dialog-body>form{margin-top:24px}.goal-dialog-body .goal-seller-foot button{display:none}.goal-dialog-body h3{font-size:1rem}.goal-rescues>div{padding:12px 0;display:flex;align-items:center;gap:16px;justify-content:space-between;border-bottom:1px solid var(--glass-border)}.goal-rescues .lead-name{min-width:0;text-align:left}.goal-rescues small{white-space:nowrap;color:var(--glass-muted)}.goal-dialog textarea{min-height:125px;resize:vertical}.goal-dialog form>.primary{margin-top:12px}.goal-calm{padding:16px;margin-top:20px;background:var(--glass-inset);border-radius:12px;color:var(--glass-muted);font-size:.875rem}.goal-history article{border-top:1px solid var(--glass-border);padding:14px 0;font-size:.875rem}.goal-history p{line-height:1.6;white-space:pre-wrap}.goal-history small{color:var(--glass-muted)}.goal-report-ready{margin-top:22px;border:1px solid var(--glass-border);border-radius:14px;padding:20px;background:var(--glass-inset)}.goal-report-ready p{line-height:1.6;color:var(--glass-muted);font-size:.875rem}.goal-report-ready .toolbar-actions{flex-wrap:wrap;gap:10px}.goal-report-ready a{display:inline-flex;align-items:center;justify-content:center}
@keyframes goal-progress-in{from{width:0}to{width:var(--goal-progress)}}
@media(max-width:600px){html[data-theme] .app .goal-panel{padding:18px}.goal-panel-head{align-items:flex-start}.goal-team-summary{gap:12px}.goal-team-summary b{font-size:1.25rem}.goal-team-summary span{font-size:.7rem;line-height:1.5}.goal-seller{padding:15px}.goal-count{font-size:1.35rem}.goal-dialog-body,.goal-dialog-head{padding:18px}.goal-panel-head h2{font-size:1.2rem}.goal-seller-foot button{width:100%}}
@media(prefers-reduced-motion:reduce){.goal-progress>span{animation:none}}

.contact-success{position:fixed;z-index:22000;left:50%;bottom:32px;transform:translateX(-50%);display:flex;align-items:center;gap:20px;width:min(430px,calc(100vw - 32px));padding:22px 28px;border:1px solid #d7b66b70;border-radius:24px;background:linear-gradient(125deg,#142b44,#0b192b);color:#fff;box-shadow:0 22px 65px #06152745,0 0 40px #d2a94d18;pointer-events:none;animation:contact-card-in .65s cubic-bezier(.16,1,.3,1) both;overflow:visible;isolation:isolate}
.contact-success::before{content:'';position:absolute;inset:0;border-radius:inherit;background:linear-gradient(110deg,transparent 30%,#fff1 50%,transparent 70%);background-size:260% 100%;animation:contact-shimmer 1.8s ease-out both;z-index:-1}
.contact-success-mark{position:relative;flex:0 0 70px;width:70px;height:70px;background:#d4ad4e14;border-radius:50%}.contact-success-mark svg{width:70px;height:70px;fill:none;stroke:#e4c172;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.contact-success-circle{stroke-dasharray:158;stroke-dashoffset:158;animation:contact-draw .65s ease-out .15s forwards}.contact-success-check{stroke-dasharray:42;stroke-dashoffset:42;stroke-width:4;animation:contact-draw .4s ease-out .6s forwards}.contact-success-orbit{position:absolute;inset:-9px;border:1px solid #e4c172;border-radius:50%;animation:contact-orbit 1s ease-out .1s both}.contact-success-mark i{position:absolute;left:50%;top:50%;width:4px;height:8px;border-radius:2px;background:#e4c172;opacity:0;transform:rotate(calc(var(--particle)*45deg)) translateY(-30px);animation:contact-particle 1.1s ease-out .35s both}
.contact-success-copy{min-width:0}.contact-success-copy span{display:block;color:#e4c172;font-size:9px;font-weight:700;letter-spacing:1.4px;margin-bottom:6px}.contact-success-copy strong{display:block;color:#fff;font-size:25px;font-weight:750;line-height:1.2;letter-spacing:-.6px}.contact-success-copy p{margin:7px 0 0;color:#bdc9d6;font-size:12px;line-height:1.45;overflow-wrap:anywhere}.contact-success-out{animation:contact-card-out .3s ease-in both}
@keyframes contact-card-in{from{opacity:0;transform:translate(-50%,25px) scale(.9)}to{opacity:1;transform:translate(-50%,0) scale(1)}}@keyframes contact-card-out{to{opacity:0;transform:translate(-50%,12px) scale(.97)}}@keyframes contact-draw{to{stroke-dashoffset:0}}@keyframes contact-orbit{from{opacity:.8;transform:scale(.6)}to{opacity:0;transform:scale(1.35)}}@keyframes contact-particle{15%{opacity:1}to{opacity:0;transform:rotate(calc(var(--particle)*45deg)) translateY(-62px) scale(.4)}}@keyframes contact-shimmer{from{background-position:100% 0}to{background-position:0 0}}
@media(max-width:480px){.contact-success{bottom:20px;padding:18px 20px;gap:15px}.contact-success-copy strong{font-size:23px}.contact-success-mark,.contact-success-mark svg{width:58px;height:58px}.contact-success-mark{flex-basis:58px}}
@media(prefers-reduced-motion:reduce){.contact-success,.contact-success::before,.contact-success-mark *{animation:none!important}.contact-success-circle,.contact-success-check{stroke-dashoffset:0}.contact-success-orbit,.contact-success-mark i{display:none}}
