@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap");

body {
  font-family: "Inter", sans-serif;
  background-color: #f1f5f9;
}
h1, h2, .font-display {
  font-family: "Sora", "Inter", sans-serif;
}
.dark body {
  background-color: #0f172a;
}
.hidden-screen {
  display: none !important;
}

.tech-generate-btn {
  position: relative;
  isolation: isolate;
  min-height: 4.25rem;
  overflow: hidden;
  border: 1px solid rgb(56 189 248 / 0.72);
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  color: #fff;
  background:
    radial-gradient(circle at 8% 50%, rgb(34 211 238 / 0.3), transparent 28%),
    radial-gradient(circle at 92% 50%, rgb(37 99 235 / 0.4), transparent 30%),
    linear-gradient(105deg, #082b8d 0%, #064fcb 48%, #087fc8 100%);
  box-shadow:
    0 16px 34px -18px rgb(0 93 255 / 0.95),
    inset 0 1px 0 rgb(255 255 255 / 0.22),
    inset 0 -1px 0 rgb(34 211 238 / 0.2);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.tech-generate-btn:hover {
  transform: translateY(-2px);
  border-color: #67e8f9;
  box-shadow:
    0 20px 42px -17px rgb(0 119 255 / 0.95),
    0 0 20px rgb(34 211 238 / 0.18),
    inset 0 1px 0 rgb(255 255 255 / 0.24);
}
.tech-generate-btn:active {
  transform: translateY(0) scale(0.995);
}
.tech-generate-btn:focus-visible {
  outline: 3px solid rgb(34 211 238 / 0.48);
  outline-offset: 3px;
}
.tech-generate-scan {
  position: absolute;
  inset: -35% auto -35% -34%;
  z-index: -1;
  width: 26%;
  transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgb(103 232 249 / 0.3), transparent);
  animation: techScan 3.2s ease-in-out infinite;
}
.tech-generate-pulse {
  position: absolute;
  z-index: -1;
  bottom: 0;
  left: -34%;
  width: 34%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #67e8f9 45%, #38bdf8 65%, transparent);
  box-shadow: 0 0 12px #22d3ee;
  animation: techPulseLine 2.7s linear infinite;
}
.tech-generate-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tech-generate-title {
  display: block;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgb(186 230 253 / 0.28);
}

.loading-tech-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgb(103 232 249 / 0.22);
  border-radius: 1.5rem;
  padding: 1.6rem 1rem 1.25rem;
  color: #fff;
  background:
    radial-gradient(circle at 50% 0%, rgb(34 211 238 / 0.16), transparent 34%),
    radial-gradient(circle at 5% 100%, rgb(109 40 217 / 0.24), transparent 38%),
    linear-gradient(145deg, #020617, #0b1231 52%, #07162a);
  box-shadow:
    0 28px 70px -35px rgb(15 23 42 / 0.9),
    inset 0 1px 0 rgb(255 255 255 / 0.07);
}
.loading-tech-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.34;
  background-image:
    linear-gradient(rgb(34 211 238 / 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgb(99 102 241 / 0.13) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.loading-tech-scan {
  position: absolute;
  z-index: -1;
  top: -25%;
  bottom: -25%;
  left: -35%;
  width: 24%;
  transform: skewX(-16deg);
  background: linear-gradient(90deg, transparent, rgb(34 211 238 / 0.08), transparent);
  animation: loadingScan 4.5s ease-in-out infinite;
}
.loading-ai-core {
  position: relative;
  display: grid;
  width: 5rem;
  height: 5rem;
  margin: 0 auto;
  place-items: center;
  border-radius: 999px;
  color: #a5f3fc;
  background: radial-gradient(circle, rgb(34 211 238 / 0.16), rgb(37 99 235 / 0.08) 56%, transparent 58%);
}
.loading-ai-core > svg {
  width: 2rem;
  height: 2rem;
  z-index: 1;
  filter: drop-shadow(0 0 9px rgb(34 211 238 / 0.72));
  animation: loadingChipPulse 1.5s ease-in-out infinite;
}
.loading-spinner-ring {
  position: absolute;
  inset: 0;
  border: 3px solid rgb(59 130 246 / 0.18);
  border-top-color: #22d3ee;
  border-right-color: #2563eb;
  border-radius: 999px;
  box-shadow:
    0 0 18px rgb(34 211 238 / 0.18),
    inset 0 0 12px rgb(37 99 235 / 0.08);
  animation: loadingSpinner 0.9s linear infinite;
}
.loading-progress-wrap {
  max-width: 31rem;
  margin: 1.4rem auto 0;
}
.loading-progress-track {
  height: 0.42rem;
  overflow: hidden;
  border: 1px solid rgb(148 163 184 / 0.16);
  border-radius: 999px;
  background: rgb(15 23 42 / 0.82);
}
.loading-progress-bar {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(90deg, #7c3aed, #22d3ee, #60a5fa);
  box-shadow: 0 0 16px rgb(34 211 238 / 0.5);
  transition: width 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.loading-progress-bar::after {
  position: absolute;
  inset: 0;
  content: "";
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.5), transparent);
  animation: progressShine 1.8s ease-in-out infinite;
}
.loading-progress-label {
  display: block;
  margin-top: 0.55rem;
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}
.loading-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  max-width: 34rem;
  margin: 1.35rem auto 0;
}
.loading-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  min-height: 3.7rem;
  border: 1px solid rgb(148 163 184 / 0.12);
  border-radius: 0.85rem;
  padding: 0.65rem 0.75rem;
  color: #94a3b8;
  background: rgb(15 23 42 / 0.54);
  transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}
.loading-step .step-icon {
  display: grid;
  width: 1.85rem;
  height: 1.85rem;
  place-items: center;
  border: 1px solid rgb(148 163 184 / 0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}
.loading-step strong,
.loading-step small {
  display: block;
}
.loading-step strong {
  color: #cbd5e1;
  font-size: 0.78rem;
  line-height: 1.2;
}
.loading-step small {
  margin-top: 0.18rem;
  color: #64748b;
  font-size: 0.66rem;
  line-height: 1.3;
}
.loading-step.active {
  transform: translateY(-1px);
  border-color: rgb(34 211 238 / 0.5);
  color: #67e8f9;
  background: rgb(8 47 73 / 0.48);
  box-shadow: inset 0 0 20px rgb(34 211 238 / 0.06);
}
.loading-step.active .step-icon {
  border-color: #22d3ee;
  box-shadow: 0 0 14px rgb(34 211 238 / 0.35);
  animation: stepPulse 1.4s ease-in-out infinite;
}
.loading-step.active strong { color: #ecfeff; }
.loading-step.done {
  border-color: rgb(52 211 153 / 0.28);
  color: #6ee7b7;
  background: rgb(6 78 59 / 0.22);
}
.loading-step.done .step-icon {
  border-color: rgb(52 211 153 / 0.65);
  color: #6ee7b7;
  background: rgb(6 78 59 / 0.5);
  animation: none;
}
.loading-step.done strong { color: #d1fae5; }
.loading-cancel-btn {
  display: block;
  margin: 1.2rem auto 0;
  border: 1px solid rgb(148 163 184 / 0.24);
  border-radius: 0.7rem;
  padding: 0.55rem 1rem;
  color: #cbd5e1;
  background: rgb(15 23 42 / 0.56);
  font-size: 0.72rem;
  font-weight: 700;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.loading-cancel-btn:hover {
  border-color: rgb(248 113 113 / 0.52);
  color: #fecaca;
  background: rgb(127 29 29 / 0.2);
}
.loading-cancel-btn:focus-visible {
  outline: 2px solid #67e8f9;
  outline-offset: 3px;
}
.loading-motivacional {
  min-height: 1.2rem;
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.72rem;
  font-style: italic;
  text-align: center;
  transition: opacity 0.25s ease;
}

@media (min-width: 640px) {
  .tech-generate-btn { padding-inline: 1.25rem; }
  .tech-generate-title { font-size: 1.08rem; }
  .loading-tech-card { padding: 2rem 2rem 1.5rem; }
  .loading-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@keyframes techPulseLine {
  0% { left: -34%; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes techScan {
  0%, 12% { left: -38%; opacity: 0; }
  28% { opacity: 1; }
  68%, 100% { left: 118%; opacity: 0; }
}
@keyframes loadingScan {
  0%, 15% { left: -35%; opacity: 0; }
  30% { opacity: 1; }
  72%, 100% { left: 115%; opacity: 0; }
}
@keyframes loadingSpinner { to { transform: rotate(360deg); } }
@keyframes loadingChipPulse {
  0%, 100% { opacity: 0.72; }
  50% { opacity: 1; }
}
@keyframes progressShine { to { transform: translateX(100%); } }
@keyframes stepPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
.option-btn {
  transition: all 0.2s ease-in-out;
  border-width: 2px;
}
.option-btn:hover:not(:disabled) {
  border-color: #0f172a;
  background-color: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}
.dark .option-btn:hover:not(:disabled) {
  border-color: #e2e8f0;
  background-color: #334155;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.4);
}
.option-correct {
  background-color: #ecfdf5 !important;
  border-color: #10b981 !important;
  color: #065f46;
  font-weight: bold;
}
.dark .option-correct {
  background-color: #064e3b !important;
  border-color: #10b981 !important;
  color: #d1fae5;
}
.option-wrong {
  background-color: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #991b1b;
}
.dark .option-wrong {
  background-color: #7f1d1d !important;
  border-color: #ef4444 !important;
  color: #fee2e2;
}
.fade-in {
  animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.md-strong {
  text-decoration: underline;
  text-decoration-color: #1e293b;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 800;
}
.dark .md-strong {
  text-decoration-color: #94a3b8;
}
.md-em {
  font-style: italic;
  color: #1d4ed8;
}
.dark .md-em {
  color: #93c5fd;
}
.progress-ring-circle {
  transition: stroke-dashoffset 1s ease-in-out;
}
.barra-tempo {
  transition: width 0.8s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .tech-generate-scan,
  .tech-generate-pulse,
  .loading-tech-scan,
  .loading-ai-core > svg,
  .loading-spinner-ring,
  .loading-progress-bar::after,
  .loading-step.active .step-icon {
    animation: none !important;
  }
  .tech-generate-btn,
  .loading-progress-bar,
  .loading-step {
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Componentes visuais compartilhados ---------- */
:root {
  --sq-primary: #2563eb;
  --sq-primary-hover: #1d4ed8;
  --sq-success: #059669;
  --sq-warning: #d97706;
  --sq-danger: #dc2626;
  --sq-surface: #ffffff;
  --sq-border: #e2e8f0;
}

.dark {
  --sq-surface: #0f172a;
  --sq-border: #334155;
}

.sq-topbar {
  position: sticky !important;
  top: 0;
  z-index: 40 !important;
  min-height: 4rem;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  border-bottom: 1px solid rgb(226 232 240 / 0.92);
  background: rgb(248 250 252 / 0.92);
  box-shadow: 0 1px 0 rgb(15 23 42 / 0.02);
  backdrop-filter: blur(14px);
}

.dark .sq-topbar {
  border-bottom-color: rgb(51 65 85 / 0.92);
  background: rgb(15 23 42 / 0.9);
}

.sq-topbar--app {
  justify-content: flex-end;
}

.sq-btn {
  display: inline-flex;
  min-height: 2.65rem;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.65rem 1rem;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.sq-btn:hover {
  transform: translateY(-1px);
}

.sq-btn:focus-visible {
  outline: 3px solid rgb(59 130 246 / 0.32);
  outline-offset: 2px;
}

.sq-btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.sq-btn--primary { color: #fff; background: var(--sq-primary); }
.sq-btn--primary:hover { background: var(--sq-primary-hover); }
.sq-btn--secondary { color: #334155; border-color: #cbd5e1; background: var(--sq-surface); }
.dark .sq-btn--secondary { color: #e2e8f0; border-color: #475569; }
.sq-btn--danger { color: #b91c1c; border-color: #fecaca; background: #fff; }
.sq-btn--danger:hover { background: #fef2f2; }
.dark .sq-btn--danger { color: #fca5a5; border-color: #7f1d1d; background: #0f172a; }
.sq-btn--success { color: #fff; background: var(--sq-success); }

.sq-skeleton {
  position: relative;
  overflow: hidden;
  color: transparent !important;
  background: #e2e8f0 !important;
}

.dark .sq-skeleton {
  background: #334155 !important;
}

.sq-skeleton::after {
  position: absolute;
  inset: 0;
  content: "";
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 0.48), transparent);
  animation: sq-shimmer 1.25s infinite;
}

.dark .sq-skeleton::after {
  background: linear-gradient(90deg, transparent, rgb(148 163 184 / 0.14), transparent);
}

.sq-skeleton-line {
  height: 0.75rem;
  border-radius: 999px;
}

@keyframes sq-shimmer {
  100% { transform: translateX(100%); }
}

.sq-subscription-panel[data-estado="pending"],
.sq-subscription-panel[data-estado="criando"] {
  border-color: #fcd34d !important;
  background: #fffbeb !important;
}

.dark .sq-subscription-panel[data-estado="pending"],
.dark .sq-subscription-panel[data-estado="criando"] {
  border-color: #92400e !important;
  background: rgb(120 53 15 / 0.22) !important;
}

.sq-subscription-panel[data-estado="authorized"] {
  border-color: #6ee7b7 !important;
  background: #ecfdf5 !important;
}

.dark .sq-subscription-panel[data-estado="authorized"] {
  border-color: #065f46 !important;
  background: rgb(6 78 59 / 0.22) !important;
}

.sq-mobile-nav {
  display: none;
}

.sq-admin-summary article {
  padding: 1rem !important;
}

.sq-admin-summary strong {
  margin-top: 0.35rem !important;
  font-size: 1.65rem !important;
  line-height: 1.15;
}

.sq-admin-filters {
  border-radius: 0.9rem;
  background: rgb(248 250 252 / 0.88);
}

.dark .sq-admin-filters {
  background: rgb(15 23 42 / 0.62);
}

@media (max-width: 767px) {
  .sq-page-with-mobile-nav {
    padding-bottom: calc(5.4rem + env(safe-area-inset-bottom));
  }

  .sq-page-with-mobile-nav footer {
    padding-bottom: 1.25rem !important;
  }

  .sq-mobile-nav {
    position: fixed;
    right: 0.65rem;
    bottom: calc(0.65rem + env(safe-area-inset-bottom));
    left: 0.65rem;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.25rem;
    border: 1px solid rgb(203 213 225 / 0.92);
    border-radius: 1.15rem;
    padding: 0.38rem;
    background: rgb(255 255 255 / 0.94);
    box-shadow: 0 18px 45px -18px rgb(15 23 42 / 0.65);
    backdrop-filter: blur(16px);
  }

  .dark .sq-mobile-nav {
    border-color: rgb(71 85 105 / 0.92);
    background: rgb(15 23 42 / 0.95);
  }

  .sq-mobile-nav__link {
    display: flex;
    min-width: 0;
    min-height: 3.35rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    border-radius: 0.85rem;
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 800;
    transition: color 0.18s ease, background-color 0.18s ease;
  }

  .sq-mobile-nav__link svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  .sq-mobile-nav__link.is-active {
    color: #1d4ed8;
    background: #dbeafe;
  }

  .dark .sq-mobile-nav__link { color: #94a3b8; }
  .dark .sq-mobile-nav__link.is-active { color: #bfdbfe; background: rgb(30 64 175 / 0.34); }

  .sq-admin-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .sq-admin-summary article {
    min-width: 0;
  }

  .sq-admin-summary article span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sq-skeleton::after { animation: none; }
  .sq-btn { transition: none; }
}

/* Convite e instruções de instalação do aplicativo */
.sq-install-banner[hidden],
.sq-install-modal[hidden] {
  display: none !important;
}
.sq-install-banner {
  position: fixed;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: 1rem;
  z-index: 70;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  width: min(46rem, calc(100% - 2rem));
  margin-inline: auto;
  border: 1px solid rgb(56 189 248 / 0.42);
  border-radius: 1rem;
  padding: 0.85rem;
  color: #e0f2fe;
  background:
    radial-gradient(circle at 8% 20%, rgb(34 211 238 / 0.16), transparent 32%),
    linear-gradient(135deg, rgb(2 6 23 / 0.98), rgb(10 30 74 / 0.98));
  box-shadow: 0 24px 60px -22px rgb(2 6 23 / 0.95), 0 0 24px rgb(37 99 235 / 0.14);
  opacity: 0;
  transform: translateY(calc(100% + 2rem));
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.sq-install-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.sq-install-app-icon,
.sq-install-sheet-icon {
  overflow: hidden;
  border: 1px solid rgb(103 232 249 / 0.35);
  border-radius: 0.85rem;
  background: #020617;
  box-shadow: 0 0 18px rgb(34 211 238 / 0.12);
}
.sq-install-app-icon {
  width: 3rem;
  height: 3rem;
}
.sq-install-app-icon img,
.sq-install-sheet-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sq-install-copy {
  min-width: 0;
}
.sq-install-copy strong,
.sq-install-copy span {
  display: block;
}
.sq-install-copy strong {
  color: #fff;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.25;
}
.sq-install-copy span {
  margin-top: 0.2rem;
  color: #94a3b8;
  font-size: 0.75rem;
  line-height: 1.35;
}
.sq-install-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.sq-install-primary,
.sq-install-secondary {
  border-radius: 0.7rem;
  padding: 0.62rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.sq-install-primary {
  border: 1px solid #38bdf8;
  color: #fff;
  background: linear-gradient(120deg, #0756c9, #087fc8);
  box-shadow: 0 8px 20px -10px rgb(14 165 233 / 0.95);
}
.sq-install-primary:hover {
  background: linear-gradient(120deg, #0648ad, #0369a1);
  transform: translateY(-1px);
}
.sq-install-secondary {
  border: 1px solid rgb(148 163 184 / 0.3);
  color: #cbd5e1;
  background: rgb(15 23 42 / 0.6);
}
.sq-install-secondary:hover {
  border-color: rgb(148 163 184 / 0.58);
  background: rgb(30 41 59 / 0.9);
}
.sq-install-primary:focus-visible,
.sq-install-secondary:focus-visible,
.sq-install-close:focus-visible {
  outline: 3px solid rgb(56 189 248 / 0.55);
  outline-offset: 2px;
}
.sq-install-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.18s ease;
}
.sq-install-modal.is-visible {
  opacity: 1;
}
.sq-install-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(2 6 23 / 0.72);
  backdrop-filter: blur(5px);
}
.sq-install-sheet {
  position: relative;
  z-index: 1;
  width: min(28rem, 100%);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  border: 1px solid #cbd5e1;
  border-radius: 1.25rem;
  padding: 1.4rem;
  color: #334155;
  background: #fff;
  box-shadow: 0 30px 80px -24px rgb(2 6 23 / 0.85);
  transform: translateY(0.75rem) scale(0.98);
  transition: transform 0.18s ease;
}
.sq-install-modal.is-visible .sq-install-sheet {
  transform: translateY(0) scale(1);
}
.dark .sq-install-sheet {
  border-color: #334155;
  color: #cbd5e1;
  background: #0f172a;
}
.sq-install-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 999px;
  color: #64748b;
  font-size: 1.55rem;
  line-height: 1;
}
.sq-install-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}
.dark .sq-install-close:hover {
  color: #fff;
  background: #1e293b;
}
.sq-install-sheet-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
}
.sq-install-sheet h2 {
  padding-right: 2rem;
  color: #0f172a;
  font-family: "Sora", "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}
.dark .sq-install-sheet h2 {
  color: #f8fafc;
}
.sq-install-sheet > p {
  margin-top: 0.45rem;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.55;
}
.dark .sq-install-sheet > p {
  color: #94a3b8;
}
.sq-install-steps {
  display: grid;
  gap: 0.7rem;
  margin-top: 1rem;
}
.sq-install-steps li {
  display: grid;
  grid-template-columns: 1.8rem minmax(0, 1fr);
  align-items: center;
  gap: 0.7rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.8rem;
  padding: 0.7rem;
  background: #f8fafc;
}
.dark .sq-install-steps li {
  border-color: #334155;
  background: #1e293b;
}
.sq-install-steps li > span {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #0756c9;
  font-size: 0.75rem;
  font-weight: 900;
}
.sq-install-steps p {
  font-size: 0.82rem;
  line-height: 1.45;
}
.sq-share-symbol {
  display: inline-grid;
  width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border: 1px solid #60a5fa;
  border-radius: 0.3rem;
  color: #2563eb;
  font-size: 1rem;
  font-style: normal;
  line-height: 1;
}
.sq-install-sheet .sq-install-note {
  border-left: 3px solid #38bdf8;
  border-radius: 0.35rem;
  padding: 0.65rem 0.75rem;
  background: #f0f9ff;
  color: #075985;
}
.dark .sq-install-sheet .sq-install-note {
  background: rgb(8 47 73 / 0.55);
  color: #bae6fd;
}
.sq-install-understood {
  width: 100%;
  margin-top: 1.1rem;
}
.sq-install-modal-open {
  overflow: hidden;
}

@media (max-width: 639px) {
  .sq-install-banner {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
  }
  .sq-install-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
  .sq-install-sheet {
    align-self: end;
    border-radius: 1.25rem 1.25rem 0.75rem 0.75rem;
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sq-install-banner,
  .sq-install-modal,
  .sq-install-sheet,
  .sq-install-primary,
  .sq-install-secondary {
    transition: none !important;
  }
}
