@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #f7f3fb;
  --bg-soft: #fcf9ff;
  --ink: #2f1f46;
  --ink-soft: #66547e;
  --brand: #2f1f46;
  --brand-strong: #241738;
  --accent: #e57cd8;
  --line: #e7dff0;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 14px 36px rgba(47, 31, 70, 0.09);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #ffffff 0%, var(--bg) 55%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(252, 249, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  display: flex;
  align-items: center;
  min-height: 68px;
  gap: 14px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.2px;
}

.brand span {
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-left: auto;
  margin-right: 10px;
}

.nav a:hover {
  color: var(--ink);
}

.header-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.lang-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lang-switch {
  padding: 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-switch + .lang-switch {
  position: relative;
  padding-left: 10px;
}

.lang-switch + .lang-switch::before {
  content: "/";
  position: absolute;
  left: 0;
  color: #b8abc9;
}

.lang-switch.active {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 0;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--brand);
  color: #fff;
}

.button-primary:hover {
  background: var(--brand-strong);
}

.button-secondary {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--line);
}

.button-hero {
  padding: 14px 24px;
  font-size: 0.98rem;
}

.quote-page {
  padding-top: 42px;
  position: relative;
}

.quote-page::before {
  content: "";
  position: absolute;
  left: -120px;
  top: 30px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(111, 75, 159, 0.14) 0%, rgba(111, 75, 159, 0) 70%);
  pointer-events: none;
}

.quote-head {
  max-width: 640px;
  margin-bottom: 18px;
}

.wizard-progress {
  height: 8px;
  border-radius: 999px;
  background: #f2eafb;
  overflow: hidden;
}

.wizard-progress-bar {
  display: block;
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, #2f1f46, #6f4b9f);
  transition: width 0.28s ease;
}

.msf-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid #eadff6;
  box-shadow: 0 16px 34px rgba(47, 31, 70, 0.07);
  background: linear-gradient(180deg, #fff 0%, #fdfaff 100%);
}

.msf-form {
  margin-top: 6px;
}

.msf-slider {
  position: relative;
}

.msf-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #d2c1eb;
  background: #fdf9ff;
  color: var(--brand);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 8px 14px rgba(47, 31, 70, 0.1);
  transition: transform 0.2s ease, background 0.2s ease;
}

.msf-arrow:hover {
  background: #f6ecff;
  transform: translateY(-50%) scale(1.04);
}

.msf-arrow[data-msf-prev] {
  left: -8px;
}

.msf-arrow[data-msf-next] {
  right: -8px;
}

