/* Radar automático das oportunidades de menor TIR. */
.btn-tir-radar {
  border-color: rgba(127,203,160,.35) !important;
  color: #a8dfbd !important;
}
.tir-radar-pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #7fcba0;
  box-shadow: 0 0 0 4px rgba(127,203,160,.08);
}
.tir-radar-overlay { z-index: 13500; padding: 22px; overflow-y: auto; }
.tir-radar-modal {
  width: min(880px, 96vw);
  max-height: calc(100vh - 44px);
  margin: auto;
  overflow: hidden auto;
  border: 1px solid rgba(201,168,106,.30);
  border-radius: 14px;
  background: #111416;
  color: #ecebe6;
  box-shadow: 0 30px 90px rgba(0,0,0,.56);
}
.tir-radar-header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 26px 20px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(17,20,22,.96);
  backdrop-filter: blur(16px);
}
.tir-radar-kicker {
  color: #c9a86a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .16em;
}
.tir-radar-header h2 {
  margin: 8px 0 5px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 23px;
  font-weight: 500;
}
.tir-radar-header p { margin: 0; color: #a7aaa5; font-size: 12px; line-height: 1.5; }
.tir-radar-close {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  background: transparent;
  color: #aaa;
  font-size: 20px;
  cursor: pointer;
}
.tir-radar-list { display: grid; gap: 7px; padding: 18px 26px 5px; }
.tir-radar-row {
  display: grid;
  grid-template-columns: 32px minmax(150px,1.35fr) 105px 135px 135px;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 8px;
  background: rgba(255,255,255,.018);
}
.tir-radar-rank {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(201,168,106,.32);
  border-radius: 50%;
  color: #c9a86a;
  font-size: 10px;
  font-weight: 800;
}
.tir-radar-card-id strong,
.tir-radar-rate strong,
.tir-radar-number strong { display: block; color: #e5e3dd; font-size: 12px; }
.tir-radar-card-id span,
.tir-radar-rate span,
.tir-radar-number span { display: block; margin-bottom: 3px; color: #8a8d89; font-size: 9px; text-transform: uppercase; }
.tir-radar-rate strong { color: #7fcba0; font-size: 15px; }
.tir-radar-empty { margin: 20px 26px; padding: 28px; border: 1px dashed rgba(255,255,255,.10); border-radius: 9px; color: #90928e; text-align: center; }
.tir-radar-previews { margin: 12px 26px 0; border-top: 1px solid rgba(255,255,255,.07); }
.tir-radar-previews summary { padding: 12px 0; color: #aeb0ac; font-size: 11px; cursor: pointer; }
.tir-radar-previews > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.tir-radar-previews img { width: 100%; max-height: 260px; object-fit: contain; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; background: #fff; }
.tir-radar-auto-email {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 26px 0;
  color: #b4b5b1;
  font-size: 11px;
  cursor: pointer;
}
.tir-radar-auto-email input { accent-color: #c9a86a; }
.tir-radar-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 26px 8px; }
.tir-radar-status { margin: 0 26px 22px; color: #9a9d98; font-size: 11px; }
.tir-radar-status.success { color: #7fcba0; }
.tir-radar-status.warning { color: #d8b05d; }
@media (max-width: 720px) {
  .tir-radar-overlay { padding: 0; }
  .tir-radar-modal { width: 100vw; max-height: 100vh; min-height: 100vh; border: 0; border-radius: 0; }
  .tir-radar-header { padding: 18px 16px; }
  .tir-radar-row { grid-template-columns: 30px 1fr 84px; }
  .tir-radar-number { display: none; }
  .tir-radar-list { padding: 14px 12px 4px; }
  .tir-radar-previews, .tir-radar-status, .tir-radar-auto-email { margin-right: 16px; margin-left: 16px; }
  .tir-radar-actions { padding-right: 16px; padding-left: 16px; }
  .tir-radar-previews > div { grid-template-columns: 1fr 1fr; }
}
