/* Adapted from systems-landing-page review.html: palette, gradient, option cards. */
* { box-sizing: border-box; }
.report-view-link { display: inline-block; padding: 12px 18px; color: #e8f0ff; background: #182c4a; border: 1px solid #6de1ff; border-radius: 8px; margin-bottom: 12px; }
#secure-report-link { width: 100%; margin-top: 8px; }
body {
  margin: 0;
  min-height: 100dvh;
  overflow-wrap: anywhere;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-family: Inter, system-ui, sans-serif;
  background: linear-gradient(135deg, #0A0A0F, #0E1A33);
  color: #e8f0ff;
}
main { width: min(100% - 40px, 760px); margin: 0 auto; padding: 48px 0; }
.eyebrow { color: #7cdfff; text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 700; }
.review-site-header { padding: 64px 20px 24px; }
.review-brand-icon { display: block; width: 104px; height: 104px; max-width: none; object-fit: contain; }
h1 { font-size: 2.8rem; line-height: 1.15; letter-spacing: -.035em; }
p { line-height: 1.6; color: #c6d3e8; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice {
  display: flex; align-items: center; gap: 12px;
  margin: 10px 0; padding: 14px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 12px;
  background: rgba(255,255,255,.04); cursor: pointer;
}
.choice:hover { background: rgba(109,225,255,.12); }
.choice:has(:checked) { border-color: rgba(109,225,255,.75); background: rgba(79,124,255,.2); }
.choice span { flex: 1; }
.choice small { color: #7cdfff; white-space: nowrap; }
input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; accent-color: #6de1ff; }
ol { padding-left: 26px; }
li { padding: 12px 0; border-bottom: 1px solid #ffffff20; }
li span { display: block; margin-bottom: 10px; }
li::marker { color: #7cdfff; font-weight: 700; }
button { min-height: 44px; padding: 8px 14px; margin-right: 8px; border: 1px solid #6de1ff66; border-radius: 8px; background: #182c4a; color: #e8f0ff; font: inherit; cursor: pointer; }
button[aria-disabled="true"] { opacity: .45; cursor: default; }
.priority-choices { width: min(100%, 28rem); }
.priority-choice { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 10px; margin: 10px 0; }
.priority-choice .choice, .choice.priority-drag-preview { display: grid; grid-template-columns: 20px minmax(0, 1fr); grid-template-rows: auto auto; align-content: center; column-gap: 12px; row-gap: 0; min-height: 56px; margin: 0; padding: 8px 14px; min-width: 0; }
.priority-choice .choice { grid-column: 2; }
.priority-choice .choice input, .priority-drag-preview input { grid-column: 1; grid-row: 1 / 3; margin: 0; align-self: center; }
.priority-choice .choice span, .priority-drag-preview span { grid-column: 2; grid-row: 1; min-width: 0; overflow-wrap: anywhere; line-height: 18px; }
.priority-choice .choice small, .priority-drag-preview small { grid-column: 2; grid-row: 2; padding: 0; text-align: left; font-size: 11px; line-height: 13px; }
.priority-choice .choice small:empty { display: none; }
.priority-choice .choice:not(:has(input:checked)) span { grid-row: 1 / 3; }
.priority-row { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: center; gap: 10px; padding: 0; border-radius: 8px; }
.priority-row span { margin: 0; }
.priority-arrows { display: grid; grid-template-rows: 10px 16px 10px; justify-items: center; width: 20px; height: 40px; gap: 2px; }
.priority-row button { width: 44px; min-height: 44px; margin: 0; padding: 6px; font-size: 1.4rem; }
.priority-arrows button { display: grid; place-items: center; width: 20px; height: 10px; min-height: 0; padding: 0; border: 0; border-radius: 2px; font-size: 0; }
.priority-arrows button::before { content: ''; width: 4px; height: 4px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-1px) rotate(45deg); }
.priority-arrows button:first-child::before { transform: translateY(1px) rotate(225deg); }
.priority-arrows .priority-drag { position: relative; width: 16px; height: 16px; border: 1px solid #6de1ff; border-radius: 50%; background: #203354; }
.priority-arrows .priority-drag::before { content: ''; width: 2px; height: 2px; border: 0; border-radius: 50%; background: currentColor; box-shadow: 4px 0 currentColor, 0 4px currentColor, 4px 4px currentColor, 0 8px currentColor, 4px 8px currentColor; transform: translate(-2px, -4px); }
.priority-drag-tooltip { display: none; position: absolute; z-index: 10; left: 24px; top: 50%; transform: translateY(-50%); width: max-content; padding: 6px 8px; border: 1px solid #6de1ff66; border-radius: 6px; background: #182c4a; color: #e8f0ff; font-size: .75rem; line-height: 1.3; pointer-events: none; }
.priority-drag:hover .priority-drag-tooltip, .priority-drag:focus-visible .priority-drag-tooltip { display: block; }
.priority-row.dragging .priority-drag-tooltip { display: none; }
.priority-rank { color: #7cdfff; font-weight: 700; text-align: center; }
.priority-label { overflow-wrap: anywhere; }
.priority-drag { touch-action: none; user-select: none; cursor: grab; }
.priority-row.dragging .choice { opacity: .25; }
.priority-row.dragging .priority-drag { cursor: grabbing; }
.priority-row { position: relative; }
.priority-row.drop-before::before, .priority-row.drop-after::after { content: ''; position: absolute; left: 0; right: 0; height: 4px; border-radius: 4px; background: #6de1ff; box-shadow: 0 0 8px #6de1ff80; pointer-events: none; }
.priority-row.drop-before::before { top: -7px; }
.priority-row.drop-after::after { bottom: -7px; }
.priority-drag-preview { position: fixed; z-index: 1000; margin: 0; pointer-events: none; background: #203354 !important; border-color: #6de1ff; box-shadow: 0 12px 32px #0009; flex-wrap: wrap; }
:focus-visible { outline: 3px solid #6de1ff; outline-offset: 4px; }
.preview-note { margin-top: 32px; font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 420px) { main { width: calc(100% - 28px); padding-top: 24px; } .choice { gap: 8px; padding: 12px; } }
@media (max-width: 480px) { .priority-choice .choice, .choice.priority-drag-preview { min-height: 72px; } }

/* Intro presentation reused from systems-landing-page review.html. */
  /* Keep the original backdrop continuous behind the separate icon header. */
  body:has(#app.intro) {
    background:
      linear-gradient(90deg, rgba(109,225,255,0.08), transparent 22%),
      linear-gradient(180deg, rgba(255,255,255,0.03), transparent 24%),
      radial-gradient(circle at top left, rgba(109,225,255,0.2), transparent 30%),
      radial-gradient(circle at 85% 82%, rgba(79,124,255,0.22), transparent 34%),
      radial-gradient(circle at center right, rgba(21,40,86,0.22), transparent 42%),
      linear-gradient(180deg, rgba(12,20,40,0.92), rgba(9,15,32,0.82)),
      linear-gradient(135deg, #0A0A0F, #0E1A33);
  }
  .review-intro-hero {
    width: 100%;
    max-width: none;
    min-height: calc(100dvh - 192px);
    box-sizing: border-box;
    padding: clamp(32px, 5vw, 72px) clamp(28px, 8vw, 128px) clamp(24px, 4vw, 52px);
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .review-intro-top,
  .review-intro-bottom {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    text-align: left;
  }
  .review-intro-top {
    max-width: 1080px;
    margin-bottom: 34px;
  }
  .review-intro-top h1 {
    margin: 0;
    max-width: none;
    font-size: 86.4px;
    line-height: 0.88;
    letter-spacing: -0.05em;
    font-weight: 650;
    color: #f6f9ff;
    text-shadow: 0 10px 30px rgba(0,0,0,0.24);
  }
  .review-intro-top p,
  .review-intro-bottom p {
    max-width: 560px;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    text-wrap: pretty;
  }
  .review-intro-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }
  .review-intro-bottom p {
    margin: 0;
    max-width: none;
    font-size: 1.42rem;
    line-height: 1.45;
    color: rgba(233,242,255,0.88);
    white-space: nowrap;
  }
  .review-intro-cta {
    width: fit-content !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    font-size: 1.12rem;
    font-weight: 700;
    white-space: normal;
    align-self: center;
    margin-top: 4px;
    box-shadow:
      0 18px 36px rgba(79,124,255,0.34),
      0 0 0 1px rgba(255,255,255,0.08) inset;
  }


/* Dealer questionnaire layout and form controls. */
[hidden] { display: none !important; }
main.intro { width: 100%; max-width: none; padding: 0; }
.intro > .preview-note { max-width: 760px; margin: 24px auto; padding: 0 22px; }
.review-intro-bottom p { white-space: normal; }
.review-intro-bottom .review-intro-question-count { font-size: 1rem; }
.review-intro-top h1 { max-width: 1050px; line-height: 1; }
.review-intro-cta { align-self: flex-start; }
.primary { background: linear-gradient(135deg, #4f7cff, #3463dc); border-color: #8cacff; color: #fff; font-weight: 650; }
.field-label { display: block; margin: 24px 0 8px; font-weight: 600; }
input:not([type="checkbox"]), textarea {
  width: 100%; min-height: 48px; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(109,225,255,.25); background: rgba(255,255,255,.05);
  color: #e8f0ff; font: inherit;
}
textarea { resize: vertical; line-height: 1.6; }
.navigation { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.navigation button { margin: 0; }
progress { display: block; width: 100%; height: 8px; accent-color: #6de1ff; border: 0; border-radius: 8px; overflow: hidden; background: #ffffff18; }
progress::-webkit-progress-bar { background: #ffffff18; }
progress::-webkit-progress-value { background: linear-gradient(90deg, #4f7cff, #6de1ff); }
progress::-moz-progress-bar { background: #6de1ff; }
.selection-help { font-size: .9rem; color: #adbed8; }
.error { color: #ffb5b5; }
.error:empty { display: none; }
.review-card { padding: 24px; margin: 24px 0; border: 1px solid #6de1ff30; border-radius: 16px; background: #ffffff05; overflow-wrap: anywhere; }
.review-card h2 { font-size: 1.2rem; line-height: 1.5; margin-top: 0; }
.review-card li { line-height: 1.6; }
.written-answer { white-space: pre-wrap; }
@media (max-width: 720px) {
  .review-intro-hero { padding: 40px 22px; }
  .review-intro-cta { padding: 16px 22px; }
  .review-card { padding: 18px; }
}

.delivery-email { overflow-wrap: anywhere; }
button.text-button {
  display: inline; padding: 0; min-height: 0; border: 0; border-radius: 0;
  background: transparent; box-shadow: none; color: inherit; font: inherit;
  font-weight: normal; text-decoration: underline; text-underline-offset: .2em;
}
button.text-button:hover { background: transparent; color: #6de1ff; }
button.text-button:focus-visible { outline: 2px solid #6de1ff; outline-offset: 5px; }
