/* 1.11.27: business-wide CRM workspace. Green / charcoal / white branding. */
.lsl-admin-app .lsl-crm-workspace {margin-bottom:32px;}
.lsl-crm-workspace .lsl-admin-section-head {margin-bottom:16px;}
.lsl-crm-kpis {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 20px;}
.lsl-crm-kpis article {min-width:0;background:#fff;border:1px solid #dae8de;border-radius:15px;padding:18px;box-shadow:0 3px 12px rgba(18,59,31,.035);}
.lsl-crm-kpis article>span,.lsl-crm-report-summary span {font-size:12px;color:#506958;font-weight:750;display:block;line-height:1.35;}
.lsl-crm-kpis article strong {color:#12341c;display:block;font-size:25px;line-height:1.4;margin-top:5px;overflow-wrap:anywhere;}
.lsl-crm-kpis article small {display:block;color:#667e6c;font-size:11px;line-height:1.5;}
.lsl-crm-top-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;align-items:stretch;margin-bottom:17px;}
.lsl-crm-top-grid>.lsl-admin-card {min-width:0;margin:0;}
.lsl-crm-field {font-size:12px;font-weight:750;color:#2a4b35;display:flex;flex-direction:column;gap:7px;}
.lsl-crm-field select,.lsl-crm-copy input,.lsl-crm-search input,.lsl-crm-goals-form input,.lsl-crm-edit-form input,.lsl-crm-edit-form select,.lsl-crm-edit-form textarea {display:block;box-sizing:border-box;min-width:0;width:100%;padding:11px 12px;border:1px solid #cbdccc;border-radius:10px;font-size:13px;background:#fff;color:#123b20;}
.lsl-crm-copy {display:flex;align-items:center;gap:8px;margin-top:12px;}
.lsl-crm-copy>input {flex:1;min-width:0;font-size:12px;}
.lsl-crm-copy .lsl-admin-button {flex:0 0 auto;white-space:nowrap;}
.lsl-crm-top-grid .lsl-admin-hint {margin-top:12px;}
.lsl-crm-goals-form {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 12px;align-items:end;}
.lsl-crm-goals-form label {font-size:12px;font-weight:750;display:flex;flex-direction:column;gap:6px;color:#2b4b34;}
.lsl-crm-goals-form .lsl-admin-button {grid-column:1 / -1;justify-self:start;}
.lsl-crm-goal-progress {font-size:12px;color:#425e49;margin:13px 0 5px;}
.lsl-crm-goal-progress strong {color:#10572b;}
.lsl-crm-progress {height:8px;overflow:hidden;border-radius:999px;background:#e5f0e7;}
.lsl-crm-progress i {display:block;height:100%;max-width:100%;background:#178d3c;border-radius:999px;}
.lsl-crm-add-details>summary {display:inline-block;border:1px solid #badcc4;background:#edf9f0;color:#165e2f;padding:11px 17px;border-radius:10px;cursor:pointer;font-size:13px;font-weight:800;}
.lsl-crm-add-details[open]>summary {margin-bottom:18px;}
.lsl-crm-add-details .lsl-admin-form {padding:10px 0 8px;}
.lsl-crm-view-actions {display:flex;gap:8px;flex-wrap:wrap;}
.lsl-crm-search {display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:750;color:#365c40;max-width:320px;margin:6px 0 13px;}
.lsl-crm-edit {position:relative;}
.lsl-crm-edit>summary {cursor:pointer;color:#117a32;font-weight:750;font-size:12px;white-space:nowrap;}
.lsl-crm-edit[open] {z-index:4;}
.lsl-crm-edit-form {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:16px;background:#fff;border:1px solid #9cc4a7;box-shadow:0 16px 48px rgba(0,24,8,.18);border-radius:13px;position:absolute;top:100%;right:-40px;width:min(460px,86vw);z-index:6;text-align:left;}
.lsl-crm-edit-form label {display:flex;flex-direction:column;font-size:11px;font-weight:750;gap:5px;white-space:normal;}
.lsl-crm-edit-form label:nth-last-of-type(1) {grid-column:1 / -1;}
.lsl-crm-edit-form .lsl-admin-button {grid-column:1 / -1;justify-self:start;}
.lsl-crm-retention-metrics {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:15px 0 20px;}
.lsl-crm-retention-metrics>div {border:1px solid #dcebe0;background:#f5fbf6;border-radius:10px;padding:15px;}
.lsl-crm-retention-metrics strong {display:block;font-size:22px;color:#114d25;}
.lsl-crm-retention-metrics small {font-size:11px;color:#58705e;}
.lsl-crm-graph {padding:14px 8px 7px;min-width:0;}
.lsl-crm-graph-legend {display:flex;gap:18px;flex-wrap:wrap;font-size:11px;color:#5b755e;margin:0 0 17px;}
.lsl-crm-graph-legend span::before {content:' ';display:inline-block;width:11px;height:11px;margin-right:6px;background:#158f40;border-radius:3px;vertical-align:-1px;}
.lsl-crm-graph-legend span:last-child::before {background:#222e26;}
.lsl-crm-graph-bars {display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;min-height:150px;border-bottom:1px solid #cbdccc;}
.lsl-crm-graph-month {display:flex;flex-direction:column;min-width:0;justify-content:flex-end;align-items:center;}
.lsl-crm-graph-pair {height:130px;width:100%;display:flex;gap:3px;align-items:flex-end;justify-content:center;}
.lsl-crm-bar {width:min(22px,45%);min-height:2px;border-radius:3px 3px 0 0;background:#158f40;}
.lsl-crm-bar.is-canceled {background:#25372c;}
.lsl-crm-graph-month small {font-size:10px;color:#637766;margin:8px 0;}
.lsl-crm-report-summary {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:13px 0 20px;}
.lsl-crm-report-summary>div {padding:12px;background:#f0f9f2;border:1px solid #d4ead9;border-radius:10px;min-width:0;}
.lsl-crm-report-summary strong {display:block;font-size:18px;color:#164929;margin-top:5px;overflow-wrap:anywhere;}
.lsl-crm-workspace .lsl-admin-card {margin-bottom:17px;}
.lsl-crm-workspace .lsl-admin-row-actions {display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.lsl-crm-workspace .lsl-crm-delete-form {margin:0;}
.lsl-crm-workspace .lsl-admin-table {min-width:590px;}
.lsl-crm-workspace .lsl-admin-button {background:#158d37;color:#fff;border:1px solid #158d37;}
.lsl-crm-workspace .lsl-admin-button:hover,.lsl-crm-workspace .lsl-admin-button:focus-visible {background:#101e16;color:#fff;border-color:#101e16;}
.lsl-crm-workspace .lsl-admin-button.ghost {background:#f6fbf7;color:#156832;border-color:#cbe3d0;}
.lsl-crm-workspace .lsl-admin-button.ghost:hover {background:#15291a;color:#fff;border-color:#15291a;}
.lsl-crm-workspace .lsl-admin-link-button.danger {color:#a02e28;}
.lsl-crm-workspace .lsl-admin-link-button.danger:hover {background:#a02e28;color:#fff;}
.lsl-crm-workspace .lsl-admin-filter-form {margin-top:0;}
.lsl-crm-workspace .lsl-invoice-wizard-modal {z-index:10050;}
@media (max-width:1150px){.lsl-crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.lsl-crm-top-grid{grid-template-columns:1fr}.lsl-crm-report-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:700px){.lsl-crm-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.lsl-crm-kpis article{padding:13px}.lsl-crm-kpis article strong{font-size:18px}.lsl-crm-top-grid{grid-template-columns:1fr}.lsl-crm-copy{flex-wrap:wrap}.lsl-crm-copy .lsl-admin-button{width:100%}.lsl-crm-report-summary{grid-template-columns:1fr}.lsl-crm-retention-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.lsl-crm-edit-form{right:auto;left:0;width:min(420px,76vw);grid-template-columns:1fr}.lsl-crm-edit-form label:nth-last-of-type(1){grid-column:auto}.lsl-crm-goals-form{grid-template-columns:1fr}.lsl-crm-graph-bars{gap:3px}.lsl-crm-graph-month small{font-size:9px}.lsl-crm-view-actions {width:100%;}}

/* v1.11.28: color-coded, collapsible management workspaces. */
.lsl-crm-workspace .lsl-crm-overview{padding:15px;background:linear-gradient(130deg,#e6f7eb,#f3fbf5);border:1px solid #d0e7d5;border-radius:18px}
.lsl-crm-section{--lsl-accent:#238748;--lsl-soft:#eaf6ed;display:block;min-width:0;margin:18px 0;border:1px solid color-mix(in srgb,var(--lsl-accent) 24%,#fff);background:var(--lsl-soft);border-radius:17px;padding:12px 13px 1px}
.lsl-crm-section--prospects{--lsl-accent:#9a6221;--lsl-soft:#fff4e3}
.lsl-crm-section--pipeline{--lsl-accent:#336fae;--lsl-soft:#eaf4ff}
.lsl-crm-section--invoices{--lsl-accent:#ad7131;--lsl-soft:#fff5e7}
.lsl-crm-section--customers{--lsl-accent:#16815b;--lsl-soft:#e9f9f1}
.lsl-crm-section--trends{--lsl-accent:#8256b5;--lsl-soft:#f5edff}
.lsl-crm-section--reports{--lsl-accent:#344d9a;--lsl-soft:#eef1ff}
.lsl-crm-section--records{--lsl-accent:#21808a;--lsl-soft:#e5f8fa}
.lsl-crm-section--leads{--lsl-accent:#8a6261;--lsl-soft:#f9efed}
.lsl-crm-section-heading{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 13px 20px;margin:0;cursor:pointer;color:#152b28;border-left:5px solid var(--lsl-accent);border-radius:8px}
.lsl-crm-section-heading::-webkit-details-marker{display:none}
.lsl-crm-section-heading:focus-visible{outline:3px solid var(--lsl-accent);outline-offset:3px}
.lsl-crm-section-heading>span:first-child{display:flex;flex-direction:column;gap:3px;min-width:0}
.lsl-crm-section-heading small{font-weight:900;letter-spacing:.11em;font-size:.65rem;color:var(--lsl-accent)}
.lsl-crm-section-heading strong{font-size:1.19rem;font-weight:890;line-height:1.25}
.lsl-crm-section-heading em{font-size:.75rem;font-weight:550;font-style:normal;color:#54666a;line-height:1.4}
.lsl-crm-chevron{flex:0 0 auto;font-size:1.6rem;line-height:1;border-radius:9px;padding:6px 13px;background:#fff;color:var(--lsl-accent);border:1px solid rgba(0,0,0,.07);transition:transform .14s}
.lsl-crm-section[open]>.lsl-crm-section-heading .lsl-crm-chevron{transform:rotate(180deg)}
.lsl-crm-section>.lsl-admin-card,.lsl-crm-section>.lsl-crm-top-grid{margin:0 0 12px}
.lsl-crm-section>.lsl-admin-card{background:#fff;border:1px solid rgba(0,0,0,.07);box-shadow:0 4px 15px rgba(6,35,16,.03)}
.lsl-crm-section[hidden],.lsl-crm-report-filters [hidden],.lsl-crm-overlay[hidden],.lsl-crm-overlay [hidden]{display:none!important}
.lsl-crm-report-summary--four{grid-template-columns:repeat(4,minmax(0,1fr))}
.lsl-crm-workspace .lsl-crm-report-filters{margin-bottom:16px}
.lsl-crm-report-filters>label{flex:1 1 175px}
.lsl-crm-report-filters>label:first-of-type{flex:2 1 230px}
.lsl-crm-report-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center;margin-bottom:20px}
.lsl-crm-report-actions form{margin:0}
.lsl-crm-workspace [data-lsl-crm-report] h4{font-size:.92rem;margin:23px 0 10px;color:#293d50}
.lsl-crm-print-header{display:none}
.lsl-admin-filter-explain{max-width:280px;flex:1 1 180px;font-size:11px;color:#62736a;margin:0;line-height:1.5}
.lsl-crm-workspace .lsl-admin-link-button.danger{color:#a12f2f}
.lsl-crm-workspace .lsl-admin-link-button.danger:hover{color:#fff;background:#992c2c}

/* Central dialogs are moved to document.body so no table scrollbar can clip them. */
.lsl-crm-overlay,.lsl-crm-overlay *{box-sizing:border-box}
.lsl-crm-overlay{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:20px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#172a24}
.lsl-crm-overlay-shade{position:absolute;inset:0;background:rgba(5,20,22,.72);backdrop-filter:blur(3px)}
.lsl-crm-overlay-panel{position:relative;z-index:1;width:min(930px,100%);max-height:min(92dvh,960px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border-radius:20px;padding:26px 31px 30px;box-shadow:0 27px 95px rgba(0,0,0,.34);outline:none}
.lsl-crm-overlay-header{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:25px;padding:0 0 17px;border-bottom:1px solid #e1e9e5}
.lsl-crm-overlay-header small{font-size:11px;letter-spacing:.13em;font-weight:900;color:#127142}
.lsl-crm-overlay-header h3{font-size:clamp(1.25rem,2.7vw,1.8rem);line-height:1.2;letter-spacing:-.03em;margin:7px 0 5px;color:#18352c}
.lsl-crm-overlay-header p{font-size:13px;margin:0;color:#678074}
.lsl-crm-overlay-close{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;border:0;background:#f1f5f2;border-radius:11px;font-size:28px;color:#163624;cursor:pointer;line-height:1}
.lsl-crm-overlay-close:hover,.lsl-crm-overlay-close:focus-visible{background:#dfecdf;color:#0f5126}
.lsl-crm-overlay .lsl-admin-fields{gap:18px 20px}
.lsl-crm-overlay .lsl-admin-fields>label{display:flex;flex-direction:column;gap:7px;font-size:13px;font-weight:750;min-width:0;color:#314a3d}
.lsl-crm-overlay .lsl-admin-fields input,.lsl-crm-overlay .lsl-admin-fields select,.lsl-crm-overlay .lsl-admin-fields textarea{font-family:inherit;font-size:15px;font-weight:500;line-height:1.4;box-sizing:border-box;width:100%;min-height:45px;border:1px solid #c9dbcf;border-radius:10px;background:#fff;color:#152d1e;padding:12px}
.lsl-crm-overlay .lsl-admin-fields input:focus,.lsl-crm-overlay .lsl-admin-fields select:focus,.lsl-crm-overlay .lsl-admin-fields textarea:focus{outline:3px solid rgba(29,151,64,.18);border-color:#198e40}
.lsl-crm-overlay .lsl-admin-fields textarea{resize:vertical}
.lsl-crm-overlay .lsl-admin-fields input[readonly]{background:#f4f6f3;color:#647168}
.lsl-crm-overlay .lsl-admin-fields small{font-size:11px;font-weight:500;color:#728373}
.lsl-crm-overlay .lsl-admin-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:22px}
.lsl-crm-overlay .lsl-admin-button{min-height:43px}
.lsl-crm-modal-danger{padding:18px 0 0;margin-top:23px;border-top:1px solid #efdbd7}
.lsl-crm-modal-danger p{font-size:12px;line-height:1.65;color:#87504a;margin:0 0 10px}
.lsl-crm-modal-danger .lsl-admin-link-button{border:1px solid #dfb5ae;border-radius:9px;padding:10px 13px;color:#a12e2d;font-weight:850;background:#fff7f6;cursor:pointer}
.lsl-crm-modal-danger .lsl-admin-link-button:hover{background:#9d2929;color:#fff}
@media(max-width:1140px){.lsl-crm-report-summary--four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
  .lsl-crm-section{padding:8px 8px 1px;margin:13px 0;border-radius:12px}
  .lsl-crm-section-heading{padding:10px 10px 14px;gap:6px}
  .lsl-crm-section-heading strong{font-size:1rem}
  .lsl-crm-section-heading em{font-size:11px}
  .lsl-crm-chevron{font-size:1.2rem;padding:5px 9px}
  .lsl-crm-section>.lsl-admin-card{padding:14px 12px}
  .lsl-crm-workspace .lsl-admin-table{min-width:580px}
  .lsl-crm-report-summary--four{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  .lsl-crm-report-summary--four>div{padding:10px}
  .lsl-crm-report-summary--four strong{font-size:15px}
  .lsl-crm-overlay{padding:0;align-items:stretch}
  .lsl-crm-overlay-panel{width:100%;height:100dvh;max-height:100dvh;border-radius:0;padding:22px 17px 42px}
  .lsl-crm-overlay .lsl-admin-fields{grid-template-columns:1fr;gap:14px}
  .lsl-crm-overlay .lsl-admin-fields>.lsl-admin-field-wide{grid-column:auto}
  .lsl-crm-overlay .lsl-admin-actions>.lsl-admin-button{flex:1 1 140px}
  /* Small-screen CRM lists become readable cards rather than side-scroll editors. */
  #lsl-crm-prospect-table,#lsl-admin-customers{min-width:0;width:100%;display:block}
  #lsl-crm-prospect-table thead,#lsl-admin-customers thead{display:none}
  #lsl-crm-prospect-table tbody,#lsl-admin-customers tbody{display:grid;grid-template-columns:1fr;gap:12px}
  #lsl-crm-prospect-table tbody tr,#lsl-admin-customers tbody tr{display:block;padding:10px 13px;background:#fff;border:1px solid #dfe8e4;border-radius:12px;min-width:0}
  #lsl-crm-prospect-table tbody tr[hidden],#lsl-admin-customers tbody tr[hidden]{display:none!important}
  #lsl-crm-prospect-table td,#lsl-admin-customers td{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:9px 0;border:0;border-bottom:1px solid #f0f3f0;text-align:right;min-width:0;overflow-wrap:anywhere;font-size:12px}
  #lsl-crm-prospect-table td:last-child,#lsl-admin-customers td:last-child{border:0;display:block;text-align:left}
  #lsl-crm-prospect-table td:not([colspan])::before,#lsl-admin-customers td:not([colspan])::before{color:#647969;font-size:11px;font-weight:750;line-height:1.6;text-align:left;flex:0 0 75px}
  #lsl-crm-prospect-table td:nth-child(1)::before{content:'Prospect'}
  #lsl-crm-prospect-table td:nth-child(2)::before{content:'Sales rep'}
  #lsl-crm-prospect-table td:nth-child(3)::before{content:'Stage'}
  #lsl-crm-prospect-table td:nth-child(4)::before{content:'Follow-up'}
  #lsl-admin-customers td:nth-child(1)::before{content:'Customer'}
  #lsl-admin-customers td:nth-child(2)::before{content:'Added'}
  #lsl-admin-customers td:nth-child(3)::before{content:'Plan'}
  #lsl-admin-customers td:nth-child(4)::before{content:'Payment'}
  #lsl-admin-customers td:nth-child(5)::before{content:'Sales rep'}
  #lsl-crm-prospect-table td strong,#lsl-admin-customers td strong{overflow-wrap:anywhere}
  #lsl-crm-prospect-table td small,#lsl-admin-customers td small{word-break:break-word}
  .lsl-crm-workspace .lsl-admin-row-actions{justify-content:flex-start;gap:10px}
  .lsl-crm-report-actions>.lsl-admin-button,.lsl-crm-report-actions>form,.lsl-crm-report-actions>form .lsl-admin-button{width:100%}
  .lsl-crm-workspace .lsl-admin-table-scroll{max-width:100%;-webkit-overflow-scrolling:touch}
}
@media print{
  body.lsl-crm-print-report,body.lsl-crm-print-report .lsl-admin-app{background:#fff!important;color:#000!important}
  body.lsl-crm-print-report .lsl-admin-app *{visibility:hidden!important}
  body.lsl-crm-print-report [data-lsl-crm-report],body.lsl-crm-print-report [data-lsl-crm-report] *{visibility:visible!important}
  body.lsl-crm-print-report [data-lsl-crm-report]{position:absolute!important;left:0;top:0;width:100%!important;margin:0!important;padding:0!important;background:#fff!important;border:none!important;box-shadow:none!important;color:#000!important}
  body.lsl-crm-print-report .lsl-crm-print-header{display:block!important;margin-bottom:20px;border-bottom:2px solid #222}
  body.lsl-crm-print-report .lsl-crm-print-header h2{font-size:19px;margin:0 0 8px}
  body.lsl-crm-print-report .lsl-crm-print-header p{font-size:11px;margin:0 0 11px}
  body.lsl-crm-print-report .lsl-crm-report-actions,body.lsl-crm-print-report .lsl-crm-report-filters,body.lsl-crm-print-report [data-lsl-crm-report]>.lsl-admin-card-header,body.lsl-crm-print-report .lsl-admin-hint{display:none!important}
  body.lsl-crm-print-report .lsl-admin-table-scroll{overflow:visible!important}
  body.lsl-crm-print-report .lsl-admin-table{min-width:0!important;width:100%!important;font-size:9px!important}
  body.lsl-crm-print-report .lsl-admin-table td,body.lsl-crm-print-report .lsl-admin-table th{padding:7px 5px!important}
  body.lsl-crm-print-report .lsl-crm-report-summary{grid-template-columns:repeat(4,1fr)!important;gap:8px!important}
  body.lsl-crm-print-report .lsl-crm-report-summary>div{break-inside:avoid;padding:7px;border:1px solid #aaa!important;background:white!important}
  body.lsl-crm-print-report .lsl-crm-report-summary strong{font-size:12px!important;color:#000}
  body.lsl-crm-print-report .lsl-crm-report-summary span{font-size:9px!important}
  body.lsl-crm-print-report h4{break-after:avoid}
  body.lsl-crm-print-report tr{break-inside:avoid}
  @page{size:auto;margin:12mm}
}

.lsl-crm-print-only{display:none!important}
@media print{body.lsl-crm-print-report tr.lsl-crm-print-only{display:table-row!important}}

/* v1.11.29 Super Admin: protected demo customer deletion switch */
.lsl-crm-demo-protection{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;margin:0 0 22px;padding:18px 20px;border-radius:13px;border:1px solid #cbdccf;background:#f5faf6}
.lsl-crm-demo-protection--enabled{background:#fff3ee;border-color:#e6af97}
.lsl-crm-demo-protection-copy{display:flex;flex-direction:column;gap:5px;flex:1 1 330px;min-width:0}
.lsl-crm-demo-protection-copy strong{font-size:16px;color:#1d392b;font-weight:850}
.lsl-crm-demo-protection--enabled .lsl-crm-demo-protection-copy strong{color:#992f18}
.lsl-crm-demo-protection-copy span{font-size:13px;line-height:1.5;font-weight:700;color:#304b3b}
.lsl-crm-demo-protection-copy small{font-size:12px;line-height:1.5;color:#516456}
.lsl-crm-demo-protection form{margin:0;flex:0 0 auto}
.lsl-crm-demo-switch{display:flex;align-items:center;gap:10px;border:1px solid #bed4c6;border-radius:999px;background:#fff;color:#233d2c;padding:10px 15px;cursor:pointer;font-weight:800;font-size:13px;line-height:1.2;font-family:inherit;min-height:48px;white-space:nowrap}
.lsl-crm-demo-switch:hover{border-color:#147743;box-shadow:0 2px 10px rgba(0,0,0,.09)}
.lsl-crm-demo-switch:focus-visible{outline:3px solid #156e3f;outline-offset:3px}
.lsl-crm-demo-switch-track{display:block;position:relative;width:49px;height:26px;border-radius:999px;background:#b1bcb4;transition:background .2s}
.lsl-crm-demo-switch-thumb{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0003;transition:transform .2s}
.lsl-crm-demo-protection--enabled .lsl-crm-demo-switch-track{background:#bf3e27}
.lsl-crm-demo-protection--enabled .lsl-crm-demo-switch-thumb{transform:translateX(23px)}
.lsl-crm-demo-protection--enabled .lsl-crm-demo-switch-label{color:#a42e19}
@media(max-width:700px){.lsl-crm-demo-protection{padding:14px;gap:14px}.lsl-crm-demo-protection form,.lsl-crm-demo-switch{width:100%;justify-content:center}}

/* v1.11.31: Rep-inspired ADMIN dashboard composition, without changing rep styles. */
.lsl-admin-app--rep-inspired .lsl-crm-workspace{margin-bottom:22px}
.lsl-admin-app--rep-inspired .lsl-crm-top-filters{padding:12px 17px;background:#f7faf7;border:1px solid #e0eae3;border-radius:13px;margin-bottom:24px;display:flex;align-items:flex-end;gap:14px}
.lsl-admin-app--rep-inspired .lsl-crm-top-filters>label{max-width:350px;flex:1 1 230px}
.lsl-admin-app--rep-inspired .lsl-crm-top-filters .lsl-admin-filter-explain{margin:0;flex:3 1 275px;color:#66796d;font-size:12px;line-height:1.55}
.lsl-admin-app--rep-inspired .lsl-crm-top-filters .lsl-admin-button{min-width:115px}
.lsl-admin-app--rep-inspired .lsl-crm-kpis--rep{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:0 0 23px}
.lsl-admin-app--rep-inspired .lsl-crm-kpis--rep article{border-radius:17px;padding:24px 27px;min-height:114px;border:1px solid #e1e8e3;box-shadow:0 4px 14px rgba(14,42,25,.035)}
.lsl-admin-app--rep-inspired .lsl-crm-kpis--rep article>span{font-size:12px;font-weight:820;color:#61766b}
.lsl-admin-app--rep-inspired .lsl-crm-kpis--rep article strong{font-size:26px;font-weight:890;margin-top:12px;color:#182d20}
.lsl-admin-app--rep-inspired .lsl-crm-section{--lsl-accent:#147d3e;--lsl-soft:#fff;display:block;border:1px solid #e2eae4;background:#fff;border-radius:19px;padding:23px 26px;margin:20px 0;box-shadow:0 2px 12px rgba(14,43,27,.03);scroll-margin-top:20px}
.lsl-admin-app--rep-inspired .lsl-crm-section--leads{--lsl-accent:#0d873e;--lsl-soft:#eaf8ee;border-color:#b8dfc5;background:linear-gradient(115deg,#ecfaef,#f7fdf8);box-shadow:0 5px 20px rgba(12,119,53,.06)}
.lsl-admin-app--rep-inspired .lsl-crm-section-heading{padding:0 0 18px;border-left:none;border-radius:0;align-items:flex-start}
.lsl-admin-app--rep-inspired .lsl-crm-section-heading small{font-size:11px;letter-spacing:.07em;color:#11803e}
.lsl-admin-app--rep-inspired .lsl-crm-section-heading strong{font-size:22px;line-height:1.27;font-weight:870;color:#152e20}
.lsl-admin-app--rep-inspired .lsl-crm-section-heading em{font-size:13px;color:#607266;line-height:1.55;font-weight:490}
.lsl-admin-app--rep-inspired .lsl-crm-chevron{background:#f6fbf7;border:1px solid #d5e7d9;border-radius:9px;color:#177a3c;font-size:22px;padding:4px 10px}
.lsl-admin-app--rep-inspired .lsl-crm-section>.lsl-admin-card{border:none;box-shadow:none;background:transparent;padding:0;margin:0 0 3px}
.lsl-admin-app--rep-inspired .lsl-crm-section>.lsl-admin-card>.lsl-admin-card-header h3{display:none}
.lsl-admin-app--rep-inspired .lsl-crm-section .lsl-admin-card-header{margin:0 0 15px}
.lsl-admin-app--rep-inspired .lsl-crm-section--leads>.lsl-admin-card{background:#fff;border:1px solid #d4e9d8;border-radius:14px;padding:17px}
.lsl-admin-app--rep-inspired .lsl-crm-section .lsl-admin-table{min-width:0}
.lsl-admin-app--rep-inspired .lsl-crm-section .lsl-admin-table th{color:#7a8b80}
.lsl-admin-app--rep-inspired .lsl-crm-section .lsl-admin-table td{color:#33493b}
.lsl-admin-app--rep-inspired .lsl-crm-section .lsl-admin-table tr[data-lsl-crm-preview-row][hidden],.lsl-admin-app--rep-inspired #lsl-admin-customers tr[data-lsl-crm-preview-row][hidden]{display:none!important}
.lsl-admin-app--rep-inspired .lsl-crm-list-toggle{margin:13px 0 4px;min-height:38px;font-size:12px;padding:9px 14px}
.lsl-admin-app--rep-inspired .lsl-crm-list-toggle[hidden]{display:none!important}
.lsl-admin-app--rep-inspired .lsl-crm-entry-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:22px;margin:22px 0 20px}
.lsl-admin-app--rep-inspired .lsl-crm-entry-grid>.lsl-admin-card{height:100%;margin:0}
.lsl-admin-app--rep-inspired .lsl-crm-entry-right{min-width:0;display:flex;flex-direction:column;gap:19px}
.lsl-admin-app--rep-inspired .lsl-crm-entry-right>.lsl-admin-card{margin:0;min-width:0}
.lsl-admin-app--rep-inspired .lsl-crm-prospect-inline-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:17px 0 18px}
.lsl-admin-app--rep-inspired .lsl-crm-prospect-inline-fields>label{display:flex;flex-direction:column;gap:7px;min-width:0;color:#3d5945;font-size:13px;font-weight:780;line-height:1.35}
.lsl-admin-app--rep-inspired .lsl-crm-prospect-inline-fields input,.lsl-admin-app--rep-inspired .lsl-crm-prospect-inline-fields select,.lsl-admin-app--rep-inspired .lsl-crm-prospect-inline-fields textarea{box-sizing:border-box;min-width:0;width:100%;border:1px solid #cbded1;border-radius:9px;padding:10px 12px;font:inherit;font-size:14px;font-weight:500;min-height:43px;background:#fff;color:#263c2b}
.lsl-admin-app--rep-inspired .lsl-crm-prospect-inline-fields textarea{min-height:127px;resize:vertical}
.lsl-admin-app--rep-inspired .lsl-crm-prospect-inline-fields .lsl-crm-full-width{grid-column:1/-1}
.lsl-admin-app--rep-inspired .lsl-crm-prospect-inline-form>.lsl-admin-button{margin-top:4px}
.lsl-admin-app--rep-inspired .lsl-crm-entry-right .lsl-crm-copy{align-items:stretch;flex-wrap:wrap}
.lsl-admin-app--rep-inspired .lsl-crm-entry-right .lsl-crm-copy input{flex:1 1 100%;background:#fff}
.lsl-admin-app--rep-inspired .lsl-crm-entry-right .lsl-crm-copy .lsl-admin-button{width:auto;flex:0 0 auto}
.lsl-admin-app--rep-inspired .lsl-crm-entry-right .lsl-admin-hint{line-height:1.55}
.lsl-admin-app--rep-inspired .lsl-crm-goals-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:17px 0 15px}
.lsl-admin-app--rep-inspired .lsl-crm-goal-progress{line-height:1.65;color:#486551}
.lsl-admin-app--rep-inspired .lsl-crm-invoice-launch{padding:28px 30px}
.lsl-admin-app--rep-inspired .lsl-crm-invoice-launch h3{font-size:22px}
.lsl-admin-app--rep-inspired .lsl-crm-invoice-launch>p{font-size:13px;line-height:1.65;color:#607267;max-width:840px}
.lsl-admin-app--rep-inspired .lsl-crm-invoice-launch>.lsl-admin-button{margin:8px 0}
.lsl-admin-app--rep-inspired .lsl-crm-workspace .lsl-admin-button{background:#fff!important;border:1px solid #bddcc8!important;color:#185a30!important;border-radius:10px;box-shadow:none;min-height:39px}
.lsl-admin-app--rep-inspired .lsl-crm-workspace .lsl-admin-button:hover,.lsl-admin-app--rep-inspired .lsl-crm-workspace .lsl-admin-button:focus-visible{background:#eaf8ee!important;color:#0c5a28!important;border-color:#13853b!important}
.lsl-admin-app--rep-inspired .lsl-crm-retention-metrics>div{background:#fff;border:0;padding:13px 8px}
.lsl-admin-app--rep-inspired .lsl-crm-retention-metrics strong{color:#137a38;font-size:26px}
.lsl-admin-app--rep-inspired .lsl-crm-graph{border:1px solid #e2ede4;border-radius:13px;padding:17px;background:#fcfefd}
.lsl-admin-app--rep-inspired .lsl-crm-report-summary>div{background:#fff;border:1px solid #dce9df;padding:18px;border-radius:15px}
.lsl-admin-app--rep-inspired .lsl-crm-report-summary strong{color:#173922;font-size:22px}
.lsl-admin-app--rep-inspired .lsl-crm-report-filters{background:#f7faf8}
.lsl-admin-app--rep-inspired #lsl-crm-new-prospect{scroll-margin-top:22px}
.lsl-admin-app--rep-inspired #lsl-crm-records{margin-top:24px}
.lsl-admin-app--rep-inspired #lsl-crm-records>.lsl-admin-card{padding:0}
.lsl-admin-app--rep-inspired #lsl-crm-records .lsl-crm-demo-protection{border-radius:12px}
@media(max-width:820px){
 .lsl-admin-app--rep-inspired .lsl-crm-entry-grid{grid-template-columns:1fr;gap:17px}
 .lsl-admin-app--rep-inspired .lsl-crm-top-filters{padding:12px}
 .lsl-admin-app--rep-inspired .lsl-crm-kpis--rep{gap:10px}
 .lsl-admin-app--rep-inspired .lsl-crm-kpis--rep article{padding:16px;min-height:95px}
 .lsl-admin-app--rep-inspired .lsl-crm-kpis--rep article strong{font-size:21px}
 .lsl-admin-app--rep-inspired .lsl-crm-section{padding:17px;margin:15px 0;border-radius:15px}
 .lsl-admin-app--rep-inspired .lsl-crm-section-heading strong{font-size:19px}
 .lsl-admin-app--rep-inspired .lsl-crm-invoice-launch{padding:20px}
}
@media(max-width:580px){
 .lsl-admin-app--rep-inspired .lsl-crm-top-filters>label,.lsl-admin-app--rep-inspired .lsl-crm-top-filters .lsl-admin-filter-explain{flex-basis:100%;max-width:100%}
 .lsl-admin-app--rep-inspired .lsl-crm-top-filters .lsl-admin-button{width:100%}
 .lsl-admin-app--rep-inspired .lsl-crm-kpis--rep{grid-template-columns:repeat(2,minmax(0,1fr))}
 .lsl-admin-app--rep-inspired .lsl-crm-kpis--rep article>span{font-size:11px}
 .lsl-admin-app--rep-inspired .lsl-crm-kpis--rep article strong{font-size:17px}
 .lsl-admin-app--rep-inspired .lsl-crm-prospect-inline-fields{grid-template-columns:1fr;gap:13px}
 .lsl-admin-app--rep-inspired .lsl-crm-prospect-inline-fields .lsl-crm-full-width{grid-column:auto}
 .lsl-admin-app--rep-inspired .lsl-crm-goals-form{grid-template-columns:1fr}
 .lsl-admin-app--rep-inspired .lsl-crm-section-heading{gap:10px}
 .lsl-admin-app--rep-inspired .lsl-crm-section-heading em{font-size:12px}
 .lsl-admin-app--rep-inspired .lsl-crm-section--leads>.lsl-admin-card{padding:13px}
 /* Keep the compact preview lists readable without side-scrolling on phones. */
 .lsl-admin-app--rep-inspired #lsl-admin-leads,.lsl-admin-app--rep-inspired #lsl-crm-paying-table,.lsl-admin-app--rep-inspired #lsl-crm-invoices-table,.lsl-admin-app--rep-inspired #lsl-crm-unpaid-table{width:100%;min-width:0;display:block}
 .lsl-admin-app--rep-inspired #lsl-admin-leads thead,.lsl-admin-app--rep-inspired #lsl-crm-paying-table thead,.lsl-admin-app--rep-inspired #lsl-crm-invoices-table thead,.lsl-admin-app--rep-inspired #lsl-crm-unpaid-table thead{display:none}
 .lsl-admin-app--rep-inspired #lsl-admin-leads tbody,.lsl-admin-app--rep-inspired #lsl-crm-paying-table tbody,.lsl-admin-app--rep-inspired #lsl-crm-invoices-table tbody,.lsl-admin-app--rep-inspired #lsl-crm-unpaid-table tbody{display:grid;grid-template-columns:1fr;gap:10px}
 .lsl-admin-app--rep-inspired #lsl-admin-leads tbody tr,.lsl-admin-app--rep-inspired #lsl-crm-paying-table tbody tr,.lsl-admin-app--rep-inspired #lsl-crm-invoices-table tbody tr,.lsl-admin-app--rep-inspired #lsl-crm-unpaid-table tbody tr{display:block;border:1px solid #e0eee4;border-radius:10px;padding:11px}
 .lsl-admin-app--rep-inspired #lsl-admin-leads td,.lsl-admin-app--rep-inspired #lsl-crm-paying-table td,.lsl-admin-app--rep-inspired #lsl-crm-invoices-table td,.lsl-admin-app--rep-inspired #lsl-crm-unpaid-table td{display:block;border:0;padding:6px 0;text-align:left;word-break:break-word;white-space:normal}
 .lsl-admin-app--rep-inspired .lsl-crm-list-toggle{width:100%}
}
@media print{
 /* On printouts of any admin CRM report, data hidden only for screen compactness reappears. */
 body.lsl-crm-print-report .lsl-admin-app--rep-inspired tr[data-lsl-crm-preview-row][hidden]{display:table-row!important}
}
