@charset "UTF-8";
/* "Generate a demo with AI" — tile + modal.
   Follows the plugin's admin design language (see the feedback modal styles
   in importer.css): neutral grays, #1d1d1f accents, standard WP buttons. */
/* Grid tile — inherits .inspiro-starter-sites-demo-suggest-tile; only the
   badge position is added. */
.inspiro-starter-sites-demo-ai-tile {
  position: relative;
}

.iss-ai-tile-badge {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
}

/* Overlay + modal shell */
.iss-ai-root[hidden] {
  display: none;
}

body.iss-ai-open {
  overflow: hidden;
}

.iss-ai-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(17, 19, 22, 0.55);
}

.iss-ai-modal--xl {
  position: relative;
  display: flex;
  width: min(1240px, 100%);
  height: min(780px, 100vh - 48px);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.iss-ai-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
  border-radius: 50%;
}

.iss-ai-close:hover {
  background: #f1f2f4;
  color: #1d1d1f;
}

/* Sidebar */
.iss-ai-sidebar {
  display: flex;
  flex-direction: column;
  flex: 0 0 320px;
  padding: 36px 32px 28px;
  background: #f6f7f7;
  border-inline-end: 1px solid #eceef1;
  box-sizing: border-box;
}

.iss-ai-sidebar h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.iss-ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: #434f69;
  background: #e9f2fb;
}

.iss-ai-intro {
  margin: 0 0 28px;
  color: #6b7280;
  font-size: 13px;
  line-height: 1.55;
}

/* Sidebar steps */
.iss-ai-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.iss-ai-steps li {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  opacity: 0.55;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.iss-ai-steps li.is-current {
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  opacity: 1;
}

.iss-ai-steps li.is-done {
  opacity: 0.8;
}

.iss-ai-step-num {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e5e7eb;
  color: #3c434a;
  font-size: 12px;
  font-weight: 700;
}

.iss-ai-steps li.is-current .iss-ai-step-num {
  background: #1d1d1f;
  color: #ffffff;
}

.iss-ai-steps li.is-done .iss-ai-step-num {
  background: #e8f8ef;
  color: #0a5c36;
}

.iss-ai-steps li.is-done .iss-ai-step-num::before {
  content: "✓";
}

.iss-ai-steps li.is-done .iss-ai-step-num {
  font-size: 0;
}

.iss-ai-steps li.is-done .iss-ai-step-num::before {
  font-size: 12px;
}

.iss-ai-step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.iss-ai-step-text strong {
  font-size: 13px;
  color: #1d1d1f;
}

.iss-ai-step-text em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
  color: #8a8f98;
}

.iss-ai-sidebar-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #eceef1;
}

/* Premium upsell shown when a free site exhausts its generations. */
.iss-ai-upsell {
  margin-bottom: 14px;
  padding: 14px;
  background: #ffffff;
  border: 1.5px solid #e4e4e7;
  border-radius: 10px;
}

.iss-ai-upsell[hidden] {
  display: none;
}

.iss-ai-upsell p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #50575e;
}

.iss-ai-upsell-btn {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  background: #1d1d1f;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.iss-ai-upsell-btn:hover,
.iss-ai-upsell-btn:focus {
  background: #000000;
  color: #ffffff;
}

.iss-ai-quota {
  display: block;
  font-size: 12px;
  color: #8a8f98;
}

.iss-ai-quota.is-exhausted {
  color: #d63638;
}

/* Main pane */
.iss-ai-main {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}

.iss-ai-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 36px 30px 32px;
}

/* Steps */
.iss-ai-step {
  display: none;
}

.iss-ai-step.is-active {
  display: block;
}

/* Field labels */
.iss-ai-field-label {
  margin: 30px 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #18181b;
}

.iss-ai-step-input > .iss-ai-field-label:first-of-type {
  margin-top: 0;
}

/* Input step */
.iss-ai-textarea {
  width: 100%;
  min-height: 110px;
  box-sizing: border-box;
  border: 1.5px solid #e4e4e7;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  resize: vertical;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.iss-ai-textarea:focus {
  border-color: #1d1d1f;
  box-shadow: 0 0 0 3px rgba(24, 24, 27, 0.08);
  outline: none;
}

/* Toolbar row under the textarea: ideas toggle left, enhance right */
.iss-ai-enhance-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}

.iss-ai-enhance-spacer {
  flex: 1 1 auto;
}

.iss-ai-ideas-toggle {
  border: 0;
  background: none;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  border-radius: 6px;
}

.iss-ai-ideas-toggle:hover {
  color: #1d1d1f;
  background: #f4f4f5;
}

.iss-ai-ideas[hidden] {
  display: none;
}

.iss-ai-enhance {
  border: 0;
  background: none;
  padding: 4px 6px;
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
  cursor: pointer;
  border-radius: 6px;
}

.iss-ai-enhance:hover {
  background: #f4f4f5;
}

.iss-ai-enhance:disabled {
  color: #8a8f98;
  cursor: default;
  background: none;
}

.iss-ai-enhance-undo {
  border: 0;
  background: none;
  padding: 4px 2px;
  font-size: 12px;
  color: #8a8f98;
  text-decoration: underline;
  cursor: pointer;
}

.iss-ai-enhance-undo:hover {
  color: #1d1d1f;
}

.iss-ai-enhance-undo[hidden] {
  display: none;
}

/* Idea suggestions — icon cards in a two-column grid under the textarea */
.iss-ai-ideas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}

