html:has(.brief-dialog[open]) { overflow: hidden; }
.brief-dialog { width: min(960px, calc(100vw - 32px)); max-width: none; height: calc(100dvh - 40px); max-height: none; margin: auto; padding: 0; border: 1px solid #ffffff30; background: #777874; color: #22251f; box-shadow: 0 25px 90px #0007; }
.brief-dialog::backdrop { background: #30322fe0; }
.brief-dialog[open], .brief-standalone { display: flex; flex-direction: column; }
.brief-toolbar { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; background: #333530; color: #f5f2eb; font: 12px/1.4 var(--sans); }
.brief-pagination { display: flex; gap: 4px; }
.brief-toolbar button { cursor: pointer; border: 1px solid #c6a66766; background: transparent; color: inherit; padding: 10px 16px; font: inherit; }
.brief-pagination button[aria-pressed="true"] { background: #c6a667; color: #000; }
.brief-toolbar .brief-close { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; font-size: 30px; }
.brief-toolbar :focus-visible { outline: 2px solid #e3c992; outline-offset: 2px; }
.brief-reader { overflow: auto; overscroll-behavior: contain; padding: 28px; flex: 1; min-height: 0; }
.brief-paper { width: 816px; max-width: 100%; min-height: 1056px; margin: 0 auto; padding: 36px 44px 26px; background: #faf8f2; color: #282a24; box-shadow: 0 8px 24px #0003; font: 12px/1.5 var(--sans); display: flex; flex-direction: column; }
.brief-paper[hidden] { display: none; }
.paper-header { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid #b49b6d; padding-bottom: 10px; color: #79623c; font-size: 8px; letter-spacing: 1.6px; }
.paper-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 16px 0; }
.paper-title h2 { font: 400 31px/1.15 var(--serif); color: #181b16; }
.paper-title p { margin: 6px 0 0; color: #67695d; font-size: 10px; }
.paper-title .paper-kicker { color: #8a6a37; text-transform: uppercase; font-size: 9px; letter-spacing: 1.5px; margin: 0 0 7px; }
.paper-title img { width: 38px; height: 52px; object-fit: contain; }
.paper-hero { width: 100%; height: 188px; object-fit: cover; object-position: center 46%; }
.paper-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; padding: 15px 0; border-bottom: 1px solid #b49b6d55; }
.paper-metrics span { display: block; color: #79623c; text-transform: uppercase; font-size: 8px; letter-spacing: 1px; }
.paper-metrics strong { display: block; font: 400 23px/1.3 var(--serif); margin-top: 4px; }
.paper-section { margin-top: 17px; }
.brief-paper h3 { margin: 0 0 8px; color: #7b6034; font: 500 10px/1.4 var(--sans); letter-spacing: 1px; text-transform: uppercase; }
.brief-paper h4 { font: 500 11px/1.4 var(--sans); margin: 0 0 4px; }
.brief-paper p { margin: 0 0 7px; }
.paper-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.brief-paper table { width: 100%; border-collapse: collapse; font-size: 11px; text-align: left; }
.brief-paper th { font-weight: 500; color: #79623c; font-size: 9px; }
.brief-paper td, .brief-paper th { padding: 7px 8px 7px 0; border-bottom: 1px solid #b49b6d33; }
.brief-paper .paper-note { font-size: 9px; color: #707166; margin-top: 7px; }
.paper-callout { padding: 12px 16px; margin-top: 15px; background: #ebe6db; border-left: 2px solid #b49b6d; }
.paper-callout strong { font-weight: 500; }
.paper-callout p { margin: 5px 0 0; font-size: 11px; }
.paper-footer { display: flex; justify-content: space-between; gap: 18px; margin-top: auto; padding-top: 15px; font-size: 8px; color: #796f5b; }
.paper-footer span:last-child { white-space: nowrap; }
.paper-photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.paper-photo-pair figure { margin: 0; }
.paper-photo-pair img { width: 100%; height: 132px; object-fit: cover; object-position: 43% 40%; }
.paper-photo-pair figure:last-child img { object-position: 90% 85%; }
.paper-photo-pair figcaption { font-size: 8px; color: #81755f; margin-top: 4px; }
.financial-table td:not(:first-child), .financial-table th:not(:first-child) { text-align: right; }
.table-emphasis { background: #ebe6db; }
.paper-assumptions { margin-top: 14px; font-size: 8px; line-height: 1.5; color: #64665b; }
.paper-section .paper-metrics { padding-top: 0; margin-bottom: 10px; }
.standalone-brief { background: #777874; }
html:has(.standalone-brief), .standalone-brief { scroll-snap-type: none; }
.brief-standalone { height: 100dvh; }
@media print {
 @page { size: letter portrait; margin: 0; }
 .brief-toolbar { display: none; }
 .brief-reader { padding: 0; overflow: visible; }
 .brief-paper, .brief-paper[hidden] { display: flex; width: 8.5in; height: 11in; min-height: 0; max-width: none; break-after: page; box-shadow: none; }
 .brief-standalone { height: auto; }
}

/* A single letter sheet floating directly on the translucent backdrop. */
.brief-dialog, .brief-standalone {
  width: max-content; height: auto; max-width: none; max-height: none;
  padding: 0; border: 0; background: transparent; box-shadow: none;
  overflow: visible; margin: auto;
}
.brief-dialog::backdrop { background: rgb(65 66 64 / 78%); backdrop-filter: blur(4px); }
.brief-toolbar { height: 52px; padding: 0 0 10px; background: transparent; gap: 12px; }
.brief-toolbar > span { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; }
.brief-toolbar button { border: 0; padding: 8px 14px; color: #fff; }
.brief-pagination { border-bottom: 1px solid #ffffff44; gap: 10px; }
.brief-pagination button[aria-pressed="true"] { color: #fff; background: transparent; box-shadow: 0 2px #d7bd85; }
.brief-toolbar .brief-close { width: 36px; height: 36px; }
.brief-reader { position: relative; flex: none; padding: 0; overflow: visible; width: calc(816px * var(--brief-scale, .65)); height: calc(1056px * var(--brief-scale, .65)); }
.brief-paper { position: absolute; inset: 0; width: 816px; max-width: none; height: 1056px; min-height: 1056px; padding: 36px 48px 28px; transform: scale(var(--brief-scale, .65)); transform-origin: top left; background: #fffefa; box-shadow: 0 16px 70px #0004; font-size: 11px; line-height: 1.55; }
.paper-header { color: #8b7347; font-size: 8px; letter-spacing: 2px; padding-bottom: 14px; border-bottom: 1px solid #b49b6d66; }
.paper-title { margin: 22px 0 20px; }
.paper-title h2 { font-size: 43px; letter-spacing: -1px; line-height: 1.08; }
.paper-title .paper-kicker { font-size: 9px; letter-spacing: 2.6px; margin-bottom: 9px; }
.paper-title p { font-size: 10px; color: #777368; margin-top: 9px; }
.paper-title img { width: 46px; height: 64px; }
.paper-hero { height: 208px; }
.brief-paper > .paper-metrics { margin: 0; padding: 18px 22px; background: #111; color: #fffaf0; border: none; }
.brief-paper > .paper-metrics span { color: #d1bb8a; font-size: 8px; }
.paper-metrics strong { font-size: 25px; }
.paper-section { margin-top: 20px; }
.brief-paper h3 { letter-spacing: 1.5px; font-size: 9px; margin-bottom: 9px; color: #92723f; }
.brief-paper h4 { font-family: var(--serif); font-size: 16px; font-weight: 400; }
.paper-two { gap: 28px; }
.brief-paper table { font-size: 10px; }
.brief-paper th { text-transform: uppercase; letter-spacing: .7px; font-size: 8px; }
.brief-paper td, .brief-paper th { padding-block: 7px; }
.paper-callout { padding: 12px 0 12px 17px; background: transparent; margin-top: 18px; border-left: 2px solid #b49b6d; }
.paper-callout strong { font: 400 19px var(--serif); }
.paper-callout p { font-size: 10px; }
.paper-footer { border-top: 1px solid #b49b6d55; padding-top: 10px; font-size: 7px; letter-spacing: .5px; }
.paper-footer span:last-child { font: 400 14px var(--serif); color: #8b7347; }
.paper-photo-pair { grid-template-columns: 1.4fr 1fr; gap: 14px; }
.paper-photo-pair img { height: 144px; }
.paper-photo-pair figcaption { font-size: 7px; letter-spacing: 1px; text-transform: uppercase; margin-top: 6px; }
[data-brief-page="2"] .paper-title h2 { font-size: 36px; max-width: 590px; }
.paper-section .paper-metrics { padding: 14px 0; border-top: 1px solid #b49b6d55; }
.financial-table thead { background: #eee9de; }
.financial-table th, .financial-table td { padding-inline: 10px; padding-block: 9px; }
.financial-table .table-emphasis { background: #111; color: #f4e3bb; font-size: 12px; }
.paper-assumptions { font-size: 7.5px; color: #757266; margin-top: 15px; }
.standalone-brief { min-height: 100dvh; display: grid; place-items: center; }
@media (max-width: 500px) { .brief-toolbar > span { font-size: 8px; letter-spacing: .2px; } .brief-pagination { gap: 0; } .brief-toolbar button { padding-inline: 10px; } }
@media print {
 .brief-paper, .brief-paper[hidden] { position: static; transform: none; box-shadow: none; display: flex; }
 .brief-reader { width: auto; height: auto; }
}
/* Reserve a clean lower margin on each fixed letter sheet. */
.paper-title { margin-block: 16px; }
.paper-hero { height: 184px; flex-shrink: 0; }
.paper-section { margin-top: 14px; }
.paper-callout { margin-top: 12px; padding-block: 8px; }
.paper-footer { flex-shrink: 0; }
.brief-dialog, .brief-standalone { height: calc(52px + 1056px * var(--brief-scale, .65)); }
@media print { .brief-standalone { height: auto; } }

/* Smoked glass surrounds a finely typeset private-client folio. */
.brief-dialog::backdrop {
  background: rgb(12 15 17 / 82%);
  backdrop-filter: blur(16px) saturate(.55);
  -webkit-backdrop-filter: blur(16px) saturate(.55);
}
.brief-dialog, .brief-standalone { height: calc(100px + 1056px * var(--brief-scale, .65)); }
.brief-toolbar { height: 44px; padding-bottom: 8px; }
.brief-toolbar > span { color: #ded9cd; letter-spacing: 1.6px; font-size: 9px; }
.brief-bottom { height: 56px; flex-shrink: 0; display: flex; justify-content: center; align-items: end; }
.brief-bottom .brief-pagination { padding: 4px; gap: 6px; border: 1px solid #e4d7bc30; border-radius: 30px; background: #ffffff09; }
.brief-bottom button { min-width: 78px; min-height: 34px; border: 0; border-radius: 24px; padding: 8px 16px; background: transparent; color: #d2cfc6; font: 11px var(--sans); cursor: pointer; }
.brief-bottom button[aria-pressed="true"] { background: #e8dfce; color: #26231c; box-shadow: none; }
.brief-bottom button:focus-visible { outline: 2px solid #d7bd85; outline-offset: 3px; }
.brief-paper { background: #fffdf8; box-shadow: 0 20px 80px #0008; }
.paper-header { border-bottom: none; padding-bottom: 8px; color: #9a8051; letter-spacing: 2.4px; }
.paper-title { border-left: 2px solid #baa06b; padding-left: 18px; margin-block: 18px 22px; }
.paper-title h2 { font-size: 48px; letter-spacing: -1.5px; }
.paper-title .paper-kicker { font-size: 8px; letter-spacing: 3.5px; }
.paper-title p { letter-spacing: .5px; }
.paper-title img { opacity: .8; }
.paper-hero { height: 184px; object-position: center 44%; }
.brief-paper > .paper-metrics { background: #181b18; padding: 18px 24px; }
.paper-metrics > div + div { border-left: 1px solid #b49b6d40; padding-left: 16px; }
.paper-metrics strong { font-size: 27px; letter-spacing: -.5px; }
.brief-paper h3 { color: #8a7043; font-size: 8px; letter-spacing: 1.8px; }
.brief-paper h4 { font-style: italic; font-size: 18px; }
.paper-callout { background: #f1ede3; border-left: 0; border-top: 1px solid #b49b6d55; padding: 12px 18px; }
.paper-callout strong { font-style: italic; font-size: 20px; }
.paper-photo-pair { gap: 16px; grid-template-columns: 1.6fr 1fr; align-items: end; }
.paper-photo-pair figure:last-child img { height: 118px; }
.paper-photo-pair figcaption { letter-spacing: 1.3px; }
[data-brief-page="2"] .paper-title h2 { font-size: 38px; max-width: 540px; }
.paper-footer { color: #95805a; letter-spacing: .8px; }
@media print { .brief-bottom { display: none; } .brief-standalone { height: auto; } }
/* Keep the financial folio's notes and footer inside the letter trim. */
[data-brief-page="2"] .paper-title { margin-block: 14px 16px; }
[data-brief-page="2"] .paper-photo-pair img { height: 116px; }
[data-brief-page="2"] .paper-photo-pair figure:last-child img { height: 94px; }
[data-brief-page="2"] .financial-table td,
[data-brief-page="2"] .financial-table th { padding-block: 7px; }

/* A private-client editorial folio: architectural photography and quiet type. */
.brief-toolbar .brief-close {
  position: fixed;
  top: 22px;
  right: 24px;
  z-index: 10;
  width: 46px;
  height: 46px;
  border: 1px solid #f5efdf80;
  border-radius: 50%;
  background: #ffffff0b;
  color: #fffaf0;
  font-size: 27px;
  font-weight: 400;
  backdrop-filter: blur(12px);
}
.brief-toolbar .brief-close:hover { background: #ffffff20; border-color: #fffaf0; }
.brief-toolbar > span { visibility: hidden; }
.paper-header { font-size: 8px; letter-spacing: 2.8px; color: #746b58; }
.paper-title { border: 0; padding: 0; margin-block: 19px 21px; }
.paper-title h2 { font-size: 54px; line-height: 1.04; letter-spacing: -1.8px; }
.paper-title .paper-kicker { color: #a38958; letter-spacing: 4px; font-size: 8px; }
.paper-title p { font-family: var(--serif); font-style: italic; font-size: 13px; color: #746e60; }
.paper-title img { width: 36px; height: 50px; }
.paper-hero { width: calc(100% + 96px); max-width: none; margin-inline: -48px; height: 198px; object-position: center 48%; }
.brief-paper > .paper-metrics { background: transparent; color: #282a24; padding: 16px 0; border-bottom: 1px solid #b49b6d55; }
.brief-paper > .paper-metrics span { color: #8a7858; }
.paper-metrics strong { font-size: 26px; }
.brief-paper h3 { font: 400 21px/1.15 var(--serif); text-transform: none; letter-spacing: -.3px; color: #2f3029; margin-bottom: 9px; }
.brief-paper h4 { font-size: 14px; color: #8a7043; }
.paper-section { margin-top: 13px; }
.paper-callout { background: transparent; padding: 9px 0 0; border-top: 1px solid #b49b6d55; }
.paper-callout strong { font-size: 21px; }
.brief-paper th { color: #9a8359; font-weight: 400; font-size: 7px; letter-spacing: 1.2px; }
.brief-paper td, .brief-paper th { border-bottom-color: #b49b6d22; padding-block: 6px; }
.paper-photo-pair { grid-template-columns: 1.55fr 1fr; gap: 24px; }
.paper-photo-pair figure:last-child { padding-bottom: 14px; }
.paper-photo-pair figcaption { font-size: 7px; letter-spacing: 1px; color: #93846c; }
[data-brief-page="2"] .paper-title h2 { font-size: 51px; max-width: none; }
[data-brief-page="2"] .paper-photo-pair img { height: 140px; }
[data-brief-page="2"] .paper-photo-pair figure:last-child img { height: 108px; }
.financial-table thead { background: transparent; }
.financial-table .table-emphasis { background: #eee8db; color: #272a23; font-family: var(--serif); font-size: 14px; }
.paper-section .paper-metrics { border-top: 0; padding-top: 5px; }
.paper-footer { letter-spacing: 1px; font-size: 6.5px; }
@media (max-width: 650px) {
  .brief-toolbar .brief-close { top: 12px; right: 12px; width: 40px; height: 40px; }
}
@media print { .paper-hero { max-width: none; } }
[data-brief-page="1"] .paper-title { margin-block: 15px 17px; }
[data-brief-page="1"] .paper-hero { height: 174px; }
[data-brief-page="1"] .paper-section { margin-top: 11px; }

/* Full-bleed cover with quiet architectural detail on the paper. */
.brief-paper { isolation: isolate; }
.brief-paper::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 39% 4% 7% 30%;
  background: url('../assets/images/shield-watermark.svg') center / contain no-repeat;
  opacity: .055;
}
.brief-paper::after {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 7%, #ad956b18 7%, #ad956b18 calc(7% + 1px), transparent calc(7% + 1px)),
    linear-gradient(90deg, transparent 73%, #ad956b12 73%, #ad956b12 calc(73% + 1px), transparent calc(73% + 1px)),
    linear-gradient(0deg, transparent 12%, #ad956b18 12%, #ad956b18 calc(12% + 1px), transparent calc(12% + 1px));
}
[data-brief-page="1"] { padding-top: 0; }
[data-brief-page="1"] .paper-hero {
  order: -1;
  height: 294px;
  margin-bottom: 20px;
  object-position: center 45%;
}
[data-brief-page="1"] .paper-header { padding-bottom: 6px; }
[data-brief-page="1"] .paper-title { margin-block: 10px 14px; }
[data-brief-page="1"] .paper-title h2 { font-size: 45px; }
[data-brief-page="1"] .paper-title .paper-kicker { display: none; }
[data-brief-page="1"] .paper-title p { margin-top: 5px; }
[data-brief-page="1"] > .paper-metrics { padding-block: 10px; }
[data-brief-page="1"] .paper-hero { height: 242px; }

/* A quieter cover: larger photograph, fewer signals, more breathing room. */
.brief-paper { overflow: hidden; }
.brief-paper::before {
  inset: 37% auto 3% -19%;
  width: 73%;
  background-position: left center;
  opacity: .085;
}
[data-brief-page="1"] .paper-hero { height: 320px; margin-bottom: 24px; }
[data-brief-page="1"] .paper-title { margin-block: 0 18px; }
[data-brief-page="1"] > .paper-metrics { grid-template-columns: 1fr 1fr; padding-block: 14px; }
[data-brief-page="1"] .paper-section { margin-top: 17px; }
[data-brief-page="1"] .paper-callout { margin-top: 16px; }
[data-brief-page="1"] .paper-title .paper-kicker {
  display: block;
  margin-bottom: 8px;
  font: 500 8px/1.4 var(--sans);
  letter-spacing: 3px;
  color: #a38958;
}
[data-brief-page="1"] .paper-title { margin-bottom: 6px; }
[data-brief-page="1"] > .paper-metrics { padding-top: 6px; }
/* Give the document more of the viewport while retaining both controls. */
.brief-dialog, .brief-standalone { height: calc(76px + 1056px * var(--brief-scale, .65)); }
.brief-toolbar { height: 28px; padding-bottom: 4px; }
.brief-bottom { height: 48px; }
@media print { .brief-standalone { height: auto; } }
.equity-figure { margin: 0; }
.equity-legend { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; color: #6d6a60; margin: 12px 0 0; }
.equity-legend span { display: flex; align-items: center; gap: 7px; }
.equity-legend i { width: 18px; height: 2px; display: inline-block; }
.equity-chart { display: block; width: 100%; height: 225px; overflow: visible; }
.equity-chart text { font: 9px var(--sans); fill: #817966; }
.equity-chart .chart-end { font-size: 12px; font-weight: 500; fill: #34372e; }
.chart-grid { stroke: #b49b6d35; stroke-width: 1; }
.equity-figure figcaption { font: 8px/1.4 var(--sans); color: #817966; margin-top: 4px; }
/* Balance the scenario graph with the imagery on the fixed letter page. */
[data-brief-page="2"] .paper-photo-pair img { height: 90px; }
[data-brief-page="2"] .paper-photo-pair figure:last-child img { height: 74px; }
.equity-chart { height: 192px; }

/* Personal fit and negotiating leverage, considered side by side. */
.brief-decision-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 17px; }
.brief-decision-box { border: 1px solid #b49b6d70; padding: 15px 17px 8px; background: #fffdf877; }
.brief-decision-box .decision-box-label { color: #967c4d; font: 500 7px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 1.6px; margin: 0 0 6px; }
.brief-decision-box h3 { font-size: 23px; margin-bottom: 5px; }
.brief-decision-box .decision-box-summary { font: italic 12px/1.4 var(--serif); color: #7c6743; padding-bottom: 10px; border-bottom: 1px solid #b49b6d40; margin-bottom: 0; }
.decision-checks { margin: 0; }
.decision-checks > div { padding: 7px 0; border-bottom: 1px solid #b49b6d22; }
.decision-checks > div:last-child { border-bottom: 0; }
.decision-checks dt { font: 500 10px/1.35 var(--sans); margin-bottom: 3px; color: #34372e; }
.decision-checks dd { font: 400 9px/1.4 var(--sans); margin: 0; color: #69675e; }
.decision-checks b { color: #74613f; font-weight: 500; }
.brief-paper .decision-columns-note { margin: 8px 0 0; font: 8px/1.45 var(--sans); color: #817966; }
.seller-match-note { margin-top: 12px; border-top: 1px solid #b49b6d44; padding-top: 9px; }
.seller-match-note strong { font: italic 15px var(--serif); color: #73603d; }
.seller-match-note p { font: 9px/1.45 var(--sans); margin-top: 5px; color: #69675e; }
.brief-decision-columns { margin-top: 12px; }
.decision-checks > div { padding-block: 5px; }

/* Financial folio: a larger ten-year view and a clear annual expense mix. */
[data-brief-page="2"] .equity-chart { height: 278px; }
[data-brief-page="2"] .paper-title { margin-block: 13px 15px; }
[data-brief-page="2"] .paper-title h2 { font-size: 43px; }
[data-brief-page="2"] .paper-section { margin-top: 12px; }
.scenario-assumptions { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 10px; }
.scenario-assumptions > div { border-top: 2px solid #92958a; padding-top: 6px; }
.scenario-assumptions > div:nth-child(2) { border-color: #242921; }
.scenario-assumptions > div:nth-child(3) { border-color: #ad8850; }
.scenario-assumptions h4 { font: 400 15px var(--serif); margin: 0 0 3px; }
.scenario-assumptions strong { font: 500 10px var(--sans); }
.scenario-assumptions p { font-size: 9px; line-height: 1.45; margin-top: 3px; }
.brief-paper .scenario-shared { font-size: 9px; color: #76694f; margin-top: 8px; }
.expense-section { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 16px; align-items: center; margin-top: 15px; padding-top: 14px; border-top: 1px solid #b49b6d55; }
.expense-intro h3 { font-size: 20px; }
.expense-intro p { font-size: 9px; }
.expense-intro .expense-total { font: 25px var(--serif); margin-bottom: 8px; }
.expense-total span { font: 9px var(--sans); color: #817966; }
.expense-pie { width: 100%; height: 148px; }
.expense-legend { margin: 0; }
.expense-legend > div { margin-bottom: 8px; }
.expense-legend dt { font-size: 9px; color: #736a58; }
.expense-legend i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; }
.expense-legend dd { margin: 2px 0 0 11px; font-size: 12px; }
.expense-legend small { display: block; font-size: 8px; color: #817966; }
[data-brief-page="2"] .paper-assumptions { margin-top: 10px; font-size: 7px; }
[data-brief-page="2"] .equity-chart { height: 250px; }
[data-brief-page="2"] .paper-title { margin-block: 8px 8px; }
[data-brief-page="2"] .paper-title h2 { font-size: 38px; }
[data-brief-page="2"] .paper-section .paper-metrics { padding-block: 5px 10px; margin-bottom: 5px; }
.expense-pie { height: 130px; }
.expense-section { margin-top: 10px; padding-top: 10px; }
.back-gallery { margin: -36px -48px 12px; }
.back-gallery-grid { height: 116px; display: grid; grid-template-columns: 1.55fr .85fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; overflow: hidden; }
.back-gallery-grid img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.back-gallery-grid img:nth-child(1) { grid-row: 1 / 3; object-position: center 45%; }
.back-gallery-grid img:nth-child(2) { object-position: 45% 40%; }
.back-gallery-grid img:nth-child(3) { object-position: 60% 90%; }
.back-gallery-grid img:nth-child(4) { grid-column: 3; grid-row: 1 / 3; object-position: 90% 20%; }
.back-gallery figcaption { margin: 5px 48px 0; font: 6.5px/1.4 var(--sans); letter-spacing: .7px; color: #857759; }
[data-brief-page="2"] .paper-header { display: none; }
[data-brief-page="2"] .paper-title .paper-kicker { display: none; }
[data-brief-page="2"] .paper-title { margin-block: 3px 7px; }
[data-brief-page="2"] .paper-title h2 { font-size: 32px; }
[data-brief-page="2"] .paper-title p { margin-top: 4px; }
/* Give the photo gallery the space released by the detailed notes. */
.back-gallery-grid { height: 220px; }
.back-gallery-grid { height: 200px; }
.expense-section { grid-template-columns: 1.15fr .75fr 1.1fr; gap: 14px; }
.expense-intro .expense-monthly { font-size: 10px; color: #806b44; }
.expense-legend > div { margin-bottom: 6px; }
.expense-legend dd { font-size: 11px; }
.expense-intro .paper-note { font-size: 8px; line-height: 1.4; }
/* Reserve space for the full financing-inclusive annual budget. */
.back-gallery-grid { height: 160px; }
.buyer-score { flex-shrink: 0; align-self: center; text-align: right; padding-left: 22px; border-left: 1px solid #b49b6d55; }
.buyer-score > span { display: block; color: #9a8051; font: 500 8px/1.4 var(--sans); letter-spacing: 2px; text-transform: uppercase; }
.buyer-score strong { display: block; font: 400 38px/1.1 var(--serif); color: #30352a; margin: 3px 0; }
.buyer-score small { font: 12px var(--sans); color: #8b8068; margin-left: 3px; }
.buyer-score em { display: block; font: 400 8px/1.4 var(--sans); color: #817966; }
.buyer-score { min-width: 170px; padding-left: 28px; }
.buyer-score strong { font-size: 46px; }
.buyer-score small { font-size: 14px; }

/* Composed for the illustrative interior and garden gallery. */
.back-gallery-grid img:nth-child(n) { object-position: center; }

/* Larger back-page gallery, balanced within the letter folio. */
.back-gallery-grid { height: 220px; }
.back-gallery { margin-bottom: 10px; }
[data-brief-page="2"] .equity-chart { height: 220px; }
[data-brief-page="2"] .paper-section { margin-top: 8px; }

/* Give the equity heading breathing room below the gallery. */
[data-brief-page="2"] .paper-title { margin-top: 20px; }

/* Lead with annual ownership costs, followed by the ten-year outlook. */
[data-brief-page="2"] .paper-title + .expense-section { margin-top: 0; padding-top: 0; border-top: 0; }
[data-brief-page="2"] .equity-summary { margin-top: 16px; padding-top: 12px; border-top: 1px solid #b49b6d55; }
[data-brief-page="2"] .equity-summary h3 { font: 400 24px/1.15 var(--serif); text-transform: none; letter-spacing: 0; color: #181b16; margin-bottom: 10px; }

/* Comparable examples replace the cover-page notes. */
[data-brief-page="1"] .paper-hero { height: 280px; flex-shrink: 0; }
.brief-comparables { margin-top: 14px; }
.comparables-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.brief-comparables h3 { font-size: 21px; margin-bottom: 4px; }
.comparables-heading > span { font: 500 8px/1.4 var(--sans); text-transform: uppercase; letter-spacing: 1px; color: #8a7043; }
.brief-paper .comparables-context { font-size: 8px; line-height: 1.4; margin-bottom: 5px; color: #817966; }
.brief-comparables table { font-size: 10px; }
.brief-comparables th, .brief-comparables td { padding-block: 5px; }
.brief-comparables tbody th { font: 400 10px/1.4 var(--sans); text-transform: none; letter-spacing: 0; color: #34372e; }
.brief-comparables td:last-child, .brief-comparables thead th:last-child { text-align: right; padding-right: 0; }
.brief-comparables td small { font-size: 8px; color: #817966; margin-left: 5px; }
.brief-paper .comparables-conclusion { font-size: 9px; line-height: 1.45; margin: 7px 0 10px; color: #76694f; }
.comparables-conclusion strong { font-weight: 500; color: #34372e; }

/* Six-property bracketing table, kept together on the first folio. */
[data-brief-page="1"] .paper-hero { height: 220px; margin-bottom: 12px; }
[data-brief-page="1"] .decision-checks > div { padding-block: 2px; }
.brief-comparables { margin-top: 12px; }
.brief-comparables table { font-size: 9px; font-variant-numeric: tabular-nums; }
.brief-comparables th, .brief-comparables td { padding: 7px 5px; white-space: nowrap; }
.brief-comparables thead th { font-size: 6.5px; letter-spacing: .55px; }
.brief-comparables tbody th { font-size: 9px; }
.brief-comparables th:first-child { padding-left: 0; }
.brief-comparables td:not(:nth-child(5)), .brief-comparables thead th:not(:first-child):not(:nth-child(5)) { text-align: right; }
.brief-comparables .comparable-subject { background: #eee8db; }
.brief-comparables .comparable-subject th:first-child { padding-left: 5px; }
.brief-comparables .comparable-subject td:last-child { padding-right: 5px; }
.brief-comparables td small { font-size: 7px; margin-left: 1px; }
.brief-paper .comparables-bracket { font-size: 8px; line-height: 1.4; margin: 6px 0 4px; color: #76694f; }
.brief-paper .comparables-method { font-size: 7.5px; line-height: 1.4; margin-bottom: 0; color: #817966; }
.brief-paper .comparables-conclusion { margin-top: 5px; margin-bottom: 8px; }

/* Balanced comparison columns with room for street addresses. */
.brief-comparables table { table-layout: fixed; }
.brief-comparables th, .brief-comparables td { width: 10.25%; padding-inline: 6px; white-space: normal; vertical-align: middle; }
.brief-comparables th:first-child { width: 18%; }
.brief-comparables tbody th { white-space: nowrap; }
.brief-comparables td:not(:nth-child(5)), .brief-comparables thead th:not(:first-child):not(:nth-child(5)), .brief-comparables td:nth-child(5), .brief-comparables thead th:nth-child(5) { text-align: center; }
.brief-comparables td:last-child, .brief-comparables thead th:last-child { padding-right: 6px; }
.brief-comparables tbody tr:last-child > th,
.brief-comparables tbody tr:last-child > td { border-bottom: 0; }
