.newsletter-operations { scroll-margin-top:24px; }
.newsletter-operations .nl-ops-filters { display:flex; flex-wrap:wrap; align-items:flex-end; gap:12px; margin:20px 0; }
.nl-ops-filters label { display:grid; gap:7px; color:var(--text,#233b52); font-size:12px; font-weight:600; }
.nl-ops-filters input,.nl-ops-filters select { min-height:40px; padding:8px 10px; border:1px solid var(--line,#d9e1e9); border-radius:7px; background:var(--surface,#fff); color:inherit; font:inherit; font-size:13px; }
.nl-ops-filters select { appearance:none; padding-right:30px; background-image:linear-gradient(45deg,transparent 50%,#506278 50%),linear-gradient(135deg,#506278 50%,transparent 50%); background-position:calc(100% - 16px) 17px,calc(100% - 11px) 17px; background-size:5px 5px; background-repeat:no-repeat; }
.nl-ops-filters input:focus-visible,.nl-ops-filters select:focus-visible,.nl-ops-table-wrap:focus-visible { outline:3px solid #1d69a5; outline-offset:3px; }
.nl-ops-result-meta { margin:12px 0; color:var(--text-muted,#506278); font-size:12px; line-height:1.6; }
.nl-ops-groups { display:grid; gap:18px; }
.nl-ops-group { border:1px solid var(--line,#dce4eb); border-radius:10px; overflow:hidden; }
.nl-ops-group-heading { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; padding:18px; background:#f7f9fb; }
.nl-ops-group-heading h3 { margin:4px 0 8px; color:var(--text,#233b52); font-size:18px; line-height:1.4; }
.nl-ops-group-date { margin:0; font-size:11px; color:#526b82; font-weight:600; }
.nl-ops-group-counts,.nl-ops-filter-context { margin:5px 0 0; font-size:12px; line-height:1.5; color:#506278; }
.nl-ops-filter-context { color:#235b89; }
.nl-ops-group-heading>.nl-ops-state { flex-shrink:0; max-width:280px; }
.nl-ops-table-wrap { overflow-x:auto; }
.nl-ops-table { border-collapse:collapse; width:100%; min-width:900px; text-align:left; }
.nl-ops-table caption { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.nl-ops-table thead th { padding:14px 12px; background:#f1f5f8; font-size:11px; color:#475f75; font-weight:700; }
.nl-ops-table td,.nl-ops-table tbody th { padding:16px 12px; border-top:1px solid var(--line,#dce4eb); vertical-align:top; font-size:12px; line-height:1.5; font-weight:400; }
.nl-ops-table tbody th { min-width:190px; }
.nl-ops-table td:nth-child(2) { min-width:145px; }
.nl-ops-table td:nth-child(3) { min-width:220px; max-width:320px; }
.nl-ops-table td:last-child { min-width:135px; }
.nl-ops-table p { margin:0; }
.nl-ops-table small,.nl-ops-table td>span:not(.nl-ops-state),.nl-ops-email { display:block; margin-top:5px; overflow-wrap:anywhere; }
.nl-ops-table small,.nl-ops-muted,.nl-ops-email { color:var(--text-muted,#506278); font-size:11px; }
.nl-ops-table strong { display:block; font-size:12px; font-weight:700; color:var(--text,#233b52); }
.nl-ops-state { display:inline-block; border-radius:6px; padding:6px 9px; font-size:11px; line-height:1.5; font-weight:700; }
.nl-ops-state.is-pending { background:#fff4d9; color:#725318; }
.nl-ops-state.is-confirmed { background:#e9f5ed; color:#126145; }
.nl-ops-state.is-attention { background:#ffedf0; color:#a0323c; }
.nl-ops-state.is-omitted { background:#edf1f5; color:#42566a; }
.nl-ops-copies { margin-top:10px; font-size:11px; }
.nl-ops-copies summary { cursor:pointer; color:#235b89; }
.nl-ops-copies ul { padding-left:14px; margin:8px 0 0; }
.nl-ops-copies li+li { margin-top:9px; }
.nl-ops-copies li>span { overflow-wrap:anywhere; }
.nl-ops-open { display:inline-block; line-height:1.6; margin:0; }
.nl-ops-empty,.nl-ops-error,.nl-ops-limitations { padding:16px; border-radius:8px; background:#f5f8fa; font-size:13px; line-height:1.6; }
.nl-ops-error { background:#fff1f2; color:#8e2833; }
.nl-ops-limitations { margin-bottom:12px; background:#fff8e8; }
.nl-ops-limitations p { margin:0; }
@media(max-width:760px) {
  .newsletter-operations .nl-ops-filters { display:grid; grid-template-columns:1fr 1fr; }
  .nl-ops-filters label { min-width:0; }
  .nl-ops-filters input,.nl-ops-filters select { min-width:0; width:100%; }
  .nl-ops-table-wrap { overflow:visible; border:0; }
  .nl-ops-table,.nl-ops-table tbody { display:block; min-width:0; }
  .nl-ops-table thead { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
  .nl-ops-group-heading { flex-direction:column; gap:10px; padding:16px; }
  .nl-ops-table-wrap { padding:0 10px; }
  .nl-ops-table tbody tr { display:grid; grid-template-columns:1fr 1fr; border:1px solid var(--line,#dce4eb); border-radius:9px; padding:6px 12px; margin:10px 0; }
  .nl-ops-table tbody th,.nl-ops-table td { display:block; min-width:0!important; max-width:none!important; padding:10px 5px; border:0; overflow-wrap:anywhere; }
  .nl-ops-table td::before { content:attr(data-label); display:block; margin-bottom:5px; color:#566b7f; font-size:10px; font-weight:700; }
  .nl-ops-table tbody th,.nl-ops-table td:nth-child(3),.nl-ops-table td:last-child { grid-column:1/-1; }
  .nl-ops-table tbody th { border-bottom:1px solid var(--line,#dce4eb); padding-bottom:12px; }
  .nl-ops-table tbody th strong { font-size:14px; }
  .nl-ops-table td:last-child { border-top:1px solid var(--line,#dce4eb); }
}
@media(prefers-reduced-motion:reduce) { .newsletter-operations { scroll-behavior:auto; } }
