/* Extended Protection — compact bar + safety/trust benefit styling
   Presentation only. Pricing / eligibility unchanged. */

.rt-ep {
  --rt-ep-safe: #0f766e;
  --rt-ep-safe-soft: #ecfdf5;
  --rt-ep-safe-mid: #d1fae5;
  --rt-ep-safe-line: rgba(15, 118, 110, 0.28);
  margin: 14px 0 0;
  padding: 0;
  border: 1px solid var(--rt-ep-safe-line);
  border-radius: 12px;
  background: linear-gradient(180deg, #f0fdf9 0%, #ffffff 42%);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(15, 118, 110, 0.04);
}

.rt-ep-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.rt-ep-ico {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--rt-ep-safe-soft);
  color: var(--rt-ep-safe);
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.rt-ep-ico svg {
  display: block;
}

.rt-ep-bar-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.rt-ep-title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 780;
  letter-spacing: -0.015em;
  color: #0b1220;
  line-height: 1.3;
}

.rt-ep-lead {
  margin: 2px 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #64748b;
  font-weight: 600;
}

.rt-ep-sum {
  color: var(--rt-ep-safe);
  font-weight: 750;
}

.rt-ep-toggle {
  flex: 0 0 auto;
  margin: 0;
  padding: 7px 12px;
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 8px;
  background: #fff;
  color: var(--rt-ep-safe);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.12s ease, border-color 0.12s ease;
}

.rt-ep-toggle:hover {
  background: var(--rt-ep-safe-soft);
  border-color: rgba(15, 118, 110, 0.42);
}

.rt-ep.is-open .rt-ep-toggle {
  color: #0b1220;
  border-color: rgba(15, 23, 42, 0.14);
}

.rt-ep-panel {
  padding: 0 14px 14px;
  border-top: 1px solid rgba(15, 118, 110, 0.12);
  background: #fff;
}

.rt-ep-panel[hidden] {
  display: none;
}

.rt-ep-std-line {
  margin: 12px 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 0.78rem;
  color: #475569;
  line-height: 1.4;
}

.rt-ep-std-line span {
  font-weight: 750;
  color: #0b1220;
}

.rt-ep-plans {
  display: grid;
  gap: 8px;
}

.rt-ep-plan {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease, box-shadow 0.12s ease;
}

.rt-ep-plan:hover {
  border-color: rgba(15, 23, 42, 0.22);
}

.rt-ep-plan.is-selected {
  border-color: rgba(15, 23, 42, 0.35);
  background: #f8fafc;
}

.rt-ep-plan--benefit {
  border-color: rgba(15, 118, 110, 0.18);
}

.rt-ep-plan--benefit:hover {
  border-color: rgba(15, 118, 110, 0.36);
  background: #f7fffb;
}

.rt-ep-plan--benefit.is-selected {
  border-color: var(--rt-ep-safe);
  background: var(--rt-ep-safe-soft);
  box-shadow: inset 0 0 0 1px rgba(15, 118, 110, 0.08);
}

.rt-ep-plan input {
  margin: 0;
  accent-color: var(--rt-ep-safe);
}

.rt-ep-plan-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.rt-ep-plan-name {
  font-size: 0.86rem;
  font-weight: 750;
  color: #0b1220;
}

.rt-ep-plan-meta {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}

.rt-ep-plan-price {
  font-size: 0.86rem;
  font-weight: 780;
  color: #0b1220;
  white-space: nowrap;
}

.rt-ep-plan--benefit .rt-ep-plan-price {
  color: var(--rt-ep-safe);
}

.rt-ep-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.rt-ep-cols--used {
  align-items: start;
}

.rt-ep-cols--used .rt-ep-col:nth-child(3) {
  grid-column: 1 / -1;
}

.rt-ep-col {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: #fafbfc;
}

.rt-ep-col--ok {
  background: var(--rt-ep-safe-soft);
  border-color: rgba(15, 118, 110, 0.16);
}

.rt-ep-col--no {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.07);
}

.rt-ep-cols h3 {
  margin: 0 0 4px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.rt-ep-col--ok h3 {
  color: var(--rt-ep-safe);
}

.rt-ep-cols ul {
  margin: 0;
  padding: 0 0 0 0.95em;
  font-size: 0.72rem;
  line-height: 1.32;
  color: #334155;
}

.rt-ep-cols li + li {
  margin-top: 2px;
}

.rt-ep-policy {
  margin: 8px 0 0;
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
}

.rt-ep-policy a {
  color: var(--rt-ep-safe);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rt-cart-ep {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin: 6px 0 2px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--rt-ep-safe-soft);
  border: 1px solid rgba(15, 118, 110, 0.14);
  font-size: 0.78rem;
  color: #334155;
}

.rt-cart-ep strong {
  font-weight: 750;
  color: var(--rt-ep-safe);
  white-space: nowrap;
}

.ck-line-ep {
  padding-left: 8px;
  border-left: 2px solid rgba(15, 118, 110, 0.35);
  margin-left: 12px;
}

@media (max-width: 720px) {
  .rt-ep-bar {
    align-items: flex-start;
    padding: 11px 12px;
  }

  .rt-ep-ico {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }

  .rt-ep-panel {
    padding: 0 12px 12px;
  }

  .rt-ep-cols {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rt-ep-plan {
    grid-template-columns: auto 1fr;
    grid-template-areas: "radio body" "radio price";
  }

  .rt-ep-plan input {
    grid-area: radio;
  }

  .rt-ep-plan-body {
    grid-area: body;
  }

  .rt-ep-plan-price {
    grid-area: price;
    justify-self: start;
  }
}
