/* ── Tools upsell overlay (triggered from simulator iframe) ── */
#tools-upsell-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#tools-upsell-overlay.open { display: flex; }
.tuo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 16, 30, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.tuo-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 52px 48px 44px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(6, 16, 30, 0.38);
}
.tuo-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  font-size: 26px; line-height: 1;
  color: #9aa3b0; cursor: pointer;
  padding: 4px 8px;
}
.tuo-close:hover { color: #273e57; }
.tuo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.tuo-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #273e57;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
}
.tuo-card p {
  font-size: 1rem;
  color: #5a6a7e;
  line-height: 1.6;
  margin: 0 0 28px;
}
.tuo-card p strong {
  color: #273e57;
  font-weight: 850;
}
.tuo-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: nowrap;
}
.tuo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  transition: background 0.16s, transform 0.14s;
}
.tuo-btn:hover { transform: translateY(-1px); }
.tuo-btn--primary { background: #c6a354; color: #273e57; }
.tuo-btn--primary:hover { background: #d4b570; }
.tuo-btn--secondary { background: rgba(39,62,87,0.07); color: #273e57; }
.tuo-btn--secondary:hover { background: rgba(39,62,87,0.13); }
@media (max-width: 520px) {
  .tuo-card { padding: 40px 28px 32px; border-radius: 20px; }
  .tuo-card h2 { font-size: 1.4rem; }
  .tuo-card p { font-size: 0.9rem; }
  .tuo-actions { gap: 8px; }
  .tuo-btn { padding: 12px 10px; font-size: 0.8125rem; }
}
