.publication-celebration {
  position: relative;
  display: grid;
  min-height: min(78vh, 760px);
  place-items: center;
  overflow: hidden;
  padding: clamp(1rem, 4vw, 4rem);
}

.plan-addresses {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 18px 42px rgb(7 26 51 / 7%);
}

.plan-addresses__heading {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
  padding: clamp(1.2rem, 3vw, 1.75rem);
  border-bottom: 1px solid #e2e8f0;
  background: linear-gradient(135deg, #f8fbff, #f0fdfa);
}

.plan-addresses__heading h2 {
  color: #071a33;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.2;
}

.plan-addresses__heading p:last-child {
  max-width: 68ch;
  margin-top: .45rem;
  color: #52627a;
  line-height: 1.6;
}

.plan-addresses__grid {
  display: grid;
  gap: .85rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.plan-address-card {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  border: 1px solid #dbe4f0;
  border-radius: 1rem;
  background: #fff;
  padding: 1rem;
}

.plan-address-card--included {
  border-left: 4px solid #2563ff;
}

.plan-address-card__icon,
.plan-addresses__empty > svg {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  place-items: center;
  border-radius: .85rem;
  color: #fff;
  background: #071a33;
}

.plan-address-card__icon--extra {
  background: #0f766e;
}

.plan-address-card__icon svg,
.plan-addresses__empty > svg {
  width: 1.2rem;
  height: 1.2rem;
}

.plan-address-card small {
  color: #64748b;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.plan-address-card h3,
.plan-addresses__empty h3 {
  margin-top: .2rem;
  overflow-wrap: anywhere;
  color: #071a33;
  font-size: 1rem;
  font-weight: 800;
}

.plan-address-card p,
.plan-addresses__empty p {
  margin-top: .25rem;
  color: #52627a;
  font-size: .86rem;
  line-height: 1.55;
}

.plan-address-card__destination {
  display: inline-block;
  margin-top: .5rem;
  color: #0f766e;
  font-size: .78rem;
  font-weight: 750;
}

.plan-addresses__empty {
  display: grid;
  min-height: 6.5rem;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  background: #f8fafc;
  padding: 1rem;
}

.plan-addresses__next {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 1.5rem);
  border: 1px solid rgb(37 99 255 / 18%);
  border-radius: 1rem;
  background: #eff6ff;
  padding: 1rem;
}

.plan-addresses__next div {
  display: grid;
  min-width: 0;
  gap: .25rem;
}

.plan-addresses__next strong {
  color: #071a33;
}

.plan-addresses__next span {
  color: #52627a;
  font-size: .82rem;
  line-height: 1.5;
}

.plan-addresses__next .btn-primary {
  min-height: 44px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .plan-addresses__heading,
  .plan-addresses__next {
    align-items: stretch;
    flex-direction: column;
  }

  .plan-addresses__heading > .status-badge {
    width: fit-content;
  }

  .plan-address-card {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .plan-address-card > .status-badge {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .plan-addresses__next .btn-primary {
    width: 100%;
    justify-content: center;
  }
}

.publication-celebration__card {
  position: relative;
  z-index: 1;
  width: min(100%, 960px);
  border: 1px solid rgb(15 118 110 / 18%);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgb(255 255 255 / 98%), rgb(240 253 250 / 96%));
  box-shadow: 0 32px 80px rgb(7 26 51 / 14%);
  padding: clamp(1.5rem, 5vw, 4.5rem);
}

.publication-celebration__card h1 {
  max-width: 14ch;
  color: #071a33;
  font-size: clamp(2.25rem, 7vw, 5rem);
  line-height: .96;
  letter-spacing: -.055em;
}

.publication-celebration__card > p:not(.app-eyebrow) {
  max-width: 62ch;
  margin-top: 1rem;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
}

.publication-celebration__icon {
  display: grid;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.25rem;
  place-items: center;
  border-radius: 1.1rem;
  color: #fff;
  background: linear-gradient(135deg, #0f766e, #22c55e);
  box-shadow: 0 14px 34px rgb(15 118 110 / 28%);
}

.publication-celebration__share {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  margin-top: 2.5rem;
  padding: 1.25rem;
  border-radius: 1.5rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgb(148 163 184 / 22%);
}

.publication-celebration__share img { border-radius: 1rem; }
.publication-celebration__share span { color: #64748b; font-size: .8rem; font-weight: 700; }
.publication-celebration__share strong { display: block; overflow-wrap: anywhere; color: #071a33; font-size: clamp(1.15rem, 3vw, 1.8rem); }
.publication-celebration__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.publication-celebration__actions > * { min-height: 44px; }
.publication-celebration__copy-status { min-height: 1.5rem; margin-top: .75rem; color: #0f766e; font-size: .85rem; }
.publication-celebration__back { display: inline-flex; min-height: 44px; align-items: center; margin-top: 1.5rem; }
.publication-celebration__spark { position: absolute; width: 22rem; height: 22rem; border-radius: 999px; filter: blur(12px); opacity: .18; }
.publication-celebration__spark--one { top: -8rem; left: -7rem; background: #3b82f6; }
.publication-celebration__spark--two { right: -6rem; bottom: -10rem; background: #22c55e; }

@media (max-width: 700px) {
  .publication-celebration { padding: .75rem; }
  .publication-celebration__card { border-radius: 1.5rem; padding: 1.4rem; }
  .publication-celebration__share { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .publication-celebration__actions { justify-content: center; }
  .publication-celebration__actions > * { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: no-preference) {
  .publication-celebration__card { animation: celebration-arrive .55s cubic-bezier(.2,.8,.2,1) both; }
  @keyframes celebration-arrive { from { opacity: 0; transform: translateY(18px) scale(.985); } }
}

.quick-onboarding__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, .9fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.quick-onboarding__header h1 {
  color: #071a33;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.quick-onboarding__header > div > p:last-child { max-width: 62ch; margin-top: .8rem; color: #64748b; line-height: 1.65; }
.quick-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; list-style: none; padding: 0; }
.quick-journey li { position: relative; display: grid; gap: .45rem; color: #94a3b8; font-size: .72rem; }
.quick-journey li::before { content: ""; position: absolute; top: 1rem; left: 2.25rem; right: -.4rem; height: 2px; background: #e2e8f0; }
.quick-journey li:last-child::before { display: none; }
.quick-journey span { position: relative; z-index: 1; display: grid; width: 2rem; height: 2rem; place-items: center; border: 2px solid #e2e8f0; border-radius: 999px; background: #fff; font-weight: 800; }
.quick-journey .is-complete, .quick-journey .is-current { color: #0f766e; }
.quick-journey .is-complete span { border-color: #0f766e; color: #fff; background: #0f766e; }
.quick-journey .is-current span { border-color: #0f766e; box-shadow: 0 0 0 5px rgb(15 118 110 / 10%); }
.quick-journey .is-complete::before { background: #0f766e; }

.quick-onboarding { display: grid; gap: 1.25rem; }
.quick-assistance { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; margin-bottom: 1.25rem; border: 1px solid rgb(37 99 255 / 22%); border-radius: 1.4rem; background: linear-gradient(135deg, #eff6ff, #f0fdfa); padding: 1.25rem; }
.quick-assistance > span:first-child { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 1rem; color: #fff; background: linear-gradient(135deg, #2563ff, #0f766e); box-shadow: 0 12px 28px rgb(37 99 255 / 18%); }
.quick-assistance > span:first-child svg { width: 1.35rem; height: 1.35rem; }
.quick-assistance h2 { margin-top: .2rem; color: #071a33; font-size: 1.05rem; font-weight: 800; }
.quick-assistance p:not(.app-eyebrow) { margin-top: .25rem; color: #475569; font-size: .86rem; line-height: 1.6; }
.quick-assistance__action { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap; }
.quick-assistance__action svg { width: 1.05rem; height: 1.05rem; }
.quick-onboarding__section { border: 1px solid #e2e8f0; border-radius: 1.6rem; background: #fff; box-shadow: 0 20px 48px rgb(7 26 51 / 6%); padding: clamp(1.25rem, 4vw, 2.5rem); }
.quick-onboarding__section-heading { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.75rem; }
.quick-onboarding__section-heading > span { display: grid; flex: 0 0 2.75rem; height: 2.75rem; place-items: center; border-radius: .9rem; color: #fff; background: linear-gradient(135deg, #2563ff, #0f766e); font-weight: 800; }
.quick-onboarding__section-heading h2 { color: #071a33; font-size: clamp(1.35rem, 3vw, 2rem); }
.quick-onboarding__section-heading p { color: #64748b; }
.quick-onboarding__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.quick-onboarding__wide { grid-column: 1 / -1; }
.quick-onboarding__colors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.quick-onboarding__colors input[type="color"] { min-height: 3.25rem; padding: .3rem; }
.quick-onboarding__uploads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.quick-onboarding__checks { display: grid; gap: .6rem; margin-top: 1rem; }
.quick-onboarding__checks .form-label,
.quick-onboarding__footer .form-label {
  display: flex;
  min-height: 44px;
  align-items: center;
}
.quick-palettes { margin: 0; padding: 0; border: 0; }
.quick-palettes legend { margin-bottom: .75rem; color: #334155; font-size: .85rem; font-weight: 800; }
.quick-palettes__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.quick-palettes button { min-height: 64px; border: 1px solid #e2e8f0; border-radius: 1rem; color: #334155; background: #fff; font-size: .78rem; font-weight: 800; transition: border-color .2s, transform .2s, box-shadow .2s; }
.quick-palettes button:hover, .quick-palettes button:focus-visible, .quick-palettes button[aria-pressed="true"] { border-color: #2563ff; outline: 0; box-shadow: 0 0 0 4px rgb(37 99 255 / 10%); transform: translateY(-1px); }
.quick-palettes button span { display: flex; width: 58px; height: 16px; margin: 0 auto .4rem; overflow: hidden; border-radius: 999px; background: linear-gradient(90deg, var(--a) 0 33%, var(--b) 33% 66%, var(--c) 66%); }

.quick-ai-field { position: relative; min-width: 0; padding-bottom: 1.2rem; }
.quick-ai-field--plain { padding-bottom: 0; }
.quick-ai-field .form-field { margin: 0; }
.quick-ai-field input:not([type="hidden"]),
.quick-ai-field textarea { padding-right: 3.5rem; }
.quick-ai-field__trigger { display: inline-flex; width: 44px; min-height: 44px; align-items: center; justify-content: center; gap: .4rem; border: 1px solid #bfdbfe; border-radius: .65rem; color: #075ee8; background: #eff6ff; padding: 0; font-size: .72rem; font-weight: 850; cursor: pointer; }
.quick-ai-field > .quick-ai-field__trigger { position: absolute; z-index: 2; top: 1.7rem; right: .45rem; }
.quick-ai-field__trigger:hover,
.quick-ai-field__trigger:focus-visible { border-color: #2563ff; outline: 3px solid rgb(37 99 255 / 14%); background: #fff; }
.quick-ai-field__trigger svg { width: 1rem; height: 1rem; }
.quick-ai-field__counter { position: absolute; right: .15rem; bottom: 0; color: #64748b; font-size: .68rem; font-weight: 700; }
.quick-ai-field__counter[data-near-limit="true"] { color: #b45309; }
.quick-ai-field__trigger--inline { position: static; flex: none; min-height: 44px; }

.quick-structured { display: grid; min-width: 0; gap: .75rem; border: 1px solid #dbe5f0; border-radius: 1rem; background: #f8fbff; padding: 1rem; }
.quick-structured__heading { display: flex; gap: .8rem; align-items: flex-start; justify-content: space-between; }
.quick-structured__heading .form-help { margin-top: .25rem; }
.quick-structured__items { display: grid; gap: .75rem; }
.quick-structured__item { display: grid; gap: .45rem; border: 1px solid #dbe5f0; border-left: 3px solid #00a58f; border-radius: .8rem; background: #fff; padding: .85rem; box-shadow: 0 8px 20px rgb(7 26 51 / 4%); }
.quick-structured__item-heading { display: flex; gap: .75rem; align-items: center; justify-content: space-between; }
.quick-structured__item-heading strong { color: #17335f; font-size: .78rem; }
.quick-structured__item-actions { display: flex; gap: .25rem; }
.quick-structured__item-actions button { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #dbe5f0; border-radius: .55rem; color: #52637a; background: #fff; }
.quick-structured__item-actions button:not(:disabled):hover,
.quick-structured__item-actions button:not(:disabled):focus-visible { border-color: #2563ff; outline: 3px solid rgb(37 99 255 / 12%); color: #075ee8; }
.quick-structured__item-actions button:disabled { opacity: .35; }
.quick-structured__item-actions svg { width: .95rem; height: .95rem; }
.quick-structured__item .form-label { margin-top: .15rem; font-size: .74rem; }
.quick-structured__counter { justify-self: end; color: #64748b; font-size: .66rem; font-weight: 700; }
.quick-structured__add { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: .45rem; border: 1px dashed #2563ff; border-radius: .7rem; color: #075ee8; background: #fff; font-size: .76rem; font-weight: 850; }
.quick-structured__add:disabled { border-color: #cbd5e1; color: #94a3b8; cursor: not-allowed; }
.quick-structured__add svg { width: 1rem; height: 1rem; }
.quick-structured__status { min-height: 1rem; color: #64748b; font-size: .68rem; }

.quick-logo-palette { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; margin-top: 1rem; border: 1px solid #a7f3d0; border-radius: 1rem; background: linear-gradient(135deg, #f0fdfa, #eff6ff); padding: 1rem; }
.quick-logo-palette[hidden] { display: none !important; }
.quick-logo-palette__icon { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border-radius: .8rem; color: #fff; background: linear-gradient(135deg, #7c3aed, #ff7a00); }
.quick-logo-palette h3 { color: #071a33; font-size: 1rem; }
.quick-logo-palette p:not(.app-eyebrow) { color: #52637a; font-size: .76rem; line-height: 1.5; }
.quick-logo-palette__swatches { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .65rem; }
.quick-logo-palette__swatches span { display: inline-flex; min-height: 32px; align-items: center; gap: .35rem; border: 1px solid #dbe5f0; border-radius: 999px; background: #fff; padding: .25rem .65rem .25rem .3rem; color: #40526b; font-size: .7rem; font-weight: 800; }
.quick-logo-palette__swatches span::before { width: 1.35rem; height: 1.35rem; border-radius: 999px; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(7 26 51 / 12%); content: ""; }

.quick-ai-dialog { width: min(94vw, 42rem); max-height: min(88dvh, 50rem); border: 1px solid #d8e4f0; border-radius: 1.25rem; color: #071a33; background: #fff; box-shadow: 0 28px 74px rgb(2 6 23 / 32%); padding: 0; }
.quick-ai-dialog::backdrop { background: rgb(2 6 23 / 58%); backdrop-filter: blur(4px); }
.quick-ai-dialog .app-dialog__header { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: .85rem; align-items: start; border-bottom: 1px solid #e7edf4; padding: 1rem 1.15rem; }
.quick-ai-dialog .app-dialog__header h2 { margin-top: .1rem; font-size: 1.15rem; }
.quick-ai-dialog .app-dialog__header p:last-child { margin-top: .25rem; color: #64748b; font-size: .78rem; line-height: 1.45; }
.quick-ai-dialog .app-dialog__icon { display: grid; width: 2.65rem; height: 2.65rem; place-items: center; border-radius: .8rem; color: #fff; background: linear-gradient(135deg, #7c3aed, #2563ff); }
.quick-ai-dialog .app-dialog__close { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #dbe5f0; border-radius: .7rem; color: #52637a; background: #fff; }
.quick-ai-dialog .app-dialog__close svg { width: 1.1rem; height: 1.1rem; }
.quick-ai-dialog__body { display: grid; gap: .7rem; padding: 1.1rem 1.15rem; }
.quick-ai-dialog__meta { display: flex; gap: .75rem; justify-content: space-between; color: #64748b; font-size: .68rem; line-height: 1.45; }
.quick-ai-dialog__meta span:last-child { flex: none; font-weight: 800; }
.quick-ai-dialog__status { min-height: 2.8rem; border-radius: .7rem; color: #0f766e; background: #f0fdfa; padding: .75rem .85rem; font-size: .76rem; font-weight: 750; line-height: 1.45; }
.quick-ai-dialog__status:empty { display: none; }
.quick-ai-dialog__preview { display: grid; gap: .7rem; border: 1px solid #bfdbfe; border-radius: .85rem; background: #f8fbff; padding: .9rem; }
.quick-ai-dialog__preview[hidden],
.quick-ai-dialog .app-dialog__footer button[hidden] { display: none !important; }
.quick-ai-dialog__preview h3 { font-size: .9rem; }
.quick-ai-dialog__preview > p { color: #64748b; font-size: .7rem; }
.quick-ai-dialog__preview > div { display: grid; gap: .55rem; max-height: 18rem; overflow-y: auto; }
.quick-ai-dialog__preview-item { border-left: 3px solid #2563ff; background: #fff; padding: .65rem .75rem; }
.quick-ai-dialog__preview-item strong { color: #17335f; font-size: .7rem; letter-spacing: .03em; text-transform: uppercase; }
.quick-ai-dialog__preview-item p,
.quick-ai-dialog__preview-item ul { margin: .3rem 0 0; color: #40526b; font-size: .78rem; line-height: 1.45; }
.quick-ai-dialog__preview-item ul { padding-left: 1rem; }
.quick-ai-dialog__include { display: flex; align-items: flex-start; gap: .65rem; min-height: 2.75rem; cursor: pointer; }
.quick-ai-dialog__include input,
.quick-ai-dialog__choice input { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: .12rem; accent-color: #2563ff; }
.quick-ai-dialog__choices { display: grid; gap: .55rem; margin: .65rem 0 0; padding: 0; border: 0; }
.quick-ai-dialog__choices legend { margin-bottom: .15rem; color: #52627a; font-size: .72rem; }
.quick-ai-dialog__choice { display: flex; gap: .65rem; min-height: 2.75rem; padding: .65rem; border: 1px solid #d6e2f3; border-radius: .7rem; background: #f8fbff; cursor: pointer; }
.quick-ai-dialog__choice:has(input:checked) { border-color: #2563ff; background: #eef5ff; box-shadow: inset 0 0 0 1px #2563ff; }
.quick-ai-dialog__choice span { min-width: 0; }
.quick-ai-dialog__choice p { margin: 0; color: #17335f; font-size: .82rem; line-height: 1.45; }
.quick-ai-dialog__choice:focus-within,
.quick-ai-dialog__include:focus-within { outline: 3px solid rgba(37, 99, 255, .3); outline-offset: 2px; }
.quick-ai-dialog .app-dialog__footer { position: sticky; bottom: 0; display: flex; gap: .65rem; justify-content: flex-end; border-top: 1px solid #e7edf4; background: #fff; padding: 1rem 1.15rem; }
.quick-ai-dialog .app-dialog__footer button { min-height: 44px; }
.quick-onboarding__footer { position: sticky; z-index: 10; bottom: .75rem; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; border: 1px solid rgb(15 118 110 / 20%); border-radius: 1.35rem; background: rgb(255 255 255 / 94%); box-shadow: 0 18px 48px rgb(7 26 51 / 16%); backdrop-filter: blur(16px); padding: 1rem 1.25rem; }
.quick-onboarding__footer > div { min-width: 0; }
.quick-onboarding__footer p { color: #64748b; font-size: .75rem; }
.quick-onboarding__footer .btn-primary { min-height: 48px; white-space: nowrap; }

@media (max-width: 980px) {
  .quick-onboarding__header { grid-template-columns: 1fr; }
  .quick-palettes__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .quick-assistance { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .quick-assistance > .status-badge { grid-column: 1 / -1; width: fit-content; }
  .quick-assistance__action { grid-column: 1 / -1; width: 100%; white-space: normal; }
  .quick-journey strong { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .quick-onboarding__grid, .quick-onboarding__colors, .quick-onboarding__uploads { grid-template-columns: 1fr; }
  .quick-onboarding__footer { align-items: stretch; flex-direction: column; }
  .quick-onboarding__footer .btn-primary { width: 100%; justify-content: center; }
  .quick-ai-field input:not([type="hidden"]), .quick-ai-field textarea { padding-right: 3rem; }
  .quick-ai-field > .quick-ai-field__trigger { width: 44px; min-height: 44px; padding: 0; }
  .quick-ai-field > .quick-ai-field__trigger span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
  .quick-structured__item-heading { align-items: flex-start; flex-direction: column; }
  .quick-structured__item-actions { width: 100%; justify-content: flex-end; }
  .quick-logo-palette { grid-template-columns: auto minmax(0, 1fr); }
  .quick-logo-palette .btn-secondary { grid-column: 1 / -1; width: 100%; }
  .quick-ai-dialog { width: calc(100vw - 1rem); max-height: calc(100dvh - 1rem); }
  .quick-ai-dialog__meta { display: grid; }
  .quick-ai-dialog .app-dialog__footer { align-items: stretch; flex-direction: column-reverse; }
  .quick-ai-dialog .app-dialog__footer button { width: 100%; justify-content: center; }
}

.signup-journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin: 1.5rem 0 0; padding: 0; list-style: none; color: #94a3b8; font-size: .68rem; font-weight: 800; text-align: center; }
.signup-journey li { display: grid; gap: .4rem; justify-items: center; }
.signup-journey span { display: grid; width: 1.9rem; height: 1.9rem; place-items: center; border: 2px solid #e2e8f0; border-radius: 999px; background: #fff; }
.signup-journey .is-current { color: #0f766e; }
.signup-journey .is-current span { border-color: #0f766e; box-shadow: 0 0 0 5px rgb(15 118 110 / 10%); }
.signup-name-status { display: flex; min-height: 48px; gap: .65rem; align-items: center; border: 1px solid #e2e8f0; border-radius: .9rem; padding: .75rem 1rem; color: #64748b; background: #f8fafc; font-size: .82rem; font-weight: 700; }
.signup-name-status svg { width: 1rem; height: 1rem; flex: none; }
.signup-name-status[data-state="available"] { border-color: rgb(15 118 110 / 35%); color: #0f766e; background: #f0fdfa; }
.signup-name-status[data-state="unavailable"], .signup-name-status[data-state="temporarily_unavailable"] { border-color: rgb(217 119 6 / 35%); color: #b45309; background: #fffbeb; }
.signup-name-status[data-state="invalid"], .signup-name-status[data-state="error"] { border-color: rgb(220 38 38 / 28%); color: #b91c1c; background: #fef2f2; }
.signup-google-note { display: flex; gap: .5rem; align-items: center; justify-content: center; color: #64748b; font-size: .75rem; line-height: 1.5; text-align: center; }
.signup-google-note svg { width: 1rem; height: 1rem; color: #0f766e; }

.page-workspace-focus {
  --page-accent: #2563ff;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(19rem, .65fr);
  min-width: 0;
  margin-top: 1.5rem;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 22px 54px rgb(7 26 51 / 9%);
}

.page-workspace-focus::before {
  position: absolute;
  z-index: 2;
  inset: 0 auto 0 0;
  width: .32rem;
  background: var(--page-accent);
  content: "";
}

.page-workspace-focus--teal { --page-accent: #00a58f; }
.page-workspace-focus--orange { --page-accent: #d45100; }
.page-workspace-focus--blue { --page-accent: #2563ff; }

.page-workspace-focus__main {
  display: grid;
  min-width: 0;
  align-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.page-workspace-focus__heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.page-workspace-focus__product-icon {
  display: grid;
  width: 3.25rem;
  height: 3.25rem;
  place-items: center;
  border-radius: 1rem;
  color: #fff;
  background: #071a33;
  box-shadow: inset 0 -.25rem 0 var(--page-accent);
}

.page-workspace-focus__product-icon svg {
  width: 1.4rem;
  height: 1.4rem;
}

.page-workspace-focus__heading h1 {
  max-width: 22ch;
  color: #071a33;
  font-family: Poppins, Inter, sans-serif;
  font-size: clamp(1.55rem, 3.6vw, 2.45rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.page-workspace-focus__heading p:last-child {
  max-width: 62ch;
  margin-top: .65rem;
  color: #52627a;
  font-size: .94rem;
  line-height: 1.65;
}

.page-workspace-focus__primary {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1rem;
  align-items: center;
}

.page-workspace-focus__primary > span {
  color: #64748b;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.page-workspace-focus__primary form,
.page-workspace-focus__primary .btn-primary {
  min-width: min(100%, 15rem);
}

.page-workspace-focus__primary .btn-primary {
  min-height: 3rem;
  border-radius: .65rem;
}

.page-workspace-focus__primary svg {
  width: 1.05rem;
  height: 1.05rem;
}

.page-workspace-focus__steps {
  display: grid;
  grid-column: 1;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0 clamp(1.25rem, 3vw, 2rem) clamp(1.25rem, 3vw, 2rem);
  list-style: none;
}

.page-workspace-focus__steps li {
  position: relative;
  display: grid;
  min-width: 0;
  gap: .45rem;
  justify-items: start;
  color: #8a98aa;
  font-size: .7rem;
}

.page-workspace-focus__steps li::after {
  position: absolute;
  top: .9rem;
  right: .5rem;
  left: 2rem;
  height: 2px;
  background: #dbe4f0;
  content: "";
}

.page-workspace-focus__steps li:last-child::after { display: none; }

.page-workspace-focus__steps li > span {
  position: relative;
  z-index: 1;
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid #cad5e2;
  border-radius: 50%;
  color: #64748b;
  background: #fff;
  font-size: .7rem;
  font-weight: 850;
}

.page-workspace-focus__steps strong {
  max-width: 9ch;
  line-height: 1.25;
}

.page-workspace-focus__steps .is-completed { color: #047857; }
.page-workspace-focus__steps .is-completed::after { background: #6ee7b7; }
.page-workspace-focus__steps .is-completed > span { border-color: #6ee7b7; color: #047857; background: #ecfdf5; }
.page-workspace-focus__steps .is-current { color: #071a33; }
.page-workspace-focus__steps .is-current > span { border-color: var(--page-accent); color: #fff; background: var(--page-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--page-accent) 13%, transparent); }

.page-workspace-focus__facts {
  display: grid;
  min-width: 0;
  grid-column: 2;
  grid-row: 1 / span 2;
  align-content: stretch;
  color: #fff;
  background: #071a33;
}

.page-workspace-status {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .8rem;
  align-content: center;
  border-bottom: 1px solid rgb(255 255 255 / 13%);
  padding: 1.35rem;
}

.page-workspace-status:last-child { border-bottom: 0; }

.page-workspace-status__icon {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: .8rem;
  color: #fff;
  background: rgb(255 255 255 / 7%);
}

.page-workspace-status--success .page-workspace-status__icon { color: #5eead4; }
.page-workspace-status--info .page-workspace-status__icon { color: #93c5fd; }
.page-workspace-status--attention .page-workspace-status__icon { color: #fbbf24; }
.page-workspace-status--neutral .page-workspace-status__icon { color: #cbd5e1; }

.page-workspace-status__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.page-workspace-status p {
  color: #9fb2c9;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.page-workspace-status strong,
.page-workspace-status small {
  display: block;
  overflow-wrap: anywhere;
}

.page-workspace-status strong {
  margin-top: .25rem;
  color: #fff;
  font-size: .98rem;
  line-height: 1.35;
}

.page-workspace-status small {
  margin-top: .35rem;
  color: #c7d3e1;
  font-size: .76rem;
  line-height: 1.5;
}

.page-workspace-status a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: .35rem;
  margin-top: .35rem;
  color: #fff;
  font-size: .76rem;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-color: var(--page-accent);
  text-underline-offset: .25rem;
}

.page-workspace-status a svg {
  width: .95rem;
  height: .95rem;
}

.page-product-scope,
.page-history-disclosure {
  min-width: 0;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: .9rem;
  background: #fff;
}

.page-product-scope > summary,
.page-history-disclosure > summary {
  display: flex;
  min-height: 4.25rem;
  gap: .8rem;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1rem;
  color: #071a33;
  cursor: pointer;
  list-style: none;
}

.page-product-scope > summary::-webkit-details-marker,
.page-history-disclosure > summary::-webkit-details-marker { display: none; }

.page-product-scope > summary > span:first-child,
.page-history-disclosure > summary > span:nth-child(2) {
  display: flex;
  min-width: 0;
  gap: .75rem;
  align-items: center;
}

.page-product-scope > summary > span:first-child > svg,
.page-history-disclosure > summary > span:first-child {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border-radius: .75rem;
  color: #2563ff;
  background: #eff6ff;
}

.page-product-scope summary strong,
.page-product-scope summary small,
.page-history-disclosure summary strong,
.page-history-disclosure summary small { display: block; }
.page-product-scope summary strong,
.page-history-disclosure summary strong { font-size: .88rem; }
.page-product-scope summary small,
.page-history-disclosure summary small { margin-top: .15rem; color: #64748b; font-size: .72rem; line-height: 1.4; }
.page-product-scope > summary > svg:last-child,
.page-history-disclosure > summary > svg:last-child { width: 1.1rem; height: 1.1rem; transition: transform .2s ease; }
.page-product-scope[open] > summary > svg:last-child,
.page-history-disclosure[open] > summary > svg:last-child { transform: rotate(180deg); }

.page-product-scope__body {
  display: grid;
  gap: 1rem;
  border-top: 1px solid #dbe4f0;
  padding: 1rem;
  background: #f8fbff;
}

.page-product-scope__intro {
  display: grid;
  gap: .45rem;
  color: #52627a;
  font-size: .86rem;
  line-height: 1.55;
}

.page-product-scope__intro strong { color: #071a33; }

.page-product-scope__capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.page-product-scope__capabilities article {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .7rem;
  align-items: start;
  border: 1px solid #dbe4f0;
  border-radius: .75rem;
  background: #fff;
  padding: .85rem;
}

.page-product-scope__capabilities article > span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: .55rem;
  color: #075db5;
  background: #eaf2ff;
}

.page-product-scope__capabilities svg { width: 1rem; height: 1rem; }
.page-product-scope__capabilities strong,
.page-product-scope__capabilities p,
.page-product-scope__capabilities small { display: block; }
.page-product-scope__capabilities strong { color: #071a33; font-size: .8rem; }
.page-product-scope__capabilities p { margin-top: .25rem; color: #64748b; font-size: .73rem; line-height: 1.45; }
.page-product-scope__capabilities small { margin-top: .45rem; color: #075db5; font-size: .67rem; font-weight: 850; }

.page-product-scope__assistant {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem;
  align-items: start;
  border-left: 3px solid #6d28d9;
  border-radius: .45rem;
  color: #4c3c73;
  background: #f5f3ff;
  padding: .8rem .9rem;
  font-size: .78rem;
  line-height: 1.55;
}

.page-product-scope__assistant svg { width: 1rem; height: 1rem; margin-top: .15rem; color: #6d28d9; }

.page-publication-panel {
  min-width: 0;
  border: 1px solid #dbe4f0;
  border-top: 4px solid #d45100;
  border-radius: .9rem;
  background: #fff;
  padding: 1.1rem;
  box-shadow: 0 12px 30px rgb(7 26 51 / 6%);
}

.page-publication-checklist {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .7rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.page-publication-checklist li {
  display: grid;
  min-width: 0;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .65rem;
  border: 1px solid #e2e8f0;
  border-radius: .65rem;
  background: #f8fafc;
  padding: .75rem;
}

.page-publication-checklist li > span {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border-radius: 50%;
  color: #64748b;
  background: #e2e8f0;
}

.page-publication-checklist li.is-ready > span { color: #047857; background: #d1fae5; }
.page-publication-checklist svg { width: .95rem; height: .95rem; }
.page-publication-checklist strong,
.page-publication-checklist small { display: block; }
.page-publication-checklist strong { color: #071a33; font-size: .78rem; }
.page-publication-checklist small { margin-top: .2rem; color: #64748b; font-size: .68rem; line-height: 1.45; }

.page-history-disclosure > .site-revision-list {
  border: 0;
  border-top: 1px solid #dbe4f0;
  border-radius: 0;
  box-shadow: none;
}

@media (max-width: 980px) {
  .page-workspace-focus { grid-template-columns: 1fr; }
  .page-workspace-focus__facts { grid-column: 1; grid-row: auto; }
  .page-workspace-focus__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-workspace-status { border-right: 1px solid rgb(255 255 255 / 13%); border-bottom: 0; }
  .page-workspace-status:last-child { border-right: 0; }
}

@media (max-width: 700px) {
  .page-workspace-focus { border-radius: 1rem; }
  .page-workspace-focus__main { gap: 1.25rem; padding: 1rem; }
  .page-workspace-focus__heading { grid-template-columns: 1fr; }
  .page-workspace-focus__product-icon { width: 2.75rem; height: 2.75rem; }
  .page-workspace-focus__heading h1 { font-size: clamp(1.4rem, 8vw, 1.9rem); }
  .page-workspace-focus__primary { align-items: stretch; flex-direction: column; }
  .page-workspace-focus__primary form,
  .page-workspace-focus__primary .btn-primary { width: 100%; }
  .page-workspace-focus__steps { gap: .25rem; padding: 1rem; }
  .page-workspace-focus__steps li { justify-items: center; text-align: center; }
  .page-workspace-focus__steps li::after { right: -.15rem; left: calc(50% + 1.15rem); }
  .page-workspace-focus__steps strong { max-width: 8ch; font-size: .62rem; }
  .page-workspace-focus__facts { grid-template-columns: 1fr; }
  .page-workspace-status { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 13%); padding: 1rem; }
  .page-product-scope__capabilities,
  .page-publication-checklist { grid-template-columns: 1fr; }
  .page-publication-panel { padding: 1rem; }
}

@media (max-width: 380px) {
  .page-workspace-focus__steps strong { font-size: .58rem; }
  .page-workspace-focus__steps li > span { width: 1.65rem; height: 1.65rem; }
  .page-workspace-focus__steps li:nth-last-child(-n + 2):not(.is-current) strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
}

.site-preview-panel__hint { display: flex; gap: .45rem; align-items: center; margin-top: .35rem; color: #2563ff; font-size: .78rem; font-weight: 700; }
.site-preview-panel__hint svg { width: 1rem; height: 1rem; }
.visual-editor-backdrop { position: fixed; z-index: 69; inset: 0; background: rgb(7 26 51 / 42%); backdrop-filter: blur(3px); }
.visual-editor-panel { position: fixed; z-index: 70; top: 0; right: 0; display: flex; width: min(460px, 100vw); height: 100dvh; flex-direction: column; border-left: 1px solid #dbeafe; background: #fff; box-shadow: -30px 0 80px rgb(7 26 51 / 18%); transform: translateX(105%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.visual-editor-panel.is-open { transform: translateX(0); }
.visual-editor-panel__header { display: flex; min-height: 84px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e2e8f0; padding: 1rem 1.25rem; }
.visual-editor-panel__header h2 { color: #071a33; font-size: 1.35rem; }
.visual-editor-panel__body { display: grid; gap: 1.5rem; overflow-y: auto; padding: 1.25rem; }
.visual-editor-panel__body section, .visual-editor-panel__body form { display: grid; gap: .8rem; }
.visual-editor-panel__body [hidden] { display: none; }
.visual-editor-panel__section-heading { display: flex; gap: .75rem; align-items: center; justify-content: space-between; }
.visual-editor-panel__section-heading h3 { color: #071a33; font-size: 1rem; }
.visual-editor-current, .visual-editor-diff pre { margin: 0; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 500 .84rem/1.65 Inter, sans-serif; }
.visual-editor-current { max-height: 220px; border: 1px solid #e2e8f0; border-radius: 1rem; color: #475569; background: #f8fafc; padding: 1rem; }
.visual-editor-panel__buttons { display: flex; flex-wrap: wrap; gap: .65rem; }
.visual-editor-panel__buttons > * { min-height: 44px; }
.visual-editor-presets { display: flex; flex-wrap: wrap; gap: .5rem; }
.visual-editor-presets button { min-height: 44px; border: 1px solid #bfdbfe; border-radius: 999px; background: #eff6ff; padding: .55rem .8rem; color: #1d4ed8; font-size: .75rem; font-weight: 800; }
.visual-editor-presets button:hover, .visual-editor-presets button:focus-visible { border-color: #2563ff; background: #dbeafe; }
.visual-editor-status { min-height: 1.5rem; color: #0f766e; font-size: .82rem; font-weight: 700; }
.visual-editor-usage { color: #475569; font-size: .78rem; font-weight: 700; }
.visual-editor-badge { display: inline-flex; min-height: 26px; align-items: center; border-radius: 999px; padding: .25rem .6rem; font-size: .68rem; font-weight: 800; }
.visual-editor-badge--blue { color: #1d4ed8; background: #dbeafe; }
.visual-editor-badge--amber { color: #92400e; background: #fef3c7; }
.visual-editor-diff { border-top: 1px solid #e2e8f0; padding-top: 1.25rem; }
.visual-editor-diff__columns { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.visual-editor-diff__columns > div { min-width: 0; border-radius: 1rem; padding: .85rem; }
.visual-editor-diff__columns > div:first-child { color: #475569; background: #f1f5f9; }
.visual-editor-diff__columns > div:first-child pre { text-decoration: line-through; text-decoration-color: rgb(100 116 139 / 45%); }
.visual-editor-diff__columns > div:last-child { color: #115e59; background: #ccfbf1; }
.visual-editor-diff__columns > div:last-child pre { font-weight: 700; }
.visual-editor-diff__columns span { display: block; margin-bottom: .55rem; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.visual-editor-open { overflow: hidden; }

@media (max-width: 640px) {
  .visual-editor-panel { top: auto; bottom: 0; width: 100%; height: min(82dvh, 760px); border-top: 1px solid #dbeafe; border-left: 0; border-radius: 1.5rem 1.5rem 0 0; transform: translateY(105%); }
  .visual-editor-panel.is-open { transform: translateY(0); }
  .visual-editor-panel__header { min-height: 72px; }
  .visual-editor-diff__columns { grid-template-columns: 1fr; }
  .visual-editor-panel__buttons > * { flex: 1 1 100%; justify-content: center; }
}
.candidate-chooser {
  display: grid;
  gap: 1.25rem;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 1rem;
  background: #f8fafc;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.candidate-chooser__heading {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.candidate-chooser__heading > div {
  min-width: 0;
  max-width: 52rem;
}

.candidate-chooser__heading h2 {
  color: #071a33;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
  font-weight: 800;
  line-height: 1.15;
}

.candidate-chooser__heading p:last-child,
.candidate-chooser__footer {
  margin-top: 0.45rem;
  color: #475569;
  line-height: 1.6;
}

.candidate-chooser__safety {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  border-radius: 0.75rem;
  background: #ecfdf5;
  padding: 0.8rem 0.95rem;
  color: #065f46;
}

.candidate-chooser__safety svg {
  width: 1.2rem;
  height: 1.2rem;
}

.candidate-chooser__grid {
  display: grid;
  gap: 1rem;
}

.candidate-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 0.9rem;
  background: #fff;
  box-shadow: 0 14px 32px rgb(7 26 51 / 8%);
}

.candidate-card__preview {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #dbe4f0;
  background: #071a33;
  aspect-ratio: 16 / 10;
}

.candidate-card__preview iframe {
  width: 160%;
  height: 160%;
  border: 0;
  pointer-events: none;
  transform: scale(0.625);
  transform-origin: 0 0;
}

.candidate-card__body {
  display: grid;
  gap: 1rem;
  padding: 1rem;
}

.candidate-card__body > div:first-child > span {
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.candidate-card__body h3 {
  margin-top: 0.25rem;
  color: #071a33;
  font-size: 1.2rem;
  font-weight: 800;
}

.candidate-card__body p {
  margin-top: 0.35rem;
  color: #475569;
  line-height: 1.55;
}

.candidate-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.candidate-card__facts span {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  background: #f1f5f9;
  padding: 0.35rem 0.6rem;
  color: #334155;
  font-size: 0.72rem;
  font-weight: 700;
}

.candidate-card__facts svg {
  width: 0.9rem;
  height: 0.9rem;
}

.candidate-card__body form,
.candidate-card__body .btn-primary,
.candidate-card__body .btn-secondary {
  width: 100%;
}

@media (min-width: 900px) {
  .candidate-chooser__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
