/* Meetings, files and commercial tools use the same scoped card system. */
body.rx-crm #view .sales-lead-record :is(#lead-visits-files,#lead-sales-tools){padding:24px!important;background:var(--rx-bg,#f7f8f4);border:1px solid var(--rx-line,#e3e7de);border-radius:18px;margin-top:6px}
body.rx-crm #view .sales-lead-record :is(#lead-visits-files,#lead-sales-tools) .lr-section-heading{padding:0 0 20px;margin:0;border:0;gap:12px;align-items:center}
body.rx-crm #view .sales-lead-record :is(#lead-visits-files,#lead-sales-tools) .lr-section-heading h2{font-size:22px;letter-spacing:-.5px;font-weight:650;line-height:1.3;margin-top:5px}
body.rx-crm #view .sales-lead-record :is(#lead-visits-files,#lead-sales-tools) :is(.lr-reference-grid,.lr-sales-tools-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
body.rx-crm #view .sales-lead-record :is(#lead-visits-files,#lead-sales-tools) .lc-card{background:var(--rx-surface,#fff)!important;border:1px solid var(--rx-line,#e1e6dc)!important;border-radius:14px!important;padding:20px!important;overflow:hidden;box-shadow:0 3px 14px rgb(25 40 28 / .035)!important;margin:0;min-width:0}
body.rx-crm #view .sales-lead-record :is(#lead-visits-files,#lead-sales-tools) .lc-card__h{margin:-20px -20px 18px!important;padding:18px 20px!important;border-bottom:1px solid var(--rx-line,#e1e6dc)!important;background:var(--rx-surface,#fff);display:flex;align-items:center;justify-content:space-between;gap:12px}
body.rx-crm #view .sales-lead-record :is(#lead-visits-files,#lead-sales-tools) .lc-card__hl{color:var(--rx-ink,#24352a);font-size:15px;font-weight:650;letter-spacing:0;display:flex;gap:10px;align-items:center;text-transform:none}
body.rx-crm #view .sales-lead-record :is(#lead-visits-files,#lead-sales-tools) .lc-card__hl>i{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--rx-brand-soft,#f0f3e4);color:var(--rx-brand,#5d6b0d);font-size:15px;flex-shrink:0}
body.rx-crm #view .sales-lead-record #lead-visits-files .lc-row{padding:14px 0;border-bottom:1px solid var(--rx-line,#e1e6dc);gap:12px;align-items:center;flex-wrap:wrap}
body.rx-crm #view .sales-lead-record #lead-visits-files .lc-row:last-child{border-bottom:0;padding-bottom:0}
body.rx-crm #view .sales-lead-record #lead-visits-files .lc-row__t{font-size:13px;line-height:1.5;font-weight:600;color:var(--rx-ink,#24352a)}
body.rx-crm #view .sales-lead-record #lead-visits-files .lc-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;padding:32px 20px;min-height:145px;border:1px dashed var(--rx-line,#dce3d7);border-radius:10px;background:var(--rx-bg,#f9faf6);font-size:13px;color:var(--rx-muted,#72806e);line-height:1.6;text-align:center}
body.rx-crm #view .sales-lead-record #lead-visits-files .lc-empty::before{font-family:'Font Awesome 6 Free';font-weight:900;content:'\f073';font-size:24px;color:var(--rx-brand,#5d6b0d);background:var(--rx-brand-soft,#f0f3e4);padding:15px;border-radius:14px}
body.rx-crm #view .sales-lead-record #lead-visits-files [data-testid='lead-documents'] .lc-empty::before{content:'\f07c'}
body.rx-crm #view .sales-lead-record #lead-visits-files .btn{border-radius:8px;min-height:34px;font-size:12px;line-height:1.4;white-space:normal}
body.rx-crm #view .sales-lead-record #lead-visits-files [data-testid^='lead-schedule-']{flex:1 1 145px;text-align:left;justify-content:flex-start;background:var(--rx-brand-soft,#f0f3e4);border:1px solid var(--rx-line,#dfe5d6);padding:10px 12px}
body.rx-crm #view .sales-lead-record #lead-sales-tools .lc-card>.help{font-size:13px;line-height:1.65;color:var(--rx-muted,#72806e);min-height:44px;margin:0 0 20px!important}
body.rx-crm #view .sales-lead-record #lead-sales-tools .lc-card>.btn{width:100%;min-height:40px;justify-content:center;border-radius:9px;background:var(--rx-brand-soft,#f0f3e4);border:1px solid var(--rx-line,#dfe5d6);color:var(--rx-brand,#5d6b0d);font-size:13px;font-weight:600}
body.rx-crm #view .sales-lead-record #lead-sales-tools .lc-card>.btn:hover{background:var(--rx-brand,#5d6b0d);color:#fff}
@media(max-width:1150px){body.rx-crm #view .sales-lead-record #lead-visits-files .lr-reference-grid{grid-template-columns:1fr}}
@media(max-width:700px){body.rx-crm #view .sales-lead-record :is(#lead-visits-files,#lead-sales-tools){padding:16px!important}body.rx-crm #view .sales-lead-record :is(#lead-visits-files,#lead-sales-tools) .lr-section-heading{display:block}body.rx-crm #view .sales-lead-record #lead-sales-tools .lr-sales-tools-grid{grid-template-columns:1fr}}
body.rx-crm #view .sales-lead-record #lead-sales-tools .lc-mod__row{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:0}
body.rx-crm #view .sales-lead-record #lead-sales-tools .lc-mod__sum{font-size:13px;line-height:1.65;color:var(--rx-muted,#72806e);min-height:44px}
body.rx-crm #view .sales-lead-record #lead-sales-tools .lc-mod__row>.btn{width:100%;min-height:40px;justify-content:center;border-radius:9px;background:var(--rx-brand-soft,#f0f3e4);border:1px solid var(--rx-line,#dfe5d6);color:var(--rx-brand,#5d6b0d);font-size:13px;font-weight:600}
body.rx-crm #view .sales-lead-record #lead-sales-tools .lc-mod__row>.btn:hover{background:var(--rx-brand,#5d6b0d);color:#fff}
body.rx-crm #view .sales-lead-record #lead-sales-tools .lc-card{display:block!important}
body.rx-crm #view .sales-lead-record #lead-sales-tools .lc-mod__row{display:flex!important;flex-direction:column!important;align-items:stretch!important}
body.rx-crm #view .sales-lead-record #lead-sales-tools .lc-card__h{display:flex!important;width:auto!important}
