.li-page{background:#f6f7fb;min-height:100vh;padding:24px!important}.li-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px;margin-bottom:22px;background:#fff;border:1px solid #e7e9ef;border-radius:18px}.li-hero h2{margin:4px 0}.li-hero p,.li-section-head p{margin:0;color:#667085}.li-eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:.72rem;font-weight:800;color:#e41f13}.li-wizard{padding:0 24px 24px}.li-steps{display:grid;grid-template-columns:repeat(5,1fr);border-bottom:1px solid #eaecf0;margin-bottom:24px}.li-steps button{border:0;background:none;padding:20px 8px;color:#98a2b3;font-weight:600}.li-steps b{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#f2f4f7;margin-right:8px}.li-steps button.active{color:#e41f13;border-bottom:2px solid #e41f13}.li-steps button.active b,.li-steps button.done b{background:#e41f13;color:#fff}.li-step{display:none}.li-step.active{display:block}.li-drop{text-align:center;border:2px dashed #d0d5dd;border-radius:16px;padding:48px 20px;background:#fcfcfd;transition:.2s}.li-drop.drag{border-color:#e41f13;background:#fff4f3}.li-drop>i{font-size:48px;color:#e41f13}.li-drop h4{margin-top:10px}.li-drop p{color:#667085}.li-section-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0}.li-section-head h4{margin:0 0 4px}.li-map-card{border:1px solid #eaecf0;border-radius:12px;padding:14px;background:#fff}.li-map-card label{font-weight:700;margin-bottom:7px}.li-validation{text-align:center;padding:36px;border:1px solid #eaecf0;border-radius:16px;background:#fcfcfd}.li-validation>i{font-size:44px;color:#e41f13}.li-validation p{color:#667085;max-width:650px;margin:8px auto 20px}.li-validation+div article{display:flex;flex-direction:column;padding:18px;border-radius:12px;background:#f8fafc}.li-validation+div strong{font-size:1.7rem}.li-validation+div span{color:#667085}.li-validation+div .ok{background:#ecfdf3}.li-validation+div .bad{background:#fff1f0}.li-validation+div .warn{background:#fffaeb}.li-preview{max-height:430px;border:1px solid #eaecf0;border-radius:12px}.li-preview thead{position:sticky;top:0;background:#f8fafc;z-index:2}.li-preview td,.li-preview th{white-space:nowrap}.li-executives{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.li-exec{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid #eaecf0;border-radius:12px}.li-exec input{width:18px;height:18px}.li-exec b{display:block}.li-exec small{color:#667085}.li-distribution{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.li-distribution div{padding:12px;background:#f8fafc;border-radius:10px;display:flex;justify-content:space-between}.li-status{font-size:.72rem;padding:.3rem .55rem;border-radius:999px;background:#f2f4f7}.li-status.COMPLETED{background:#ecfdf3;color:#027a48}.li-status.FAILED{background:#fff1f0;color:#b42318}@media(max-width:767px){.li-page{padding:10px!important}.li-hero{padding:18px}.li-steps span{display:none}.li-wizard{padding:0 14px 18px}.li-drop{padding:30px 12px}}
.li-row-attention>td:first-child{border-left:3px solid #f04438}.li-cell-error{background:#fff1f0!important;color:#912018}.li-cell-error small{display:block;max-width:220px;margin-top:4px;color:#b42318;white-space:normal;font-size:.72rem}.li-row-errors{margin:8px 0 0;padding-left:18px;max-width:260px;color:#b42318;font-size:.75rem;white-space:normal}.li-row-actions{display:flex;gap:6px;position:sticky;right:0;background:#fff;z-index:1}.li-progress-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}.li-progress-summary article{padding:14px;border:1px solid #eaecf0;border-radius:12px;background:#f8fafc}.li-progress-summary strong{display:block;font-size:1.45rem;color:#b42318}.li-progress-summary span{font-size:.75rem;color:#667085}.li-assignee-progress{display:grid;gap:10px}.li-assignee-progress>article{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px;border:1px solid #eaecf0;border-radius:12px}.li-assignee-progress small{display:block;color:#667085}.li-progress-chips{display:flex;flex-wrap:wrap;gap:6px}.li-progress-chips span{padding:5px 8px;border-radius:999px;background:#f2f4f7;font-size:.72rem}.li-status.ASSIGNED{background:#fff4e5;color:#9a6700}.li-status.CONTACTED,.li-status.QUALIFIED{background:#eef4ff;color:#3538cd}.li-status.PROPOSAL,.li-status.NEGOTIATION{background:#f4f3ff;color:#5925dc}.li-status.CONVERTED{background:#ecfdf3;color:#027a48}.li-status.LOST{background:#fff1f0;color:#b42318}@media(max-width:767px){.li-assignee-progress>article{align-items:flex-start;flex-direction:column}.li-row-actions{position:static}}

:root[data-bs-theme="dark"] .li-page { color: var(--bs-body-color); background: var(--bs-body-bg); }
:root[data-bs-theme="dark"] .li-hero,
:root[data-bs-theme="dark"] .li-map-card,
:root[data-bs-theme="dark"] .li-validation,
:root[data-bs-theme="dark"] .li-exec,
:root[data-bs-theme="dark"] .li-assignee-progress > article {
  color: var(--bs-body-color);
  background: var(--bs-tertiary-bg);
  border-color: var(--bs-border-color);
}
:root[data-bs-theme="dark"] .li-drop,
:root[data-bs-theme="dark"] .li-validation + div article,
:root[data-bs-theme="dark"] .li-distribution div,
:root[data-bs-theme="dark"] .li-progress-summary article,
:root[data-bs-theme="dark"] .li-preview thead {
  color: var(--bs-body-color);
  background: var(--bs-secondary-bg);
}
:root[data-bs-theme="dark"] .li-page h2,
:root[data-bs-theme="dark"] .li-page h3,
:root[data-bs-theme="dark"] .li-page h4,
:root[data-bs-theme="dark"] .li-page h5 { color: var(--bs-body-color); }
:root[data-bs-theme="dark"] .li-hero p,
:root[data-bs-theme="dark"] .li-section-head p,
:root[data-bs-theme="dark"] .li-drop p,
:root[data-bs-theme="dark"] .li-validation p,
:root[data-bs-theme="dark"] .li-exec small { color: var(--bs-secondary-color); }
:root[data-bs-theme="dark"] .li-page .form-control,
:root[data-bs-theme="dark"] .li-page .form-select { color: var(--bs-body-color); background-color: var(--bs-body-bg); border-color: var(--bs-border-color); }
:root[data-bs-theme="dark"] .li-row-actions { background: var(--bs-tertiary-bg); }
@media (max-width: 575.98px) {
  .li-hero { align-items: flex-start; flex-direction: column; }
  .li-steps { grid-template-columns: repeat(5, minmax(42px, 1fr)); overflow-x: auto; }
  .li-preview { max-width: calc(100vw - 36px); }
}

/* Dropzone: calmer surface in dark mode */
:root[data-bs-theme="dark"] .li-drop{background:rgba(255,255,255,.03);border-color:#3a4260;color:var(--bs-body-color)}
:root[data-bs-theme="dark"] .li-drop:hover{background:rgba(228,31,19,.08);border-color:#e41f13}