.iss-ai-idea {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1.5px solid #e4e4e7;
  border-radius: 10px;
  background: #ffffff;
  padding: 12px 14px;
  cursor: pointer;
  text-align: start;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.iss-ai-idea:hover {
  border-color: #c7ccd4;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.iss-ai-idea-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: #f4f4f5;
  color: #3f3f46;
}

.iss-ai-idea-icon svg {
  width: 19px;
  height: 19px;
}

.iss-ai-idea-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.iss-ai-idea-body strong {
  font-size: 13px;
  font-weight: 600;
  color: #18181b;
}

.iss-ai-idea-body em {
  font-style: normal;
  font-size: 12px;
  line-height: 1.5;
  color: #71717a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Style / palette chips */
.iss-ai-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.iss-ai-chips--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.iss-ai-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #e4e4e7;
  border-radius: 999px;
  background: #ffffff;
  padding: 12px 15px;
  font-size: 13px;
  color: #1d1d1f;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.iss-ai-chips--grid .iss-ai-chip {
  border-radius: 8px;
  justify-content: flex-start;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.iss-ai-chip:hover {
  border-color: #c7ccd4;
}

.iss-ai-chip.is-active {
  border-color: #1d1d1f;
  background: #1d1d1f;
  color: #ffffff;
  /* Ring keeps the active chip readable even when the chip itself is dark
     (the Dark style chip is near-black while idle). */
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 3.5px #1d1d1f;
}

.iss-ai-swatch {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.iss-ai-chip.is-active .iss-ai-swatch {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* Style chips: the label's own typography previews the art direction. */
.iss-ai-style-minimal {
  font-weight: 300;
  letter-spacing: 0.12em;
}

.iss-ai-style-editorial {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.iss-ai-style-bold {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.iss-ai-style-luxury {
  font-family: Didot, "Playfair Display", Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
}

.iss-ai-style-corporate {
  font-weight: 600;
}

.iss-ai-style-playful {
  font-family: "Arial Rounded MT Bold", ui-rounded, "Nunito", sans-serif;
  font-weight: 700;
}

.iss-ai-style-retro {
  font-family: Georgia, serif;
  font-variant: small-caps;
  letter-spacing: 0.05em;
}

.iss-ai-style-dark {
  background: #1d1d1f;
  border-color: #1d1d1f;
  color: #ffffff;
}

.iss-ai-style-dark:hover {
  border-color: #1d1d1f;
}

/* Generation mode: two selectable cards, each with a check mark and a
	 one-line trade-off. The Creative card is Premium-gated — it stays visible
	 but unselectable until the proxy confirms a verified license, so the value
	 of upgrading is legible rather than hidden. */
.iss-ai-level-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.iss-ai-level-card {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 1.5px solid #e4e4e7;
  border-radius: 12px;
  background: #ffffff;
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.iss-ai-level-card:hover {
  border-color: #c7ccd4;
}

.iss-ai-level-card.is-active {
  border-color: #1d1d1f;
  background: #fafafa;
}

/* Check mark: an empty ring while idle, filled with a tick once selected. */
.iss-ai-level-mark {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1.5px solid #d4d4d8;
  border-radius: 50%;
  background: #ffffff;
}

.iss-ai-level-card.is-active .iss-ai-level-mark {
  border-color: #1d1d1f;
  background: #1d1d1f;
}

.iss-ai-level-card.is-active .iss-ai-level-mark::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 5.5px;
  width: 4px;
  height: 8px;
  border: solid #ffffff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.iss-ai-level-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.iss-ai-level-name {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #18181b;
}

.iss-ai-level-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #6b6b70;
}

.iss-ai-level-badge {
  padding: 2px 8px;
  border-radius: 4px;
  background: #dbeafe;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2563eb;
}

.iss-ai-level-card--pro.is-locked {
  border-style: dashed;
  background: #fafafa;
  cursor: not-allowed;
}

.iss-ai-level-card--pro.is-locked:hover {
  border-color: #e4e4e7;
}

.iss-ai-level-card--pro.is-locked .iss-ai-level-name,
.iss-ai-level-card--pro.is-locked .iss-ai-level-desc {
  color: #8a8a8f;
}

.iss-ai-level-card--pro.is-locked .iss-ai-level-mark {
  border-style: dashed;
}

.iss-ai-level-lock {
  margin: 10px 0 0;
  font-size: 12px;
  color: #6b6b70;
}

.iss-ai-level-lock a {
  color: #0bb4aa;
  font-weight: 600;
  text-decoration: none;
}

.iss-ai-level-lock a:hover {
  text-decoration: underline;
}

/* Typography chips: "Ag" specimen in the style's actual display font. */
.iss-ai-chip--type {
  padding: 6px 16px 6px 13px;
}

.iss-ai-type-sample {
  flex: 0 0 auto;
  font-size: 21px;
  line-height: 1;
  font-weight: 600;
}

.iss-ai-font-modern {
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.03em;
}

.iss-ai-font-geometric {
  font-family: "Poppins", "Century Gothic", "Avenir Next", sans-serif;
}

.iss-ai-font-expressive {
  font-family: "Syne", "Arial Black", sans-serif;
  font-weight: 700;
}

.iss-ai-font-serif-accent {
  font-family: "Inter Tight", "Helvetica Neue", sans-serif;
}

.iss-ai-font-serif-accent em {
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 23px;
}

.iss-ai-font-classic {
  font-family: "Playfair Display", Georgia, serif;
}

/* Prompt-first hero on the importer page — the AI generator's entry point.
   Near-black, with soft vertical ribbons rising from the bottom like brushed
   metal and breathing slowly; one headline, one prompt. Type the idea right
   here; it pre-fills the modal's description. */
.inspiro-starter-sites-ai-hero {
  position: relative;
  margin: 4px 0 30px;
  padding: 64px 40px 56px;
  overflow: hidden;
  border-radius: 16px;
  background: #050506;
  color: #ffffff;
  text-align: center;
}

.inspiro-starter-sites-ai-hero__ribbons {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

/* One seamless band of light and shadow across the whole width (no
   per-ribbon edges): a wide repeating gradient that drifts sideways and
   breathes. Rises from the bottom, fading out upward. */
.inspiro-starter-sites-ai-hero__ribbons::before,
.inspiro-starter-sites-ai-hero__ribbons::after {
  content: "";
  position: absolute;
  left: -50%;
  right: -50%;
  bottom: 0;
  height: 64%;
  background: repeating-linear-gradient(90deg,
    #141716 0px,
    #2a302d 90px,
    #5e6a64 180px,
    #2a302d 270px,
    #141716 360px);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 65%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 65%);
  transform-origin: bottom;
  animation: iss-ai-hero-drift 36s linear infinite, iss-ai-hero-breathe 10s ease-in-out infinite;
}

/* A second, wider band moving the other way, blended in for depth. */
.inspiro-starter-sites-ai-hero__ribbons::after {
  height: 54%;
  background: repeating-linear-gradient(90deg,
    rgba(20, 23, 22, 0) 0px,
    rgba(94, 106, 100, 0.5) 260px,
    rgba(20, 23, 22, 0) 520px);
  mix-blend-mode: screen;
  animation: iss-ai-hero-drift-back 48s linear infinite, iss-ai-hero-fade 9s ease-in-out infinite;
}

/* Darkens the middle so the headline and prompt sit on near-black. */
.inspiro-starter-sites-ai-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 65% at 50% 42%, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.25) 70%, transparent 100%);
  pointer-events: none;
}

@keyframes iss-ai-hero-breathe {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(1.06); }
}

@keyframes iss-ai-hero-drift {
  0% { transform: translateX(0) scaleY(1); }
  50% { transform: translateX(-180px) scaleY(1.05); }
  100% { transform: translateX(-360px) scaleY(1); }
}

@keyframes iss-ai-hero-drift-back {
  0% { transform: translateX(0); }
  100% { transform: translateX(520px); }
}

@keyframes iss-ai-hero-fade {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .inspiro-starter-sites-ai-hero__ribbons::before,
  .inspiro-starter-sites-ai-hero__ribbons::after {
    animation: none;
  }
}

.inspiro-starter-sites-ai-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

/* Collapse/expand toggle — only on the premium theme's dashboard, where the
   hero sits above the theme's own demo list (.is-collapsible). Collapsed, the
   hero shrinks to its kicker + title, which also re-open it on click. */
.inspiro-starter-sites-ai-hero__toggle {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #a1a1aa;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.12s ease, color 0.12s ease;
}

.inspiro-starter-sites-ai-hero__toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.inspiro-starter-sites-ai-hero__toggle:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.inspiro-starter-sites-ai-hero__toggle svg {
  transition: transform 0.2s ease;
}

.inspiro-starter-sites-ai-hero.is-collapsible .inspiro-starter-sites-ai-hero__existing {
  inset-inline-end: 58px;
}

.inspiro-starter-sites-ai-hero.is-collapsed {
  padding: 18px 40px 16px;
}

.inspiro-starter-sites-ai-hero.is-collapsed .inspiro-starter-sites-ai-hero__toggle svg {
  transform: rotate(180deg);
}

.inspiro-starter-sites-ai-hero.is-collapsed .inspiro-starter-sites-ai-hero__kicker {
  margin: 0 0 6px;
  cursor: pointer;
}

.inspiro-starter-sites-ai-hero.is-collapsed .inspiro-starter-sites-ai-hero__title {
  margin: 0;
  font-size: 18px;
  cursor: pointer;
}

.inspiro-starter-sites-ai-hero.is-collapsed .inspiro-starter-sites-ai-hero__ribbons,
.inspiro-starter-sites-ai-hero.is-collapsed .inspiro-starter-sites-ai-hero__prompt {
  display: none;
}

/* "AI demo active" status chip — opens the modal to manage/delete. */
.inspiro-starter-sites-ai-hero__existing {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 260px;
  padding: 7px 13px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #a1a1aa;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background 0.12s ease, color 0.12s ease;
}

.inspiro-starter-sites-ai-hero__existing:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.inspiro-starter-sites-ai-hero__existing[hidden] {
  display: none;
}

.inspiro-starter-sites-ai-hero__existing strong {
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inspiro-starter-sites-ai-hero__existing-gear {
  flex: 0 0 auto;
  color: #34d399;
  transition: transform 0.25s ease;
}

.inspiro-starter-sites-ai-hero__existing:hover .inspiro-starter-sites-ai-hero__existing-gear {
  transform: rotate(45deg);
}

.inspiro-starter-sites-ai-hero__kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #71717a;
}

.inspiro-starter-sites-ai-hero__beta {
  padding: 2px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: #a1a1aa;
  letter-spacing: 0.08em;
}

.inspiro-starter-sites-ai-hero__title {
  margin: 0 0 26px;
  font-size: 36px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: #ffffff;
}

/* The prompt: frosted glass over the ribbons. */
.inspiro-starter-sites-ai-hero__prompt {
  position: relative;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(14, 14, 15, 0.72);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  text-align: left;
  transition: border-color 0.15s ease;
}

.inspiro-starter-sites-ai-hero__prompt:focus-within {
  border-color: rgba(255, 255, 255, 0.22);
}

/* A thin gradient ring around the prompt: faint at rest, and while the
   textarea is focused it brightens and the light travels around the box.
   The angle is a registered custom property so the conic gradient can
   animate; browsers without @property get a static ring. */
@property --iss-ai-ring {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.inspiro-starter-sites-ai-hero__prompt::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: 17px;
  padding: 1px;
  background: conic-gradient(from var(--iss-ai-ring),
    rgba(255, 255, 255, 0) 0deg,
    rgba(167, 243, 208, 0.9) 40deg,
    rgba(255, 255, 255, 1) 70deg,
    rgba(11, 180, 170, 0.9) 100deg,
    rgba(255, 255, 255, 0) 150deg,
    rgba(255, 255, 255, 0) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  opacity: 0.35;
  pointer-events: none;
  transition: opacity 0.3s ease;
  animation: iss-ai-hero-ring 6s linear infinite;
}

.inspiro-starter-sites-ai-hero__prompt:focus-within::before {
  opacity: 1;
  animation-duration: 3.5s;
}

/* The soft halo the ring casts, only while focused. */
.inspiro-starter-sites-ai-hero__prompt::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -2;
  border-radius: 17px;
  box-shadow: 0 0 0 0 rgba(11, 180, 170, 0);
  pointer-events: none;
  transition: box-shadow 0.3s ease;
}

.inspiro-starter-sites-ai-hero__prompt:focus-within::after {
  box-shadow: 0 0 36px 2px rgba(11, 180, 170, 0.22);
}

@keyframes iss-ai-hero-ring {
  to { --iss-ai-ring: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .inspiro-starter-sites-ai-hero__prompt::before {
    animation: none;
  }
}

.inspiro-starter-sites-ai-hero__input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  min-height: 108px;
  padding: 18px 20px 0;
  border: 0;
  background: transparent;
  color: #f4f4f5;
  font-size: 15px;
  line-height: 1.55;
  resize: none;
}

.inspiro-starter-sites-ai-hero__input:focus {
  outline: none;
  box-shadow: none;
}

.inspiro-starter-sites-ai-hero__input::placeholder {
  color: #71717a;
}

.inspiro-starter-sites-ai-hero__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 12px 14px;
}

.inspiro-starter-sites-ai-hero__ideas {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d4d4d8;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

.inspiro-starter-sites-ai-hero__ideas:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.inspiro-starter-sites-ai-hero__button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #0b0b0d;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.inspiro-starter-sites-ai-hero__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(255, 255, 255, 0.18);
}

.inspiro-starter-sites-ai-hero__button:focus-visible,
.inspiro-starter-sites-ai-hero__ideas:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .inspiro-starter-sites-ai-hero {
    padding: 60px 18px 36px;
  }

  .inspiro-starter-sites-ai-hero__title {
    font-size: 27px;
  }

  .inspiro-starter-sites-ai-hero__input {
    min-height: 96px;
    padding: 16px 16px 0;
  }

  .inspiro-starter-sites-ai-hero__actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .inspiro-starter-sites-ai-hero__button,
  .inspiro-starter-sites-ai-hero__ideas {
    justify-content: center;
  }
}

/* The theme's onboarding stylesheet paints every paragraph and textarea in
   .wpz-onboard_wrapper for its own light UI (admin.css:
   ".wpz-onboard_wrapper p { color/font-size }" and
   ".wp-core-ui .wpz-onboard_wrapper textarea { border }") — outrank those
   here, because the hero is a dark panel living inside that wrapper. */
/* The notice's paragraph, inside the theme's onboarding wrapper (its
   ".wpz-onboard_wrapper p" sets 16px and no bottom margin). */
.wpz-onboard_wrapper p.iss-ai-import-notice__text {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #52525b;
}

.wpz-onboard_wrapper p.inspiro-starter-sites-ai-hero__kicker {
  color: #71717a;
  font-size: 11px;
  margin: 0 0 14px;
}

.wp-core-ui .wpz-onboard_wrapper textarea.inspiro-starter-sites-ai-hero__input,
.wp-core-ui .wpz-onboard_wrapper textarea.inspiro-starter-sites-ai-hero__input:hover,
.wp-core-ui .wpz-onboard_wrapper textarea.inspiro-starter-sites-ai-hero__input:focus {
  padding: 18px 20px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f4f4f5;
}

.iss-ai-error {
  color: #d63638;
  font-size: 13px;
  margin: 10px 0 0;
}

/* Replace notice + standalone delete */
.iss-ai-replace-notice {
  margin: 0 0 20px;
  padding: 13px 15px;
  border: 1.5px solid #f0d48a;
  border-radius: 10px;
  background: #fdf0cd;
  color: #7a4b00;
  font-size: 13px;
  line-height: 1.5;
}

.iss-ai-replace-notice[hidden] {
  display: none;
}

.iss-ai-replace-notice strong {
  display: block;
  margin-bottom: 4px;
}

.iss-ai-replace-notice p {
  margin: 0 0 8px;
  color: inherit;
  font-size: inherit;
}

.iss-ai-replace-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  cursor: pointer;
}

