:root{--yellow:#e3b52b;--yellow-soft:#fff4c8;--ink:#242820;--muted:#7b8277;--line:#e7e9e1;--paper:#fff;--cream:#f7f8f3}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 50% -15%,#fff4c8 0,#f7f8f3 39%,#eef1ea 100%);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;min-height:100vh}.ambient{position:fixed;pointer-events:none;border-radius:50%;filter:blur(110px);opacity:.12}.ambient-one{width:300px;height:300px;background:#e8c044;top:5%;left:-150px}.ambient-two{width:260px;height:260px;background:#e0e5d5;right:-100px;bottom:10%}.app-shell{max-width:1440px;min-height:100vh;margin:auto;padding:0 58px 120px;position:relative}.topbar{height:84px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:baseline;gap:8px;font:700 20px 'Space Grotesk';letter-spacing:-.5px}.brand-mark,.tiny-mark{color:#c79408}.brand small{font:600 10px 'DM Sans';letter-spacing:1.5px;color:#a39b83}.workspace-switcher{display:flex;align-items:center;gap:9px}.workspace-label{font-size:9px;font-weight:700;letter-spacing:1.4px;color:#a39b83}.workspace-pill{display:flex;align-items:center;gap:9px;padding:10px 14px;border:1px solid #e3e5dc;border-radius:11px;background:#fff;box-shadow:0 3px 10px #3e43240d;color:#4c544a;font-size:13px}.online-dot,.status-light{width:7px;height:7px;border-radius:50%;background:var(--yellow);box-shadow:0 0 0 4px #e3b52b22}.chevron{color:#8d938a}.topbar-actions{display:flex;align-items:center;gap:9px}.icon-button{border:0;background:transparent;color:#879087;font-size:21px;cursor:pointer}.profile-avatar{display:grid;place-items:center;width:34px;height:34px;border:0;border-radius:50%;background:#f4d477;color:#654d05;font-weight:700;cursor:pointer}.main-content{max-width:1230px;margin:auto;padding:58px 0}.view{display:none;animation:rise .25s ease}.view.active{display:block}@keyframes rise{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}.view-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:32px}.eyebrow{margin:0 0 9px;color:#9a9a88;font-size:10px;font-weight:700;letter-spacing:1.8px}.eyebrow.green{color:#b48605}h1,h2,p{margin-top:0}h1{font:600 40px 'Space Grotesk';letter-spacing:-1.5px;margin-bottom:10px}h2{font:600 21px 'Space Grotesk';letter-spacing:-.5px;margin-bottom:7px}.subheading{margin:0;color:var(--muted);font-size:14px}.wave{color:#c99708}.primary-button,.secondary-button,.ghost-button,.text-button,.add-variant,.danger{border-radius:9px;padding:12px 17px;font:700 12px 'DM Sans';cursor:pointer;transition:.2s}.primary-button{border:0;background:var(--yellow);color:#4b3700;box-shadow:0 7px 18px #bd900e2b}.primary-button:hover{background:#edc64d}.secondary-button{border:1px solid #eedb9d;background:var(--yellow-soft);color:#715502}.ghost-button{border:1px solid var(--line);background:#fff;color:#778077}.text-button{border:0;background:none;color:#b08205;padding:5px}.danger{border:0;background:#fff0f0;color:#c25555}.metric-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.metric-card,.panel,.status-card{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 8px 24px #3b46320a}.metric-card{position:relative;min-height:156px;padding:20px;overflow:hidden}.metric-card.accent-card{background:#f5d777;color:#43350c}.metric-card p{font-size:12px;color:#7b806e;margin:15px 0 10px}.metric-card strong{display:block;font:600 31px 'Space Grotesk'}.metric-card small{font-size:11px;color:#8a8b79}.metric-card em{font:500 13px 'DM Sans';color:#858a7d;font-style:normal}.metric-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:8px;background:#fff1bc;color:#9b7304;font-size:17px}.sparkline{position:absolute;right:16px;bottom:23px;display:flex;align-items:end;gap:3px;height:34px}.sparkline i{display:block;width:4px;background:#c79c1a;border-radius:4px}.sparkline i:nth-child(1){height:12px}.sparkline i:nth-child(2){height:20px}.sparkline i:nth-child(3){height:15px}.sparkline i:nth-child(4){height:26px}.sparkline i:nth-child(5){height:17px}.sparkline i:nth-child(6){height:30px}.sparkline i:nth-child(7){height:23px}.metric-line{position:absolute;left:20px;right:20px;bottom:25px;height:2px;background:linear-gradient(90deg,#d4a319aa,transparent)}.status-badge{position:absolute;bottom:20px;color:#a57b05;font-size:10px}.home-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:14px}.panel{padding:25px}.panel-title{display:flex;justify-content:space-between;align-items:start}.steps{display:grid;gap:7px;margin-top:24px}.step{display:flex;align-items:center;gap:14px;width:100%;padding:13px;border:1px solid #edf0e9;border-radius:10px;background:#fcfdfb;color:var(--ink);text-align:left;cursor:pointer}.step:hover{border-color:#edd17c;background:#fffaf0}.step>span{color:#b18407;font:600 11px 'Space Grotesk'}.step div{flex:1}.step b,.step small{display:block}.step b{font-size:12px}.step small{color:var(--muted);font-size:11px;margin-top:3px}.step i{color:#9aa196;font-style:normal}.empty-activity,.team-empty,.instance-empty{text-align:center;padding:45px 20px;color:var(--muted)}.empty-icon{display:grid;place-items:center;width:45px;height:45px;margin:0 auto 14px;border:1px dashed #e6cc74;border-radius:14px;color:#b18407;font-size:22px}.empty-icon.big{width:65px;height:65px;font-size:30px}.empty-activity b,.team-empty b{display:block;color:var(--ink);font-size:13px;margin-bottom:7px}.empty-activity p,.team-empty p,.instance-empty p{max-width:280px;margin:0 auto;line-height:1.6;font-size:12px}.campaign-layout{display:grid;grid-template-columns:1fr 370px;gap:16px}.section-label{display:flex;align-items:center;gap:11px;margin-bottom:20px}.section-number{display:grid;place-items:center;width:28px;height:28px;border:1px solid #edd58a;border-radius:8px;color:#ad8105;font:600 11px 'Space Grotesk'}.section-label b,.section-label small{display:block}.section-label b{font-size:13px}.section-label small{margin-top:2px;color:var(--muted);font-size:11px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}label{display:block;margin-bottom:14px}label>span{display:block;margin-bottom:7px;color:#798178;font-size:11px}input,textarea{width:100%;padding:12px;border:1px solid #e0e4dc;border-radius:9px;background:#fff;color:var(--ink);font:500 12px 'DM Sans';outline:0}input:focus,textarea:focus{border-color:#d5aa21;box-shadow:0 0 0 3px #d5aa2118}.connection-actions{display:flex;align-items:center;gap:8px;margin-bottom:14px}.connection-status{margin-left:auto;color:#ad8105;font-size:11px}.qr-placeholder{display:grid;place-items:center;min-height:190px;border:1px dashed #e5cd79;border-radius:12px;background:#fffdf5;color:#929886;font-size:12px}.qr-placeholder img{max-width:220px;max-height:220px}.section-divider{margin:27px 0;border-top:1px solid var(--line)}.upload-zone{display:grid;place-items:center;align-content:center;gap:5px;min-height:125px;border:1px dashed #e4c967;border-radius:12px;background:#fffdf5;text-align:center;cursor:pointer}.upload-zone input{display:none}.upload-zone b{font-size:12px}.upload-zone small{color:var(--muted);font-size:11px}.upload-icon{color:#b18407;font-size:25px}.csv-preview,.preview-output{min-height:45px;max-height:130px;overflow:auto;padding:12px;border:1px solid #e7ebe3;border-radius:9px;background:#fafbf8;color:#6c786c;white-space:pre-wrap;font:11px monospace}.hint{color:#899287;font-size:11px}.side-panel{padding:20px}.variables-box{margin-bottom:13px;padding:12px;border:1px solid #efdda4;border-radius:10px;background:#fff9e6;font-size:11px}.chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:9px}.chips code{padding:4px 6px;border-radius:5px;background:#fff0b8;color:#866607;font:10px monospace}.variants-grid{display:grid;gap:9px}.variant-card{padding:10px;border:1px solid #e9ede5;border-radius:10px;background:#fcfdfb}.variant-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:7px;color:#7d887d;font-size:10px}.variant-card .remove{border:0;background:transparent;color:#c25555;font-size:10px;cursor:pointer}.variant-input{min-height:80px;resize:vertical}.add-variant{width:100%;margin-top:10px;border:1px dashed #dfc45e;background:transparent;color:#ad8105}.status-card{display:flex;align-items:center;gap:12px;margin-top:13px;padding:15px;background:#fffdf6}.status-card b,.status-card small{display:block}.status-card b{font-size:12px}.status-card small{margin-top:3px;color:#899287;font-size:10px}.preview-output{display:none;margin-top:13px}.kanban{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.kanban-column{min-height:420px;padding:13px;border:1px solid var(--line);border-radius:14px;background:#ffffffb8}.column-heading{display:flex;align-items:center;gap:8px;padding:5px 3px 14px;border-bottom:1px solid var(--line)}.column-heading b{font-size:12px}.column-heading em{color:#a0a89e;font-size:11px;font-style:normal}.column-heading button{margin-left:auto;border:0;background:transparent;color:#b18407;font-size:18px}.column-dot{width:7px;height:7px;border-radius:50%;background:#99a19a}.column-dot.blue{background:#80a9d8}.column-dot.amber{background:#dbb43b}.column-dot.green-dot{background:#b99a28}.kanban-empty{padding-top:55px;color:#a1aaa1;text-align:center;font-size:11px}.team-panel{max-width:800px}.team-header{display:flex;align-items:center;gap:14px;padding-bottom:20px;border-bottom:1px solid var(--line)}.team-avatar{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#f5d777;color:#634b00;font-weight:700}.team-header h2{margin-bottom:3px}.team-header p{margin:0;color:var(--muted);font-size:12px}.role-pill{margin-left:auto;padding:5px 8px;border:1px solid #edd58b;border-radius:6px;background:#fffaf0;color:#af8004;font-size:10px}.dock{position:fixed;z-index:4;bottom:27px;left:50%;display:flex;align-items:center;gap:5px;padding:8px 10px;border:1px solid #e0e4dc;border-radius:18px;background:#fffffff2;box-shadow:0 12px 30px #35402b24;transform:translateX(-50%);backdrop-filter:blur(18px)}.dock-item{display:grid;place-items:center;align-content:center;gap:3px;min-width:58px;height:51px;border:0;border-radius:12px;background:transparent;color:#8b968c;cursor:pointer}.dock-item span{font-size:20px;line-height:20px}.dock-item small{font-size:9px}.dock-item:hover,.dock-item.active{background:#fff8df;color:#ae8207}.dock-main{width:54px;min-width:54px;height:54px;border-radius:15px;background:var(--yellow);color:#4b3700;box-shadow:0 7px 18px #bd900e3d;font-size:25px}.modal{position:fixed;inset:0;z-index:10;display:grid;place-items:center;background:#6e682e26;backdrop-filter:blur(8px)}.modal.hidden{display:none}.modal-card{position:relative;width:min(400px,calc(100vw - 36px));padding:30px;border:1px solid #ecd58a;border-radius:18px;background:#fff;box-shadow:0 25px 80px #3d412933}.modal-close{position:absolute;right:17px;top:13px;border:0;background:transparent;color:#8a9388;font-size:23px;cursor:pointer}.profile-avatar.large{width:54px;height:54px;margin-bottom:22px;font-size:18px}.modal-card h2{font-size:26px}.modal-copy{margin-bottom:23px;color:var(--muted);font-size:13px}.full{width:100%;margin-top:7px}@media(max-width:900px){.app-shell{padding:0 22px 120px}.metric-grid{grid-template-columns:repeat(2,1fr)}.home-grid,.campaign-layout{grid-template-columns:1fr}.campaign-side{order:-1}.kanban{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.topbar{height:70px}.workspace-label{display:none}.workspace-switcher{margin-left:auto}.workspace-pill{display:flex}.view-heading{align-items:start;flex-direction:column}h1{font-size:31px}.metric-grid{grid-template-columns:1fr 1fr}.metric-card{padding:14px;min-height:135px}.field-grid{grid-template-columns:1fr}.kanban{grid-template-columns:1fr}.dock{bottom:14px}.dock-item{min-width:48px}.brand{font-size:17px}.brand small{display:none}}
:root{--workspace-shadow:0 18px 40px rgba(48,53,35,.14)}.workspace-control{position:relative}.workspace-pill{cursor:pointer}.workspace-menu{position:absolute;z-index:8;top:calc(100% + 9px);right:0;width:245px;padding:9px;border:1px solid #e2e5dc;border-radius:13px;background:#fff;box-shadow:var(--workspace-shadow)}.workspace-menu.hidden{display:none}.workspace-menu-title{padding:7px 9px 9px;color:#9a9a88;font-size:9px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase}.workspace-option{display:flex;align-items:center;gap:9px;width:100%;padding:9px;border:0;border-radius:8px;background:transparent;color:var(--ink);font:500 12px 'DM Sans';text-align:left;cursor:pointer}.workspace-option:hover,.workspace-option.selected{background:#fff8df}.workspace-option b{margin-left:auto;color:#b18407}.workspace-option-mark{display:grid;place-items:center;width:25px;height:25px;border-radius:7px;background:#f7df91;color:#705400;font-size:10px;font-weight:700}.workspace-add{width:100%;margin-top:6px;padding:10px 9px;border:0;border-top:1px solid #eef0e9;background:transparent;color:#b18407;font:700 11px 'DM Sans';text-align:left;cursor:pointer}.workspace-modal-icon{display:grid;place-items:center;width:48px;height:48px;margin-bottom:18px;border-radius:14px;background:#fff2c1;color:#ad8105;font-size:25px}@media(max-width:560px){.workspace-menu{right:-8px}.workspace-switcher{margin-left:auto}}
:root{--instance-shadow:0 10px 22px rgba(45,53,35,.06)}.instances-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.instances-list:empty{display:none}.instance-card{padding:20px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:var(--instance-shadow)}.instance-card-top{display:flex;align-items:center;gap:12px}.instance-logo{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#fff1bd;color:#ad8105;font-size:20px}.instance-info{flex:1;min-width:0}.instance-info h2{margin:0 0 4px;font-size:16px}.instance-info p{margin:0;overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.instance-status{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:7px;background:#f4f5f0;color:#858d83;font-size:10px}.instance-status i{width:6px;height:6px;border-radius:50%;background:#9ba49a}.instance-status.connected{background:#fff7dc;color:#a47a04}.instance-status.connected i{background:#d3a118}.instance-status.connecting{background:#eef5fb;color:#5c86ad}.instance-status.connecting i{background:#6d9dcb}.instance-card-meta{display:flex;justify-content:space-between;gap:10px;margin:19px 0 15px;padding-top:14px;border-top:1px solid #eef0e9;color:#8c958b;font-size:10px}.instance-card-meta b{color:#606b60;font-weight:600}.instance-card-actions{display:flex;align-items:center;gap:7px}.instance-action{padding:9px 11px;border:1px solid #e9e5d3;border-radius:8px;background:#fffaf0;color:#a77c06;font:700 10px 'DM Sans';cursor:pointer}.instance-action:hover{background:#fff1b8}.instance-remove{margin-left:auto;width:28px;height:28px;border:0;border-radius:7px;background:transparent;color:#b4bbb3;font-size:18px;cursor:pointer}.instance-remove:hover{background:#fff0f0;color:#bd5d5d}.instance-qr{display:flex;align-items:center;gap:14px;margin-top:14px;padding:13px;border:1px dashed #e4c967;border-radius:10px;background:#fffdf5;color:#8d9589;font-size:11px}.instance-qr.hidden{display:none}.instance-qr img{width:130px;height:130px;object-fit:contain}.instance-qr small{line-height:1.5}@media(max-width:800px){.instances-list{grid-template-columns:1fr}}@media(max-width:560px){.instance-card-actions{flex-wrap:wrap}.instance-status{font-size:9px}.instance-card-meta{display:block;line-height:1.8}}
:root{--metric-link-hover:#fffaf0}.metric-link{cursor:pointer;transition:transform .2s,box-shadow .2s}.metric-link:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(188,143,15,.13);background:var(--metric-link-hover)}
:root{--yellow:#c88e00;--yellow-soft:#fff0b5;--ink:#1b1d18;--strong-yellow:#d9a000}.primary-button{background:#c88e00;color:#17130a;box-shadow:0 7px 18px rgba(159,111,0,.25)}.primary-button:hover{background:#e0ab08}.secondary-button{background:#ffe59a;border-color:#d5a000;color:#4d3500}.dock-main{background:#c88e00;color:#17130a}.dock-main:hover{background:#e0ab08}.metric-card.accent-card{background:#e0ab08;color:#211800}.metric-card.accent-card p,.metric-card.accent-card small{color:#493600}.workspace-pill{color:#252a23}.instance-action{background:#ffe59a;border-color:#d5a000;color:#4d3500}.add-variant{color:#996d00;border-color:#c89200}.workspace-add{color:#996d00}.workspace-option:hover,.workspace-option.selected{background:#fff2bd}.status-badge{color:#8b6100}.instance-status.connected{background:#fff0b5;color:#765000}.instance-logo{background:#ffe59a;color:#8b6100}.workspace-modal-icon{background:#ffe59a;color:#8b6100}
:root{--yellow:#c88e00;--yellow-soft:#fff0b5;--ink:#1b1d18;--strong-yellow:#d9a000}.hidden{display:none!important}
:root{--auth-ink:#1c211a}.auth-screen{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:24px;background:radial-gradient(circle at 12% 12%,#fff1b7 0,transparent 28%),radial-gradient(circle at 88% 83%,#dce7d8 0,transparent 32%),#f5f7f1}.auth-card{width:min(430px,100%);padding:38px;border:1px solid #e4d494;border-radius:22px;background:#fff;box-shadow:0 30px 90px rgba(39,49,32,.18)}.auth-brand{display:flex;align-items:baseline;gap:8px;margin-bottom:34px;font:700 21px 'Space Grotesk';letter-spacing:-.5px}.auth-brand small{font:600 10px 'DM Sans';letter-spacing:1.5px;color:#a39b83}.auth-card h1{font-size:30px;line-height:1.05}.auth-message{min-height:18px;margin:15px 0 0;color:#69805e;font-size:12px;text-align:center}.auth-message.error{color:#b64444}.auth-toggle{display:block;margin:14px auto 0;font-size:12px}.logout-button{display:block;width:100%;margin-top:12px;padding:9px;border:0;background:transparent;color:#b45656;font:600 12px 'DM Sans';cursor:pointer}.team-members{display:grid;gap:8px;margin-top:18px}.team-member{display:flex;align-items:center;gap:11px;padding:12px;border:1px solid #edf0e9;border-radius:10px;background:#fcfdfb}.team-member-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#fff0b8;color:#795800;font-size:11px;font-weight:700}.team-member>div{display:grid;gap:3px;min-width:0;flex:1}.team-member b{font-size:12px}.team-member small{overflow:hidden;color:var(--muted);font-size:11px;text-overflow:ellipsis;white-space:nowrap}.member-status{padding:4px 7px;border-radius:6px;background:#edf5e9;color:#548049;font-size:10px}.member-status.disabled{background:#fff0f0;color:#b55d5d}.team-member .role-pill{margin-left:0;white-space:nowrap}.team-load-error{margin:20px 0;color:#b55d5d;font-size:12px;text-align:center}select{width:100%;padding:12px;border:1px solid #e0e4dc;border-radius:9px;background:#fff;color:var(--ink);font:500 12px 'DM Sans';outline:0}@media(max-width:560px){.auth-card{padding:28px 22px}.team-member{flex-wrap:wrap}.team-member .role-pill{margin-left:auto}}
.heading-actions{display:flex;align-items:center;gap:10px}.view-toggle{display:flex;padding:3px;border:1px solid var(--line);border-radius:9px;background:#fff}.view-toggle button{padding:7px 10px;border:0;border-radius:6px;background:transparent;color:var(--muted);font:700 10px 'DM Sans';cursor:pointer}.view-toggle button.active{background:#fff0b5;color:#684800}.lead-kanban{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}.lead-cards{display:grid;gap:8px}.lead-card{display:grid;gap:5px;width:100%;padding:12px;border:1px solid #e9ede5;border-radius:9px;background:#fff;color:var(--ink);text-align:left;cursor:pointer}.lead-card:hover{border-color:#d9b63b;box-shadow:0 6px 18px #51441812}.lead-card b{font-size:12px}.lead-card small{color:var(--muted);font-size:10px}.leads-table-wrap{overflow:auto;padding:0}.leads-table{width:100%;border-collapse:collapse;text-align:left}.leads-table th,.leads-table td{padding:14px 16px;border-bottom:1px solid var(--line);font-size:12px}.leads-table th{color:#8b9187;font-size:10px;letter-spacing:.7px;text-transform:uppercase}.leads-table tbody tr{cursor:pointer}.leads-table tbody tr:hover{background:#fffdf5}.table-stage{display:inline-flex;align-items:center;gap:6px;font-size:11px}.table-stage:before{width:7px;height:7px;border-radius:50%;background:var(--stage-color);content:''}.table-empty{text-align:center;color:var(--muted)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-copy{margin:15px 0;color:var(--muted);font-size:12px;line-height:1.55}.settings-list{display:grid;gap:8px}.settings-item{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #edf0e9;border-radius:9px;background:#fcfdfb}.settings-item div{display:grid;gap:3px}.settings-item b{font-size:12px}.settings-item small{color:var(--muted);font-size:10px}.field-type,.stage-swatch{display:grid;place-items:center;min-width:34px;height:28px;border-radius:7px;background:#fff0b5;color:#795800;font-size:9px;font-weight:700}.stage-swatch{min-width:28px;width:28px}.settings-empty{margin:15px 0;color:var(--muted);font-size:12px}.layout-settings{margin-top:16px}.layout-options{max-width:200px;margin:16px 0}.layout-builder{display:grid;grid-template-columns:repeat(var(--layout-columns),minmax(0,1fr));gap:12px}.layout-column{min-height:230px;padding:12px;border:1px dashed #dcc56d;border-radius:11px;background:#fffdf6}.layout-column>b{display:block;margin-bottom:10px;color:#8c6a00;font-size:10px;text-transform:uppercase}.layout-dropzone{display:grid;gap:8px;min-height:175px}.layout-field{display:flex;align-items:center;gap:8px;padding:8px;border:1px solid #e5e8e1;border-radius:8px;background:#fff;cursor:grab}.layout-field>span{color:#b38a0d}.layout-field>b{flex:1;font-size:11px}.layout-field select{width:auto;padding:5px;font-size:9px}.lead-modal-card{width:min(760px,calc(100vw - 36px));max-height:90vh;overflow:auto}.lead-form-grid{display:grid;grid-template-columns:repeat(var(--lead-columns,2),minmax(0,1fr));gap:0 13px}.lead-form-grid label.field-half{grid-column:auto}.lead-form-grid label:not(.field-half){grid-column:span var(--lead-columns,2)}@media(max-width:900px){.settings-grid{grid-template-columns:1fr}.layout-builder{grid-template-columns:1fr}.lead-form-grid{grid-template-columns:1fr!important}.lead-form-grid label:not(.field-half){grid-column:auto}}@media(max-width:560px){.heading-actions{align-items:stretch;flex-wrap:wrap}.leads-table th,.leads-table td{padding:12px}.settings-grid{gap:12px}}
.lead-modal-card{width:min(820px,calc(100vw - 32px));padding:34px 36px;border-color:#e9d99b;background:linear-gradient(180deg,#fff 0,#fffdf7 100%)}.lead-modal-card .modal-copy{padding-bottom:17px;border-bottom:1px solid #edf0e8}.lead-form-grid{gap:0 16px}.lead-form-grid label:not(.field-half){grid-column:auto}.lead-form-grid input,.lead-form-grid select{min-height:43px;background:#fff}.lead-section-title{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;margin:10px 0 17px;padding-top:21px;border-top:1px solid #e9ede4}.lead-section-title span{color:#5a6258;font:700 12px 'Space Grotesk'}.lead-section-title small{color:#92998e;font-size:10px}.audit-panel{max-width:940px;padding:0;overflow:hidden}.audit-intro{display:flex;align-items:center;gap:12px;padding:20px 24px;border-bottom:1px solid var(--line);background:linear-gradient(90deg,#fff8df,#fff)}.audit-intro>span{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:#f3d872;color:#765500;font-size:18px}.audit-intro div{display:grid;gap:3px}.audit-intro b{font-size:13px}.audit-intro small{color:var(--muted);font-size:11px}.audit-events{padding:5px 24px}.audit-event{display:flex;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid #edf0e9}.audit-event:last-child{border-bottom:0}.audit-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;background:#fff1ba;color:#956d00;font-size:13px}.audit-main{display:grid;gap:3px;min-width:0;flex:1}.audit-main b,.audit-meta b{font-size:12px}.audit-main p,.audit-main small{margin:0;color:var(--muted);font-size:10px}.audit-main small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.audit-meta{display:grid;gap:3px;text-align:right}.audit-meta small{color:#959b92;font-size:10px}.audit-loading{padding:28px 0;color:var(--muted);font-size:12px;text-align:center}.audit-loading.error{color:#b65c5c}.audit-empty{display:grid;place-items:center;gap:7px;padding:55px;color:var(--muted);text-align:center}.audit-empty span{font-size:24px;color:#c09209}.audit-empty b{color:var(--ink);font-size:13px}.audit-empty p{margin:0;font-size:11px}@media(max-width:650px){.lead-modal-card{padding:28px 20px}.lead-section-title{display:grid;gap:4px}.audit-events{padding:5px 16px}.audit-event{align-items:flex-start}.audit-meta{margin-left:auto}.audit-meta b{max-width:85px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
.lead-modal-card{display:flex!important;flex-direction:column!important;align-items:stretch!important}.lead-dialog-header,.lead-dialog-tabs,.lead-dialog-body{width:100%;min-width:0}.lead-dialog-body{display:block!important}.lead-dialog-body #leadDetailsPanel{width:100%;min-width:0}.lead-dialog-body #leadNativeFields,.lead-dialog-body #leadCustomFields{width:100%;min-width:0}.lead-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%}.lead-form-grid>*{min-width:0}.lead-dialog-footer{width:100%}
.lead-modal-card{width:min(672px,calc(100vw - 32px))!important;height:auto!important;max-height:calc(100dvh - 48px)!important;border:0!important;border-radius:12px!important;background:#fff!important;box-shadow:0 20px 25px -5px rgba(15,23,42,.16),0 8px 10px -6px rgba(15,23,42,.12)!important}.lead-dialog-header{padding:20px 24px!important;border-bottom:1px solid #e2e8f0!important}.lead-dialog-header .eyebrow{display:none}.lead-dialog-header h2{color:#0f172a!important;font-family:'DM Sans',Arial,sans-serif!important;font-size:20px!important;font-weight:700!important;letter-spacing:0!important}.lead-dialog-header .modal-copy{margin-top:4px!important;color:#64748b!important;font-size:14px!important}.lead-close{width:32px!important;height:32px!important;margin:-6px -8px 0 0!important;border-radius:8px!important;color:#94a3b8!important;font-size:24px!important}.lead-close:hover{background:#f1f5f9!important;color:#475569!important}.lead-dialog-tabs{gap:18px!important;padding:0 24px!important;border-bottom:0!important;background:#fff}.lead-dialog-tabs button{padding:13px 0 5px!important;color:#64748b!important;font-size:12px!important;font-weight:600!important}.lead-dialog-tabs button.active{color:#0f172a!important}.lead-dialog-tabs button.active:after{height:2px!important;background:#0f172a!important}.lead-dialog-body{overflow-y:auto!important;padding:16px 24px 0!important;background:#fff!important}.lead-dialog-body form{min-height:0!important}.lead-dialog-body #leadNativeFields,.lead-dialog-body #leadCustomFields{padding:0!important}.lead-form-grid{gap:16px!important}.lead-form-grid label{margin:0!important}.lead-form-grid label>span{margin-bottom:7px!important;color:#334155!important;font-size:13px!important;font-weight:500!important}.lead-form-grid input,.lead-form-grid select{height:40px!important;min-height:40px!important;padding:8px 12px!important;border:1px solid #cbd5e1!important;border-radius:6px!important;background:#fff!important;color:#0f172a!important;font-size:14px!important}.lead-form-grid input:focus,.lead-form-grid select:focus{border-color:#64748b!important;box-shadow:0 0 0 3px rgba(100,116,139,.13)!important}.lead-section-title{margin:6px 0 0!important;padding:20px 0 0!important;border-top:1px solid #e2e8f0!important}.lead-section-title span{color:#0f172a!important;font-family:'DM Sans',Arial,sans-serif!important;font-size:14px!important;font-weight:600!important}.lead-section-title small{margin-top:3px!important;color:#64748b!important;font-size:12px!important}.lead-dialog-body .auth-message{margin:0!important}.lead-dialog-footer{position:sticky!important;bottom:0!important;justify-content:flex-end!important;margin:20px -24px 0!important;padding:16px 24px!important;border-top:1px solid #e2e8f0!important;background:#fff!important}.lead-dialog-footer .ghost-button{padding:9px 14px!important;border:0!important;background:transparent!important;color:#475569!important;font-size:14px!important}.lead-dialog-footer .primary-button{padding:9px 16px!important;border-radius:6px!important;background:#0f172a!important;box-shadow:none!important;color:#fff!important;font-size:14px!important}.lead-dialog-footer .primary-button:hover{background:#334155!important}.lead-audit-events{padding:0!important}.lead-history-item{padding:16px 0!important;border-color:#e2e8f0!important}.lead-history-item>span{width:30px!important;height:30px!important;border-radius:50%!important;background:#f1f5f9!important;color:#475569!important}.lead-history-item b{color:#0f172a!important;font-size:14px!important}.lead-history-item p{color:#64748b!important;font-size:12px!important}@media(max-width:650px){.lead-modal-card{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;border-radius:12px!important}.lead-dialog-header,.lead-dialog-body{padding-left:20px!important;padding-right:20px!important}.lead-dialog-tabs{padding:0 20px!important}.lead-dialog-footer{margin-left:-20px!important;margin-right:-20px!important;padding-left:20px!important;padding-right:20px!important}.lead-form-grid{grid-template-columns:1fr!important}}
.lead-modal{background:rgba(2,6,23,.72)!important;backdrop-filter:blur(6px)!important}.lead-modal-card{width:min(1280px,96vw)!important;height:94dvh!important;max-height:94dvh!important;border:1px solid #334155!important;border-radius:22px!important;background:#0b1220!important;color:#d8dee9!important;box-shadow:0 30px 90px rgba(0,0,0,.46)!important}.lead-dialog-header{padding:22px 48px 16px!important;border-color:#334155!important;background:#0b1220!important}.lead-title-row{display:flex;align-items:center;gap:10px}.lead-dialog-header h2{color:#f8fafc!important;font-size:21px!important;font-weight:600!important}.lead-dialog-header .modal-copy{color:#aab4c4!important;font-size:12px!important}.lead-saved-badge{padding:3px 8px;border:1px solid #475569;border-radius:999px;color:#94a3b8;font-size:10px;font-weight:700}.lead-saved-badge.saved{border-color:#10b981;color:#34d399}.lead-close{color:#94a3b8!important}.lead-close:hover{background:#1e293b!important;color:#fff!important}.lead-dialog-content{display:flex;min-height:0;flex:1;flex-direction:column;padding:16px 48px 0}.lead-dialog-tabs{width:100%;gap:2px!important;padding:4px!important;border:1px solid #475569!important;border-radius:10px!important;background:#1b2332!important}.lead-dialog-tabs button{padding:8px 14px!important;border-radius:8px!important;color:#b8c1d1!important;font-size:13px!important}.lead-dialog-tabs button.active{background:#0f172a!important;color:#f8fafc!important}.lead-dialog-tabs button.active:after{display:none}.lead-dialog-body{flex:1!important;overflow-y:auto!important;padding:24px 2px 12px!important;background:transparent!important}.lead-form-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.lead-form-card{min-width:0;padding:16px;border:1px solid #334155;border-radius:16px;background:#151d2c}.lead-form-card h3{margin:0 0 18px;color:#dce3ee;font-size:12px;font-weight:500;letter-spacing:.2px;text-transform:uppercase}.lead-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}.lead-form-grid label{margin:0!important}.lead-form-grid label>span{color:#c2cad8!important;font-size:12px!important;font-weight:500!important}.lead-form-grid input,.lead-form-grid select{height:42px!important;min-height:42px!important;border-color:#2c374a!important;border-radius:12px!important;background:#1a2231!important;color:#e5e7eb!important;font-size:13px!important}.lead-form-grid select{color-scheme:dark}.lead-form-grid input:focus,.lead-form-grid select:focus{border-color:#3b82f6!important;box-shadow:0 0 0 3px rgba(59,130,246,.14)!important}.lead-card-empty{margin:0;color:#8c98aa;font-size:12px}.lead-dialog-footer{position:static!important;justify-content:space-between!important;margin:0!important;padding:16px 48px 20px!important;border-color:#334155!important;background:#0b1220!important}.lead-dialog-footer .ghost-button{border:1px solid #334155!important;border-radius:12px!important;background:transparent!important;color:#e2e8f0!important}.lead-dialog-footer .primary-button{border-radius:12px!important;background:#2563eb!important;color:#fff!important;box-shadow:0 8px 18px rgba(37,99,235,.25)!important}.lead-dialog-footer .primary-button:hover{background:#1d4ed8!important}.lead-audit-events{padding:0 2px!important}.lead-history-item{border-color:#334155!important}.lead-history-item>span{background:#1e293b!important;color:#93c5fd!important}.lead-history-item b{color:#f1f5f9!important}.lead-history-item p{color:#94a3b8!important}@media(max-width:1000px){.lead-dialog-header{padding-left:24px!important;padding-right:24px!important}.lead-dialog-content{padding-left:24px;padding-right:24px}.lead-dialog-footer{padding-left:24px!important;padding-right:24px!important}.lead-form-sections{grid-template-columns:1fr}.lead-form-card{padding:18px}}@media(max-width:650px){.lead-modal-card{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important;border-radius:16px!important}.lead-dialog-header,.lead-dialog-content,.lead-dialog-footer{padding-left:16px!important;padding-right:16px!important}.lead-dialog-body{padding-top:16px!important}.lead-form-grid{grid-template-columns:1fr!important}.lead-dialog-footer{gap:8px!important}.lead-dialog-footer .primary-button,.lead-dialog-footer .ghost-button{padding:10px!important}}
.lead-modal-card{width:min(720px,calc(100vw - 32px))!important;height:auto!important;max-height:calc(100dvh - 48px)!important;border-radius:16px!important}.lead-dialog-header{padding:20px 28px 14px!important}.lead-dialog-content{display:block!important;flex:none!important;padding:12px 28px 0!important}.lead-dialog-tabs{display:inline-flex!important;width:auto!important;margin-bottom:18px;border:0!important;border-radius:8px!important;background:#1b2332!important}.lead-dialog-tabs button{padding:7px 12px!important;font-size:12px!important}.lead-dialog-body{overflow-y:auto!important;max-height:calc(100dvh - 255px)!important;padding:0!important}.lead-form-sections{display:contents!important}.lead-form-card{display:contents!important}.lead-form-card h3{display:none!important}.lead-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px 16px!important;margin-bottom:14px}.lead-form-grid:last-child{margin-bottom:0}.lead-form-grid input,.lead-form-grid select{height:40px!important;min-height:40px!important;border-radius:9px!important}.lead-dialog-footer{justify-content:flex-end!important;padding:14px 28px 18px!important}.lead-dialog-footer .ghost-button{margin-right:auto!important}@media(max-width:650px){.lead-modal-card{width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important}.lead-dialog-header,.lead-dialog-content,.lead-dialog-footer{padding-left:20px!important;padding-right:20px!important}.lead-dialog-body{max-height:calc(100dvh - 238px)!important}.lead-form-grid{grid-template-columns:1fr!important}}
.lead-modal-card{height:min(680px,calc(100dvh - 32px))!important;max-height:min(680px,calc(100dvh - 32px))!important;display:flex!important;flex-direction:column!important}.lead-dialog-header{flex:0 0 auto!important;border-bottom:0!important;padding-bottom:10px!important}.lead-dialog-content{display:flex!important;min-height:0!important;flex:1!important;flex-direction:column!important;padding:8px 28px 0!important}.lead-dialog-tabs{flex:0 0 auto!important;gap:18px!important;margin:0 0 16px!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}.lead-dialog-tabs button{padding:6px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#94a3b8!important}.lead-dialog-tabs button.active{background:transparent!important;color:#f8fafc!important;box-shadow:none!important}.lead-dialog-tabs button.active:after{display:block!important;bottom:0!important;height:2px!important;background:#3b82f6!important}.lead-dialog-body{min-height:0!important;max-height:none!important;flex:1!important;overflow-y:auto!important;padding:0!important}.lead-dialog-footer{flex:0 0 auto!important;margin:0!important;border-top:0!important;padding-top:12px!important}.lead-dialog-footer .ghost-button{border:0!important;background:transparent!important}.lead-form-grid input,.lead-form-grid select{border-color:#273449!important;border-radius:8px!important}.lead-form-grid input:hover,.lead-form-grid select:hover{border-color:#40516a!important}@media(max-width:650px){.lead-modal-card{height:calc(100dvh - 20px)!important;max-height:calc(100dvh - 20px)!important}.lead-dialog-content{padding-left:20px!important;padding-right:20px!important}}
.lead-dialog-body #leadDetailsPanel,.lead-dialog-body #leadHistoryPanel{min-height:100%}.lead-audit-events{min-height:100%;padding-bottom:24px!important}
.edit-field-options{margin-left:auto;padding:7px 9px;border:1px solid #bfdbfe;border-radius:7px;background:#eff6ff;color:#1d4ed8;font:700 10px 'DM Sans';cursor:pointer}.edit-field-options:hover{background:#dbeafe}
.lead-history-empty>span{margin-right:12px}
.view-heading{align-items:flex-start!important;min-height:36px;margin-bottom:24px!important}.view-heading>div:first-child>h1,.view-heading>div:first-child>.subheading{display:none!important}.view-heading>div:first-child>.eyebrow{margin:8px 0 0!important;color:#64748b!important;font-size:9px!important;letter-spacing:1.5px!important}.view-heading>.heading-actions,.view-heading>.primary-button{align-self:flex-start!important;margin-left:auto}.view-heading .lead-heading-tools{display:none!important}.view-heading .heading-actions{margin-top:0!important}@media(max-width:560px){.view-heading{flex-direction:row!important;align-items:flex-start!important}.view-heading>.heading-actions{gap:7px}.view-heading>.heading-actions .secondary-button,.view-heading>.heading-actions .stages-trigger{padding:9px 10px;font-size:10px}}
.page-title{align-self:center;margin-left:9px;padding-left:13px;border-left:1px solid #dbe3ef;color:#334155;font:600 15px 'DM Sans',Arial,sans-serif;letter-spacing:0}.view-heading>div:first-child>.eyebrow{display:none!important}@media(max-width:560px){.page-title{margin-left:6px;padding-left:8px;font-size:13px}}
.topbar{height:126px}.brand-logo{display:block;width:auto;height:101px;max-width:540px;object-fit:contain;object-position:left center}.auth-brand .brand-logo{height:122px;max-width:612px}@media(max-width:560px){.topbar{height:97px}.brand-logo{height:74px;max-width:387px}.auth-brand .brand-logo{height:94px;max-width:468px}}

/* Paleta azul neutra: aplicada de forma centralizada para manter contraste em todas as telas. */
:root{--yellow:#2563eb;--yellow-soft:#eaf2ff;--strong-yellow:#1d4ed8;--ink:#172033;--muted:#64748b;--line:#dbe3ef;--paper:#fff;--cream:#f6f8fc}
body{background:radial-gradient(circle at 50% -15%,#eef5ff 0,#f7f9fc 39%,#edf2f8 100%)}
.ambient-one{background:#60a5fa}.ambient-two{background:#cbd5e1}.brand-mark,.tiny-mark,.wave{color:#2563eb}.brand small,.workspace-label,.eyebrow{color:#64748b}.eyebrow.green{color:#2563eb}
.profile-avatar{background:#dbeafe;color:#1e3a8a}.online-dot,.status-light{background:#2563eb;box-shadow:0 0 0 4px #2563eb22}.primary-button{background:#2563eb;color:#fff;box-shadow:0 7px 18px #2563eb33}.primary-button:hover,.dock-main:hover{background:#1d4ed8}.secondary-button{border-color:#bfdbfe;background:#eff6ff;color:#1e40af}.text-button{color:#1d4ed8}
.metric-card.accent-card{background:#2563eb;color:#fff}.metric-card.accent-card p,.metric-card.accent-card small{color:#dbeafe}.metric-icon{background:#dbeafe;color:#1d4ed8}.sparkline i{background:#bfdbfe}.metric-line{background:linear-gradient(90deg,#60a5fa,transparent)}.status-badge,.step>span,.upload-icon,.connection-status{color:#1d4ed8}.step:hover{border-color:#93c5fd;background:#f8fbff}.empty-icon{border-color:#93c5fd;color:#2563eb}
.section-number{border-color:#bfdbfe;color:#1d4ed8}input:focus,textarea:focus{border-color:#2563eb;box-shadow:0 0 0 3px #2563eb18}.qr-placeholder,.upload-zone{border-color:#93c5fd;background:#f8fbff}.variables-box{border-color:#bfdbfe;background:#eff6ff}.chips code{background:#dbeafe;color:#1e40af}.add-variant{border-color:#93c5fd;color:#1d4ed8}.status-card{background:#f8fbff}.column-heading button{color:#2563eb}.column-dot.amber,.column-dot.green-dot{background:#2563eb}.team-avatar{background:#dbeafe;color:#1e3a8a}.role-pill{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}
.dock-item:hover,.dock-item.active,.workspace-option:hover,.workspace-option.selected{background:#eff6ff;color:#1d4ed8}.dock-main{background:#2563eb;color:#fff;box-shadow:0 7px 18px #2563eb3d}.modal{background:#0f172a26}.modal-card{border-color:#bfdbfe}.workspace-option b,.workspace-add{color:#1d4ed8}.workspace-option-mark,.workspace-modal-icon,.instance-logo{background:#dbeafe;color:#1d4ed8}.instance-status.connected{background:#eff6ff;color:#1d4ed8}.instance-status.connected i{background:#2563eb}.instance-action{border-color:#bfdbfe;background:#eff6ff;color:#1e40af}.instance-action:hover{background:#dbeafe}.instance-qr{border-color:#93c5fd;background:#f8fbff}.metric-link:hover{box-shadow:0 10px 28px #2563eb22;background:#f8fbff}
.auth-screen{background:radial-gradient(circle at 12% 12%,#dbeafe 0,transparent 28%),radial-gradient(circle at 88% 83%,#e2e8f0 0,transparent 32%),#f6f8fc}.auth-card{border-color:#bfdbfe}.team-member-avatar{background:#dbeafe;color:#1e3a8a}

/* Calendário Jyze: mantém o valor ISO do formulário e oferece uma experiência visual própria. */
.jyze-date-field{position:relative;display:block}.jyze-date-field input{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}.jyze-date-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;height:40px;padding:0 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font:500 14px 'DM Sans',Arial,sans-serif;text-align:left;cursor:pointer;transition:border-color .16s,box-shadow .16s,background .16s}.jyze-date-trigger:hover{border-color:#93c5fd;background:#f8fbff}.jyze-date-trigger:focus-visible{outline:0;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.18)}.jyze-date-trigger svg{width:17px;height:17px;color:#2563eb}.jyze-calendar{position:fixed;z-index:200;display:none;width:320px;overflow:hidden;border:1px solid #bfdbfe;border-radius:16px;background:#fff;box-shadow:0 24px 56px rgba(15,23,42,.22);color:#172033}.jyze-calendar.open{display:block;animation:jyze-calendar-in .16s ease-out}@keyframes jyze-calendar-in{from{opacity:0;transform:translateY(-5px) scale(.98)}to{opacity:1;transform:none}}.jyze-calendar-brand{display:flex;align-items:center;gap:9px;padding:13px 15px 11px;border-bottom:1px solid #e8eef8;background:linear-gradient(115deg,#f7fbff,#edf5ff)}.jyze-calendar-brand img{width:50px;height:24px;object-fit:contain;object-position:left center}.jyze-calendar-brand span{padding-left:9px;border-left:1px solid #cfe0fa;color:#47709d;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.jyze-calendar-main{padding:12px 14px 10px}.jyze-calendar-navigation{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.jyze-calendar-navigation strong{color:#16243a;font-size:13px;text-transform:capitalize}.jyze-calendar-navigation div{display:flex;gap:4px}.jyze-calendar-navigation button{display:grid;place-items:center;width:29px;height:29px;border:1px solid #dbe7f6;border-radius:8px;background:#fff;color:#315c8c;font-size:19px;line-height:1;cursor:pointer}.jyze-calendar-navigation button:hover{border-color:#93c5fd;background:#eff6ff}.jyze-calendar-week,.jyze-calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px;text-align:center}.jyze-calendar-week{margin-bottom:5px;color:#7890ab;font-size:10px;font-weight:700}.jyze-calendar-day{display:grid;place-items:center;width:100%;aspect-ratio:1;border:0;border-radius:9px;background:transparent;color:#25354b;font:500 12px 'DM Sans',Arial,sans-serif;cursor:pointer}.jyze-calendar-day:hover{background:#eaf3ff;color:#1d4ed8}.jyze-calendar-day.muted{color:#a8b4c2}.jyze-calendar-day.today{box-shadow:inset 0 0 0 1px #93c5fd;color:#1d4ed8;font-weight:700}.jyze-calendar-day.selected{background:#2563eb!important;box-shadow:0 4px 9px rgba(37,99,235,.28);color:#fff!important;font-weight:700}.jyze-calendar-footer{display:flex;justify-content:space-between;padding:10px 14px;border-top:1px solid #e8eef8;background:#fbfdff}.jyze-calendar-footer button{border:0;background:transparent;color:#2563eb;font:700 11px 'DM Sans',Arial,sans-serif;cursor:pointer}.jyze-calendar-footer button:hover{text-decoration:underline}@media(max-width:480px){.jyze-calendar{width:calc(100vw - 24px)}}

/* Seletor de horário Jyze. */
.jyze-time-field{position:relative;display:block}.jyze-time-field input{position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}.jyze-time-trigger{display:flex;align-items:center;justify-content:space-between;width:100%;height:40px;padding:0 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#0f172a;font:500 14px 'DM Sans',Arial,sans-serif;text-align:left;cursor:pointer;transition:border-color .16s,box-shadow .16s,background .16s}.jyze-time-trigger:hover{border-color:#93c5fd;background:#f8fbff}.jyze-time-trigger:focus-visible{outline:0;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.18)}.jyze-time-trigger svg{width:17px;height:17px;color:#2563eb}.jyze-time-picker{position:fixed;z-index:201;display:none;width:238px;overflow:hidden;border:1px solid #bfdbfe;border-radius:16px;background:#fff;box-shadow:0 24px 56px rgba(15,23,42,.22)}.jyze-time-picker.open{display:block;animation:jyze-calendar-in .16s ease-out}.jyze-time-head{display:flex;align-items:center;gap:9px;padding:12px 14px;border-bottom:1px solid #e8eef8;background:linear-gradient(115deg,#f7fbff,#edf5ff)}.jyze-time-head img{width:46px;height:22px;object-fit:contain;object-position:left}.jyze-time-head span{padding-left:9px;border-left:1px solid #cfe0fa;color:#47709d;font-size:10px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}.jyze-time-columns{display:grid;grid-template-columns:1fr 1fr}.jyze-time-column+.jyze-time-column{border-left:1px solid #e8eef8}.jyze-time-column b{display:block;padding:9px 12px 5px;color:#7890ab;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.jyze-time-options{display:grid;max-height:218px;padding:3px 7px 8px;overflow-y:auto;scrollbar-width:thin}.jyze-time-option{padding:8px;border:0;border-radius:8px;background:transparent;color:#25354b;font:500 12px 'DM Sans',Arial,sans-serif;text-align:center;cursor:pointer}.jyze-time-option:hover{background:#eaf3ff;color:#1d4ed8}.jyze-time-option.selected{background:#2563eb;color:#fff;font-weight:700;box-shadow:0 3px 7px rgba(37,99,235,.22)}
.home-nav-only{min-height:calc(100vh - 262px)}
.settings-grid-single{grid-template-columns:minmax(0,800px)}

/* Colaboradores */
.collaborators-table-wrap{max-width:1120px;margin-inline:auto;padding:0;overflow:hidden}.collaborators-table{width:100%;border-collapse:collapse;text-align:left}.collaborators-table th{padding:15px 24px;border-bottom:1px solid var(--line);color:#64748b;font-size:10px;font-weight:700;letter-spacing:1.1px;text-transform:uppercase}.collaborators-table td{height:86px;padding:16px 24px;border-bottom:1px solid #edf1f7;vertical-align:middle}.collaborators-table tbody tr:last-child td{border-bottom:0}.collaborators-table tbody tr:hover{background:#f8fbff}.collaborator-name{display:flex;align-items:center;gap:12px}.collaborator-name>span{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#dbeafe;color:#1e40af;font-size:11px;font-weight:700}.collaborator-name b,.collaborator-name small{display:block}.collaborator-name b{font:600 14px "Space Grotesk"}.collaborator-name small{margin-top:3px;color:#64748b;font-size:11px}.collaborators-empty{text-align:center;padding:45px 20px;color:var(--muted)}.collaborators-empty b{display:block;color:var(--ink);font-size:13px;margin-bottom:7px}.collaborators-empty p{max-width:280px;margin:0 auto;line-height:1.6;font-size:12px}.collaborators-load-error{margin:20px 0;color:#b55d5d;font-size:12px;text-align:center}.table-invite{padding:8px 10px;border:1px solid #bfdbfe;border-radius:8px;background:#eff6ff;color:#1d4ed8;font:700 10px "DM Sans";cursor:pointer}.table-invite:hover{background:#dbeafe}@media(max-width:700px){.collaborators-table th,.collaborators-table td{padding-left:14px;padding-right:14px}.collaborators-table td{height:82px}.collaborators-table-wrap{overflow-x:auto}}
.lead-kanban{display:flex;align-items:stretch;gap:14px;min-height:calc(100vh - 300px);overflow-x:auto;padding:2px 2px 18px}.lead-kanban-column{display:flex;flex:0 0 272px;flex-direction:column;min-height:520px;padding:0;border-color:#dbe3ef;border-radius:16px;background:#fff;box-shadow:0 14px 34px -22px #2563eb59;transition:box-shadow .2s,background .2s}.lead-kanban-column.is-drop-target{background:#f0f7ff;box-shadow:0 0 0 2px #60a5fa,0 18px 38px -22px #2563eb75}.lead-kanban-column .column-heading{width:100%;padding:14px 14px 12px}.column-title{display:flex;align-items:center;gap:8px;min-width:0}.column-title b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.column-title em{display:grid;place-items:center;min-width:20px;height:20px;border-radius:6px;background:#eef2f7;color:#64748b;font-size:10px}.column-more{margin-left:auto;color:#94a3b8;font-size:12px;letter-spacing:1px}.lead-kanban-column .lead-cards{flex:1;align-content:start;min-height:410px;padding:10px}.lead-card{gap:6px;padding:13px;border-color:#e2e8f0;border-radius:11px;box-shadow:0 3px 10px #0f172a08;cursor:grab;transition:transform .18s,box-shadow .18s,border-color .18s}.lead-card:active{cursor:grabbing}.lead-card:hover{border-color:#93c5fd;box-shadow:0 8px 18px #2563eb14;transform:translateY(-1px)}.lead-card.is-dragging{opacity:.35;transform:rotate(1deg);box-shadow:none}.lead-card-top{display:flex;align-items:start;gap:8px}.lead-card-top b{flex:1;font:600 13px 'DM Sans'}.lead-card-top span{color:#94a3b8;font-size:14px;line-height:13px}.lead-card small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px}.lead-kanban-column .kanban-empty{display:grid;place-items:center;min-height:220px;padding:15px;border:1px dashed #cbd5e1;border-radius:11px;background:#f8fafc;color:#94a3b8;line-height:1.5}@media(max-width:700px){.lead-kanban{min-height:calc(100vh - 245px)}.lead-kanban-column{flex-basis:245px;min-height:460px}}
.lead-heading-tools{display:flex;align-items:center;gap:14px}.lead-sort{display:flex;align-items:center;gap:7px;margin:0}.lead-sort>span{margin:0;color:#64748b;font-size:10px;font-weight:700}.lead-sort select{width:auto;padding:7px 25px 7px 9px;border-color:#dbe3ef;border-radius:8px;background:#fff;color:#334155;font-size:11px;font-weight:600;cursor:pointer}@media(max-width:560px){.lead-heading-tools{align-items:start;flex-direction:column;gap:10px}.lead-sort{width:100%}.lead-sort select{flex:1}}
.study-filter-pills{display:flex;align-items:center;gap:2px;padding:4px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;box-shadow:0 1px 2px #0f172a0d}.study-filter-pills button{padding:7px 11px;border:0;border-radius:999px;background:transparent;color:#64748b;font:700 10px 'DM Sans';cursor:pointer;transition:.18s}.study-filter-pills button:hover{background:#f1f5f9;color:#334155}.study-filter-pills button.active{background:#2563eb;color:#fff;box-shadow:0 1px 3px #1d4ed844}@media(max-width:560px){.lead-heading-tools{align-items:start;flex-direction:column;gap:10px}.study-filter-pills{width:100%}.study-filter-pills button{flex:1}}

/* Filtros da lista de leads. */
.leads-filters{display:flex;align-items:center;gap:10px;margin:-8px 0 18px}.lead-name-filter{position:relative;flex:1;max-width:420px;margin:0}.lead-filter-icon{position:absolute;z-index:1;top:50%;left:12px;color:#94a3b8;font-size:18px;line-height:1;transform:translateY(-52%)}.lead-name-filter input{height:40px!important;padding:9px 12px 9px 34px!important;border:1px solid #e2e8f0!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;font-size:13px!important}.lead-name-filter input:focus{border-color:#3b82f6!important;box-shadow:0 0 0 2px rgba(59,130,246,.2)!important}.lead-status-filter{display:flex;align-items:center;gap:8px;margin:0}.lead-status-filter>span{margin:0;color:#64748b;font-size:11px;font-weight:700}.lead-status-filter select{width:190px;height:40px;padding:8px 29px 8px 11px;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#334155;font:600 12px 'DM Sans';cursor:pointer}.lead-status-filter select:focus{border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.2);outline:0}@media(max-width:560px){.leads-filters{align-items:stretch;flex-direction:column;margin-top:0}.lead-name-filter{max-width:none}.lead-status-filter{display:grid;grid-template-columns:auto minmax(0,1fr)}.lead-status-filter select{width:100%}}

#deleteLeadButton{margin-right:auto}

/* Base visual inspirada no Jyze Study: superfícies claras, contornos discretos e controles arredondados. */
body{background:#f8fafc}.topbar{border-color:#e2e8f0}.panel,.metric-card,.status-card{border-color:#e2e8f0;box-shadow:0 1px 2px #0f172a0a}.workspace-pill,.dock{border-color:#e2e8f0}.dock{box-shadow:0 12px 30px #0f172a18}.view-toggle{border-color:#e2e8f0;box-shadow:0 1px 2px #0f172a0a}.view-toggle button.active{background:#dbeafe;color:#1d4ed8}.primary-button{border-radius:10px}.secondary-button{border-radius:10px}
.stages-trigger{display:inline-flex;align-items:center;gap:6px;padding:9px 11px;border:1px solid #dbe3ef;border-radius:9px;background:#fff;color:#475569;font:700 11px 'DM Sans';cursor:pointer;box-shadow:0 1px 2px #0f172a0a}.stages-trigger:hover{border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.stages-modal-card{width:min(510px,calc(100vw - 36px))}.stages-modal-heading{display:flex;align-items:start;justify-content:space-between;gap:14px;margin-bottom:17px}.stages-modal-heading h2{margin-bottom:5px}.stages-modal-heading .modal-copy{margin:0}.stage-manager-list{display:grid;gap:8px}.stage-manager-row{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;box-shadow:0 1px 2px #0f172a08}.stage-manager-row>div{display:grid;gap:3px;min-width:0;flex:1}.stage-manager-row b{font-size:12px}.stage-manager-row small{color:#64748b;font-size:10px}.stage-manager-row .stage-swatch{width:34px;height:34px;min-width:34px;border-radius:10px}.stage-manager-count{display:grid;place-items:center;min-width:26px;height:26px;border-radius:8px;background:#eff6ff;color:#1d4ed8;font-size:11px;font-weight:700}@media(max-width:560px){.stages-modal-heading{align-items:stretch;flex-direction:column}.stages-modal-heading .secondary-button{width:100%}.stages-trigger{padding:9px}.heading-actions{gap:7px}}

/* Formulários claros — linguagem visual do Jyze Study.  Este bloco fica ao final
   para substituir com segurança a antiga variação escura do cadastro de lead. */
.modal{background:rgba(15,23,42,.38)!important;backdrop-filter:blur(8px)!important}
.modal-card{border:1px solid #e2e8f0!important;border-radius:20px!important;background:#fff!important;color:#0f172a!important;box-shadow:0 24px 70px rgba(15,23,42,.22)!important}
.modal-card h2{color:#0f172a!important}.modal-card .modal-copy{color:#64748b!important}.modal-close,.lead-close{color:#64748b!important}.modal-close:hover,.lead-close:hover{background:#f1f5f9!important;color:#0f172a!important}
.modal-card label>span,.lead-form-grid label>span{margin-bottom:7px!important;color:#475569!important;font-size:12px!important;font-weight:600!important}
.modal-card input:not([type="color"]),.modal-card select,.modal-card textarea,.lead-form-grid input,.lead-form-grid select{border:1px solid #dbe3ef!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;font-size:13px!important;box-shadow:0 1px 2px rgba(15,23,42,.03)!important}
.modal-card input:not([type="color"]),.modal-card select,.lead-form-grid input,.lead-form-grid select{height:42px!important;min-height:42px!important;padding:10px 12px!important}
.modal-card input::placeholder,.modal-card textarea::placeholder{color:#94a3b8!important}.modal-card input:focus,.modal-card select:focus,.modal-card textarea:focus,.lead-form-grid input:focus,.lead-form-grid select:focus{border-color:#3b82f6!important;box-shadow:0 0 0 3px rgba(59,130,246,.16)!important;outline:0!important}
.modal-card select{color-scheme:light!important}.modal-card .primary-button{border-radius:10px!important;background:#2563eb!important;color:#fff!important;box-shadow:0 8px 18px rgba(37,99,235,.24)!important}.modal-card .primary-button:hover{background:#1d4ed8!important}

/* Cadastro de lead */
.lead-modal-card{width:min(760px,calc(100vw - 32px))!important;height:min(690px,calc(100dvh - 32px))!important;max-height:min(690px,calc(100dvh - 32px))!important;background:#fff!important}
.lead-dialog-header{border-bottom:1px solid #e2e8f0!important;background:#fff!important;padding:24px 30px 17px!important}.lead-dialog-header h2{color:#0f172a!important}.lead-dialog-header .modal-copy{color:#64748b!important}.lead-saved-badge{border-color:#bfdbfe!important;background:#eff6ff!important;color:#1d4ed8!important}.lead-saved-badge.saved{border-color:#a7f3d0!important;background:#ecfdf5!important;color:#047857!important}
.lead-dialog-content{background:#fff!important;padding:14px 30px 0!important}.lead-dialog-tabs{gap:3px!important;margin:0 0 15px!important;padding:4px!important;border:1px solid #e2e8f0!important;border-radius:10px!important;background:#f8fafc!important}.lead-dialog-tabs button{padding:8px 12px!important;border-radius:7px!important;background:transparent!important;color:#64748b!important;font-size:12px!important}.lead-dialog-tabs button.active{background:#fff!important;color:#1d4ed8!important;box-shadow:0 1px 3px rgba(15,23,42,.12)!important}.lead-dialog-tabs button.active:after{display:none!important}
.lead-dialog-body{background:#fff!important}.lead-form-sections{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}.lead-form-card{display:block!important;min-width:0!important;padding:15px!important;border:1px solid #e2e8f0!important;border-radius:14px!important;background:#f8fafc!important}.lead-form-card:first-child{grid-column:1 / -1}.lead-form-card h3{display:block!important;margin:0 0 13px!important;color:#334155!important;font-size:11px!important;font-weight:700!important;letter-spacing:.65px!important;text-transform:uppercase!important}.lead-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:13px 14px!important;margin:0!important}.lead-form-grid label{margin:0!important}.lead-form-grid input,.lead-form-grid select{border-color:#dbe3ef!important;background:#fff!important;color:#0f172a!important}.lead-form-grid input:hover,.lead-form-grid select:hover{border-color:#94a3b8!important}
.lead-dialog-footer{border-top:1px solid #e2e8f0!important;background:#fff!important;padding:15px 30px 20px!important}.lead-dialog-footer .ghost-button{border:1px solid #dbe3ef!important;border-radius:10px!important;background:#fff!important;color:#475569!important}.lead-dialog-footer .ghost-button:hover{background:#f8fafc!important}.lead-audit-events{background:#fff!important}.lead-history-item{border-color:#e2e8f0!important}.lead-history-item>span{background:#eff6ff!important;color:#1d4ed8!important}.lead-history-item b{color:#0f172a!important}.lead-history-item p{color:#64748b!important}

/* A cor deixa de parecer um campo vazio: fica uma amostra ampla e acessível. */
#stageColor{height:42px!important;padding:5px!important;border:1px solid #dbe3ef!important;border-radius:10px!important;background:#fff!important;cursor:pointer!important}#stageColor::-webkit-color-swatch-wrapper{padding:0}#stageColor::-webkit-color-swatch{border:0;border-radius:6px}
@media(max-width:650px){.lead-modal-card{width:calc(100vw - 20px)!important;height:calc(100dvh - 20px)!important;max-height:calc(100dvh - 20px)!important}.lead-dialog-header,.lead-dialog-content,.lead-dialog-footer{padding-left:20px!important;padding-right:20px!important}.lead-form-sections,.lead-form-grid{grid-template-columns:1fr!important}.lead-form-card:first-child{grid-column:auto!important}}

/* Ajuste fiel aos formulários do Jyze Study: um formulário único, sem cartões
   internos. Os campos não ficam em "caixas" — só controles leves na superfície. */
html{scroll-behavior:smooth}
.modal-card,.lead-dialog-body,.lead-dialog-content,.stage-manager-list{scroll-behavior:smooth;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent}
.modal-card::-webkit-scrollbar,.lead-dialog-body::-webkit-scrollbar,.lead-dialog-content::-webkit-scrollbar,.stage-manager-list::-webkit-scrollbar{width:10px;height:10px}
.modal-card::-webkit-scrollbar-thumb,.lead-dialog-body::-webkit-scrollbar-thumb,.lead-dialog-content::-webkit-scrollbar-thumb,.stage-manager-list::-webkit-scrollbar-thumb{border:3px solid transparent;border-radius:999px;background:#cbd5e1;background-clip:padding-box}
.modal-card::-webkit-scrollbar-thumb:hover,.lead-dialog-body::-webkit-scrollbar-thumb:hover,.lead-dialog-content::-webkit-scrollbar-thumb:hover,.stage-manager-list::-webkit-scrollbar-thumb:hover{background:#94a3b8;background-clip:padding-box}

.lead-modal-card{width:min(840px,calc(100vw - 32px))!important;height:min(720px,calc(100dvh - 32px))!important;max-height:min(720px,calc(100dvh - 32px))!important;border-radius:16px!important;box-shadow:0 20px 45px rgba(15,23,42,.18)!important}
.lead-dialog-header{padding:18px 24px 15px!important;border-bottom:1px solid #f1f5f9!important}.lead-dialog-header h2{font-size:18px!important;font-weight:700!important;letter-spacing:-.2px!important}.lead-dialog-header .modal-copy{margin:3px 0 0!important;font-size:14px!important}.lead-close{right:16px!important;top:11px!important;border-radius:8px!important;padding:5px!important;font-size:21px!important}
.lead-dialog-content{padding:0!important}.lead-dialog-tabs{gap:18px!important;margin:0!important;padding:0 24px!important;border:0!important;border-bottom:1px solid #f1f5f9!important;border-radius:0!important;background:#fff!important}.lead-dialog-tabs button{position:relative!important;padding:12px 0 11px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#64748b!important;font-size:13px!important;font-weight:600!important}.lead-dialog-tabs button.active{background:transparent!important;color:#0f172a!important;box-shadow:none!important}.lead-dialog-tabs button.active:after{position:absolute!important;right:0!important;bottom:-1px!important;left:0!important;display:block!important;height:2px!important;background:#2563eb!important;content:''!important}
.lead-dialog-body{padding:18px 24px 0!important}.lead-form-sections{display:contents!important}.lead-form-card{display:contents!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}.lead-form-card:first-child{grid-column:auto!important}.lead-form-card h3{display:none!important}.lead-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 16px!important;margin:0 0 18px!important}.lead-form-grid:last-child{margin-bottom:0!important}.lead-form-grid label{margin:0!important}.lead-form-grid label>span{margin-bottom:6px!important;color:#334155!important;font-size:14px!important;font-weight:500!important}.lead-form-grid input,.lead-form-grid select{height:40px!important;min-height:40px!important;padding:8px 12px!important;border:1px solid #e2e8f0!important;border-radius:8px!important;background:#fff!important;color:#0f172a!important;font-size:14px!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;transition:border-color .15s ease,box-shadow .15s ease!important}.lead-form-grid input:hover,.lead-form-grid select:hover{border-color:#cbd5e1!important}.lead-form-grid input:focus,.lead-form-grid select:focus{border-color:#3b82f6!important;box-shadow:0 0 0 2px rgba(59,130,246,.24)!important}
.lead-dialog-body{padding:18px 24px 0!important}.lead-form-sections{display:contents!important}.lead-form-card{display:contents!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}.lead-form-card:first-child{grid-column:auto!important}.lead-form-card h3{display:none!important}.lead-form-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px 16px!important;margin:0 0 18px!important}.lead-form-grid:last-child{margin-bottom:0!important}#leadContactFields,#leadQualificationFields{margin-top:18px!important}.lead-form-grid label{margin:0!important}.lead-form-grid label>span{margin-bottom:6px!important;color:#334155!important;font-size:14px!important;font-weight:500!important}.lead-form-grid input,.lead-form-grid select{height:40px!important;min-height:40px!important;padding:8px 12px!important;border:1px solid #e2e8f0!important;border-radius:8px!important;background:#fff!important;color:#0f172a!important;font-size:14px!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;transition:border-color .15s ease,box-shadow .15s ease!important}.lead-form-grid input:hover,.lead-form-grid select:hover{border-color:#cbd5e1!important}.lead-form-grid input:focus,.lead-form-grid select:focus{border-color:#3b82f6!important;box-shadow:0 0 0 2px rgba(59,130,246,.24)!important}
.lead-dialog-footer{margin:0!important;padding:14px 24px!important;border-top:1px solid #f1f5f9!important}.lead-dialog-footer .ghost-button{padding:9px 14px!important;border:0!important;border-radius:8px!important;background:transparent!important;color:#475569!important;font-size:14px!important}.lead-dialog-footer .ghost-button:hover{background:#f1f5f9!important}.lead-dialog-footer .primary-button{padding:9px 16px!important;border-radius:8px!important;background:#0f172a!important;box-shadow:none!important;color:#fff!important;font-size:14px!important}.lead-dialog-footer .primary-button:hover{background:#334155!important}

/* Os demais popups seguem a mesma escala de campo do Study. */
.modal:not(.lead-modal) .modal-card{border-radius:16px!important;box-shadow:0 20px 45px rgba(15,23,42,.18)!important}.modal:not(.lead-modal) .modal-card label>span{color:#334155!important;font-size:14px!important;font-weight:500!important}.modal:not(.lead-modal) .modal-card input:not([type="color"]),.modal:not(.lead-modal) .modal-card select{height:40px!important;border-color:#e2e8f0!important;border-radius:8px!important;font-size:14px!important}.modal:not(.lead-modal) .modal-card .primary-button{border-radius:8px!important;background:#0f172a!important;box-shadow:none!important}.modal:not(.lead-modal) .modal-card .primary-button:hover{background:#334155!important}
@media(max-width:650px){.lead-modal-card{width:calc(100vw - 20px)!important;height:calc(100dvh - 20px)!important;max-height:calc(100dvh - 20px)!important}.lead-dialog-header,.lead-dialog-body,.lead-dialog-footer{padding-right:20px!important;padding-left:20px!important}.lead-dialog-tabs{padding-right:20px!important;padding-left:20px!important}.lead-form-grid{grid-template-columns:1fr!important}.lead-form-grid label>span{font-size:13px!important}}
.lead-form-grid .lead-observations-field{grid-column:1 / -1!important}.lead-form-grid .lead-observations-field textarea{display:block!important;width:100%!important;min-height:176px!important;resize:vertical!important;padding:12px!important;border:1px solid #e2e8f0!important;border-radius:8px!important;background:#fff!important;color:#0f172a!important;font:14px/1.5 'DM Sans',Arial,sans-serif!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important}.lead-form-grid .lead-observations-field textarea:hover{border-color:#cbd5e1!important}.lead-form-grid .lead-observations-field textarea:focus{border-color:#3b82f6!important;box-shadow:0 0 0 2px rgba(59,130,246,.24)!important;outline:0!important}

/* Follow-ups */
.notification-control{position:relative}.notification-button{position:relative}.notification-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9}.notification-count{position:absolute;top:-3px;right:-5px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#2563eb;color:#fff;font:700 9px 'DM Sans'}.notification-panel{position:absolute;z-index:30;top:calc(100% + 12px);right:-10px;width:350px;max-height:430px;overflow:auto;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 18px 45px rgba(15,23,42,.18)}.notification-panel-heading{display:flex;justify-content:space-between;align-items:center;padding:14px 15px;border-bottom:1px solid #f1f5f9;color:#0f172a;font-size:13px}.notification-panel-heading span{color:#2563eb;font-size:10px;font-weight:700}.notification-item{display:flex;gap:10px;width:100%;padding:13px 15px;border:0;border-bottom:1px solid #f1f5f9;background:#fff;color:#334155;text-align:left;cursor:pointer}.notification-item:hover,.notification-item.unread{background:#f8fbff}.notification-item-icon{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#eff6ff;color:#2563eb;font-size:14px}.notification-item-copy{display:grid;gap:3px;min-width:0}.notification-item b{font-size:12px}.notification-item small{overflow:hidden;color:#64748b;font-size:11px;line-height:1.35;text-overflow:ellipsis}.notification-lead-button{justify-self:start;margin-top:5px;padding:5px 8px;border:1px solid #bfdbfe;border-radius:7px;background:#fff;color:#1d4ed8;font:700 10px 'DM Sans';cursor:pointer}.notification-lead-button:hover{border-color:#60a5fa;background:#eff6ff}.notification-empty{padding:26px 15px;margin:0;color:#94a3b8;font-size:12px;text-align:center}
.follow-ups-content{display:grid;gap:18px;max-width:920px}.follow-up-section{overflow:hidden;border:1px solid #e2e8f0;border-radius:15px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04)}.follow-up-section.overdue{border-color:#fecaca}.follow-up-section-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:17px 18px 14px;border-bottom:1px solid #f1f5f9}.follow-up-section-heading h2{margin:0 0 4px;color:#0f172a;font-size:16px}.follow-up-section-heading p{margin:0;color:#64748b;font-size:12px}.follow-up-section-heading>span{display:grid;place-items:center;min-width:26px;height:26px;border-radius:8px;background:#f1f5f9;color:#475569;font-size:11px;font-weight:700}.overdue .follow-up-section-heading>span{background:#fef2f2;color:#b91c1c}.follow-up-list{display:grid}.follow-up-item{display:grid;grid-template-columns:60px minmax(0,1fr) auto auto;align-items:center;gap:14px;width:100%;padding:13px 18px;border:0;border-bottom:1px solid #f1f5f9;background:#fff;color:#334155;text-align:left;cursor:pointer;transition:background .15s}.follow-up-item:last-child{border-bottom:0}.follow-up-item:hover{background:#f8fbff}.follow-up-item.done{opacity:.72}.follow-up-date{display:grid;gap:2px;padding-right:12px;border-right:1px solid #e2e8f0;text-align:center}.follow-up-date b{color:#0f172a;font-size:12px}.follow-up-date small{color:#64748b;font-size:10px;text-transform:capitalize}.follow-up-main{display:grid;gap:4px;min-width:0}.follow-up-main>b{overflow:hidden;color:#0f172a;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.follow-up-main small{overflow:hidden;color:#64748b;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.follow-up-stage{display:inline-flex;align-items:center;gap:6px;color:#475569;font-size:11px;white-space:nowrap}.follow-up-stage:before{width:7px;height:7px;border-radius:50%;background:var(--stage-color);content:''}.follow-up-state{color:#64748b;font-size:11px;font-weight:700;white-space:nowrap}.follow-up-empty{padding:22px 18px;margin:0;color:#94a3b8;font-size:12px}.follow-up-error{color:#b91c1c;font-size:12px}
.follow-up-modal-card,.follow-up-detail-modal{width:min(520px,calc(100vw - 36px))!important}.follow-up-date-grid,.lead-follow-up-date-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.follow-up-detail-head h2{margin-bottom:5px!important}.follow-up-detail-head>p{margin:0 0 8px;color:#64748b;font-size:13px}.follow-up-when{margin-top:14px!important;color:#475569!important;font-size:12px!important}.follow-up-context,.follow-up-history{margin-top:18px;padding-top:16px;border-top:1px solid #e2e8f0}.follow-up-context b,.follow-up-history h3{display:block;margin:0 0 7px;color:#334155;font-size:12px}.follow-up-context p{margin:0;color:#64748b;font-size:13px;line-height:1.55;white-space:pre-wrap}.follow-up-context.done{border-color:#bbf7d0}.complete-follow-up-form{margin-top:18px;padding:16px;border:1px solid #bfdbfe;border-radius:12px;background:#f8fbff}.complete-follow-up-form label{margin-bottom:9px}.complete-follow-up-form textarea,.lead-follow-up-form textarea{resize:vertical}.follow-up-locked{margin-top:18px;padding:13px;border:1px solid #e2e8f0;border-radius:10px;background:#f8fafc;color:#64748b;font-size:12px;line-height:1.5}.follow-up-history article{padding:12px 0;border-top:1px solid #f1f5f9}.follow-up-history article:first-of-type{border-top:0}.follow-up-history article b,.follow-up-history article small{display:block}.follow-up-history article b{color:#334155;font-size:12px}.follow-up-history article small{margin-top:3px;color:#94a3b8;font-size:10px}.follow-up-history article p,.follow-up-history>p{margin:6px 0 0;color:#64748b;font-size:12px;line-height:1.45;white-space:pre-wrap}
.lead-follow-up-heading{margin-bottom:14px}.lead-follow-up-heading b{color:#0f172a;font-size:14px}.lead-follow-up-heading p{margin:4px 0 0;color:#64748b;font-size:12px}.lead-follow-up-form{padding:14px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.lead-follow-up-form label{margin-bottom:12px}.lead-follow-up-form .secondary-button{padding:9px 12px;border-radius:8px;font-size:12px}.lead-follow-ups-list{display:grid;gap:8px;margin-top:15px}.lead-follow-up-item{display:flex;align-items:start;justify-content:space-between;gap:12px;padding:12px;border:1px solid #e2e8f0;border-radius:10px;background:#fff}.lead-follow-up-item.done{border-color:#bbf7d0;background:#f0fdf4}.lead-follow-up-item>div{display:grid;gap:4px}.lead-follow-up-item b{color:#0f172a;font-size:12px}.lead-follow-up-item small,.lead-follow-up-item p{margin:0;color:#64748b;font-size:11px}.lead-follow-up-item p{line-height:1.45}.lead-follow-up-item>span{color:#2563eb;font-size:15px}.lead-follow-up-item.done>span{color:#059669}
.lead-follow-up-heading{display:flex;align-items:start;justify-content:space-between;gap:14px}.lead-follow-up-form{display:none!important}.lead-follow-ups-list{margin-top:0}.lead-follow-up-item{width:100%;font-family:'DM Sans',sans-serif;text-align:left;cursor:pointer;transition:border-color .15s,background .15s}.lead-follow-up-item:hover{border-color:#93c5fd;background:#f8fbff}.lead-follow-up-item.done:hover{background:#f0fdf4}.lead-follow-up-editor-modal{z-index:80}.lead-follow-up-editor-card{width:min(500px,calc(100vw - 36px))!important}.lead-follow-up-editor-card h2{margin-bottom:5px!important}.lead-follow-up-editor-card .modal-copy{margin:0 0 18px!important}.lead-follow-up-editor-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px}.lead-follow-up-editor-actions .primary-button{margin-left:auto}.danger-button{padding:9px 13px;border:1px solid #fecaca;border-radius:8px;background:#fff;color:#b91c1c;font:700 12px 'DM Sans';cursor:pointer}.danger-button:hover{background:#fef2f2}
@media(max-width:700px){.notification-panel{position:fixed;top:66px;right:12px;left:12px;width:auto;max-height:calc(100dvh - 90px)}.follow-up-item{grid-template-columns:52px minmax(0,1fr) auto;gap:10px;padding:12px}.follow-up-stage{display:none}.follow-up-state{font-size:10px}.follow-up-date{padding-right:8px}.follow-up-modal-card,.follow-up-detail-modal{width:calc(100vw - 20px)!important}.follow-up-date-grid,.lead-follow-up-date-grid{grid-template-columns:1fr}.dock-item{min-width:44px}.dock-item small{font-size:8px}}

/* Lista contínua: separadores pequenos como no histórico de conversas e linhas de registro. */
.follow-ups-content{max-width:980px!important;gap:0!important}.follow-up-stream{overflow:hidden;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04)}.follow-up-section{overflow:visible!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.follow-up-section+.follow-up-section{border-top:1px solid #e2e8f0!important}.follow-up-section-heading{align-items:center!important;padding:10px 15px!important;border-bottom:1px solid #f1f5f9!important;background:#f8fafc}.follow-up-section-heading h2{margin:0!important;color:#475569!important;font-size:11px!important;font-weight:700!important;letter-spacing:.75px;text-transform:uppercase}.follow-up-section-heading p{display:none}.follow-up-section-heading>span{min-width:22px!important;height:22px!important;border-radius:999px!important;background:#e2e8f0!important;color:#64748b!important;font-size:10px!important}.follow-up-section.overdue .follow-up-section-heading{background:#fff8f8}.follow-up-section.overdue .follow-up-section-heading h2{color:#b91c1c!important}.follow-up-section.overdue .follow-up-section-heading>span{background:#fee2e2!important;color:#b91c1c!important}.follow-up-item{grid-template-columns:72px minmax(0,1fr) minmax(126px,auto) 70px!important;gap:16px!important;min-height:66px;padding:11px 15px!important}.follow-up-item:hover{background:#f8fafc!important}.follow-up-date{grid-template-columns:1fr auto;gap:6px;align-items:center;padding:0 12px 0 0!important;text-align:left}.follow-up-date b{font-size:12px!important}.follow-up-date small{font-size:10px!important}.follow-up-main{gap:3px!important}.follow-up-main>b{font-size:13px!important}.follow-up-main small{font-size:11px!important}.follow-up-stage{font-size:10px!important}.follow-up-state{justify-self:end;font-size:10px!important}.follow-up-zero-state{display:grid;justify-items:center;gap:7px;max-width:560px;padding:58px 24px;border:1px dashed #cbd5e1;border-radius:14px;background:#fff;color:#64748b;text-align:center}.follow-up-zero-state span{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#eff6ff;color:#2563eb;font-size:20px}.follow-up-zero-state b{color:#334155;font-size:13px}.follow-up-zero-state p{max-width:330px;margin:0;font-size:12px;line-height:1.5}@media(max-width:700px){.follow-up-item{grid-template-columns:58px minmax(0,1fr) auto!important;gap:10px!important}.follow-up-date{display:grid!important;grid-template-columns:1fr!important;gap:1px}.follow-up-stage{display:none!important}.follow-up-section-heading{padding-right:12px!important;padding-left:12px!important}.follow-up-zero-state{margin:0 4px}}

/* Popup usado pelo último item de cada seletor para criar uma opção nova. */
.selection-option-modal{width:min(430px,calc(100vw - 36px))!important;padding:28px!important}.selection-option-icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:17px;border-radius:13px;background:#eff6ff;color:#2563eb;font-size:23px;font-weight:400}.selection-option-modal h2{margin-bottom:5px!important}.selection-option-modal .modal-copy{margin-bottom:21px!important;line-height:1.45}.selection-option-modal .primary-button{margin-top:4px!important}

/* Barra e lista de follow-ups em largura total. */
.follow-ups-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-12px 0 18px}.follow-up-search{position:relative;flex:1;max-width:440px;margin:0}.follow-up-search>span{position:absolute;z-index:1;top:50%;left:12px;color:#94a3b8;font-size:17px;transform:translateY(-50%)}.follow-up-search input{height:40px!important;padding-left:34px!important;border-color:#e2e8f0!important;border-radius:10px!important;background:#fff!important;color:#0f172a!important;font-size:13px!important}.follow-up-search input:focus{border-color:#3b82f6!important;box-shadow:0 0 0 2px rgba(59,130,246,.2)!important}.follow-ups-content{width:100%!important;max-width:none!important}.follow-up-stream{width:100%!important}.follow-up-empty{padding:14px 15px!important;color:#94a3b8!important;font-size:11px!important}.follow-up-section-heading{min-height:42px}@media(max-width:700px){.follow-ups-toolbar{align-items:stretch;flex-direction:column;margin-top:-4px}.follow-up-search{max-width:none}.follow-ups-toolbar .study-filter-pills{width:100%}.follow-ups-toolbar .study-filter-pills button{flex:1}}
.follow-ups-pagination{display:flex;align-items:center;justify-content:flex-end;gap:12px;min-height:42px;padding:14px 0 4px;color:#64748b;font-size:11px}.follow-ups-pagination button{padding:8px 11px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#334155;font:700 11px 'DM Sans';cursor:pointer}.follow-ups-pagination button:hover:not(:disabled){border-color:#93c5fd;background:#eff6ff;color:#1d4ed8}.follow-ups-pagination button:disabled{cursor:not-allowed;opacity:.45}@media(max-width:700px){.follow-ups-pagination{justify-content:space-between;gap:7px}.follow-ups-pagination span{font-size:10px;text-align:center}.follow-ups-pagination button{padding:8px}}

/* A troca de período não altera a altura da página. */
.view[data-view="followups"]{min-height:calc(100dvh - 150px)}.view[data-view="followups"] .follow-ups-content{min-height:calc(100dvh - 405px)}@media(max-width:700px){.view[data-view="followups"]{min-height:calc(100dvh - 120px)}.view[data-view="followups"] .follow-ups-content{min-height:calc(100dvh - 365px)}}

/* Escolha rápida do lead antes de abrir a agenda. */
.lead-picker-modal{width:min(520px,calc(100vw - 36px))!important;padding:28px!important}.lead-picker-modal h2{margin-bottom:5px!important}.lead-picker-modal .modal-copy{margin-bottom:0!important}.lead-picker-search{display:flex;margin:20px 0 10px}.lead-picker-search input{width:100%;height:44px!important;padding-left:13px!important}.lead-picker-results{display:grid;max-height:330px;overflow:auto;border-top:1px solid #eef2f7}.lead-picker-result{display:flex;align-items:center;gap:11px;width:100%;padding:12px 4px;border:0;border-bottom:1px solid #eef2f7;background:transparent;color:#334155;text-align:left;cursor:pointer}.lead-picker-result:hover{background:#f8fbff}.lead-picker-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:#eaf2ff;color:#2563eb;font-size:12px;font-weight:700}.lead-picker-result>span:nth-child(2){display:grid;flex:1;gap:3px;min-width:0}.lead-picker-result b,.lead-picker-result small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.lead-picker-result b{color:#0f172a;font-size:13px}.lead-picker-result small{color:#64748b;font-size:11px}.lead-picker-result i{color:#94a3b8;font-style:normal}.lead-picker-empty{padding:26px 0;margin:0;color:#94a3b8;font-size:12px;text-align:center}

/* Painel inicial do CRM */
.home-dashboard{max-width:1180px;padding:12px 0 42px}.home-welcome{display:flex;align-items:end;justify-content:space-between;gap:24px;margin:5px 0 30px}.home-welcome .eyebrow{margin-bottom:7px}.home-welcome h1{margin:0;color:#0f172a;font:700 clamp(28px,3vw,40px) 'Space Grotesk';letter-spacing:-1.6px}.home-welcome p:not(.eyebrow){margin:9px 0 0;color:#64748b;font-size:14px}.home-total{display:grid;gap:2px;min-width:120px;padding:14px 17px;border:1px solid #dbeafe;border-radius:14px;background:linear-gradient(135deg,#eff6ff,#fff);color:#1d4ed8}.home-total b{font:700 25px 'Space Grotesk'}.home-total span{color:#64748b;font-size:11px;font-weight:600}.home-layout{display:grid;grid-template-columns:minmax(310px,.85fr) minmax(0,1.7fr);gap:20px;align-items:start}.home-followups,.home-charts{padding:20px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04)}.home-section-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:17px}.home-section-heading h2{margin:0;color:#0f172a;font:700 16px 'Space Grotesk'}.home-section-heading p{margin:5px 0 0;color:#64748b;font-size:11px}.home-section-heading .text-button{padding:0;border:0;background:none;font-size:11px;font-weight:700;cursor:pointer}.home-followup-list{display:grid}.home-followup-row{display:flex;align-items:center;gap:10px;width:100%;padding:11px 0;border:0;border-top:1px solid #f1f5f9;background:transparent;color:#334155;text-align:left;cursor:pointer}.home-followup-row:first-child{border-top:0}.home-followup-row:hover b{color:#2563eb}.home-followup-date{min-width:55px;padding:5px 6px;border-radius:7px;background:#eff6ff;color:#2563eb;font-size:10px;font-weight:700;text-align:center}.home-followup-date.atrasado{background:#fef2f2;color:#b91c1c}.home-followup-date.próximo{background:#f8fafc;color:#64748b}.home-followup-row div{display:grid;flex:1;gap:3px;min-width:0}.home-followup-row b,.home-followup-row small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-followup-row b{color:#0f172a;font-size:12px}.home-followup-row small{color:#64748b;font-size:10px}.home-followup-row i{color:#94a3b8;font-style:normal}.home-no-followups{display:grid;justify-items:center;gap:7px;padding:42px 12px;color:#64748b;text-align:center}.home-no-followups span{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:#ecfdf5;color:#059669;font-weight:700}.home-no-followups b{color:#334155;font-size:12px}.home-no-followups p{margin:0;font-size:11px}.home-pie-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-pie-card{min-width:0;padding:14px;border:1px solid #eef2f7;border-radius:13px;background:#fcfdff}.home-pie-card:first-child{grid-column:span 2}.home-pie-card h3{margin:0 0 13px;color:#334155;font-size:12px}.home-pie-layout{display:flex;align-items:center;gap:13px}.home-pie{display:grid;place-items:center;flex:0 0 82px;width:82px;height:82px;border-radius:50%}.home-pie>span{display:grid;place-items:center;width:52px;height:52px;border-radius:50%;background:#fff}.home-pie>span b{color:#0f172a;font:700 16px 'Space Grotesk'}.home-pie>span small{color:#94a3b8;font-size:8px}.home-pie-legend{display:grid;flex:1;gap:6px;min-width:0}.home-pie-legend div{display:grid;grid-template-columns:7px minmax(0,1fr) auto;align-items:center;gap:6px;color:#64748b;font-size:10px}.home-pie-legend i{width:7px;height:7px;border-radius:50%}.home-pie-legend span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.home-pie-legend b{color:#475569;font-size:10px}.home-empty-chart{display:grid;place-items:center;min-height:82px;color:#94a3b8;font-size:11px}.home-loading{padding:50px;color:#64748b;text-align:center}.home-loading.error{color:#b91c1c}@media(max-width:850px){.home-layout{grid-template-columns:1fr}.home-pie-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.home-welcome{align-items:start;flex-direction:column;margin-bottom:20px}.home-total{width:100%;box-sizing:border-box}.home-followups,.home-charts{padding:16px}.home-pie-grid{grid-template-columns:1fr}.home-pie-card:first-child{grid-column:auto}.home-pie-card{padding:13px}.home-pie-layout{gap:16px}}

/* Início: painel de uma tela, sem alongar a página. */
@media(min-width:851px){.home-nav-only{min-height:0!important;height:calc(100dvh - 242px);overflow:hidden}.home-dashboard{display:flex;height:100%;padding:0;flex-direction:column}.home-welcome{flex:0 0 auto;margin:0 0 18px}.home-welcome h1{font-size:30px;letter-spacing:-1.2px}.home-welcome p:not(.eyebrow){font-size:12px}.home-total{min-width:108px;padding:11px 14px}.home-total b{font-size:22px}.home-layout{flex:1;min-height:0;grid-template-columns:minmax(260px,.72fr) minmax(0,1.75fr);gap:16px}.home-followups,.home-charts{height:100%;min-height:0;padding:16px;overflow:hidden}.home-section-heading{margin-bottom:12px}.home-section-heading h2{font-size:14px}.home-followup-row{padding:10px 0}.home-pie-grid{height:calc(100% - 48px);grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:10px}.home-pie-card,.home-pie-card:first-child{grid-column:auto;padding:11px}.home-pie-card h3{margin-bottom:9px;font-size:11px}.home-pie-layout{gap:9px}.home-pie{flex-basis:64px;width:64px;height:64px}.home-pie>span{width:42px;height:42px}.home-pie>span b{font-size:13px}.home-pie>span small{font-size:7px}.home-pie-legend{gap:4px}.home-pie-legend div{font-size:9px}.home-empty-chart{min-height:64px}.home-no-followups{padding:25px 12px}}
.home-funnel-card{display:flex;flex-direction:column;justify-content:center;background:linear-gradient(135deg,#eff6ff,#fff)!important;border-color:#bfdbfe!important}.home-funnel-total{display:flex;align-items:baseline;gap:7px;margin:1px 0 13px}.home-funnel-total b{color:#2563eb;font:700 34px 'Space Grotesk'}.home-funnel-total span{color:#475569;font-size:11px;font-weight:600}.home-funnel-stats{display:flex;gap:7px}.home-funnel-stats span{padding:5px 7px;border-radius:7px;background:#fff;color:#64748b;font-size:9px}.home-funnel-stats b{color:#334155}.home-funnel-stats .alert{background:#fef2f2;color:#b91c1c}.home-funnel-stats .alert b{color:#b91c1c}@media(min-width:851px){.home-pie{flex-basis:76px;width:76px;height:76px}.home-pie>span{width:48px;height:48px}.home-pie>span b{font-size:15px}.home-funnel-total b{font-size:38px}}

/* Navegação lateral no desktop; no celular ela continua inferior. */
@media(min-width:851px){.dock{top:50%;bottom:auto;left:max(24px,calc(50% - 720px));align-items:stretch;gap:6px;padding:9px;transform:translateY(-50%);border-radius:16px}.dock-item{display:flex;align-items:center;justify-content:flex-start;gap:10px;width:118px;min-width:118px;height:42px;padding:0 11px;border-radius:10px;text-align:left}.dock-item span{width:18px;font-size:18px}.dock-item small{font-size:10px;font-weight:600}.home-nav-only{height:calc(100dvh - 195px)}.home-pie{flex-basis:82px;width:82px;height:82px}.home-pie>span{width:52px;height:52px}.home-pie>span b{font-size:16px}.home-pie-card{padding:14px!important}.home-pie-layout{gap:12px!important}.home-funnel-total b{font-size:42px}}

@media(min-width:851px){.dock{position:fixed!important;top:50%!important;right:auto!important;bottom:auto!important;left:12px!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:5px!important;width:74px!important;padding:7px!important;border-radius:14px!important;transform:translateY(-50%)!important}.dock-item{display:grid!important;justify-items:start!important;align-content:center!important;gap:2px!important;width:58px!important;min-width:58px!important;height:48px!important;padding:4px 9px!important;border-radius:10px!important;text-align:left!important}.dock-item span{width:auto!important;font-size:17px!important;line-height:17px!important}.dock-item small{overflow:hidden;max-width:100%;font-size:8px!important;font-weight:600!important;text-overflow:ellipsis;white-space:nowrap}.home-pie{flex-basis:82px!important;width:82px!important;height:82px!important}.home-pie>span{display:none!important}.view[data-view="followups"]{min-height:calc(100dvh - 230px)!important}}
@media(min-width:851px){.dock-item[data-open-view="followups"]{position:relative;margin:9px 0!important}.dock-item[data-open-view="followups"]:before,.dock-item[data-open-view="followups"]:after{position:absolute;right:5px;left:5px;height:1px;background:#e2e8f0;content:''}.dock-item[data-open-view="followups"]:before{top:-7px}.dock-item[data-open-view="followups"]:after{bottom:-7px}}

/* Navegação lateral expandida: todos os atalhos têm a mesma linha e alinhamento. */
@media(min-width:851px){.dock{left:14px!important;width:166px!important;padding:9px!important;gap:4px!important;border-radius:16px!important}.dock-item{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;width:148px!important;min-width:148px!important;height:46px!important;padding:0 14px!important;border-radius:10px!important;text-align:left!important}.dock-item span{display:grid!important;place-items:center!important;width:18px!important;min-width:18px!important;font-size:18px!important;line-height:18px!important}.dock-item small{display:block!important;overflow:visible!important;max-width:none!important;font-size:11px!important;font-weight:600!important;line-height:1!important;text-overflow:clip!important;white-space:nowrap!important}.dock-item[data-open-view="followups"]{margin:10px 0!important}.dock-item[data-open-view="followups"]:before,.dock-item[data-open-view="followups"]:after{right:12px!important;left:12px!important}}

/* Navegação de páginas no topo. */
@media(min-width:851px){.dock{top:38px!important;left:50%!important;flex-direction:row!important;align-items:center!important;width:auto!important;padding:5px!important;gap:3px!important;border-radius:12px!important;transform:translateX(-50%)!important;box-shadow:0 6px 18px rgba(15,23,42,.08)!important}.dock-item{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:auto!important;min-width:auto!important;height:34px!important;padding:0 11px!important;border-radius:8px!important;text-align:center!important}.dock-item span{width:auto!important;min-width:auto!important;font-size:15px!important;line-height:15px!important}.dock-item small{font-size:10px!important}.dock-item[data-open-view="followups"]{margin:0!important}.dock-item[data-open-view="followups"]:before,.dock-item[data-open-view="followups"]:after{display:none!important}}

body.home-lock{height:100dvh;overflow:hidden}.home-pie{position:relative}.home-pie::after{position:absolute;inset:25%;border-radius:50%;background:#fcfdff;box-shadow:0 0 0 1px #eef2f7;content:''}@media(max-width:850px){body.home-lock{height:auto;overflow:auto}.home-pie::after{background:#fff}}
.follow-up-period-tabs{display:flex;align-items:center;gap:4px;margin:0 0 14px;padding:4px;border:1px solid #e2e8f0;border-radius:11px;background:#fff;box-shadow:0 1px 2px rgba(15,23,42,.04)}.follow-up-period-tabs button{flex:1;padding:9px 11px;border:0;border-radius:8px;background:transparent;color:#64748b;font:700 11px 'DM Sans';cursor:pointer;transition:background .15s,color .15s}.follow-up-period-tabs button:hover{background:#f1f5f9;color:#334155}.follow-up-period-tabs button.active{background:#2563eb;color:#fff;box-shadow:0 2px 5px rgba(37,99,235,.2)}@media(max-width:700px){.follow-up-period-tabs{gap:3px;overflow-x:auto;padding:3px}.follow-up-period-tabs button{flex:0 0 auto;padding:8px 10px;font-size:10px}}

/* Registro do follow-up: usa a largura disponível para os dados do lead. */
.follow-up-item{grid-template-columns:130px minmax(320px,1fr) minmax(155px,auto) 58px!important;min-height:88px!important;gap:20px!important;padding:14px 18px!important}.follow-up-date{display:flex!important;flex-direction:column;justify-content:center;gap:4px!important;padding-right:18px!important}.follow-up-date b{color:#0f172a!important;font-size:16px!important;line-height:1}.follow-up-date small{color:#64748b!important;font-size:12px!important;font-weight:600;text-transform:capitalize}.follow-up-main{gap:5px!important}.follow-up-main>b{font-size:14px!important}.follow-up-person-details{display:flex;flex-wrap:wrap;gap:4px 16px;color:#64748b;font-size:11px;line-height:1.4}.follow-up-person-details strong{color:#475569;font-weight:700}.follow-up-subject{color:#94a3b8!important;font-size:11px!important}.follow-up-stage{position:relative!important;display:grid!important;gap:2px;padding-left:14px;color:#334155!important}.follow-up-stage:before{position:absolute;top:7px;left:0;width:8px!important;height:8px!important}.follow-up-stage small{color:#94a3b8!important;font-size:10px!important;font-weight:600}.follow-up-stage b{color:#334155;font-size:13px;font-weight:700}.follow-up-state{font-size:11px!important}@media(max-width:700px){.follow-up-item{grid-template-columns:86px minmax(0,1fr) auto!important;min-height:82px!important;gap:12px!important;padding:12px!important}.follow-up-date{padding-right:10px!important}.follow-up-date b{font-size:14px!important}.follow-up-date small{font-size:10px!important}.follow-up-person-details{display:grid;gap:2px;font-size:10px}.follow-up-stage{display:none!important}}

/* Colaboradores segue a mesma tabela compacta usada em Leads. */
.collaborators-list td:last-child{width:1%;white-space:nowrap}.collaborators-list .member-status{font-size:10px}
