/* The guided start: a few questions, one step at a time, with the invitation filling itself in beside them. */
.gw {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-height: 100vh;
  background: #f8fafc;
  color: var(--ink, #2d2d2d);
}
.gw-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: #fff;
  border-bottom: 1px solid #e6ebf0;
}
.gw-progress {
  display: grid;
  flex: 1;
  gap: 6px;
  min-width: 0;
  justify-items: center;
}
.gw-count {
  font-size: 13px;
  font-weight: 700;
}
.gw-bar-track {
  width: min(420px, 100%);
  height: 6px;
  border-radius: 999px;
  background: #e1e8ee;
  overflow: hidden;
}
.gw-bar-track i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--accent, #39799f);
  transition: width 0.25s ease;
}
.gw-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gw-dot > span,
.gw-dot > button {
  display: block;
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cdd7e0;
}
.gw-dot > button {
  cursor: pointer;
}
.gw-dot.is-done > button {
  background: var(--accent, #39799f);
}
.gw-dot.is-current > span {
  background: var(--accent, #39799f);
  box-shadow: 0 0 0 3px rgb(57 121 159 / 25%);
}
.gw-dot.is-skipped > button,
.gw-dot.is-skipped > span {
  background: transparent;
  box-shadow: inset 0 0 0 2px #aebdca;
}
.gw-link {
  border: 0;
  background: none;
  padding: 4px 2px;
  color: var(--accent, #39799f);
  font: inherit;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
.gw-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 24px;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 28px 20px;
  box-sizing: border-box;
}
.gw-main {
  max-width: 600px;
  min-width: 0;
}
.gw-eyebrow {
  margin: 0 0 6px;
  color: var(--accent, #39799f);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gw-main h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.15;
}
.gw-lead {
  margin: 0 0 22px;
  color: var(--muted, #5f6368);
}
.gw-error {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fdecec;
  color: #9b1c1c;
  font-size: 14px;
}
.gw-two {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}
.gw-date {
  max-width: 260px;
}
.gw .si-field {
  margin-bottom: 14px;
}
.gw-place {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #e1e8ee;
  border-radius: 12px;
  background: #fff;
}
.gw-place-head {
  flex-wrap: wrap;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.gw-place-title {
  flex: 1;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  font-weight: 700;
}
.gw-place-title:hover,
.gw-place-title:focus {
  border-color: #d3dce4;
  background: #fff;
}
.gw-time {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border: 1px solid #d3dce4;
  border-radius: 8px;
  color: #7a8794;
}
.gw-time .icon {
  width: 16px;
  height: 16px;
}
.gw-time input,
.gw-step input[type='time'] {
  width: 104px;
  border: 0;
  background: none;
  padding: 7px 2px;
  font: inherit;
  color: var(--ink, #2d2d2d);
}
.gw-searchbox {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid #c5d1db;
  border-radius: 10px;
  background: #fff;
  color: #7a8794;
}
.gw-searchbox:focus-within {
  border-color: var(--accent, #39799f);
  box-shadow: 0 0 0 3px rgb(57 121 159 / 18%);
}
.gw-searchbox .icon {
  width: 18px;
  height: 18px;
}
.gw-searchbox input {
  flex: 1;
  min-width: 0;
  padding: 12px 0;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  color: var(--ink, #2d2d2d);
}
.gw-results {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  border-radius: 10px;
}
.gw-results:not(:empty) {
  border: 1px solid #e1e8ee;
  background: #fff;
  box-shadow: 0 6px 18px rgb(30 50 70 / 8%);
}
.gw-result {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid #f0f3f6;
  background: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.gw-result:hover,
.gw-result:focus-visible {
  background: #f1f6fa;
}
.gw-result .icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent, #39799f);
}
.gw-result b,
.gw-picked b {
  display: block;
  font-size: 14px;
}
.gw-result small,
.gw-picked small {
  display: block;
  color: var(--muted, #5f6368);
  font-size: 12px;
}
.gw-note {
  padding: 10px 12px;
  color: var(--muted, #5f6368);
  font-size: 13px;
}
.gw-picked {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef6f1;
}
.gw-picked > .icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: #2b7a4b;
}
.gw-picked > span:not(.icon):not(.gw-gps) {
  flex: 1;
  min-width: 0;
}
.gw-gps {
  padding: 2px 7px;
  border-radius: 999px;
  background: #2b7a4b;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.gw-search > .gw-link,
.gw-manual > .gw-link {
  margin-top: 8px;
}
.gw-add {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 16px;
}
.gw-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px dashed #aebdca;
  border-radius: 999px;
  background: #fff;
  color: var(--accent, #39799f);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}
.gw-chip .icon {
  width: 14px;
  height: 14px;
}
.gw-credit,
.gw-hint {
  margin: 12px 0 0;
  color: var(--muted, #5f6368);
  font-size: 12px;
}
.gw-steps {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.gw-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid #e1e8ee;
  border-radius: 10px;
  background: #fff;
}
.gw-step input[data-gw-field='title'] {
  flex: 1;
  width: 0;
  min-width: 0;
  padding: 8px;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
}
.gw-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}
.gw-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: #e8edf2;
}
.gw-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gw-photo figcaption {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgb(0 0 0 / 60%);
  color: #fff;
  font-size: 11px;
}
.gw-photo .tp-ibtn {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgb(255 255 255 / 92%);
}
.gw-drop {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  aspect-ratio: 1;
  border: 2px dashed #aebdca;
  border-radius: 10px;
  background: #fff;
  color: var(--accent, #39799f);
  font-size: 13px;
  text-align: center;
  cursor: pointer;
}
.gw-drop .icon {
  width: 24px;
  height: 24px;
}
.gw-side {
  position: sticky;
  top: 16px;
  align-self: start;
  max-height: calc(100vh - 100px);
}
.gw-foot {
  position: sticky;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 20px;
  background: #fff;
  border-top: 1px solid #e6ebf0;
}
.gw-foot > span {
  margin-right: auto;
}
.gw-foot > button:first-child:not(.primary) {
  margin-right: auto;
}
@media (max-width: 980px) {
  .gw-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .gw-side {
    display: none;
  }
  .gw-body.is-last .gw-side {
    display: block;
    justify-self: center;
  }
  .gw-dot b {
    display: none;
  }
  .gw-dot.is-current b {
    display: inline;
  }
  .gw-editor {
    display: none;
  }
}
@media (max-width: 600px) {
  .gw-foot {
    flex-wrap: wrap;
  }
  .gw-foot > .btn {
    flex: 1 1 auto;
  }
  .gw-foot > .btn:first-child:not(.primary) {
    margin-right: 0;
  }
}

/* Lines of the steps (families, story, party, contacts, gifts, blocks…) */
.gw-rows {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}
.gw-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e1e8ee;
  border-radius: 10px;
  background: #fff;
}
.gw-row input:not([type='color']),
.gw-row textarea,
.gw-row select {
  flex: 1 1 140px;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #d3dce4;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  color: var(--ink, #2d2d2d);
}
.gw-row textarea {
  flex-basis: 100%;
  resize: vertical;
}
.gw-row input[type='time'] {
  flex: 0 0 auto;
  width: 112px;
}
.gw-row select {
  flex: 0 1 160px;
}
.gw-row input:focus-visible,
.gw-row textarea:focus-visible,
.gw-row select:focus-visible {
  outline: 2px solid var(--accent, #39799f);
  outline-offset: 1px;
}
.gw .si-field textarea {
  width: 100%;
  box-sizing: border-box;
}
.gw-colors {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.gw-color {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gw-color input[type='color'] {
  width: 44px;
  height: 44px;
  padding: 2px;
  border: 1px solid #d3dce4;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.gw-skipped {
  padding: 18px;
  border: 1px dashed #aebdca;
  border-radius: 12px;
  background: #fff;
}
.gw-skipped p {
  margin: 0 0 12px;
  color: var(--muted, #5f6368);
}
.gw-ignored {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.gw-ignored .gw-hint {
  flex-basis: 100%;
  margin: 0;
}
.gw-chip.is-static {
  border-style: solid;
  cursor: default;
}
.gw-ignore {
  margin-right: 0;
}
.gw-sample {
  margin: 8px 0 0;
  text-align: center;
  color: var(--muted, #5f6368);
  font-size: 12px;
}
/* The page of the phone: nothing moves by itself (the sections are only found, to scroll to them). */
.gw-live .invite-anchor {
  scroll-margin-top: 12px;
}

.gw-peek {
  display: none;
}
@media (max-width: 980px) {
  .gw-peek {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .gw.is-peek .gw-side {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 140px;
    left: 0;
    z-index: 30;
    max-height: none;
    overflow: auto;
    padding: 16px 12px;
    background: #f8fafc;
    text-align: center;
  }
  .gw.is-peek .gw-side .dash-fit {
    margin: 0 auto;
  }
  .gw.is-peek .gw-foot {
    z-index: 31;
  }
}

/* The look steps: colours, writing, particles, opening */
.gw-palettes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 8px;
}
.gw-palette {
  display: grid;
  gap: 4px;
  justify-items: center;
  padding: 8px 6px;
  border: 2px solid #e1e8ee;
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #2d2d2d);
  font: inherit;
  cursor: pointer;
}
.gw-palette small {
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
}
.gw-palette[aria-pressed='true'] {
  border-color: var(--accent, #39799f);
  box-shadow: 0 0 0 2px rgb(57 121 159 / 20%);
}
.gw-dots3 {
  display: flex;
}
.gw-dots3 i {
  width: 22px;
  height: 22px;
  margin-left: -5px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #d3dce4;
}
.gw-dots3 i:first-child {
  margin-left: 0;
}
.gw-custom {
  margin-top: 10px;
  font-size: 13px;
}
.gw-custom summary {
  cursor: pointer;
  color: var(--accent, #39799f);
}
.gw-colours {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}
.gw-colour {
  display: grid;
  gap: 4px;
  justify-items: center;
}
.gw-colour input {
  width: 48px;
  height: 48px;
  padding: 2px;
  border: 1px solid #d3dce4;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.gw-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
}
.gw-fonts {
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}
.gw-tile {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 6px;
  padding: 8px;
  border: 2px solid #e1e8ee;
  border-radius: 10px;
  background: #fff;
  color: var(--ink, #2d2d2d);
  font: inherit;
  cursor: pointer;
}
.gw-tile b {
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.gw-tile .fx {
  height: 64px;
}
.gw-tile[aria-pressed='true'] {
  border-color: var(--accent, #39799f);
  box-shadow: 0 0 0 2px rgb(57 121 159 / 20%);
}
.gw-tile:hover {
  border-color: #aebdca;
}
.gw-replay {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

/* Publication: formula, account, payment */
.gw-formulas {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}
.gw-plan {
  display: grid;
  gap: 12px;
  width: 100%;
  padding: 18px;
  border: 2px solid #e1e8ee;
  border-radius: 14px;
  background: #fff;
  color: var(--ink, #2d2d2d);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.gw-plan:hover {
  border-color: #aebdca;
}
.gw-plan.is-picked {
  border-color: var(--accent, #39799f);
  box-shadow: 0 0 0 3px rgb(57 121 159 / 14%);
}
.gw-plan-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.gw-plan-head b {
  font-size: 18px;
}
.gw-badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--accent, #39799f);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}
.gw-price {
  margin-left: auto;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent, #39799f);
}
.gw-price small {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted, #5f6368);
}
.gw-plan ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gw-plan li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
}
.gw-plan li .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.gw-plan li.is-ok .icon {
  color: #2b7a4b;
}
.gw-plan li.is-no {
  color: var(--muted, #5f6368);
}
.gw-plan li.is-no .icon {
  color: #b3541e;
}
.gw-plan li.is-soon {
  color: var(--muted, #5f6368);
}
.gw-plan li.is-soon .icon {
  color: #8a99a6;
}
.gw-account-ok {
  padding: 14px 16px;
  border-radius: 12px;
  background: #eef6f1;
}
.gw-account-ok p {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0;
}
.gw-account-ok .icon {
  width: 18px;
  height: 18px;
  color: #2b7a4b;
}
.gw .gd {
  max-width: 440px;
}
.gw-pay {
  max-width: 520px;
}
/* The checklist and the extra links of the dialog have no use here: the questions of the assistant came first. */
.gw-pay .pp-check,
.gw-pay .pp-more,
.gw-pay .pd-lead,
.gw-pay .pp-risk [data-pay='fix'] {
  display: none;
}

/* A new event (page of the templates) and the dashboard of a free invitation */
.ne-hero {
  min-height: 0;
  padding-bottom: 8px;
}
.ne-hero .gh-title {
  font-size: clamp(26px, 4vw, 38px);
}
.fd-card {
  margin-top: 16px;
}
.fd-card .pp-link {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.fd-card .pp-link input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #d3dce4;
  border-radius: 8px;
  font: inherit;
}
.fd-limits {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.fd-limits li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 14px;
}
.fd-limits li .icon {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.fd-limits li.is-ok .icon {
  color: #2b7a4b;
}
.fd-limits li.is-no {
  color: var(--muted, #5f6368);
}
.fd-limits li.is-no .icon {
  color: #b3541e;
}