.iss-ai-replace-check input {
  margin: 0;
}

.iss-ai-replace-hint {
  margin: 6px 0 0 !important;
  font-size: 12px !important;
  color: #9a6a1a !important;
}

/* The site has content of its own: keep it (checked) or let the demo take over. */
.iss-ai-keep-notice {
  margin: 0 0 20px;
  padding: 13px 15px;
  border: 1.5px solid #e4e4e7;
  border-radius: 10px;
  background: #f8f8f9;
  color: #1d1d1f;
  font-size: 13px;
  line-height: 1.5;
}

.iss-ai-keep-notice[hidden],
.iss-ai-replace-notice.is-kept-classic,
.iss-ai-replace-notice.is-kept .js-iss-ai-replace-text,
.iss-ai-replace-notice.is-kept .iss-ai-replace-check,
.iss-ai-replace-notice.is-kept .iss-ai-replace-hint {
  display: none;
}

.iss-ai-keep-notice strong {
  display: block;
  margin-bottom: 4px;
}

.iss-ai-keep-notice p {
  margin: 0 0 8px;
  color: inherit;
  font-size: inherit;
}

.iss-ai-keep-found {
  color: #52525b !important;
}

.iss-ai-keep-hint {
  margin: 6px 0 0 !important;
  font-size: 12px !important;
  color: #71717a !important;
}

