* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #dff2fb;
  --surface: #ffffff;
  --surface-soft: #f7fbfe;
  --ink: #162033;
  --ink-soft: #425568;
  --muted: #657084;
  --line: #d8e8f2;
  --line-strong: #b8d7e8;
  --brand: #1f8fbd;
  --brand-strong: #126f98;
  --brand-deep: #0f587c;
  --accent: #5aa56d;
  --accent-soft: #edf8f1;
  --danger: #b42318;
  --danger-soft: #fff1ef;
  --shadow-sm: 0 1px 2px rgba(20, 43, 76, 0.06);
  --shadow-md: 0 14px 34px rgba(20, 43, 76, 0.09);
  --shadow-lg: 0 22px 58px rgba(20, 43, 76, 0.14);
  --radius: 22px;
  --radius-sm: 16px;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.56), rgba(223, 242, 251, 0) 360px),
    linear-gradient(180deg, rgba(56, 182, 255, 0.14), rgba(223, 242, 251, 0) 330px),
    var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button,
input {
  font: inherit;
}

.page {
  width: min(820px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.pinsight-public-entry {
  display: flex;
  min-height: 100vh;
  width: min(100%, 460px);
  margin-inline: auto;
  padding: 32px 24px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}

.pinsight-public-entry h1,
.pinsight-public-entry p { margin: 0; }
.pinsight-public-entry img { display: block; }
.pinsight-public-entry p { color: var(--ink-soft); }
.pinsight-public-entry a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 8px 20px;
  border-radius: 8px;
  background: var(--brand-strong);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.pinsight-public-entry a:hover { background: var(--brand-deep); }
.pinsight-public-entry a:focus-visible { outline: 2px solid var(--brand-deep); outline-offset: 4px; }

.questionnaire,
.questionnaire-wizard {
  display: grid;
  gap: 16px;
}

.staff-entry-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-sm);
}

.staff-entry-banner div {
  display: grid;
  gap: 1px;
}

.staff-entry-banner strong {
  color: var(--brand-deep);
  font-size: 14px;
}

.staff-entry-banner span {
  color: var(--muted);
  font-size: 13px;
}

.staff-entry-banner a {
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.correction-reason {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.correction-reason span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 750;
}

.correction-reason textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.correction-reason small {
  color: var(--muted);
}

.wizard-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 4px 0 2px;
}

.wizard-header h1,
.done h1 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1.06;
}

.wizard-header p,
.done p,
.intro-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.wizard-header p {
  max-width: 660px;
  font-size: 15px;
}

.progress-card {
  min-width: 112px;
  padding: 9px 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow:
    0 0 0 1px rgba(184, 215, 232, 0.46),
    0 8px 18px rgba(20, 43, 76, 0.04);
  text-align: right;
}

.progress-card span,
.field-label,
.completion-date span,
.other-respondent span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 740;
}

.progress-card strong {
  display: block;
  margin-top: 2px;
  color: #20364d;
  font-size: 19px;
  font-weight: 760;
  line-height: 1.08;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 0 0 1px rgba(184, 215, 232, 0.72);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width 180ms ease;
}

.save-status {
  min-height: 21px;
  margin: -5px 0 1px;
  color: var(--muted);
  font-size: 13px;
}

.save-status[data-state="saving"] {
  color: var(--brand-strong);
}

.save-status[data-state="saved"] {
  color: #3c7b4f;
}

.save-status[data-state="error"] {
  color: var(--danger);
}

.alert {
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  color: var(--danger);
  box-shadow: 0 0 0 1px rgba(180, 35, 24, 0.18);
}

.wizard-step {
  display: none;
}

.wizard-step.is-active {
  display: block;
}

.intro-card,
.respondent-card,
.item,
.done {
  margin: 0;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 255, 0.96));
  box-shadow:
    0 0 0 1px rgba(184, 215, 232, 0.72),
    var(--shadow-lg);
}

.intro-card {
  padding: 24px;
}

.intro-card::before {
  content: "Antes de começar";
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #2f7444;
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.intro-card p {
  color: var(--ink-soft);
  font-size: 17px;
}

.respondent-card,
.item {
  min-inline-size: 0;
  padding: 24px;
}

.done {
  max-width: 640px;
  padding: 30px;
}

.done-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: 32px;
  padding-bottom: 32px;
  background: transparent;
  box-shadow: none;
}

