:root {
  color-scheme: light;
  --ink: #17273c;
  --muted: #486078;
  --surface: #fff;
  --quiet: #f4f8fc;
  --line: #dbe5ef;
  --accent: #1357a5;
  --accent-hover: #10437f;
  --tint: #e8f1fb;
  --border-strong: #a9bfd4;
  --sidebar-width: 202px;
  --mobile-nav-height: 108px;
  --table-head-top: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.proposal-layout { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
.document { min-width: 0; }
.wrap { width: min(100% - 80px, 860px); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: translateY(0); }

.top {
  position: sticky;
  z-index: 5;
  top: 0;
  align-self: start;
  height: 100dvh;
  min-height: 0;
  background: var(--surface);
  border-right: 1px solid var(--line);
}
.topinner {
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  overflow-y: auto;
  padding: 24px 17px 18px;
}
.brand {
  display: block;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.top .brand { padding-inline: 8px; }
.top nav { display: grid; gap: 4px; font-size: 14px; }
.top nav a { display: block; padding: 7px 10px; border-radius: 8px; color: var(--muted); }
.top nav a:hover { color: var(--accent); background: var(--quiet); }
.top nav a[aria-current="location"] { color: var(--accent-hover); background: var(--tint); font-weight: 650; }
.logout:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.plain { border: 1px solid var(--line); border-radius: 5px; padding: 7px 12px; background: var(--surface); color: var(--accent); }
.logout { margin-top: auto; padding-inline: 8px; align-self: flex-start; border: 0; background: transparent; }

.hero { padding: 53px 0 34px; }
.hero p { max-width: 58ch; color: var(--muted); font-size: 16px; }
.view-options { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 19px; }
.view-options label { color: var(--muted); font-size: 13px; font-weight: 650; }
.view-options select { min-height: 36px; max-width: 100%; padding: 4px 8px; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; }
.hero .exchange-note, .exchange-note { margin-top: 8px; color: var(--muted); font-size: 12px; }
.total-secondary { margin: 2px 0; color: var(--muted); font-size: 15px; font-weight: 650; }
.mobile-total-values { display: grid; line-height: 1.25; }
.mobile-total-values small { font-size: 10px; color: var(--muted); }
h1 { margin-bottom: 10px; font-size: clamp(32px, 4vw, 45px); line-height: 1.15; font-weight: 680; letter-spacing: -.035em; }
h2 { font-size: clamp(24px, 3vw, 29px); line-height: 1.2; font-weight: 670; letter-spacing: -.025em; }
h3 { margin-bottom: 7px; font-size: 17px; line-height: 1.35; letter-spacing: -.015em; font-weight: 670; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 23px; }
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 44px;
  padding: 10px 17px;
  border: 1px solid transparent;
  border-radius: 5px;
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 650;
}
.primary { background: var(--accent); color: white; }
.primary:hover:not(:disabled) { background: var(--accent-hover); }
.outline { border-color: var(--border-strong); background: var(--surface); color: var(--accent); }
.outline:hover:not(:disabled), .plain:hover:not(:disabled) { background: var(--quiet); }
.textbtn { color: var(--accent); background: transparent; padding: 8px; }
.textbtn:hover:not(:disabled) { background: var(--tint); }

.section { border-top: 1px solid var(--line); padding: 33px 0 40px; }
.sectionhead { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 10px 24px; margin-bottom: 24px; }
.sectionhead p { max-width: 69ch; margin-top: 7px; color: var(--muted); }
.sectionhead .glossary-hint { font-size: 12px; }
.glossary-term {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 2px;
  color: var(--accent);
  background: transparent;
  font: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  text-decoration: underline dotted;
  text-underline-offset: .2em;
  cursor: help;
}
.glossary-term.glossary-open { color: var(--accent-hover); text-decoration-style: solid; }
.glossary-tooltip {
  position: fixed;
  z-index: 15;
  width: max-content;
  max-width: min(280px, calc(100vw - 24px));
  padding: 10px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 4px 16px #17273c20;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.glossary-tooltip::after { position: absolute; inset-inline: 0; height: 8px; content: ""; }
.glossary-tooltip[data-placement="above"]::after { top: 100%; }
.glossary-tooltip[data-placement="below"]::after { bottom: 100%; }
.sectionhead > p { flex-basis: 100%; margin-top: 0; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.plan {
  --plan-accent: var(--accent);
  --plan-accent-hover: var(--accent-hover);
  --plan-tint: var(--tint);
  --plan-line: var(--border-strong);
  --plan-padding: 19px;
  --plan-banner: url("/images/capa-essencial.jpg");
  --banner-base: #081a37;
  --banner-scrim: #06162cc2;
  --banner-title: #a9d8ff;
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  min-width: 0;
  padding-bottom: var(--plan-padding);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.plan.growth {
  --plan-accent: #18645e;
  --plan-accent-hover: #124b46;
  --plan-tint: #e7f4ef;
  --plan-line: #a5cfc3;
  --plan-banner: url("/images/capa-growth.jpg");
  --banner-base: #062b28;
  --banner-scrim: #052521c2;
  --banner-title: #a1e8d3;
}
.plan.full {
  --plan-accent: #76520b;
  --plan-accent-hover: #5c3e07;
  --plan-tint: #fff1cf;
  --plan-line: #d7b66b;
  --plan-banner: url("/images/capa-full-service.jpg");
  --banner-base: #332007;
  --banner-scrim: #241505c2;
  --banner-title: #f5d68c;
}
.plan:has(.plan-choice[aria-pressed="true"]) { border-color: var(--plan-accent); }
.plan h3 {
  display: flex;
  align-items: center;
  min-height: 66px;
  aspect-ratio: 2.65;
  margin: 0;
  padding: 12px var(--plan-padding);
  border-bottom: 1px solid var(--plan-line);
  border-radius: 9px 9px 0 0;
  background-color: var(--banner-base);
  background-image: linear-gradient(90deg, var(--banner-scrim) 24%, transparent 76%), var(--plan-banner);
  background-position: center, right center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--banner-title);
  font-size: clamp(18px, 2.35vw, 22px);
  font-weight: 740;
  letter-spacing: -.025em;
}
@supports (background-clip: text) {
  .plan h3 span {
    background-image: linear-gradient(#fff 24%, var(--banner-title) 90%);
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 2px #0009);
  }
}
.plan > :not(h3) { margin-inline: var(--plan-padding); }
.price { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; font-weight: 700; letter-spacing: -.038em; font-variant-numeric: tabular-nums; }
.plan .price { margin-top: 14px; }
.price small { margin-left: 7px; color: var(--muted); font-size: 12px; letter-spacing: 0; font-weight: 500; white-space: nowrap; }
.plan-description { margin: 9px 0 15px; color: var(--muted); font-size: 13px; }
.plan-capacity { display: grid; grid-template-columns: 1fr 1fr; margin: 0 0 16px; padding-top: 11px; border-top: 1px solid var(--line); }
.plan-capacity div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.plan-capacity dt { color: var(--muted); font-size: 11px; }
.plan-capacity dd { margin: 1px 0 0; font-size: 14px; font-weight: 650; }
.plan-choice { padding-inline: 8px; border-color: var(--plan-line); background: var(--surface); color: var(--plan-accent); font-size: 13px; }
.plan-choice:hover:not(:disabled) { background: var(--plan-tint); }
.plan-choice:focus-visible { outline-color: var(--plan-accent); }
.plan-choice[aria-pressed="true"] { border-color: var(--plan-accent); background: var(--plan-accent); color: var(--surface); }
.plan-choice[aria-pressed="true"]:hover:not(:disabled) { background: var(--plan-accent-hover); }

.shared-scope { margin-top: 17px; }
.shared-scope h3 { margin-bottom: 4px; font-size: 15px; }
.shared-scope p { color: var(--muted); font-size: 14px; }
.exclusions { padding-top: 15px; border-top: 1px solid var(--line); }
.comparison { margin-top: 26px; }
.comparison > h3 { margin-bottom: 4px; font-size: 21px; }
.comparison > p { margin-bottom: 14px; color: var(--muted); font-size: 13px; }
#planComparison { overflow: clip; border-block: 1px solid var(--line); }
.scope-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 13px; line-height: 1.35; }
.scope-table thead th { position: sticky; z-index: 1; top: var(--table-head-top); height: 44px; background: var(--surface); font-weight: 700; box-shadow: inset 0 -1px var(--line); }
.scope-table thead th:first-child { width: 43%; }
.scope-table th, .scope-table td { padding: 10px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.scope-table th:first-child { text-align: left; padding-left: 3px; }
.scope-table th[scope="row"] { font-weight: 550; }
.scope-table tbody:last-child tr:last-child > * { border-bottom: 0; }
.scope-table .scope-group th { padding-top: 11px; padding-bottom: 9px; color: var(--accent-hover); background: var(--quiet); font-size: 12px; font-weight: 680; }
.scope-included { color: var(--accent-hover); font-variant-numeric: tabular-nums; font-weight: 680; }
.scope-excluded { color: var(--muted); }

.partnership-terms { display: grid; gap: 19px; max-width: 68ch; margin-bottom: 23px; }
.partnership-terms h3 { margin-bottom: 4px; }

.terms-disclosure { border: 1px solid var(--line); border-radius: 8px; }
.terms-disclosure summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 11px 17px;
  border-radius: 7px;
  color: var(--ink);
  font-weight: 660;
  cursor: pointer;
  list-style: none;
}
.terms-disclosure summary::-webkit-details-marker { display: none; }
.terms-disclosure summary::after { content: ""; width: 8px; height: 8px; margin: -3px 3px 0 0; flex: none; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.terms-disclosure[open] summary { border-bottom: 1px solid var(--line); border-radius: 7px 7px 0 0; }
.terms-disclosure[open] summary::after { margin-top: 3px; transform: rotate(225deg); }
.terms-disclosure summary:hover { background: var(--quiet); }
.terms-note { max-width: 76ch; padding: 14px 17px 0; color: var(--muted); font-size: 13px; }
.terms-disclosure ol { margin: 0; padding: 0 17px 0 39px; }
.terms-disclosure li { padding: 14px 0 14px 3px; }
.terms-disclosure li + li { border-top: 1px solid var(--line); }
.terms-disclosure li::marker { color: var(--accent); font-size: 13px; font-weight: 650; }
.terms-disclosure li strong { display: block; margin-bottom: 3px; font-size: 14px; }
.terms-disclosure li p { max-width: 73ch; color: var(--muted); font-size: 14px; }

.contract-form { margin-bottom: 24px; }
.contract-form fieldset { min-width: 0; margin: 0 0 16px; padding: 0; border: 0; }
.contract-form legend { padding: 0; margin-bottom: 10px; font-weight: 670; }
.contract-field-note, .contract-field-wide { grid-column: 1 / -1; }
.contract-field-note { color: var(--muted); font-size: 13px; }
.contract-reference { margin: 22px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.contract-reference h3 { margin-bottom: 4px; font-size: 15px; }
.contract-reference-grid { margin: 12px 0 0; }
.contract-reference-grid > div { display: grid; grid-template-rows: auto 1fr; gap: 6px; }
.contract-reference-grid dt { font-size: 14px; font-weight: 650; }
.contract-reference-grid dd { min-height: 43px; margin: 0; padding: 10px 12px; border: 1px solid #d8dce2; border-radius: 5px; color: #465365; background: #f0f2f4; font-size: 14px; overflow-wrap: anywhere; }
#contractStatus:not(:empty) { margin-top: 8px; color: var(--muted); font-size: 13px; }
.contract-document { padding: 20px; overflow-wrap: anywhere; }
.contract-draft-note { margin-bottom: 8px; color: var(--muted); font-size: 14px; }
.contract-document h4 { margin: 22px 0 8px; font-size: 16px; }
.contract-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; margin: 15px 0; }
.contract-data div { padding: 7px 0; border-top: 1px solid var(--line); }
.contract-data dt { font-size: 12px; color: var(--muted); }
.contract-data dd { margin: 1px 0 0; }
.contract-preview .contract-clauses { padding: 0 0 0 20px; }
.contract-deliveries { width: 100%; margin: 10px 0; border-collapse: collapse; font-size: 13px; }
.contract-deliveries th, .contract-deliveries td { padding: 7px; border-bottom: 1px solid var(--line); text-align: left; }
.contract-deliveries td small { display: block; margin-top: 2px; color: var(--muted); font-size: .9em; }
.contract-deliveries th:last-child, .contract-deliveries td:last-child { text-align: right; }
.contract-signatures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contract-signatures div { padding-top: 8px; border-top: 1px solid var(--border-strong); }
.contract-fingerprint { margin-top: 14px; color: var(--muted); font-size: 11px; }

.panel, .group { padding: 17px 0; border-top: 1px solid var(--line); }
.panel p + h3 { margin-top: 18px; }
.panel p + p { margin-top: 8px; }
.panel small, .metrics small { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.muted { color: var(--muted); font-size: 13px; }
.mobile-total { display: none; }
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .56fr); gap: 15px; align-items: start; }
.controls { display: grid; gap: 12px; }
.group h3 { margin-bottom: 12px; }
.group .control:first-of-type { border-top: 0; }
.control { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.control:last-child { padding-bottom: 0; }
.control-label { display: block; font-size: 14px; font-weight: 650; }
.control p { margin-top: 3px; color: var(--muted); font-size: 12px; }
.control .rate { margin-top: 5px; color: var(--muted); font-size: 11px; text-align: right; }
.stepper { display: flex; align-items: center; border: 1px solid var(--border-strong); border-radius: 5px; }
.stepper button { width: 35px; height: 40px; border: 0; border-radius: 4px; color: var(--ink); background: var(--quiet); font-size: 17px; }
.stepper button:hover:not(:disabled) { background: var(--tint); }
.stepper input { width: 38px; padding: 0; border: 0; text-align: center; color: var(--ink); background: white; font-weight: 650; appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { appearance: none; }
.switch { display: block; position: relative; width: 44px; height: 25px; margin: 0 0 0 auto; border-radius: 14px; appearance: none; background: #728da8; cursor: pointer; }
.switch::after { position: absolute; top: 3px; left: 3px; width: 19px; height: 19px; border-radius: 50%; background: white; transition: transform .15s; content: ""; }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(19px); }
.switch:disabled { opacity: .6; cursor: not-allowed; }

.summary { position: sticky; top: 22px; padding: 17px; border: 1px solid var(--line); }
.summary h3 { font-size: 15px; }
.selection { font-size: 16px; font-weight: 680; }
.total { margin: 5px 0 1px; font-size: clamp(33px, 4vw, 44px); font-weight: 710; line-height: 1.1; letter-spacing: -.062em; }
.mini-cap { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin: 15px 0 10px; }
.mini-cap > div { padding: 7px 0; border-bottom: 1px solid var(--line); }
.mini-cap b { font-size: 16px; letter-spacing: -.033em; }
.mini-cap small { font-size: 10px; }
.summary-lines { max-height: min(250px, 26vh); overflow-y: auto; margin-top: 11px; padding-top: 4px; border-top: 1px solid var(--line); }
.line { display: flex; justify-content: space-between; align-items: flex-start; gap: 9px; padding: 6px 0; font-size: 12px; }
.line span { color: var(--muted); }
.line strong { white-space: nowrap; }
.vertical { flex-direction: column; align-items: stretch; gap: 6px; margin-top: 12px; }
.save-status, .capacity { margin-top: 9px; color: var(--muted); font-size: 12px; }
.capacity.warn, .notice.error, #loginStatus { color: var(--accent-hover); font-weight: 650; }
.notice { display: none; margin-bottom: 10px; padding: 7px 10px; border-left: 2px solid var(--border-strong); color: var(--accent-hover); font-size: 13px; }
.notice:not(:empty) { display: block; }
.notice.error { border-color: var(--accent); }

.formgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.formgrid label, .login label { display: grid; gap: 6px; font-size: 14px; font-weight: 650; }
input:not([type="checkbox"]):not([type="number"]) { width: 100%; padding: 10px 12px; border: 1px solid var(--border-strong); border-radius: 5px; background: var(--surface); color: var(--ink); }
.checkline { display: flex; align-items: flex-start; gap: 10px; margin: 19px 0; color: var(--muted); font-size: 13px; }
.checkline input { flex: none; width: 18px; height: 18px; accent-color: var(--accent); }
.receipt-title { font-size: 23px; }
.receipt-info { overflow-wrap: anywhere; }
.receipt-info b { display: block; margin: 10px 0 6px; }
.history-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.history-row:first-child { padding-top: 0; }
.history-row:last-child { padding-bottom: 0; border-bottom: 0; }
.footer { display: flex; justify-content: space-between; gap: 12px; padding: 20px 0 33px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.loginbody { display: grid; min-height: 100dvh; place-items: center; padding: 24px; }
.login { width: min(100%, 380px); padding: 24px 0; }
.login .brand { margin-bottom: 27px; }
.login h1 { margin-bottom: 9px; font-size: 33px; }
.login > p:not(.brand) { color: var(--muted); }
.login form { margin-top: 24px; }
.login button { width: 100%; margin-top: 13px; }
#loginStatus:not(:empty) { margin-top: 11px; font-size: 13px; }

@media (max-width: 1080px) {
  :root { --sidebar-width: 185px; }
  .wrap { width: calc(100% - 48px); }
  .plan { --plan-padding: 15px; }
}
@media (max-width: 810px) {
  :root { --table-head-top: var(--mobile-nav-height); }
  html { scroll-padding-top: calc(var(--mobile-nav-height) + 12px); }
  .proposal-layout { display: block; }
  .top { height: var(--mobile-nav-height); border-right: 0; border-bottom: 1px solid var(--line); }
  .topinner { display: grid; grid-template-columns: 1fr auto; grid-template-rows: 49px minmax(0, 1fr); gap: 0; overflow: visible; padding: 0 16px; }
  .top .brand { align-self: center; padding: 0; }
  .logout { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .top nav { grid-column: 1 / -1; grid-row: 2; grid-template-columns: minmax(0, 1fr) minmax(0, 1.33fr) minmax(0, 1fr); align-content: start; gap: 3px 4px; }
  .top nav a { padding: 4px 3px; text-align: center; font-size: 12px; line-height: 1.35; white-space: nowrap; }
  .wrap { width: min(100% - 40px, 680px); }
  .hero { padding-block: 32px 25px; }
  .summary { top: calc(var(--mobile-nav-height) + 12px); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 32px); }
  .section { padding: 30px 0 34px; }
  .sectionhead { margin-bottom: 17px; }
  .plans { grid-template-columns: 1fr; gap: 10px; }
  .plan h3 { aspect-ratio: 3.1; }
  .plan .price { font-size: 27px; }
  .plan-description { margin: 7px 0 12px; }
  .plan-capacity { margin-bottom: 12px; }
  .scope-table { font-size: 11px; }
  .scope-table thead th:first-child { width: 43%; }
  .scope-table th, .scope-table td { padding: 9px 4px; overflow-wrap: break-word; }
  .scope-table th:first-child { padding-left: 3px; }
  .scope-table .scope-group th { font-size: 11px; }
  .builder, .formgrid { grid-template-columns: 1fr; }
  .contract-document { padding: 14px; }
  .contract-data { grid-template-columns: 1fr; }
  .summary { position: static; scroll-margin-top: 58px; }
  .mobile-total { display: flex; position: sticky; z-index: 3; top: var(--mobile-nav-height); align-items: center; gap: 8px; margin-bottom: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); background: var(--surface); font-size: 12px; }
  .mobile-total span { color: var(--muted); }
  .mobile-total a { margin-left: auto; color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
  .summary-lines { max-height: none; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 24px); }
  .hero h1 { font-size: 29px; }
  .stepper button { width: 29px; }
  .stepper input { width: 32px; }
  .footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .switch::after { transition: none; }
}
@media (forced-colors: active) {
  .plan h3, .plan h3 span { background-image: none; color: CanvasText; filter: none; }
  .top nav a[aria-current="location"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
}
@media print {
  .glossary-tooltip, .glossary-hint { display: none !important; }
  .glossary-term { color: inherit; text-decoration: none; }
  .proposal-layout { display: block; }
  .top, .skip-link, .actions, .controls, .mobile-total, #planos, #acceptForm, .footer, .terms-disclosure, .notice, #adminArea { display: none !important; }
  body { background: white; }
  .wrap { width: 100%; }
  .hero { padding: 10px 0; }
  .summary { position: static; }
  .builder { display: block; }
  .section { padding: 15px 0; }
  .panel { break-inside: avoid; }
  .summary-lines { max-height: none; overflow: visible; }
  body.print-contract main > .section:not(#contrato),
  body.print-contract #contrato > :not(.contract-preview),
  body.print-contract .contract-preview > summary { display: none !important; }
  body.print-contract .contract-preview { display: block !important; border: 0; }
  body.print-contract #contrato, body.print-contract .contract-document { padding: 0; border: 0; }
  body.print-contract .contract-document { color: #000; font-size: 11pt; }
  body.print-contract .contract-document li, body.print-contract .contract-deliveries tr, body.print-contract .contract-signatures { break-inside: avoid; }
  body.print-contract .contract-document h4 { break-after: avoid; }
  body.print-contract .contract-data { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