.iss-ai-delete-link {
  display: inline-block;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: #b32d2e;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.iss-ai-delete-link:hover {
  color: #8a2424;
}

/* Actions inside the replace notice, as small buttons. */
.iss-ai-replace-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.iss-ai-mini-btn {
  padding: 6px 13px;
  border: 1px solid #c3c4c7;
  border-radius: 4px;
  background: #fff;
  color: #2c3338;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.iss-ai-mini-btn:hover,
.iss-ai-mini-btn:focus {
  border-color: #3858e9;
  color: #3858e9;
}

.iss-ai-mini-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.iss-ai-mini-btn--danger:hover,
.iss-ai-mini-btn--danger:focus {
  border-color: #b32d2e;
  background: #fcf0f1;
  color: #b32d2e;
}

/* Demo stylesheet editor */
.iss-ai-css-intro {
  margin: 0 0 12px;
  color: #50575e;
  font-size: 13px;
  line-height: 1.5;
}

.iss-ai-css-editor {
  width: 100%;
  min-height: 340px;
  padding: 12px 14px;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  background: #1d2327;
  color: #e6e8eb;
  font-family: Menlo, Consolas, monaco, monospace;
  font-size: 12px;
  line-height: 1.6;
  resize: vertical;
  white-space: pre;
  tab-size: 2;
}

.iss-ai-css-editor:focus {
  border-color: #3858e9;
  outline: 2px solid transparent;
  box-shadow: 0 0 0 1px #3858e9;
}

/* CodeMirror (wp_enqueue_code_editor) replaces the textarea with its own
   element — give it the same frame and height as the plain fallback. */
.iss-ai-step-css .CodeMirror {
  height: 340px;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
}

.iss-ai-step-css .CodeMirror-focused {
  border-color: #3858e9;
  box-shadow: 0 0 0 1px #3858e9;
}

/* WP prints lint errors in a panel below the editor. */
.iss-ai-step-css .CodeMirror-lint-tooltip {
  z-index: 100010;
}

.iss-ai-css-result {
  margin: 12px 0 0;
  padding: 9px 12px;
  border-radius: 6px;
  background: #edfaef;
  color: #0a5c36;
  font-size: 13px;
}

.iss-ai-css-result.is-error {
  background: #fcf0f1;
  color: #8a2424;
}

/* The hidden attribute must always win — author rules like
   .iss-ai-pt-working{display:flex} and wp-admin's .button{display:inline-block}
   otherwise override the UA's [hidden]{display:none}. */
.iss-ai-root [hidden] {
  display: none !important;
}

/* Locked (Lite) state for premium-only actions. */
.iss-ai-mini-btn.is-locked {
  border-style: dashed;
  color: #787c82;
}

.iss-ai-mini-btn.is-locked:hover,
.iss-ai-mini-btn.is-locked:focus {
  border-color: #8c8f94;
  background: #f6f7f7;
  color: #50575e;
}

.iss-ai-premium-upsell {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f0f3ff;
  color: #2c3338;
  font-size: 12.5px;
  line-height: 1.55;
}

.iss-ai-premium-upsell a {
  font-weight: 600;
  color: #3858e9;
}

/* Regenerate: replace vs append choice */
.iss-ai-mode-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 0 0 14px;
}

.iss-ai-mode-option {
  position: relative;
  display: block;
  padding: 11px 13px;
  border: 1.5px solid #dcdcde;
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.iss-ai-mode-option:hover {
  border-color: #a7aaad;
}

.iss-ai-mode-option.is-active {
  border-color: #1d1d1f;
  background: #fafafa;
}

.iss-ai-mode-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.iss-ai-mode-option strong {
  display: block;
  margin-bottom: 2px;
  font-size: 13px;
  color: #1d1d1f;
}

.iss-ai-mode-option span {
  display: block;
  font-size: 12px;
  line-height: 1.45;
  color: #646970;
}

@media (max-width: 600px) {
  .iss-ai-mode-choice {
    grid-template-columns: 1fr;
  }
}
/* Add / regenerate page step */
.iss-ai-input {
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 9px 12px;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.iss-ai-input:focus {
  border-color: #3858e9;
  outline: 2px solid transparent;
  box-shadow: 0 0 0 1px #3858e9;
}

select.iss-ai-input {
  max-width: 100%;
}

.iss-ai-pt-working {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0 10px;
  color: #50575e;
  font-size: 13px;
}

.iss-ai-pt-working .spinner {
  float: none;
  margin: 0;
}

/* Connect step (email registration) */
.iss-ai-step-connect {
  display: none;
  max-width: 480px;
  margin: 40px auto 0;
}

.iss-ai-step-connect.is-active {
  display: block;
}

.iss-ai-connect-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #1d1d1f;
}

.iss-ai-connect-text {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.55;
  color: #50575e;
}

.iss-ai-connect-row {
  display: flex;
  gap: 10px;
}

.iss-ai-connect-email {
  flex: 1 1 auto;
  border: 1.5px solid #e4e4e7;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 14px;
  transition: border-color 0.15s ease;
}

.iss-ai-connect-email:focus {
  border-color: #1d1d1f;
  box-shadow: none;
  outline: none;
}

.iss-ai-connect-consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: #50575e;
  cursor: pointer;
}

.iss-ai-connect-consent input {
  margin: 2px 0 0;
}

.iss-ai-connect-privacy {
  margin: 10px 0 0;
  font-size: 12px;
}

.iss-ai-connect-privacy a {
  color: #8a8f98;
}

.iss-ai-verify-code {
  max-width: 180px;
  font-size: 18px;
  letter-spacing: 6px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.iss-ai-verify-code::placeholder {
  font-size: 13px;
  letter-spacing: normal;
}

.iss-ai-verify-links {
  display: flex;
  gap: 18px;
  margin: 14px 0 0;
}

.iss-ai-link-btn {
  padding: 0;
  border: 0;
  background: none;
  color: #50575e;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.iss-ai-link-btn:hover {
  color: #1d1d1f;
}

.iss-ai-verify-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: #00753e;
}

.iss-ai-verify-note[hidden] {
  display: none;
}

.iss-ai-connected-email {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: #50575e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.iss-ai-connected-email[hidden] {
  display: none;
}

.iss-ai-disconnect {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  color: #8a8f98;
}

.iss-ai-disconnect:hover {
  color: #1d1d1f;
}

.iss-ai-disconnect[hidden] {
  display: none;
}

.iss-ai-delete-link:disabled {
  color: #9a6a1a;
  cursor: default;
  text-decoration: none;
}

.iss-ai-delete-result {
  margin: 0 0 16px;
  padding: 10px 14px;
  border: 1.5px solid #b7d9c1;
  border-radius: 8px;
  background: #e8f8ef;
  color: #0a5c36;
  font-size: 13px;
}

.iss-ai-delete-result[hidden] {
  display: none;
}

/* Plan review step */
.iss-ai-step-plan {
  max-width: 560px;
  margin: 0 auto;
  padding-top: 8px;
}

.iss-ai-plan-title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.iss-ai-plan-hint {
  margin: 0 0 20px;
  color: #6b7280;
  font-size: 13px;
}

