/* The "Trade this" button screener-trades.js adds to each screener row, and the shared panel it opens
   (static/tradethis.js, static/features.css' .tradethis/.ft-td). Injected into the proxied business screener
   page (worker/worker.js, /screener/), which doesn't carry trades.css' tokens -- colours are written out
   literally here, the same approach as static/deskframe.css. */
.scr-co .tradethis { display: inline-flex; align-items: center; margin-top: 4px; background: transparent;
  color: #5F5F5F; font: 600 11px/1 "Public Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  border: 1px solid #DCDCDC; border-radius: 4px; padding: 3px 7px; cursor: pointer; }
.scr-co .tradethis:hover { background: rgba(31, 22, 56, .06); color: #1F1638; border-color: #1F1638; }

.ft-td { border: none; border-radius: 6px; padding: 0; max-width: 460px; width: calc(100% - 32px);
  max-height: calc(100% - 32px); overflow: auto; background: #FFFFFF; color: #121212;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, .22), 0 2px 6px rgba(0, 0, 0, .06); }
.ft-td::backdrop { background: rgba(31, 22, 56, .55); }
.ft-td-form { position: relative; padding: 24px 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.ft-td-x { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; display: inline-flex;
  align-items: center; justify-content: center; background: transparent; border: 1px solid #DCDCDC;
  border-radius: 50%; color: #5F5F5F; font-size: 18px; line-height: 1; cursor: pointer; }
.ft-td-x:hover { background: rgba(31, 22, 56, .06); color: #1F1638; border-color: #1F1638; }
.ft-td h2 { margin: 0; padding-right: 30px; font: 700 15px/1.2 "Public Sans", system-ui, sans-serif;
  text-transform: uppercase; letter-spacing: .02em; }
.ft-td-restate { margin: 0; font: 400 16px/1.45 Georgia, serif; }
.ft-td-brokers { display: flex; flex-wrap: wrap; gap: 8px; }
.ft-td-brokers .btn-q { display: inline-flex; padding: 8px 12px; font-size: 13px; border: 1px solid #1F1638;
  border-radius: 4px; color: #1F1638; text-decoration: none; }
.ft-td-disc.disc { margin: 4px 0 0; padding-top: 12px; color: #5F5F5F; font-size: 13px; }
.ft-td-ref { margin: 0; font-size: 11.5px; color: #5F5F5F; }
@media (max-width: 420px) { .ft-td { width: calc(100% - 20px); } .ft-td-form { padding: 20px 16px 16px; } }
