/* Nunito, SIL Open Font License. These subsets are served locally. */
@font-face {
  font-family: "Quiz Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("./fonts/nunito-cyrillic-variable.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Quiz Nunito";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("./fonts/nunito-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body.q-open { overflow: hidden; }
.q-dialog .q-chapter:disabled { cursor: default; opacity: .8; }

.q-entry {
  display: flex;
  justify-content: center;
  margin: 20px 0 4px;
  font-family: "Quiz Nunito", "Arial", sans-serif;
}
.q-entry .q-launch {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 11px 30px;
  border: 2px solid #2a2949;
  border-radius: 999px;
  background: #fe6842;
  box-shadow: 4px 5px 0 #2a2949;
  color: #2a2949;
  cursor: pointer;
  font: 900 19px/1.3 "Quiz Nunito", "Arial", sans-serif;
  letter-spacing: 0;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.q-entry .q-launch:hover {
  transform: translate(-1px, -2px);
  box-shadow: 5px 7px 0 #2a2949;
  background: #ff7d5d;
}
.q-entry .q-launch:active {
  transform: translate(2px, 3px);
  box-shadow: 2px 2px 0 #2a2949;
}
.q-entry .q-launch svg { width: 20px; height: 20px; fill: currentColor; }
.q-entry .q-launch:focus-visible { outline: 3px solid #2a2949; outline-offset: 6px; }

.q-dialog {
  --q-ink: #2a2949;
  --q-muted: #6e6b7d;
  --q-cream: #fffaf4;
  --q-coral: #fe6842;
  --q-lavender: #e9e3ff;
  --q-sky: #dceefd;
  --q-border: #e6e1e9;
  position: fixed;
  inset: 0;
  width: min(1120px, calc(100vw - 48px));
  max-width: none;
  height: min(832px, 92dvh);
  max-height: min(850px, 94dvh);
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--q-ink);
  border-radius: 28px;
  background: #fff;
  box-shadow: 9px 10px 0 rgba(42, 41, 73, .45), 0 25px 100px rgba(24, 20, 44, .24);
  color: var(--q-ink);
  font: 500 16px/1.5 "Quiz Nunito", "Arial", sans-serif;
  letter-spacing: 0;
  text-align: left;
  text-wrap: pretty;
  overscroll-behavior: contain;
  color-scheme: light;
}
.q-dialog:not([open]) { display: none; }
.q-dialog[open] { animation: q-dialog-in 220ms cubic-bezier(.2, .8, .2, 1) both; }
.q-dialog::backdrop {
  background: rgba(35, 31, 56, .63);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}
.q-dialog *, .q-dialog *::before, .q-dialog *::after { box-sizing: border-box; }
.q-dialog [hidden] { display: none !important; }
.q-dialog button,
.q-dialog input,
.q-dialog textarea,
.q-dialog select {
  margin: 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}
.q-dialog button { cursor: pointer; touch-action: manipulation; }
.q-dialog button:disabled { cursor: wait; opacity: .58; }
.q-dialog button:focus-visible,
.q-dialog a:focus-visible,
.q-dialog input:focus-visible,
.q-dialog textarea:focus-visible,
.q-dialog select:focus-visible {
  outline: 3px solid #6960a7;
  outline-offset: 4px;
}
.q-dialog strong { font-weight: 850; }
.q-dialog img, .q-dialog svg { display: block; max-width: 100%; }
.q-dialog svg { flex-shrink: 0; }
.q-dialog h2, .q-dialog h3, .q-dialog p, .q-dialog ul, .q-dialog ol {
  margin: 0;
  padding: 0;
  font: inherit;
  letter-spacing: 0;
}
.q-dialog a { color: var(--q-ink); text-underline-offset: 3px; }

.q-dialog .q-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  isolation: isolate;
}
.q-dialog .q-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 0;
  padding: 30px 26px 24px;
  overflow-y: auto;
  border-right: 2px solid var(--q-ink);
  background: #fff0e4;
  scrollbar-width: thin;
}
.q-dialog .q-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--q-ink);
  font-size: 22px;
  font-weight: 950;
  letter-spacing: -1px;
  line-height: 1;
}
.q-dialog .q-brand > span { color: #8c7583; font-size: 10px; font-weight: 750; letter-spacing: 1.1px; line-height: 1.2; text-transform: uppercase; }
.q-dialog .q-brand svg { width: 21px; height: 21px; }
.q-dialog .q-art {
  position: relative;
  width: 188px;
  height: 179px;
  flex: 0 0 179px;
  align-self: center;
  margin: 2px 0 0;
  border: 2px solid var(--q-ink);
  border-radius: 24px;
  background: var(--q-lavender);
  box-shadow: 5px 6px 0 var(--q-ink);
  transform: rotate(-5deg);
}
.q-dialog .q-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 21px;
}
.q-dialog .q-art::after {
  content: "✦";
  position: absolute;
  right: -15px;
  top: -23px;
  color: var(--q-coral);
  font-size: 49px;
  line-height: 1;
  text-shadow: -1px -1px 0 var(--q-ink), 1px 1px 0 var(--q-ink);
}
.q-dialog .q-side-copy h2 {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.9px;
  line-height: 1.15;
}
.q-dialog .q-side-copy p {
  margin-top: 12px;
  color: #656073;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.6;
}
.q-dialog .q-chapters { display: grid; gap: 8px; margin-top: auto; }
.q-dialog .q-chapter {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 45px;
  padding: 9px 12px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: #777081;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: left;
  transition: background 140ms ease, color 140ms ease;
}
.q-dialog .q-chapter svg { width: 18px; height: 18px; }
.q-dialog .q-chapter > span:first-child {
  display: grid;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 50%;
  background: rgba(42, 41, 73, .07);
  font-size: 12px;
}
.q-dialog .q-chapter[data-current="true"] {
  border-color: var(--q-ink);
  background: #fff;
  box-shadow: 2px 3px 0 var(--q-ink);
  color: var(--q-ink);
}
.q-dialog .q-chapter[data-current="true"] > span:first-child { background: var(--q-lavender); }
.q-dialog .q-chapter:hover { background: rgba(255, 255, 255, .7); color: var(--q-ink); }
.q-dialog .q-side-note {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding-top: 16px;
  border-top: 1px dashed #cfbdbe;
  color: #7f7079;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.6;
}
.q-dialog .q-side-note svg { width: 15px; height: 15px; margin-top: 1px; }

