/* ==========================================================================
   GG HELDER 5.0.15 — LUXUEUZE GEDICHTEN STUDIO + STAPPEN (/gedichten-maken/*)
   - Rustig, verfijnd literair atelier in #173646, #faf7f2, #f4d4aa en #f5e6da
   - Strakke 2-weg keuze, live voorbeeldkaart, vernieuwde Stap 2 (Verfijnen)
   - Geen verouderde #A77B48-randen, geen drukke dubbele kaders
   ========================================================================== */
html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) {
  --st-navy: #173646;
  --st-navy-hover: #102835;
  --st-gold: #b86f24;
  --st-gold-light: #f4d4aa;
  --st-cream: #faf7f2;
  --st-sand: #f5e6da;
  --st-sand-border: #d5bba6;
  --st-border: #e2e8ee;
  --st-muted: #5a6d79;
  box-sizing: border-box !important;
  width: min(1280px, calc(100% - 40px)) !important;
  max-width: 1280px !important;
  margin: 0 auto 72px !important;
  padding: 0 !important;
  font-family: var(--gg-font-sans, "Plus Jakarta Sans", sans-serif) !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(.gg370-studio__container, .gg372-flow__container) {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* 1. #173646 LUXE ATELIER-HERO */
html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(.ggu-hero, .gg31-sitewide-hero) {
  position: relative !important;
  border-radius: 26px !important;
  border: 1px solid rgba(244, 212, 170, 0.22) !important;
  background-color: #173646 !important;
  background-image:
    radial-gradient(ellipse 68% 120% at 92% 8%, rgba(244, 212, 170, 0.16) 0%, transparent 58%),
    radial-gradient(ellipse 55% 95% at 15% 100%, rgba(44, 96, 120, 0.34) 0%, transparent 62%),
    linear-gradient(122deg, #102633 0%, #173646 52%, #1d4356 100%) !important;
  box-shadow: 0 22px 50px rgba(23, 54, 70, 0.15) !important;
  padding: clamp(28px, 3.8vw, 48px) clamp(26px, 4.2vw, 54px) !important;
  margin: 0 0 18px !important;
  overflow: hidden !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(.ggu-hero, .gg31-sitewide-hero) h1 {
  font-family: var(--gg-font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-size: clamp(36px, 4.4vw, 58px) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.015em !important;
  color: #fff9ee !important;
  font-weight: 600 !important;
  margin: 6px 0 12px !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(.ggu-hero, .gg31-sitewide-hero) p {
  color: rgba(255, 249, 238, 0.86) !important;
  font-size: 15.5px !important;
  line-height: 1.65 !important;
  max-width: 64ch !important;
}

/* 2. STRAKKE GESEGMENTEERDE STAPPENBALK */
html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(.gg370-studio__steps, .gg372-flow__nav) {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin: 0 0 14px !important;
  padding: 6px !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  border: 1px solid var(--st-border) !important;
  box-shadow: 0 6px 20px rgba(23, 54, 70, 0.04) !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(.gg370-studio__step, .gg372-flow__nav > a) {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  min-height: 44px !important;
  padding: 8px 14px !important;
  border-radius: 12px !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  color: var(--st-navy) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background-color 0.16s ease, color 0.16s ease !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(.gg370-studio__step:hover, .gg372-flow__nav > a:hover) {
  background: var(--st-cream) !important;
  border-color: #e7e0d6 !important;
  transform: none !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(.gg370-studio__step--current, .gg372-flow__nav > a[aria-current="page"]) {
  background: var(--st-navy) !important;
  border-color: var(--st-navy) !important;
  color: #fff9ee !important;
  box-shadow: 0 8px 18px rgba(23, 54, 70, 0.18) !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(.gg370-studio__step b, .gg372-flow__nav > a span) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  height: 24px !important;
  padding: 0 6px !important;
  border-radius: 999px !important;
  background: var(--st-cream) !important;
  border: 1px solid #e7e0d6 !important;
  color: var(--st-gold) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(.gg370-studio__step--current b, .gg372-flow__nav > a[aria-current="page"] span) {
  background: rgba(244, 212, 170, 0.18) !important;
  border-color: rgba(244, 212, 170, 0.32) !important;
  color: #f4d4aa !important;
}

/* Verberg oude dubbele balken, tabs & drukke koppen op de algemene Studio */
html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) :is(
  .gg412-studio-hint,
  .gg375-studio-intro,
  .ggwow-compose-header,
  .vv-mode-tabs-container,
  .ai-assistant-header,
  .gg370-studio__tail,
  .gg35-guide-preview
) {
  display: none !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio #blockAutoModel.gg511-hidden {
  display: none !important;
}

/* 3. SNELLE THEMA-WISSELAAR */
html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg507-theme-switcher {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 0 22px !important;
  padding: 10px 16px !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid var(--st-border) !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg507-theme-switcher__lbl {
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.09em !important;
  color: var(--st-gold) !important;
  margin-right: 4px !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg507-theme-pill {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  padding: 4px 13px !important;
  border-radius: 999px !important;
  background: var(--st-cream) !important;
  border: 1px solid #e7e0d6 !important;
  color: var(--st-navy) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg507-theme-pill:hover,
html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg507-theme-pill.is-all {
  background: var(--st-navy) !important;
  border-color: var(--st-navy) !important;
  color: #fff9ee !important;
}

/* 4. 2-KOLOMS WERKRUIMTE */
html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__workspace,
html body:not(.wp-admin) #ggw-site main.gg372-flow .gg372-flow__workspace {
  display: grid !important;
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, 0.76fr) !important;
  align-items: start !important;
  gap: 24px !important;
  margin: 0 0 36px !important;
}

/* Linker schrijfkaart (rustig wit, geen gekleurde bovenrand) */
html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__editor,
html body:not(.wp-admin) #ggw-site main.gg372-flow .gg372-flow__editor {
  background: #ffffff !important;
  border: 1px solid var(--st-border) !important;
  border-radius: 24px !important;
  padding: clamp(22px, 3vw, 34px) !important;
  box-shadow: 0 14px 36px rgba(23, 54, 70, 0.05) !important;
}

/* Strip dubbele binnencontainers & oude #A77B48-randen uit builder-view.php */
html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) :is(
  .builder-wrapper,
  .builder-container,
  .gg316-studio-workbench,
  .gg42-phase-create,
  .ggwow-writing-panel,
  #blockAutoModel
) {
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Tegoed-badge rustig en compact */
html body:not(.wp-admin) #ggw-site main.gg370-studio #gg98-credit-placement {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio #vvStatusBadge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 14px !important;
  border-radius: 999px !important;
  background: var(--st-cream) !important;
  border: 1px solid #e7e0d6 !important;
  color: var(--st-navy) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio #vvStatusBadge i {
  color: var(--st-gold) !important;
}

/* 5. DE 2 LUXE KEUZEKAARTEN */
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-mode-switcher {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 0 24px !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-mode-card {
  appearance: none !important;
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 13px !important;
  width: 100% !important;
  padding: 17px 38px 17px 18px !important;
  border-radius: 18px !important;
  background: var(--st-cream) !important;
  background-image: none !important;
  border: 1.5px solid #e7e0d6 !important;
  color: var(--st-navy) !important;
  text-align: left !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.14s ease, box-shadow 0.16s ease !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-mode-card:hover {
  border-color: var(--st-navy) !important;
  transform: translateY(-1px);
}

html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-mode-card.is-active {
  background: var(--st-navy) !important;
  border-color: var(--st-navy) !important;
  color: #fff9ee !important;
  box-shadow: 0 12px 26px rgba(23, 54, 70, 0.20) !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-mode-card__ico {
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: var(--st-gold) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-mode-card.is-active .gg509-mode-card__ico {
  background: rgba(244, 212, 170, 0.18) !important;
  color: #f4d4aa !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-mode-card__copy strong {
  display: block !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin-bottom: 4px !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-mode-card__copy small {
  display: block !important;
  font-size: 12.5px !important;
  line-height: 1.44 !important;
  color: var(--st-muted) !important;
  font-weight: 500 !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-mode-card.is-active .gg509-mode-card__copy small {
  color: rgba(255, 249, 238, 0.84) !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-mode-card__check {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  background: rgba(244, 212, 170, 0.22) !important;
  color: #f4d4aa !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0 !important;
  transform: scale(0.75) !important;
  transition: opacity 0.16s ease, transform 0.16s ease !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-mode-card.is-active .gg509-mode-card__check {
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* 6. SCHONE INVOERVELDEN, INSPIRATIE & EXTRA OPTIES */
html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) label {
  display: block !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--st-navy) !important;
  margin: 0 0 7px !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(textarea, input[type="text"], select) {
  width: 100% !important;
  max-width: 100% !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  border: 1.5px solid #d5dfe7 !important;
  background: var(--st-cream) !important;
  color: var(--st-navy) !important;
  font-family: var(--gg-font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(textarea, input[type="text"], select):focus {
  outline: none !important;
  border-color: var(--st-navy) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(23, 54, 70, 0.08) !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .ggwow-inspiration,
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg507-tone-bar {
  padding: 15px 18px !important;
  border-radius: 16px !important;
  background: var(--st-cream) !important;
  border: 1px solid #e7e0d6 !important;
  margin: 0 !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .ggwow-inspiration-heading {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .ggwow-inspiration-symbol {
  color: var(--st-gold) !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .ggwow-inspiration-heading h3 {
  margin: 0 !important;
  font-family: var(--gg-font-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: var(--st-navy) !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .ggwow-prompt-chips,
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg507-tone-pills,
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .ggwow-prompt-chips button,
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-tag,
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg507-tone-pill {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 36px !important;
  padding: 5px 14px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid #d5dfe7 !important;
  color: var(--st-navy) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .ggwow-prompt-chips button:hover,
html body:not(.wp-admin) #ggw-site main.gg370-studio .ggwow-prompt-chips button[aria-pressed="true"],
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-tag:hover,
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg507-tone-pill.is-active,
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg507-tone-pill:hover {
  background: var(--st-navy) !important;
  border-color: var(--st-navy) !important;
  color: #fff9ee !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .gg507-tone-bar__label {
  display: block !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.09em !important;
  color: var(--st-gold) !important;
  margin-bottom: 10px !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio #blockAutoModel details {
  background: var(--st-cream) !important;
  border: 1px solid #e7e0d6 !important;
  border-radius: 16px !important;
  padding: 13px 18px !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio #blockAutoModel summary.gg100-options-title {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--st-navy) !important;
  cursor: pointer !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio .ggu-general-format-note,
html body:not(.wp-admin) #ggw-site main.gg370-studio .ggwow-compose-footnote {
  font-size: 12.5px !important;
  color: var(--st-muted) !important;
  margin: 0 !important;
}

/* Hoofd-genereerknop & zelf-schrijven knoppen */
html body:not(.wp-admin) #ggw-site main.gg370-studio #btnGeneratePoem,
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-self-primary,
html body:not(.wp-admin) #ggw-site main.gg370-studio #vvBtnSave,
html body:not(.wp-admin) #ggw-site main.gg372-flow .gg372-flow__primary {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 52px !important;
  padding: 12px 28px !important;
  border-radius: 999px !important;
  background: var(--st-navy) !important;
  background-image: none !important;
  border: 1px solid var(--st-navy) !important;
  color: #ffffff !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  box-shadow: 0 12px 26px rgba(23, 54, 70, 0.20) !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: background-color 0.16s ease, transform 0.14s ease !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio #btnGeneratePoem:hover,
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-self-primary:hover,
html body:not(.wp-admin) #ggw-site main.gg370-studio #vvBtnSave:hover,
html body:not(.wp-admin) #ggw-site main.gg372-flow .gg372-flow__primary:hover {
  background: var(--st-navy-hover) !important;
  transform: translateY(-1px);
}

/* 7. ZELF SCHRIJVEN MET AI-SUGGESTIES PANEEL */
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg511-self-panel[hidden] { display: none !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-self-head { margin-bottom: 18px !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-self-eyebrow {
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.13em !important;
  color: var(--st-gold) !important;
  margin-bottom: 4px !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-self-head h2,
html body:not(.wp-admin) #ggw-site main.gg372-flow .gg372-flow__editor h2 {
  margin: 0 0 6px !important;
  font-family: var(--gg-font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-size: clamp(30px, 3vw, 38px) !important;
  font-weight: 600 !important;
  color: var(--st-navy) !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-self-head p { margin: 0 !important; font-size: 14px !important; color: var(--st-muted) !important; line-height: 1.6 !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-self-field { margin-bottom: 14px !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-self-areatop { display: flex !important; justify-content: space-between !important; align-items: baseline !important; margin-bottom: 6px !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-self-count { font-size: 12px !important; font-weight: 700 !important; color: var(--st-gold) !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-tags-wrap { margin: 10px 0 16px !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-tags-lbl { display: block !important; font-size: 12px !important; font-weight: 700 !important; color: var(--st-muted) !important; margin-bottom: 8px !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio textarea.gg509-self-textarea,
html body:not(.wp-admin) #ggw-site main.gg372-flow textarea#gg372-poem {
  font-family: var(--gg-font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-size: 22px !important;
  line-height: 1.7 !important;
  background: var(--st-cream) !important;
  border-color: #e7e0d6 !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-assist-bar { display: flex !important; flex-wrap: wrap !important; gap: 10px !important; margin: 12px 0 14px !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-assist-btn {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  min-height: 44px !important;
  padding: 9px 18px !important;
  border-radius: 999px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-assist-btn--ai {
  background: #f4d4aa !important;
  border: 1px solid #dfbe93 !important;
  color: var(--st-navy) !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-assist-btn--ai:hover { background: #fae2c2 !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-assist-btn--rhyme {
  background: var(--st-cream) !important;
  border: 1px solid #d5dfe7 !important;
  color: var(--st-navy) !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-assist-btn--rhyme:hover {
  background: var(--st-navy) !important;
  border-color: var(--st-navy) !important;
  color: #ffffff !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-assist-output {
  margin: 0 0 18px !important;
  padding: 16px !important;
  border-radius: 16px !important;
  background: var(--st-cream) !important;
  border: 1px solid #e7e0d6 !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-assist-title { display: block !important; font-size: 12px !important; font-weight: 800 !important; color: var(--st-gold) !important; margin-bottom: 10px !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-suggest-list { display: grid !important; gap: 8px !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-suggest-item {
  appearance: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  width: 100% !important;
  padding: 11px 15px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid var(--st-border) !important;
  color: var(--st-navy) !important;
  text-align: left !important;
  font-family: var(--gg-font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-size: 20px !important;
  cursor: pointer !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-suggest-item:hover,
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-suggest-item.is-added {
  border-color: var(--st-navy) !important;
  background: #eef3f6 !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-suggest-item b { font-family: var(--gg-font-sans, "Plus Jakarta Sans", sans-serif) !important; font-size: 12px !important; color: var(--st-gold) !important; white-space: nowrap !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-rhyme-chips { display: flex !important; flex-wrap: wrap !important; gap: 7px !important; }
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-rhyme-chip {
  appearance: none !important;
  padding: 5px 12px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid #d5dfe7 !important;
  color: var(--st-navy) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-rhyme-chip:hover {
  background: var(--st-navy) !important;
  color: #ffffff !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-self-foot {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding-top: 16px !important;
  border-top: 1px solid #edf0f3 !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio button.gg509-self-secondary,
html body:not(.wp-admin) #ggw-site main.gg370-studio .editor-actions .btn-secondary,
html body:not(.wp-admin) #ggw-site main.gg372-flow .gg372-flow__secondary {
  appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  padding: 12px 22px !important;
  border-radius: 999px !important;
  background: var(--st-sand) !important;
  border: 1px solid var(--st-sand-border) !important;
  color: var(--st-navy) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
}

/* 8. STAP 2 (#gg42PhaseFinish) — NAADLOZE V5 RESTYLE NA AI-GENERATIE */
html body:not(.wp-admin) #ggw-site main.gg370-studio #gg42PhaseFinish .gg42-phase-head {
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #edf0f3 !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio #gg42PhaseFinish .gg42-eyebrow {
  display: block !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.12em !important;
  color: var(--st-gold) !important;
  margin-bottom: 4px !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio #gg42PhaseFinish .gg42-phase-head h2 {
  margin: 0 0 6px !important;
  font-family: var(--gg-font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-size: clamp(30px, 3vw, 40px) !important;
  color: var(--st-navy) !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio #gg42PhaseFinish :is(.stanza-card, .gg59-drafts, .gg61-writing-compass, .input-card) {
  background: var(--st-cream) !important;
  border: 1px solid #e7e0d6 !important;
  border-radius: 18px !important;
  padding: 18px 20px !important;
  margin-bottom: 16px !important;
  box-shadow: none !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio #gg42PhaseFinish .stanza-header h3 {
  font-family: var(--gg-font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-size: 24px !important;
  color: var(--st-navy) !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio #gg42PhaseFinish .rhyme-indicator {
  background: #ffffff !important;
  border: 1px solid #e7e0d6 !important;
  color: var(--st-gold) !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio #gg42PhaseFinish input.poem-line {
  background: #ffffff !important;
  font-family: var(--gg-font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-size: 20px !important;
  padding: 11px 14px !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio #gg42PhaseFinish .btn-rhyme-help {
  background: #ffffff !important;
  border: 1px solid #d5dfe7 !important;
  color: var(--st-navy) !important;
  border-radius: 12px !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio #gg42PhaseFinish .btn-rhyme-help:hover {
  background: var(--st-navy) !important;
  border-color: var(--st-navy) !important;
  color: #f4d4aa !important;
}
html body:not(.wp-admin) #ggw-site main.gg370-studio #gg42PhaseFinish .editor-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 20px !important;
}

/* 9. RECHTER POËZIEKAART & LIVE PREVIEW */
html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio) aside.gg370-studio__preview, main.gg372-flow aside.gg372-flow__preview) {
  position: sticky !important;
  top: 20px !important;
  padding: 26px !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  border: 1px solid var(--st-border) !important;
  box-shadow: 0 14px 36px rgba(23, 54, 70, 0.05) !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__preview-head {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 14px !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__preview-head > span {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
  border-radius: 12px !important;
  background: var(--st-cream) !important;
  border: 1px solid #e7e0d6 !important;
  color: var(--st-gold) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__eyebrow, main.gg372-flow .gg372-flow__eyebrow) {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--st-gold) !important;
  margin: 0 0 3px !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__preview-head h2 {
  margin: 0 !important;
  font-family: var(--gg-font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-size: 27px !important;
  line-height: 1.12 !important;
  color: var(--st-navy) !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__paper, main.gg372-flow .gg372-flow__paper) {
  padding: 22px 24px !important;
  border-radius: 18px !important;
  background: var(--st-cream) !important;
  border: 1px solid #e7e0d6 !important;
  border-left: 4px solid var(--st-gold) !important;
  margin: 14px 0 !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__paper-label, main.gg372-flow .gg372-flow__paper-kicker) {
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--st-gold) !important;
  margin: 0 0 6px !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__paper h3, main.gg372-flow .gg372-flow__paper h2) {
  font-family: var(--gg-font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-size: 27px !important;
  line-height: 1.15 !important;
  color: var(--st-navy) !important;
  margin: 0 0 12px !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__stanza {
  margin: 0 0 13px !important;
  font-family: var(--gg-font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-style: italic !important;
  font-size: 20px !important;
  line-height: 1.58 !important;
  color: #243b47 !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__stanza:last-child {
  margin-bottom: 0 !important;
}

html body:not(.wp-admin) #ggw-site main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__stanza span {
  display: block !important;
}

html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__preview-note, main.gg372-flow .gg372-flow__preview-note) {
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  color: var(--st-muted) !important;
  margin: 0 !important;
}

html body:not(.wp-admin) #ggw-site .gg515-studio-tips {
  margin-top: 16px !important;
  padding-top: 14px !important;
  border-top: 1px solid #edf0f3 !important;
  font-size: 13px !important;
  color: var(--st-muted) !important;
}

html body:not(.wp-admin) #ggw-site .gg515-studio-tips strong {
  display: block !important;
  color: var(--st-navy) !important;
  font-size: 13px !important;
  margin-bottom: 6px !important;
}

html body:not(.wp-admin) #ggw-site .gg515-studio-tips ul {
  margin: 0 !important;
  padding-left: 18px !important;
  display: grid !important;
  gap: 5px !important;
}

/* 10. STAPPENPAGINA'S (/zelf-schrijven, /verfijnen, /bewaren) UNIFICATIE */
html body:not(.wp-admin) #ggw-site main.gg372-flow .gg372-flow__details {
  background: var(--st-cream) !important;
  border: 1px solid #e7e0d6 !important;
  border-radius: 14px !important;
}
html body:not(.wp-admin) #ggw-site main.gg372-flow .gg372-flow__small-actions button {
  background: var(--st-cream) !important;
  border: 1px solid #d5dfe7 !important;
  color: var(--st-navy) !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
}
html body:not(.wp-admin) #ggw-site main.gg372-flow .gg372-flow__small-actions button:hover {
  background: var(--st-navy) !important;
  border-color: var(--st-navy) !important;
  color: #ffffff !important;
}
html body:not(.wp-admin) #ggw-site main.gg372-flow .gg372-flow__submit {
  background: #f4d4aa !important;
  border: 1px solid #dfbe93 !important;
  color: var(--st-navy) !important;
  border-radius: 999px !important;
  min-height: 52px !important;
  padding: 12px 24px !important;
  font-weight: 800 !important;
}

@media (max-width: 960px) {
  html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio) .gg370-studio__workspace, main.gg372-flow .gg372-flow__workspace) {
    grid-template-columns: 1fr !important;
  }
  html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) :is(.gg370-studio__steps, .gg372-flow__nav) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  html body:not(.wp-admin) #ggw-site :is(main.gg370-studio aside.gg370-studio__preview, main.gg372-flow aside.gg372-flow__preview) {
    position: static !important;
  }
}

@media (max-width: 640px) {
  html body:not(.wp-admin) #ggw-site :is(main.gg370-studio:not(.gg405-theme-studio), main.gg372-flow) {
    width: calc(100% - 20px) !important;
  }
  html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-mode-switcher {
    grid-template-columns: 1fr !important;
  }
  html body:not(.wp-admin) #ggw-site main.gg370-studio #btnGeneratePoem,
  html body:not(.wp-admin) #ggw-site main.gg370-studio .gg509-self-foot > button {
    width: 100% !important;
  }
}
