@font-face {
  font-family: "Titillium Web";
  src: url("/brand/TitilliumWeb-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Titillium Web";
  src: url("/brand/TitilliumWeb-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  font-family: "Titillium Web", Arial, sans-serif;
  color: #13273a;
  background: #f3f6f8;
  font-synthesis: none;
  --ink: #13273a;
  --muted: #526779;
  --blue: #216b9b;
  --line: #cddbe4;
  --pale: #edf5fa;
  --warning: #7e4b13;
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: default;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
canvas:focus-visible {
  outline: 3px solid #216b9b;
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 32px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.7px;
}
h2 {
  font-size: 23px;
  line-height: 1.25;
  font-weight: 600;
}
h3 {
  font-size: 19px;
  font-weight: 600;
}
h2:focus {
  outline: 0;
}
a {
  color: #155c8a;
  text-underline-offset: 3px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
b {
  color: #9a3326;
  font-weight: 600;
}
small,
.muted {
  color: var(--muted);
}
small {
  font-size: 14px;
}
button {
  border: 0;
}
input,
select,
textarea {
  color: var(--ink);
}
input:not([type="radio"]):not([type="checkbox"]),
select,
textarea {
  width: 100%;
  border: 1px solid #8ea9bd;
  border-radius: 7px;
  background: white;
  padding: 10px 13px;
  min-height: 46px;
  font-size: 17px;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #5a6e7c;
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: var(--blue);
  height: 22px;
  width: 22px;
  flex-shrink: 0;
}
summary {
  min-height: 44px;
  cursor: pointer;
  font-weight: 600;
  padding: 10px 0;
}
p {
  overflow-wrap: anywhere;
}
.site-header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1080px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 23px 32px;
  gap: 20px;
}
.brand-lockup {
  flex-shrink: 0;
}
.group-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #476478;
  font-size: 12px;
  line-height: 1;
}
.group-brand img {
  display: block;
  width: 76px;
  height: auto;
}
.brand-logo {
  width: 220px;
  height: auto;
  display: block;
}
.header-inner > div:not(.brand-lockup) {
  text-align: right;
  min-width: 0;
}
.header-inner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 600;
}
.eyebrow {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #476478;
  margin-bottom: 6px;
}
main {
  max-width: 1030px;
  margin: 0 auto;
  padding: 24px 28px 20px;
}
.intro p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 780px;
}
.context-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 14px 18px;
  margin-top: 18px;
  background: #e8f2f8;
  border: 1px solid #c7dfe9;
  border-radius: 10px;
}
.context-card strong {
  font-size: 19px;
  overflow-wrap: anywhere;
}
.context-card p {
  color: #36596e;
  font-size: 15px;
}
.context-card > div {
  min-width: 0;
  flex: 1;
}
.context-card > p {
  max-width: 255px;
  text-align: right;
}
.progress-bar {
  margin: 20px 0 18px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid #bacbd6;
  gap: 20px;
}
.steps button {
  background: none;
  min-height: 51px;
  text-align: left;
  padding: 0 3px 14px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #526779;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
}
.steps button > span {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: white;
  border: 1px solid #9db4c4;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  font-size: 14px;
}
.steps button[aria-current="step"] {
  border-bottom-color: #216b9b;
  color: #155c8a;
}
.steps button[aria-current="step"] > span {
  background: #216b9b;
  color: white;
  border-color: #216b9b;
}
.save-state {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px 12px;
  min-height: 22px;
  color: #375e50;
  font-size: 14px;
  flex-wrap: wrap;
  min-width: 0;
}
.save-state > span {
  overflow-wrap: anywhere;
}
.save-state[data-state="error"] {
  flex-direction: column;
  align-items: flex-start;
}
.save-state[data-state="error"] {
  color: #8f3826;
}
.save-state[data-state="saving"] {
  color: #526779;
}
.step-panel {
  background: white;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 11px;

}
.panel-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 18px;
}
.panel-heading p {
  font-size: 16px;
  color: var(--muted);
  margin-top: 5px;
}
.section-number {
  background: #e9f3f9;
  color: #245b7c;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 9px;
  font-size: 16px;
  font-weight: 600;
}
.metadata {
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr);
  gap: 10px 20px;
  margin: 10px 0 0;
  padding: 14px 16px;
  background: #f7fafc;
  border: 1px solid #e0e8ee;
  border-radius: 8px;
}
.metadata dt {
  font-weight: 600;
  color: #4b6172;
}
.metadata dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: 12px;
  border-radius: 7px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}