.done-card {
  width: min(620px, 100%);
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 255, 0.96));
  box-shadow:
    0 0 0 1px rgba(184, 215, 232, 0.72),
    var(--shadow-lg);
  text-align: center;
}

.done-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #2f7444;
  font-size: 28px;
  font-weight: 840;
  box-shadow: 0 0 0 1px rgba(90, 165, 109, 0.18);
}

.done-card h1 {
  margin-bottom: 10px;
}

.done-card p {
  max-width: 500px;
  margin-right: auto;
  margin-left: auto;
}

.done-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(184, 215, 232, 0.72);
  color: var(--ink-soft);
  font-size: 15px;
}

.respondent-card legend,
.item legend {
  display: block;
  width: 100%;
  padding: 0;
  color: var(--ink);
  font-weight: 820;
  line-height: 1.24;
}

.respondent-card legend {
  margin-bottom: 18px;
  font-size: 21px;
}

.item legend {
  float: left;
  clear: both;
  margin-bottom: 20px;
}

.item-number {
  display: block;
  margin-bottom: 7px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 860;
  letter-spacing: 0;
  text-transform: uppercase;
}

.item-text {
  display: block;
  max-width: 720px;
  color: var(--ink);
  font-size: clamp(21px, 3vw, 27px);
  font-weight: 820;
  line-height: 1.12;
}

.completion-date,
.other-respondent {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.respondent-card > div {
  margin-top: 18px;
}

.respondent-options,
.options {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.respondent-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.options {
  clear: both;
  grid-template-columns: 1fr;
}

.respondent-options label,
.options label {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 56px;
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
  cursor: pointer;
  transition:
    background 140ms ease,
    box-shadow 140ms ease,
    transform 140ms ease;
}

.respondent-options label:hover,
.options label:hover {
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(31, 143, 189, 0.42),
    var(--shadow-sm);
  transform: translateY(-1px);
}

.respondent-options label:has(input:checked),
.options label:has(input:checked) {
  background: #e8f7fb;
  box-shadow:
    0 0 0 2px var(--brand),
    0 10px 24px rgba(31, 143, 189, 0.12);
}

.respondent-options label span,
.options label span {
  min-width: 0;
  overflow-wrap: anywhere;
}

input[type="radio"] {
  width: 19px;
  height: 19px;
  accent-color: var(--brand);
  flex: 0 0 auto;
}

input[type="date"],
input[type="text"] {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--line);
}

input[type="date"]:focus,
input[type="text"]:focus,
.respondent-options label:focus-within,
.options label:focus-within {
  outline: 3px solid rgba(31, 143, 189, 0.16);
  outline-offset: 2px;
}

.wizard-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 0 4px;
  background:
    linear-gradient(180deg, rgba(223, 242, 251, 0), rgba(223, 242, 251, 0.96) 38%, var(--bg));
}

button {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand), #1d9fe3);
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(18, 134, 201, 0.2);
  font-size: 16px;
  font-weight: 840;
  cursor: pointer;
  transition:
    background 140ms ease,
    box-shadow 140ms ease,
    opacity 140ms ease,
    transform 140ms ease;
}

