:root{--bg:#f4f7fb;--surface:#fff;--surface-2:#f8fafc;--text:#172033;--muted:#667085;--line:#e5eaf1;--primary:#1f5f9d;--primary-2:#2f7fc4;--accent:#79b53c;--danger:#c0392b;--success:#1f8a57;--warning:#b7791f;--info:#2f6fa3;--radius:18px;--shadow:0 18px 50px rgba(22,40,68,.08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:var(--bg)}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}.hidden{display:none!important}.admin-body{min-height:100vh}.admin-shell{display:grid;grid-template-columns:260px 1fr;min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#0f2742;color:#dce8f4;padding:26px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--accent),#95cc54);color:#fff;font-weight:800;font-size:22px}.brand strong{display:block;font-size:22px;line-height:20px}.brand small{display:block;text-transform:uppercase;letter-spacing:.18em;font-size:9px;opacity:.7;margin-top:3px}.sidebar nav{display:grid;gap:7px;margin-top:38px}.sidebar nav a{padding:12px 14px;border-radius:12px;color:#c7d7e6}.sidebar nav a:hover,.sidebar nav a.active{background:rgba(255,255,255,.09);color:#fff}.sidebar-footer{margin-top:auto;border-top:1px solid rgba(255,255,255,.1);padding-top:18px}.user-chip{display:flex;gap:10px;align-items:center}.user-chip>span{width:35px;height:35px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.12);font-weight:700}.user-chip strong,.user-chip small{display:block}.user-chip small{font-size:11px;color:#9cb2c8;margin-top:2px;max-width:150px;overflow:hidden;text-overflow:ellipsis}.logout{display:inline-block;margin-top:14px;color:#9cb2c8;font-size:13px}.content{padding:34px 40px}.mobile-top{display:none}.admin-footer{margin:42px 0 5px;color:var(--muted);font-size:12px}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:24px}.page-head h1{margin:0;font-size:30px;letter-spacing:-.03em}.page-head p{margin:7px 0 0;color:var(--muted)}.actions{display:flex;flex-wrap:wrap;gap:10px}.btn{border:0;border-radius:12px;padding:11px 16px;font-weight:700;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:#174f84}.btn-secondary{background:#fff;border:1px solid var(--line);color:var(--text)}.btn-success{background:var(--success);color:#fff}.btn-danger{background:var(--danger);color:#fff}.btn-soft{background:#edf4fb;color:var(--primary)}.btn-sm{padding:8px 11px;font-size:13px}.btn-block{width:100%}.btn[disabled]{opacity:.5;cursor:not-allowed}.alert{padding:13px 16px;border-radius:12px;margin:0 0 18px;border:1px solid transparent}.alert.success{background:#edf9f2;color:#12633e;border-color:#ccebd9}.alert.danger{background:#fff0ee;color:#8e2a1f;border-color:#f2d0cc}.alert.info{background:#eef6fd;color:#245d8d;border-color:#d5e9fa}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:20px;box-shadow:0 8px 25px rgba(22,40,68,.04)}.stat small{color:var(--muted);display:block;margin-bottom:8px}.stat strong{font-size:27px;letter-spacing:-.04em}.stat em{font-style:normal;font-size:12px;color:var(--muted);display:block;margin-top:4px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:22px}.card+.card{margin-top:18px}.card h2,.card h3{margin-top:0}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:18px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.stack{display:grid;gap:16px}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:16px}.table{width:100%;border-collapse:collapse;min-width:760px}.table th,.table td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:middle}.table th{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.06em;background:#fbfcfe}.table tr:last-child td{border-bottom:0}.table .right{text-align:right}.muted{color:var(--muted)}.small{font-size:12px}.badge{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800;background:#eef1f5;color:#5f6b7a}.badge.success{background:#e9f7ef;color:#167047}.badge.info{background:#eaf3fb;color:#266995}.badge.primary{background:#e8f0fa;color:#205c95}.badge.danger{background:#fdeceb;color:#a73a30}.badge.muted{background:#eef1f5;color:#667085}.form-card{max-width:1080px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:13px;font-weight:700}.field small{color:var(--muted)}input,textarea,select{width:100%;border:1px solid #dbe2ea;background:#fff;border-radius:11px;padding:11px 12px;color:var(--text);outline:none}textarea{min-height:115px;resize:vertical}input:focus,textarea:focus,select:focus{border-color:#72a7d4;box-shadow:0 0 0 3px rgba(47,127,196,.12)}.section-title{margin:28px 0 12px;padding-top:22px;border-top:1px solid var(--line)}.line-items{display:grid;gap:10px}.line-item{display:grid;grid-template-columns:1.2fr 2fr .55fr .7fr auto;gap:10px;align-items:start;background:#fafbfd;border:1px solid var(--line);padding:12px;border-radius:12px}.line-item textarea{min-height:72px}.icon-btn{width:40px;height:40px;border-radius:10px;border:1px solid var(--line);background:#fff;cursor:pointer;color:var(--danger)}.login-page{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr;background:#fff}.login-hero{background:linear-gradient(135deg,#0f2742,#1f5f9d);padding:60px;color:#fff;display:flex;flex-direction:column;justify-content:space-between}.login-hero .brand-mark{background:var(--accent)}.login-copy{max-width:560px}.login-copy h1{font-size:52px;line-height:1.02;letter-spacing:-.05em;margin:0 0 20px}.login-copy p{font-size:18px;line-height:1.6;color:#d4e3f1}.login-panel{display:grid;place-items:center;padding:40px}.login-box{width:min(420px,100%)}.login-box h2{font-size:32px;margin:0 0 8px}.login-box>p{color:var(--muted);margin:0 0 25px}.login-box .field{margin-bottom:15px}.proposal-admin-summary{display:grid;grid-template-columns:2fr 1fr 1fr;gap:14px}.summary-tile{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fbfcfe}.summary-tile small{display:block;color:var(--muted);margin-bottom:7px}.summary-tile strong{font-size:20px}.timeline{display:grid;gap:10px}.event{display:grid;grid-template-columns:150px 1fr;gap:15px;padding:12px 0;border-bottom:1px solid var(--line)}.event:last-child{border:0}.event time{font-size:12px;color:var(--muted)}.public-body{background:#eef3f8}.proposal-page{max-width:1160px;margin:0 auto;padding:26px 18px 70px}.proposal-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.proposal-topbar .brand strong{font-size:24px}.proposal-topbar .brand small{color:#61748b}.proposal-top-actions{display:flex;gap:8px}.public-btn{border:1px solid #d8e0e8;background:#fff;border-radius:11px;padding:9px 12px;font-weight:700;cursor:pointer}.hero-card{position:relative;overflow:hidden;border-radius:28px;padding:54px;background:linear-gradient(130deg,#102a46 0%,#1f5f9d 68%,#2f7fc4 100%);color:#fff;box-shadow:0 22px 65px rgba(16,42,70,.24)}.hero-card:after{content:"";position:absolute;width:320px;height:320px;border-radius:50%;right:-100px;top:-120px;background:rgba(121,181,60,.16)}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.17em;font-weight:800;color:#cfe1f3}.hero-card h1{font-size:48px;line-height:1.03;letter-spacing:-.045em;max-width:760px;margin:13px 0 16px}.hero-card p{max-width:760px;font-size:18px;line-height:1.65;color:#d8e7f5}.hero-meta{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-pill{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.12);font-size:12px}.public-grid{display:grid;grid-template-columns:1fr .38fr;gap:22px;margin-top:22px}.proposal-content{display:grid;gap:18px}.proposal-section{background:#fff;border:1px solid #e0e7ee;border-radius:22px;padding:28px}.proposal-section h2{font-size:23px;letter-spacing:-.025em;margin:0 0 14px}.proposal-section p{line-height:1.72;color:#42526a}.check-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.check-list li{position:relative;padding-left:29px;line-height:1.55;color:#42526a}.check-list li:before{content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#edf7e5;color:#4f8d20;font-size:12px;font-weight:900}.module-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.module{border:1px solid #e2e8ef;background:#fbfcfe;border-radius:16px;padding:18px}.module h3{margin:0 0 7px;font-size:16px}.module p{margin:0;font-size:13px}.proposal-aside{display:grid;align-content:start;gap:16px}.price-card,.decision-card{background:#fff;border:1px solid #e0e7ee;border-radius:22px;padding:24px;box-shadow:0 10px 30px rgba(18,39,65,.06);position:sticky;top:16px}.price-card{position:relative}.price-label{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-weight:800}.price-main{font-size:35px;font-weight:850;letter-spacing:-.05em;margin:5px 0 14px}.price-month{padding-top:14px;border-top:1px solid var(--line);margin-top:12px}.price-month strong{display:block;font-size:22px;margin-top:3px}.validity{margin-top:16px;padding:12px;border-radius:12px;background:#f6f8fb;font-size:12px;color:#5c6c80}.decision-card{position:static}.decision-card h3{margin:0 0 7px}.decision-card p{font-size:13px;color:var(--muted);line-height:1.5}.approve-btn{width:100%;border:0;border-radius:13px;padding:14px;background:var(--success);color:#fff;font-weight:800;cursor:pointer}.change-btn{width:100%;border:1px solid var(--line);border-radius:13px;padding:12px;background:#fff;color:var(--text);font-weight:750;cursor:pointer;margin-top:8px}.approved-box{background:#ecf9f1;border:1px solid #caebd8;color:#17653f;border-radius:16px;padding:18px}.superseded-banner{background:#fff5dc;border:1px solid #f0ddb0;color:#7d5b16;padding:13px 16px;border-radius:13px;margin-bottom:16px}.public-footer{text-align:center;color:#8090a3;font-size:12px;margin-top:28px}.modal-backdrop{position:fixed;inset:0;background:rgba(13,27,43,.55);display:none;place-items:center;padding:20px;z-index:50}.modal-backdrop.open{display:grid}.modal{width:min(540px,100%);background:#fff;border-radius:20px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.22)}.modal h3{margin-top:0}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:18px}.checkbox{display:flex;gap:9px;align-items:flex-start;font-size:13px;color:#4a5b70}.checkbox input{width:auto;margin-top:3px}.empty{padding:32px;text-align:center;color:var(--muted)}@media (max-width:1000px){.stats{grid-template-columns:1fr 1fr}.public-grid{grid-template-columns:1fr}.price-card{position:static}.admin-shell{grid-template-columns:1fr}.sidebar{display:none}.mobile-top{display:flex;margin-bottom:25px}.content{padding:24px}.login-page{grid-template-columns:1fr}.login-hero{display:none}.hero-card{padding:38px}.hero-card h1{font-size:40px}}@media (max-width:700px){.content{padding:18px}.page-head{display:grid}.stats,.grid-2,.grid-3,.form-grid{grid-template-columns:1fr}.line-item{grid-template-columns:1fr}.proposal-admin-summary{grid-template-columns:1fr}.event{grid-template-columns:1fr;gap:3px}.hero-card{padding:30px 24px;border-radius:22px}.hero-card h1{font-size:34px}.proposal-top-actions{display:none}.proposal-section{padding:22px}.module-grid{grid-template-columns:1fr}.public-grid{gap:16px}.proposal-page{padding:18px 12px 45px}.price-main{font-size:32px}}@media print{.proposal-top-actions,.decision-card,.public-footer,.superseded-banner{display:none!important}.public-body{background:#fff}.proposal-page{max-width:none;padding:0}.hero-card,.proposal-section,.price-card{box-shadow:none;break-inside:avoid}.public-grid{grid-template-columns:1fr}.proposal-aside{order:-1}.price-card{position:static}}.brand-icon{width:38px;height:44px;object-fit:contain;display:block;flex:0 0 auto}.brand-sidebar{gap:11px}.brand-sidebar strong{font-size:19px;letter-spacing:-.02em}.brand-sidebar small{font-size:9px;letter-spacing:.16em;color:#9fb7cc;opacity:1}.brand-logo-horizontal{display:block;width:auto;height:auto;object-fit:contain}.brand-mobile .brand-logo-horizontal{width:190px;max-width:70vw}.brand-public .brand-logo-horizontal{width:210px;max-width:58vw}.login-brand-card{align-self:flex-start;background:#fff;border-radius:18px;padding:15px 20px;box-shadow:0 15px 40px rgba(0,0,0,.13);max-width:360px}.login-brand-logo{display:block;width:100%;height:auto}.login-hero{position:relative;overflow:hidden}.login-hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-180px;bottom:-190px;background:rgba(121,181,60,.13);pointer-events:none}.login-hero>*{position:relative;z-index:1}.login-panel{background:linear-gradient(180deg,#fff 0%,#f8fafc 100%)}.login-box{background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px;box-shadow:0 24px 70px rgba(17,39,67,.10)}.login-box h2{color:#17324f}.login-box .btn-primary{min-height:46px}.proposal-topbar{min-height:54px}.sidebar .brand-icon{filter:drop-shadow(0 7px 14px rgba(0,0,0,.18))}@media (max-width:1000px){.login-box{padding:28px}.brand-mobile .brand-logo-horizontal{width:175px}}@media (max-width:700px){.login-box{padding:24px;border-radius:20px}.brand-public .brand-logo-horizontal{width:165px}}.kanban-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:16px}.kanban-toolbar select{min-width:190px}.kanban-board{display:flex;gap:14px;overflow-x:auto;padding:2px 2px 18px;align-items:flex-start}.kanban-column{flex:0 0 286px;background:#eef2f6;border:1px solid #dde5ed;border-radius:16px;min-height:220px}.kanban-column>header{display:flex;justify-content:space-between;align-items:center;padding:14px 14px 10px}.kanban-column>header strong{font-size:14px}.kanban-column>header span{background:#fff;border:1px solid var(--line);border-radius:999px;padding:3px 8px;font-size:11px;color:var(--muted)}.kanban-dropzone{display:grid;gap:10px;padding:0 10px 12px;min-height:150px}.kanban-column.drag-over{outline:2px solid #72a7d4;outline-offset:-2px}.kanban-card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:13px;box-shadow:0 5px 16px rgba(22,40,68,.05);cursor:grab}.kanban-card:active{cursor:grabbing}.kanban-card.dragging{opacity:.45}.kanban-card strong{display:block;font-size:14px}.kanban-card p{font-size:12px;line-height:1.45;color:var(--muted);margin:6px 0 0}.kanban-meta{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.kanban-meta span{font-size:10px;background:#f4f7fa;color:#5f6f82;border-radius:999px;padding:4px 7px}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.permission-card{display:flex;gap:9px;align-items:flex-start;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fbfcfe}.permission-card input{width:auto;margin-top:3px}.permission-card strong,.permission-card small{display:block}.permission-card small{color:var(--muted);font-size:11px;margin-top:3px;line-height:1.35}@media (max-width:700px){.kanban-toolbar{align-items:stretch;flex-direction:column}.kanban-toolbar .actions{display:grid}.kanban-column{flex-basis:82vw}.permission-grid{grid-template-columns:1fr}}.eyebrow-admin{font-size:11px;font-weight:850;letter-spacing:.12em;color:var(--primary);margin-bottom:7px}.card-lite{background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px 14px;box-shadow:0 6px 20px rgba(22,40,68,.035)}.kanban-page-head{margin-bottom:16px}.kanban-overview{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}.kanban-kpi{min-width:145px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:18px}.kanban-kpi span{font-size:11px;color:var(--muted);font-weight:700}.kanban-kpi strong{font-size:20px}.kanban-kpi.attention{background:#fffaf0;border-color:#f0dfb9}.kanban-kpi.attention strong{color:#9b671c}.kanban-kpi.danger{background:#fff3f1;border-color:#f0d1cc}.kanban-kpi.danger strong{color:var(--danger)}.kanban-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:flex-end;margin-bottom:16px}.kanban-filters{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.compact-field{display:grid;gap:5px;min-width:210px}.compact-field label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:850;color:var(--muted)}.compact-field select{padding:9px 34px 9px 11px;background-color:#fff}.kanban-board{display:flex;gap:13px;overflow-x:auto;padding:2px 2px 22px;align-items:flex-start;scrollbar-width:thin}.kanban-column{flex:0 0 304px;background:#f1f4f8;border:1px solid #dfe6ed;border-radius:16px;min-height:300px;overflow:hidden}.kanban-column>header{display:flex;justify-content:space-between;align-items:center;padding:14px 14px 12px;border-bottom:1px solid #e1e7ed;background:rgba(255,255,255,.55)}.kanban-column>header>div{display:grid;gap:2px}.kanban-column>header strong{font-size:13px}.kanban-column>header small{font-size:10px;color:var(--muted)}.kanban-column>header span{background:#fff;border:1px solid var(--line);border-radius:999px;min-width:26px;text-align:center;padding:3px 7px;font-size:10px;font-weight:800;color:var(--muted)}.kanban-column.stage-ganho>header{box-shadow:inset 0 3px 0 #52a675}.kanban-column.stage-perdido>header{box-shadow:inset 0 3px 0 #c97066}.kanban-column.stage-proposta>header{box-shadow:inset 0 3px 0 #4c88be}.kanban-dropzone{display:grid;gap:10px;padding:10px;min-height:235px;align-content:start}.kanban-empty{border:1px dashed #cdd7e1;border-radius:13px;padding:24px 12px;text-align:center;color:#8795a6;display:grid;gap:5px;background:rgba(255,255,255,.35)}.kanban-empty span{font-size:21px;line-height:1}.kanban-empty strong{font-size:12px;color:#5b6f83}.kanban-empty small{font-size:11px}.kanban-empty-action{text-decoration:none;cursor:pointer;transition:.16s ease}.kanban-empty-action:hover{background:#fff;border-color:#8fb6d7;color:var(--primary);transform:translateY(-1px)}.kanban-empty-action:hover strong{color:var(--primary)}.new-lead-stage-hint{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px;border:1px solid #d9e7f3;background:#f4f9fd;border-radius:12px}.new-lead-stage-hint span{font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:#6f8193}.new-lead-stage-hint strong{font-size:12px;color:var(--primary)}.kanban-column.drag-over{outline:2px solid #72a7d4;outline-offset:-2px;background:#e9f2fa}.kanban-card{background:#fff;border:1px solid #dfe5eb;border-radius:14px;box-shadow:0 5px 14px rgba(22,40,68,.055);cursor:grab;overflow:hidden;transition:transform .16s ease , box-shadow .16s ease , border-color .16s ease}.kanban-card:hover{transform:translateY(-2px);box-shadow:0 10px 23px rgba(22,40,68,.09);border-color:#cbd8e4}.kanban-card:active{cursor:grabbing}.kanban-card.dragging{opacity:.42;transform:rotate(1deg)}.kanban-card-link{display:block;padding:13px}.kanban-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.lead-id{font-size:10px;font-weight:850;color:#7b8999;background:#f0f3f6;border-radius:7px;padding:3px 6px}.lead-id.large{font-size:11px;padding:5px 8px}.interest-chip{font-size:9px;font-weight:800;color:#245d8d;background:#edf5fc;border-radius:999px;padding:4px 7px;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kanban-card h3{font-size:15px;line-height:1.25;margin:10px 0 9px;letter-spacing:-.01em}.lead-contact{display:grid;gap:1px;margin-top:5px}.lead-contact span{font-size:9px;text-transform:uppercase;letter-spacing:.07em;color:#8a98a9;font-weight:800}.lead-contact strong{font-size:12px;font-weight:700}.lead-subline{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.lead-subline span{font-size:10px;color:#657588}.lead-subline span+span:before{content:'•';margin-right:6px;color:#b4bdc7}.kanban-card-footer{display:flex;gap:6px;flex-wrap:wrap;margin-top:11px;padding-top:10px;border-top:1px solid #edf0f3}.owner-chip,.followup-chip{font-size:9px;font-weight:750;border-radius:999px;padding:4px 7px}.owner-chip{background:#f0f2f5;color:#596a7c}.followup-chip{background:#eef5fb;color:#356b98}.followup-chip.today{background:#fff5dc;color:#895e17}.followup-chip.late{background:#fdeceb;color:#9d3b31}.open-lead{display:flex;justify-content:space-between;align-items:center;margin-top:11px;font-size:10px;font-weight:800;color:var(--primary)}.open-lead b{font-size:14px}.modal-wide{width:min(680px,100%)}.modal-heading{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:18px}.modal-heading h3{margin:2px 0 4px}.modal-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.45}.modal-kicker,.section-kicker{font-size:9px;font-weight:850;letter-spacing:.12em;color:var(--primary)}.modal-x{width:34px;height:34px;border:1px solid var(--line);border-radius:10px;background:#fff;color:#6d7988;font-size:20px;line-height:1;cursor:pointer}.modal-actions.split{justify-content:space-between;align-items:center}.modal-confirm{text-align:center;max-width:450px}.confirm-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;margin:0 auto 12px;background:#fff0ee;color:var(--danger);font-weight:900;font-size:20px}.modal-confirm p{color:var(--muted);line-height:1.55;font-size:13px}.users-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);gap:18px;align-items:start}.user-form-card,.team-card{padding:0;overflow:hidden}.card-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.user-form-card>.card-heading,.team-card>.card-heading{padding:21px 22px;border-bottom:1px solid var(--line)}.user-form-card>.stack{padding:22px}.card-heading h2{margin:0;font-size:19px}.card-heading p{margin:5px 0 0;color:var(--muted);font-size:12px;line-height:1.45}.label-hint{font-weight:500;color:var(--muted);font-size:11px}.user-flags{display:grid;border:1px solid var(--line);border-radius:14px;overflow:hidden}.setting-row{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:13px 14px;background:#fbfcfd}.setting-row+.setting-row{border-top:1px solid var(--line)}.setting-row strong,.setting-row small{display:block}.setting-row strong{font-size:13px}.setting-row small{font-size:10px;color:var(--muted);margin-top:3px}.admin-setting{background:#f7faff}.switch{position:relative;display:inline-flex;flex:0 0 auto}.switch input{position:absolute;opacity:0;pointer-events:none}.switch i{width:40px;height:23px;border-radius:999px;background:#cbd3dc;position:relative;transition:.18s;cursor:pointer}.switch i:after{content:'';position:absolute;width:17px;height:17px;border-radius:50%;background:#fff;top:3px;left:3px;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:.18s}.switch input:checked+i{background:var(--primary)}.switch input:checked+i:after{left:20px}.switch input:disabled+i{opacity:.55;cursor:not-allowed}.admin-notice{display:flex;gap:10px;align-items:flex-start;background:#eef6fd;border:1px solid #d5e9fa;border-radius:13px;padding:12px 14px}.admin-notice>span{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#dceefa;color:#276692;font-weight:900}.admin-notice strong{font-size:12px}.admin-notice p{font-size:10px;color:#5b7892;margin:3px 0 0}.access-section{border-top:1px solid var(--line);padding-top:18px}.access-section-head{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:12px}.access-section-head h3{margin:2px 0 4px;font-size:16px}.access-section-head p{font-size:11px;color:var(--muted);margin:0}.access-total-state{font-size:9px;font-weight:850;padding:5px 8px;border-radius:999px;background:#edf4fb;color:var(--primary);white-space:nowrap}.permission-list{display:grid;border:1px solid var(--line);border-radius:14px;overflow:hidden}.permission-row{display:grid;grid-template-columns:34px 1fr auto;gap:11px;align-items:center;padding:12px 13px;background:#fff;cursor:pointer}.permission-row+.permission-row{border-top:1px solid var(--line)}.permission-row:hover{background:#fbfcfe}.permission-icon{width:32px;height:32px;border-radius:9px;display:grid;place-items:center;background:#f0f4f8;color:#557086;font-weight:900}.permission-copy strong,.permission-copy small{display:block}.permission-copy strong{font-size:12px}.permission-copy small{font-size:10px;color:var(--muted);margin-top:3px;line-height:1.35}.permission-list.is-admin .permission-row{background:#f8fafc}.permission-list.is-admin .permission-copy{opacity:.7}.access-help{display:flex;gap:8px;align-items:flex-start;margin-top:9px;color:var(--muted)}.access-help>span{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;border:1px solid #cbd5df;font-size:10px;font-weight:800;flex:0 0 auto}.access-help p{font-size:10px;line-height:1.45;margin:1px 0 0}.form-actions-sticky{padding-top:2px}.team-list{display:grid}.team-user{padding:15px 17px;border-bottom:1px solid var(--line)}.team-user:last-child{border-bottom:0}.team-user.selected{background:#f5f9fd}.team-user-main{display:grid;grid-template-columns:36px 1fr auto;gap:10px;align-items:center}.avatar-sm{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;background:#eaf1f8;color:#295d87;font-size:13px;font-weight:850}.team-user-copy{min-width:0}.team-user-name{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.team-user-name strong{font-size:12px}.team-user-copy>small{display:block;color:var(--muted);font-size:10px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.permission-chips{display:flex;gap:5px;flex-wrap:wrap;margin:10px 0 0 46px}.permission-chip{font-size:9px;font-weight:700;color:#5c6e80;background:#f1f4f7;border-radius:999px;padding:4px 7px}.permission-chip.total{color:#245d8d;background:#eaf3fb}.permission-chip.none{color:#8b5f20;background:#fff5dc}.back-link{display:inline-block;font-size:11px;color:var(--muted);margin-bottom:12px}.back-link:hover{color:var(--primary)}.opportunity-head{align-items:flex-end}.opportunity-badges{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.badge.warning{background:#fff5dc;color:#8b5f20}.opportunity-layout{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);gap:18px;align-items:start}.opportunity-form-card .card-heading,.quick-note-card .card-heading,.history-card .card-heading{margin-bottom:17px}.opportunity-activity{display:grid;gap:18px}.opportunity-activity .card+.card{margin-top:0}.quick-note-card textarea{min-height:90px}.crm-timeline{display:grid;gap:0}.crm-event{display:grid;grid-template-columns:32px 1fr;gap:11px;position:relative;padding-bottom:17px}.crm-event:not(:last-child):before{content:'';position:absolute;left:15px;top:31px;bottom:0;width:1px;background:#dde5ec}.crm-event-marker{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:#eef2f6;color:#607487;font-size:12px;font-weight:900;z-index:1}.crm-event.event-created .crm-event-marker{background:#eaf5ee;color:#39734f}.crm-event.event-stage .crm-event-marker{background:#eaf3fb;color:#2e6b9d}.crm-event.event-note .crm-event-marker{background:#fff5dc;color:#8a621f}.crm-event.event-owner .crm-event-marker,.crm-event.event-followup .crm-event-marker{background:#f0ecfa;color:#6b4b96}.crm-event.event-proposal .crm-event-marker{background:#e8f0fa;color:#205c95}.crm-event-content{padding-top:1px}.crm-event-top{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.crm-event-type{font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.045em;color:#55677a}.crm-event time{font-size:9px;color:#8a98a9;white-space:nowrap}.crm-event p{font-size:12px;line-height:1.45;margin:4px 0;color:#34465a}.crm-event small{font-size:9px;color:#8b98a6}.history-card{max-height:660px;overflow:auto}@media (max-width:1100px){.users-layout,.opportunity-layout{grid-template-columns:1fr}.team-card{order:2}.history-card{max-height:none}}@media (max-width:700px){.kanban-toolbar{align-items:stretch;flex-direction:column}.kanban-filters{display:grid;grid-template-columns:1fr}.compact-field{min-width:0}.kanban-column{flex-basis:84vw}.kanban-overview{display:grid;grid-template-columns:1fr 1fr}.kanban-kpi:first-child{grid-column:1/-1}.modal-actions.split{align-items:stretch;flex-direction:column-reverse}.modal-actions.split>.actions{width:100%}.modal-actions.split .btn{flex:1}.users-layout{display:block}.team-card{margin-top:18px}.user-form-card>.stack{padding:17px}.user-form-card>.card-heading,.team-card>.card-heading{padding:17px}.access-section-head{display:grid}.permission-row{grid-template-columns:30px 1fr auto}.permission-icon{width:29px;height:29px}.team-user-main{grid-template-columns:34px 1fr}.team-user-main>.btn{grid-column:2;justify-self:start}.permission-chips{margin-left:44px}.opportunity-head{align-items:flex-start}.opportunity-head .actions{width:100%}.opportunity-head .actions .btn{width:100%}.crm-event-top{display:grid;gap:2px}.history-card{padding:17px}}.kanban-toolbar-right{display:flex;align-items:flex-end;gap:14px;flex-wrap:wrap;justify-content:flex-end}.view-mode-group{display:grid;gap:6px}.view-mode-label{font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.075em;font-weight:850;color:#77879a}.view-mode-buttons{display:inline-flex;gap:6px;padding:5px;background:#eef2f6;border:1px solid #dce3ea;border-radius:14px;box-shadow:inset 0 1px 2px rgba(22,40,68,.04)}.view-mode-btn{min-width:142px;display:flex;align-items:center;gap:9px;padding:9px 12px;border:1px solid transparent;border-radius:10px;color:#53677b;background:transparent;text-decoration:none;transition:all .16s ease;user-select:none}.view-mode-btn:hover{background:#fff;color:var(--primary);border-color:#d8e1e9;box-shadow:0 2px 7px rgba(22,40,68,.08);transform:translateY(-1px)}.view-mode-btn.active{background:var(--primary);color:#fff;border-color:var(--primary);box-shadow:0 4px 12px rgba(24,87,138,.24)}.view-mode-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.72);color:var(--primary);flex:0 0 auto}.view-mode-btn.active .view-mode-icon{background:rgba(255,255,255,.16);color:#fff}.view-mode-copy{display:grid;gap:1px;text-align:left;line-height:1.05}.view-mode-copy strong{font-size:11px;font-weight:850}.view-mode-copy small{font-size:8px;font-weight:650;opacity:.72;white-space:nowrap}.funnel-actions{display:flex;gap:7px}.funnel-actions .btn{min-height:39px;padding-inline:13px}.kanban-view-panel{display:block}.kanban-view-note{display:flex;align-items:baseline;gap:9px;margin:0 2px 10px;color:var(--muted)}.kanban-view-note strong{font-size:11px;color:#42566c}.kanban-view-note span{font-size:10px}.crm-list-wrap{background:#fff;border:1px solid var(--line);border-radius:16px;overflow:auto;box-shadow:0 8px 24px rgba(22,40,68,.04)}.crm-list-table{width:100%;border-collapse:collapse;min-width:980px}.crm-list-table th{padding:11px 14px;text-align:left;font-size:9px;text-transform:uppercase;letter-spacing:.075em;color:#7b8999;background:#f7f9fb;border-bottom:1px solid var(--line);white-space:nowrap}.crm-list-table td{padding:12px 14px;border-bottom:1px solid #edf1f4;vertical-align:middle}.crm-list-table tbody tr:last-child td{border-bottom:0}.crm-list-table tbody tr:hover{background:#fafcff}.crm-list-lead{display:grid;gap:2px;min-width:175px}.crm-list-lead>span{font-size:9px;color:#8794a3;font-weight:800}.crm-list-lead strong{font-size:12px;color:#23364b}.crm-list-lead small{font-size:9px;color:var(--muted)}.stage-pill{display:inline-flex;align-items:center;min-height:25px;padding:4px 8px;border-radius:999px;background:#eef3f7;color:#50677e;font-size:9px;font-weight:800;white-space:nowrap}.crm-list-contact{display:grid;gap:2px;min-width:120px}.crm-list-contact strong{font-size:10px}.crm-list-contact small{font-size:9px;color:var(--muted)}.list-chip{display:inline-flex;max-width:170px}.list-followup{display:inline-flex;white-space:nowrap}.muted-dash{color:#a4afba}.crm-list-open{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;color:#fff;background:var(--primary);font-weight:900;box-shadow:0 2px 6px rgba(24,87,138,.2)}.crm-list-open:hover{filter:brightness(.94);transform:translateX(1px)}.crm-list-empty{border:1px dashed #cbd6e0;border-radius:16px;padding:42px 20px;text-align:center;background:rgba(255,255,255,.55);display:grid;gap:5px}.crm-list-empty strong{font-size:13px}.crm-list-empty span{font-size:10px;color:var(--muted)}@media (max-width:1000px){.kanban-toolbar-right{width:100%;justify-content:space-between}.view-mode-group{flex:1}.view-mode-buttons{width:100%}.view-mode-btn{flex:1;min-width:0}.funnel-actions{align-self:flex-end}}@media (max-width:700px){.kanban-toolbar-right{display:grid;grid-template-columns:1fr}.view-mode-buttons{display:grid;grid-template-columns:1fr 1fr}.view-mode-btn{min-width:0;justify-content:center;padding:9px}.view-mode-copy small{display:none}.funnel-actions{display:grid;grid-template-columns:1fr 1fr}.funnel-actions .btn{width:100%}.kanban-view-note{align-items:flex-start;flex-direction:column;gap:2px;margin-bottom:8px}.crm-list-wrap{border-radius:13px}}.kanban-card.is-moving{opacity:.55;pointer-events:none;position:relative}.kanban-column.is-saving{outline:2px solid rgba(31,95,157,.32);outline-offset:-2px}.kanban-column.is-saving .kanban-dropzone{cursor:progress}.modal-x{display:grid;place-items:center;text-decoration:none;flex:0 0 auto}.opportunity-back-row{display:flex;align-items:center;margin:0 0 12px}.opportunity-back-btn{min-height:38px;padding:8px 13px;box-shadow:0 2px 7px rgba(22,40,68,.05)}.opportunity-back-btn:hover{border-color:#cbd7e2;background:#f8fbfd;color:var(--primary)}.quick-note-card{scroll-margin-top:18px}.contact-note-form{padding-bottom:18px;border-bottom:1px solid var(--line)}.recent-contacts{padding-top:17px}.recent-contacts-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.recent-contacts-head strong,.recent-contacts-head small{display:block}.recent-contacts-head strong{font-size:12px}.recent-contacts-head small{font-size:9px;color:var(--muted);margin-top:2px}.recent-contact-list{display:grid;gap:9px}.recent-contact-item{display:grid;grid-template-columns:31px 1fr;gap:10px;border:1px solid #e3e8ed;background:#fbfcfd;border-radius:12px;padding:10px}.recent-contact-icon{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#fff5dc;color:#8a621f;font-size:12px;font-weight:900}.recent-contact-copy{min-width:0}.recent-contact-meta{display:flex;justify-content:space-between;gap:10px;align-items:center}.recent-contact-meta strong{font-size:10px}.recent-contact-meta time{font-size:9px;color:#8a98a9;white-space:nowrap}.recent-contact-copy p{font-size:11px;line-height:1.45;color:#34465a;margin:5px 0 0;white-space:normal;overflow-wrap:anywhere}.recent-contact-empty{display:flex;gap:10px;align-items:center;border:1px dashed #cfd9e2;border-radius:12px;padding:13px;background:#fafcfd;color:#768697}.recent-contact-empty>span{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:#eef2f6;font-weight:900}.recent-contact-empty strong,.recent-contact-empty small{display:block}.recent-contact-empty strong{font-size:10px;color:#52667a}.recent-contact-empty small{font-size:9px;margin-top:2px}.history-card{scroll-margin-top:18px}@media (max-width:700px){.recent-contact-meta{display:grid;gap:2px}}.sort-field{min-width:205px}.sort-field select{min-width:205px}.card-density-group{display:grid;gap:5px;align-self:stretch}.density-buttons{display:flex;align-items:stretch;border:1px solid #d6dee7;border-radius:11px;padding:3px;background:#f5f7fa;min-height:39px}.density-btn{display:flex;align-items:center;justify-content:center;min-width:86px;padding:6px 10px;border-radius:8px;font-size:10px;font-weight:850;color:#637589;text-decoration:none;white-space:nowrap;transition:.15s ease}.density-btn:hover{color:var(--primary);background:#fff}.density-btn.active{background:#fff;color:var(--primary);box-shadow:0 1px 5px rgba(22,40,68,.12)}.kanban-board.density-compact{gap:9px}.kanban-board.density-compact .kanban-column{flex-basis:252px;border-radius:13px;min-height:260px}.kanban-board.density-compact .kanban-column>header{padding:10px 10px 8px}.kanban-board.density-compact .kanban-column>header strong{font-size:12px}.kanban-board.density-compact .kanban-column>header small{font-size:8px}.kanban-board.density-compact .kanban-dropzone{gap:6px;padding:7px;min-height:195px}.kanban-board.density-compact .kanban-empty{padding:15px 8px;gap:2px;border-radius:10px}.kanban-board.density-compact .kanban-empty span{font-size:17px}.kanban-board.density-compact .kanban-empty strong{font-size:10px}.kanban-board.density-compact .kanban-empty small{font-size:8px}.kanban-card-compact{border-radius:10px;box-shadow:0 2px 7px rgba(22,40,68,.045)}.kanban-card-compact:hover{transform:translateY(-1px);box-shadow:0 5px 13px rgba(22,40,68,.075)}.kanban-card-compact .kanban-card-link{padding:8px 9px}.compact-lead-head{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px;align-items:start}.compact-lead-head h3{margin:0;font-size:11px;line-height:1.2;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#26384b}.kanban-card-compact .lead-id{font-size:7.5px;padding:2px 4px;border-radius:5px;line-height:1.2}.compact-lead-info{display:flex;gap:5px;align-items:center;min-width:0;margin-top:4px;line-height:1.1}.compact-lead-info span{font-size:8.5px;color:#697b8d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.compact-city{max-width:112px}.compact-phone{font-weight:750;color:#425d76!important}.compact-phone:before{content:'•';margin-right:5px;color:#b4bec8}.compact-missing{font-style:italic;color:#98a4af!important}.compact-followup{display:inline-flex;margin-top:5px;padding:2px 5px;border-radius:999px;background:#eef5fb;color:#356b98;font-size:7.5px;font-weight:800;line-height:1.25}.compact-followup.today{background:#fff5dc;color:#895e17}.compact-followup.late{background:#fdeceb;color:#9d3b31}.kanban-board.density-detailed .kanban-column{flex-basis:304px}@media (max-width:1200px){.kanban-toolbar{align-items:flex-start}.kanban-toolbar-right{flex-wrap:wrap}.sort-field{min-width:180px}.sort-field select{min-width:180px}}@media (max-width:700px){.card-density-group{width:100%}.density-buttons{width:100%}.density-btn{flex:1}.kanban-board.density-compact .kanban-column{flex-basis:72vw}.sort-field,.sort-field select{min-width:0;width:100%}}.compact-lead-owner{display:flex;align-items:center;gap:4px;min-width:0;margin-top:4px;color:#66788a;line-height:1.1}.compact-lead-owner>span{font-size:5px;color:#7d8fa1;flex:0 0 auto}.compact-lead-owner strong{font-size:8px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase}.kanban-card-compact .compact-followup{margin-top:4px}.lead-visibility-section{margin:2px -22px 0;padding:20px 22px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:linear-gradient(180deg,#f8fbfe 0%,#fbfcfe 100%)}.lead-visibility-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:14px}.lead-visibility-title{display:flex;align-items:flex-start;gap:11px;min-width:0}.lead-visibility-icon{width:35px;height:35px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#eaf3fb;color:var(--primary);font-size:14px;font-weight:900}.lead-visibility-title h3{margin:2px 0 4px;font-size:16px;letter-spacing:-.01em}.lead-visibility-title p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}.visibility-options{display:grid;border:1px solid #dfe7ef;border-radius:14px;overflow:hidden;background:#fff}.visibility-option{position:relative;display:grid;grid-template-columns:20px minmax(0,1fr) 24px;gap:11px;align-items:center;padding:13px 14px;background:#fff;cursor:pointer;transition:.15s ease}.visibility-option+.visibility-option{border-top:1px solid #e8edf2}.visibility-option:hover{background:#f9fbfd}.visibility-option input{position:absolute;opacity:0;pointer-events:none}.visibility-radio{width:18px;height:18px;border:2px solid #b8c5d1;border-radius:50%;position:relative;background:#fff;transition:.15s ease}.visibility-option input:checked+.visibility-radio{border-color:var(--primary)}.visibility-option input:checked+.visibility-radio:after{content:'';position:absolute;inset:3px;border-radius:50%;background:var(--primary)}.visibility-option:has(input:checked){background:#f1f7fc}.visibility-option:has(input:checked) .visibility-copy strong{color:#184f7e}.visibility-copy{min-width:0}.visibility-copy strong,.visibility-copy small{display:block}.visibility-copy strong{font-size:12px;line-height:1.3;color:#24364a}.visibility-copy small{font-size:10px;color:var(--muted);line-height:1.45;margin-top:3px}.visibility-selected{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#dfeefa;color:var(--primary);font-size:10px;font-weight:900;opacity:0;transform:scale(.82);transition:.15s ease}.visibility-option:has(input:checked) .visibility-selected{opacity:1;transform:scale(1)}.visibility-options.is-admin{opacity:.58}.visibility-options.is-admin .visibility-option{cursor:not-allowed}.lead-visibility-note{display:flex;align-items:flex-start;gap:8px;margin-top:10px;padding:9px 11px;border-radius:10px;background:#eef5fb;color:#516d86}.lead-visibility-note-icon{width:18px;height:18px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;border:1px solid #b9cedf;font-size:10px;font-weight:850;color:#2b638e;background:#fff}.lead-visibility-note p{margin:1px 0 0;font-size:9.5px;line-height:1.45}.permission-chip.visibility{background:#edf7f1;color:#33704d}.kanban-access-scope{display:inline-flex;align-items:center;gap:5px;margin-top:7px;padding:4px 8px;border-radius:999px;background:#eef5fb;color:#52708a;font-size:9px}.kanban-access-scope strong{color:#2a5c84;font-size:9px}@media (max-width:700px){.lead-visibility-section{margin:2px -17px 0;padding:17px}.lead-visibility-head{display:grid;gap:9px}.lead-visibility-title{gap:9px}.visibility-option{grid-template-columns:20px minmax(0,1fr) 22px;padding:12px}.visibility-copy strong{font-size:11px}.visibility-copy small{font-size:9px}}.password-page-head{margin-bottom:18px}.password-page-grid{display:grid;grid-template-columns:minmax(0,680px) minmax(260px,340px);gap:18px;align-items:start}.password-card{padding:24px}.password-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.password-card-heading h2{margin-bottom:4px}.password-card-heading p{margin:0}.password-lock{width:40px;height:40px;border-radius:12px;display:inline-flex;align-items:center;justify-content:center;background:#eef5ff;color:#0b63ce;font-size:12px;box-shadow:inset 0 0 0 1px #d6e6fb;flex:0 0 auto}.password-form{max-width:520px}.password-errors{border:1px solid #f1b8b8;background:#fff5f5;color:#8f1d1d;border-radius:12px;padding:13px 15px;margin-bottom:18px}.password-errors strong{display:block;margin-bottom:5px}.password-errors ul{margin:0;padding-left:20px}.password-actions{display:flex;flex-wrap:wrap;gap:10px;padding-top:4px}.password-info-card{padding:22px}.password-user-summary{display:flex;align-items:center;gap:12px;padding:14px 0 18px;border-bottom:1px solid #e7edf4}.password-user-summary>div:last-child{min-width:0;display:flex;flex-direction:column;gap:2px}.password-user-summary small{color:#66758a;overflow-wrap:anywhere}.password-security-note{padding-top:18px}.password-security-note strong{display:block;margin-bottom:5px}.password-security-note p{margin:0;color:#66758a;line-height:1.5;font-size:13px}@media (max-width:900px){.password-page-grid{grid-template-columns:1fr}.password-info-card{order:-1}.password-form{max-width:none}}.password-manager-username{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}.admin-password-section{border:1px solid #dfe7ef;border-radius:14px;background:#fbfcfe;overflow:hidden}.admin-password-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 15px}.admin-password-summary-copy{display:flex;align-items:center;gap:11px;min-width:0}.admin-password-summary-copy>div{display:grid;gap:2px;min-width:0}.admin-password-summary-copy strong{font-size:12px;color:#27394d}.admin-password-summary-copy small{font-size:9.5px;color:var(--muted);line-height:1.4}.admin-password-icon{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#eef5fb;font-size:14px}.admin-password-panel{padding:14px 15px 15px;border-top:1px solid #e4ebf2;background:#fff}.admin-password-section.is-open{border-color:#bfd5e8;box-shadow:0 0 0 2px rgba(48,111,164,.05)}.user-password-new-grid{align-items:start}@media (max-width:700px){.admin-password-summary{align-items:flex-start;flex-direction:column}.admin-password-summary .btn{width:100%}.admin-password-panel{padding:13px}.user-password-new-grid{grid-template-columns:1fr}}.funnel-access-summary{display:flex;align-items:flex-start;gap:10px;margin-top:12px;flex-wrap:wrap}.funnel-access-label{font-size:12px;font-weight:800;color:var(--muted,#64748b);padding-top:4px}.funnel-access-chips{display:flex;gap:6px;flex-wrap:wrap}.funnel-user-chip{display:inline-flex;align-items:center;min-height:26px;padding:4px 10px;border-radius:999px;border:1px solid #dbe5f0;background:#fff;color:#334155;font-size:12px;font-weight:700}.funnel-user-chip.empty{color:#64748b;background:#f8fafc}.funnel-access-section{border:1px solid #dce6f2;border-radius:14px;background:#f8fbff;padding:16px}.funnel-access-section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:12px}.funnel-access-section-head h4{margin:2px 0 3px;font-size:17px}.funnel-access-section-head p{margin:0;color:#64748b;font-size:13px;line-height:1.45}.funnel-user-list{display:grid;gap:8px}.funnel-user-row{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid #dfe7f1;border-radius:11px;background:#fff;cursor:pointer}.funnel-user-row:hover{border-color:#b8cbe2}.avatar-xs{width:32px;height:32px;flex:0 0 32px;display:grid;place-items:center;border-radius:50%;background:#eaf2ff;color:#2457a6;font-weight:800;font-size:13px}.funnel-user-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px}.funnel-user-copy strong{font-size:13px}.funnel-user-copy small{color:#64748b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.funnel-access-empty{padding:12px;border:1px dashed #c9d6e5;border-radius:10px;background:#fff;color:#64748b;font-size:13px}.funnel-access-note{display:flex;gap:8px;align-items:flex-start;margin-top:12px;color:#64748b;font-size:12px}.funnel-access-note span{width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:#e8f1ff;color:#2457a6;font-weight:800;flex:0 0 18px}.funnel-access-note p{margin:0}.empty-state-panel{max-width:720px;margin:56px auto;text-align:center;padding:38px 28px;border:1px solid #dce6f2;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.05)}.empty-state-icon{width:52px;height:52px;margin:0 auto 14px;display:grid;place-items:center;border-radius:14px;background:#eaf2ff;color:#2457a6;font-size:24px}.empty-state-panel h1{margin:0 0 8px;font-size:24px}.empty-state-panel p{margin:0 0 8px;color:#475569}.empty-state-panel small{color:#64748b}@media (max-width:700px){.funnel-access-section-head{flex-direction:column}}nn n.funnel-access-section .funnel-user-list{\n    display:grid;\n    grid-template-columns:repeat(2,minmax(0,1fr));\n    gap:10px;\n    width:100%;\n}n.funnel-access-section .funnel-user-row{\n    display:grid;\n    grid-template-columns:38px minmax(0,1fr) auto;\n    align-items:center;\n    gap:11px;\n    width:100%;\n    min-width:0;\n    box-sizing:border-box;\n    padding:11px 12px;\n    margin:0;\n    border:1px solid #dbe5ef;\n    border-radius:12px;\n    background:#fff;\n    cursor:pointer;\n    transition:border-color .15s ease,box-shadow .15s ease,background .15s ease;\n}n.funnel-access-section .funnel-user-row:hover{\n    border-color:#a9c4dc;\n    box-shadow:0 4px 14px rgba(36,87,166,.06);\n}n.funnel-access-section .avatar-xs{\n    width:36px;\n    height:36px;\n    min-width:36px;\n    display:grid;\n    place-items:center;\n    border-radius:10px;\n    background:#eaf2fb;\n    color:#245b8f;\n    font-size:13px;\n    font-weight:850;\n}n.funnel-access-section .funnel-user-copy{\n    display:block;\n    min-width:0;\n    overflow:hidden;\n}n.funnel-access-section .funnel-user-copy strong{\n    display:block;\n    margin:0 0 2px;\n    color:#1e293b;\n    font-size:13px;\n    line-height:1.25;\n    white-space:nowrap;\n    overflow:hidden;\n    text-overflow:ellipsis;\n}n.funnel-access-section .funnel-user-copy small{\n    display:block;\n    color:#64748b;\n    font-size:11px;\n    line-height:1.3;\n    white-space:nowrap;\n    overflow:hidden;\n    text-overflow:ellipsis;\n}n.funnel-access-section .switch{\n    justify-self:end;\n}\n.funnel-access-section .funnel-user-row:has(input:checked){\n    border-color:#a8c6e2;\n    background:#f8fbff;\n}n.funnel-access-section-head{\n    padding-bottom:12px;\n    border-bottom:1px solid #e3ebf3;\n}n.funnel-access-section .access-total-state{\n    flex:0 0 auto;\n    align-self:flex-start;\n}\n@media(max-width:760px){\n    .funnel-access-section .funnel-user-list{grid-template-columns:1fr}\n}\n@media(max-width:480px){\n    .funnel-access-section{padding:13px}\n    .funnel-access-section .funnel-user-row{grid-template-columns:34px minmax(0,1fr) auto;padding:10px}\n    .funnel-access-section .avatar-xs{width:32px;height:32px;min-width:32px}\n}n .modal-backdrop{overflow-y:auto;overscroll-behavior:contain}.modal{max-height:calc(100dvh - 40px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.modal.modal-wide{max-height:calc(100dvh - 40px);overflow-y:auto}.modal .modal-actions{background:#fff;padding-top:14px;padding-bottom:2px;border-top:1px solid #edf1f5}.modal .funnel-user-list{min-height:0}@media (max-width:700px){.modal-backdrop{place-items:start center;padding:10px}.modal,.modal.modal-wide{width:100%;max-height:calc(100dvh - 20px);margin:0;border-radius:16px;padding:18px}}.kanban-toolbar{justify-content:flex-start;align-items:flex-end;flex-wrap:wrap}.kanban-filters{flex:0 1 auto}.kanban-toolbar-right{width:auto;margin-left:0;justify-content:flex-start;align-items:flex-end;gap:10px}.card-density-group,.view-mode-group,.funnel-actions{flex:0 0 auto}@media (max-width:1200px){.kanban-toolbar-right{width:auto;justify-content:flex-start}}@media (max-width:700px){.kanban-toolbar{display:block}.kanban-toolbar-right{width:100%;margin-top:12px;display:grid;grid-template-columns:1fr}}.sidebar-company{display:block;margin:8px 12px 16px;padding:11px 12px;border:1px solid rgba(255,255,255,.12);border-radius:12px;background:rgba(255,255,255,.055);color:inherit;text-decoration:none}.sidebar-company-label{display:block;margin-bottom:5px;font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;opacity:.62}.sidebar-company-form select{width:100%;min-width:0;padding:7px 30px 7px 9px;border:1px solid rgba(255,255,255,.15);border-radius:9px;background:rgba(255,255,255,.08);color:inherit;font-weight:750;font-size:12px}.sidebar-company-form select option{color:#162033;background:#fff}.sidebar-company-name{display:block;font-size:13px;line-height:1.25}.sidebar-company small{display:block;margin-top:5px;font-size:10px;opacity:.62}.sidebar-company-empty strong{font-size:13px}.mobile-company-link{display:none}.company-select-body{min-height:100vh;background:#f4f7fb;color:#172033}.company-select-shell{min-height:100vh;display:grid;place-items:center;padding:30px 18px}.company-select-brand{margin-bottom:18px;text-align:center}.company-select-brand img{max-width:210px;max-height:54px;object-fit:contain}.company-select-card{width:min(680px,100%);background:#fff;border:1px solid #e2e8f0;border-radius:20px;box-shadow:0 18px 55px rgba(15,23,42,.09);padding:28px}.company-select-card h1{margin:5px 0 8px;font-size:27px}.company-select-card>p{margin:0 0 22px;color:#64748b;line-height:1.55}.company-choice-list{display:grid;gap:10px}.company-choice{width:100%;display:flex;align-items:center;gap:12px;padding:13px 14px;border:1px solid #dfe7f1;border-radius:13px;background:#fff;text-align:left;cursor:pointer;transition:.15s ease}.company-choice:hover{border-color:#8bb4e4;background:#f8fbff;transform:translateY(-1px)}.company-choice-avatar,.company-admin-avatar{width:40px;height:40px;flex:0 0 40px;display:grid;place-items:center;border-radius:12px;background:#eaf2ff;color:#1e5da4;font-weight:850}.company-choice-copy{min-width:0;flex:1;display:flex;flex-direction:column;gap:2px}.company-choice-copy strong{font-size:14px}.company-choice-copy small{font-size:12px;color:#64748b}.company-choice-arrow{font-size:20px;color:#4e79a7}.company-select-footer{display:flex;justify-content:center;gap:9px;margin-top:22px;font-size:12px;color:#64748b}.company-select-footer a{color:#245b96;text-decoration:none;font-weight:700}.companies-layout{display:grid;grid-template-columns:minmax(330px,.9fr) minmax(500px,1.45fr);gap:18px;align-items:start}.company-form-card{position:sticky;top:18px}.company-admin-list{display:grid;gap:10px}.company-admin-row{display:flex;gap:12px;align-items:center;padding:13px;border:1px solid #e0e7ef;border-radius:13px;background:#fff}.company-admin-row.is-inactive{opacity:.68;background:#f8fafc}.company-admin-main{min-width:0;flex:1}.company-admin-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.company-admin-main>small{display:block;margin-top:3px;color:#64748b}.company-admin-metrics{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.company-admin-metrics span{padding:3px 7px;border-radius:999px;background:#f1f5f9;color:#526174;font-size:10px;font-weight:700}.company-admin-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.company-admin-actions form{margin:0}.proposal-seller-brand{display:flex;align-items:center;gap:10px;min-width:0}.proposal-seller-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#173b67;color:#fff;font-weight:850}.proposal-seller-brand>span:last-child{display:flex;flex-direction:column;min-width:0}.proposal-seller-brand strong{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:360px}.proposal-seller-brand small{font-size:10px;color:#748094;text-transform:uppercase;letter-spacing:.07em;font-weight:750}@media (max-width:1100px){.companies-layout{grid-template-columns:1fr}.company-form-card{position:static}}@media (max-width:700px){.mobile-company-link{display:inline-flex;align-items:center;margin-left:auto;padding:7px 9px;border:1px solid #dce5ef;border-radius:9px;background:#fff;color:#334155;text-decoration:none;font-size:11px;font-weight:750;max-width:44vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.company-select-card{padding:21px 16px;border-radius:16px}.company-admin-row{align-items:flex-start;flex-wrap:wrap}.company-admin-actions{width:100%;justify-content:flex-start;padding-left:52px}.proposal-seller-brand strong{max-width:210px}}.kanban-company-search{min-width:280px}.kanban-search-control{display:flex;align-items:center;gap:6px;position:relative}.kanban-search-control input{min-width:190px}.kanban-search-control .btn{min-height:39px;padding:8px 12px}.kanban-search-clear{width:30px;height:30px;flex:0 0 30px;display:grid;place-items:center;border-radius:9px;border:1px solid #dbe2ea;background:#fff;color:#64748b;font-size:18px;line-height:1}.kanban-search-clear:hover{border-color:#a9bfd3;color:#1f5f9d}.admin-shell{transition:grid-template-columns .2s ease}.sidebar{transition:transform .2s ease , opacity .15s ease}.sidebar-hide-button{margin-top:16px;width:100%;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.06);color:#c7d7e6;border-radius:10px;padding:8px 10px;display:flex;align-items:center;justify-content:center;gap:7px;cursor:pointer;font-size:11px;font-weight:750}.sidebar-hide-button:hover{background:rgba(255,255,255,.11);color:#fff}.sidebar-hide-button span{font-size:18px;line-height:1}.sidebar-show-button{display:none;position:fixed;z-index:1200;top:14px;left:14px;border:1px solid #d7e0e8;background:#fff;color:#24455f;border-radius:11px;padding:8px 11px;box-shadow:0 8px 24px rgba(22,40,68,.14);cursor:pointer;align-items:center;gap:7px}.sidebar-show-button span{font-size:17px}.sidebar-show-button strong{font-size:11px}body.sidebar-collapsed .admin-shell,html.sidebar-collapsed-preload .admin-shell{grid-template-columns:0 minmax(0,1fr)}body.sidebar-collapsed .sidebar,html.sidebar-collapsed-preload .sidebar{transform:translateX(-105%);opacity:0;pointer-events:none}body.sidebar-collapsed .sidebar-show-button{display:inline-flex}body.sidebar-collapsed .content{width:100%;max-width:none}@media (max-width:1000px){.sidebar-hide-button,.sidebar-show-button{display:none!important}body.sidebar-collapsed .admin-shell,html.sidebar-collapsed-preload .admin-shell{grid-template-columns:1fr}body.sidebar-collapsed .sidebar,html.sidebar-collapsed-preload .sidebar{transform:none;opacity:1}}@media (max-width:760px){.kanban-company-search{min-width:0}.kanban-search-control{display:grid;grid-template-columns:minmax(0,1fr) auto auto}.kanban-search-control input{min-width:0}}.kanban-title-actions{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex-wrap:wrap}.kanban-title-actions h1{margin-bottom:0}.kanban-title-actions .btn{white-space:nowrap}.kanban-company-search{min-width:260px}.kanban-search-control{display:flex;align-items:center;gap:6px}.kanban-search-control input{width:100%;min-width:210px}.company-filter-hidden{display:none!important}.kanban-live-no-results td{padding:18px!important}.crm-list-empty.compact{margin:0;padding:18px}@media (max-width:760px){.kanban-title-actions{align-items:flex-start;gap:8px}.kanban-title-actions .btn{width:auto}}.kanban-toolbar{display:flex;align-items:flex-end;justify-content:flex-start;flex-wrap:wrap;gap:10px;padding:13px 14px}.kanban-toolbar .kanban-filters,.kanban-toolbar .kanban-toolbar-right{display:contents}.kanban-toolbar .compact-field,.kanban-toolbar .card-density-group,.kanban-toolbar .view-mode-group{display:grid;grid-template-rows:14px 40px;align-content:end;gap:5px;margin:0;align-self:end}.kanban-toolbar .compact-field label,.kanban-toolbar .view-mode-label{display:flex;align-items:center;min-height:14px;margin:0;font-size:10px;line-height:14px;text-transform:uppercase;letter-spacing:.075em;font-weight:850;color:var(--muted);white-space:nowrap}.kanban-toolbar .compact-field select,.kanban-toolbar .compact-field input[type="search"]{height:40px;min-height:40px;margin:0;padding-top:0;padding-bottom:0}.kanban-toolbar .kanban-search-control{height:40px;align-items:center}.kanban-toolbar .kanban-search-control input{height:40px}.kanban-toolbar .kanban-search-clear{width:30px;height:30px;flex:0 0 30px}.kanban-toolbar .kanban-filters>.compact-field:first-of-type{min-width:220px}.kanban-toolbar .kanban-company-search{min-width:230px}.kanban-toolbar .kanban-filters > .compact-field:not(:first-of-type):not(.kanban-company-search){min-width:190px}.kanban-toolbar .sort-field{min-width:190px!important}.kanban-toolbar .sort-field select{min-width:190px}.kanban-toolbar .card-density-group{min-width:174px}.kanban-toolbar .density-buttons{height:40px;min-height:40px;box-sizing:border-box;padding:3px}.kanban-toolbar .density-btn{min-width:80px;height:32px;padding:0 9px}.kanban-toolbar .view-mode-group{min-width:176px}.kanban-toolbar .view-mode-buttons{height:40px;box-sizing:border-box;padding:3px;gap:4px;border-radius:11px}.kanban-toolbar .view-mode-btn{min-width:80px;height:32px;box-sizing:border-box;padding:0 9px;gap:6px;border-radius:8px}.kanban-toolbar .view-mode-icon{width:20px;height:20px;flex:0 0 20px;border-radius:6px}.kanban-toolbar .view-mode-icon svg{width:14px;height:14px}.kanban-toolbar .view-mode-copy{display:block}.kanban-toolbar .view-mode-copy strong{font-size:10px;line-height:1;white-space:nowrap}.kanban-toolbar .view-mode-copy small{display:none}.kanban-toolbar .funnel-actions{height:40px;align-self:end;display:flex;align-items:stretch;gap:7px}.kanban-toolbar .funnel-actions .btn{height:40px;min-height:40px}@media (max-width:900px){.kanban-toolbar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.kanban-toolbar .kanban-filters,.kanban-toolbar .kanban-toolbar-right{display:contents}.kanban-toolbar .compact-field,.kanban-toolbar .card-density-group,.kanban-toolbar .view-mode-group,.kanban-toolbar .funnel-actions{width:100%;min-width:0!important}.kanban-toolbar .compact-field select,.kanban-toolbar .compact-field input[type="search"],.kanban-toolbar .sort-field select{width:100%;min-width:0}}@media (max-width:620px){.kanban-toolbar{grid-template-columns:1fr;gap:9px}.kanban-toolbar .density-buttons,.kanban-toolbar .view-mode-buttons{width:100%}.kanban-toolbar .density-btn,.kanban-toolbar .view-mode-btn{flex:1 1 0}.kanban-toolbar .funnel-actions{margin-top:2px}}.funnel-builder-modal{width:min(920px,calc(100vw - 32px))}.funnel-stages-section{border:1px solid #dce6f2;border-radius:14px;background:#f8fbff;padding:16px}.funnel-stages-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}.funnel-stages-head h4{margin:2px 0 3px;font-size:17px}.funnel-stages-head p{margin:0;color:#64748b;font-size:13px;line-height:1.45}.stage-builder-help{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.stage-builder-help span{display:inline-flex;gap:4px;padding:5px 8px;border:1px solid #dfe7f1;border-radius:999px;background:#fff;color:#64748b;font-size:11px}.funnel-stage-list{display:grid;gap:8px}.funnel-stage-row{display:grid;grid-template-columns:24px minmax(220px,1fr) 150px auto auto;align-items:end;gap:9px;padding:10px;border:1px solid #dfe7f1;border-radius:11px;background:#fff}.stage-drag{align-self:center;color:#94a3b8;font-weight:900;letter-spacing:-3px;cursor:default;user-select:none}.stage-name-field,.stage-type-field{display:grid;gap:4px}.stage-name-field label,.stage-type-field label{margin:0;font-size:9px;line-height:12px;font-weight:850;letter-spacing:.07em;color:#64748b;text-transform:uppercase}.stage-name-field input,.stage-type-field select{height:38px;min-height:38px}.stage-row-meta{align-self:center}.stage-row-meta span{display:inline-flex;padding:4px 7px;border-radius:999px;background:#f1f5f9;color:#64748b;font-size:10px;font-weight:750;white-space:nowrap}.stage-row-meta span.has-leads{background:#fff7e8;color:#9a6700}.stage-row-actions{height:38px;align-self:end;display:flex;align-items:center;gap:4px}.stage-order-btn,.stage-remove-btn{width:32px;height:32px;display:grid;place-items:center;padding:0;border:1px solid #dbe3ec;border-radius:8px;background:#fff;color:#475569;cursor:pointer;font-size:15px;font-weight:800}.stage-order-btn:hover:not(:disabled){border-color:#9eb7cf;background:#f4f8fc;color:#245f98}.stage-remove-btn{color:#a83b3b}.stage-remove-btn:hover:not(:disabled){border-color:#e2aaaa;background:#fff5f5}.stage-order-btn:disabled,.stage-remove-btn:disabled{opacity:.35;cursor:not-allowed}@media (max-width:760px){.funnel-stages-head{flex-direction:column}.funnel-stage-row{grid-template-columns:18px minmax(0,1fr);align-items:start}.stage-name-field{grid-column:2}.stage-type-field{grid-column:2}.stage-row-meta{grid-column:2}.stage-row-actions{grid-column:2;justify-content:flex-end}}.funnel-results-strip{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;margin:-2px 0 14px}.funnel-result-item{min-width:126px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:9px 11px;border:1px solid #e1e8ef;border-radius:11px;background:#fff}.funnel-result-item span{font-size:10px;line-height:1.15;font-weight:800;text-transform:uppercase;letter-spacing:.055em;color:#64748b}.funnel-result-item strong{font-size:18px;line-height:1;color:#17283b}.funnel-result-item.proposal{background:#fffaf0;border-color:#f0dfb9}.funnel-result-item.won{background:#f2fbf5;border-color:#cfe7d7}.funnel-result-item.lost{background:#fff6f6;border-color:#efd4d4}.kanban-stage-title{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.stage-behavior-chip,.stage-list-behavior{display:inline-flex;align-items:center;width:max-content;border-radius:999px;font-size:9px;line-height:1;font-weight:800;white-space:nowrap}.stage-behavior-chip{padding:4px 6px;border:1px solid #dce5ee;background:#f7f9fb;color:#64748b}.stage-behavior-chip.behavior-proposta,.stage-list-behavior.behavior-proposta{color:#8a6500}.stage-behavior-chip.behavior-ganho,.stage-list-behavior.behavior-ganho{color:#247144}.stage-behavior-chip.behavior-perdido,.stage-list-behavior.behavior-perdido{color:#a33f3f}.stage-list-cell{display:grid;gap:4px}.stage-list-behavior{padding-left:2px;color:#64748b}.funnel-builder-modal{width:min(1040px,calc(100vw - 32px))}.funnel-stage-row{display:grid;grid-template-columns:34px minmax(260px,1fr) minmax(225px,270px) minmax(78px,auto) 112px;align-items:end;gap:10px;padding:11px 12px}.stage-order-index{width:28px;height:28px;align-self:center;display:grid;place-items:center;border-radius:9px;background:#edf4fb;color:#2d6295;font-size:11px;font-weight:900}.stage-name-field,.stage-type-field{min-width:0}.stage-name-field label,.stage-type-field label{min-height:12px;white-space:nowrap}.stage-name-field input,.stage-type-field select{width:100%;height:40px;min-height:40px;box-sizing:border-box}.stage-type-field select{padding-right:34px}.stage-row-meta{height:40px;align-self:end;display:flex;align-items:center;justify-content:center}.stage-row-meta span{min-height:26px;display:inline-flex;align-items:center;justify-content:center;padding:5px 8px}.stage-row-actions{width:112px;height:40px;align-self:end;display:flex;align-items:center;justify-content:flex-end;gap:5px}.stage-order-btn,.stage-remove-btn{width:34px;height:34px;flex:0 0 34px}.stage-builder-help{margin:0 0 13px;padding:9px 10px;border-radius:10px;background:#f4f8fc}.stage-builder-help span{background:#fff}@media (max-width:860px){.funnel-stage-row{grid-template-columns:32px minmax(0,1fr) 108px;align-items:start}.stage-order-index{grid-column:1;grid-row:1 / span 2;align-self:center}.stage-name-field,.stage-type-field{grid-column:2 / 4}.stage-row-meta{grid-column:2;height:34px;justify-content:flex-start}.stage-row-actions{grid-column:3;width:108px;height:34px;justify-content:flex-end}}@media (max-width:620px){.funnel-results-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.funnel-result-item{min-width:0}.funnel-stage-row{grid-template-columns:30px minmax(0,1fr)}.stage-name-field,.stage-type-field,.stage-row-meta,.stage-row-actions{grid-column:2}.stage-row-actions{width:100%;justify-content:flex-start}}.funnel-stage-row{grid-template-columns:34px minmax(250px,1fr) minmax(290px,330px) minmax(78px,auto) 112px}.stage-type-field{min-width:290px;overflow:visible}.stage-field-label{min-height:16px;display:flex;align-items:center;justify-content:flex-start;gap:5px;overflow:visible}.stage-field-label label{display:block;min-width:max-content;margin:0;overflow:visible;text-overflow:clip;white-space:nowrap}.stage-type-field select{min-width:290px;width:100%;text-overflow:clip}.field-help{position:relative;width:18px;height:18px;flex:0 0 18px;display:inline-grid;place-items:center;padding:0;border:1px solid #c9d6e3;border-radius:50%;background:#fff;color:#386b99;font-size:11px;line-height:1;font-weight:900;cursor:help}.field-help:hover,.field-help:focus-visible{border-color:#78a4cb;background:#eef6fd;outline:none}.field-help::after{content:attr(data-tooltip);position:absolute;z-index:2500;left:50%;bottom:calc(100% + 9px);width:290px;max-width:min(290px,calc(100vw - 36px));padding:9px 10px;border:1px solid #cfdae5;border-radius:9px;background:#17283b;color:#fff;box-shadow:0 8px 24px rgba(15,23,42,.18);font-size:11px;line-height:1.45;font-weight:500;text-align:left;white-space:normal;pointer-events:none;opacity:0;visibility:hidden;transform:translate(-50%,4px);transition:opacity .12s ease , transform .12s ease , visibility .12s}.field-help::before{content:"";position:absolute;z-index:2501;left:50%;bottom:calc(100% + 4px);border:5px solid transparent;border-top-color:#17283b;opacity:0;visibility:hidden;transform:translateX(-50%)}.field-help:hover::after,.field-help:focus-visible::after,.field-help:hover::before,.field-help:focus-visible::before{opacity:1;visibility:visible}.field-help:hover::after,.field-help:focus-visible::after{transform:translate(-50%,0)}@media (max-width:860px){.stage-type-field{min-width:0}.stage-type-field select{min-width:0}.field-help::after{left:0;transform:translate(0,4px)}.field-help:hover::after,.field-help:focus-visible::after{transform:translate(0,0)}.field-help::before{left:9px;transform:none}}.stage-name-field input,.stage-type-field select{height:46px;min-height:46px;font-size:14px;line-height:1.2;padding-top:0;padding-bottom:0}.stage-type-field select{padding-left:12px;padding-right:38px}.stage-row-meta{height:46px}.stage-row-actions{height:46px}.stage-order-btn,.stage-remove-btn{width:36px;height:36px;flex:0 0 36px}@media (max-width:860px){.stage-row-meta{height:36px}.stage-row-actions{height:36px}}.funnel-code-badge{display:inline-flex;vertical-align:middle;margin-left:8px;padding:4px 8px;border-radius:999px;background:#edf4fb;color:#2d6295;font-size:10px;font-weight:850;letter-spacing:.02em}.stage-order-index{position:relative;cursor:help;outline:none}.stage-order-index[data-stage-code]::after{content:"Código interno: " attr(data-stage-code);position:absolute;z-index:2600;left:50%;bottom:calc(100% + 8px);width:max-content;max-width:210px;padding:7px 9px;border-radius:8px;background:#17283b;color:#fff;font-size:10px;font-weight:650;line-height:1.3;white-space:nowrap;box-shadow:0 8px 22px rgba(15,23,42,.18);opacity:0;visibility:hidden;transform:translate(-50%,4px);transition:.12s;pointer-events:none}.stage-order-index[data-stage-code]:hover::after,.stage-order-index[data-stage-code]:focus-visible::after{opacity:1;visibility:visible;transform:translate(-50%,0)}@media (max-width:1000px){.sidebar{display:flex;position:fixed;z-index:1400;left:0;top:0;width:min(300px,86vw);height:100dvh;transform:translateX(-105%);opacity:0;pointer-events:none;transition:transform .2s ease , opacity .2s ease;box-shadow:18px 0 45px rgba(8,25,43,.22)}body.mobile-sidebar-open .sidebar{transform:translateX(0);opacity:1;pointer-events:auto}.sidebar-hide-button{display:flex!important}.sidebar-show-button{display:inline-flex!important;top:12px;left:12px}body.mobile-sidebar-open .sidebar-show-button{display:none!important}.mobile-top{padding-left:82px;min-height:42px;align-items:center}body.mobile-sidebar-open::after{content:"";position:fixed;z-index:1300;inset:0;background:rgba(13,27,43,.45)}}@media (max-width:620px){.mobile-top{padding-left:76px;gap:7px}.mobile-top .brand-sidebar span{display:none}.mobile-company-link{max-width:58vw!important}.funnel-code-badge{display:inline-flex;margin-left:4px}.stage-order-index[data-stage-code]::after{content:"ID " attr(data-stage-code);left:0;bottom:auto;top:calc(100% + 5px);transform:none}.stage-order-index[data-stage-code]:hover::after,.stage-order-index[data-stage-code]:focus-visible::after{transform:none}}.google-calendar-page-head{margin-bottom:18px}.google-calendar-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);gap:18px;align-items:start}.google-calendar-card,.google-calendar-info-card{margin-top:0!important}.google-status{display:inline-flex;align-items:center;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:850;white-space:nowrap}.google-status.connected{background:#eaf5ee;color:#39734f}.google-status.disconnected{background:#f1f4f7;color:#66788b}.google-setup-warning{margin-top:18px;border:1px solid #efd7a7;background:#fff9ed;border-radius:13px;padding:14px}.google-setup-warning strong,.google-setup-warning p{display:block}.google-setup-warning p{margin:5px 0 0;color:#755a27;font-size:12px;line-height:1.5}.google-account-summary,.google-connect-intro{display:flex;gap:13px;align-items:center;margin-top:20px;padding:16px;border:1px solid var(--line);border-radius:15px;background:#fbfcfd}.google-account-icon{width:42px;height:42px;border-radius:12px;background:#fff;border:1px solid var(--line);display:grid;place-items:center;font-size:20px;font-weight:900;color:#4285f4;flex:0 0 auto}.google-account-summary span,.google-account-summary strong,.google-account-summary small{display:block}.google-account-summary span{font-size:10px;color:var(--muted);font-weight:750}.google-account-summary strong{font-size:14px;margin-top:2px}.google-account-summary small{font-size:10px;color:var(--muted);margin-top:3px}.google-connect-intro strong{font-size:14px}.google-connect-intro p{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.5}.google-connect-button{margin-top:14px}.google-calendar-meta{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}.google-calendar-meta>div{border:1px solid var(--line);border-radius:12px;padding:12px}.google-calendar-meta span,.google-calendar-meta strong{display:block}.google-calendar-meta span{font-size:9px;color:var(--muted);font-weight:750;text-transform:uppercase;letter-spacing:.04em}.google-calendar-meta strong{font-size:13px;margin-top:4px}.google-calendar-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:15px}.google-calendar-actions form{margin:0}.google-calendar-info-card h3{margin:7px 0 8px}.google-calendar-info-card>p{color:var(--muted);font-size:12px;line-height:1.55}.google-info-list{display:grid;gap:0;margin-top:15px;border:1px solid var(--line);border-radius:13px;overflow:hidden}.google-info-list>div{padding:11px 12px;background:#fbfcfd}.google-info-list>div+div{border-top:1px solid var(--line)}.google-info-list strong,.google-info-list span{display:block}.google-info-list strong{font-size:9px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted)}.google-info-list span{font-size:11px;margin-top:3px;overflow-wrap:anywhere}@media (max-width:700px){.google-calendar-grid{display:block}.google-calendar-info-card{margin-top:18px!important}.google-calendar-card .card-heading{display:grid}.google-status{justify-self:start}.google-calendar-meta{grid-template-columns:1fr}.google-calendar-actions{display:grid}.google-calendar-actions .btn,.google-calendar-actions form,.google-calendar-actions form .btn{width:100%}}.google-calendar-grid{grid-template-columns:minmax(0,760px)!important}.google-calendar-card{padding:22px!important}.google-account-summary{position:relative;background:#fff!important;box-shadow:0 1px 2px rgba(15,23,42,.03)}.google-account-copy{min-width:0;flex:1}.google-account-copy strong{overflow-wrap:anywhere}.google-connected-pill{margin-left:auto;border-radius:999px;padding:6px 10px;background:#eaf5ee;color:#39734f;font-size:10px;font-weight:850}.google-company-calendar{margin-top:18px;padding:18px;border:1px solid var(--line);border-radius:15px;background:#fbfcfd}.google-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.google-section-title span{font-size:9px;letter-spacing:.08em;font-weight:850;color:var(--muted)}.google-section-title h3{margin:3px 0 0;font-size:17px}.google-company-calendar>p{margin:8px 0 15px;color:var(--muted);font-size:11px}.google-calendar-selected{background:#eaf5ee!important;color:#39734f!important;padding:6px 9px;border-radius:999px;letter-spacing:0!important;white-space:nowrap}.google-calendar-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}.google-calendar-form .field{margin:0}.google-calendar-form .btn{height:42px}.google-calendar-meta{margin-top:18px!important}.google-calendar-actions{padding-top:3px}.opportunity-agenda-card{scroll-margin-top:18px}.opportunity-schedule-form{margin-top:14px}.opportunity-appointments{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}.appointment-list{display:grid;gap:9px;margin-top:10px}.appointment-item{display:flex;gap:11px;padding:11px;border:1px solid var(--line);border-radius:12px;background:#fbfcfd}.appointment-date{width:52px;flex:0 0 52px;border-right:1px solid var(--line);display:flex;flex-direction:column;justify-content:center}.appointment-date strong{font-size:13px}.appointment-date span{font-size:11px;color:var(--muted);margin-top:2px}.appointment-copy{min-width:0}.appointment-copy>strong,.appointment-copy>small{display:block}.appointment-copy>strong{font-size:12px}.appointment-copy>small{margin-top:3px;font-size:9px;color:var(--muted);text-transform:uppercase}.appointment-copy p{margin:6px 0 0;font-size:11px;line-height:1.45;color:var(--muted)}@media (max-width:700px){.google-calendar-card{padding:16px!important}.google-account-summary{align-items:flex-start}.google-connected-pill{position:absolute;right:12px;top:12px}.google-account-copy{padding-right:70px}.google-section-title{align-items:flex-start;flex-direction:column}.google-calendar-form{grid-template-columns:1fr}.google-calendar-form .btn{width:100%}}.agenda-page-head{align-items:flex-end}.agenda-toolbar{display:flex;align-items:center;justify-content:center;gap:22px;margin-bottom:18px;padding:12px 16px}.agenda-toolbar>div{text-align:center;display:flex;flex-direction:column;gap:2px}.agenda-toolbar small{color:var(--muted,#667085)}.agenda-nav{width:36px;height:36px;border:1px solid #d8dee8;border-radius:10px;display:grid;place-items:center;text-decoration:none;font-size:25px;color:#344054;background:#fff}.agenda-week{display:grid;grid-template-columns:repeat(7,minmax(150px,1fr));gap:10px;overflow-x:auto;padding-bottom:8px}.agenda-day{padding:0;min-height:260px;overflow:hidden}.agenda-day>header{padding:12px 13px;border-bottom:1px solid #e8edf3;display:flex;align-items:center;justify-content:space-between;background:#f8fafc}.agenda-day>header>div{display:flex;align-items:baseline;gap:8px}.agenda-day>header span{font-size:12px;font-weight:700;text-transform:uppercase;color:#667085}.agenda-day>header strong{font-size:22px}.agenda-day>header small{color:#98a2b3}.agenda-day.is-today{box-shadow:0 0 0 2px #667085 inset}.agenda-day.is-today>header{background:#eef2f6}.agenda-events{padding:10px;display:flex;flex-direction:column;gap:8px}.agenda-empty{font-size:13px;color:#98a2b3;text-align:center;padding:26px 6px}.agenda-event{border:1px solid #dfe5ec;border-radius:10px;padding:9px 10px;background:#fff;display:flex;flex-direction:column;gap:3px}.agenda-event time{font-size:12px;font-weight:800;color:#475467}.agenda-event strong{font-size:13px;line-height:1.3;color:#101828}.agenda-event small{font-size:11px;color:#667085}@media (max-width:760px){.agenda-page-head{align-items:flex-start}.agenda-week{display:flex;flex-direction:column;overflow:visible}.agenda-day{min-height:0}.agenda-day>header{position:sticky;top:0;z-index:1}.agenda-empty{padding:14px}.agenda-toolbar{position:sticky;top:0;z-index:3}.agenda-event{padding:11px}}.agenda-calendar{padding:0;overflow:auto}.agenda-calendar-grid{display:grid;grid-template-columns:70px repeat(7,minmax(145px,1fr));min-width:1080px}.agenda-corner,.agenda-calendar-dayhead{position:sticky;top:0;z-index:2;background:#f8fafc;border-bottom:1px solid var(--line)}.agenda-corner{left:0;z-index:3}.agenda-calendar-dayhead{height:58px;display:flex;align-items:center;justify-content:center;gap:8px;border-left:1px solid var(--line)}.agenda-calendar-dayhead span{font-size:11px;font-weight:800;text-transform:uppercase;color:var(--muted)}.agenda-calendar-dayhead strong{font-size:20px}.agenda-calendar-dayhead.is-today{background:#eef2f6}.agenda-hour-label{min-height:72px;padding:8px 10px;text-align:right;font-size:11px;font-weight:700;color:var(--muted);border-bottom:1px solid var(--line);background:#fff;position:sticky;left:0;z-index:1}.agenda-hour-cell{min-height:72px;border-left:1px solid var(--line);border-bottom:1px solid var(--line);padding:4px}.agenda-hour-cell.is-today{background:#fafbfc}.agenda-slot-event{padding:6px 7px;border-radius:8px;border:1px solid #d9e0e8;background:#f4f7fa;line-height:1.2;margin-bottom:3px}.agenda-slot-event time,.agenda-slot-event strong,.agenda-slot-event small{display:block}.agenda-slot-event time{font-size:10px;font-weight:800;color:#475467}.agenda-slot-event strong{font-size:11px;margin-top:2px}.agenda-slot-event small{font-size:10px;color:#667085;margin-top:3px}.agenda-mobile-days{display:none}.agenda-mobile-event{display:flex;gap:12px;padding:11px 12px;border-top:1px solid var(--line)}.agenda-mobile-event time{width:44px;flex:0 0 44px;font-weight:800}.agenda-mobile-event strong,.agenda-mobile-event small{display:block}.agenda-mobile-event small{margin-top:3px;color:var(--muted)}.agenda-mobile-day>header{padding:11px 12px;background:#f8fafc}.agenda-mobile-day.is-today{box-shadow:0 0 0 2px #667085 inset}@media (max-width:760px){.agenda-calendar{display:none}.agenda-mobile-days{display:grid;gap:10px}}.team-password-grid{align-items:start}.team-password-grid .field{margin-bottom:0}.team-password-grid input{min-height:44px}.team-heading{align-items:center}.team-heading h2{display:flex;align-items:center;gap:9px;margin-bottom:4px}.team-count{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#eef4f5;font-size:13px}.team-empty{padding:30px 22px;text-align:center}.team-empty strong{display:block;margin-bottom:6px}.seller-inline-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.seller-inline-form select{min-width:190px;height:38px}@media (max-width:700px){.seller-inline-form{width:100%}.seller-inline-form select,.seller-inline-form .btn{width:100%}}.seller-inline-form{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap}.seller-inline-form select{width:auto;min-width:260px;max-width:360px;height:auto;min-height:44px;box-sizing:border-box;padding:10px 38px 10px 12px;line-height:1.35;background-color:#fff}.seller-inline-form .btn{min-height:44px}@media (max-width:700px){.seller-inline-form{width:100%}.seller-inline-form select,.seller-inline-form .btn{width:100%;max-width:none}}.commercial-link-section{border:1px solid #dbe5ef;border-radius:16px;padding:18px;margin-top:4px;background:#fbfdff}.commercial-link-head h3{margin:2px 0 4px}.commercial-link-head p{margin:0;color:#64748b;font-size:13px}.commercial-link-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:14px}.commercial-link-item{border:1px solid #e2e8f0;border-radius:12px;background:#fff;padding:11px 13px;min-width:0}.commercial-link-item small{display:block;color:#64748b;font-size:11px;margin-bottom:4px}.commercial-link-item strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.commercial-link-note{margin-top:10px;padding:10px 12px;border-radius:10px;background:#eef6ff;color:#36536d;font-size:12px}.team-commercial-link{display:block!important;margin-top:3px;color:#2563a6!important}@media (max-width:760px){.commercial-link-grid{grid-template-columns:1fr}}.lead-commercial-ownership{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center;margin:0 0 16px;padding:12px 14px;border:1px solid #dbe5ef;border-radius:13px;background:#f8fbff}.lead-commercial-ownership div{min-width:0}.lead-commercial-ownership small{display:block;color:#64748b;font-size:11px;margin-bottom:3px}.lead-commercial-ownership strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#142f4a}.lead-commercial-arrow{color:#7b91a7;font-weight:700}@media (max-width:600px){.lead-commercial-ownership{grid-template-columns:1fr}.lead-commercial-arrow{display:none}}