.iss-ai-plan-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.iss-ai-plan-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.iss-ai-plan-input,
.iss-ai-plan-add-input {
  flex: 1 1 auto;
  border: 1.5px solid #e4e4e7;
  border-radius: 8px;
  padding: 9px 13px;
  font-size: 14px;
  transition: border-color 0.15s ease;
}

.iss-ai-plan-input:focus,
.iss-ai-plan-add-input:focus {
  border-color: #1d1d1f;
  box-shadow: none;
  outline: none;
}

.iss-ai-plan-remove {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a8f98;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.iss-ai-plan-remove:hover {
  background: #fcf0f1;
  color: #b32d2e;
}

.iss-ai-plan-add {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

/* Progress step */
.iss-ai-step-progress {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 0 12px;
}

.iss-ai-spinner {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  border: 3px solid #eceef1;
  border-top-color: #1d1d1f;
  border-radius: 50%;
  animation: iss-ai-spin 0.9s linear infinite;
}

@keyframes iss-ai-spin {
  to {
    transform: rotate(360deg);
  }
}
.iss-ai-progress-label {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 14px;
  min-height: 20px;
  color: #1d1d1f;
}

.iss-ai-progress-bar {
  height: 4px;
  background: #eceef1;
  border-radius: 999px;
  overflow: hidden;
  margin: 0 auto 20px;
}

.iss-ai-progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: #1d1d1f;
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* Live build checklist */
.iss-ai-progress-pages {
  list-style: none;
  margin: 0 auto 18px;
  padding: 0;
  max-width: 320px;
  text-align: start;
}

.iss-ai-progress-pages li {
  position: relative;
  margin: 0;
  padding: 7px 0 7px 30px;
  font-size: 13px;
  color: #8a8f98;
  border-bottom: 1px solid #f0f0f1;
}

.iss-ai-progress-pages li:last-child {
  border-bottom: 0;
}

.iss-ai-progress-pages li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  margin-top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #dcdcde;
  box-sizing: border-box;
}

.iss-ai-progress-pages li.is-active {
  color: #1d1d1f;
  font-weight: 600;
}

.iss-ai-progress-pages li.is-active::before {
  border-color: #1d1d1f;
  border-top-color: transparent;
  animation: iss-ai-spin 0.9s linear infinite;
}

.iss-ai-progress-pages li.is-done {
  color: #3c434a;
}

.iss-ai-progress-pages li.is-done::before {
  content: "✓";
  border: 0;
  background: #e8f8ef;
  color: #0a5c36;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
}

.iss-ai-hint {
  color: #8a8f98;
  font-size: 12px;
  margin: 0;
}

/* Success step */
.iss-ai-step-success {
  text-align: center;
  padding: 48px 0 12px;
}

.iss-ai-step-success h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.iss-ai-step-success p {
  color: #6b7280;
  font-size: 14px;
}

/* Only the celebratory header keeps the narrow measure. */
.iss-ai-step-success > h3,
.iss-ai-step-success > p {
  max-width: 480px;
  margin-inline: auto;
}

.iss-ai-success-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #0a5c36;
}
.iss-ai-success-check svg {
  display: block;
}

.iss-ai-page-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 520px;
  margin: 16px auto 24px;
  padding: 0;
  list-style: none;
}

.iss-ai-page-list li {
  list-style: none;
  margin: 0;
}

.iss-ai-page-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid #e4e4e7;
  border-radius: 999px;
  background: #ffffff;
  padding: 7px 15px 7px 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
}

.iss-ai-page-pill__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #e8f8ef;
  color: #0a5c36;
  font-size: 11px;
  line-height: 1;
}

.iss-ai-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

/* Error step */
.iss-ai-step-error {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 0 12px;
}

.iss-ai-step-error h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
  color: #d63638;
}

.iss-ai-step-error p {
  color: #6b7280;
  font-size: 14px;
}

.iss-ai-error-detail {
  font-family: Consolas, Monaco, monospace;
  font-size: 12px !important;
  color: #8a8f98 !important;
  background: #f6f7f7;
  border-radius: 6px;
  padding: 8px 10px;
  word-break: break-word;
  max-width: 420px;
  margin: 0 auto 8px !important;
}

.iss-ai-error-detail[hidden] {
  display: none;
}

/* Footer (main pane) */
.iss-ai-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 16px 44px;
  border-top: 1px solid #eceef1;
  background: #ffffff;
}

.iss-ai-footer .iss-ai-generate-btn {
  min-height: 38px;
  padding-inline: 22px;
}

/* Art-direction grid (Premium)
	 ------------------------------------------------------------------
	 Its own step between describing the site and reviewing the pages, shown
	 only to licensed sites generating in Creative mode — the only runs the
	 proxy applies a recipe to, so there is no locked state to render. */
.iss-ai-art-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.iss-ai-art-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 9px 9px 12px;
  border: 1.5px solid #e4e4e7;
  border-radius: 12px;
  background: #ffffff;
  font: inherit;
  text-align: start;
  cursor: pointer;
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.iss-ai-art-card:hover {
  border-color: #c7ccd4;
}

.iss-ai-art-card.is-active {
  border-color: #1d1d1f;
  box-shadow: 0 0 0 1px #1d1d1f;
}

/* The preview itself answers the pointer, so the whole card feels live. */
.iss-ai-art-card .iss-ai-wf {
  transition: transform 0.18s ease;
}

.iss-ai-art-card:hover .iss-ai-wf,
.iss-ai-art-card.is-active .iss-ai-wf {
  transform: translateY(-1px);
}

.iss-ai-art-name {
  display: block;
  padding-inline: 2px;
  font-size: 12.5px;
  font-weight: 600;
  color: #18181b;
}

.iss-ai-art-desc {
  display: block;
  padding-inline: 2px;
  font-size: 11.5px;
  line-height: 1.45;
  color: #6b6b70;
}

/* Directions that don't suit the selected design style — a hint, not a rule:
	 they stay clickable and return to full strength on hover. */
.iss-ai-art-card.is-off-style {
  opacity: 0.45;
}

.iss-ai-art-card.is-off-style:hover,
.iss-ai-art-card.is-off-style.is-active {
  opacity: 1;
}

/* Back sits opposite the primary action rather than beside it. */
.iss-ai-footer .iss-ai-back-btn {
  margin-inline-end: auto;
}

/* Art-direction wireframes
	 ------------------------------------------------------------------
	 An abstract mock of each recipe's layout system, drawn in its own page
	 tone, corner radius and accent. Everything derives from two custom
	 properties per tone so a new recipe needs no new colors. */
.iss-ai-wf {
  --iss-wf-ink-rgb: 29, 29, 31;
  --iss-wf-ground: #ffffff;
  --iss-wf-accent: #1d1d1f;
  --iss-wf-radius: 2px;
  --iss-wf-ink: rgb(var(--iss-wf-ink-rgb));
  --iss-wf-mute: rgba(var(--iss-wf-ink-rgb), 0.3);
  --iss-wf-photo: rgba(var(--iss-wf-ink-rgb), 0.14);
  --iss-wf-tile: rgba(var(--iss-wf-ink-rgb), 0.07);
  --iss-wf-rule: rgba(var(--iss-wf-ink-rgb), 0.16);
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-sizing: border-box;
  width: 100%;
  /* Slightly taller than a banner: a page, with a header above the fold. */
  aspect-ratio: 4/3.4;
  min-height: 132px;
  padding: 7px;
  border-radius: 9px;
  background: var(--iss-wf-ground);
  /* Derived from the ink so the dark tones keep a visible edge too. */
  box-shadow: inset 0 0 0 1px rgba(var(--iss-wf-ink-rgb), 0.1);
  overflow: hidden;
}