button:hover {
  background: linear-gradient(135deg, #42b7ee, var(--brand-strong));
  box-shadow: 0 16px 32px rgba(18, 134, 201, 0.24);
  transform: translateY(-1px);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
  transform: none;
  box-shadow: none;
}

.secondary-action {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(184, 215, 232, 0.88);
}

.secondary-action:hover {
  background: #ffffff;
  color: var(--brand-deep);
  box-shadow:
    0 0 0 1px rgba(31, 143, 189, 0.34),
    var(--shadow-sm);
}

.wizard-actions [data-submit] {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--accent), #2f8a52);
  box-shadow: 0 14px 28px rgba(47, 138, 82, 0.18);
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .page {
    width: min(100% - 20px, 820px);
    padding-top: 16px;
    padding-bottom: 28px;
  }

  .wizard-header {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .staff-entry-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .progress-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .wizard-header h1,
  .done h1 {
    font-size: 26px;
  }

  .wizard-header p {
    font-size: 14px;
  }

  .respondent-options {
    grid-template-columns: 1fr;
  }

  .intro-card,
  .respondent-card,
  .item,
  .done {
    border-radius: 18px;
  }

  .intro-card,
  .respondent-card,
  .item {
    padding: 18px;
  }

  .done-page {
    min-height: 100vh;
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .done-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .done-check {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    font-size: 25px;
  }

  .respondent-card legend {
    font-size: 19px;
  }

  .item-text {
    font-size: 22px;
  }

  .respondent-options label,
  .options label {
    min-height: 58px;
    padding: 13px;
  }
}

@media (max-width: 420px) {
  .page {
    width: min(100% - 16px, 820px);
  }

  .wizard-actions {
    grid-template-columns: 1fr;
  }

  .done-card {
    padding: 24px 18px;
  }

  .done-note {
    font-size: 14px;
  }

  .item-text {
    font-size: 20px;
  }
}
.qualitative-page { width: min(1040px, calc(100% - 32px)); }
.qualitative-form { display: grid; gap: 18px; }
.qualitative-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 24px; align-items: end; padding: 8px 2px 4px; }
.qualitative-header h1 { max-width: 760px; margin: 5px 0 6px; color: var(--ink); font-size: clamp(28px, 4vw, 42px); line-height: 1.05; letter-spacing: 0; }
.qualitative-header p { margin: 0; color: var(--muted); }
.qualitative-eyebrow { color: var(--brand-strong); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.qualitative-child { display: grid; gap: 2px; padding: 14px 16px; border-left: 3px solid var(--brand); background: rgba(255, 255, 255, .58); }
.qualitative-child small, .qualitative-child span { color: var(--muted); font-size: 12px; }
.qualitative-child strong { font-size: 16px; }
.qualitative-intro, .qualitative-section, .qualitative-correction { border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-md); }
.qualitative-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 28px; align-items: center; padding: 20px 22px; }
.qualitative-intro > p { margin: 0; color: var(--ink-soft); }
.technician-contact { display: grid; gap: 2px; padding-left: 18px; border-left: 1px solid var(--line); }
.technician-contact span { color: var(--muted); font-size: 12px; font-weight: 700; }
.technician-contact a { color: var(--brand-strong); font-size: 14px; overflow-wrap: anywhere; }
.qualitative-correction { margin: 0; padding: 18px 22px; }
.qualitative-section { padding: 24px; }
.qualitative-section-heading { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 22px; }
.qualitative-section-heading > span { display: grid; width: 32px; height: 32px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--brand); color: white; font-size: 13px; font-weight: 850; }
.qualitative-section-heading h2 { margin: 0; color: var(--ink); font-size: 21px; letter-spacing: 0; }
.qualitative-section-heading p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.qualitative-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.qualitative-fields label, .item-example { display: grid; gap: 7px; }
.qualitative-fields label > span, .item-example > span { color: var(--ink-soft); font-size: 13px; font-weight: 760; }
.qualitative-fields small, .item-example small { color: var(--muted); font-weight: 500; }
.qualitative-fields input, .narrative-field textarea, .item-example textarea { width: 100%; border: 1px solid var(--line); border-radius: 7px; background: white; color: var(--ink); font: inherit; }
.qualitative-fields input { min-height: 46px; padding: 9px 11px; }
.qualitative-fields .email-copy-choice { grid-column: 1 / -1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 11px; align-items: start; padding: 14px 15px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); cursor: pointer; }
.qualitative-fields .email-copy-choice > input { width: 18px; min-height: 18px; margin: 2px 0 0; padding: 0; accent-color: var(--brand); }
.qualitative-fields .email-copy-choice > span { display: grid; gap: 3px; }
.qualitative-fields .email-copy-choice strong { color: var(--ink); font-size: 14px; line-height: 1.35; }
.qualitative-fields .email-copy-choice small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.narrative-fields { display: grid; gap: 18px; }
.narrative-field { display: grid; gap: 7px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.narrative-field:last-child { padding-bottom: 0; border-bottom: 0; }
.narrative-field strong { color: var(--brand-deep); font-size: 16px; }
.narrative-field > span { color: var(--muted); font-size: 13px; }
.narrative-field textarea, .item-example textarea { min-height: 116px; padding: 11px 12px; resize: vertical; }
.response-key { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.response-key span { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 7px; align-items: center; min-height: 54px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink-soft); font-size: 12px; }
.response-key strong { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #e7f5fb; color: var(--brand-deep); }
.past-note { margin: 14px 0 0; color: var(--muted); font-size: 13px; }
.nursery-items { display: grid; gap: 11px; }
.nursery-item { min-width: 0; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface-soft); }
.nursery-item legend { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 7px; width: 100%; padding: 0 0 12px; color: var(--ink); font-weight: 700; }
.nursery-item legend b { color: var(--brand-strong); }
.nursery-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.nursery-options label { cursor: pointer; }
.nursery-options input { position: absolute; opacity: 0; pointer-events: none; }
.nursery-options label > span { display: grid; min-height: 54px; padding: 7px; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: white; text-align: center; }
.nursery-options strong { color: var(--brand-deep); font-size: 17px; }
.nursery-options small { color: var(--muted); font-size: 10px; line-height: 1.15; }
.nursery-options label:has(input:checked) > span { border-color: var(--brand); background: #e8f7fb; box-shadow: 0 0 0 1px var(--brand); }
.past-observation { display: inline-flex; gap: 8px; align-items: center; margin-top: 11px; color: var(--muted); font-size: 12px; cursor: pointer; }
.past-observation input { width: 17px; height: 17px; accent-color: var(--brand); }
.item-example { margin-top: 13px; }
.item-example textarea { min-height: 70px; }
.qualitative-submit { position: sticky; bottom: 0; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 18px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 8px; background: rgba(247, 252, 254, .96); box-shadow: 0 -8px 26px rgba(20, 43, 76, .08); backdrop-filter: blur(8px); }
.qualitative-submit p { margin: 0; color: var(--muted); font-size: 13px; }
.qualitative-submit p[data-state="saved"] { color: #3c7b4f; }
.qualitative-submit p[data-state="error"] { color: var(--danger); }
.qualitative-submit button { min-height: 48px; border-radius: 7px; }
@media (max-width: 760px) {
  .qualitative-page { width: min(100% - 18px, 1040px); }
  .qualitative-header, .qualitative-intro { grid-template-columns: 1fr; }
  .qualitative-child, .technician-contact { padding-left: 13px; }
  .qualitative-fields, .response-key { grid-template-columns: 1fr 1fr; }
  .qualitative-section { padding: 18px 14px; }
  .nursery-options { grid-template-columns: repeat(4, minmax(48px, 1fr)); }
  .nursery-options small { display: none; }
  .qualitative-submit { grid-template-columns: 1fr; }
}
@media (max-width: 430px) {
  .qualitative-fields, .response-key { grid-template-columns: 1fr; }
  .qualitative-header h1 { font-size: 27px; }
}

/* Public care agreements */
.agreement-public-body { min-height: 100vh; margin: 0; background: #eef8fc; color: #102b42; }
.agreement-sitebar { display: flex; min-height: 58px; align-items: center; gap: 9px; padding: 8px max(16px, calc((100vw - 920px) / 2)); border-bottom: 1px solid #c9e0ea; background: rgba(255, 255, 255, 0.88); color: #0b5278; }
.agreement-sitebar img { flex: 0 0 auto; }
.agreement-sitebar strong { font-size: 1rem; letter-spacing: 0; }
.agreement-public-page { width: min(100% - 32px, 920px); margin: 0 auto; padding: 28px 0 54px; }
.agreement-public-header { display: grid; justify-items: center; gap: 14px; padding: 6px 0 22px; border-bottom: 1px solid #bddbe9; text-align: center; }
.agreement-public-header img { width: min(300px, 72vw); height: auto; }
.agreement-public-header h1 { margin: 0; font-size: clamp(1.45rem, 4vw, 2.15rem); line-height: 1.12; }
.agreement-public-header p { margin: -5px 0 0; color: #607687; }
.agreement-public-summary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 18px 0; border-block: 1px solid #c9e0ea; }
.agreement-public-summary > div { display: grid; gap: 3px; padding: 12px 15px; border-right: 1px solid #d5e7ef; }
.agreement-public-summary > div:nth-child(2n) { border-right: 0; }
.agreement-public-summary span { color: #607687; font-size: 0.72rem; font-weight: 750; }
.agreement-public-document { padding: 25px 28px; border: 1px solid #c5deea; border-radius: 8px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 14px 34px rgba(33, 92, 121, 0.08); }
.agreement-public-document p, .agreement-public-document li { font-size: 0.94rem; line-height: 1.65; }
.agreement-public-document h2 { margin: 28px 0 10px; color: #0a628e; font-size: 1.08rem; }
.agreement-public-document ol { display: grid; gap: 10px; padding-left: 25px; }
.agreement-public-privacy { margin-top: 30px; padding-top: 16px; border-top: 1px solid #dceaf0; color: #607687; font-size: 0.78rem !important; }
.agreement-public-acceptance { display: grid; gap: 16px; margin-top: 18px; padding: 24px 28px; border: 1px solid #aed5e7; border-radius: 8px; background: #fff; }
.agreement-public-acceptance > div > span { color: #1680ad; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.agreement-public-acceptance h2 { margin: 4px 0; font-size: 1.15rem; }
.agreement-public-acceptance p { margin: 0; color: #607687; }
.agreement-signer-reference { display: grid; gap: 4px; padding: 14px 16px; border: 1px solid #8bc8e3; border-left: 4px solid #1680ad; border-radius: 6px; background: #f1faff; }
.agreement-signer-reference > span { color: #336579; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; }
.agreement-signer-reference > strong { color: #092f4b; font-size: 1.12rem; overflow-wrap: anywhere; }
.agreement-signer-reference > small { color: #607687; line-height: 1.4; }
.agreement-public-acceptance label:not(.agreement-public-check) { display: grid; gap: 6px; font-weight: 750; }
.agreement-public-acceptance input[type="text"] { min-height: 46px; padding: 9px 11px; border: 1px solid #a9ccdd; border-radius: 6px; font: inherit; }
.agreement-public-check { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 9px; padding: 12px; border: 1px solid #c7e0eb; border-radius: 6px; background: #f5fbfe; }
.agreement-public-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: #1680ad; }
.agreement-public-check a { color: #086f9f; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.agreement-public-check a:hover { color: #064f72; }
.agreement-public-acceptance button, .agreement-public-done a { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 10px 18px; border: 0; border-radius: 6px; background: #167fa9; color: #fff; font: inherit; font-weight: 800; text-decoration: none; }
.agreement-public-acceptance > small, .agreement-public-done small { color: #667b89; line-height: 1.45; }
.agreement-public-alert { padding: 12px 14px; border: 1px solid #e5b1a7; border-left: 4px solid #b93527; border-radius: 6px; background: #fff4f2; color: #7c281f; }
.agreement-public-done { display: grid; min-height: 100vh; padding: 24px; place-items: center; }
.agreement-public-done > section { display: grid; width: min(100%, 600px); gap: 12px; padding: 32px; border: 1px solid #c5deea; border-radius: 8px; background: #fff; text-align: center; box-shadow: 0 18px 40px rgba(33, 92, 121, 0.1); }
.agreement-public-done h1, .agreement-public-done p { margin: 0; }
.address-change img { justify-self: center; }
.address-change h1 { font-size: 1.75rem; letter-spacing: 0; }
.address-change h2 { margin: 10px 0 0; font-size: 1rem; }
.address-change a { justify-self: center; gap: 8px; }
.address-change p { line-height: 1.55; }
.agreement-public-done > section > span { color: #1680ad; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }

@media (max-width: 620px) {
  .agreement-public-page { width: min(100% - 20px, 920px); padding-top: 16px; }
  .agreement-public-summary { grid-template-columns: 1fr; }
  .agreement-public-summary > div { border-right: 0; border-bottom: 1px solid #d5e7ef; }
  .agreement-public-summary > div:last-child { border-bottom: 0; }
  .agreement-public-document, .agreement-public-acceptance { padding: 19px 16px; }
  .agreement-public-done { padding: 12px; }
  .agreement-public-done > section { padding: 26px 18px; }
}
.agreement-public-section-note { margin-top: -5px; color: #607687; font-size: 0.84rem !important; }
.agreement-consent-page { width: min(100% - 32px, 780px); }
.agreement-consent-document { margin-top: 20px; }
.agreement-consent-document > p { white-space: pre-wrap; }
