.lbl { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
/* Sign-up dialog. Layout from Aritro's SignupDialog; type and colour from artemispower.com:
   New Science headings, Plus Jakarta Sans text, #333 ink, #6E04BD brand, 14px corners. */
.su {
  --su-canvas: #f6f5f1;
  --su-panel: #eeede8;
  --su-line: #e4e4e7;
  --su-glow: rgba(110, 4, 189, 0.35);
  --su-halo: rgba(110, 4, 189, 0.14);
  --su-out: cubic-bezier(0.23, 1, 0.32, 1);
  --su-inout: cubic-bezier(0.77, 0, 0.175, 1);
  --su-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --su-r: 14px;
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 16px; border: 0; background: transparent; color: var(--ink);
  font-family: var(--sans); overflow-y: auto; overscroll-behavior: contain;
}
.su[open] { display: grid; place-items: center; }
.su::backdrop { background: rgba(24, 16, 34, 0.55); backdrop-filter: blur(8px) saturate(1.2); -webkit-backdrop-filter: blur(8px) saturate(1.2); transition: opacity 240ms var(--su-out); }
.su.is-closing::backdrop { opacity: 0; transition-duration: 200ms; }
@starting-style { .su[open]::backdrop { opacity: 0; } }
html:has(.su[open]) { overflow: hidden; }
.su button { background: none; border: 0; padding: 0; margin: 0; color: inherit; font: inherit; cursor: pointer; }
.su input { border: 0; margin: 0; font: inherit; color: inherit; }
.su input:focus, .su input:focus-visible { outline: none; }   /* the field's own ring shows focus; the page's square outline would sit inside it */
.su h2 { font-family: var(--display); font-weight: 500; letter-spacing: normal; line-height: 1.15; margin: 0; color: var(--ink); }
.su p { margin: 0; }
.su .su-step { padding: 0; }   /* the page gives every <section> 88px of padding */
.su-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* the card */
.su-panel {
  position: relative; width: min(100%, 480px); padding: 0; overflow: hidden; border-radius: 24px; background: #fffcf9;
  box-shadow: 0 0 0 1px rgba(46, 2, 79, 0.08), 0 2px 6px -2px rgba(46, 2, 79, 0.12), 0 50px 110px -30px rgba(24, 16, 34, 0.65);
  transition: opacity 220ms var(--su-out), transform 300ms var(--su-out);
}
.su.is-closing .su-panel { opacity: 0; transform: translateY(6px) scale(0.98); transition-duration: 180ms; }
@starting-style { .su[open] .su-panel { opacity: 0; transform: translateY(10px) scale(0.97); } }
/* the questions: brand off-white with the signature soft purple glow rising from the bottom */
.su-main { position: relative; padding: 24px 28px 30px; background: radial-gradient(90% 46% at 50% 112%, rgba(210, 177, 235, 0.5), rgba(210, 177, 235, 0) 72%), #fffcf9; }
.su-body { position: relative; overflow: hidden; margin: -6px; padding: 6px; }

/* desktop: the brand side beside the questions */
.su-side { display: none; }
@media (min-width: 860px) {
  .su-panel { display: grid; grid-template-columns: 340px minmax(0, 1fr); width: min(100%, 860px); }
  .su-main { min-height: 540px; padding: 28px 36px 34px; }
  .su-side { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: space-between; padding: 30px 28px 28px; color: #fffcf9; background: #2e024f url(../img/signup-roof.jpg) 40% center / cover; }
  .su-side::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(46, 2, 79, 0.2) 0%, rgba(46, 2, 79, 0.5) 34%, rgba(46, 2, 79, 0.9) 64%, #2e024f 100%); }
  .su-side-logo { width: 112px; height: auto; filter: brightness(0) invert(1); }
  .su .su-side-title { font-family: var(--display); font-size: 31px; font-weight: 500; line-height: 1.08; color: #fffcf9; text-wrap: balance; }
  .su-side-list { display: grid; gap: 11px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.4; color: rgba(255, 252, 249, 0.88); }
  .su-side-list li { display: flex; align-items: flex-start; gap: 10px; }
  .su-side-list svg { flex: none; margin-top: 2px; color: #d2b1eb; }
  .su .su-side-proof { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 13.5px; color: rgba(255, 252, 249, 0.88); }
  .su-side-proof b { color: #fffcf9; font-weight: 600; }
  .su-trust { display: none !important; }   /* the side already carries the G2 proof */
  .su.is-done .su-main { display: flex; align-items: center; }   /* "You're in." / "Welcome back." centered beside the photo */
  .su.is-done .su-body { flex: 1; }
}

/* top row: back, the progress segments, the step count, close */
.su-bar { display: flex; align-items: center; gap: 12px; height: 32px; }
.su-back, .su-close {
  position: relative; display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px;
  color: var(--ink-2); transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--su-out);
}
.su-back { margin-left: -6px !important; }
.su-close { background: var(--su-canvas) !important; }
.su-back::after, .su-close::after { content: ''; position: absolute; inset: -6px; }
.su-back:active, .su-close:active { transform: scale(0.94); }
.su-back:disabled { visibility: hidden; }
@media (hover: hover) and (pointer: fine) {
  .su-back:hover, .su-close:hover { background: var(--su-panel) !important; color: var(--ink); }
}
.su-prog { display: flex; flex: 1; gap: 6px; }
.su-prog i { position: relative; flex: 1; height: 4px; overflow: hidden; border-radius: 99px; background: var(--su-line); }
.su-prog i::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform 480ms var(--su-inout); }
.su-prog i.is-done::after { transform: none; }
.su-prog i.is-now::after { transform: none; box-shadow: 0 0 8px var(--su-glow); }
.su-count { flex-shrink: 0; min-width: 72px; text-align: right; font-size: 13px; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* fields: 14px corners like the site's buttons; focused, a brand ring and its glow */
.su-input, .su-pill {
  width: 100%; height: 52px; border-radius: var(--su-r); background: #fff; color: var(--ink);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.04); transition: box-shadow 200ms ease;
}
.su-input { display: block; padding: 0 16px; font-size: 16px; outline: none; }
.su-with-icon { position: relative; display: block; }
.su-with-icon .su-input { padding-left: 46px; }
.su-with-icon svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; transition: color 200ms ease; }
.su-with-icon:focus-within svg { color: var(--brand); }
.su-pill { display: flex; align-items: center; gap: 6px; padding: 0 6px 0 16px; }
.su-bare { flex: 1; min-width: 0; height: 100%; background: transparent; font-size: 16px; outline: none; }
.su-input::placeholder, .su-bare::placeholder { color: #a1a1aa; }
.su-input:focus, .su-pill:focus-within, .is-invalid .su-input[aria-invalid="true"] {
  box-shadow: 0 0 0 2px var(--brand), 0 0 0 6px var(--su-halo);
}
.is-invalid .su-input[aria-invalid="true"] { animation: su-nudge 320ms var(--su-out); }
@keyframes su-nudge { 20% { transform: translateX(-4px); } 50% { transform: translateX(3px); } 80% { transform: translateX(-1px); } }
.su .su-error { margin-top: 10px; font-size: 13px; font-weight: 600; color: #b42318; }
.su-error:empty { display: none; }

/* "from email": a quiet brand tint, so it marks the guess without competing with the field */
.su-tag { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--brand-tint); color: var(--brand); font-size: 11px; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.su-tag:not([hidden]) { animation: su-tag-in 260ms var(--su-out); }
@keyframes su-tag-in { from { opacity: 0; transform: scale(0.8); } }

/* a question */
.su-steps { position: relative; margin-top: 28px; }
.su-q { font-size: 28px; outline: none; }
.su-hint { margin-top: 10px !important; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); text-wrap: balance; }

/* company type: three line figures; picked, the tile takes a brand ring and the drawing turns brand */
.su-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.su-choice { --plate: var(--su-canvas); position: relative; display: flex !important; flex-direction: column; padding: 6px 6px 14px !important; border-radius: 16px; background: var(--plate) !important; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); color: var(--ink-2); transition: box-shadow 200ms ease, background-color 200ms ease, color 200ms ease, transform 160ms var(--su-out); }
.su-choice:active { transform: scale(0.96); }
.su-fig { display: block; overflow: hidden; border-radius: 11px; --hairline-plate: var(--plate); --hairline-hi: var(--ink); --hairline-edge: #8a8a92; --hairline-mid: #b9b9bf; --hairline-lo: #dcdce0; --hairline-stroke: 1; }
.su-fig > [data-figure] { display: block; aspect-ratio: 5 / 4; transform: scale(1.16); }
.su-choice-label { position: relative; margin-top: -10px; padding: 0 4px; text-align: center; font-size: 14px; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.su-tick { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 99px; background: var(--brand); color: #fff; opacity: 0; transform: scale(0.6); transition: opacity 200ms var(--su-out), transform 260ms var(--su-out); }
@media (hover: hover) and (pointer: fine) { .su-choice:hover { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.16); color: var(--ink); } }
.su-choice[aria-pressed="true"] { --plate: var(--brand-tint); box-shadow: inset 0 0 0 1.5px var(--brand); color: var(--ink); }
.su-choice[aria-pressed="true"] .su-fig { --hairline-hi: var(--brand); --hairline-edge: var(--brand); --hairline-mid: #a35fd6; --hairline-lo: #d8bdf0; }
.su-choice[aria-pressed="true"] .su-tick { opacity: 1; transform: none; }

/* email, name, website, phone */
.su-fields { margin-top: 24px; }
.su-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.su-field { display: block; min-width: 0; }
.su-label { display: flex; align-items: center; gap: 8px; min-height: 20px; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.su-cta { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 14px !important; border-radius: var(--su-r); background: var(--brand) !important; color: #fff !important; font-size: 16px !important; font-weight: 400; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 1px 2px rgba(46, 2, 79, 0.25), 0 12px 24px -12px rgba(110, 4, 189, 0.65); transition: background-color 160ms ease, transform 160ms var(--su-out); }
.su-cta svg { transition: transform 200ms var(--su-out); }
.su-cta:active { transform: scale(0.98); }
.su-cta-sm { flex: none; display: inline-flex !important; align-items: center; height: 40px; padding: 0 16px !important; border-radius: 10px; background: var(--brand) !important; color: #fff !important; font-size: 15px; font-weight: 400; transition: background-color 160ms ease; }
/* a touch screen keeps :hover on what was tapped, so only a mouse gets it */
@media (hover: hover) and (pointer: fine) {
  .su-cta:hover, .su-cta-sm:hover { background: var(--brand-hover) !important; }
  .su-cta:hover svg { transform: translateX(3px); }
}

/* under the email: G2 proof and the promise */
.su-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.su-trust b { color: var(--ink); font-weight: 600; }
.su-stars { display: inline-flex; gap: 1px; color: #ff492c; vertical-align: -1px; }
.su-stars svg { width: 12px; height: 12px; }
.su-trust > span { display: inline-flex; align-items: center; gap: 6px; }
.su-dot { width: 3px; height: 3px; border-radius: 99px; background: #c4c4cc; }

/* the company read off its website: logo (or icon, or initials), name and site */
.su-brand { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 12px; border-radius: var(--su-r); background: var(--su-canvas); }
.su-brand:not([hidden]) { animation: su-rise 320ms var(--su-out); }
.su-mark { position: relative; display: grid; flex-shrink: 0; width: 40px; height: 40px; overflow: hidden; border-radius: 10px; background: var(--su-panel); }
.su-mark > * { grid-area: 1 / 1; }
.su-mono { display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 15px; font-weight: 600; }
.su-logo { width: 100%; height: 100%; padding: 6px; object-fit: contain; background: #fff; outline: 1px solid rgba(0, 0, 0, 0.08); outline-offset: -1px; border-radius: inherit; animation: su-fade 240ms var(--su-out); }
.su-brand-copy { display: grid; flex: 1; min-width: 0; gap: 2px; }
.su-brand-head { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 20px; }
.su-brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; font-weight: 600; line-height: 20px; }
.su-brand-head .su-tag { flex-shrink: 0; }
.su-brand-site { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
/* the company's own logo: as wide as it is drawn, on white or, for a logo drawn for dark headers, on dark */
.su-brand.has-logo { align-items: center; }
.su-brand.has-logo .su-mark { width: auto; height: 48px; }
.su-brand.has-logo .su-logo { width: auto; max-width: min(168px, 40vw); height: 48px; padding: 8px 12px; }
.su-brand.on-dark .su-logo { background: #1c1820; }
.is-loading .su-mono { background: var(--su-panel); color: transparent; }
.is-loading .su-brand-name, .is-loading .su-brand-site { width: 40%; height: 12px; margin: 4px 0; border-radius: 6px; background: var(--su-panel); color: transparent; }
.is-loading .su-brand-site { width: 60%; height: 10px; margin: 2px 0 0; }
.is-loading .su-mark, .is-loading .su-brand-copy { animation: su-wait 1100ms ease-in-out infinite alternate; }
.is-loading .su-tag { visibility: hidden; }
@keyframes su-wait { from { opacity: 0.55; } }
@keyframes su-fade { from { opacity: 0; } }
.su-skip { display: flex !important; align-items: center; justify-content: center; width: 100%; height: 44px; margin-top: 10px !important; border-radius: var(--su-r); font-size: 14.5px; font-weight: 500; color: var(--ink-2) !important; transition: background-color 160ms ease, color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .su-skip:hover { background: var(--su-canvas) !important; color: var(--ink) !important; } }
.su-fine { margin-top: 18px !important; text-align: center; font-size: 13px; color: var(--ink-3); }
.su-optin { margin-top: 14px !important; font-size: 12px; line-height: 1.5; color: var(--ink-3); }
.su-optin a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

/* you're in */
.su-done { padding: 16px 0 6px; text-align: center; }
.su-done-mark { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 99px; background: var(--brand-tint); box-shadow: inset 0 0 0 1px rgba(110, 4, 189, 0.25), 0 10px 30px -12px var(--su-glow); color: var(--brand); }
.su-done-title { margin-top: 20px !important; font-size: 30px; outline: none; }
.su-done-sub { max-width: 32ch; margin: 10px auto 0 !important; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.su-done .su-cta { margin-top: 24px !important; }
.su-done .su-cta[disabled] { opacity: 0.55; cursor: progress; }
.su-done-alt { display: inline-block; margin-top: 14px; font-size: 14px; font-weight: 500; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.su-done-alt[hidden] { display: none; }
.su-cta[aria-busy="true"] { opacity: 0.7; cursor: progress; }
.is-done .su-done-mark { animation: su-settle 420ms var(--su-out) 80ms backwards; }
.is-done .su-done-mark path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: su-draw 520ms var(--su-inout) 240ms forwards; }
.is-done .su-done-title, .is-done .su-done-sub, .is-done .su-done .su-cta { animation: su-rise 420ms var(--su-out) backwards; }
.is-done .su-done-title { animation-delay: 220ms; }
.is-done .su-done-sub { animation-delay: 300ms; }
.is-done .su-done .su-cta { animation-delay: 380ms; }
@keyframes su-settle { from { opacity: 0; transform: scale(0.7); } }
@keyframes su-draw { to { stroke-dashoffset: 0; } }
@keyframes su-rise { from { opacity: 0; transform: translateY(6px); } }

/* the property: Google's suggestions float under the field (try/maps.js places them over the card) */
.su-suggest { margin: 8px 0 0; padding: 6px; list-style: none; border-radius: var(--su-r); background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 10px 28px -12px rgba(24, 16, 34, 0.3); }
.su-suggest[popover] { position: fixed; inset: auto; box-sizing: border-box; margin: 0; border: 0; overflow: auto; color: var(--ink); font-family: var(--sans); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 16px 36px -12px rgba(24, 16, 34, 0.35); }
.su-suggest li { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.su-suggest b { font-size: 15px; font-weight: 600; }
.su-suggest span { font-size: 13px; color: var(--ink-3); }
.su-suggest li[aria-selected="true"] { background: var(--su-canvas); }
@media (hover: hover) and (pointer: fine) { .su-suggest li:hover { background: var(--su-canvas); } }
.su-map { position: relative; margin-top: 18px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--su-r); background: #2a2f2a; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.su-map-canvas { position: absolute; inset: 0; }
.su-map-pin { position: absolute; left: 50%; top: 50%; width: 30px; height: 40px; transform: translate(-50%, -100%); pointer-events: none; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45)); }
.su-map-pin path { fill: var(--brand); stroke: #fff; stroke-width: 1.6; }
.su-map-pin circle { fill: #fff; }
.su .su-map-hint { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }

/* the roof being measured takes the side panel (desktop) or a strip above the questions (phones) */
.su-side-promo { display: contents; }
.su-measure { display: none; }
.su.is-measuring .su-measure { display: block; position: absolute; inset: 0; z-index: 1; }
.su-measure-fail {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 24px; text-align: center; color: #fff; background: rgba(10, 15, 28, 0.86); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.su-measure-fail[hidden], .su.is-done .su-measure-fail { display: none; }
.su .su-measure-fail-title { font-family: var(--display); font-size: 22px; line-height: 1.2; }
.su .su-measure-fail-why { max-width: 30ch; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.78); }
.su-measure-fail .su-cta-sm { margin-top: 8px !important; }
/* Phones and tablets: a strip above the questions, at most a third of the screen. With the keyboard up (.is-typing,
   js/signup.js) it steps back to its caption, so the question, its field and Continue fit above the keyboard. */
@media (max-width: 859px) {
  .su.is-measuring .su-side { display: block; position: relative; flex: none; height: min(62.5vw, 32dvh); overflow: hidden; transition: height 260ms var(--su-out); }
  .su.is-measuring .su-side-promo { display: none; }
  .su.is-typing.is-measuring .su-side { height: 64px; }
  .su.is-typing .rm-scene, .su.is-typing .rm-chip { visibility: hidden; }
}
@media (max-width: 639px) {
  .su.is-measuring .su-side { margin-top: env(safe-area-inset-top); }
  .su.is-measuring .su-main { padding-top: 14px; }
}
@media (max-width: 859px), (orientation: landscape) and (max-height: 500px) and (min-width: 560px) {
  .su.is-typing .su-hint, .su.is-typing .su-trust { display: none; }
  .su.is-typing .su-steps { margin-top: 14px; }
  .su.is-typing .su-q { font-size: 22px; }
  .su.is-typing .su-fields { margin-top: 14px; }
  .su.is-typing .su-suggest li { padding: 6px 12px; }
  /* first and last name side by side, so both and Continue sit above the keyboard */
  .su.is-typing .su-pair { grid-template-columns: 1fr 1fr; }
}
/* short phones (SE): while typing, the questions get the whole visible area; the roof comes back with the keyboard down */
@media (max-width: 559px) and (max-height: 620px) {
  .su.is-typing.is-measuring .su-side { height: 0; }
}

/* waiting on the roof, or on saving it: a spinner where the check goes */
.su-done[data-state="measuring"] .su-done-mark svg, .su-done[data-state="saving"] .su-done-mark svg { display: none; }
.su-done[data-state="measuring"] .su-done-mark::after, .su-done[data-state="saving"] .su-done-mark::after {
  content: ''; width: 26px; height: 26px; border: 2.5px solid rgba(110, 4, 189, 0.22); border-top-color: var(--brand); border-radius: 50%; animation: su-spin 900ms linear infinite;
}
.su-done[data-state="measure_failed"] .su-done-mark, .su-done[data-state="error"] .su-done-mark { display: none; }
@keyframes su-spin { to { transform: rotate(360deg); } }

/* phones: the sign-up fills the whole screen in the card's off-white (no floating card, no page showing
   around it) and starts at the top, so the question sits above the keyboard and Safari's bottom bar */
@media (max-width: 639px) {
  .su { padding: 0; background: #fffcf9; }
  .su[open] { display: block; }
  /* the sign-up now ends where the keyboard starts; what shows through Safari's see-through bars below it is
     the backdrop, so on phones it's the same off-white instead of the dark blurred page */
  dialog.su::backdrop { background: #fffcf9; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .su-main { flex: 1; padding: calc(14px + env(safe-area-inset-top)) 18px calc(22px + env(safe-area-inset-bottom)); }
  .su-panel { display: flex; flex-direction: column; width: 100%; min-height: 100%; border-radius: 0; box-shadow: none; transition: opacity 200ms var(--su-out), transform 380ms var(--su-drawer); }
  .su.is-closing .su-panel { opacity: 0; transform: translateY(16px); transition-duration: 200ms; }
  @starting-style { .su[open] .su-panel { opacity: 0; transform: translateY(16px); } }
  .su-bar { height: 44px; }
  .su-back, .su-close { width: 44px; height: 44px; }
  .su-cta-sm { height: 44px; }
  .su-count { min-width: 64px; }
  .su-steps { margin-top: 22px; }
  .su-q { font-size: 25px; }
  .su-hint { font-size: 15px; }
  .su-choices, .su-fields { margin-top: 22px; }
  .su-choices { gap: 8px; }
  .su-choice { padding: 5px 5px 10px !important; border-radius: 14px; }
  .su-fig { border-radius: 10px; }
  .su-choice-label { font-size: 13px; }
  .su-cta { height: 54px; }
}
/* phones on their side: the whole screen too, with the roof being measured as a column beside the questions. At least
   560px wide: a phone standing up whose browser shrinks the page for the keyboard is wider than tall too. */
@media (orientation: landscape) and (max-height: 500px) and (min-width: 560px) {
  .su { padding: 0; background: #fffcf9; }
  .su[open] { display: block; }
  dialog.su::backdrop { background: #fffcf9; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .su-panel { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; min-height: 100%; border-radius: 0; box-shadow: none; }
  .su.is-measuring .su-panel { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .su-side { display: none; }
  .su.is-measuring .su-side, .su.is-typing.is-measuring .su-side { display: block; position: sticky; top: 0; height: 100dvh; margin: 0; padding: 0; }
  .su.is-typing .rm-scene, .su.is-typing .rm-chip { visibility: visible; }
  .su-main { min-height: 0; padding: 12px max(20px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left)); }
  .su.is-measuring .su-main { padding-left: 20px; }
  .su-bar { height: 44px; }
  .su-back, .su-close { width: 44px; height: 44px; }
  .su-cta-sm { height: 44px; }
  .su-steps { margin-top: 12px; }
  .su-q { font-size: 22px; }
  .su-hint { margin-top: 6px !important; font-size: 14px; }
  .su-choices, .su-fields { margin-top: 14px; }
  .su-map { aspect-ratio: auto; height: 30dvh; }
  /* the keyboard leaves a third of the screen: the field and Continue get it */
  .su.is-typing .su-bar, .su.is-typing .su-q { display: none; }
  .su.is-typing .su-steps, .su.is-typing .su-fields { margin-top: 0; }
}
@media (max-width: 400px) { .su-pair { grid-template-columns: 1fr; } }
@media (max-width: 440px) { .su-trust .su-dot { display: none; } .su-trust { flex-direction: column; gap: 4px; } }
@media (prefers-reduced-transparency: reduce) { .su::backdrop { background: rgba(24, 16, 34, 0.85); backdrop-filter: none; } }
@media (prefers-reduced-motion: reduce) {
  .su-panel, .su::backdrop { transition: opacity 160ms ease; }
  .su.is-closing .su-panel, .su[open] .su-panel { transform: none; }
  .is-done .su-done-mark path { stroke-dashoffset: 0; }
  .is-loading .su-mark, .is-loading .su-brand-copy { animation: none; }
  .su-prog i::after, .su.is-measuring .su-side { transition: none; }
  .su-done[data-state] .su-done-mark::after { animation-duration: 2400ms; }
}