.iss-ai-wf--paper {
  --iss-wf-ground: #faf9f7;
}

.iss-ai-wf--ivory {
  --iss-wf-ground: #faf6ee;
  --iss-wf-ink-rgb: 43, 38, 32;
}

.iss-ai-wf--warm {
  --iss-wf-ground: #f3ebdf;
  --iss-wf-ink-rgb: 58, 44, 34;
}

.iss-ai-wf--dark {
  --iss-wf-ground: #141416;
  --iss-wf-ink-rgb: 244, 244, 245;
}

.iss-ai-wf--accent {
  --iss-wf-ground: #16161a;
  --iss-wf-ink-rgb: 244, 244, 245;
}

/* Header — identical on every recipe, so the tone, accent and corner radius
	 are readable before the eye reaches the hero. */
.iss-ai-wf-nav {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--iss-wf-rule);
}

.iss-ai-wf-logo {
  flex: 0 0 auto;
  width: 13px;
  height: 4px;
  border-radius: 1px;
  background: var(--iss-wf-ink);
}

.iss-ai-wf-navlinks {
  display: flex;
  gap: 5px;
  margin-inline-start: auto;
}

.iss-ai-wf-navlinks span {
  width: 8px;
  height: 2px;
  border-radius: 1px;
  background: var(--iss-wf-mute);
}

/* Buttons carry the recipe's radius — square on Poster, a pill on Soft
	 rounded — which is what separates several otherwise similar layouts. */
.iss-ai-wf-btn {
  display: block;
  flex: 0 0 auto;
  width: 26px;
  height: 7px;
  margin-top: 2px;
  border-radius: var(--iss-wf-radius);
  background: var(--iss-wf-accent);
}

.iss-ai-wf-btn.is-sm {
  width: 15px;
  height: 6px;
  margin-top: 0;
}

/* Sitting on a photograph, the call to action reads light-on-dark. */
.iss-ai-wf-btn.is-light {
  background: #ffffff;
}

/* "Let AI choose" has no layout to show yet, so it greys one out behind the
	 mark rather than sitting empty beside a dozen drawn previews. */
.iss-ai-wf--auto {
  position: relative;
  background: #f7f8fa;
  color: #5b6472;
}

.iss-ai-wf-ghost {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 auto;
  min-height: 0;
  opacity: 0.45;
}

.iss-ai-wf-spark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* A soft disc keeps the mark legible over the layout behind it. */
.iss-ai-wf-spark::before {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 248, 250, 0.95) 55%, rgba(247, 248, 250, 0) 100%);
}

.iss-ai-wf-spark svg {
  position: relative;
  width: 30px;
  height: 30px;
}

.iss-ai-wf-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex: 1 1 58%;
  min-height: 0;
}

.iss-ai-wf-band {
  display: flex;
  gap: 5px;
  flex: 1 1 42%;
  min-height: 0;
}

/* Pieces */
.iss-ai-wf-line {
  display: block;
  height: 3px;
  border-radius: 1px;
  background: var(--iss-wf-mute);
}

.iss-ai-wf-line.is-eyebrow {
  height: 2px;
  background: var(--iss-wf-accent);
}

.iss-ai-wf-head {
  display: block;
  height: 6px;
  border-radius: 1px;
  background: var(--iss-wf-ink);
}

.iss-ai-wf-head.is-xl {
  height: 9px;
}

/* A horizon and a sun, drawn in ink at low opacity: enough for the blocks to
	 read as photography rather than as empty placeholders. */
.iss-ai-wf-photo,
.iss-ai-wf-tile.is-photo {
  background-color: var(--iss-wf-photo);
  background-image: radial-gradient(circle at 73% 27%, rgba(var(--iss-wf-ink-rgb), 0.15) 0 10%, transparent 10.5%), linear-gradient(26deg, rgba(var(--iss-wf-ink-rgb), 0.13) 0 34%, transparent 34%), linear-gradient(-22deg, rgba(var(--iss-wf-ink-rgb), 0.08) 0 26%, transparent 26%);
  background-repeat: no-repeat;
}

.iss-ai-wf-photo {
  display: block;
  flex: 1 1 auto;
  min-height: 10px;
  border-radius: var(--iss-wf-radius);
}

.iss-ai-wf-rule {
  display: block;
  height: 1px;
  background: var(--iss-wf-rule);
}

.iss-ai-wf-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex: 1 1 55%;
  min-width: 0;
}

.iss-ai-wf .is-w20 {
  width: 20%;
}

.iss-ai-wf .is-w25 {
  width: 25%;
}

.iss-ai-wf .is-w40 {
  width: 40%;
}

.iss-ai-wf .is-w45 {
  width: 45%;
}

.iss-ai-wf .is-w50 {
  width: 50%;
}

.iss-ai-wf .is-w55 {
  width: 55%;
}

.iss-ai-wf .is-w60 {
  width: 60%;
}

.iss-ai-wf .is-w70 {
  width: 70%;
}

.iss-ai-wf .is-w75 {
  width: 75%;
}

.iss-ai-wf .is-w80 {
  width: 80%;
}

.iss-ai-wf .is-w90 {
  width: 90%;
}

.iss-ai-wf .is-w95 {
  width: 95%;
}

/* Hero: photo cover, headline over it bottom-left */
.iss-ai-wf-photo.is-fill {
  position: absolute;
  inset: 0;
  /* A cover carries white type, so it sits darker than an inline photo. */
  background-color: rgba(var(--iss-wf-ink-rgb), 0.42);
}

.iss-ai-wf-photo.is-wash {
  background-color: var(--iss-wf-accent);
  opacity: 0.9;
}

.iss-ai-wf-over {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3px;
  box-sizing: border-box;
  width: 100%;
  margin-top: auto;
  padding: 6px;
}

.iss-ai-wf-over .iss-ai-wf-head {
  background: #ffffff;
}

.iss-ai-wf-over .iss-ai-wf-line {
  background: rgba(255, 255, 255, 0.55);
}

.iss-ai-wf-over .iss-ai-wf-line.is-eyebrow {
  background: #ffffff;
}

/* Hero: two-column splits */
.iss-ai-wf-hero.is-split,
.iss-ai-wf-hero.is-overlap,
.iss-ai-wf-hero.is-meta,
.iss-ai-wf-hero.is-bento {
  flex-direction: row;
  align-items: stretch;
  gap: 6px;
}

.iss-ai-wf-photo.is-tall {
  flex: 0 0 40%;
}

/* The photograph deliberately breaks the section boundary below it. */
.iss-ai-wf-photo.is-break {
  position: relative;
  z-index: 1;
  margin-bottom: -14px;
}

.iss-ai-wf-copy.is-outdent {
  margin-inline-start: -4px;
}

.iss-ai-wf-metacol {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  flex: 0 0 22%;
}

.iss-ai-wf-hero.is-meta .iss-ai-wf-copy {
  flex: 1 1 auto;
}

/* Hero: centred compositions */
.iss-ai-wf-hero.is-stack > .iss-ai-wf-line,
.iss-ai-wf-hero.is-stack > .iss-ai-wf-head,
.iss-ai-wf-hero.is-stack > .iss-ai-wf-btn,
.iss-ai-wf-hero.is-centered > .iss-ai-wf-line,
.iss-ai-wf-hero.is-centered > .iss-ai-wf-head,
.iss-ai-wf-hero.is-centered > .iss-ai-wf-btn {
  margin-inline: auto;
}

