/* Newsletter blocks (Watchlist, Recent transactions): post and editor preview. Colours fall back to the
   design system's values where its tokens are not loaded (the editor). */
figure.dtc-nl.dtc-nl { margin: 1.6em 0; padding: 0; background: var(--dtc-surface, #fff); border: 1px solid var(--dtc-line, #e3e7ed); border-radius: 10px; overflow: hidden;
  font-family: var(--font-sans, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif); color: var(--dtc-body, #3d434b); font-size: .95rem; line-height: 1.45; }
figure.dtc-nl figcaption.dtc-nl-head { font-style: normal; text-align: left; margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 18px; background: var(--dtc-tint, #eaf1fd); border-bottom: 1px solid var(--dtc-line, #e3e7ed); }
.dtc-nl-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dtc-blue, #1264df); }
.dtc-nl-who { font-weight: 700; color: var(--dtc-ink, #1a1a1a); }
.dtc-nl-scroll { overflow-x: auto; }
figure.dtc-nl table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: inherit; }
figure.dtc-nl th { padding: 9px 12px; text-align: left; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--dtc-muted, #646c78);
  background: none; border: 0; border-bottom: 1px solid var(--dtc-line, #e3e7ed); white-space: nowrap; }
figure.dtc-nl td { padding: 12px 12px; vertical-align: top; border: 0; border-bottom: 1px solid var(--dtc-line, #e3e7ed); background: none; color: var(--dtc-ink, #1a1a1a); }
figure.dtc-nl tbody tr:last-child td { border-bottom: 0; }
figure.dtc-nl .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dtc-nl-co { display: flex; gap: 10px; align-items: flex-start; min-width: 150px; }
.dtc-nl-logo { width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; background: #fff; border: 1px solid var(--dtc-line, #e3e7ed); padding: 4px; box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.dtc-nl-logo img { width: 100%; height: 100%; object-fit: contain; margin: 0; }
.dtc-nl-logo.is-fill { padding: 0; }   /* square brand icon: fills the circle */
.dtc-nl-logo.is-fill img { object-fit: cover; }
.dtc-nl-logo.is-initial { background: var(--dtc-tint, #eaf1fd); border-color: transparent; color: var(--dtc-blue, #1264df); font-weight: 700; font-size: .85rem; }
.dtc-nl-co a { color: var(--dtc-ink, #1a1a1a); text-decoration: none; }
.dtc-nl-co a:hover b { color: var(--dtc-blue, #1264df); text-decoration: underline; }
.dtc-nl-ticker { font-size: .8rem; color: var(--dtc-muted, #646c78); font-weight: 600; }
.dtc-nl-note { margin: 3px 0 0; font-size: .86rem; color: var(--dtc-body, #3d434b); }
.dtc-nl-safety { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; white-space: nowrap; }
.dtc-nl-safety::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--dot, #bdbdbd); border: 1px solid rgba(0, 0, 0, .25); }
.dtc-nl-sub { display: block; margin-top: 2px; font-size: .8rem; color: var(--dtc-muted, #646c78); font-weight: 400; }
.dtc-nl-muted { color: var(--dtc-muted, #646c78); font-size: .88rem; }
.dtc-nl-buy b { font-size: 1rem; }
.dtc-nl-dist { display: block; margin-top: 2px; font-size: .8rem; color: var(--dtc-muted, #646c78); }
.dtc-nl-dist.is-in { color: var(--dtc-blue, #1264df); font-weight: 700; }
.dtc-nl-act { display: inline-block; font-size: .8rem; font-weight: 700; border-radius: 12px; padding: 2px 10px; white-space: nowrap; }
.dtc-nl-act.is-up { background: var(--dtc-tint, #eaf1fd); color: var(--dtc-blue, #1264df); }
.dtc-nl-act.is-down { background: var(--dtc-soft, #f2f3f5); color: var(--dtc-ink, #1a1a1a); }
.dtc-nl-foot { margin: 0; padding: 8px 18px 10px; font-size: .78rem; color: var(--dtc-muted, #646c78); border-top: 1px solid var(--dtc-line, #e3e7ed); background: var(--dtc-page, #f6f8fb); }
.dtc-nl-empty { padding: 14px; color: var(--dtc-muted, #646c78); }

/* phones: each row becomes a small card, labels taken from the column */
@media (max-width: 640px) {
  figure.dtc-nl thead { display: none; }
  figure.dtc-nl table, figure.dtc-nl tbody, figure.dtc-nl tr, figure.dtc-nl td { display: block; width: 100%; box-sizing: border-box; }
  figure.dtc-nl tr { padding: 10px 14px; border-bottom: 1px solid var(--dtc-line, #e3e7ed); }
  figure.dtc-nl tbody tr:last-child { border-bottom: 0; }
  figure.dtc-nl td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  figure.dtc-nl td.num { white-space: normal; }
  figure.dtc-nl td[data-label]::before { content: attr(data-label); color: var(--dtc-muted, #646c78); font-size: .82rem; text-align: left; }
  figure.dtc-nl td.dtc-nl-stock { display: block; text-align: left; padding-bottom: 6px; }
  .dtc-nl-buy b, .dtc-nl-dist, .dtc-nl-sub { display: block; }
}

/* editor form */
.dtc-nlb-edit { border: 1px dashed #c3c4c7; border-radius: 8px; padding: 12px; background: #fff; }
.dtc-nlb-title { font-weight: 700; margin-bottom: 8px; }
.dtc-nlb-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; padding: 10px 0; border-top: 1px solid #f0f0f1; }
.dtc-nlb-num { font-weight: 700; color: #757575; padding-top: 28px; }
.dtc-nlb-fields .components-base-control { margin-bottom: 8px; }
.dtc-nlb-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dtc-nlb-three { grid-template-columns: 1fr 1fr 1fr; }
.dtc-nlb-tools { display: flex; flex-direction: column; gap: 2px; padding-top: 22px; }
.dtc-nlb-actions { display: flex; gap: 8px; padding-top: 8px; border-top: 1px solid #f0f0f1; }
.dtc-nlb-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-bottom: 10px; } .dtc-nlb-who .dtc-nlb-title { margin: 0; }
