.nro-radar-host {
  --nro-navy: #082642;
  --nro-navy-2: #0c355d;
  --nro-blue: #1675d1;
  --nro-gold: #f1b94a;
  --nro-green: #138a68;
  --nro-ink: #142033;
  --nro-muted: #627087;
  --nro-line: #dce4ee;
  --nro-soft: #f3f7fb;
  --nro-white: #ffffff;
  color: var(--nro-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin: 24px auto;
  max-width: 1160px;
}

.nro-radar-host *,
.nro-radar-host *::before,
.nro-radar-host *::after {
  box-sizing: border-box;
}

.nro-radar-host button,
.nro-radar-host input,
.nro-radar-host select {
  font: inherit;
}

.nro-frame {
  background: var(--nro-white);
  border: 1px solid #cfdae7;
  border-radius: 24px;
  box-shadow: 0 22px 70px rgba(8, 38, 66, 0.14);
  overflow: hidden;
}

.nro-hero {
  background:
    radial-gradient(circle at 92% 6%, rgba(39, 142, 238, 0.34), transparent 30%),
    linear-gradient(135deg, #061c31 0%, var(--nro-navy) 55%, #0b3c69 100%);
  color: #fff;
  padding: 34px 40px 38px;
  position: relative;
}

.nro-hero::after {
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.nro-brand-row,
.nro-hero-grid {
  position: relative;
  z-index: 1;
}

.nro-brand-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}

.nro-brand {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
}

.nro-edition {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #dcecff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 7px 12px;
}

.nro-edition.is-pro {
  background: var(--nro-gold);
  border-color: var(--nro-gold);
  color: #2d2106;
}

.nro-hero-grid {
  align-items: end;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.nro-eyebrow {
  color: #82c2ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.nro-hero h2 {
  color: #fff;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -.04em;
  line-height: .98;
  margin: 0 0 18px;
  max-width: 720px;
}

.nro-lead {
  color: #d6e5f4;
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
  max-width: 760px;
}

.nro-metrics {
  display: flex;
  gap: 12px;
}

.nro-metrics > div {
  backdrop-filter: blur(6px);
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  min-width: 110px;
  padding: 16px;
  text-align: center;
}

.nro-metrics strong,
.nro-metrics span {
  display: block;
}

.nro-metrics strong {
  color: #fff;
  font-size: 27px;
  line-height: 1;
}

.nro-metrics span {
  color: #bcd1e5;
  font-size: 12px;
  margin-top: 7px;
  text-transform: uppercase;
}

.nro-flow {
  background: #edf5fd;
  border-bottom: 1px solid #d7e6f5;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, 1fr);
  padding: 16px 40px;
}

.nro-flow span {
  align-items: center;
  color: #334862;
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 9px;
}

.nro-flow b {
  align-items: center;
  background: var(--nro-blue);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 26px;
  justify-content: center;
  width: 26px;
}

.nro-compliance {
  background: #fff8e8;
  border-bottom: 1px solid #f3dfad;
  color: #6f5319;
  font-size: 13px;
  line-height: 1.5;
  padding: 11px 40px;
}

.nro-controls {
  background: #fff;
  padding: 32px 40px 24px;
}

.nro-search-wrap > label,
.nro-profile-fieldset legend,
.nro-select-label {
  color: var(--nro-navy);
  font-size: 14px;
  font-weight: 800;
}

.nro-search-box {
  align-items: center;
  background: var(--nro-soft);
  border: 2px solid #cad7e5;
  border-radius: 14px;
  display: flex;
  gap: 9px;
  margin-top: 8px;
  min-height: 56px;
  padding: 0 16px;
  transition: border-color .2s, box-shadow .2s;
}

.nro-search-box:focus-within {
  border-color: var(--nro-blue);
  box-shadow: 0 0 0 4px rgba(22,117,209,.12);
}

.nro-search-box span {
  color: var(--nro-blue);
  font-size: 25px;
}

.nro-search-box input {
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--nro-ink);
  flex: 1;
  font-size: 16px;
  min-width: 0;
  outline: 0;
  padding: 15px 0;
}

.nro-filter-row {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

.nro-select-label {
  display: none;
}

.nro-category {
  appearance: none;
  background: #fff;
  border: 1px solid #cbd7e4;
  border-radius: 11px;
  color: var(--nro-ink);
  min-height: 46px;
  padding: 9px 38px 9px 13px;
}

.nro-category-filter {
  margin-top: 18px;
}

.nro-category-title {
  color: var(--nro-navy);
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 9px;
}

.nro-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.nro-category-chip {
  background: #fff;
  border: 1px solid #cbd7e4;
  border-radius: 999px;
  color: #43546b;
  font-size: 12px;
  font-weight: 800;
  min-height: 38px;
  padding: 8px 13px;
  white-space: nowrap;
}

.nro-category-chip.is-active {
  background: var(--nro-navy);
  border-color: var(--nro-navy);
  color: #fff;
}

.nro-library-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.nro-favorites-toggle,
.nro-saved-toggle,
.nro-category-chip,
.nro-clear,
.nro-profile-button,
.nro-card button,
.nro-pagination button {
  cursor: pointer;
}

.nro-favorites-toggle,
.nro-saved-toggle {
  background: #fff;
  border: 1px solid #cbd7e4;
  border-radius: 11px;
  color: #43546b;
  font-weight: 800;
  min-height: 46px;
  padding: 10px 15px;
}

.nro-favorites-toggle.is-active {
  background: #fff5d8;
  border-color: #e6ba55;
  color: #76550e;
}

.nro-saved-toggle.is-active {
  background: #eaf4ff;
  border-color: #7fb7e9;
  color: #0e5ca6;
}

.nro-profile-fieldset {
  border: 0;
  margin: 24px 0 0;
  padding: 0;
}

.nro-radar.is-saved-view .nro-profile-fieldset,
.nro-radar.is-saved-view .nro-profile-guide {
  display: none;
}

.nro-profile-fieldset legend {
  margin-bottom: 10px;
  padding: 0;
}

.nro-profile-buttons {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, 1fr);
}

.nro-profile-button {
  align-items: center;
  background: #fff;
  border: 1px solid #cbd7e4;
  border-radius: 12px;
  color: #33465e;
  display: flex;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  padding: 10px;
  transition: transform .18s, border-color .18s, background .18s;
}

.nro-profile-button:hover {
  border-color: var(--nro-blue);
  transform: translateY(-1px);
}

.nro-profile-button.is-active {
  background: var(--nro-navy);
  border-color: var(--nro-navy);
  color: #fff;
}

.nro-profile-button span {
  font-size: 21px;
}

.nro-profile-guide {
  border-top: 1px solid var(--nro-line);
  margin-top: 20px;
  padding-top: 16px;
}

.nro-profile-guide summary {
  color: var(--nro-blue);
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
}

.nro-profile-guide-grid {
  display: grid;
  gap: 9px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 13px;
}

.nro-profile-guide-grid > div {
  background: var(--nro-soft);
  border-radius: 10px;
  display: grid;
  gap: 3px;
  padding: 11px 13px;
}

.nro-profile-guide-grid strong {
  color: var(--nro-navy);
  font-size: 13px;
}

.nro-profile-guide-grid span {
  color: var(--nro-muted);
  font-size: 12px;
}

.nro-results-head {
  align-items: center;
  background: var(--nro-soft);
  border-bottom: 1px solid var(--nro-line);
  border-top: 1px solid var(--nro-line);
  display: flex;
  justify-content: space-between;
  padding: 14px 40px;
}

.nro-results-summary {
  color: #43536a;
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}

.nro-clear {
  background: transparent;
  border: 0;
  color: var(--nro-blue);
  font-size: 13px;
  font-weight: 800;
}

.nro-results {
  display: grid;
  gap: 18px;
  padding: 28px 40px 20px;
}

.nro-card {
  background: #fff;
  border: 1px solid #d7e0eb;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(21, 49, 79, .07);
  padding: 22px;
}

.nro-card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.nro-category-badge {
  background: #e9f4ff;
  border-radius: 999px;
  color: #0e5ca6;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
  padding: 6px 9px;
}

.nro-favorite {
  background: transparent;
  border: 0;
  color: #d69c19;
  font-size: 25px;
  line-height: 1;
  padding: 3px;
}

.nro-objection {
  color: var(--nro-ink);
  font-size: clamp(20px, 3vw, 27px);
  letter-spacing: -.02em;
  line-height: 1.23;
  margin: 15px 0 18px;
}

.nro-profile-context {
  align-items: center;
  background: #eef5fc;
  border-left: 4px solid var(--nro-blue);
  border-radius: 10px;
  display: flex;
  gap: 12px;
  padding: 12px 14px;
}

.nro-profile-context.is-delfin { background: #fff7dc; border-left-color: #e5ac22; }
.nro-profile-context.is-ballena { background: #eaf8f2; border-left-color: #2e9b75; }
.nro-profile-context.is-erizo { background: #f1edff; border-left-color: #745ac8; }

.nro-profile-icon {
  font-size: 25px;
}

.nro-profile-context div {
  display: grid;
  gap: 2px;
}

.nro-profile-context b {
  color: var(--nro-navy);
  font-size: 13px;
}

.nro-profile-context div span {
  color: var(--nro-muted);
  font-size: 12px;
}

.nro-response {
  background: #071f36;
  border: 0;
  border-radius: 14px;
  color: #f2f7fc;
  font-size: 16px;
  line-height: 1.7;
  margin: 18px 0 0;
  padding: 20px 22px;
}

.nro-tactic {
  color: var(--nro-muted);
  font-size: 12px;
  margin: 11px 0 0;
}

.nro-tactic strong {
  color: #38516f;
}

.nro-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 17px;
}

.nro-card-actions button {
  border-radius: 10px;
  font-weight: 800;
  min-height: 43px;
  padding: 10px 15px;
}

.nro-copy {
  background: var(--nro-green);
  border: 1px solid var(--nro-green);
  color: #fff;
}

.nro-compare {
  background: #fff;
  border: 1px solid #bdcbd9;
  color: #38516f;
}

.nro-comparison {
  border-top: 1px solid var(--nro-line);
  margin-top: 20px;
  padding-top: 20px;
}

.nro-comparison h4 {
  color: var(--nro-navy);
  font-size: 16px;
  margin: 0 0 13px;
}

.nro-comparison-grid {
  display: grid;
  gap: 11px;
  grid-template-columns: repeat(2, 1fr);
}

.nro-compare-panel {
  background: #f2f7fc;
  border-left: 4px solid var(--nro-blue);
  border-radius: 10px;
  padding: 13px 14px;
}

.nro-compare-panel-head,
.nro-saved-panel-head {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.nro-compare-panel.is-delfin { background: #fff8e4; border-left-color: #e3aa1f; }
.nro-compare-panel.is-ballena { background: #ecf8f4; border-left-color: #2b9672; }
.nro-compare-panel.is-erizo { background: #f3efff; border-left-color: #7356c4; }

.nro-compare-panel h5 {
  color: var(--nro-navy);
  font-size: 13px;
  margin: 0 0 7px;
}

.nro-compare-panel-head h5,
.nro-saved-panel-head h5 {
  margin: 0;
}

.nro-save-response,
.nro-remove-saved {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(56,81,111,.24);
  border-radius: 999px;
  color: #38516f;
  font-size: 11px;
  font-weight: 800;
  min-height: 32px;
  padding: 6px 10px;
}

.nro-save-response.is-saved {
  background: #fff0bd;
  border-color: #dcad35;
  color: #6b4c08;
}

.nro-compare-panel p {
  color: #3e4e62;
  font-size: 13px;
  line-height: 1.55;
  margin: 10px 0 0;
}

.nro-saved-responses {
  border-top: 1px solid var(--nro-line);
  margin-top: 18px;
  padding-top: 18px;
}

.nro-saved-responses > h4 {
  color: var(--nro-navy);
  font-size: 16px;
  margin: 0 0 13px;
}

.nro-saved-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}

.nro-saved-panel {
  background: #f2f7fc;
  border-left: 4px solid var(--nro-blue);
  border-radius: 12px;
  padding: 15px;
}

.nro-saved-panel.is-delfin { background: #fff8e4; border-left-color: #e3aa1f; }
.nro-saved-panel.is-ballena { background: #ecf8f4; border-left-color: #2b9672; }
.nro-saved-panel.is-erizo { background: #f3efff; border-left-color: #7356c4; }

.nro-saved-panel h5 {
  color: var(--nro-navy);
  font-size: 13px;
}

.nro-saved-panel blockquote {
  border: 0;
  color: #2f4359;
  font-size: 14px;
  line-height: 1.6;
  margin: 13px 0 0;
  padding: 0;
}

.nro-saved-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 13px;
}

.nro-copy-saved {
  background: var(--nro-green);
  border: 1px solid var(--nro-green);
  border-radius: 9px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  min-height: 36px;
  padding: 7px 11px;
}

.nro-pagination {
  display: flex;
  gap: 7px;
  justify-content: center;
  padding: 10px 40px 30px;
}

.nro-pagination button {
  background: #fff;
  border: 1px solid #c6d3e1;
  border-radius: 9px;
  color: #40546c;
  min-height: 39px;
  min-width: 39px;
  padding: 8px 11px;
}

.nro-pagination button.is-current {
  background: var(--nro-navy);
  border-color: var(--nro-navy);
  color: #fff;
}

.nro-pagination button:disabled {
  cursor: not-allowed;
  opacity: .4;
}

.nro-upgrade {
  align-items: center;
  background: linear-gradient(135deg, #071e34 0%, #0c3a66 100%);
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr auto;
  margin: 10px 40px 32px;
  padding: 26px 28px;
  border-radius: 18px;
}

.nro-upgrade-kicker {
  color: #8fc8ff !important;
  font-size: 11px !important;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.nro-upgrade h3 {
  color: #fff;
  font-size: 23px;
  margin: 3px 0 7px;
}

.nro-upgrade p {
  color: #d2e1ee;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 700px;
}

.nro-upgrade-button {
  background: var(--nro-gold);
  border-radius: 11px;
  color: #2d2106 !important;
  font-weight: 900;
  padding: 13px 17px;
  text-align: center;
  text-decoration: none !important;
}

.nro-upgrade-actions {
  align-items: stretch;
  display: grid;
  gap: 9px;
}

.nro-upgrade-login {
  color: #d9e9f7 !important;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.nro-empty {
  background: var(--nro-soft);
  border: 1px dashed #b7c7d7;
  border-radius: 14px;
  padding: 34px;
  text-align: center;
}

.nro-empty strong {
  color: var(--nro-navy);
}

.nro-empty p {
  color: var(--nro-muted);
  margin: 6px 0 0;
}

.nro-footer {
  border-top: 1px solid var(--nro-line);
  color: #718096;
  font-size: 11px;
  line-height: 1.55;
  padding: 18px 40px 22px;
  text-align: center;
}

.nro-toast {
  background: #10283f;
  border-radius: 999px;
  bottom: 22px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  left: 50%;
  opacity: 0;
  padding: 11px 17px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 20px);
  transition: opacity .2s, transform .2s;
  z-index: 99999;
}

.nro-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.nro-radar-host button:focus-visible,
.nro-radar-host input:focus-visible,
.nro-radar-host select:focus-visible,
.nro-radar-host a:focus-visible,
.nro-radar-host summary:focus-visible {
  outline: 3px solid rgba(22,117,209,.35);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .nro-radar-host { margin: 12px 0; }
  .nro-frame { border-radius: 15px; }
  .nro-hero { padding: 27px 22px 30px; }
  .nro-hero-grid { align-items: start; grid-template-columns: 1fr; }
  .nro-metrics { width: 100%; }
  .nro-metrics > div { flex: 1; }
  .nro-flow { grid-template-columns: 1fr; padding: 15px 22px; }
  .nro-compliance { padding: 11px 22px; }
  .nro-controls { padding: 25px 20px 20px; }
  .nro-category-chips { flex-wrap: nowrap; margin-right: -20px; overflow-x: auto; padding-bottom: 7px; padding-right: 20px; scrollbar-width: thin; }
  .nro-filter-row { justify-content: stretch; }
  .nro-library-filters { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .nro-profile-buttons { grid-template-columns: repeat(2, 1fr); }
  .nro-profile-guide-grid { grid-template-columns: 1fr; }
  .nro-results-head { align-items: flex-start; gap: 10px; padding: 13px 20px; }
  .nro-results { padding: 20px; }
  .nro-card { border-radius: 14px; padding: 18px; }
  .nro-card-actions { flex-direction: column; }
  .nro-comparison-grid { grid-template-columns: 1fr; }
  .nro-saved-grid { grid-template-columns: 1fr; }
  .nro-pagination { flex-wrap: wrap; padding: 4px 20px 24px; }
  .nro-upgrade { grid-template-columns: 1fr; margin: 6px 20px 25px; padding: 23px; }
  .nro-footer { padding: 17px 20px; }
}

@media (max-width: 480px) {
  .nro-brand-row { align-items: flex-start; gap: 12px; }
  .nro-edition { font-size: 10px; }
  .nro-library-filters { grid-template-columns: 1fr; }
  .nro-save-response { font-size: 10px; }
  .nro-profile-button { justify-content: flex-start; }
  .nro-response { font-size: 15px; padding: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .nro-radar-host *,
  .nro-radar-host *::before,
  .nro-radar-host *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