.iss-ai-wf-photo.is-inset {
  flex: 0 0 42%;
  width: 84%;
  margin: 3px auto 0;
}

/* Hero: gallery of four */
.iss-ai-wf-gal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  flex: 1 1 auto;
  min-height: 0;
  margin-bottom: 2px;
}

.iss-ai-wf-gal .iss-ai-wf-photo {
  min-height: 0;
}

/* Hero: poster — display type, a solid colour band, a ticker row */
.iss-ai-wf-fill {
  display: block;
  height: 13px;
  margin-top: 2px;
  border-radius: var(--iss-wf-radius);
  background: var(--iss-wf-accent);
}

.iss-ai-wf-ticker {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.iss-ai-wf-ticker span {
  flex: 1 1 0;
  height: 2px;
  background: var(--iss-wf-mute);
}

/* Tiles (bento hero and bento sections) */
.iss-ai-wf-tile {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex: 1 1 auto;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  padding: 5px;
  border-radius: var(--iss-wf-radius);
  background: var(--iss-wf-tile);
}

.iss-ai-wf-tile.is-photo {
  flex: 0 0 40%;
}

.iss-ai-wf-tile.is-accent {
  background: var(--iss-wf-accent);
}

.iss-ai-wf-stack {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 55%;
  min-height: 0;
}

.iss-ai-wf-stat {
  display: block;
  width: 45%;
  height: 8px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.85);
}

/* Sections: numbered editorial rows */
.iss-ai-wf-band.is-rows {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.iss-ai-wf-row {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--iss-wf-rule);
}

.iss-ai-wf-row:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.iss-ai-wf-num {
  flex: 0 0 auto;
  width: 7px;
  height: 3px;
  border-radius: 1px;
  background: var(--iss-wf-accent);
}

/* Sections: two-up media and text */
.iss-ai-wf-band.is-pairs .iss-ai-wf-photo {
  flex: 0 0 42%;
}

.iss-ai-wf-band.is-pairs .iss-ai-wf-copy {
  flex: 1 1 auto;
}

/* Sections: three equal filled cards */
.iss-ai-wf-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex: 1 1 0;
  box-sizing: border-box;
  min-width: 0;
  padding: 5px;
  border-radius: var(--iss-wf-radius);
  background: var(--iss-wf-tile);
}

/* Sections: bento — one wide tile beside two narrower ones */
.iss-ai-wf-band.is-tiles .iss-ai-wf-tile {
  flex: 1 1 0;
}

.iss-ai-wf-band.is-tiles .iss-ai-wf-tile.is-wide {
  flex: 1.9 1 0;
}

/* Sections: four bordered cells reading as one grid, not four cards */
.iss-ai-wf-band.is-grid4 {
  gap: 0;
}

.iss-ai-wf-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex: 1 1 0;
  box-sizing: border-box;
  min-width: 0;
  margin-inline-end: -1px;
  padding: 5px;
  border: 1px solid var(--iss-wf-mute);
}

.iss-ai-wf-cell:last-child {
  margin-inline-end: 0;
}

/* Sections: text columns divided by vertical rules */
.iss-ai-wf-band.is-ruled {
  gap: 0;
}

.iss-ai-wf-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  flex: 1 1 0;
  box-sizing: border-box;
  min-width: 0;
  padding: 0 7px;
  border-inline-start: 1px solid var(--iss-wf-rule);
}

.iss-ai-wf-col:first-child {
  padding-inline-start: 0;
  border-inline-start: 0;
}

/* Post-generation feedback survey.

   The survey spans the whole body width while the celebratory part of the
   step (check, title, page pills) stays in its narrow centered column — so
   the two read as separate things rather than one very long card. */
.iss-ai-feedback {
  position: relative;
  margin-top: 32px;
  padding: 22px 24px 20px;
  border: 1px solid #eceef1;
  border-radius: 10px;
  background: #ffffff;
  text-align: start;
}

.iss-ai-feedback h4 {
  margin: 0 0 3px;
  font-size: 14px;
  font-weight: 600;
  color: #1d1d1f;
}

.iss-ai-step-success .iss-ai-feedback__hint {
  margin: 0 0 20px;
  font-size: 12px;
  color: #6b7280;
}

.iss-ai-feedback__dismiss {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #9ca3af;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.iss-ai-feedback__dismiss:hover {
  background: #f3f4f6;
  color: #1d1d1f;
}

/* The one-click questions stack, each on its own row; the two free-text
   answers share one, splitting the width evenly. */
.iss-ai-feedback__form > .iss-ai-feedback__field {
  margin-bottom: 18px;
}

.iss-ai-feedback__row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-bottom: 18px;
}

.iss-ai-feedback__row--split .iss-ai-feedback__field {
  flex: 1 1 260px;
  min-width: 0;
}

.iss-ai-feedback__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 500;
  color: #1d1d1f;
}

.iss-ai-stars {
  display: flex;
  gap: 2px;
}

.iss-ai-star {
  padding: 0 2px;
  border: 0;
  background: transparent;
  color: #d4d7dd;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.12s ease, transform 0.12s ease;
}

.iss-ai-star:hover {
  transform: scale(1.12);
}

.iss-ai-star.is-on {
  color: #f0b429;
}

.iss-ai-feedback__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.iss-ai-feedback__choice {
  border: 1px solid #e4e4e7;
  border-radius: 999px;
  background: #ffffff;
  padding: 6px 13px;
  font-size: 13px;
  color: #1d1d1f;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.iss-ai-feedback__choice:hover {
  border-color: #c7ccd4;
}

.iss-ai-feedback__choice.is-active {
  border-color: #1d1d1f;
  background: #1d1d1f;
  color: #ffffff;
}

.iss-ai-feedback__text {
  display: block;
  width: 100%;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  line-height: 1.5;
  resize: vertical;
}

.iss-ai-feedback__text:focus {
  border-color: #1d1d1f;
  outline: 0;
  box-shadow: none;
}

.iss-ai-feedback__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.iss-ai-feedback__skip {
  color: #6b7280;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
}

.iss-ai-feedback__skip:hover {
  color: #1d1d1f;
}

.iss-ai-step-success .iss-ai-feedback__thanks {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: #0a5c36;
}

/* Responsive */
@media (max-width: 900px) {
  .iss-ai-overlay {
    padding: 12px;
  }
  .iss-ai-modal--xl {
    flex-direction: column;
    height: calc(100vh - 24px);
  }
  .iss-ai-sidebar {
    flex: 0 0 auto;
    padding: 20px 20px 14px;
    border-inline-end: 0;
    border-bottom: 1px solid #eceef1;
  }
  .iss-ai-intro,
  .iss-ai-steps li em,
  .iss-ai-sidebar-footer {
    display: none;
  }
  .iss-ai-steps {
    flex-direction: row;
    gap: 8px;
  }
  .iss-ai-steps li {
    padding: 6px 10px;
  }
  .iss-ai-body {
    padding: 20px;
  }
  .iss-ai-footer {
    padding: 12px 20px;
  }
  .iss-ai-ideas {
    grid-template-columns: 1fr;
  }
  .iss-ai-level-cards {
    grid-template-columns: 1fr;
  }
  .iss-ai-art-grid {
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
  }
}


/*# sourceMappingURL=ai-generator.css.map */

/* Catalog engine: preview of the composed site */
.iss-ai-pv-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 18px;
  margin: 0 0 14px;
}

.iss-ai-pv-style {
  display: flex;
  align-items: center;
  gap: 6px;
}