.q-dialog .q-main { display: grid; grid-template-rows: auto 5px minmax(0, 1fr); min-width: 0; min-height: 0; background: #fff; }
.q-dialog .q-header { display: flex; align-items: center; gap: 15px; min-height: 79px; padding: 20px 35px; }
.q-dialog .q-mobile-brand { display: none; font-size: 17px; font-weight: 950; letter-spacing: -.5px; }
.q-dialog .q-step-counter { color: var(--q-muted); font-size: 13px; font-weight: 800; letter-spacing: .15px; }
.q-dialog .q-close {
  appearance: none;
  display: grid;
  width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  place-items: center;
  margin: -5px -8px -5px auto;
  padding: 9px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: #f4f1f7;
  color: var(--q-ink);
  font-size: 27px;
  line-height: 1;
  transition: background 130ms ease, transform 130ms ease;
}
.q-dialog .q-close:hover { background: var(--q-lavender); transform: rotate(8deg); }
.q-dialog .q-close svg { width: 18px; height: 18px; }
.q-dialog .q-progress { height: 5px; overflow: hidden; background: #f0edf6; }
.q-dialog .q-progress > span { display: block; width: 0; height: 100%; border-radius: 0 4px 4px 0; background: var(--q-coral); transition: width 240ms ease; }
.q-dialog .q-form { display: flex; flex-direction: column; min-width: 0; min-height: 0; margin: 0; }
.q-dialog .q-stage {
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  padding: 37px 36px 32px;
  overflow-x: hidden;
  overflow-y: auto;
  outline: none;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #d6d0e3 transparent;
}
.q-dialog .q-stage > * { animation: q-stage-in 180ms ease both; }
.q-dialog .q-eyebrow { margin-bottom: 11px; color: #8a6070; font-size: 11px; font-weight: 900; letter-spacing: 1.7px; line-height: 1.5; text-transform: uppercase; }
.q-dialog .q-title { margin: 0; color: var(--q-ink); font-size: 33px; font-weight: 950; letter-spacing: -1.05px; line-height: 1.16; text-wrap: balance; }
.q-dialog .q-description { max-width: 570px; margin: 13px 0 0; color: var(--q-muted); font-size: 15px; font-weight: 550; line-height: 1.65; }
.q-dialog .q-content { margin-top: 29px; }
.q-dialog .q-content > * + * { margin-top: 22px; }

.q-dialog .q-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.q-dialog .q-choice-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.q-dialog .q-choice {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 212px;
  padding: 14px 12px 17px;
  border: 2px solid #e7e1ec;
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  text-align: center;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}
.q-dialog .q-choice:hover { border-color: #b9b1ce; transform: translateY(-3px); }
.q-dialog .q-choice:has(input:checked) { border-color: var(--q-ink); background: #faf6ff; box-shadow: 3px 4px 0 var(--q-ink); }
.q-dialog .q-choice:has(input:focus-visible) { outline: 3px solid #8e80bc; outline-offset: 4px; }
.q-dialog .q-choice > input,
.q-dialog .q-chip > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.q-dialog .q-choice-art { display: grid; height: 110px; margin: 0 0 13px; place-items: center; border-radius: 12px; background: #f2edf9; color: var(--q-ink); overflow: hidden; }
.q-dialog .q-choice:nth-child(3n + 2) .q-choice-art { background: #e5f1fd; }
.q-dialog .q-choice:nth-child(3n) .q-choice-art { background: #ffebe0; }
.q-dialog .q-choice-art svg { width: 94px; height: 94px; }
.q-dialog .q-choice-art img { width: 100%; height: 100%; object-fit: cover; }
.q-dialog .q-choice > strong { padding-right: 3px; font-size: 15px; font-weight: 900; line-height: 1.3; }
.q-dialog .q-choice-description { display: block; margin-top: 6px; color: #80798b; font-size: 11px; font-weight: 600; line-height: 1.4; }
.q-dialog .q-choice-subtitle { margin-top: 5px; color: #9b8da8; font-size: 9px; font-weight: 800; letter-spacing: .2px; line-height: 1.4; }
.q-dialog .q-choice-check { position: absolute; top: 10px; right: 10px; display: grid; width: 22px; height: 22px; place-items: center; border: 1.5px solid #d4cde0; border-radius: 50%; background: #fff; color: transparent; font-size: 12px; font-weight: 900; line-height: 1; }
.q-dialog .q-choice-check svg { width: 13px; height: 13px; }
.q-dialog .q-choice:has(input:checked) .q-choice-check { border-color: var(--q-ink); background: var(--q-coral); color: var(--q-ink); }
.q-dialog .q-choice.q-compact { justify-content: center; gap: 7px; min-height: 91px; padding: 17px 27px 17px 13px; text-align: left; }
.q-dialog .q-compact .q-choice-art { width: 30px; height: 30px; margin: 0; border-radius: 8px; background: none; }
.q-dialog .q-compact .q-choice-art svg { width: 25px; height: 25px; }
.q-dialog .q-compact .q-choice-check { top: 12px; right: 9px; width: 17px; height: 17px; font-size: 10px; }
.q-dialog .q-compact .q-choice-description { margin-top: 0; font-size: 11px; }

.q-dialog .q-field { display: grid; gap: 9px; }
.q-dialog .q-field > label, .q-dialog .q-field-label { display: block; color: var(--q-ink); font-size: 14px; font-weight: 850; line-height: 1.5; }
.q-dialog .q-optional { display: inline-block; margin-left: 8px; color: #a79aad; font-size: 10px; font-weight: 550; }
.q-dialog .q-field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.q-dialog .q-field textarea,
.q-dialog .q-field select {
  appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 51px;
  padding: 13px 15px;
  border: 1.5px solid #dcd5e4;
  border-radius: 12px;
  background: #fffdfa;
  color: var(--q-ink);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  transition: border-color 130ms ease, box-shadow 130ms ease;
}
.q-dialog .q-field textarea { min-height: 140px; resize: vertical; }
.q-dialog .q-field input::placeholder, .q-dialog .q-field textarea::placeholder { color: #a39aaa; font-weight: 500; opacity: 1; }
.q-dialog .q-field input:hover, .q-dialog .q-field textarea:hover { border-color: #b4a7c5; }
.q-dialog .q-field input:focus, .q-dialog .q-field textarea:focus, .q-dialog .q-field select:focus { border-color: #8e7cb2; box-shadow: 0 0 0 3px #f1ebfa; }
.q-dialog .q-field [aria-invalid="true"] { border-color: #b53943 !important; box-shadow: 0 0 0 3px #fff1ef; }
.q-dialog .q-help { display: block; color: #8b8294; font-size: 11px; font-weight: 600; line-height: 1.6; }
.q-dialog .q-error { display: block; min-height: 0; color: #ac2a43; font-size: 12px; font-weight: 800; line-height: 1.5; }
.q-dialog .q-error:empty { display: none; }
.q-dialog .q-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.q-dialog .q-chip { position: relative; cursor: pointer; }
.q-dialog button.q-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 16px; border: 1.5px solid #e2dae9; border-radius: 999px; background: #fff; color: #70677f; font-size: 13px; font-weight: 800; line-height: 1.4; transition: border-color 140ms ease, background 140ms ease, color 140ms ease; }
.q-dialog button.q-chip:hover { border-color: #a99cbd; }
.q-dialog button.q-chip[aria-pressed="true"] { border-color: var(--q-ink); background: var(--q-lavender); color: var(--q-ink); }
.q-dialog .q-chip > span { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 9px 16px; border: 1.5px solid #e2dae9; border-radius: 999px; background: #fff; color: #70677f; font-size: 13px; font-weight: 800; line-height: 1.4; transition: border-color 140ms ease, background 140ms ease, color 140ms ease; }
.q-dialog .q-chip:hover > span { border-color: #a99cbd; }
.q-dialog .q-chip > input:checked + span { border-color: var(--q-ink); background: var(--q-lavender); color: var(--q-ink); }
.q-dialog .q-chip > input:focus-visible + span { outline: 3px solid #8e80bc; outline-offset: 3px; }
.q-dialog .q-palette { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.q-dialog .q-palette > * { display: block; width: 26px; height: 26px; border: 1.5px solid rgba(42, 41, 73, .18); border-radius: 50%; }
.q-dialog .q-hint { display: flex; align-items: flex-start; gap: 10px; padding: 15px 17px; border: 1px solid #e7dff1; border-radius: 13px; background: #faf6ff; color: #75657d; font-size: 12px; font-weight: 650; line-height: 1.6; }
.q-dialog .q-hint svg { width: 18px; height: 18px; margin-top: 1px; }

.q-dialog .q-upload { position: relative; display: flex; flex-direction: column; align-items: center; gap: 11px; padding: 28px 20px; border: 2px dashed #c6b8d9; border-radius: 18px; background: #fbf7ff; text-align: center; transition: background 130ms ease, border-color 130ms ease; }
.q-dialog .q-upload[dragover], .q-dialog .q-upload[data-dragover="true"] { border-color: var(--q-ink); background: #ece3ff; }
.q-dialog .q-upload > svg { width: 32px; height: 32px; margin-bottom: 1px; color: #8c7ba1; }
.q-dialog .q-upload strong { font-size: 16px; font-weight: 850; }
.q-dialog .q-upload p { color: #8c7e98; font-size: 12px; line-height: 1.55; }
.q-dialog .q-upload input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.q-dialog .q-upload button { min-height: 43px; padding: 10px 20px; border: 1.5px solid var(--q-ink); border-radius: 999px; background: #fff; box-shadow: 2px 3px 0 var(--q-ink); font-size: 12px; font-weight: 850; }
.q-dialog .q-upload button:hover { background: #eee6fa; }
.q-dialog .q-files { display: grid; gap: 9px; }
.q-dialog .q-file { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 9px 11px; border: 1px solid var(--q-border); border-radius: 12px; background: var(--q-cream); }
.q-dialog .q-file img { width: 44px; height: 44px; flex-shrink: 0; object-fit: cover; border: 1px solid #e2d9e8; border-radius: 8px; }
.q-dialog .q-file > span { min-width: 0; flex: 1; overflow-wrap: anywhere; color: #6f647f; font-size: 12px; line-height: 1.5; }
.q-dialog .q-file small { display: block; margin-top: 2px; color: #a097ac; font-size: 10px; }
.q-dialog .q-file button { display: grid; width: 44px; min-height: 44px; flex-shrink: 0; place-items: center; padding: 11px; border: 0; border-radius: 50%; background: #f0e9f6; font-size: 19px; line-height: 1; }
.q-dialog .q-file button svg { width: 19px; height: 19px; }
.q-dialog .q-file button:hover { background: #f9dfde; }

.q-dialog .q-review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
.q-dialog .q-review-item { position: relative; display: grid; align-content: start; gap: 5px; min-width: 0; min-height: 99px; padding: 16px; border: 1px solid #e5deec; border-radius: 14px; background: #fcf9ff; }
.q-dialog .q-review-item small { color: #96899f; font-size: 10px; font-weight: 850; letter-spacing: .45px; line-height: 1.5; text-transform: uppercase; }
.q-dialog .q-review-item strong { overflow-wrap: anywhere; font-size: 13px; font-weight: 750; line-height: 1.55; white-space: pre-line; }
.q-dialog .q-review-item button { display: inline-flex; align-items: center; justify-content: center; width: fit-content; min-height: 44px; margin: 5px 0 -4px -8px; padding: 8px; border: 0; border-radius: 9px; background: transparent; color: #7e689a; font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.q-dialog .q-review-item button svg { width: 14px; height: 14px; }
.q-dialog .q-review-item button:hover { background: #ded0f1; }
.q-dialog .q-order-total { padding: 18px; border: 1px solid #d7c7e9; border-radius: 14px; background: #f6f0fc; color: var(--q-ink); }
.q-dialog .q-order-total > div { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.q-dialog .q-order-total span { font-size: 13px; font-weight: 800; }
.q-dialog .q-order-total strong { font-size: 30px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.q-dialog .q-order-total p { margin: 8px 0 0; font-size: 12px; line-height: 1.6; }
.q-dialog .q-consent label { position: relative; display: flex; align-items: flex-start; gap: 10px; min-height: 44px; color: #7f7288; cursor: pointer; font-size: 12px; font-weight: 600; line-height: 1.6; }
.q-dialog .q-consent input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--q-ink); }
.q-dialog .q-notice { padding: 16px 18px; border: 1px solid #f0ddbd; border-radius: 13px; background: #fff8e8; color: #95764d; font-size: 12px; font-weight: 650; line-height: 1.65; }

.q-dialog .q-footer { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; min-height: 95px; padding: 19px 36px 22px; border-top: 1px solid #f0ebf4; background: #fff; }
.q-dialog .q-back { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 47px; padding: 10px 12px; margin-left: -8px; border: 0; border-radius: 12px; background: transparent; color: #8d829b; font-size: 13px; font-weight: 800; }
.q-dialog .q-back:hover { background: #f7f2fb; color: var(--q-ink); }
.q-dialog .q-back:disabled { cursor: default; opacity: .35; }
.q-dialog .q-back svg { width: 15px; height: 15px; }
.q-dialog .q-save-status { display: flex; align-items: center; gap: 5px; margin-left: auto; color: #a59aaa; font-size: 10px; font-weight: 650; line-height: 1.4; }
.q-dialog .q-save-status svg { width: 12px; height: 12px; }
.q-dialog .q-next, .q-dialog .q-success-actions button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 135px;
  min-height: 47px;
  padding: 11px 21px;
  border: 2px solid var(--q-ink);
  border-radius: 999px;
  background: var(--q-coral);
  box-shadow: 3px 4px 0 var(--q-ink);
  color: var(--q-ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.4;
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease;
}
.q-dialog .q-next { margin-left: auto; }
.q-dialog .q-save-status + .q-next { margin-left: 2px; }
.q-dialog .q-next:hover, .q-dialog .q-success-actions button:hover { background: #ff8163; transform: translateY(-1px); box-shadow: 3px 5px 0 var(--q-ink); }
.q-dialog .q-next:active, .q-dialog .q-success-actions button:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 var(--q-ink); }
.q-dialog .q-next svg { width: 17px; height: 17px; }

.q-dialog .q-success-icon { display: grid; width: 80px; height: 80px; margin: 0 auto 24px; place-items: center; border: 2px solid var(--q-ink); border-radius: 27px; background: #def3df; box-shadow: 4px 5px 0 var(--q-ink); color: var(--q-ink); font-size: 35px; transform: rotate(-6deg); }
.q-dialog .q-success-icon svg { width: 39px; height: 39px; }
.q-dialog .q-success { max-width: 540px; margin: 0 auto; }
.q-dialog .q-success > .q-eyebrow, .q-dialog .q-success > .q-description { text-align: center; }
.q-dialog .q-success-title { font-size: 34px; font-weight: 950; letter-spacing: -1px; line-height: 1.18; text-align: center; }
.q-dialog .q-order-id { display: block; width: fit-content; margin: 17px auto; padding: 7px 13px; border-radius: 8px; background: #f0eafb; color: #7c6294; font-size: 12px; font-weight: 850; letter-spacing: .5px; text-align: center; }
.q-dialog .q-order-id > span { display: block; margin-bottom: 4px; font-size: 9px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.q-dialog .q-timeline { display: grid; gap: 0; margin-top: 28px; list-style: none; }
.q-dialog .q-timeline li { position: relative; min-height: 67px; padding: 0 0 21px 34px; color: #aca0b9; font-size: 13px; line-height: 1.55; }
.q-dialog .q-timeline li::before { content: ""; position: absolute; top: 4px; left: 1px; width: 14px; height: 14px; border: 2px solid #d6cede; border-radius: 50%; background: #fff; }
.q-dialog .q-timeline li:not(:last-child)::after { content: ""; position: absolute; top: 21px; bottom: 3px; left: 7px; border-left: 1px dashed #ded6e8; }
.q-dialog .q-timeline li[data-active="true"] { color: var(--q-ink); }
.q-dialog .q-timeline li[data-active="true"]::before { border-color: var(--q-ink); background: var(--q-coral); }
.q-dialog .q-timeline li strong { display: block; font-size: 13px; font-weight: 850; }
.q-dialog .q-timeline li > span { position: absolute; top: 0; left: -4px; display: grid; width: 25px; height: 25px; place-items: center; border: 1.5px solid #d6cede; border-radius: 50%; background: #fff; color: #8d819b; font-size: 10px; font-weight: 900; }
.q-dialog .q-timeline li[data-active="true"] > span { border-color: var(--q-ink); background: var(--q-coral); color: var(--q-ink); }
.q-dialog .q-timeline li p { margin-top: 3px; color: #8d819b; font-size: 12px; }
.q-dialog .q-success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.q-dialog .q-success-actions button { min-width: 0; font-size: 12px; }
.q-dialog .q-success-actions button svg { width: 17px; height: 17px; }
.q-dialog .q-download-order svg { transform: rotate(-90deg); }
.q-dialog .q-success-actions button + button { background: #fff; }
.q-dialog .q-success-actions a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; font-weight: 800; }

.q-dialog .q-checkout {
  margin: 25px 0 28px;
  padding: 22px;
  border: 2px solid var(--q-ink);
  border-radius: 20px;
  background: #fffaf2;
  box-shadow: 4px 5px 0 #e8def3;
  text-align: left;
}
.q-dialog .q-checkout > header,
.q-dialog .q-checkout .q-checkout-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.q-dialog .q-checkout h3 { color: var(--q-ink); font-size: 20px; font-weight: 950; letter-spacing: -.45px; line-height: 1.25; }
.q-dialog .q-checkout > header > strong,
.q-dialog .q-checkout .q-checkout-amount,
.q-dialog .q-checkout .q-payment-amount { color: var(--q-ink); font-size: 26px; font-weight: 950; letter-spacing: -.7px; line-height: 1; white-space: nowrap; }
.q-dialog .q-checkout > .q-payment-amount { display: block; margin: 17px 0 9px; }
.q-dialog .q-checkout .q-payment-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 4px 8px; border: 1px solid #d9cce7; border-radius: 7px; background: #eee5f8; color: #816294; font-size: 9px; font-weight: 850; letter-spacing: .4px; line-height: 1; text-transform: uppercase; }
.q-dialog .q-checkout p { color: #837489; font-size: 13px; font-weight: 600; line-height: 1.6; }
.q-dialog .q-checkout p + p { margin-top: 8px; }
.q-dialog .q-checkout .q-paypal-buttons { min-width: 0; margin-top: 20px; }
.q-dialog .q-paypal-buttons paypal-button { --paypal-button-border-radius: 11px; display: block; width: 100%; height: 48px; min-height: 48px; }
.q-dialog .q-paypal-buttons iframe { max-width: 100%; }
.q-dialog .q-checkout .q-payment-status { margin-top: 13px; padding: 12px 14px; border: 1px solid #e7dfec; border-radius: 11px; background: #f4eef9; color: #806c92; font-size: 12px; font-weight: 700; line-height: 1.6; overflow-wrap: anywhere; }
.q-dialog .q-checkout .q-payment-status:empty { display: none; }
.q-dialog .q-checkout .q-payment-status[data-state="pending"] { border-color: #ebdbac; background: #fff6db; color: #8f7234; }
.q-dialog .q-checkout .q-payment-status[data-state="success"] { border-color: #c3ddc4; background: #eaf7e9; color: #407a48; }
.q-dialog .q-checkout .q-payment-status[data-state="error"] { border-color: #edc6c9; background: #fff0f0; color: #a64452; }
.q-dialog .q-checkout .q-refresh-payment { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 17px; padding: 10px 16px; border: 1.5px solid var(--q-ink); border-radius: 999px; background: #fff; box-shadow: 2px 3px 0 var(--q-ink); color: var(--q-ink); font-size: 12px; font-weight: 850; line-height: 1.4; }
.q-dialog .q-checkout .q-refresh-payment:hover { background: #f1eafa; }
.q-dialog .q-checkout .q-refresh-payment svg { width: 16px; height: 16px; }

@keyframes q-dialog-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes q-stage-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 980px) {
  .q-dialog .q-shell { grid-template-columns: 232px minmax(0, 1fr); }
  .q-dialog .q-aside { gap: 20px; padding: 26px 21px 20px; }
  .q-dialog .q-art { width: 160px; height: 156px; flex-basis: 156px; }
  .q-dialog .q-side-copy h2 { font-size: 25px; }
  .q-dialog .q-side-copy p { font-size: 13px; }
  .q-dialog .q-header { padding-inline: 26px; }
  .q-dialog .q-stage { padding: 30px 26px; }
  .q-dialog .q-title { font-size: 29px; }
  .q-dialog .q-footer { padding-inline: 26px; gap: 8px; }
  .q-dialog .q-save-status { max-width: 91px; font-size: 9px; }
  .q-dialog .q-choice-grid { gap: 10px; }
  .q-dialog .q-choice { min-height: 200px; padding-inline: 9px; }
  .q-dialog .q-choice-art { height: 100px; }
  .q-dialog .q-choice > strong { font-size: 13px; }
}
@media (max-height: 850px) and (min-width: 761px) {
  .q-dialog .q-aside { gap: 15px; padding-top: 23px; padding-bottom: 21px; }
  .q-dialog .q-brand { font-size: 24px; }
  .q-dialog .q-brand > span { font-size: 10px; }
  .q-dialog .q-art { width: 150px; height: 142px; flex-basis: 142px; }
  .q-dialog .q-side-copy h2 { font-size: 26px; }
  .q-dialog .q-side-copy p { margin-top: 8px; font-size: 12px; line-height: 1.45; }
  .q-dialog .q-chapters { gap: 5px; }
  .q-dialog .q-chapter { min-height: 44px; padding-block: 7px; }
  .q-dialog .q-side-note { padding-top: 12px; font-size: 10px; }
}
@media (max-height: 760px) and (min-width: 761px) {
  .q-dialog .q-aside { gap: 12px; padding-top: 20px; padding-bottom: 18px; }
  .q-dialog .q-art { width: 131px; height: 124px; flex-basis: 124px; }
  .q-dialog .q-side-copy h2 { font-size: 24px; }
  .q-dialog .q-chapters { gap: 3px; }
  .q-dialog .q-header { min-height: 67px; padding-block: 15px; }
  .q-dialog .q-stage { padding-top: 25px; }
  .q-dialog .q-footer { min-height: 84px; padding-block: 15px 19px; }
}
@media (max-height: 650px) and (min-width: 761px) {
  .q-dialog .q-art { display: none; }
  .q-dialog .q-side-copy h2 { font-size: 23px; }
  .q-dialog .q-chapters { margin-top: 0; }
}
@media (max-width: 760px) {
  .q-dialog {
    inset: 0;
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .q-dialog .q-shell { grid-template-columns: minmax(0, 1fr); }
  .q-dialog .q-aside { display: none; }
  .q-dialog .q-main { grid-template-rows: auto 4px minmax(0, 1fr); }
  .q-dialog .q-header { min-height: 70px; padding: calc(14px + env(safe-area-inset-top, 0px)) 24px 14px; gap: 16px; }
  .q-dialog .q-mobile-brand { display: block; }
  .q-dialog .q-step-counter { margin-left: auto; font-size: 11px; }
  .q-dialog .q-close { width: 44px; min-height: 44px; flex-basis: 44px; margin-left: 0; }
  .q-dialog .q-progress { height: 4px; }
  .q-dialog .q-stage { padding: 31px 26px 28px; }
  .q-dialog .q-title { max-width: 580px; font-size: 32px; letter-spacing: -.8px; }
  .q-dialog .q-description { max-width: 560px; font-size: 14px; line-height: 1.65; }
  .q-dialog .q-content { margin-top: 26px; }
  .q-dialog .q-choice-grid { gap: 12px; }
  .q-dialog .q-choice { min-height: 224px; padding: 13px 13px 18px; }
  .q-dialog .q-choice-art { height: 126px; }
  .q-dialog .q-choice > strong { font-size: 15px; }
  .q-dialog .q-choice-description { font-size: 12px; }
  .q-dialog .q-footer { min-height: 91px; padding: 16px 26px calc(21px + env(safe-area-inset-bottom, 0px)); }
  .q-dialog .q-save-status { max-width: none; font-size: 10px; }
  .q-dialog .q-next { min-height: 48px; }
  .q-dialog .q-choice.q-compact { min-height: 95px; }
}
@media (max-width: 500px) {
  .q-entry { margin-top: 20px; }
  .q-entry .q-launch { min-height: 49px; padding: 10px 25px; font-size: 17px; }
  .q-dialog .q-header { padding-inline: 19px; gap: 9px; }
  .q-dialog .q-mobile-brand { font-size: 16px; }
  .q-dialog .q-stage { padding: 27px 20px 25px; }
  .q-dialog .q-title { font-size: 29px; letter-spacing: -.8px; }
  .q-dialog .q-eyebrow { font-size: 10px; letter-spacing: 1.5px; }
  .q-dialog .q-description { margin-top: 12px; font-size: 13px; }
  .q-dialog .q-choice-grid { gap: 9px; }
  .q-dialog .q-choice { min-height: 191px; padding: 11px 7px 14px; border-radius: 14px; }
  .q-dialog .q-choice-art { height: 94px; margin-bottom: 12px; border-radius: 9px; }
  .q-dialog .q-choice-art svg { width: 76px; height: 76px; }
  .q-dialog .q-choice > strong { font-size: 13px; }
  .q-dialog .q-choice-description { font-size: 10px; line-height: 1.4; }
  .q-dialog .q-choice-check { top: 7px; right: 7px; width: 19px; height: 19px; }
  .q-dialog .q-choice.q-compact { min-height: 91px; padding: 13px 23px 13px 11px; }
  .q-dialog .q-compact .q-choice-check { top: 9px; right: 6px; width: 15px; height: 15px; }
  .q-dialog .q-compact .q-choice-art { width: 25px; height: 25px; }
  .q-dialog .q-chip > span { min-height: 43px; padding-inline: 13px; font-size: 12px; }
  .q-dialog button.q-chip { min-height: 44px; padding-inline: 13px; font-size: 12px; }
  .q-dialog .q-chips { gap: 8px; }
  .q-dialog .q-field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .q-dialog .q-field textarea, .q-dialog .q-field select { font-size: 16px; }
  .q-dialog .q-field > label, .q-dialog .q-field-label { font-size: 13px; }
  .q-dialog .q-field textarea { min-height: 143px; }
  .q-dialog .q-footer { min-height: 88px; gap: 10px; padding: 15px 22px calc(20px + env(safe-area-inset-bottom, 0px)); }
  .q-dialog .q-save-status { display: none; }
  .q-dialog .q-next, .q-dialog .q-save-status + .q-next { min-width: 142px; margin-left: auto; font-size: 13px; }
  .q-dialog .q-back { font-size: 12px; }
  .q-dialog .q-hint { gap: 8px; padding: 13px; font-size: 11px; }
  .q-dialog .q-upload { padding: 24px 15px; }
  .q-dialog .q-upload strong { font-size: 15px; }
  .q-dialog .q-review-grid { gap: 9px; }
  .q-dialog .q-review-item { min-height: 95px; padding: 13px 12px; border-radius: 12px; }
  .q-dialog .q-review-item small { font-size: 9px; }
  .q-dialog .q-review-item strong { font-size: 12px; }
  .q-dialog .q-review-item button { min-height: 44px; padding: 8px; }
  .q-dialog .q-success-title { font-size: 29px; }
  .q-dialog .q-checkout { padding: 18px 16px; border-radius: 17px; }
  .q-dialog .q-checkout h3 { font-size: 18px; }
  .q-dialog .q-checkout > header > strong, .q-dialog .q-checkout .q-checkout-amount, .q-dialog .q-checkout .q-payment-amount { font-size: 24px; }
  .q-dialog .q-checkout p { font-size: 13px; }
}
@media (max-width: 370px) {
  .q-dialog .q-stage { padding-inline: 17px; }
  .q-dialog .q-title { font-size: 27px; }
  .q-dialog .q-choice-grid { gap: 7px; }
  .q-dialog .q-choice { min-height: 181px; padding-inline: 6px; }
  .q-dialog .q-choice-art { height: 84px; }
  .q-dialog .q-choice-art svg { width: 67px; height: 67px; }
  .q-dialog .q-choice > strong { font-size: 12px; }
  .q-dialog .q-choice-description { font-size: 9px; }
}
@media (max-width: 600px) {
  .q-dialog .q-choice-grid:not(.two) { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .q-dialog .q-choice-grid:not(.two) .q-choice {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 15px;
    row-gap: 4px;
    min-height: 112px;
    padding: 11px;
    border-radius: 15px;
    text-align: left;
  }
  .q-dialog .q-choice-grid:not(.two) .q-choice-art {
    grid-column: 1;
    grid-row: 1 / 4;
    align-self: center;
    width: 88px;
    height: 88px;
    margin: 0;
    border-radius: 11px;
  }
  .q-dialog .q-choice-grid:not(.two) .q-choice-art svg { width: 86px; height: 86px; }
  .q-dialog .q-choice-grid:not(.two) .q-choice > strong {
    grid-column: 2;
    grid-row: 1;
    align-self: end;
    padding: 0 17px 0 0;
    font-size: 16px;
    line-height: 1.25;
  }
  .q-dialog .q-choice-grid:not(.two) .q-choice-description {
    grid-column: 2;
    grid-row: 2 / 4;
    align-self: start;
    margin: 1px 0 0;
    font-size: 14px;
    line-height: 1.4;
  }
  .q-dialog .q-choice-grid:not(.two) .q-choice-subtitle {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    font-size: 11px;
    line-height: 1.25;
  }
  .q-dialog .q-choice-grid:not(.two) .q-choice-subtitle + .q-choice-description { grid-row: 3; font-size: 14px; }
  .q-dialog .q-choice-grid:not(.two) .q-choice-check { top: 10px; right: 10px; width: 19px; height: 19px; }
}
@media (max-height: 600px) and (max-width: 760px) {
  .q-dialog .q-header { min-height: 57px; padding-block: 10px; }
  .q-dialog .q-stage { padding-block: 22px; }
  .q-dialog .q-footer { min-height: 78px; padding-top: 10px; padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .q-dialog[open], .q-dialog .q-stage > * { animation: none; }
  .q-dialog *, .q-dialog *::before, .q-dialog *::after, .q-entry .q-launch { transition-duration: 0ms !important; scroll-behavior: auto; }
}

/* Choice-first character brief. The freeform field opens only on request. */
.q-dialog .q-brief { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; min-width: 0; }
.q-dialog .q-selection-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 26px;
  color: #776789;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}
.q-dialog .q-selection-summary::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--q-coral);
}
.q-dialog .q-preset-groups { display: grid; grid-column: 1 / -1; gap: 24px; min-width: 0; container-type: inline-size; }
.q-dialog .q-preset-group { min-width: 0; margin: 0; padding: 0; border: 0; }
.q-dialog .q-preset-group > legend {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 8px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0 0 10px;
  padding: 0;
  color: var(--q-ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
}
.q-dialog .q-preset-group > legend > span {
  margin-left: auto;
  color: #968aa1;
  font-size: 11px;
  font-weight: 650;
  white-space: nowrap;
}
.q-dialog .q-clear-group {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 6px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #806991;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.q-dialog .q-clear-group:hover { background: #f2ebfa; color: var(--q-ink); }
.q-dialog .q-preset-options { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.q-dialog .q-preset-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 9px 13px;
  border: 1.5px solid #e1d9e8;
  border-radius: 11px;
  background: #fff;
  color: #73697f;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
  text-align: left;
  touch-action: manipulation;
  transition: border-color 130ms ease, color 130ms ease, background 130ms ease, box-shadow 130ms ease;
}
.q-dialog .q-preset-option > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.q-dialog .q-option-mark {
  display: grid;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  place-items: center;
  border: 1.5px solid #d8cfe2;
  border-radius: 5px;
  background: #fff;
  color: transparent;
}
.q-dialog .q-option-mark svg { width: 14px; height: 14px; }
.q-dialog .q-preset-option:has(input[type="radio"]) .q-option-mark { border-radius: 50%; }
.q-dialog .q-option-label { min-width: 0; overflow-wrap: anywhere; }
.q-dialog .q-option-swatch {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border: 1px solid rgba(42, 41, 73, .13);
  border-radius: 50%;
  background: var(--swatch, var(--q-lavender));
}
.q-dialog .q-preset-option:has(input:checked) {
  border-color: var(--q-ink);
  background: #f2edff;
  box-shadow: 1px 2px 0 var(--q-ink);
  color: var(--q-ink);
}
.q-dialog .q-preset-option:has(input:checked) .q-option-mark {
  border-color: var(--q-ink);
  background: var(--q-coral);
  color: var(--q-ink);
}
.q-dialog .q-preset-option:has(input:focus-visible) { outline: 3px solid #8e80bc; outline-offset: 3px; }
.q-dialog .q-palette-options .q-preset-option { gap: 8px; }
.q-dialog .q-visual-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.q-dialog .q-preset-option.q-visual-option {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  min-height: 0;
  padding: 6px;
  border-radius: 15px;
  color: var(--q-ink);
  text-align: center;
}
.q-dialog .q-option-art {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  border-radius: 9px;
  background-color: #fff7ed;
  background-repeat: no-repeat;
  /* Trim the atlas seam so neighboring artwork cannot peek into a card. */
  clip-path: inset(0 0 2% 0 round 9px);
}
.q-dialog .q-visual-option .q-option-mark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 21px;
  height: 21px;
  border-color: #b6a7c4;
  box-shadow: 0 1px 3px rgba(42, 41, 73, .08);
}
.q-dialog .q-visual-option .q-option-label {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 9px 4px 4px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
  overflow-wrap: normal;
}
.q-dialog .q-visual-option:has(input:checked) {
  border-color: var(--q-ink);
  background: #f2edff;
  box-shadow: 2px 3px 0 var(--q-ink);
}
@container (max-width: 560px) {
  .q-dialog .q-visual-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@container (max-width: 430px) {
  .q-dialog .q-visual-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.q-dialog .q-custom-action { justify-self: end; min-width: 0; }
.q-dialog .q-custom-toggle {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  max-width: 100%;
  padding: 11px 17px;
  border: 1.5px solid #cfc3df;
  border-radius: 12px;
  background: #faf7fd;
  color: var(--q-ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
  text-align: center;
  transition: border-color 130ms ease, background 130ms ease, box-shadow 130ms ease;
}
.q-dialog .q-custom-toggle svg { width: 17px; height: 17px; }
.q-dialog .q-custom-toggle[aria-expanded="true"] {
  border-color: var(--q-ink);
  background: #fff0e7;
  box-shadow: 2px 3px 0 var(--q-ink);
}
.q-dialog .q-custom-panel { grid-column: 1 / -1; min-width: 0; }
.q-dialog .q-custom-panel .q-field textarea { min-height: 125px; }
.q-dialog .q-preset-help { color: #8b7e97; font-size: 12px; font-weight: 600; line-height: 1.6; }
.q-dialog .q-brief > .q-error { grid-column: 1 / -1; margin-top: -10px; }

@media (hover: hover) {
  .q-dialog .q-preset-option:hover { border-color: #b2a1c6; background: #fcf9ff; color: var(--q-ink); }
  .q-dialog .q-preset-option:has(input:checked):hover { border-color: var(--q-ink); background: #ece4ff; }
  .q-dialog .q-custom-toggle:hover { border-color: var(--q-ink); background: #f0e8fb; }
  .q-dialog .q-custom-toggle[aria-expanded="true"]:hover { background: #ffe6d7; }
}
@media (max-width: 600px) {
  .q-dialog .q-brief { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .q-dialog .q-custom-action { justify-self: stretch; }
  .q-dialog .q-preset-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .q-dialog .q-preset-option { width: 100%; min-height: 46px; padding: 10px 11px; }
  .q-dialog .q-visual-options { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .q-dialog .q-preset-option.q-visual-option { min-height: 0; padding: 5px; border-radius: 13px; }
  .q-dialog .q-visual-option .q-option-label { min-height: 45px; padding: 8px 3px 4px; }
  .q-dialog .q-visual-option .q-option-mark { top: 10px; right: 10px; }
  .q-dialog .q-custom-toggle { width: 100%; }
  .q-dialog .q-preset-group > legend { margin-bottom: 10px; }
}
@media (max-width: 370px) {
  .q-dialog .q-preset-option { gap: 7px; padding-inline: 9px; }
  .q-dialog .q-palette-options .q-preset-option { gap: 6px; }
  .q-dialog .q-palette-options .q-option-swatch { width: 17px; height: 17px; flex-basis: 17px; }
}