.button.primary {
  background: #216b9b;
  color: white;
}
.button.primary:hover:not(:disabled) {
  background: #15567e;
}
.button.secondary {
  background: white;
  color: #204c6c;
  border: 1px solid #8ba8bc;
}
.button.secondary:hover:not(:disabled) {
  background: #eef5f9;
}
.text-button {
  background: none;
  color: #155c8a;
  text-decoration: underline;
  text-underline-offset: 3px;
  min-height: 44px;
  padding: 6px;
  font-weight: 600;
  font-size: 15px;
}
.notice {
  padding: 17px 20px;
  border: 1px solid;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 16px;
}
.notice.warning {
  background: #fff5e8;
  border-color: #d7ba90;
  color: #75460f;
}
.notice.error {
  background: #fff0ef;
  border-color: #d9978d;
  color: #8c2d22;
}
.notice h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.comparison > div {
  padding: 12px;
  background: white;
  border: 1px solid #d7ba90;
  border-radius: 6px;
}
.comparison p {
  margin: 8px 0;
  font-size: 14px;
  white-space: pre-wrap;
}
.checklist-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 15px 0 20px;
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.checklist-toolbar label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #4b6172;
}
.checklist-toolbar select {
  max-width: 240px;
  font-size: 15px;
}
.check-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  scroll-margin-top: 90px;
}
.check-group > summary {
  padding: 10px 16px;
  background: #edf4f8;
  font-size: 17px;
}
.group-count {
  font-weight: 400;
  color: #526779;
  font-size: 14px;
  margin-left: 8px;
}
.check-row {
  padding: 14px 18px;
  border-top: 1px solid #dbe5ec;
}
.check-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.check-row strong {
  font-size: 16px;
  font-weight: 600;
  min-width: 0;
  overflow-wrap: anywhere;
}
.check-row p {
  font-size: 15px;
  white-space: pre-wrap;
  color: #4b6172;
  margin-top: 6px;
}
.check-row .button {
  font-size: 14px;
  min-height: 44px;
  padding: 7px 12px;
  margin-top: 10px;
}
.status-badge {
  display: inline-block;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 5px;
  background: #edf4f8;
  color: #31546e;
  border: 1px solid #cbdae5;
}
.status-badge.issue {
  background: #fff0e8;
  border-color: #d6a489;
  color: #8a3c1e;
}
.status-badge.blocking {
  background: #fff0ef;
  border-color: #ce9991;
  color: #8c2d22;
  margin-left: 5px;
}
.installer-notes {
  padding: 18px 0 23px;
}
.installer-notes p {
  margin-top: 8px;
  white-space: pre-wrap;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field > span {
  font-size: 16px;
  font-weight: 600;
}
.rating {
  margin: 25px 0;
}
.rating legend,
.decision legend {
  font-weight: 600;
  font-size: 19px;
}
.rating p {
  color: #526779;
  margin: 6px 0 12px;
  font-size: 15px;
}
.rating-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.rating-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.rating-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.rating-option span {
  display: grid;
  place-items: center;
  min-height: 55px;
  background: white;
  border: 1px solid #8ea9bd;
  border-radius: 7px;
  font-size: 22px;
}
.rating-option input:checked + span {
  background: #216b9b;
  color: white;
  border-color: #216b9b;
}
.rating-option input:focus-visible + span {
  outline: 3px solid #216b9b;
  outline-offset: 4px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.client-reservations {
  border-top: 1px solid var(--line);
  padding-top: 23px;
  margin-top: 28px;
}
.client-reservations > p {
  font-size: 15px;
  color: #526779;
  margin: 9px 0;
}
.reservation-card {
  padding: 17px;
  background: #fff8ed;
  border: 1px solid #dac39f;
  border-radius: 8px;
  margin-top: 15px;
}
.reservation-card .field + .field {
  margin-top: 13px;
}
.reservation-card .text-button {
  margin-top: 9px;
  color: #8c2d22;
}
.observations {
  margin-top: 25px;
}
.decision {
  margin-top: 29px;
}
.decision-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border: 1px solid #a1b8c7;
  border-radius: 8px;
  margin-top: 12px;
  padding: 16px;
  cursor: pointer;
}
.decision-option input {
  margin: 4px 0 0;
}
.decision-option strong {
  display: block;
  font-size: 17px;
}
.decision-option small {
  display: block;
  margin-top: 5px;
  font-size: 15px;
}
.decision-option:has(input:checked) {
  background: #edf5fa;
  border-color: #216b9b;
}
.decision-option:has(input:disabled) {
  background: #f6f8fa;
}
.decision-banner {
  font-size: 23px;
  font-weight: 600;
  padding: 19px 21px;
  background: #e9f5ee;
  border: 1px solid #a6cbb6;
  border-radius: 8px;
  margin-bottom: 22px;
  color: #235a40;
}
.decision-banner.reservations {
  background: #fff5e6;
  border-color: #d8b477;
  color: #75460f;
}
.decision-banner.refused {
  background: #fff0ef;
  border-color: #d79a92;
  color: #8c2d22;
}
.review-issues {
  padding: 20px;
  background: #fff6e9;
  border: 1px solid #d8b477;
  border-radius: 8px;
  margin-bottom: 25px;
}
.review-issues p {
  white-space: pre-wrap;
  margin-top: 10px;
}
.review-issues h3 + h4,
.review-issues h4 {
  margin: 17px 0 6px;
  font-size: 17px;
}
.review-checklist {
  margin: 15px 0 24px;
}
.review-group {
  margin: 20px 0 10px;
  font-size: 17px;
}
.review-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  border-bottom: 1px solid #dce6ec;
  padding: 8px 0;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.review-row p {
  grid-column: 1/-1;
  font-size: 14px;
  color: #4b6172;
  white-space: pre-wrap;
  margin-top: -4px;
}
.review-text {
  margin-bottom: 20px;
}
.review-text p {
  white-space: pre-wrap;
  margin-top: 7px;
}
.signature-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 30px 0 12px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
#signature-help,
#signature-status {
  color: #4b6172;
  font-size: 15px;
  margin-bottom: 12px;
}
.signature-wrap {
  position: relative;
  background: white;
  border: 1px solid #7696ad;
  border-radius: 8px;
  overflow: hidden;
}
.signature-wrap canvas {
  display: block;
  width: 100%;
  aspect-ratio: 2/1;
  touch-action: none;
  cursor: crosshair;
}
.signature-wrap > span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25px;
  color: #526779;
  pointer-events: none;
}
#signature-status {
  margin-top: 9px;
}
.acceptance {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #edf5fa;
  border: 1px solid #b6cfdf;
  padding: 18px;
  border-radius: 8px;
  margin: 21px 0 13px;
}
.acceptance input {
  margin: 3px 0 0;
}
.submission-note {
  font-size: 15px;
  color: #526779;
}
.form-actions {
  position: static;
  bottom: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 23px 0 25px;
  padding: 10px 16px max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #f3f6f8;
  box-shadow: 0 -5px 14px #13273a08;
}
.form-actions.is-sticky {
  position: sticky;
}
.action-context {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
#step-label {
  font-size: 13px;
  color: #526779;
}
.form-navigation {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.assistance-panel {
  background: white;
  border: 1px solid var(--line);
  padding: 24px 27px;
  border-radius: 10px;
}
.assistance-panel h2 {
  font-size: 22px;
}
.assistance-panel > p {
  font-size: 16px;
  color: #526779;
  margin: 8px 0;
}
.assistance-panel .button {
  margin-top: 15px;
}
#assistance-status {
  margin-top: 10px;
  color: #315d48;
}
.site-footer {
  max-width: 1030px;
  margin: 0 auto;
  padding: 25px 28px 38px;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  color: #4b6172;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.site-footer strong {
  font-size: 18px;
  color: #13273a;
}
.site-footer a {
  display: block;
  width: fit-content;
  min-height: 44px;
  max-width: 100%;
  line-height: 1.6;
  padding: 9px 0;
  overflow-wrap: anywhere;
}
.site-footer p {
  margin: 7px 0;
}
.privacy {
  border-top: 1px solid #b7cbd9;
}
.privacy p {
  line-height: 1.7;
}
.state-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 13px;
  max-width: 760px;
  margin: 20px auto 50px;
  padding: 44px 38px;
  text-align: center;
}
.state-card h1 {
  font-size: 30px;
}
.state-card p {
  margin-top: 17px;
  color: #4b6172;
}
.state-card .button {
  margin-top: 18px;
}
.welcome-card {
  max-width: 900px;
  text-align: left;
}
.welcome-card .welcome-intro {
  max-width: 62ch;
  font-size: 18px;
  color: var(--muted);
}
.welcome-access {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--pale);
}
.welcome-card h2 {
  margin: 0 0 8px;
  font-size: 19px;
  line-height: 1.4;
}
.welcome-card .welcome-access p,
.welcome-card .welcome-steps p,
.welcome-card .welcome-contact p {
  margin: 0;
}
.welcome-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  list-style: none;
  padding: 28px 0;
  margin: 0;
}
.welcome-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.welcome-steps li > span {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--blue);
  font-weight: 700;
}
.welcome-steps strong {
  display: block;
  margin-bottom: 6px;
}
.welcome-card .welcome-steps p {
  font-size: 15px;
  line-height: 1.6;
}
.welcome-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.welcome-contact > a {
  flex-shrink: 0;
}
.welcome-card .welcome-contact .button {
  margin-top: 0;
}
@media (max-width: 640px) {
  .welcome-steps {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0;
  }
  .welcome-contact {
    align-items: stretch;
    flex-direction: column;
  }
  .welcome-contact > a {
    justify-content: center;
  }
  .welcome-access {
    padding: 18px;
  }
}
.state-check {
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  background: #e5f3ec;
  color: #235a40;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 28px;
}
.receipt-document {
  background: #f0f7fb;
  padding: 12px 20px 24px;
  border: 1px solid #c8dce8;
  margin-top: 25px;
  border-radius: 8px;
}
.receipt-document .button {
  margin-left: 5px;
  margin-right: 5px;
}
@media (max-width: 720px) {
  .header-inner {
    padding: 20px 24px;
  }
  .brand-logo {
    width: 190px;
  }
  main {
    padding: 29px 22px 15px;
  }
  h1 {
    font-size: 31px;
  }
  .context-card {
    display: block;
  }
  .context-card > p {
    max-width: none;
    text-align: left;
    margin-top: 10px;
  }
  .step-panel {
    padding: 24px;
  }
  .steps {
    gap: 12px;
  }
  .steps button {
    font-size: 15px;
  }
  .checklist-toolbar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 0;
  }
  .checklist-toolbar label {
    margin-top: 0;
    justify-content: space-between;
  }
  .checklist-toolbar select {
    max-width: none;
    flex: 1;
    min-width: 0;
    font-size: 16px;
  }
  .check-group {
    scroll-margin-top: 130px;
  }
  .site-footer {
    gap: 25px;
    padding: 22px;
    grid-template-columns: 1fr;
  }
  .comparison {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  .header-inner {
    padding: 17px 18px;
    gap: 12px;
  }
  .brand-logo {
    width: 153px;
  }
  .group-brand img {
    width: 72px;
  }
  .header-inner .eyebrow {
    font-size: 10px;
    letter-spacing: 0.8px;
  }
  .header-inner a {
    font-size: 15px;
  }
  main {
    padding: 26px 15px 10px;
  }
  h1 {
    font-size: 29px;
  }
  h2 {
    font-size: 23px;
  }
  .intro p {
    font-size: 16px;
  }
  .context-card {
    padding: 16px;
    margin-top: 20px;
  }
  .context-card strong {
    font-size: 18px;
  }
  .context-card p {
    font-size: 14px;
  }
  .steps {
    gap: 7px;
  }
  .steps button {
    font-size: 14px;
    gap: 6px;
    align-items: flex-start;
    line-height: 1.3;
  }
  .steps button > span {
    width: 23px;
    height: 23px;
    font-size: 13px;
  }
  .save-state {
    font-size: 14px;
    align-items: flex-start;
    padding-top: 0;
  }
  .step-panel {
    padding: 21px 17px;
  }
  .panel-heading {
    gap: 10px;
  }
  .section-number {
    width: 33px;
    height: 33px;
    font-size: 14px;
  }
  .panel-heading p {
    font-size: 15px;
  }
  .metadata {
    display: block;
    padding: 15px 16px;
  }
  .metadata dt {
    font-size: 14px;
    margin-top: 12px;
  }
  .metadata dt:first-child {
    margin-top: 0;
  }
  .metadata dd {
    margin-top: 2px;
    font-size: 16px;
  }
  .checklist-toolbar h3 {
    font-size: 18px;
  }
  .checklist-toolbar label {
    display: flex;
    font-size: 14px;
  }
  .checklist-toolbar select {
    max-width: none;
    margin-top: 0;
  }
  .check-group > summary {
    font-size: 16px;
    padding: 14px;
  }
  .group-count {
    display: block;
    margin-left: 15px;
    font-size: 14px;
  }
  .check-row {
    padding: 14px;
  }
  .check-row-top {
    display: block;
  }
  .check-row-top > span {
    display: block;
    margin-top: 8px;
  }
  .check-row strong {
    font-size: 16px;
  }
  .check-row p {
    font-size: 15px;
  }
  .fields {
    grid-template-columns: 1fr;
    gap: 19px;
  }
  .section-title {
    display: block;
  }
  .section-title .button {
    margin-top: 13px;
  }
  .button {
    font-size: 15px;
    padding: 10px 14px;
  }
  .form-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    padding: 10px 0 max(10px, env(safe-area-inset-bottom));
  }
  .form-navigation {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .form-navigation .primary {
    margin-left: auto;
  }
  .notice {
    padding: 15px;
  }
  .rating-options {
    gap: 7px;
  }
  .reservation-card {
    padding: 14px;
  }
  .decision-option {
    padding: 14px;
    gap: 10px;
  }
  .decision-option strong {
    font-size: 17px;
  }
  .decision-option small {
    font-size: 15px;
  }
  .review-row {
    font-size: 15px;
    gap: 8px;
  }
  .review-row p {
    font-size: 14px;
  }
  .review-issues {
    padding: 16px;
  }
  .decision-banner {
    font-size: 22px;
    padding: 16px;
  }
  .signature-wrap canvas {
    aspect-ratio: 2/1;
  }
  .signature-heading {
    align-items: flex-start;
  }
  .signature-heading h3 {
    font-size: 18px;
  }
  .signature-heading .button {
    min-width: 77px;
  }
  .acceptance {
    font-size: 16px;
    padding: 15px;
    gap: 10px;
  }
  .assistance-panel {
    padding: 20px 18px;
  }
  .state-card {
    padding: 32px 22px;
  }
  .state-card h1 {
    font-size: 27px;
  }
  .site-footer {
    padding: 21px 18px 28px;
  }
  .button-row {
    display: block;
  }
  .button-row .button {
    margin-top: 10px;
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
.technical-progress {
  font-size: 16px;
  color: #36596e;
  margin: 0 0 16px;
}
.technical-check legend {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  max-width: 100%;
  padding: 0 3px;
}
.technical-check {
  padding-top: 8px;
}
.technical-choices {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 5px;
}
.check-choice {
  position: relative;
  display: block;
  cursor: pointer;
}
.check-choice input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.check-choice span {
  display: grid;
  place-items: center;
  min-width: 63px;
  min-height: 44px;
  border: 1px solid #8ea9bd;
  border-radius: 7px;
  padding: 8px 14px;
  color: #294e68;
  background: white;
}
.check-choice input:checked + span {
  background: #216b9b;
  color: white;
  border-color: #216b9b;
  font-weight: 600;
}
.check-choice input[value="non"]:checked + span {
  background: #fff0e8;
  color: #8a3c1e;
  border-color: #b96e46;
}
.check-choice input:focus-visible + span {
  outline: 3px solid #216b9b;
  outline-offset: 3px;
}
.technical-blocking {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  margin-top: 0;
  color: #75460f;
}
.technical-blocking input {
  margin: 0;
}
.technical-detail {
  margin-top: 10px;
}
.technical-remark {
  margin-top: 0;
}
.technical-remark summary {
  color: #244f6d;
  font-size: 15px;
}
.technical-remark textarea {
  font-size: 17px;
}
.technical-check .field {
  margin-bottom: 4px;
}

#assistance-status[data-state="error"] {
  color: #8c2d22;
}
#assistance-status[data-state="saving"] {
  color: var(--muted);
}
html {
  scroll-padding-bottom: 150px;
}
html:has(.save-state[data-state="error"]) {
  scroll-padding-bottom: 260px;
}
@media (max-width: 480px) {
  .technical-choices {
    display: grid;
    grid-template-columns: minmax(44px, 1fr) minmax(44px, 1fr) minmax(0, 1.5fr);
    gap: 6px;
  }
  .check-choice {
    min-width: 0;
  }
  .check-choice span {
    min-width: 0;
    padding: 8px 6px;
    font-size: 15px;
    white-space: nowrap;
  }
  .form-navigation .button {
    min-width: 0;
    padding-inline: 10px;
  }
}
@media (max-height: 560px) {
  .form-actions.is-sticky,
  .checklist-toolbar {
    position: static;
  }
  html {
    scroll-padding-bottom: 16px;
  }
}

