@layer pages {
  [data-page="cancellation"] {
    .cx-hero {
      overflow: clip; padding: clamp(24px, 4px + 4vw, 64px) 0 var(--section-pad);
      background-color: var(--bg);
      background-image:
        radial-gradient(44% 70% at 82% 46%, color-mix(in srgb, var(--purple-100) 90%, transparent) 0%, transparent 74%),
        radial-gradient(34% 44% at 0% 0%, color-mix(in srgb, var(--purple-50) 90%, transparent) 0%, transparent 80%);
    }
    .cx-hero__in { width: min(calc(100% - var(--gutter) * 2), 1320px); margin-inline: auto; }
    .cx-crumbs { margin-bottom: clamp(24px, 4px + 3.2vw, 56px); }
    .cx-body { max-width: 720px; }
    .cx-h1 { font-size: clamp(32px, 20px + 2.3vw, 52px); line-height: 1.12; font-weight: var(--fw-poster, 700); color: var(--ink); text-wrap: balance; }
    .cx-words { display: grid; gap: var(--s3); margin-top: var(--s5); }
    .cx-words .lede { max-width: 46ch; }
    .cx-card { --form-card-pad: 0px; margin-top: clamp(32px, 12px + 3vw, 48px); }
    .cx-card :is(.hs-loading, .hs-fallback) { padding: var(--s6); }
    .cx-card bb-hubspot-frame { --hs-min: 906px; }
    .cx-card:lang(sv) bb-hubspot-frame, .cx-card:lang(nb) bb-hubspot-frame { --hs-min: 948px; }
    @media (width < 640px) {
      .cx-words .lede { font-size: var(--fs-18); }
      .cx-card bb-hubspot-frame { --hs-min: 1120px; }
      .cx-card:lang(sv) bb-hubspot-frame { --hs-min: 1273px; }
      .cx-card:lang(nb) bb-hubspot-frame { --hs-min: 1252px; }
    }
  }
}
@layer sections {
  :is(bb-hubspot-form, bb-hubspot-frame) { display: block; position: relative; }
  :is(bb-hubspot-form, bb-hubspot-frame):not([data-state="ready"]) { min-height: var(--hs-min, 0px); }
  html:not(.js) :is(bb-hubspot-form, bb-hubspot-frame) { min-height: 0; }
  :is(bb-hubspot-form, bb-hubspot-frame)[data-state="failed"] { display: grid; align-content: center; }
  .hs-form-frame iframe { display: block; width: 100%; border: 0; }
  .hs-loading, .hs-fallback { font-size: var(--fs-14); line-height: 1.45; color: var(--muted); }
  .hs-fallback a { color: var(--accent-text); font-weight: var(--fw-strong); }
  .hs-loading { position: absolute; inset: 0 0 auto; }
  html:not(.js) .hs-loading, :is(bb-hubspot-form, bb-hubspot-frame):is([data-state="ready"], [data-state="failed"]) .hs-loading { display: none; }
  .hs-fallback { display: none; }
  html:not(.js) .hs-fallback, :is(bb-hubspot-form, bb-hubspot-frame)[data-state="failed"] .hs-fallback { display: block; }
  .hs-form {
    display: grid; gap: var(--s4);
    grid-template-columns: repeat(auto-fit, minmax(min(100%, max(200px, (100% - var(--s4)) / 2 - 1px)), 1fr));
  }
  .hs-form > :not(.hs-form-field),
  .hs-form > .hs-form-field:is(.hs-fieldtype-textarea, .hs-fieldtype-checkbox, .hs-fieldtype-booleancheckbox, .hs-fieldtype-radio) { grid-column: 1 / -1; }
  .hs-form-field { display: grid; gap: 6px; align-content: start; min-width: 0; }
  .hs-form-field > label { font-size: var(--fs-14); font-weight: var(--fw-strong); color: var(--ink); }
  .hs-form-required { margin-left: 2px; font-weight: 400; color: var(--muted); }
  .hs-form-field .input { position: relative; }
  .hs-input:is(input, select, textarea) {
    display: block; width: 100%; min-width: 0; border: 1px solid var(--line-strong); border-radius: var(--radius-2);
    background: var(--bg); color: var(--ink); font-size: var(--fs-16);
  }
  .hs-input:is(input, select) { height: 48px; padding: 0 14px; }
  .hs-input:is(textarea) { min-height: 112px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
  .hs-input:is(input, select, textarea):hover { border-color: var(--text); }
  .hs-input:is(input, select, textarea):focus-visible {
    outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--bb-purple-hover); border-radius: var(--radius-2);
  }
  .hs-input.invalid.error { border-color: var(--bb-error); }
  .hs-error-msgs { display: grid; gap: 2px; margin-top: 6px; }
  .hs-error-msg, .hs_error_rollup { font-size: var(--fs-14); line-height: 1.4; color: var(--error-text); }
  .hs-fieldtype-select .hs-input { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
  .hs-fieldtype-select .hs-input.is-placeholder { color: var(--muted); }
  .hs-fieldtype-select option { color: var(--ink); }
  .hs-fieldtype-select .input::after {
    content: ""; position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; rotate: 180deg;
    background: var(--text); pointer-events: none;
    -webkit-mask: url("/assets/icons/chevron-up.svg?v=beeb27e6") center / contain no-repeat;
            mask: url("/assets/icons/chevron-up.svg?v=beeb27e6") center / contain no-repeat;
  }
  .legal-consent-container .hs-richtext { font-size: var(--fs-14); line-height: 1.45; color: var(--text); }
  .legal-consent-container a { color: var(--accent-text); font-weight: var(--fw-strong); }
  .hs_recaptcha { margin-top: 0 !important; }
  .hs_recaptcha:has(> .input:empty) { margin-top: calc(var(--s4) * -1) !important; }
  .hs_submit .actions { display: flex; justify-content: flex-end; }
  .hs-button {
    min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: var(--radius-2);
    background: var(--btn); color: var(--btn-fg); font: var(--fw-strong) var(--fs-16)/1.2 var(--font); cursor: pointer;
    transition: background-color .2s, box-shadow .2s var(--ease);
  }
  .hs-button:hover { background: var(--btn-hover); box-shadow: var(--btn-lift); }
  .hs-button:active { box-shadow: none; transition-duration: .06s; }
  @media (width < 640px) {
    .hs_submit .hs-button { width: 100%; }
  }
}
