:root{--bg:#eef3f8;--surface:#fff;--text:#182334;--muted:#6b7a90;--border:#d9e3ef;--accent:#d96f2a;--accent-strong:#a94f18;--shadow:0 10px 24px #1c2a3c0b;color:var(--text);background:var(--bg);font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-weight:400}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;color:var(--text);margin:0;line-height:1.5}a{color:#1c66a8}h1,h2,p{margin-top:0}.crm-app{background:var(--bg);grid-template-columns:260px minmax(0,1fr);min-height:100vh;display:grid}.crm-app strong{font-weight:600}.crm-sidebar{border-right:1px solid var(--border);background:#fbfcfe;flex-direction:column;height:100vh;padding:12px 14px 20px;display:flex;position:sticky;top:0}.sidebar-logo{justify-content:flex-start;align-items:center;margin-bottom:8px;padding:10px 8px 6px;display:flex}.sidebar-logo-image{object-fit:contain;width:220px;max-width:100%;height:auto;display:block}.sidebar-footer span{color:var(--muted);font-size:.74rem;font-weight:400}.sidebar-nav{gap:4px;margin-top:4px;padding-top:0;display:grid}.sidebar-nav button{color:#405169;text-align:left;width:100%;box-shadow:none;background:0 0;border:0;border-radius:10px;padding:8px 12px;font-size:.9rem;font-weight:500;text-decoration:none}.sidebar-nav button.active,.sidebar-nav button:hover{box-shadow:none;color:var(--accent-strong);background:#fff6f0;border:0;transform:none}.sidebar-nav button.active{box-shadow:inset 2px 0 0 var(--accent)}.sidebar-footer{border:1px solid var(--border);background:#fff;border-radius:10px;margin-top:auto;padding:12px}.sidebar-footer strong{color:var(--text);margin-top:4px;font-size:.85rem;font-weight:500;display:block}.crm-main{width:min(100%,1720px);min-width:0;padding:0}.view-shell{gap:0;display:grid}.content-inner,.base-content-inner{gap:14px;padding:24px 24px 32px;display:grid}.view-header{margin-bottom:2px}.view-header h2{color:var(--text);letter-spacing:0;margin:3px 0 5px;font-size:clamp(1.35rem,2vw,1.75rem);font-weight:600;line-height:1.15}.view-header p:last-child{max-width:760px;color:var(--muted);margin:0;font-size:.94rem;font-weight:400;line-height:1.4}.view-actions{flex-wrap:wrap;gap:8px;display:flex}.section-hero,.page-hero{background:#0f172a;border-radius:0;width:100%;max-width:100%;height:240px;margin:0;position:relative;overflow:hidden;box-shadow:0 14px 34px #0f172a14}.section-hero-image,.page-hero-image{object-fit:cover;object-position:center;width:100%;height:100%;display:block}.section-hero-overlay,.page-hero-overlay{pointer-events:none;background:linear-gradient(90deg,#071223d1 0%,#07122394 32%,#0712231f 70%,#07122305 100%);position:absolute;inset:0}.section-hero-content,.page-hero-content{z-index:2;color:#fff;max-width:min(720px,100% - 72px);position:absolute;bottom:34px;left:36px}.section-hero-eyebrow,.page-hero-eyebrow{color:#f97316;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px;font-size:.81rem;font-weight:600;display:block}.section-hero-title,.page-hero-content h1{color:#fff;letter-spacing:0;margin:0;font-size:clamp(2rem,4vw,3.25rem);font-weight:600;line-height:1.04}.section-hero-subtitle{color:#ffffffdb;max-width:680px;margin:10px 0 0;font-size:.94rem;font-weight:400;line-height:1.42}.section-hero-stats,.page-hero-stats{color:#ffffffeb;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:18px;font-size:.88rem;display:flex}.section-hero-stat,.page-hero-stats span{align-items:center;gap:8px;font-weight:500;display:inline-flex}.section-hero-stat:before,.page-hero-stats span:before{content:"";background:#f9731652;border:1px solid #f97316c7;border-radius:999px;width:8px;height:8px;box-shadow:0 0 0 3px #f9731624}.crm-header{justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;display:flex}.crm-header h1{color:var(--text);letter-spacing:0;margin:4px 0 6px;font-size:clamp(2rem,3vw,2.5rem);font-weight:600;line-height:1.1}.crm-header p{max-width:720px;color:var(--muted);margin:0;font-size:1rem;font-weight:400}.eyebrow{color:var(--accent);letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:.72rem;font-weight:600}.base-pill{border:1px solid var(--border);min-width:210px;box-shadow:var(--shadow);background:#fff;border-radius:14px;padding:11px 14px}.base-pill span,.base-pill small{color:var(--muted);font-size:.75rem;font-weight:400;display:block}.base-pill strong{color:var(--text);margin:3px 0;font-size:1.55rem;font-weight:600;line-height:1;display:block}.crm-card,.kpi-card{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:14px}.crm-card{overflow:hidden}.card-heading{justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:12px;display:flex}.card-heading h2{color:var(--text);letter-spacing:0;margin:4px 0 0;font-size:1.08rem;font-weight:600}.card-subtitle{max-width:760px;color:var(--muted);margin:6px 0 0;font-size:.84rem;font-weight:400;line-height:1.35}.kpi-grid{grid-template-columns:repeat(6,minmax(140px,1fr));gap:10px;margin-bottom:14px;display:grid}.kpi-card{min-height:108px;padding:13px 14px}.kpi-topline{justify-content:space-between;align-items:flex-start;gap:8px;display:flex}.kpi-topline span{color:var(--muted);font-size:.78rem;font-weight:500;line-height:1.25}.kpi-topline em{color:#66758a;white-space:nowrap;background:#f5f7fa;border-radius:999px;padding:3px 8px;font-size:.64rem;font-style:normal;font-weight:500}.kpi-card strong{color:var(--text);margin-top:10px;font-size:1.65rem;font-weight:600;line-height:1;display:block}.kpi-card small{color:var(--muted);margin-top:6px;font-size:.76rem;font-weight:400;line-height:1.35;display:block}.overview-grid{grid-template-columns:minmax(0,1fr) 340px;gap:12px;margin-bottom:14px;display:grid}.pipeline-card,.next-actions-card,.search-panel,.prospect-table-card{padding:16px}.search-panel,.prospect-table-card{margin-bottom:14px}.filters-card{grid-template-columns:minmax(220px,2fr) repeat(4,minmax(130px,1fr));gap:10px;padding:12px;display:grid}.stage-grid,.placeholder-grid,.campaign-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;display:grid}.stage-card,.placeholder-card,.campaign-card{border:1px solid var(--border);background:var(--surface);min-width:0;box-shadow:var(--shadow);border-radius:14px;padding:14px}.stage-card span,.campaign-card span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:.72rem;font-weight:500;display:block}.stage-card strong{color:var(--text);margin-top:8px;font-size:1.8rem;font-weight:600;line-height:1;display:block}.stage-card small,.stage-card em,.campaign-card p,.campaign-card small,.placeholder-card p{color:var(--muted);font-size:.82rem;font-weight:400;line-height:1.35;display:block}.stage-card small{color:#405169;margin-top:7px}.stage-card em{margin-top:5px;font-style:normal}.placeholder-card h3,.campaign-card h3{color:var(--text);margin:0 0 6px;font-size:1rem;font-weight:600;line-height:1.25}.campaign-card h3{margin-top:8px}.campaign-card p{color:#405169;margin:0 0 8px}.placeholder-card p{margin:0}.limits-card dl{gap:8px;margin:12px 0 0;display:grid}.limits-card dl div{border-top:1px solid #eef3f8;justify-content:space-between;align-items:center;gap:12px;padding-top:8px;display:flex}.limits-card dt{color:var(--muted);font-size:.78rem;font-weight:400}.limits-card dd{color:var(--text);text-align:right;margin:0;font-size:.84rem;font-weight:500}.commercial-reports{gap:16px}.report-kpi-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;display:grid}.report-kpi-card{border:1px solid var(--border);min-height:118px;box-shadow:var(--shadow);background:#fff;border-radius:14px;padding:14px;position:relative;overflow:hidden}.report-kpi-card span,.report-kpi-card small{color:var(--muted);font-size:.75rem;font-weight:400;line-height:1.35;display:block}.report-kpi-card span{font-weight:500}.report-kpi-card strong{color:var(--text);margin:10px 0 6px;font-size:1.55rem;font-weight:600;line-height:1;display:block}.report-kpi-card i{border-radius:999px;width:34px;height:4px;position:absolute;bottom:13px;right:14px}.reports-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.report-card{min-width:0;padding:16px}.wide-report{grid-column:1/-1}.report-card-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.report-card-header h3{color:var(--text);margin:0;font-size:1.02rem;font-weight:600;line-height:1.25}.report-card-header p{max-width:720px;color:var(--muted);margin:5px 0 0;font-size:.82rem;font-weight:400;line-height:1.35}.report-empty{min-height:220px;color:var(--muted);text-align:center;background:#f8fbfe;border:1px dashed #cdd9e7;border-radius:12px;place-items:center;padding:18px;font-size:.88rem;font-weight:400;display:grid}.chart-tooltip{background:#fffffff7;border:1px solid #d9e3ef;border-radius:10px;gap:5px;padding:9px 10px;display:grid;box-shadow:0 12px 24px #0f172a1a}.chart-tooltip strong,.chart-tooltip span{color:var(--text);font-size:.78rem;font-weight:500}.chart-tooltip span{color:var(--muted);font-weight:400}.email-success-rate{align-items:baseline;gap:8px;margin-bottom:-18px;display:flex}.email-success-rate strong{color:var(--text);font-size:2rem;font-weight:600}.email-success-rate span{color:var(--muted);font-size:.82rem;font-weight:400}.chart-legend{flex-wrap:wrap;gap:8px 12px;margin-top:4px;display:flex}.chart-legend span{color:var(--muted);align-items:center;gap:6px;font-size:.78rem;font-weight:400;display:inline-flex}.chart-legend i,.action-report-item i{border-radius:999px;width:9px;height:9px}.campaign-report-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.campaign-report-card{background:#fbfcfe;border:1px solid #e1e9f2;border-radius:12px;min-width:0;padding:12px}.campaign-report-card>span,.campaign-report-card small{color:var(--muted);font-size:.74rem;font-weight:500;line-height:1.25;display:block}.campaign-report-card strong{color:var(--text);margin-top:9px;font-size:1.6rem;font-weight:600;line-height:1;display:block}.campaign-report-card dl{gap:6px;margin:12px 0 0;display:grid}.campaign-report-card dl div,.action-report-item{justify-content:space-between;align-items:center;gap:10px;display:flex}.campaign-report-card dt,.campaign-report-card dd{color:var(--muted);margin:0;font-size:.74rem;font-weight:400}.campaign-report-card dd{color:var(--text);font-weight:500}.action-report-list{gap:9px;display:grid}.action-report-item{background:#fbfcfe;border:1px solid #e1e9f2;border-radius:12px;padding:10px 11px}.action-report-item span{color:#405169;flex:1;font-size:.82rem;font-weight:400}.action-report-item strong{color:var(--text);font-size:1rem;font-weight:600}.pipeline-strip{grid-template-columns:repeat(6,minmax(150px,1fr));gap:8px;padding-bottom:2px;display:grid;overflow-x:auto}.pipeline-stage{background:#fbfcfe;border:1px solid #e2eaf3;border-radius:12px;min-width:150px;padding:10px 11px}.pipeline-stage span,.pipeline-stage small,.pipeline-stage em{display:block}.pipeline-stage span{color:#5c6d82;font-size:.76rem;font-weight:500}.pipeline-stage strong{color:var(--text);margin-top:7px;font-size:1.35rem;font-weight:600;display:block}.pipeline-stage small{color:var(--muted);margin-top:5px;font-size:.75rem;font-weight:400}.pipeline-stage em{color:#7a8aa0;margin-top:5px;font-size:.68rem;font-style:normal;font-weight:400}.next-actions-list{gap:8px;display:grid}.next-action-item{background:#fbfcfe;border:1px solid #e2eaf3;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:9px 11px;display:flex}.next-action-item span{color:var(--muted);font-size:.78rem;font-weight:400}.next-action-item strong{color:var(--text);font-size:1.1rem;font-weight:600}.search-card-grid{grid-template-columns:minmax(0,1fr) 280px;gap:14px;display:grid}.search-panel form{grid-template-columns:repeat(4,minmax(150px,1fr));align-items:end;gap:10px;display:grid}.wide-field{grid-column:span 3}label{color:var(--muted);gap:5px;font-size:.8125rem;font-weight:500;display:grid}input,select,textarea{border:1px solid var(--border);width:100%;min-height:36px;color:var(--text);font:inherit;background:#fff;border-radius:10px;outline:none;padding:7px 10px;font-size:.9rem;font-weight:400}textarea{resize:vertical}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #e5772c21}button,.action-link{color:#243247;cursor:pointer;min-height:34px;font:inherit;background:#fff;border:1px solid #ccd8e5;border-radius:10px;padding:7px 12px;font-size:.84rem;font-weight:500;text-decoration:none;transition:border-color .16s,box-shadow .16s,transform .16s}button:hover:not(:disabled),.action-link:hover{border-color:#aebdcd;transform:translateY(-1px);box-shadow:0 8px 18px #1428460f}button:disabled{cursor:not-allowed;opacity:.55}.primary-button{background:var(--accent);color:#fff;border-color:#c86225}.search-explainer{background:#fbfcfe;border:1px solid #e0e8f1;border-radius:14px;padding:12px}.search-explainer strong{color:var(--text);font-size:.9rem;font-weight:500;display:block}.search-explainer p{color:var(--muted);margin:6px 0 0;font-size:.82rem;font-weight:400;line-height:1.32}.search-explainer .usage-limit-note{color:#405169;border-top:1px solid #e0e8f1;margin-top:10px;padding-top:10px}.alert,.success-alert,.empty-state{color:#914313;background:#fff8f2;border:1px solid #f2c7a8;border-radius:12px;margin-bottom:12px;padding:10px 12px;font-size:.88rem;font-weight:400}.success-alert{color:#2b6844;background:#f5fbf7;border-color:#d5eadc}.compact-alert{margin:0 0 12px;padding:8px 10px;font-size:.82rem}.empty-state{border-color:var(--border);color:var(--muted);background:#f8fbfe}.table-wrap,.prospect-table-desktop{width:100%;overflow:visible}.crm-table{table-layout:fixed;border-collapse:separate;border-spacing:0;width:100%;min-width:0}.crm-table th{color:#7b8797;letter-spacing:.05em;text-align:left;text-transform:uppercase;white-space:normal;background:#f9fbfd;border-bottom:1px solid #e5edf6;padding:8px 12px;font-size:.69rem;font-weight:500}.crm-table td{color:#334155;vertical-align:middle;overflow-wrap:anywhere;word-break:break-word;border-bottom:1px solid #eef3f8;padding:9px 12px;font-size:.84rem;font-weight:400;line-height:1.22}.crm-table tbody tr:hover{background:#fbfcfe}.company-cell{width:22%;min-width:0}.company-link{min-height:0;color:var(--text);text-align:left;box-shadow:none;background:0 0;border:0;padding:0;font-size:.92rem;font-weight:500;display:block}.company-link:hover:not(:disabled){box-shadow:none;color:#1d5f9d;border-color:#0000;transform:none}.company-cell span,.company-cell small,.stacked-cell span,.email-cell span{color:var(--muted);overflow-wrap:anywhere;white-space:normal;font-size:.75rem;font-weight:400;line-height:1.18;display:block}.company-cell small{overflow-wrap:anywhere;white-space:normal;max-width:100%;margin-top:2px}.stacked-cell strong{color:#334155;margin-bottom:2px;font-size:.84rem;font-weight:500;display:block}.muted-cell,.next-action-cell{color:#53647a;overflow-wrap:anywhere;white-space:normal;max-width:220px;line-height:1.22}.next-action-cell small{color:var(--muted);margin-top:3px;font-size:.72rem;display:block}.money-cell{color:var(--text);white-space:normal;font-weight:500}.email-cell{overflow-wrap:anywhere;max-width:220px}.email-cell .badge,.cell-badge-row{margin-top:4px}.score-priority-cell,.cell-badge-row{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.product-value-cell{max-width:100%}.product-value-cell strong{overflow-wrap:anywhere}.actions-cell{width:15%}.cell-meta{color:var(--muted);font-size:.7rem}.badge,.score-chip{white-space:normal;border-radius:999px;justify-content:center;align-items:center;font-weight:500;display:inline-flex}.badge{color:#53647a;background:#f2f5f8;min-height:20px;padding:2px 7px;font-size:.68rem}.score-chip{width:32px;height:32px;color:var(--text);background:#fbfcfe;border:1px solid #d8e2ec;font-size:.84rem;font-weight:600}.priority-alta{color:#9a4b19;background:#fff4ed}.priority-media{color:#35638f;background:#f0f7ff}.priority-baja{color:#64748b;background:#f1f5f9}.email-type-publicado{color:#24714a;background:#eef9f3}.email-type-inferido{color:#8f551c;background:#fff7ed}.email-type-no-encontrado,.email-type-manual{color:#64748b;background:#eef3f8}.status-detectado,.status-enriquecido,.status-calificado{color:#35638f;background:#f0f7ff}.status-contactado,.status-respondio,.status-oportunidad,.status-cotizado{color:#8f551c;background:#fff7ed}.status-ganado{color:#24714a;background:#eef9f3}.status-perdido,.status-descartado{color:#6b7280;background:#f4f6f9}.table-actions,.export-buttons,.modal-actions,.drawer-actions{flex-wrap:wrap;gap:6px;display:flex}.table-actions{align-items:center}.table-actions button{flex:auto;min-height:30px;padding:5px 9px}.prospect-cards-mobile{display:none}.pagination-bar{border-top:1px solid #eef3f8;justify-content:flex-end;align-items:center;gap:8px;margin-top:10px;padding-top:10px;display:flex}.pagination-pages{gap:6px;display:flex}.pagination-bar button{border-radius:9px;min-width:34px;min-height:30px;padding:5px 10px}.pagination-bar button.active{color:var(--accent-strong);background:#fff6f0;border-color:#d96f2a}.pagination-mobile-label{color:var(--muted);font-size:.8rem;display:none}.drawer-backdrop,.modal-backdrop{z-index:20;background:#131f3047;justify-content:flex-end;display:flex;position:fixed;inset:0}.prospect-drawer,.email-modal{background:#fff;width:min(680px,100%);height:100%;padding:18px;overflow-y:auto;box-shadow:-18px 0 36px #0f172a24}.wide-modal{width:min(780px,100%)}.drawer-header,.modal-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.drawer-header h2,.modal-header h2{color:var(--text);margin:3px 0 4px;font-size:1.35rem;font-weight:600}.drawer-header span{color:var(--muted);font-size:.86rem}.drawer-header-actions{align-items:center;gap:8px;display:flex}.unsaved-badge{color:#a45114;white-space:nowrap;background:#fff8ed;border:1px solid #f1d5b9;border-radius:999px;align-items:center;min-height:28px;padding:4px 9px;font-size:.72rem;font-weight:500;display:inline-flex}.icon-button{width:34px;min-height:34px;padding:0}.drawer-summary{border:1px solid var(--border);background:#fbfcfe;border-radius:14px;flex-wrap:wrap;align-items:center;gap:7px;margin-bottom:12px;padding:9px;display:flex}.drawer-section{border-top:1px solid var(--border);padding:20px 0}.drawer-section h3{color:var(--text);margin:0 0 8px;font-size:.98rem;font-weight:600}.section-heading-row{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:12px;display:flex}.section-heading-row h3{margin-bottom:4px}.section-heading-row p{max-width:520px;color:var(--muted);margin:0;font-size:.8rem;font-weight:400;line-height:1.35}.detail-grid,.drawer-form-grid,.modal-form-grid,.quote-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.drawer-form-grid{gap:10px}.status-tracker{width:100%;max-width:100%;margin:10px 0 14px;padding:6px 2px 8px;overflow-x:hidden}.status-step-list{grid-template-columns:repeat(6,minmax(0,1fr));align-items:stretch;gap:10px;width:100%;min-width:0;max-width:100%;display:grid}.status-step{color:#8b98a9;text-align:center;border:1px solid #0000;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:6px;min-width:0;min-height:66px;padding:8px 6px;font-size:.74rem;font-weight:400;transition:background-color .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s;display:flex;position:relative}.status-step:not(:last-child):after{content:"";z-index:0;pointer-events:none;background:linear-gradient(90deg,#d8e3ee 0%,#edf3f8 100%);border-radius:999px;width:calc(100% - 22px);height:2px;position:absolute;top:22px;left:calc(50% + 16px)}.status-step:nth-of-type(6):after{display:none}.status-node{z-index:1;color:#8b98a9;background:linear-gradient(#fff 0%,#f5f8fb 100%);border:1px solid #d7e2ee;border-radius:999px;flex:none;place-items:center;width:28px;height:28px;font-size:.7rem;font-weight:500;transition:background .16s,border-color .16s,color .16s,box-shadow .16s,transform .16s;display:inline-grid;position:relative;box-shadow:inset 0 1px #ffffffd9,0 4px 10px #0f172a0a}.status-step small{width:100%;color:inherit;overflow-wrap:normal;word-break:normal;-webkit-hyphens:none;hyphens:none;text-wrap:balance;white-space:normal;min-width:0;font-size:.74rem;font-weight:400;line-height:1.15;display:block}.status-step.completed{color:#17635c}.status-step.completed .status-node{color:#17635c;background:radial-gradient(circle at 30% 20%,#fffffff2,#fff0 32%),linear-gradient(135deg,#e7faf5 0%,#d6f3ec 100%);border-color:#14b8a647;box-shadow:inset 0 1px #ffffffe6,0 7px 16px #14b8a621}.status-step.completed .status-node:before{content:"";border-bottom:2px solid;border-left:2px solid;width:9px;height:5px;margin-top:-2px;transform:rotate(-45deg)}.status-step.completed:not(:last-child):after{background:linear-gradient(90deg,#14b8a661 0%,#f9731633 100%)}.status-step.current{color:var(--accent-strong);background:linear-gradient(#fff8f3 0%,#fff2e8 100%);border-color:#f9731633;font-weight:500;box-shadow:inset 0 1px #ffffffe6,0 10px 24px #f973161a}.status-step.current .status-node{color:var(--accent-strong);background:radial-gradient(circle at 34% 24%,#fffffff2,#fff0 31%),linear-gradient(135deg,#fff5ed 0%,#ffd9bf 100%);border-color:#f973168c;box-shadow:0 0 0 4px #f973161a,0 8px 18px #f9731629}.status-step.current .status-node:before{content:"";background:currentColor;border-radius:999px;width:9px;height:9px;box-shadow:0 0 0 5px #f9731621}.status-step.future:hover,.status-step.completed:hover{transform:translateY(-1px)}.status-step.future:hover{background:#ffffffb3;border-color:#d7e2eed9}.terminal-status{color:#b42339;background:linear-gradient(#fff5f6 0%,#ffecef 100%);border:1px solid #f43f5e29;border-radius:999px;grid-column:1/-1;justify-self:start;align-items:center;gap:7px;min-height:30px;padding:5px 11px 5px 8px;font-size:.72rem;font-weight:500;display:inline-flex;box-shadow:0 8px 18px #f43f5e14}.terminal-status>span{background:#ffffff9e;border:1px solid;border-radius:999px;width:14px;height:14px}.terminal-status>span:before{content:"";background:currentColor;border-radius:999px;width:6px;height:2px;margin:5px auto 0;display:block}.terminal-descartado{color:#4b5563;background:linear-gradient(#f8fafc 0%,#eef2f6 100%);border-color:#4b55632e;box-shadow:0 8px 18px #4b55630f}@media (width<=980px){.status-step-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.status-step:after{display:none}}@media (width<=560px){.status-tracker{padding-inline:0}.status-step-list{grid-template-columns:repeat(2,minmax(0,1fr))}.status-step{gap:5px;min-height:58px;padding:7px 6px}.status-node{width:24px;height:24px;font-size:.66rem}.status-step small{font-size:.68rem}}.manual-status-control{align-items:end;display:flex}.manual-status-control>button{color:#53647a;border-color:#dbe5ef;width:100%;min-height:36px;font-size:.8rem}.manual-status-control label{width:100%}.detail-grid{margin:0}.detail-item{background:#fbfcfe;border:1px solid #e6edf5;border-radius:12px;min-width:0;padding:9px 10px}.detail-item dt{color:var(--muted);text-transform:uppercase;font-size:.68rem;font-weight:500}.detail-item dd{color:#263449;overflow-wrap:anywhere;margin:4px 0 0;font-size:.84rem;font-weight:400}.drawer-email-value{margin-bottom:4px;display:block}.wide-detail{grid-column:1/-1}.wide-detail textarea{min-height:132px;margin-top:2px;line-height:1.45}.notes-actions{justify-content:flex-start;align-items:center;gap:12px;margin-top:18px;padding-top:0}.notes-actions .primary-button,.notes-actions .action-link,.notes-actions button:not(.primary-button){border-radius:11px;min-height:38px;padding:8px 15px;font-weight:500}.pending-change-note{color:#8f4715;background:#fff9f1;border:1px solid #f1d5b9;border-radius:12px;gap:3px;width:100%;margin:10px 0 12px;padding:10px 12px;display:grid}.pending-change-note span{color:#7c3f12;font-size:.84rem;font-weight:500}.pending-change-note small{color:#9a6a45;font-size:.76rem;font-weight:400}.confirm-modal{align-self:center;height:auto;max-height:min(420px,100%)}.soft-confirm-backdrop{z-index:45;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0f172a2e;justify-content:center;align-items:center;padding:18px}.nested-confirm-backdrop{z-index:50;position:absolute}.unsaved-confirm-modal{border:1px solid #dbe5f0;border-radius:20px;width:min(460px,100%);box-shadow:0 24px 56px #0f172a2e}.unsaved-modal-actions{flex-wrap:wrap;justify-content:flex-end}.modal-copy{color:var(--muted);margin:0 0 14px;font-size:.9rem;font-weight:400;line-height:1.45}.quote-summary-grid{margin-bottom:12px}.quote-section{border-top:1px solid var(--border);padding-top:24px}.quote-summary-compact{grid-template-columns:repeat(3,minmax(0,1fr))}.quote-empty{gap:10px;display:grid}.quote-empty .quote-add-button{justify-self:start}.quote-list{gap:12px;display:grid}.quote-add-button{min-height:40px;color:var(--accent-strong);background:#fff6f0;border-color:#d96f2a;border-radius:11px;padding:8px 16px;font-weight:500}.quote-add-button:hover:not(:disabled){border-color:var(--accent);box-shadow:0 8px 18px #e5772c14}.quote-summary-compact .detail-item{background:#fff;padding:14px 15px}.quote-summary-compact .detail-item dd{color:var(--text);font-size:1.05rem;font-weight:600;line-height:1.1}.quote-mixed-badge{color:#35638f;background:#f0f7ff;border-radius:999px;width:fit-content;margin:-2px 0 10px;padding:4px 9px;font-size:.72rem;font-weight:500;display:inline-flex}.quote-card-v2{background:#fff;border:1px solid #dbe5f0;border-radius:14px;padding:14px}.quote-card-header,.quote-card-footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.quote-card-header{padding-bottom:12px}.quote-card-header strong,.quote-card-header span,.quote-card-body span,.quote-card-body strong{display:block}.quote-card-header strong{color:var(--text);font-size:.98rem;font-weight:600}.quote-card-header span,.quote-card-body span{color:var(--muted);font-size:.74rem;font-weight:400}.quote-card-body{border-top:1px solid #edf2f7;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:12px 0;display:grid}.quote-card-body strong{color:var(--text);min-width:0;margin-top:4px;font-size:.9rem;font-weight:500}.quote-card-footer{border-top:1px solid #edf2f7;justify-content:flex-end;padding-top:12px}.quote-card-footer button,.quote-card-footer .action-link{text-align:center;min-width:76px;min-height:30px;padding:5px 10px}.quote-file-name{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.quote-status-badge{color:#64748b;background:#f1f5f9;border-radius:999px;align-items:center;min-height:22px;padding:3px 8px;font-size:.7rem;font-weight:500;display:inline-flex}.quote-status-enviado{color:#2563eb;background:#eff6ff}.quote-status-en-seguimiento{color:#c2410c;background:#fff7ed}.quote-status-aprobado{color:#15803d;background:#ecfdf3}.quote-status-rechazado,.quote-status-vencido{color:#be123c;background:#fff1f2}.quote-status-reemplazado{color:#7e22ce;background:#faf5ff}.drawer-section:has(.activity-list){margin-top:24px}.activity-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.activity-list li{border-left:1px solid #dbe5ef;padding:1px 0 1px 11px;position:relative}.activity-list span{color:var(--muted);font-size:.68rem;font-weight:400;display:block}.activity-list strong{color:var(--text);margin-top:2px;font-size:.84rem;font-weight:500;display:block}.email-modal label{margin-bottom:10px}.email-modal textarea{line-height:1.45}.modal-form-grid{gap:10px}.file-note{color:#2b6844;background:#f5fbf7;border:1px solid #d5eadc;border-radius:10px;padding:8px 10px;font-size:.84rem;font-weight:400}.confirm-box{background:snow;border:1px solid #f4c7c3;border-radius:12px;gap:8px;margin-top:12px;padding:12px;display:grid}.confirm-box strong,.confirm-box span{color:var(--text);font-size:.88rem;font-weight:500}.confirm-box span{color:var(--muted);font-weight:400;line-height:1.35}.admin-zone p{color:var(--muted);margin:-2px 0 10px;font-size:.8rem;font-weight:400;line-height:1.35}.admin-zone{border-top-color:#f3d1cf;margin-top:14px}.admin-zone h3{color:#8a2d27;font-size:.92rem;font-weight:500}.danger-button{color:#b42318;background:snow;border-color:#f2b8b5;min-height:32px;padding:6px 11px}.danger-button:hover:not(:disabled){border-color:#e98f89;box-shadow:0 8px 18px #b4231814}.copy-note{color:#14733f;background:#eaf8f0;border-radius:8px;margin-bottom:10px;padding:8px 10px;font-weight:500}@media (width<=1180px){.crm-app{grid-template-columns:1fr}.crm-sidebar{border-right:0;border-bottom:1px solid var(--border);height:auto;padding:12px;position:static}.sidebar-logo,.sidebar-footer{display:none}.sidebar-nav{gap:8px;display:flex;overflow-x:auto}.sidebar-nav button{flex:none}.filters-card{grid-template-columns:repeat(2,minmax(0,1fr))}.section-hero,.page-hero{height:210px}.section-hero-content,.page-hero-content{max-width:calc(100% - 48px);bottom:28px;left:24px}.stage-grid,.placeholder-grid,.campaign-grid,.reports-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.report-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.campaign-report-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-grid{grid-template-columns:1fr}.kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.search-card-grid{grid-template-columns:1fr}.prospect-table-desktop{display:none}.prospect-cards-mobile{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.prospect-mobile-card{border:1px solid var(--border);background:#fbfcfe;border-radius:12px;gap:10px;min-width:0;padding:11px;display:grid}.prospect-card-header{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.prospect-card-header>div{min-width:0}.prospect-card-header span,.prospect-card-grid span,.prospect-card-action span{color:var(--muted);font-size:.72rem;display:block}.prospect-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.prospect-card-grid>div,.prospect-card-action{background:#fff;border:1px solid #e8eef5;border-radius:10px;min-width:0;padding:9px}.prospect-card-grid strong,.prospect-card-grid small,.prospect-card-action p,.prospect-card-action small{overflow-wrap:anywhere;margin:2px 0 0;display:block}.prospect-card-grid strong{color:var(--text);font-size:.84rem;font-weight:500}.prospect-card-grid small,.prospect-card-action small{color:var(--muted);font-size:.74rem}.prospect-card-action p{color:#53647a;font-size:.82rem;line-height:1.25}.prospect-mobile-card .table-actions{grid-template-columns:repeat(3,minmax(0,1fr));display:grid}.prospect-mobile-card .table-actions button{width:100%}}@media (width<=760px){.crm-main,.crm-main.view-base{padding:0}.content-inner,.base-content-inner{padding:16px 10px 24px}.crm-header{flex-direction:column;align-items:stretch}.base-pill{min-width:0}.kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filters-card,.stage-grid,.placeholder-grid,.campaign-grid,.reports-grid,.campaign-report-grid{grid-template-columns:1fr}.section-hero,.page-hero{border-radius:0;height:190px;margin-bottom:0}.section-hero-overlay,.page-hero-overlay{background:linear-gradient(90deg,#071223db 0%,#071223ad 48%,#07122338 100%)}.section-hero-content,.page-hero-content{max-width:calc(100% - 36px);bottom:20px;left:18px}.section-hero-eyebrow,.page-hero-eyebrow{margin-bottom:6px;font-size:.72rem}.section-hero-title,.page-hero-content h1{font-size:clamp(1.75rem,9vw,2.35rem)}.section-hero-subtitle{margin-top:8px;font-size:.82rem}.section-hero-stats,.page-hero-stats{gap:8px 12px;margin-top:12px;font-size:.78rem}.report-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.wide-report{grid-column:auto}.search-panel form{grid-template-columns:1fr}.wide-field{grid-column:auto}.prospect-cards-mobile{grid-template-columns:1fr;gap:8px;display:grid}.prospect-card-grid,.prospect-mobile-card .table-actions{grid-template-columns:1fr}.pagination-bar{justify-content:space-between}.pagination-pages{display:none}.pagination-mobile-label{display:inline-flex}.detail-grid,.drawer-form-grid,.modal-form-grid,.quote-summary-grid,.section-heading-row,.quote-card-v2,.quote-card-body,.quote-summary-compact{grid-template-columns:1fr}.section-heading-row{flex-direction:column;align-items:stretch}.quote-card-header,.quote-card-footer{flex-direction:column;align-items:flex-start}.quote-card-footer button,.quote-card-footer .action-link,.prospect-drawer,.email-modal{width:100%}}