.iss-ai-pv-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.iss-ai-pv-font {
  margin-left: 6px;
  font-size: 12px;
  color: #50575e;
}

.iss-ai-pv-reqs {
  flex: 1 1 260px;
  font-size: 12.5px;
  color: #3c434a;
}

.iss-ai-pv-reqs summary {
  cursor: pointer;
  font-weight: 500;
  color: #1d1d1f;
}

.iss-ai-pv-reqs ul {
  margin: 8px 0 0;
  padding-left: 18px;
  list-style: disc;
}

.iss-ai-pv-reqs li {
  margin: 3px 0;
}

.iss-ai-pv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.iss-ai-pv-tab {
  padding: 5px 12px;
  border: 1px solid #dcdcde;
  border-radius: 999px;
  background: #fff;
  color: #1d1d1f;
  font-size: 12.5px;
  cursor: pointer;
}

.iss-ai-pv-tab.is-active {
  border-color: #1d1d1f;
  background: #1d1d1f;
  color: #fff;
}

.iss-ai-pv-sections {
  display: grid;
  gap: 8px;
  max-height: 52vh;
  margin: 0;
  padding: 0;
  overflow: auto;
  list-style: none;
}

.iss-ai-pv-section {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
}

.iss-ai-pv-sketch {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 68px;
  padding: 10px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #e3e3e3;
}

.iss-ai-pv-sketch.is-image {
  background: linear-gradient(135deg, #7a7f87, #3b3f45);
  box-shadow: none;
}

.iss-ai-pv-sketch.is-dark {
  background: #1d1d1f;
  box-shadow: none;
}

.iss-ai-pv-sketch.is-tint {
  background: #f3f1ec;
  box-shadow: none;
}

.iss-ai-pv-sketch .sk-line {
  display: block;
  width: 45%;
  height: 5px;
  border-radius: 3px;
  background: #c9ccd1;
}

.iss-ai-pv-sketch .sk-line--wide {
  width: 70%;
  height: 7px;
  background: #8c9096;
}

.iss-ai-pv-sketch.is-image .sk-line,
.iss-ai-pv-sketch.is-dark .sk-line,
.iss-ai-pv-sketch.is-accent .sk-line {
  background: rgba(255, 255, 255, 0.55);
}

.iss-ai-pv-sketch.is-image .sk-line--wide,
.iss-ai-pv-sketch.is-dark .sk-line--wide,
.iss-ai-pv-sketch.is-accent .sk-line--wide {
  background: rgba(255, 255, 255, 0.9);
}

.iss-ai-pv-sketch .sk-grid {
  display: flex;
  gap: 4px;
  margin-top: auto;
}

.iss-ai-pv-sketch .sk-box,
.iss-ai-pv-sketch .sk-photo {
  flex: 1;
  height: 16px;
  border-radius: 2px;
  background: #e6e7e9;
}

.iss-ai-pv-sketch .sk-photo {
  background: linear-gradient(135deg, #b7bbc1, #8d9197);
}

.iss-ai-pv-sketch .sk-photo--wide {
  height: 20px;
}

.iss-ai-pv-sketch.is-dark .sk-box {
  background: rgba(255, 255, 255, 0.15);
}

.iss-ai-pv-role {
  display: inline-block;
  margin-bottom: 2px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #50575e;
}

.iss-ai-pv-headline {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  color: #1d1d1f;
}

.iss-ai-pv-desc {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #646970;
}

.iss-ai-pv-actions {
  display: flex;
  gap: 4px;
}

.iss-ai-pv-btn {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  background: #fff;
  color: #1d1d1f;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.iss-ai-pv-btn:hover:not(:disabled),
.iss-ai-pv-btn:focus-visible {
  border-color: #1d1d1f;
}

.iss-ai-pv-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.iss-ai-pv-note {
  padding: 16px;
  border: 1px dashed #dcdcde;
  border-radius: 8px;
  color: #646970;
  font-size: 13px;
}

@media (max-width: 782px) {
  .iss-ai-pv-section {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .iss-ai-pv-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

/* "My real business": the owner's details, all optional. */
.iss-ai-details {
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1.5px solid #e4e4e7;
  border-radius: 10px;
  background: #fafafa;
}

.iss-ai-details[hidden] {
  display: none;
}

.iss-ai-details .iss-ai-field-label {
  margin-top: 0;
}

.iss-ai-details__hint {
  margin: -4px 0 12px;
  color: #71717a;
  font-size: 12px;
}

.iss-ai-details__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
}

.iss-ai-details__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
}

.iss-ai-details__field .iss-ai-input {
  width: 100%;
  margin: 0;
  font: inherit;
  font-size: 13px;
  font-weight: 400;
}

.iss-ai-details__field textarea.iss-ai-input {
  resize: vertical;
  min-height: 68px;
}

@media (max-width: 600px) {
  .iss-ai-details__grid {
    grid-template-columns: 1fr;
  }
}

/* "You have an AI-generated demo" above the starter sites. */
.iss-ai-import-notice {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 20px 0 24px;
  padding: 20px 22px;
  border: 1px solid #e4e4e7;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 6px 18px rgba(16, 24, 40, 0.05);
  color: #1d1d1f;
}

.iss-ai-import-notice__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fef3c7;
  color: #b45309;
}

.iss-ai-import-notice__body {
  flex: 1;
  min-width: 0;
}

.iss-ai-import-notice__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 2px 0 6px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #1d1d1f;
}

.iss-ai-import-notice__chip {
  padding: 2px 9px;
  border-radius: 999px;
  background: #f4f4f5;
  color: #52525b;
  font-size: 12px;
  font-weight: 500;
}

.iss-ai-import-notice__text {
  max-width: 720px;
  margin: 0 0 14px;
  color: #52525b;
  font-size: 13.5px;
  line-height: 1.55;
}

.iss-ai-import-notice__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.iss-ai-import-notice__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 16px;
  border: 1.5px solid #e4e4e7;
  border-radius: 8px;
  background: #fff;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.iss-ai-import-notice__btn:hover:not(:disabled) {
  border-color: #1d1d1f;
}

.iss-ai-import-notice__btn.is-primary {
  border-color: #1d1d1f;
  background: #1d1d1f;
  color: #fff;
}

.iss-ai-import-notice__btn.is-primary:hover:not(:disabled) {
  background: #000;
}

.iss-ai-import-notice__btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.iss-ai-import-notice .spinner {
  float: none;
  margin: 0;
}

.iss-ai-import-notice__result {
  color: #b32d2e;
  font-size: 13px;
}

@media (max-width: 600px) {
  .iss-ai-import-notice {
    flex-direction: column;
  }
}

/* "Add a page with AI": a pointer to the page builder in the editor. */
.iss-ai-pb-promo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1.5px solid #e4e4e7;
  border-radius: 10px;
  background: #fafafa;
  color: #52525b;
  font-size: 13px;
  line-height: 1.5;
}

.iss-ai-pb-promo[hidden] {
  display: none;
}

.iss-ai-pb-promo__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #1d1d1f;
  color: #fff;
}

.iss-ai-pb-promo__text {
  flex: 1;
}

.iss-ai-pb-promo__text strong {
  color: #1d1d1f;
}

.iss-ai-pb-promo .iss-ai-mini-btn {
  flex-shrink: 0;
  text-decoration: none;
}

.iss-ai-page-upsell-alt {
  display: inline-block;
  margin-left: 10px;
}

.iss-ai-page-upsell-alt[hidden] {
  display: none;
}

@media (max-width: 600px) {
  .iss-ai-pb-promo {
    flex-direction: column;
    align-items: flex-start;
  }
}
