.ldf-wrap{font-family:inherit;color:#172033}.ldf-form,.ldf-private,.ldf-entry{background:#fff;border:1px solid #e6eaf0;border-radius:18px;padding:24px;box-shadow:0 10px 35px rgba(15,23,42,.06)}.ldf-grid{display:flex;flex-wrap:wrap;margin:-8px}.ldf-field{flex:0 0 calc(var(--ldf-width) - 16px);margin:8px}.ldf-field label{display:block;font-weight:600;margin-bottom:7px}.ldf-field label span{color:#e11d48}.ldf-field input,.ldf-field select,.ldf-field textarea,.ldf-search input,.ldf-entry textarea{width:100%;box-sizing:border-box;border:1px solid #dbe2ea;border-radius:10px;padding:12px 14px;background:#fff}.ldf-field textarea{min-height:120px}.ldf-choice{font-weight:400!important;margin:7px 0!important}.ldf-choice input{width:auto}.ldf-submit,.ldf-btn,.ldf-save,.ldf-search button{background:var(--ldf-accent);color:#fff;border:0;border-radius:10px;padding:12px 18px;text-decoration:none;display:inline-block;cursor:pointer}.ldf-message{margin-top:14px;font-weight:600;color:#15803d}.ldf-message.error{color:#b91c1c}.ldf-form.is-loading{opacity:.65;pointer-events:none}.ldf-receiver-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}.ldf-receiver-head h2{margin:0}.ldf-receiver-head p{margin:4px 0}.ldf-search{display:flex;gap:8px}.ldf-entry-list{display:grid;gap:12px;margin-top:16px}.ldf-entry{padding:18px}.ldf-entry-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.ldf-entry-top span{display:block;color:#64748b;font-size:13px;margin-top:4px}.ldf-toggle{background:transparent;border:0;color:var(--ldf-accent);font-weight:700;cursor:pointer}.ldf-entry-body{display:none;padding-top:18px}.ldf-entry.open .ldf-entry-body{display:block}.ldf-entry-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ldf-entry-fields label span{display:block;font-size:12px;color:#64748b;margin-bottom:5px}.ldf-entry textarea{min-height:74px}.ldf-entry-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.ldf-delete{border:0;background:#fee2e2;color:#991b1b;padding:10px 14px;border-radius:10px;cursor:pointer}.ldf-btn.secondary{background:#eef2ff;color:#3730a3}.ldf-empty,.ldf-notice{padding:24px;text-align:center;background:#f8fafc;border-radius:14px}@media(max-width:767px){.ldf-field{flex-basis:calc(100% - 16px)}.ldf-receiver-head{align-items:stretch;flex-direction:column}.ldf-search{flex-direction:column}.ldf-entry-fields{grid-template-columns:1fr}.ldf-entry-top{align-items:flex-start}.ldf-form,.ldf-entry{padding:16px}}

/* Receptor 1.2 */
.ldf-receiver{max-width:1180px;margin:0 auto;color:#172033}
.ldf-receiver-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}
.ldf-eyebrow{display:inline-flex;align-items:center;gap:7px;color:var(--ldf-accent);font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin-bottom:8px}
.ldf-eyebrow:before{content:"";width:8px;height:8px;border-radius:999px;background:var(--ldf-accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--ldf-accent) 12%,transparent)}
.ldf-receiver-title h2{font-size:clamp(28px,4vw,42px);line-height:1.08;letter-spacing:-.035em;margin:0;color:#111827}
.ldf-receiver-title p{margin:9px 0 0;color:#64748b;font-size:15px}
.ldf-icon-btn{display:inline-flex;align-items:center;gap:9px;padding:12px 16px;border:1px solid #e2e8f0;border-radius:12px;background:#fff;color:#1e293b;text-decoration:none;font-weight:700;box-shadow:0 5px 18px rgba(15,23,42,.04);transition:.2s}
.ldf-icon-btn:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--ldf-accent) 35%,#e2e8f0);color:var(--ldf-accent)}
.ldf-icon-btn span{font-size:18px}
.ldf-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.ldf-stat{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid #e9edf3;border-radius:16px;padding:17px;box-shadow:0 8px 24px rgba(15,23,42,.035)}
.ldf-stat-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:color-mix(in srgb,var(--ldf-accent) 9%,#fff);color:var(--ldf-accent);font-size:18px;font-weight:800}
.ldf-stat strong,.ldf-stat small{display:block}.ldf-stat strong{font-size:22px;line-height:1;color:#111827}.ldf-stat small{margin-top:5px;color:#7b8798;font-size:12px;font-weight:600}
.ldf-receiver-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f8fafc;border:1px solid #e8edf3;border-radius:16px;padding:10px;margin-bottom:14px}
.ldf-live-search{position:relative;flex:1;max-width:610px}.ldf-search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:#94a3b8;font-size:21px;pointer-events:none}
.ldf-receiver-filter{width:100%;height:44px;padding:0 42px;border:1px solid transparent!important;border-radius:12px!important;background:#fff!important;box-shadow:0 2px 8px rgba(15,23,42,.03);outline:0;transition:.2s}
.ldf-receiver-filter:focus{border-color:color-mix(in srgb,var(--ldf-accent) 42%,#fff)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--ldf-accent) 10%,transparent)}
.ldf-search-clear{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:28px;height:28px;border:0;border-radius:8px;background:transparent;color:#94a3b8;font-size:19px;cursor:pointer;opacity:0;transition:.2s}.ldf-live-search.has-value .ldf-search-clear{opacity:1}.ldf-search-clear:hover{background:#f1f5f9;color:#334155}
.ldf-view-count{white-space:nowrap;color:#64748b;font-size:13px;font-weight:650;padding-right:8px}.ldf-visible-count{color:#111827;font-weight:800}
.ldf-entry-list{gap:10px}.ldf-entry{padding:0;border-radius:17px;box-shadow:0 7px 24px rgba(15,23,42,.035);overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s}.ldf-entry:hover{border-color:#dbe3ec;box-shadow:0 11px 32px rgba(15,23,42,.06)}
.ldf-entry.is-unread{border-left:3px solid var(--ldf-accent)}
.ldf-entry-top{display:grid;grid-template-columns:minmax(250px,1.2fr) minmax(260px,1fr) auto;gap:22px;min-height:92px;padding:17px 18px;cursor:pointer}
.ldf-entry-identity{display:flex;align-items:center;gap:13px;min-width:0}.ldf-entry-avatar{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:14px;background:linear-gradient(145deg,color-mix(in srgb,var(--ldf-accent) 13%,#fff),color-mix(in srgb,var(--ldf-accent) 5%,#fff));color:var(--ldf-accent);font-size:17px;font-weight:850}
.ldf-entry-heading{min-width:0}.ldf-entry-name{display:flex;align-items:center;gap:8px;min-width:0}.ldf-entry-name strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#172033;font-size:15px}.ldf-entry-heading>span{font-size:12px;color:#8491a3;margin-top:6px}
.ldf-new-badge{display:inline-flex!important;align-items:center;margin:0!important;padding:4px 7px;border-radius:999px;background:color-mix(in srgb,var(--ldf-accent) 10%,#fff);color:var(--ldf-accent)!important;font-size:10px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.04em}
.ldf-entry-preview{display:flex;gap:24px;align-items:center;min-width:0}.ldf-entry-preview>span{min-width:0;max-width:180px;color:#334155;font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ldf-entry-preview small{display:block;color:#94a3b8;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.06em;margin-bottom:4px}
.ldf-toggle{display:inline-flex;align-items:center;gap:10px;justify-self:end;padding:9px 11px;border-radius:10px;color:#475569;background:#f8fafc;font-size:12px}.ldf-toggle:hover{background:color-mix(in srgb,var(--ldf-accent) 8%,#fff);color:var(--ldf-accent)}.ldf-toggle i{font-style:normal;font-size:18px;line-height:1;transition:transform .25s}.ldf-entry.open .ldf-toggle i{transform:rotate(180deg)}
.ldf-entry-body{padding:0 20px 20px;border-top:1px solid #edf1f5;background:linear-gradient(180deg,#fbfcfe,#fff);animation:ldfReveal .24s ease}@keyframes ldfReveal{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
.ldf-detail-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:20px 0 16px}.ldf-detail-head h3{margin:0;color:#172033;font-size:16px}.ldf-detail-head p{margin:5px 0 0;color:#8a96a7;font-size:12px}.ldf-close-details{border:0;width:32px;height:32px;border-radius:9px;background:#f1f5f9;color:#64748b;font-size:20px;cursor:pointer}.ldf-close-details:hover{background:#e9eef5;color:#111827}
.ldf-entry-fields{gap:13px}.ldf-entry-fields label{background:#fff;border:1px solid #e9edf2;border-radius:13px;padding:11px 12px;transition:.2s}.ldf-entry-fields label:focus-within{border-color:color-mix(in srgb,var(--ldf-accent) 38%,#e9edf2);box-shadow:0 0 0 3px color-mix(in srgb,var(--ldf-accent) 8%,transparent)}.ldf-entry-fields label span{font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.055em;color:#8491a3;margin-bottom:4px}.ldf-entry textarea{min-height:42px;padding:5px 0!important;border:0!important;border-radius:0!important;resize:vertical;background:transparent!important;box-shadow:none!important;color:#273244;line-height:1.5}.ldf-entry textarea[readonly]{resize:none;color:#475569}
.ldf-entry-actions{justify-content:space-between;align-items:center;padding-top:16px;border-top:1px solid #edf1f5}.ldf-primary-actions{display:flex;gap:9px;flex-wrap:wrap}.ldf-save,.ldf-btn.secondary{display:inline-flex;align-items:center;gap:8px;border-radius:11px;padding:11px 15px;font-weight:750;font-size:12px}.ldf-btn.secondary{background:#f1f5f9;color:#334155}.ldf-btn.secondary:hover{background:#e8edf3}.ldf-delete{background:transparent;color:#dc2626;font-size:12px;font-weight:700}.ldf-delete:hover{background:#fef2f2}.ldf-inline-message{margin-top:10px;color:#15803d;font-size:12px;font-weight:700;min-height:1px}
.ldf-empty,.ldf-no-results{padding:64px 24px;text-align:center;background:#fbfcfe;border:1px dashed #dbe2ea;border-radius:18px}.ldf-empty>span,.ldf-no-results>span{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 14px;border-radius:16px;background:#fff;color:var(--ldf-accent);font-size:25px;box-shadow:0 8px 22px rgba(15,23,42,.07)}.ldf-empty h3,.ldf-no-results h3{margin:0;color:#172033;font-size:17px}.ldf-empty p,.ldf-no-results p{margin:7px 0 0;color:#8491a3;font-size:13px}.ldf-private{text-align:center;max-width:520px;margin:30px auto}.ldf-private-icon{display:grid;place-items:center;width:52px;height:52px;margin:0 auto 12px;border-radius:16px;background:#f1f5f9;font-size:22px}
@media(max-width:900px){.ldf-stats{grid-template-columns:repeat(2,1fr)}.ldf-entry-top{grid-template-columns:1fr auto}.ldf-entry-preview{grid-column:1/-1;grid-row:2;padding-left:57px}.ldf-toggle{grid-column:2;grid-row:1}}
@media(max-width:620px){.ldf-receiver-hero{align-items:stretch;flex-direction:column}.ldf-receiver-tools,.ldf-icon-btn{width:100%;justify-content:center}.ldf-stats{gap:8px}.ldf-stat{padding:13px}.ldf-stat-icon{width:35px;height:35px}.ldf-stat strong{font-size:18px}.ldf-receiver-bar{align-items:stretch;flex-direction:column}.ldf-view-count{padding:0 4px 2px}.ldf-entry-top{grid-template-columns:1fr auto;gap:10px;padding:14px}.ldf-entry-preview{display:none}.ldf-toggle span{display:none}.ldf-entry-avatar{width:40px;height:40px;flex-basis:40px}.ldf-entry-body{padding:0 14px 14px}.ldf-entry-actions{align-items:stretch;flex-direction:column}.ldf-primary-actions,.ldf-primary-actions>*{width:100%;justify-content:center}.ldf-delete{width:100%;padding:10px}.ldf-entry-fields{grid-template-columns:1fr}}

/* Receptor 1.2.1 — iconografía consistente y temas */
.ldf-receiver{
  --ldf-bg:#ffffff;--ldf-surface:#ffffff;--ldf-surface-soft:#f7f9fc;--ldf-border:#e7ecf2;
  --ldf-text:#172033;--ldf-heading:#111827;--ldf-muted:#718096;--ldf-muted-2:#94a3b8;
  --ldf-shadow:0 8px 24px rgba(15,23,42,.045);--ldf-shadow-hover:0 14px 34px rgba(15,23,42,.075);
  background:var(--ldf-bg);color:var(--ldf-text);transition:background-color .25s,color .25s;
}
.ldf-receiver.ldf-theme-dark,.ldf-receiver[data-theme-resolved="dark"]{
  --ldf-bg:#0b1120;--ldf-surface:#121a2b;--ldf-surface-soft:#0f1728;--ldf-border:#253149;
  --ldf-text:#dbe6f5;--ldf-heading:#f8fafc;--ldf-muted:#9aa9bd;--ldf-muted-2:#73829a;
  --ldf-shadow:0 10px 30px rgba(0,0,0,.22);--ldf-shadow-hover:0 16px 42px rgba(0,0,0,.32);
}
.ldf-svg-icon{display:block;width:20px;height:20px;flex:0 0 auto}
.ldf-stat-icon .ldf-svg-icon{width:20px;height:20px}
.ldf-search-icon .ldf-svg-icon{width:18px;height:18px}
.ldf-icon-btn .ldf-svg-icon,.ldf-theme-toggle .ldf-svg-icon{width:19px;height:19px}
.ldf-toggle .ldf-svg-icon{width:17px;height:17px;transition:transform .25s}
.ldf-entry.open .ldf-toggle .ldf-svg-icon{transform:rotate(180deg)}
.ldf-close-details .ldf-svg-icon,.ldf-search-clear .ldf-svg-icon{width:17px;height:17px}
.ldf-save .ldf-svg-icon,.ldf-btn.secondary .ldf-svg-icon,.ldf-delete .ldf-svg-icon{width:17px;height:17px}
.ldf-empty>span .ldf-svg-icon,.ldf-no-results>span .ldf-svg-icon{width:25px;height:25px}

.ldf-receiver-tools{display:flex;align-items:center;gap:10px}
.ldf-theme-toggle{display:grid;place-items:center;width:46px;height:46px;padding:0;border:1px solid var(--ldf-border);border-radius:13px;background:var(--ldf-surface);color:var(--ldf-text);cursor:pointer;box-shadow:var(--ldf-shadow);transition:.2s}
.ldf-theme-toggle:hover{transform:translateY(-1px);color:var(--ldf-accent);border-color:color-mix(in srgb,var(--ldf-accent) 38%,var(--ldf-border))}
.ldf-theme-icon-sun{display:none}.ldf-theme-dark .ldf-theme-icon-moon,.ldf-receiver[data-theme-resolved="dark"] .ldf-theme-icon-moon{display:none}.ldf-theme-dark .ldf-theme-icon-sun,.ldf-receiver[data-theme-resolved="dark"] .ldf-theme-icon-sun{display:block}

.ldf-receiver-title h2,.ldf-stat strong,.ldf-entry-name strong,.ldf-detail-head h3,.ldf-empty h3,.ldf-no-results h3,.ldf-visible-count{color:var(--ldf-heading)}
.ldf-receiver-title p,.ldf-stat small,.ldf-entry-heading>span,.ldf-entry-preview small,.ldf-detail-head p,.ldf-view-count,.ldf-empty p,.ldf-no-results p{color:var(--ldf-muted)}
.ldf-icon-btn,.ldf-stat,.ldf-entry,.ldf-entry-fields label{background:var(--ldf-surface);border-color:var(--ldf-border);box-shadow:var(--ldf-shadow)}
.ldf-icon-btn{color:var(--ldf-text)}
.ldf-receiver-bar,.ldf-toggle,.ldf-close-details,.ldf-btn.secondary{background:var(--ldf-surface-soft);border-color:var(--ldf-border);color:var(--ldf-text)}
.ldf-receiver-filter{background:var(--ldf-surface)!important;color:var(--ldf-text)!important;box-shadow:none}
.ldf-receiver-filter::placeholder{color:var(--ldf-muted-2)}
.ldf-entry:hover{border-color:color-mix(in srgb,var(--ldf-accent) 24%,var(--ldf-border));box-shadow:var(--ldf-shadow-hover)}
.ldf-entry-avatar,.ldf-stat-icon{background:color-mix(in srgb,var(--ldf-accent) 12%,var(--ldf-surface));aspect-ratio:1/1}
.ldf-stat-icon{width:44px;height:44px;border-radius:13px;flex:0 0 44px}
.ldf-stat{min-height:94px;padding:18px;border-radius:18px}
.ldf-entry-avatar{width:48px;height:48px;flex-basis:48px;border-radius:15px}
.ldf-entry-top{min-height:96px;align-items:center}
.ldf-entry-preview>span{color:var(--ldf-text)}
.ldf-entry-body{border-color:var(--ldf-border);background:var(--ldf-surface-soft)}
.ldf-entry-fields label{box-shadow:none}
.ldf-entry textarea,.ldf-entry textarea[readonly]{color:var(--ldf-text)!important}
.ldf-entry-actions{border-color:var(--ldf-border)}
.ldf-delete{display:inline-flex;align-items:center;gap:8px;border-radius:11px;padding:10px 12px}
.ldf-delete:hover{background:color-mix(in srgb,#dc2626 10%,var(--ldf-surface))}
.ldf-empty,.ldf-no-results{background:var(--ldf-surface-soft);border-color:var(--ldf-border)}
.ldf-empty>span,.ldf-no-results>span{background:var(--ldf-surface);box-shadow:var(--ldf-shadow)}
.ldf-search-clear{display:grid;place-items:center}
.ldf-toggle{border:1px solid transparent}
.ldf-toggle:hover{border-color:color-mix(in srgb,var(--ldf-accent) 20%,var(--ldf-border))}

@media(max-width:620px){
  .ldf-receiver-tools{width:100%;display:grid;grid-template-columns:46px 1fr}
  .ldf-receiver-tools .ldf-icon-btn{width:auto}
  .ldf-stat{min-height:82px}.ldf-stat-icon{width:40px;height:40px;flex-basis:40px}
  .ldf-entry-avatar{width:42px;height:42px;flex-basis:42px}
}

/* Receptor 1.3.0 — organización tabular de envíos */
.ldf-entry-table{border:1px solid var(--ldf-border);border-radius:18px;background:var(--ldf-surface);box-shadow:var(--ldf-shadow);overflow:hidden}
.ldf-entry-table-head,.ldf-entry-top{display:grid;grid-template-columns:minmax(90px,.65fr) minmax(180px,1.45fr) minmax(180px,1.35fr) minmax(105px,.75fr) minmax(125px,.9fr) minmax(120px,.85fr) minmax(110px,.75fr);align-items:center;column-gap:18px}
.ldf-entry-table-head{min-height:64px;padding:0 24px;border-bottom:1px solid var(--ldf-border);color:var(--ldf-heading);font-size:13px;font-weight:700;letter-spacing:.01em}
.ldf-entry-list{display:block}
.ldf-entry{border:0!important;border-bottom:1px solid var(--ldf-border)!important;border-radius:0!important;box-shadow:none!important;background:var(--ldf-surface);overflow:hidden}
.ldf-entry:last-child{border-bottom:0!important}
.ldf-entry:hover{background:color-mix(in srgb,var(--ldf-accent) 2.5%,var(--ldf-surface));box-shadow:none!important}
.ldf-entry.is-unread{border-left:0!important}
.ldf-entry-top{min-height:70px;padding:0 24px;cursor:default}
.ldf-table-cell{min-width:0;color:var(--ldf-text);font-size:14px}
.ldf-table-cell>span,.ldf-cell-id strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ldf-cell-id strong{color:var(--ldf-accent);font-weight:700}
.ldf-cell-form span{font-weight:500}
.ldf-cell-name span{font-weight:650;color:var(--ldf-heading)}
.ldf-cell-time span,.ldf-cell-browser span{color:var(--ldf-muted)}
.ldf-status-pill{display:inline-flex!important;width:max-content;align-items:center;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:700;line-height:1}
.ldf-status-pill.is-new{background:color-mix(in srgb,var(--ldf-accent) 11%,var(--ldf-surface));color:var(--ldf-accent)}
.ldf-status-pill.is-read{background:var(--ldf-surface-soft);color:var(--ldf-muted)}
.ldf-cell-action{display:flex;justify-content:flex-start}
.ldf-cell-action .ldf-toggle{min-height:38px;padding:8px 12px;gap:7px;border:0;border-radius:9px;background:color-mix(in srgb,var(--ldf-accent) 10%,var(--ldf-surface));color:var(--ldf-accent);font-weight:700}
.ldf-cell-action .ldf-toggle:hover{background:color-mix(in srgb,var(--ldf-accent) 16%,var(--ldf-surface));border:0}
.ldf-cell-action .ldf-toggle .ldf-svg-icon{width:16px;height:16px}
.ldf-cell-action .ldf-toggle .ldf-svg-icon:last-child{width:14px;height:14px}
.ldf-entry-body{border-top:1px solid var(--ldf-border);padding:24px;background:var(--ldf-surface-soft)}
.ldf-entry.open .ldf-cell-action .ldf-toggle .ldf-svg-icon:last-child{transform:rotate(180deg)}
.ldf-entry-table .ldf-empty{border:0;border-radius:0;margin:0}

@media(max-width:980px){
 .ldf-entry-table{overflow:visible;border:0;background:transparent;box-shadow:none}
 .ldf-entry-table-head{display:none}
 .ldf-entry-list{display:grid;gap:12px}
 .ldf-entry{border:1px solid var(--ldf-border)!important;border-radius:16px!important;box-shadow:var(--ldf-shadow)!important}
 .ldf-entry-top{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:18px;min-height:0}
 .ldf-table-cell{display:flex;flex-direction:column;gap:5px}
 .ldf-table-cell:before{content:attr(data-label);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ldf-muted-2)}
 .ldf-cell-action{justify-content:flex-end;align-self:end}
 .ldf-cell-action:before{display:none}
 .ldf-cell-action .ldf-toggle{width:100%;justify-content:center}
}
@media(max-width:620px){
 .ldf-entry-top{grid-template-columns:1fr}
 .ldf-cell-action{width:100%}
 .ldf-entry-body{padding:18px}
}

/* Receptor 1.3.2 — responsive móvil optimizado */
.ldf-receiver,.ldf-receiver *{box-sizing:border-box}
.ldf-entry-table,.ldf-entry-list,.ldf-entry,.ldf-entry-top,.ldf-entry-body{min-width:0;max-width:100%}
.ldf-entry-fields textarea{max-width:100%;resize:vertical}

@media(max-width:767px){
  .ldf-receiver{width:100%;padding:0 2px}
  .ldf-receiver-hero{gap:16px;margin-bottom:18px}
  .ldf-receiver-title h2{font-size:32px;line-height:1.08}
  .ldf-receiver-title p{font-size:14px;line-height:1.55}
  .ldf-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ldf-stat{min-width:0;padding:12px;gap:10px}
  .ldf-stat-icon{flex:0 0 36px;width:36px;height:36px}
  .ldf-stat strong{font-size:18px}
  .ldf-stat small{font-size:11px;white-space:normal}
  .ldf-receiver-bar{padding:8px;border-radius:14px}
  .ldf-live-search{min-width:0;width:100%}
  .ldf-receiver-filter{min-width:0;padding-right:40px!important;font-size:14px}
  .ldf-entry-list{gap:14px}
  .ldf-entry{width:100%;overflow:hidden}
  .ldf-entry-top{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:
      "id status"
      "form form"
      "name name"
      "browser time"
      "action action";
    gap:14px 12px;
    padding:16px;
  }
  .ldf-cell-id{grid-area:id}
  .ldf-cell-status{grid-area:status;align-items:flex-end;text-align:right}
  .ldf-cell-form{grid-area:form;padding:12px 0 0;border-top:1px solid var(--ldf-border)}
  .ldf-cell-name{grid-area:name;padding:0 0 12px;border-bottom:1px solid var(--ldf-border)}
  .ldf-cell-browser{grid-area:browser}
  .ldf-cell-time{grid-area:time;align-items:flex-end;text-align:right}
  .ldf-cell-action{grid-area:action;width:100%;margin-top:2px}
  .ldf-table-cell{min-width:0;gap:4px}
  .ldf-table-cell>span,.ldf-cell-id strong{white-space:normal;overflow-wrap:anywhere;line-height:1.35}
  .ldf-cell-form span{font-size:15px;font-weight:650;color:var(--ldf-heading)}
  .ldf-cell-action .ldf-toggle{width:100%;min-height:44px;justify-content:center;border-radius:11px}
  .ldf-entry-body{padding:16px}
  .ldf-detail-head{align-items:flex-start;gap:10px}
  .ldf-detail-head h3{font-size:17px;line-height:1.3}
  .ldf-detail-head p{font-size:12px;line-height:1.45}
  .ldf-close-details{flex:0 0 38px;width:38px;height:38px}
  .ldf-entry-fields{grid-template-columns:minmax(0,1fr);gap:12px}
  .ldf-entry-fields label{min-width:0}
  .ldf-entry-fields textarea{width:100%;min-width:0;min-height:88px;font-size:16px}
  .ldf-entry-actions,.ldf-primary-actions{display:grid;grid-template-columns:minmax(0,1fr);width:100%;gap:10px}
  .ldf-entry-actions button,.ldf-entry-actions a{width:100%;min-width:0;justify-content:center;text-align:center}
}

@media(max-width:420px){
  .ldf-receiver-title h2{font-size:28px}
  .ldf-stats{grid-template-columns:1fr 1fr}
  .ldf-stat{padding:10px}
  .ldf-stat-icon{display:none}
  .ldf-entry-top{padding:14px;gap:12px 10px}
  .ldf-cell-browser span,.ldf-cell-time span{font-size:13px}
}


/* Receptor 1.3.3 — controles móviles sin zoom automático */
@media(max-width:767px){
  .ldf-receiver input[type="text"],
  .ldf-receiver input[type="email"],
  .ldf-receiver input[type="tel"],
  .ldf-receiver input[type="number"],
  .ldf-receiver input[type="search"],
  .ldf-receiver input[type="url"],
  .ldf-receiver input[type="password"],
  .ldf-receiver input[type="date"],
  .ldf-receiver input[type="time"],
  .ldf-receiver select,
  .ldf-receiver textarea{
    font-size:16px!important;
  }
}


/* Receptor 1.3.4 — modo oscuro de página completa sin cambios de geometría */
html.ldf-site-dark,
body.ldf-site-dark{
  background:#070b14!important;
  color-scheme:dark;
}
body.ldf-site-dark{
  transition:background-color .25s ease,color .25s ease;
}
body.ldf-site-dark #page,
body.ldf-site-dark .site,
body.ldf-site-dark .site-content,
body.ldf-site-dark .content-area,
body.ldf-site-dark main,
body.ldf-site-dark .elementor,
body.ldf-site-dark .elementor-location-single,
body.ldf-site-dark .elementor-location-archive,
body.ldf-site-dark .elementor-location-header,
body.ldf-site-dark .elementor-location-footer,
body.ldf-site-dark .elementor-section,
body.ldf-site-dark .e-con,
body.ldf-site-dark .e-con-inner{
  background-color:transparent!important;
}
body.ldf-site-dark .ldf-receiver{
  background:transparent;
}
/* El tema solo cambia colores; nunca espaciado, ancho, altura o posición. */
.ldf-receiver.ldf-theme-dark,
.ldf-receiver[data-theme-resolved="dark"],
.ldf-receiver.ldf-theme-light,
.ldf-receiver[data-theme-resolved="light"]{
  padding:0;
  border-radius:0;
  width:100%;
}

/* v1.4.1 · Estado leído */
.ldf-cell-status{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ldf-mark-read{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:6px 9px;border:1px solid color-mix(in srgb,var(--ldf-accent) 20%,var(--ldf-border));border-radius:8px;background:transparent;color:var(--ldf-accent);font:inherit;font-size:11px;font-weight:750;line-height:1;cursor:pointer;transition:background .2s,border-color .2s,opacity .2s}
.ldf-mark-read:hover{background:color-mix(in srgb,var(--ldf-accent) 8%,var(--ldf-surface));border-color:color-mix(in srgb,var(--ldf-accent) 38%,var(--ldf-border))}
.ldf-mark-read .ldf-svg-icon{width:14px;height:14px;flex:0 0 14px}
.ldf-mark-read.is-loading{opacity:.55;pointer-events:none}
@media(max-width:620px){.ldf-cell-status{align-items:flex-start}.ldf-mark-read{min-height:36px}.ldf-mark-read span{display:inline}}


/* Notification settings */
.ldf-notification-panel{margin:0 0 22px;padding:20px;border:1px solid var(--ldf-border,#e5e7eb);border-radius:18px;background:var(--ldf-card,#fff);box-shadow:0 10px 30px rgba(15,23,42,.05)}
.ldf-notification-heading{display:flex;align-items:center;gap:13px;margin-bottom:16px}.ldf-notification-heading h3{margin:0 0 4px;font-size:17px}.ldf-notification-heading p{margin:0;color:var(--ldf-muted,#64748b);font-size:13px}.ldf-notification-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;background:color-mix(in srgb,var(--ldf-accent) 12%,transparent);color:var(--ldf-accent);flex:none}.ldf-notification-icon svg{width:21px;height:21px}
.ldf-notification-forms{display:grid;gap:10px}.ldf-notification-row{display:grid;grid-template-columns:minmax(160px,.7fr) minmax(280px,1.3fr);gap:16px;align-items:center;padding:14px;border:1px solid var(--ldf-border,#e5e7eb);border-radius:14px;background:var(--ldf-surface,#f8fafc)}.ldf-notification-form-name{display:flex;flex-direction:column;min-width:0}.ldf-notification-form-name strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ldf-notification-form-name small{color:var(--ldf-muted,#64748b);margin-top:3px}.ldf-notification-input-wrap{display:flex;gap:8px}.ldf-notification-input-wrap input{min-width:0;flex:1;height:42px;border:1px solid var(--ldf-border,#dbe3ee);border-radius:11px;padding:0 12px;background:var(--ldf-card,#fff);color:inherit;font-size:16px}.ldf-save-notification-email{height:42px;padding:0 14px;border:0;border-radius:11px;background:var(--ldf-accent);color:#fff;display:inline-flex;align-items:center;gap:7px;cursor:pointer;font-weight:700}.ldf-save-notification-email svg{width:17px;height:17px}.ldf-notification-message{grid-column:2;font-size:12px;color:#16a34a;min-height:15px}.ldf-notification-message.is-error{color:#dc2626}.ldf-notification-toggle.is-active{background:color-mix(in srgb,var(--ldf-accent) 12%,transparent);color:var(--ldf-accent)}
.ldf-theme-dark .ldf-notification-panel,.ldf-theme-dark .ldf-notification-row{background:#111827;border-color:#263247}.ldf-theme-dark .ldf-notification-row{background:#0f172a}.ldf-theme-dark .ldf-notification-input-wrap input{background:#101827;border-color:#334155;color:#f8fafc}
@media(max-width:767px){.ldf-notification-panel{padding:15px;border-radius:15px}.ldf-notification-row{grid-template-columns:1fr;gap:10px}.ldf-notification-message{grid-column:1}.ldf-notification-input-wrap{flex-direction:column}.ldf-save-notification-email{width:100%;justify-content:center}.ldf-receiver-tools .ldf-notification-toggle span{display:none}}

/* v1.5.1 · Barra de herramientas móvil equilibrada */
.ldf-receiver-tools .ldf-export-all span{font-size:14px;line-height:1.2;white-space:nowrap}
@media(max-width:620px){
  .ldf-receiver-tools{
    display:grid;
    grid-template-columns:46px 46px minmax(0,1fr);
    align-items:center;
    gap:10px;
    width:100%;
  }
  .ldf-receiver-tools .ldf-theme-toggle,
  .ldf-receiver-tools .ldf-notification-toggle{
    width:46px!important;
    min-width:46px;
    height:46px;
    padding:0!important;
    justify-content:center;
    border-radius:13px;
  }
  .ldf-receiver-tools .ldf-notification-toggle span{display:none!important}
  .ldf-receiver-tools .ldf-export-all{
    width:100%!important;
    min-width:0;
    height:46px;
    padding:0 14px;
    justify-content:center;
    border-radius:13px;
    white-space:nowrap;
  }
  .ldf-receiver-tools .ldf-export-all span{
    display:inline!important;
    font-size:14px;
    line-height:1;
    white-space:nowrap;
  }
  .ldf-receiver-tools .ldf-export-all .ldf-svg-icon{width:18px;height:18px}
}
@media(max-width:360px){
  .ldf-receiver-tools{grid-template-columns:44px 44px minmax(0,1fr);gap:8px}
  .ldf-receiver-tools .ldf-theme-toggle,
  .ldf-receiver-tools .ldf-notification-toggle{width:44px!important;min-width:44px;height:44px}
  .ldf-receiver-tools .ldf-export-all{height:44px;padding:0 10px;gap:7px}
  .ldf-receiver-tools .ldf-export-all span{font-size:13px}
}

/* Elementos estructurales del constructor */
.ldf-layout-field{flex:0 0 calc(var(--ldf-width) - 16px);margin:8px;box-sizing:border-box}
.ldf-spacer{height:var(--ldf-spacer-height);pointer-events:none}
.ldf-separator{height:28px;display:flex;align-items:center}
.ldf-separator span{display:block;width:100%;border-top:1px solid #dbe2ea}
.ldf-separator-double span{border-top:4px double #dbe2ea}
.ldf-separator-dots span{border-top:3px dotted #dbe2ea}
@media(max-width:767px){.ldf-layout-field{flex-basis:calc(100% - 16px)}}

/* Transmisor 1.7.2 — fondo configurable desde Elementor */
.ldf-transmitter .ldf-form{background:var(--ldf-form-bg,#fff)}
.ldf-transmitter.is-transparent .ldf-form{background:transparent;border-color:transparent;box-shadow:none}

/* v1.7.6: acción eliminar visible y accesible en móvil */
@media(max-width:767px){.ldf-entry-actions .ldf-delete{display:flex!important;width:100%!important;min-height:46px;align-items:center;justify-content:center;visibility:visible!important;opacity:1!important;margin:0}.ldf-entry-actions{overflow:visible}.ldf-delete.is-loading{opacity:.65!important;pointer-events:none}}

/* v1.7.7 · Editor del ID de envío */
.ldf-entry-id-editor{margin:0 0 18px;padding:16px;border:1px solid var(--ldf-border,#dfe5ef);border-radius:14px;background:var(--ldf-soft,#f8fafc)}
.ldf-entry-id-editor label{display:block;margin:0}
.ldf-entry-id-editor label>span{display:block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;margin-bottom:8px}
.ldf-id-input-wrap{display:flex;align-items:center;max-width:220px;border:1px solid var(--ldf-border,#dfe5ef);border-radius:10px;background:var(--ldf-card,#fff);overflow:hidden}
.ldf-id-input-wrap>span{padding:0 0 0 12px;font-weight:800;color:var(--ldf-muted,#64748b)}
.ldf-id-input-wrap input{width:100%;min-width:0;border:0!important;box-shadow:none!important;background:transparent!important;padding:10px 12px 10px 5px!important;font-size:16px!important;font-weight:700;color:inherit}
.ldf-entry-id-editor small{display:block;margin-top:7px;color:var(--ldf-muted,#64748b);font-size:12px}
@media(max-width:767px){.ldf-entry-id-editor{padding:14px}.ldf-id-input-wrap{max-width:none;width:100%}}

/* v1.7.8 · Nombre visible en el listado receptor */
@media(min-width:768px) and (max-width:980px){.ldf-cell-name{min-width:0}}
@media(max-width:767px){.ldf-cell-name span{font-size:15px;font-weight:700;color:var(--ldf-heading);white-space:normal;overflow-wrap:anywhere}}
