.fx-confirm-dialog:has(.fx-guardian-signal) { width: min(980px, calc(100% - 24px)); }
.fx-guardian-signal {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, .85fr);
  gap: 0;
  margin: 18px 24px 4px;
  border: 1px solid #35536b;
  border-radius: 16px;
  overflow: hidden;
  color: #ebf5fb;
  background: #091c2d;
}
.fx-guardian-signal [hidden] { display: none !important; }
.fx-guardian-signal .gs-market { min-width: 0; padding: 17px 18px 11px; background: linear-gradient(145deg, #102b3c, #081727 82%); }
.gs-chart-head, .gs-source, .gs-person, .gs-controls, .gs-steps { display: flex; align-items: center; gap: 10px; }
.gs-chart-head { justify-content: space-between; margin-bottom: 9px; }
.gs-chart-head strong { font-size: 14px; }
.gs-chart-head span { color: #aeccdb; font: 600 11px/1.4 ui-monospace, monospace; }
.gs-chart { width: 100%; height: auto; display: block; overflow: hidden; }
.gs-grid { stroke: #284153; stroke-width: 1; stroke-dasharray: 2 5; }
.gs-axis, .gs-tag { font: 10px ui-monospace, monospace; }
.gs-axis { fill: #a5bdcb; }
.gs-tag { font-weight: 650; }
.gs-trace { stroke-dasharray: 1; animation: gs-draw .75s ease-out both; }
@keyframes gs-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.gs-source { justify-content: space-between; align-items: baseline; color: #a9c3d0; font-size: 11px; margin-top: 5px; }
.gs-source button, .gs-controls button, .gs-steps button { color: #cde6f2; background: transparent; border: none; padding: 0; }
.gs-source button { white-space: nowrap; text-decoration: underline; }
.gs-guide { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; gap: 13px; padding: 16px 18px; border-left: 1px solid #2b4356; background: radial-gradient(ellipse at 12% 0, #51442e57, transparent 60%), #102132; }
.gs-person { gap: 12px; }
.gs-kicker { display: block; color: #e5bf7f; font: 650 10px/1.5 Manrope, system-ui, sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.fx-guardian-signal .gs-person h3 { color: #fff5dd; font: 730 23px/1.2 Manrope, system-ui, sans-serif; letter-spacing: -.04em; }
.gs-portrait { width: 60px; height: 64px; overflow: hidden; border: 1px solid #ba9357; border-radius: 12px; background: #121e2a; box-shadow: 0 2px 16px #8667353d; animation: gs-rise .6s cubic-bezier(.18,.75,.25,1) both; }
.gs-portrait video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; transform: scale(1.65); transform-origin: 50% 20%; }
@keyframes gs-rise { from { transform: translateY(32px); opacity: .1; } to { transform: translateY(0); opacity: 1; } }
.fx-guardian-signal .gs-caption { font-size: 14px; color: #e2edf4; line-height: 1.5; }
.gs-controls { margin-top: auto; gap: 14px; flex-wrap: wrap; }
.fx-guardian-signal [data-play] { padding: 6px 12px; border: 1px solid #a98854; border-radius: 8px; color: #f5d69a; font-size: 12px; font-weight: 700; min-height: 34px; }
.fx-guardian-signal [data-next] { font-size: 12px; min-height: 34px; }
.gs-audio-status { color: #f4ce8b; font-size: 12px; line-height: 1.3; }
.gs-audio-status:empty { display: none; }
.gs-steps { grid-column: 1 / -1; align-items: stretch; gap: 0; padding: 0 8px; overflow-x: auto; border-top: 1px solid #30475a; }
.gs-steps button { position: relative; flex: 1 0 auto; padding: 10px 9px; color: #a8bfcd; font-size: 12px; min-height: 40px; }
.gs-steps button[aria-pressed=true] { color: #f4cf89; font-weight: 700; }
.gs-steps button[aria-pressed=true]::after { content: ''; position: absolute; height: 2px; left: 9px; right: 9px; bottom: 0; background: #e8bd69; }
.gs-steps button:focus-visible { outline-offset: -4px; }
@media (max-width: 670px) {
  .fx-guardian-signal { grid-template-columns: minmax(0, 1fr); margin: 12px 12px 3px; }
  .fx-guardian-signal .gs-market { padding: 12px 12px 8px; }
  .gs-chart-head { margin-bottom: 4px; }
  .gs-guide { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 10px; row-gap: 6px; border-left: 0; border-top: 1px solid #30475a; padding: 12px; }
  .gs-person { display: contents; }
  .gs-portrait { grid-column: 1; grid-row: 1 / span 3; width: 50px; height: 60px; }
  .gs-person > div:last-child, .gs-caption, .gs-controls, .gs-audio-status { grid-column: 2; }
  .gs-kicker { display: inline; font-size: 9px; }
  .fx-guardian-signal .gs-person h3 { display: inline; font-size: 17px; margin-left: 7px; }
  .fx-guardian-signal .gs-caption { font-size: 13px; line-height: 1.4; }
  .gs-steps button { padding-inline: 7px; min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  .gs-portrait, .gs-trace { animation: none; }
}
@media (max-width: 670px) {
  #view-alertas .fx-signal-table :is(td, th):last-child {
    position: sticky; right: 0; z-index: 1; background: #10283c; box-shadow: -5px 0 8px -5px #061322;
  }
}
