.vd-paper {
  --doc-text: #192737;
  --doc-mute: #4d6073;
  --doc-blue: #1955be;
  --doc-rule: #d0d9e4;
  color-scheme: light;
  color: var(--doc-text);
  background: #fff;
  width: min(100%, 850px);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 56px);
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.vd-paper :is(h2,p,dl,dt,dd) { margin: 0; }
.vd-paper .vd-letterhead,.vd-paper .vd-title,.vd-paper .vd-parties,.vd-paper .vd-bottom {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
}
.vd-paper .vd-letterhead { border-bottom: 3px solid var(--doc-blue); padding-bottom: 18px; align-items: center; }
.vd-brand { display: flex; gap: 12px; align-items: center; }
.vd-brand img { width: 38px; height: 38px; flex: none; }
.vd-brand strong { display: block; font-size: 25px; letter-spacing: -.055em; font-weight: 710; line-height: 1.15; }
.vd-brand span,.vd-origin,.vd-title span,.vd-label,.vd-parties dt { color: var(--doc-mute); font-size: 12px; }
.vd-origin,.vd-title > div { text-align: right; }
.vd-paper .vd-title { margin: 26px 0 22px; align-items: flex-end; }
.vd-title h2 { color: var(--doc-text); font-size: clamp(30px, 3.2vw, 45px); font-weight: 620; letter-spacing: -.065em; line-height: 1.08; }
.vd-title > div > *,.vd-parties > div > * { display: block; }
.vd-title strong { font-size: 14px; }
.vd-parties { margin-bottom: 26px; }
.vd-parties > div { min-width: 0; }
.vd-label,.vd-parties dt { display: block; margin-bottom: 3px; }
.vd-parties > div > strong { font-weight: 650; }
.vd-parties dl { min-width: min(42%, 230px); }
.vd-parties dl div + div { margin-top: 5px; }
.vd-parties dl > div { display: flex; justify-content: space-between; gap: 14px; }
.vd-parties dd { text-align: right; font-size: 12px; font-weight: 600; }
.vd-items { width: 100%; border-spacing: 0; border-collapse: collapse; color: var(--doc-text); font-size: 13px; }
.vd-items th { background: #eaf1fc; color: #204a85; font-weight: 610; }
.vd-items th,.vd-items td { padding: 10px 8px; text-align: right; vertical-align: top; }
.vd-items :is(th,td):first-child { text-align: left; padding-left: 12px; }
.vd-items :is(th,td):last-child { padding-right: 12px; }
.vd-items tbody td { border-bottom: 1px solid var(--doc-rule); }
.vd-items tbody td:not(:first-child) { white-space: nowrap; }
.vd-items tbody td > strong { font-size: 14px; font-weight: 610; }
.vd-items tbody td > span { display: block; font-size: 12px; color: var(--doc-mute); margin-top: 2px; }
.vd-items tbody td .vd-mobile-unit { display: none; }
.vd-paper .vd-bottom { gap: 36px; margin-top: 22px; }
.vd-note { flex: 1; min-width: 0; font-size: 13px; }
.vd-note p { white-space: pre-wrap; color: var(--doc-text); }
.vd-totals { min-width: min(50%, 300px); }
.vd-totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 13px; }
.vd-totals dd { text-align: right; font-weight: 540; }
.vd-totals > div:nth-last-child(3) { border-top: 1px solid var(--doc-rule); margin-top: 4px; padding-top: 7px; }
.vd-totals .vd-grand { border-top: 2px solid var(--doc-blue); margin-top: 6px; padding: 10px 0 0; color: var(--doc-blue); align-items: baseline; font-weight: 620; }
.vd-grand dd { font-size: 22px; font-weight: 670; letter-spacing: -.055em; }
.vd-conditions { margin-top: 30px; padding-top: 11px; border-top: 1px solid var(--doc-rule); color: var(--doc-mute); font-size: 12px; }
@media(max-width:640px) {
  .vd-paper { font-size: 13px; padding: 18px 15px; }
  .vd-origin,.vd-brand span { font-size: 11px; }
  .vd-brand { gap: 7px; }
  .vd-brand strong { font-size: 20px; }
  .vd-brand img { width: 28px; height: 28px; }
  .vd-paper .vd-title { margin: 18px 0; }
  .vd-paper .vd-letterhead,.vd-paper .vd-title,.vd-paper .vd-parties { gap: 12px; }
  .vd-parties { margin-bottom: 18px; }
  .vd-parties dl { max-width: 48%; text-align: right; }
  .vd-parties dl > div { display: block; }
  .vd-items { font-size: 12px; }
  .vd-items td,.vd-items th { padding: 8px 3px; }
  .vd-items :is(td,th):first-child { padding-left: 4px; }
  .vd-items :is(td,th):last-child { padding-right: 4px; }
  .vd-items tbody td > strong { font-size: 13px; }
  .vd-items tbody td > span { font-size: 11px; }
  .vd-items :is(th,td):nth-child(2),.vd-items :is(th,td):nth-child(3) { display: none; }
  .vd-items tbody td .vd-mobile-unit { display: block; font-weight: 600; }
  .vd-items :is(th,td):last-child { white-space: nowrap; }
  .vd-paper .vd-bottom { flex-direction: column-reverse; gap: 16px; }
  .vd-totals { width: 100%; }
  .vd-conditions { margin-top: 18px; }
}
