/* Signup / trial / subscribe — a new surface. Do not restyle splash or home. */

#license-view {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  background: var(--bg);
}

#license-view.hidden { display: none !important; }

/* Splash is pointer-events:none so a stuck welcome screen cannot trap the
   app. Until it is gone, those pass-through clicks must not hit Sign in. */
#splash-view:not(.is-gone) ~ #license-view:not(.is-interactive) {
  pointer-events: none;
}

.license-card {
  width: min(440px, 100%);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 28px 24px;
  text-align: center;
}

.license-logo {
  display: block;
  height: 72px;
  width: auto;
  max-width: 96px;
  margin: 0 auto 10px;
  object-fit: contain;
}

.license-name {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.1;
}

.license-product {
  margin: 6px 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.license-card h1 {
  margin: 6px 0 10px;
  font-size: 22px;
  font-weight: 650;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.license-card .license-lead {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

#licenseEmail {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--navy);
}

#licenseSubscribe {
  display: inline-block;
  margin: 4px 0 12px;
  color: var(--blue);
  font-weight: 600;
}

#licenseSubscribe.hidden { display: none !important; }

#subscriberConfig label.subscriber-gate {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 12px;
  font-size: 13px;
}

#licenseTrialNote {
  margin: 8px 0 0;
  font-size: 13px;
}

.license-secret-row {
  text-align: left;
  margin: 0 0 14px;
}
.license-secret-row.hidden,
.license-secret-row[hidden] {
  display: none !important;
}
.license-secret-label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}
#licenseGoogleSecret {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm, 6px);
  background: var(--card);
  color: var(--navy);
}
.license-secret-hint {
  margin: 6px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.sidekick-setup-steps {
  margin: 20px 0 16px;
  padding: 14px 16px;
  background: var(--bg, #f8fafc);
  border: 1px solid var(--line, #e2e8f0);
  border-radius: var(--r-md, 8px);
  text-align: left;
}

.setup-steps-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #0f172a);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.setup-steps-list {
  margin: 0;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--navy, #334155);
}

.setup-steps-lead {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--navy, #334155);
}
.sidekick-setup-steps .primary-btn { width: 100%; margin-top: 4px; }

.setup-steps-list li {
  margin-bottom: 6px;
}

.setup-steps-list li:last-child {
  margin-bottom: 0;
}

