:root{--accent:#6a58dc;--bg:#f7f8fc;--ink:#1b2336;--muted:#7d8599;--line:#eaedf4}body{background:var(--bg);font-size:13px}.shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:#121727;color:#c4c9d8;padding:31px 16px 17px;display:flex;flex-direction:column}.logo{display:flex;align-items:center;gap:11px;color:#fff;font-family:Manrope;font-weight:800;font-size:25px;letter-spacing:-.07em;padding:0 16px;margin-bottom:59px}.logo-icon{background:linear-gradient(135deg,#7a6aff,#5644b9);width:38px;height:38px;display:grid;place-items:center;border-radius:12px;color:white;font-size:27px;position:relative}.logo-icon span{position:absolute;top:-3px;right:-2px;font-size:11px;color:#c8bbff}.logo small{display:block;color:#8b91a9;font-size:8px;letter-spacing:.16em;font-weight:800;margin-top:-4px}.menu-label,.side-eyebrow{font-size:9px;letter-spacing:.16em;font-weight:800;color:#6e7790;padding:0 16px}.side-nav{display:grid;gap:5px;margin:15px 0}.side-nav button{display:flex;align-items:center;gap:14px;background:none;border:none;color:#9fa9bf;text-align:left;padding:13px 17px;font-weight:750;border-radius:10px;letter-spacing:.004em}.side-nav button svg{opacity:.8}.side-nav button.active,.side-nav button:hover{background:#6d60e327;color:#fff}.side-nav button.active:before{content:'';background:#9384ff;height:22px;width:3px;position:absolute;left:16px;border-radius:0 3px 3px 0}.side-nav button small{margin-left:auto;background:#2a3149;border-radius:7px;padding:2px 6px;color:#c8c8ea}.sidebar-bottom{margin-top:auto}.demo-card-side{background:linear-gradient(160deg,#252946,#1b2239);border:1px solid #414766;border-radius:15px;padding:17px}.demo-card-side .side-eyebrow{padding:0;color:#ad9fff}.demo-card-side h3{font-size:15px;color:#fff;margin:11px 0 7px}.demo-card-side p{font-size:11px;line-height:1.7;color:#9ba7c0}.demo-card-side button{background:none;border:0;padding:8px 0;color:#c9c3ff;font-weight:800;font-size:11px;display:flex;gap:8px;align-items:center}.developer{display:flex;gap:11px;align-items:center;padding:19px 8px 0;margin-top:16px;border-top:1px solid #ffffff18;font-size:11px;font-weight:800;color:#fff}.developer small{display:block;color:#748199;font-size:9px;font-weight:500}.developer>svg{margin-left:auto;color:#7983a6}.avatar-circle,.avatar{width:35px;height:35px;display:grid;place-items:center;background:#6e59e5;color:white;border-radius:11px;font-size:11px;font-weight:800}.workarea{min-width:0}.topbar{height:83px;border-bottom:1px solid #e9edf3;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 37px;gap:15px}.top-left,.top-right{display:flex;align-items:center;gap:16px}.breadcrumbs{display:flex;gap:13px;align-items:center;color:#adb2be;font-size:12px;font-weight:700}.breadcrumbs strong{color:#4e5468}.demo-pill{border:1px solid #ebeaf8;border-radius:100px;background:#f8f6ff;color:#766bd4;padding:8px 12px;font-weight:800;font-size:10px;letter-spacing:.03em}.demo-pill i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7c6bf0;margin-right:7px}.top-divider{height:28px;width:1px;background:#e7eaf1}.icon-button{background:#fff;border:1px solid #eef0f6;display:grid;place-items:center;border-radius:9px;width:36px;height:36px;color:#66708a}.avatar{border-radius:50%}.mobile-only{display:none}.main-content{padding:37px clamp(20px,3.4vw,56px) 28px;max-width:1720px;margin:auto}.welcome{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:31px}.date-label{font-weight:800;color:#a3a9b7;font-size:10px;letter-spacing:.12em;margin-bottom:9px}.welcome h1{font-size:clamp(27px,2.7vw,37px);margin:0}.wave{color:#a89bff}.welcome p{color:#8790a2;margin:8px 0 0;font-size:13px}.welcome-actions{display:flex;gap:9px}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.stat{padding:21px 22px;min-width:0}.stat>div:first-child{display:flex;align-items:center;justify-content:space-between}.stat .s-icon{background:#f0edff;color:#7261df;width:38px;height:38px;display:grid;place-items:center;border-radius:11px}.stat .s-dot{color:#d3d6e3}.stat h4{font-size:11px;color:#8791a3;margin:21px 0 8px;font-weight:750}.stat strong{font:800 27px Manrope,Arial,sans-serif;letter-spacing:-.06em}.delta{display:inline-flex;align-items:center;gap:3px;font-size:11px;color:#25996e;background:#e8f8f0;padding:4px 7px;border-radius:7px;font-weight:800}.stat .minor{color:#a4abba;font-size:10px;margin-top:9px}.chart-area{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,.85fr);gap:20px;margin-bottom:20px}.chart-card,.activity-card,.data-card,.mini-card{padding:24px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:19px}.section-title h2{margin:0;font-family:Manrope;font-size:17px;letter-spacing:-.04em}.section-title small{color:#99a1b0;font-size:11px}.select-mini{border:1px solid #e7eaf1;background:#fff;border-radius:9px;padding:8px;font-size:11px;font-weight:800;color:#7b8295}.line-chart{height:210px;position:relative}.line-chart svg{width:100%;height:100%;overflow:visible}.chart-labels{display:flex;justify-content:space-between;padding:12px 10px 0 32px;color:#a8b0bf;font-size:10px}.mini-legend{display:flex;align-items:center;gap:6px;color:#909aab;font-size:10px}.mini-legend:before{content:'';width:8px;height:8px;background:#7562e4;border-radius:2px}.activity-feed{display:grid;gap:0}.activity-item{display:flex;gap:11px;align-items:start;padding:13px 0;border-bottom:1px solid #eff1f6}.activity-item:last-child{border:0}.act-icon{width:32px;height:32px;flex-shrink:0;background:#f0eeff;color:#7669df;display:grid;place-items:center;border-radius:9px}.activity-item p{margin:0;font-size:11px;color:#4c586f}.activity-item small{font-size:10px;color:#a2aabb}.bottom-panels{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,1fr);gap:20px}.tablewrap{overflow-x:auto}.table{border-collapse:collapse;width:100%;white-space:nowrap}.table th{text-align:left;background:#fafbfc;color:#939db0;font-weight:800;font-size:10px;letter-spacing:.05em;padding:13px;border-bottom:1px solid #e8ebf2}.table td{border-bottom:1px solid #eef0f4;padding:14px 13px;color:#4b556c;font-size:12px}.table tr:last-child td{border-bottom:0}.company-name{font-weight:800;color:#1f2a40;display:block}.company-sub{font-size:10px;color:#a0a8b7;display:block}.stage{border-radius:100px;font-weight:800;font-size:10px;padding:5px 10px;display:inline-flex}.stage-lead{background:#eaf0ff;color:#6c7ccd}.stage-contato{background:#e9f7f9;color:#418c9b}.stage-proposta{background:#f4eeff;color:#8b68cc}.stage-negociacao{background:#fff3e3;color:#b9833c}.stage-ganho{background:#e3f7eb;color:#269468}.linkbtn{border:0;background:none;color:#715de3;font-size:11px;font-weight:800;padding:4px 0}.mini-task{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid #eef0f4;align-items:center}.mini-task:last-child{border:0}.task-check{height:19px;width:19px;border:1.5px solid #d6dce7;border-radius:6px;appearance:none;cursor:pointer;flex-shrink:0;background:#fff}.task-check:checked{background:#7059dc;border-color:#7059dc}.mini-task label{flex:1;font-size:11px;font-weight:750;color:#4c5872}.mini-task label.done{text-decoration:line-through;opacity:.5}.mini-task small{display:block;color:#a0a9b8;font-weight:500}.task-empty{color:#a6acb7;font-size:12px;text-align:center;padding:20px}.app-foot{padding-top:28px;margin-top:20px;display:flex;justify-content:space-between;gap:12px;color:#b0b6c4;font-size:9px;font-weight:800;letter-spacing:.05em;flex-wrap:wrap}.toolbar{display:flex;gap:9px;align-items:center;margin-bottom:21px;flex-wrap:wrap}.toolbar .field{width:280px}.stage-grid{display:grid;grid-template-columns:repeat(5,minmax(195px,1fr));gap:12px;overflow-x:auto;padding:3px 2px 16px}.kanban-col{border-radius:15px;background:#f0f2f8;padding:12px;min-height:350px;border:1px solid #e9edf3}.kanban-header{display:flex;align-items:center;justify-content:space-between;padding:9px 4px 14px;font-size:12px;font-weight:800}.kanban-header b{background:#fff;border-radius:7px;padding:2px 7px;color:#8390a3}.kanban-total{display:block;color:#a3a9b7;font-size:11px;padding:0 4px 12px}.kanban-card{background:#fff;border:1px solid #e8ebf1;border-radius:12px;padding:14px;margin-bottom:11px;box-shadow:0 3px 10px #2b316009;cursor:grab}.kanban-card:hover{box-shadow:0 9px 22px #33335315}.kanban-card:active{cursor:grabbing}.kanban-card h4{margin:0 0 4px;font-size:12px}.kanban-card p{margin:0 0 15px;font-size:10px;color:#949cab}.kanban-card strong{font-size:14px}.kanban-card .kanban-bottom{display:flex;align-items:center;justify-content:space-between;margin-top:12px;color:#a9b2c0;font-size:10px}.kanban-col.dragover{border:2px dashed #816ee9;background:#eeebff}.person-icon{border-radius:50%;height:25px;width:25px;display:grid;place-items:center;background:#eeeaff;color:#7e6beb;font-size:9px;font-weight:800}.list-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.list-head h2{font-size:20px;letter-spacing:-.035em;margin:0}.insights{display:grid;grid-template-columns:1fr 1fr;gap:20px}.insight-card{padding:27px}.insight-bar-row{display:grid;grid-template-columns:125px 1fr 70px;align-items:center;gap:15px;font-size:11px;margin:18px 0}.insight-bar{height:11px;border-radius:99px;background:#f1eefb;overflow:hidden}.insight-bar div{height:100%;border-radius:99px;background:#8c7cf0}.two-column{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px}.summary-side{padding:25px}.summary-side .big{font:800 30px Manrope,Arial,sans-serif;margin:9px 0}.summary-side p{color:#8f9aab;font-size:12px}.modal-form{display:grid;gap:15px}.modal-form>.between{margin-top:8px}.detail-dialog{width:min(520px,100%)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:19px;margin:20px 0}.detail-grid span{display:block;font-size:11px;color:#8b97a7}.detail-grid strong{display:block;font-size:15px;margin-top:5px}.detail-note{background:#f6f7fa;border-radius:10px;padding:14px;color:#657086}.detail-buttons{display:flex;gap:8px;flex-wrap:wrap}.detail-buttons select{flex:1;min-width:150px}.danger{background:#fff0f0;color:#b95353;border:1px solid #ffd9da}.table-action{border:0;background:#f2f0ff;color:#7661db;border-radius:7px;padding:6px 9px;font-size:10px;font-weight:800}
@media(max-width:1200px){.stat-grid{grid-template-columns:repeat(2,1fr)}.bottom-panels{grid-template-columns:1fr}.chart-area{grid-template-columns:1fr 1fr}.sidebar{width:225px}.shell{grid-template-columns:225px minmax(0,1fr)}}
@media(max-width:900px){.chart-area{grid-template-columns:1fr}.insights,.two-column{grid-template-columns:1fr}.topbar{padding:0 18px}.sidebar{position:fixed;left:-270px;top:0;width:250px;z-index:90;box-shadow:10px 0 30px #0002;transition:left .2s}.sidebar.open{left:0}.shell{grid-template-columns:1fr}.mobile-only{display:grid}}
@media(max-width:640px){.stat-grid{grid-template-columns:1fr 1fr;gap:10px}.stat{padding:15px}.stat h4{margin:12px 0 8px}.stat strong{font-size:20px}.main-content{padding:26px 15px}.welcome{display:block}.welcome-actions{margin-top:20px}.welcome-actions .btn{flex:1;font-size:11px;padding:11px 6px}.welcome h1{font-size:26px}.demo-pill{font-size:0;padding:8px}.demo-pill i{margin:0}.top-right{gap:8px}.breadcrumbs{font-size:11px}.chart-card,.activity-card,.data-card,.mini-card,.insight-card,.summary-side{padding:17px}.line-chart{height:170px}.toolbar .field{width:100%}.stage-grid{grid-template-columns:repeat(5,220px)}.insight-bar-row{grid-template-columns:90px 1fr 50px;gap:8px}.formrow{grid-template-columns:1fr}}
/* Constrain internal scrollers on narrow viewports. */
.bottom-panels,.bottom-panels > *, .chart-area,.chart-area>*,.tablewrap{min-width:0}
@media(max-width:640px){.bottom-panels{grid-template-columns:minmax(0,1fr)}.tablewrap{max-width:100%;overflow-x:auto}.section-title{min-width:0}}