.signature-wrap:focus-within {
  outline: 3px solid #216b9b;
  outline-offset: 3px;
}

/* Photo evidence stays in the same private reception dossier. */
.site-photos, .review-photos {
  scroll-margin-top: 120px;
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 22px;
}
.optional-label { font-size: 14px; font-weight: 400; color: #476478; }
.photo-picker { margin-top: 18px; }
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.photo-card { border: 1px solid var(--line); border-radius: 8px; padding: 12px; min-width: 0; background: white; }
.photo-card img { display: block; width: 100%; height: 170px; object-fit: contain; background: #f0f5f8; border-radius: 4px; margin-bottom: 10px; }
.photo-card strong { display: block; overflow-wrap: anywhere; font-size: 15px; }
.photo-card small { display: block; color: #476478; margin: 5px 0 10px; }
.photo-card p { margin: 8px 0; font-size: 15px; }
.photo-card .photo-error { color: #9d2929; }
.photo-card .photo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#photo-status { margin: 12px 0; color: #476478; }
#photo-status[data-state="error"] { color: #9d2929; }
@media (max-width: 480px) { .photo-grid { grid-template-columns: 1fr; } }

.optional-check-heading {
  margin: 24px 0 12px;
  color: #13273a;
  font-size: 18px;
}

/* Keep the client's task ahead of supporting installation details. */
.installation-details {
  border-block: 1px solid var(--line);
  margin-bottom: 16px;
}
.installation-details > summary {
  min-height: 44px;
  padding-block: 10px;
  font-size: 15px;
  color: #36596e;
}
.installation-details > summary span {
  font-weight: 400;
  color: var(--muted);
  margin-left: 8px;
}
.installation-details[open] { padding-bottom: 12px; }
.technical-answer {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  column-gap: 20px;
  row-gap: 2px;
}
.technical-answer .technical-choices { margin-top: 0; }
.technical-answer .technical-blocking { margin-top: 0; }
.technical-answer .technical-remark { margin: 0; }
.technical-answer .technical-remark summary {
  min-height: 44px;
  padding-block: 10px;
  font-size: 14px;
}
.technical-answer .technical-remark[open] { flex: 1 0 100%; }
.technical-check { padding-bottom: 10px; }
@media (max-width: 720px) {
  main { padding-top: 20px; }
  .step-panel { padding: 20px; }
  .panel-heading { margin-bottom: 16px; }
  .form-actions { gap: 10px; }
}
@media (max-width: 480px) {
  h1 { font-size: 26px; }
  h2 { font-size: 22px; }
  main { padding-top: 20px; }
  .context-card { margin-top: 16px; padding: 12px 14px; }
  .progress-bar { margin-block: 18px 16px; }
  .step-panel { padding: 18px 16px; }
  .panel-heading p { font-size: 15px; line-height: 1.45; }
  .section-number { width: 34px; height: 34px; font-size: 14px; }
  .installation-details > summary span { display: none; }
  .technical-answer { column-gap: 12px; }
  .technical-answer .technical-choices { flex: 0 0 100%; }
  .technical-answer .technical-blocking { font-size: 14px; }
  .technical-check { padding: 8px 12px 10px; }
  .form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding-block: 10px max(10px, env(safe-area-inset-bottom));
  }
  .action-context { gap: 2px; }
  .save-state { font-size: 12px; line-height: 1.4; }
  .form-navigation { width: auto; gap: 6px; }
  .form-navigation .button { padding-inline: 10px; }
  .form-actions:has(.save-state[data-state="error"]) {
    grid-template-columns: 1fr;
  }
  .form-actions:has(#submit:not([hidden])) { grid-template-columns: 1fr; }
  .form-actions:has(#submit:not([hidden])) .form-navigation { justify-content: space-between; }
}
@media (max-width: 360px) {
  .technical-answer { column-gap: 8px; }
  .technical-answer .technical-blocking { gap: 6px; font-size: 13px; }
  .technical-answer .technical-remark summary { font-size: 13px; }
}

.checklist-toolbar .technical-progress {
  margin: 3px 0 0;
  font-size: 14px;
  line-height: 1.35;
}
@media (max-width: 720px) {
  .checklist-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(130px, 1.2fr);
    align-items: center;
    gap: 12px;
    padding-block: 10px;
  }
  .checklist-status h3 { font-size: 17px; }
  .checklist-toolbar label { display: grid; gap: 3px; font-size: 13px; }
  .checklist-toolbar select { width: 100%; }
}

#success .support-phone { display: inline-block; }