.msf-arrow[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.msf-viewport {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #eadff6;
  background: linear-gradient(180deg, #ffffff 0%, #fbf7ff 100%);
}

.msf-track {
  display: flex;
  width: 100%;
  transition: transform 0.35s ease;
}

.msf-step {
  flex: 0 0 100%;
  display: grid;
  gap: 12px;
  padding: 24px 28px 26px;
  align-content: start;
  min-height: 360px;
}

.msf-step h2 {
  margin-bottom: 6px;
  font-size: 1.45rem;
}

.msf-step label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #665e71;
}

.msf-step input,
.msf-step select,
.msf-step textarea {
  border-color: #d8c9eb;
  background: #fff;
}

.field-error {
  min-height: 18px;
  margin: -4px 0 0;
  font-size: 0.82rem;
  color: #a5284e;
}

.msf-control {
  max-width: 600px;
  margin: 18px auto 0;
  display: grid;
  gap: 12px;
}

.msf-indicators {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.msf-indicator {
  border: 1px solid #d7c8ea;
  background: #fff;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 5px 12px 5px 5px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.msf-indicator-index {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid #d6c3ec;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6f4b9f;
  background: #faf5ff;
}

.msf-indicator.active {
  border-color: #9f7dc9;
  background: #f5ebff;
  color: var(--brand);
}

.msf-indicator.active .msf-indicator-index {
  border-color: #9f7dc9;
  background: #6f4b9f;
  color: #fff;
}

.msf-progress-wrap .note {
  margin: 4px 0 0;
  text-align: center;
}

.msf-summary {
  border: 1px solid #dccdee;
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  display: grid;
  gap: 4px;
  font-size: 0.85rem;
}

.msf-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.msf-confirm {
  border: 1px solid #d8c7ec;
  border-radius: 12px;
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 10px;
  animation: fade-up 0.2s ease both;
  box-shadow: 0 10px 22px rgba(47, 31, 70, 0.08);
}

.msf-confirm p {
  margin: 0;
  font-size: 0.9rem;
}

.msf-success {
  color: #1f7a37;
  font-weight: 700;
  text-align: center;
}

.hero {
  padding: 66px 0 40px;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  right: 6%;
  top: 20px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: radial-gradient(circle at center, #f6e8fa 0%, rgba(246, 232, 250, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  animation: fade-up 0.75s ease both;
}

.kicker {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f6e8fa;
  color: #563f71;
  font-weight: 700;
  font-size: 0.82rem;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  line-height: 1.1;
  margin: 0;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

p {
  color: var(--ink-soft);
  line-height: 1.55;
}

.hero-copy p {
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cta-help-link {
  display: inline-flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #5f4a7d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.hero-art {
  padding: 14px;
  animation: fade-up 0.85s ease both;
}

.hero-art-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.hero-art-main img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-badge {
  position: absolute;
  right: 18px;
  top: 18px;
  background: rgba(47, 31, 70, 0.9);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.stat-card {
  padding: 18px;
}

.stat-number {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--brand);
}

.stat-label {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.section {
  padding: 54px 0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  padding: 20px;
  transition: transform 0.16s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(47, 31, 70, 0.14);
}

.service-thumb {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 14px;
}

.service-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.process-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.step-list {
  display: grid;
  gap: 14px;
}

.step-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #f6e8fa;
  color: var(--brand);
  font-weight: 800;
  margin-right: 8px;
}

.step-title {
  font-weight: 700;
}

.service-card h3 {
  font-size: 1.35rem;
}

.service-card p {
  margin-bottom: 16px;
}

.service-card .button {
  margin-top: auto;
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.checks li {
  padding-left: 24px;
  position: relative;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.quote-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.quote-box {
  padding: 24px;
}

form {
  display: grid;
  gap: 12px;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #dfd3ec;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #f2b6ea;
  border-color: var(--brand);
}

.field-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 1fr;
}

.note {
  font-size: 0.9rem;
  color: #635f56;
}

.quote-aside {
  padding: 24px;
}

.quote-aside h3 {
  margin-bottom: 8px;
}

.quote-modal[hidden] {
  display: none;
}

.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}

.quote-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(23, 14, 36, 0.58);
  backdrop-filter: blur(2px);
}

.quote-modal-dialog {
  position: relative;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 24px;
  border-radius: 20px;
  border: 1px solid #e8ddf4;
  box-shadow: 0 24px 54px rgba(30, 18, 48, 0.28);
}

.quote-modal-stage {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(680px, calc(100vw - 40px));
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
  align-items: center;
}

.quote-modal-stage.with-context {
  width: min(1020px, calc(100vw - 40px));
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 16px;
}

.qwm-container {
  position: relative;
  padding-top: 20px;
}

.qwm-context {
  width: 100%;
}

.quote-modal-dialog .qwm-context {
  display: none;
}

.quote-modal-stage.with-context > .quote-modal-dialog {
  grid-column: 1;
}

.quote-modal-stage.with-context > .qwm-context {
  grid-column: 2;
}

.qwm-context-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.qwm-context-grid[hidden] {
  display: none !important;
}

.qwm-context-card {
  padding: 12px;
  border: 1px solid var(--line);
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.qwm-context-card:hover {
  transform: translateY(-4px);
  border-color: #cdb8e8;
  box-shadow: 0 12px 24px rgba(47, 31, 70, 0.12);
}

.qwm-context-card h3 {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.qwm-context-card p {
  margin: 0;
  font-size: 0.86rem;
}

.qwm-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f1f46, #e57cd8);
  transition: width 0.32s ease;
}

.qwm-step {
  display: none;
  animation: fade-up 0.28s ease both;
}

.qwm-step.active {
  display: block;
}

.qwm-step > h2 {
  margin-bottom: 16px;
}

.qwm-group {
  margin-bottom: 14px;
}

.qwm-group label {
  display: block;
  margin-bottom: 16px;
}

.qwm-select {
  position: relative;
}

.qwm-date {
  position: relative;
}

.qwm-date input[data-qwm-date-display] {
  padding-right: 42px;
  cursor: pointer;
}

.qwm-date-trigger {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qwm-date-trigger img {
  width: 18px;
  height: 18px;
  opacity: 0.95;
}

.qwm-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 40px;
  background-image: none;
}

.qwm-calendar {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 16px 28px rgba(47, 31, 70, 0.12);
}

.qwm-calendar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  color: var(--brand);
}

.qwm-calendar-nav {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--brand);
  cursor: pointer;
}

.qwm-calendar-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 6px;
  font-size: 0.76rem;
  color: #766d84;
  text-align: center;
}

.qwm-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  grid-template-rows: repeat(6, 32px);
  gap: 4px;
}

.qwm-day {
  height: 32px;
  border: 0;
  border-radius: 10px;
  background: #f8f2ff;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
}

.qwm-day:hover {
  background: #efddff;
}

.qwm-day.active {
  background: var(--brand);
  color: #fff;
}

.qwm-day.disabled {
  background: #f5f2f9;
  color: #b7afc2;
  cursor: not-allowed;
}

.qwm-day-empty {
  background: transparent;
  pointer-events: none;
}

.qwm-calendar-actions {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.qwm-chevron {
  position: absolute;
  right: 12px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  pointer-events: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.95;
}

.qwm-select:hover .qwm-chevron,
.qwm-select:focus-within .qwm-chevron {
  animation: qwm-chevron-enter 0.45s ease-out;
}

@keyframes qwm-chevron-enter {
  from {
    transform: translateY(calc(-50% + 4px));
    opacity: 0.3;
  }
  to {
    transform: translateY(-50%);
    opacity: 1;
  }
}

.qwm-group .qwm-error {
  display: none;
  color: #a5284e;
  font-size: 0.82rem;
  margin-top: 5px;
}

.qwm-group.invalid .qwm-error {
  display: block;
}

.qwm-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
}

.qwm-buttons .button {
  min-width: 128px;
}

.qwm-confirm {
  padding: 8px 0;
}

.qwm-confirm h2 {
  text-align: center;
  margin-bottom: 14px;
}

.qwm-summary {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}

.qwm-summary p {
  margin: 0;
  font-size: 0.92rem;
}

.qwm-send-status {
  margin: 10px 2px 0;
  font-size: 0.86rem;
  color: #2f2755;
  text-align: center;
}

.qwm-send-status.is-error {
  color: #a5284e;
}

.qwm-success {
  text-align: center;
  padding: 20px 8px 8px;
}

.qwm-success p {
  margin-bottom: 18px;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  align-items: start;
}

.faq-visual {
  padding: 12px;
}

.faq-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.faq details {
  border: 1px solid #e6d9f3;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fcf8ff 100%);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(47, 31, 70, 0.06);
}

.faq summary {
  list-style: none;
  font-weight: 700;
  cursor: pointer;
  padding: 16px 50px 16px 18px;
  position: relative;
  color: var(--brand);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #d9c7ee;
  color: #6a4b98;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.faq details[open] summary {
  background: #f6ecff;
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  margin: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 18px;
  color: var(--ink-soft);
  line-height: 1.55;
  transform: translateY(-4px);
  will-change: max-height, opacity, transform, padding;
  transition:
    max-height 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.36s ease,
    padding 0.36s ease,
    transform 0.36s ease;
}

.faq details[open] p {
  max-height: 320px;
  opacity: 1;
  padding: 16px 18px;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 14px 16px;
}

summary {
  font-weight: 700;
  cursor: pointer;
}

.footer {
  margin-top: 24px;
  border-top: 1px solid #e9e0f2;
  background: #fff;
  padding: 28px 0 34px;
  color: #6f667f;
  font-size: 0.92rem;
}

.footer .container {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.footer strong {
  color: var(--brand);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin-top: 2px;
}

.footer-links a {
  color: #5f5671;
  font-weight: 600;
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer p {
  margin: 0;
  max-width: 760px;
}

.hero-min {
  padding: 48px 0 24px;
}

.faq-section {
  padding-top: 20px;
}

.badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #563f71;
  background: #f6e8fa;
}

.breadcrumb {
  font-size: 0.92rem;
  color: #6b665d;
  margin-bottom: 10px;
}

@media (max-width: 940px) {
  .hero-grid,
  .quote-wrap,
  .grid-3,
  .stats-grid,
  .process-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .topbar .button {
    display: none;
  }

  .msf-arrow[data-msf-prev] {
    left: 8px;
  }

  .msf-arrow[data-msf-next] {
    right: 8px;
  }

  .msf-indicators {
    justify-content: center;
  }

  .msf-step {
    padding: 18px;
    min-height: 320px;
  }

  .qwm-context-grid {
    grid-template-columns: 1fr;
  }

  .quote-modal {
    place-items: start center;
    padding: 10px;
    overflow-y: auto;
  }

  .quote-modal-dialog {
    max-height: calc(100vh - 20px);
    padding: 16px;
    -webkit-overflow-scrolling: touch;
  }

  .quote-modal-stage,
  .quote-modal-stage.with-context {
    width: min(680px, 100%);
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
  }

  .quote-modal-stage.with-context > .quote-modal-dialog,
  .quote-modal-stage.with-context > .qwm-context {
    grid-column: 1;
  }

  .quote-modal-stage.with-context > .qwm-context {
    display: none;
  }

  .qwm-context-card {
    min-height: 108px;
  }

  .qwm-buttons {
    flex-direction: column;
  }

  .qwm-buttons .button {
    width: 100%;
    min-width: 0;
  }

  .qwm-calendar-actions {
    justify-content: stretch;
  }

  .qwm-calendar-actions .button {
    flex: 1;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }
}
