/* REVO NAVI: progressive result review and A4 document presentation. */
.current-value-summary { min-width: 0; margin: 0 0 24px; padding: 24px; border: 1px solid #d6dce2; border-top: 3px solid #243c53; border-radius: 6px; background: #fff; color: #23384b; font-size: 16px; line-height: 1.85; overflow-wrap: anywhere; }
.current-value-summary h2 { margin: 6px 0 14px; color: #203b54; font-family: "REVO Serif JP", "Noto Serif JP", "Yu Mincho", serif; font-size: 25px; line-height: 1.55; }
.value-step-label { margin: 0 0 8px; color: #44596c; font-size: 14px; font-weight: 700; line-height: 1.7; }
.value-status { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 12px; }
.value-status > strong { font-size: 32px; color: #243c53; line-height: 1.5; }
.value-status > span { font-weight: 700; color: #66532d; }
.value-basis { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 18px 0; }
.value-basis > div { min-width: 0; border-top: 1px solid #dce2e7; padding-top: 12px; }
.value-basis dt, .value-data h3 { color: #243c53; font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.value-basis dd { margin: 0; font-weight: 600; }
.value-basis small, .value-source { display: block; color: #4c5c69; font-size: 14px; line-height: 1.8; font-weight: 400; margin-top: 5px; }
.value-data { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin: 18px 0; }
.value-data > section { min-width: 0; }
.value-data ul { padding-left: 22px; margin: 8px 0; }
.value-data li { margin: 7px 0; }
.value-comparison { padding: 14px 16px; border-left: 3px solid #7f6946; background: #faf8f1; margin: 16px 0 0; }
.value-flow-step { padding: 20px 0; border-top: 1px solid #dce2e7; margin-top: 20px; color: #314655; font-size: 16px; line-height: 1.85; }
.value-flow-step h3 { margin: 8px 0; font-size: 19px; color: #243c53; }
.value-purpose-note { line-height: 1.85; }
.value-methods { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 18px 0; }
.value-method-result { min-width: 0; padding: 16px; border: 1px solid #dce2e7; border-radius: 4px; }
.value-method-result h3 { font-size: 17px; margin: 0 0 8px; color: #243c53; }
.value-method-result > strong { font-size: 25px; line-height: 1.6; color: #243c53; }
.value-method-result > p { font-size: 16px; margin: 8px 0; }
.value-calculation-basis > summary, .value-method-result summary { min-height: 48px; padding: 12px 0; cursor: pointer; font-size: 16px; font-weight: 650; }
@media screen and (max-width: 640px) {
  .current-value-summary { padding: 20px 16px; }
  .current-value-summary h2 { font-size: 23px; }
  .value-basis, .value-data, .value-methods { grid-template-columns: minmax(0,1fr); gap: 14px; }
  .value-basis small, .value-source { font-size: 16px; }
  .value-flow-step h3 { font-size: 18px; }
}
@media print {
  .current-value-summary { font-size: 9pt; line-height: 1.65; padding: 10px 0; border-left: 0; border-right: 0; border-radius: 0; margin-bottom: 14px; overflow: visible; break-inside: auto; }
  .current-value-summary h2 { font-size: 16pt; }
  .value-status > strong { font-size: 20pt; }
  .value-step-label, .value-basis dt, .value-data h3 { font-size: 9pt; }
  .value-basis small, .value-source { font-size: 8pt; }
  .value-basis, .value-data { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .value-comparison { padding: 8px 10px; }
  .value-flow-step { font-size: 9pt; padding: 10px 0; margin-top: 10px; break-inside: auto; }
  .value-flow-step h3 { font-size: 11pt; }
  .value-method-result { padding: 9px; break-inside: avoid; }
  .value-method-result h3 { font-size: 10pt; }
  .value-method-result > strong { font-size: 15pt; }
  .value-method-result > p { font-size: 8.5pt; }
  .value-calculation-basis > summary, .value-method-result summary { min-height: 0; padding: 6px 0; font-size: 9pt; }
}
.output-page { min-width: 0; }
.output-kicker { margin: 0 0 9px; color: #9b7180; font-size: 10px; font-weight: 650; letter-spacing: .14em; }
.output-summary { position: relative; padding: 28px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--wine); border-radius: 14px; margin-bottom: 22px; }
.output-summary h2 { font-size: 23px; letter-spacing: .02em; margin: 0 0 13px; }
.output-summary > p { color: #8e7b83; font-size: 13px; }
.verdict-pill { display: inline-flex; align-items: center; gap: 7px; border-radius: 6px; background: #f2e8ec; border: 1px solid #e7d1d9; color: #8e536a; padding: 5px 10px; font-size: 11px; font-weight: 600; line-height: 1.7; }
.verdict-pill::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
.verdict-pill.pending { color: #98743f; border-color: #ebdcbd; background: #fbf5e8; }
.summary-columns { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 28px; margin-top: 20px; }
.summary-main, .summary-conditions { min-width: 0; }
.summary-main > :last-child, .summary-conditions > :last-child { margin-bottom: 0; }
.summary-main > p { font-size: 14px; line-height: 1.95; color: #6e555f; }
.summary-conditions { border-left: 1px solid var(--line); padding-left: 26px; color: #8d7680; font-size: 12px; line-height: 1.9; }
.summary-conditions h3 { font-size: 13px; color: #785763; margin-bottom: 10px; }
.summary-conditions ul { margin: 10px 0 0; padding-left: 17px; }
.summary-conditions li { margin: 6px 0; }
.key-numbers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 23px 0 0; }
.key-number { min-width: 0; background: #f8f4f5; border-radius: 8px; padding: 16px; color: #9c828d; font-size: 11px; line-height: 1.8; }
.key-number > span { display: block; }
.key-number strong { display: block; color: #784559; font-weight: 650; font-size: 27px; line-height: 1.5; margin-top: 4px; font-variant-numeric: tabular-nums; }
.key-number strong small { font-size: 11px; font-weight: 500; margin-left: 3px; }
.key-number > small { display: block; font-size: 10px; line-height: 1.7; margin-top: 5px; }
.next-step-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 23px 25px; margin-bottom: 22px; }
.next-step-card h2, .next-step-card h3 { color: #684753; font-size: 16px; margin-bottom: 15px; }
.next-step-list { counter-reset: next-action; list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.next-step-list > li { position: relative; counter-increment: next-action; padding-left: 33px; color: #8a707b; font-size: 13px; line-height: 1.85; }
.next-step-list > li::before { content: counter(next-action, decimal-leading-zero); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; background: #f3ecee; color: #aa8291; border-radius: 50%; font-size: 9px; font-weight: 600; }
.next-step-list strong { color: #6e4c5b; }
.data-status-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.data-status-item { min-width: 0; border: 1px solid #ebe2e5; border-radius: 8px; padding: 13px 14px; background: #fff; font-size: 11px; color: #9a828d; }
.data-status-item > span:first-child { display: block; }
.status-value { display: block; margin-top: 4px; color: #785966; font-weight: 600; font-size: 13px; }
.status-value.pending { color: #a37b45; }
.output-reading-note { margin: 19px 0; padding: 0 3px; color: #9b838e; font-size: 12px; line-height: 1.9; }
.output-mode-tabs { display: flex; gap: 7px; padding: 5px; background: #eee7e9; border-radius: 10px; margin: 25px 0 19px; }
.output-mode-tabs button { flex: 1; min-height: 46px; border: 0; background: transparent; color: #9c7e8a; border-radius: 7px; font-size: 13px; font-weight: 500; padding: 10px 14px; line-height: 1.65; }
.output-mode-tabs button.selected, .output-mode-tabs button[aria-selected="true"], .output-mode-tabs button[aria-pressed="true"] { background: #fff; color: var(--wine); box-shadow: 0 2px 6px #6f394511; font-weight: 650; }
.output-mode-tabs button:hover { color: var(--wine); }
.output-groups { display: grid; gap: 14px; margin-bottom: 27px; }
.output-group { min-width: 0; border: 1px solid #e6dcdf; background: #fff; border-radius: 12px; overflow: hidden; }
.group-heading { position: relative; min-height: 90px; display: flex; align-items: center; gap: 15px; padding: 21px 24px; cursor: pointer; list-style: none; }
.group-heading::-webkit-details-marker, .output-item > summary::-webkit-details-marker { display: none; }
.group-heading::marker, .output-item > summary::marker { content: ""; }
.group-heading::after { content: ""; display: block; width: 7px; height: 7px; border-right: 1.5px solid #aa8895; border-bottom: 1.5px solid #aa8895; transform: rotate(45deg); position: absolute; right: 25px; top: 39px; transition: transform .15s; }
.output-group[open] > .group-heading::after { transform: rotate(225deg); top: 43px; }
.group-index { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 36px; border: 1px solid #eadbe1; border-radius: 8px; color: #9b6c7f; background: #f8f1f4; font-size: 11px; font-weight: 650; }
.group-copy { min-width: 0; flex: 1; }
.group-copy h3 { font-size: 16px; color: #684351; margin: 0 0 3px; }
.group-copy p { font-size: 11px; color: #a08792; line-height: 1.8; margin: 0; }
.group-count { display: inline-flex; align-items: center; justify-content: center; color: #9f7d8b; border: 1px solid #eaddE2; border-radius: 999px; padding: 3px 9px; font-size: 10px; line-height: 1.5; white-space: nowrap; margin-right: 24px; }
.output-items { border-top: 1px solid #ebe1e5; padding: 0 23px; }
.output-item { border-bottom: 1px solid #eee5e8; }
.output-item:last-child { border-bottom: 0; }
.output-item > summary { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 14px; row-gap: 3px; min-height: 77px; padding: 17px 19px 17px 0; list-style: none; cursor: pointer; align-content: center; }
.output-item > summary::after { content: ""; position: absolute; width: 5px; height: 5px; right: 2px; top: 34px; border-right: 1px solid #b094a0; border-bottom: 1px solid #b094a0; transform: rotate(45deg); }
.output-item[open] > summary::after { transform: rotate(225deg); top: 38px; }
.output-ja { grid-column: 1; color: #725060; font-weight: 600; font-size: 13px; line-height: 1.8; }
.output-en { grid-column: 1; color: #b39ca6; font-size: 9px; line-height: 1.6; letter-spacing: .035em; overflow-wrap: anywhere; }
.output-status { grid-column: 2; grid-row: 1 / span 2; align-self: center; background: #f5efef; color: #a0838a; border-radius: 4px; padding: 3px 7px; white-space: nowrap; font-size: 9px; line-height: 1.8; }
.output-body { padding: 0 0 23px; color: #8c727e; font-size: 13px; line-height: 1.95; }
.output-body > :last-child { margin-bottom: 0; }
.output-body p { margin-bottom: 12px; }
.output-body h4 { margin: 20px 0 10px; color: #775263; font-size: 14px; }
.output-body .summary-list { margin-top: 9px; }
.output-body .notice { margin-bottom: 13px; }
.document-area { min-width: 0; margin-top: 25px; }
.document-area > h2 { font-size: 19px; color: #6d4657; margin: 0 0 15px; }
.document-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.document-picker button { border: 1px solid #dfcbd3; background: #fff; color: #9b7686; border-radius: 7px; min-height: 44px; padding: 10px 15px; font-size: 12px; line-height: 1.65; }
.document-picker button.active, .document-picker button[aria-pressed="true"], .document-picker button[aria-selected="true"] { background: var(--wine); color: #fff; border-color: var(--wine); }
.document-picker button:hover:not(.active) { border-color: #a96d83; color: var(--wine); }
.document-purpose { font-size: 12px; color: #9b7f8d; margin: 0 0 16px; line-height: 1.9; padding: 0 3px; }
.document-sheet { position: relative; isolation: isolate; width: 100%; max-width: 850px; margin: 0 auto; padding: 38px 39px 31px; background: #fff; color: #57464e; border: 1px solid #dfd7da; border-radius: 3px; box-shadow: 0 6px 26px #4d28330a; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.document-header { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: start; gap: 6px 24px; padding-bottom: 17px; border-bottom: 1px solid #d5b7c3; margin-bottom: 25px; }
.document-header > .document-brand { grid-column: 1; grid-row: 1; }
.document-header > .document-meta { grid-column: 2; grid-row: 1; }
.document-header > .output-kicker { grid-column: 1 / -1; grid-row: 2; margin: 9px 0 1px; font-size: 9px; }
.document-header > .document-title { grid-column: 1 / -1; grid-row: 3; margin: 0; }
.document-header > p:last-child { grid-column: 1 / -1; grid-row: 4; font-size: 12px; color: #a0808f; margin: 1px 0 0; line-height: 1.8; }
.document-brand { color: var(--wine); font-size: 15px; font-weight: 750; letter-spacing: .08em; line-height: 1.6; }
.document-brand small { display: block; font-size: 8px; letter-spacing: .11em; font-weight: 500; color: #ad8998; margin-top: 2px; }
.document-meta { text-align: right; color: #a08692; font-size: 10px; line-height: 1.85; font-variant-numeric: tabular-nums; }
.document-meta > span { display: block; overflow-wrap: anywhere; }
.document-brand > span { display: block; font-size: 8px; color: #b08b9b; font-weight: 500; letter-spacing: .16em; margin-top: 2px; }
.document-title { font-size: 25px; font-weight: 650; line-height: 1.6; letter-spacing: .025em; color: #6e3a50; margin: 0 0 15px; }
.document-title small { display: block; font-size: 11px; font-weight: 500; color: #ab8a99; letter-spacing: .05em; margin-top: 5px; }
.document-decision { border-left: 3px solid #ad7e91; background: #faf5f7; padding: 15px 18px; color: #895e72; margin: 19px 0 23px; font-size: 13px; line-height: 1.9; }
.document-decision strong { font-size: 15px; color: #754258; }
.document-decision p { margin: 5px 0 0; }
.document-key-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin: 22px 0; }
.document-key-grid > div { border: 1px solid #eadfe4; border-radius: 6px; padding: 13px 14px; min-width: 0; background: #fdfbfc; }
.document-key-grid strong { display: block; color: #79465c; font-size: 23px; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.6; margin-top: 4px; }
.document-key-grid strong small { font-size: 10px; font-weight: 500; margin-left: 2px; }
.document-section { margin: 24px 0; min-width: 0; }
.document-section h3 { font-size: 15px; font-weight: 650; color: #6d4254; display: flex; align-items: center; gap: 9px; line-height: 1.65; margin: 0 0 13px; padding-bottom: 9px; border-bottom: 1px solid #e7dce1; }
.section-index { display: inline-grid; place-items: center; flex: 0 0 auto; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 4px; background: #f3e8ed; color: #a37689; font-size: 9px; font-weight: 600; }
.document-section h4 { font-size: 13px; color: #8a6174; margin: 18px 0 9px; }
.document-section > p { margin-bottom: 12px; }
.document-note { padding: 11px 13px; background: #f7f4f5; border-radius: 5px; color: #9b818d; font-size: 11px; line-height: 1.9; margin: 13px 0; }
.document-warning { padding: 12px 14px; border: 1px solid #e7d8ba; border-radius: 5px; background: #fcf8ed; color: #a0804c; font-size: 11px; line-height: 1.9; margin: 14px 0; }
.document-warning strong { color: #926d37; }
.table-wrap { max-width: 100%; min-width: 0; margin: 13px 0; border: 1px solid #e4d9df; border-radius: 5px; overflow: hidden; }
.document-table { width: 100%; max-width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 11px; line-height: 1.85; color: #866977; margin: 0; }
.document-table th, .document-table td { padding: 10px 11px; text-align: left; vertical-align: top; border-bottom: 1px solid #e9e0e4; overflow-wrap: anywhere; word-break: normal; font-variant-numeric: tabular-nums; }
.document-table thead th { color: #9e7a8b; background: #f7f1f4; font-size: 10px; font-weight: 600; }
.document-table tbody th { color: #886376; font-weight: 550; background: #fdfafb; }
.document-table tr:last-child > th, .document-table tr:last-child > td { border-bottom: 0; }
.document-table tbody tr + tr > th, .document-table tbody tr + tr > td { border-top: 1px solid #e9e0e4; }
.document-table td strong { font-weight: 600; color: #805367; }
.document-two-column { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 24px; min-width: 0; }
.document-two-column > * { min-width: 0; }
.document-two-column > .document-section { margin-top: 12px; margin-bottom: 12px; }
.document-list { margin: 11px 0; padding-left: 19px; color: #8e7380; font-size: 12px; line-height: 1.9; }
.document-list li { margin: 7px 0; }
.document-mini-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 14px 0; }
.document-mini-grid > div { min-width: 0; padding: 12px 13px; background: #f8f4f6; border-radius: 5px; }
.document-label { display: block; color: #a18492; font-size: 10px; font-weight: 500; line-height: 1.8; }
.document-value { display: block; color: #7b5366; font-size: 13px; font-weight: 600; line-height: 1.8; margin-top: 3px; overflow-wrap: anywhere; }
.document-footer { border-top: 1px solid #e3d5dd; padding-top: 15px; margin-top: 28px; color: #ae95a0; font-size: 9px; line-height: 1.9; }
.document-footer strong { color: #9c7e8b; font-weight: 600; }
.analysis-source { border-left: 2px solid #d3bdc7; padding: 3px 0 3px 13px; color: #a28894; font-size: 11px; line-height: 1.9; margin: 16px 0; }
.owner-additions { border: 1px dashed #d5bdc8; background: #fcf9fa; padding: 16px; border-radius: 7px; margin: 17px 0; color: #927080; font-size: 12px; }
.owner-additions h4 { margin: 0 0 8px; color: #81576b; font-size: 13px; }
.original-analysis { margin: 24px 0 0; padding: 15px 18px; background: #fff; border: 1px solid #e5dce0; border-radius: 8px; color: #9c8290; font-size: 12px; }
.original-analysis > summary { cursor: pointer; min-height: 44px; line-height: 1.8; display: flex; align-items: center; color: #8d6578; font-size: 13px; font-weight: 600; }
.original-analysis > summary::before { content: "+"; width: 21px; margin-right: 7px; color: #b297a4; font-size: 17px; font-weight: 400; }
.original-analysis[open] > summary::before { content: "\2212"; }
.original-analysis > summary::-webkit-details-marker { display: none; }
.original-analysis > summary::marker { content: ""; }
.internal-banner { padding: 14px 17px; border: 1px solid #e4d3db; border-radius: 7px; background: #f1e9ed; color: #92687c; font-size: 12px; line-height: 1.9; margin: 16px 0; }
.internal-banner strong { display: block; color: #7c4e64; font-size: 13px; margin-bottom: 3px; }
.internal-watermark { position: absolute; left: 0; right: 0; top: 42%; color: #8d5b71; opacity: .055; font-size: clamp(50px,9vw,90px); font-weight: 700; letter-spacing: .1em; transform: rotate(-28deg); text-align: center; pointer-events: none; z-index: -1; white-space: nowrap; }
.workflow-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 17px 0; padding: 0; list-style: none; counter-reset: workflow-item; }
.workflow-step { min-width: 0; border: 1px solid #e9dce3; border-top: 2px solid #c9a9b9; background: #fff; border-radius: 5px; padding: 12px; color: #987a89; font-size: 11px; line-height: 1.85; }
.workflow-step::before { counter-increment: workflow-item; content: counter(workflow-item, decimal-leading-zero); display: block; color: #b08b9d; font-size: 9px; font-weight: 600; letter-spacing: .07em; margin-bottom: 5px; }
.workflow-step > p { font: inherit; margin: 0; }
.workflow-step strong { color: #80576a; display: block; font-size: 12px; margin: 4px 0; }
.assumption-tag { display: inline-flex; align-items: center; gap: 4px; border-radius: 4px; border: 1px solid #e7d8df; background: #f7f1f4; padding: 2px 6px; color: #a18291; font-size: 9px; line-height: 1.6; font-weight: 500; vertical-align: middle; }
.report-appendix { margin: 23px 0; padding-top: 20px; border-top: 1px solid #e4d7de; color: #947886; font-size: 12px; line-height: 1.9; }
.report-appendix > h3 { color: #855d70; font-size: 14px; margin-bottom: 12px; }
.cost-split { display: flex; align-items: stretch; gap: 10px; margin: 17px 0; }
.cost-part { flex: 1; min-width: 0; border: 1px solid #e8dae2; background: #faf6f8; border-radius: 6px; padding: 14px 13px; color: #a08190; font-size: 11px; line-height: 1.85; }
.cost-part strong { display: block; color: #86576e; font-size: 19px; margin: 4px 0; }
.cost-part strong small { font-size: 10px; font-weight: 500; }
.cost-operator { display: flex; align-items: center; justify-content: center; color: #b196a4; font-size: 20px; flex: 0 0 auto; }
.decision-options { display: grid; gap: 10px; margin: 15px 0; }
.decision-options label { display: flex; align-items: flex-start; gap: 10px; min-height: 47px; background: #fbf8fa; border: 1px solid #e5d7df; border-radius: 6px; color: #946d82; padding: 12px 14px; font-size: 12px; line-height: 1.9; }
.decision-options input { flex: 0 0 auto; margin-top: 3px; }
.decision-options label:has(input:checked) { border-color: #ab7c92; background: #f6edf2; }
.mobile-doc-summary { display: none; }
.print-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 22px 0 12px; }
.document-print-note { color: #aa8e9c; font-size: 11px; line-height: 1.9; margin: 11px 0; }
.output-ja, .output-en { display: block; }
.output-item > summary > span:first-child { min-width: 0; }
.output-item > summary > .output-status { grid-column: 2; grid-row: 1; }
.output-summary .summary-main > h2 { margin-top: 13px; }
.output-summary > .next-step-card { background: #faf5f7; border: 0; border-radius: 8px; padding: 17px 19px; margin: 22px 0 0; }
.output-summary > .next-step-card > .output-kicker { display: block; margin: 0 0 6px; }
.output-summary > .next-step-card > strong { display: block; color: #7b4a5e; font-size: 14px; line-height: 1.9; }
.output-summary > .next-step-card > p { color: #a17d8d; font-size: 12px; margin: 5px 0 0; line-height: 1.9; }
.output-groups > .section-heading { align-items: flex-start; gap: 12px; margin: 0 0 4px; }
.output-groups > .section-heading > h2 { margin: 0; font-size: 18px; color: #74505f; line-height: 1.7; }
.output-groups > .section-heading > .text-muted { font-size: 11px; margin-top: 5px; white-space: nowrap; }
.data-status-item > span:last-child { display: block; margin-top: 5px; color: #af96a2; font-size: 10px; line-height: 1.8; }
.status-value small { font-size: 10px; margin-left: 2px; }
.document-purpose { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.document-purpose > div { min-width: 0; flex: 1; }
.document-purpose > div > h2 { font-size: 19px; color: #765064; margin: 0 0 7px; }
.document-purpose > div > p { font-size: 12px; margin-bottom: 7px; }
.document-purpose > .button { flex: 0 0 auto; }
.original-analysis > h2 { font-size: 17px; color: #7e586b; margin: 0 0 12px; line-height: 1.8; }
.original-analysis.analysis-source { padding: 20px 22px; border: 1px solid #e4d5dd; border-left: 3px solid #c4a2b3; }
.owner-additions > h2, .owner-additions > h3 { font-size: 16px; color: #805469; margin: 0 0 11px; line-height: 1.8; }
.document-decision > h3 { font-size: 17px; line-height: 1.85; margin: 10px 0 4px; color: #78485e; }

@media (max-width: 1100px) and (min-width: 701px) {
  .summary-columns { gap: 21px; }
  .summary-conditions { padding-left: 21px; }
  .key-numbers { gap: 9px; }
  .key-number { padding: 13px; }
  .key-number strong { font-size: 25px; }
  .document-sheet { padding: 30px; }
  .workflow-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Report reading order: conclusion, numbers, next checks, then full evidence. */
@media screen {
  .document-sheet .report-brief {
    min-width: 0; margin: 20px 0 25px; padding: 22px;
    border: 1px solid #b6c2cf; border-top: 3px solid #172d48;
    background: #fff; color: #25374a; font-size: 16px; line-height: 1.8;
  }
  .document-sheet .report-brief-label {
    margin: 0 0 9px; color: #4d5f73; font-size: 14px; font-weight: 600; line-height: 1.65;
  }
  .document-sheet .report-brief-conclusion {
    margin: 0 0 10px; color: #172d48; font-size: 23px; line-height: 1.55;
    font-weight: 650; letter-spacing: .01em; overflow-wrap: anywhere;
  }
  .document-sheet .report-brief-reason { margin: 0 0 16px; color: #374b61; font-size: 16px; line-height: 1.8; }
  .document-sheet .report-brief-facts {
    display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 0; min-width: 0; margin: 17px 0; border-top: 1px solid #b6c2cf; border-bottom: 1px solid #b6c2cf;
  }
  .document-sheet .report-brief-fact { min-width: 0; padding: 13px 14px; overflow-wrap: anywhere; }
  .document-sheet .report-brief-fact + .report-brief-fact { border-left: 1px solid #d2dae3; }
  .document-sheet .report-brief-fact > span { display: block; color: #4d5f73; font-size: 14px; line-height: 1.7; }
  .document-sheet .report-brief-fact > strong {
    display: block; margin: 4px 0; color: #172d48; font-size: 26px; line-height: 1.45;
    font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: 0; overflow-wrap: anywhere;
  }
  .document-sheet .report-brief-fact > small { display: block; color: #4d5f73; font-size: 14px; line-height: 1.7; }
  .document-sheet .report-brief-next { margin-top: 17px; color: #25374a; font-size: 16px; }
  .document-sheet .report-brief-next h3 { display: block; margin: 0 0 8px; padding: 0; border: 0; color: #172d48; font-size: 18px; line-height: 1.65; }
  .document-sheet .report-brief-next ol { margin: 0; padding-left: 23px; }
  .document-sheet .report-brief-next li { margin: 7px 0; line-height: 1.8; }
  .document-sheet .report-brief-condition {
    margin: 15px 0 0; padding: 12px 14px; border-left: 3px solid #8a3c32;
    background: #fbf5f3; color: #703c34; font-size: 16px; line-height: 1.8;
  }
  .document-sheet .report-detail { min-width: 0; margin: 22px 0; border-top: 1px solid #b6c2cf; }
  .document-sheet .report-detail > summary {
    display: flex; align-items: center; gap: 10px; min-width: 0; min-height: 48px;
    padding: 14px 0; color: #172d48; font-size: 16px; font-weight: 600; line-height: 1.75;
    cursor: pointer; list-style: none; overflow-wrap: anywhere;
  }
  .document-sheet .report-detail > summary::-webkit-details-marker { display: none; }
  .document-sheet .report-detail > summary::marker { content: ""; }
  .document-sheet .report-detail > summary::before { content: "+"; flex: 0 0 24px; color: #172d48; font-size: 23px; font-weight: 400; text-align: center; }
  .document-sheet .report-detail[open] > summary::before { content: "\2212"; }
  .document-sheet .report-detail > summary:focus-visible { outline: 3px solid var(--wine); outline-offset: 4px; }
  .document-sheet .report-detail-body { min-width: 0; padding-top: 5px; overflow-wrap: anywhere; }
  .document-sheet .report-detail-body > :first-child { margin-top: 10px; }
  .document-sheet .report-detail-print-label { display: none; }
  .document-sheet .report-detail-screen-label { display: inline; }
  .output-page .assumption-tag { color: #4d3a43; border-color: #a9909c; font-size: 14px; line-height: 1.65; padding: 3px 7px; }
}

@media screen and (max-width: 700px) {
  .document-sheet .report-brief { padding: 18px 16px; margin: 18px 0 22px; }
  .document-sheet .report-brief-conclusion { font-size: 22px; }
  .document-sheet .report-brief-facts { grid-template-columns: minmax(0,1fr); }
  .document-sheet .report-brief-fact { padding: 13px 0; }
  .document-sheet .report-brief-fact + .report-brief-fact { border-left: 0; border-top: 1px solid #d2dae3; }
  .document-sheet .report-brief-fact > span { font-size: 16px; }
  .document-sheet .report-brief-fact > strong { font-size: 27px; }
  .document-sheet .report-brief-fact > small { font-size: 14px; }
  .document-sheet .report-brief-condition { padding: 12px; }
  .document-sheet .report-detail > summary { padding: 14px 0; }
  .document-sheet .report-detail-body .table-wrap { overflow: visible; max-width: 100%; }
  .document-sheet .report-detail-body .document-table tbody td[data-label] { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .document-sheet .report-detail-body .document-table td[data-label]::before { font-size: 14px; line-height: 1.6; }
}

@media print {
  .output-overview .output-summary, .output-overview .output-groups {
    display: block !important; width: 100%; max-width: none; height: auto;
    overflow: visible !important; max-height: none !important; margin: 0 0 16px;
    padding: 12px; border: 1px solid #c1cbd6; border-radius: 0; box-shadow: none; background: #fff;
  }
  .output-overview .output-summary .summary-columns { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 16px; margin-top: 10px; }
  .output-overview .output-summary h2 { font-size: 13pt; margin: 6px 0; }
  .output-overview .summary-main > p, .output-overview .summary-conditions { color: #374b61; font-size: 9pt; line-height: 1.6; }
  .output-overview .summary-conditions { padding-left: 12px; }
  .output-overview .summary-conditions h3 { font-size: 9.5pt; margin: 0 0 6px; }
  .output-overview .key-numbers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
  .output-overview .key-number { min-width: 0; padding: 9px; border: 1px solid #d2dae3; border-radius: 0; color: #4d5f73; background: #fff; font-size: 8pt; }
  .output-overview .key-number strong { color: #172d48; font-size: 15pt; line-height: 1.45; }
  .output-overview .key-number strong small, .output-overview .key-number > small { font-size: 7.5pt; }
  .output-overview .output-summary .next-step-card { display: block !important; margin: 11px 0 0; padding: 9px 11px; border: 1px solid #b6c2cf; border-radius: 0; background: #fff; }
  .output-overview .output-summary .next-step-card > strong { font-size: 10pt; color: #172d48; }
  .output-overview .output-summary .next-step-card > p { font-size: 8.5pt; color: #374b61; }
  .output-overview .output-summary .output-kicker { display: block !important; font-size: 7.5pt; color: #4d5f73; }
  .output-overview .output-groups { padding: 0; border: 0; }
  .output-overview .output-group, .output-overview .output-item {
    display: block !important; height: auto !important; overflow: visible !important;
    max-height: none !important; margin: 12px 0; border: 0; border-radius: 0; box-shadow: none; break-inside: auto;
  }
  .output-overview .output-group::details-content, .output-overview .output-item::details-content { content-visibility: visible !important; height: auto !important; overflow: visible !important; }
  .output-overview .output-group > :not(summary), .output-overview .output-item > :not(summary) { display: block !important; visibility: visible !important; height: auto !important; overflow: visible !important; max-height: none !important; }
  .output-overview .group-heading, .output-overview .output-item > summary { display: block; min-height: 0; margin: 0 0 8px; padding: 7px 0; border-bottom: 1px solid #b6c2cf; break-after: avoid; }
  .output-overview .group-heading::after, .output-overview .output-item > summary::after { content: none; display: none; }
  .output-overview .group-copy h3 { font-size: 11pt; color: #172d48; margin: 4px 0; }
  .output-overview .group-copy p { font-size: 8.5pt; color: #4d5f73; }
  .output-overview .group-count { margin: 4px 0 0; font-size: 7.5pt; }
  .output-overview .output-items { padding: 0 0 0 12px; }
  .output-overview .output-ja { font-size: 10pt; color: #172d48; }
  .output-overview .output-en { font-size: 7.5pt; color: #4d5f73; }
  .output-overview .output-status { display: inline-block; margin-top: 4px; font-size: 7.5pt; }
  .output-overview .output-body { padding: 0 0 9px; color: #25374a; font-size: 9pt; line-height: 1.65; }
  .output-overview .output-body h4 { font-size: 9.5pt; color: #172d48; margin: 11px 0 7px; break-after: avoid; }
  .output-overview .data-status-grid { gap: 7px; margin: 10px 0; }
  .output-overview .data-status-item { padding: 8px 9px; border-radius: 0; font-size: 8pt; color: #4d5f73; }
  .output-overview .data-status-item > span:last-child { font-size: 7.5pt; }
  .document-sheet .report-brief {
    display: block; margin: 11px 0 15px; padding: 10px 12px;
    border: 1px solid #9baabd; border-top: 2px solid #172d48;
    background: #fff; color: #25374a; font-size: 9pt; line-height: 1.55;
    overflow: visible; max-height: none; break-inside: avoid;
  }
  .document-sheet .report-brief-label { margin: 0 0 5px; color: #4d5f73; font-size: 7.5pt; font-weight: 600; }
  .document-sheet .report-brief-conclusion { margin: 0 0 5px; color: #172d48; font-size: 13pt; line-height: 1.45; font-weight: 650; break-after: avoid; }
  .document-sheet .report-brief-reason { margin: 0 0 7px; color: #374b61; font-size: 9pt; line-height: 1.55; }
  .document-sheet .report-brief-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 8px 0; border-top: 1px solid #b6c2cf; border-bottom: 1px solid #b6c2cf; break-inside: avoid; }
  .document-sheet .report-brief-fact { min-width: 0; padding: 7px 8px; overflow-wrap: anywhere; }
  .document-sheet .report-brief-fact + .report-brief-fact { border-left: 1px solid #d2dae3; }
  .document-sheet .report-brief-fact > span { display: block; color: #4d5f73; font-size: 7.5pt; }
  .document-sheet .report-brief-fact > strong { display: block; color: #172d48; font-size: 15pt; line-height: 1.4; font-weight: 650; font-variant-numeric: tabular-nums; }
  .document-sheet .report-brief-fact > small { display: block; color: #4d5f73; font-size: 7.5pt; line-height: 1.5; }
  .document-sheet .report-brief .assumption-tag { font-size: 7.5pt; line-height: 1.5; }
  .document-sheet .report-brief-next { margin-top: 8px; color: #25374a; font-size: 9pt; }
  .document-sheet .report-brief-next h3 { display: block; margin: 0 0 5px; padding: 0; border: 0; color: #172d48; font-size: 9.5pt; line-height: 1.5; }
  .document-sheet .report-brief-next ol { margin: 0; padding-left: 17px; }
  .document-sheet .report-brief-next li { margin: 3px 0; line-height: 1.5; }
  .document-sheet .report-brief-condition { margin: 8px 0 0; padding: 6px 8px; border-left: 2px solid #8a3c32; color: #703c34; font-size: 8pt; line-height: 1.5; background: #fff; }
  .document-sheet .report-detail { display: block !important; margin: 14px 0 0; padding: 0; border: 0; overflow: visible !important; max-height: none !important; break-inside: auto; }
  .document-sheet .report-detail::details-content { content-visibility: visible !important; height: auto !important; overflow: visible !important; }
  .document-sheet .report-detail > summary { display: block; min-height: 0; margin: 0 0 7px; padding: 0 0 5px; border-bottom: 1px solid #415b78; color: #172d48; font-size: 10pt; font-weight: 600; break-after: avoid; }
  .document-sheet .report-detail > summary::before, .document-sheet .report-detail > summary::after { content: none; display: none; }
  .document-sheet .report-detail > :not(summary), .document-sheet .report-detail-body { display: block !important; visibility: visible !important; overflow: visible !important; max-height: none !important; height: auto !important; }
  .document-sheet .report-detail-screen-label { display: none; }
  .document-sheet .report-detail-print-label { display: inline; }
  .document-sheet .report-detail-body .table-wrap { overflow: visible; }
}
@media (max-width: 850px) {
  .summary-columns { grid-template-columns: 1fr; gap: 19px; }
  .summary-conditions { border-left: 0; border-top: 1px solid var(--line); padding: 17px 0 0; }
  .document-two-column { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 700px) {
  .output-summary { padding: 23px 20px; margin-bottom: 18px; border-radius: 11px; }
  .output-summary h2 { font-size: 21px; line-height: 1.75; }
  .output-summary > p { font-size: 14px; }
  .output-kicker { font-size: 10px; }
  .verdict-pill { font-size: 12px; padding: 6px 9px; }
  .summary-main > p { font-size: 14px; line-height: 2; }
  .summary-conditions { font-size: 13px; }
  .summary-conditions h3 { font-size: 14px; }
  .key-numbers { grid-template-columns: 1fr; gap: 8px; margin-top: 19px; }
  .key-number { padding: 13px 15px; font-size: 12px; }
  .key-number strong { font-size: 28px; margin-top: 2px; }
  .key-number strong small { font-size: 12px; }
  .key-number > small { font-size: 11px; }
  .next-step-card { padding: 22px 20px; margin-bottom: 18px; border-radius: 11px; }
  .next-step-card h2, .next-step-card h3 { font-size: 17px; }
  .next-step-list { gap: 15px; }
  .next-step-list > li { font-size: 14px; padding-left: 31px; }
  .next-step-list > li::before { top: 3px; }
  .data-status-grid { grid-template-columns: 1fr; gap: 8px; }
  .data-status-item { padding: 12px 14px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: baseline; column-gap: 12px; row-gap: 3px; font-size: 12px; }
  .data-status-item > span:first-child { grid-column: 1; }
  .data-status-item > .status-value { grid-column: 2; grid-row: 1; }
  .data-status-item > span:last-child { grid-column: 1 / -1; font-size: 11px; margin-top: 1px; }
  .status-value { margin: 0 0 0 auto; font-size: 13px; text-align: right; }
  .output-reading-note { font-size: 12px; }
  .output-mode-tabs { gap: 4px; padding: 4px; margin-top: 22px; }
  .output-mode-tabs button { font-size: 13px; padding: 10px 8px; }
  .output-groups { gap: 12px; }
  .output-groups > .section-heading { display: flex; flex-direction: column; gap: 3px; }
  .output-groups > .section-heading > h2 { font-size: 18px; }
  .output-groups > .section-heading > .text-muted { margin: 0; white-space: normal; font-size: 12px; }
  .group-heading { padding: 19px 18px; min-height: 93px; gap: 11px; }
  .group-heading::after { right: 19px; top: 42px; }
  .output-group[open] > .group-heading::after { top: 46px; }
  .group-index { width: 28px; height: 31px; font-size: 10px; border-radius: 6px; }
  .group-copy h3 { font-size: 15px; line-height: 1.8; }
  .group-copy p { font-size: 11px; }
  .group-count { font-size: 9px; padding: 3px 6px; margin-right: 18px; }
  .output-items { padding: 0 17px; }
  .output-item > summary { column-gap: 8px; padding-right: 14px; min-height: 86px; }
  .output-item > summary::after { top: 39px; right: 0; }
  .output-item[open] > summary::after { top: 43px; }
  .output-ja { font-size: 14px; }
  .output-en { font-size: 9px; }
  .output-status { font-size: 9px; padding: 3px 5px; }
  .output-body { font-size: 14px; padding-bottom: 20px; }
  .output-body h4 { font-size: 14px; }
  .document-area { margin-top: 23px; }
  .document-area > h2 { font-size: 18px; }
  .document-picker { gap: 7px; }
  .document-picker button { flex: 1 1 calc(50% - 7px); padding: 10px 8px; font-size: 12px; min-height: 47px; }
  .document-purpose { font-size: 12px; line-height: 1.9; }
  .document-purpose { flex-direction: column; align-items: stretch; gap: 10px; }
  .document-purpose > div > h2 { font-size: 19px; }
  .document-purpose > .button { align-self: flex-start; }
  .document-sheet { padding: 24px 18px; border-radius: 5px; font-size: 14px; line-height: 1.95; }
  .document-header { gap: 5px 13px; padding-bottom: 14px; margin-bottom: 21px; }
  .document-header > .output-kicker { font-size: 9px; margin-top: 11px; }
  .document-header > p:last-child { font-size: 12px; margin-top: 3px; }
  .document-brand { font-size: 13px; }
  .document-brand small { font-size: 7px; }
  .document-meta { font-size: 9px; }
  .document-title { font-size: 22px; line-height: 1.75; margin-bottom: 14px; }
  .document-title small { font-size: 11px; }
  .document-decision { padding: 14px 13px; font-size: 13px; margin: 17px 0 21px; }
  .document-decision strong { font-size: 15px; }
  .document-key-grid { grid-template-columns: 1fr 1fr; gap: 8px; margin: 19px 0; }
  .document-key-grid > div { padding: 12px 11px; }
  .document-key-grid strong { font-size: 23px; }
  .document-key-grid strong small { font-size: 10px; }
  .document-section { margin: 22px 0; }
  .document-section h3 { font-size: 15px; line-height: 1.9; gap: 8px; }
  .section-index { min-width: 21px; height: 21px; font-size: 9px; }
  .document-section h4 { font-size: 14px; }
  .document-note, .document-warning { font-size: 12px; line-height: 1.9; padding: 12px; }
  .table-wrap { border: 0; border-radius: 0; overflow: visible; margin: 14px 0; }
  .document-table { display: block; font-size: 13px; table-layout: auto; }
  .document-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .document-table tbody { display: block; }
  .document-table tbody tr { display: block; border: 1px solid #e6d9e1; border-radius: 6px; overflow: hidden; margin-bottom: 10px; }
  .document-table tbody th { display: block; padding: 10px 12px; background: #f6eef2; color: #986d81; font-size: 13px; border: 0; font-weight: 600; }
  .document-table tbody td { display: block; border: 0; border-top: 1px solid #eee4e9; padding: 10px 12px; min-width: 0; overflow-wrap: anywhere; }
  .document-table tbody td[data-label] { display: grid; grid-template-columns: minmax(78px,.8fr) minmax(0,1.2fr); gap: 13px; }
  .document-table td[data-label]::before { content: attr(data-label); color: #aa8a9a; font-size: 11px; font-weight: 500; line-height: 1.9; }
  .document-table tbody tr + tr > th, .document-table tbody tr + tr > td { border-top: 0; }
  .document-table tbody tr + tr > td + td { border-top: 1px solid #eee4e9; }
  .document-table tbody tr:last-child > th, .document-table tbody tr:last-child > td { border-bottom: 0; }
  .document-two-column { grid-template-columns: 1fr; gap: 0; }
  .document-list { font-size: 13px; line-height: 1.95; padding-left: 18px; }
  .document-list li { margin: 8px 0; }
  .document-mini-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .document-mini-grid > div { padding: 12px; }
  .document-label { font-size: 11px; }
  .document-value { font-size: 14px; }
  .document-footer { font-size: 10px; line-height: 1.9; margin-top: 23px; }
  .analysis-source { font-size: 12px; line-height: 1.9; }
  .owner-additions { font-size: 13px; padding: 14px; }
  .owner-additions h4 { font-size: 14px; }
  .original-analysis { padding: 13px 15px; font-size: 13px; }
  .original-analysis.analysis-source { padding: 18px 16px; }
  .original-analysis > h2 { font-size: 16px; }
  .original-analysis > summary { font-size: 14px; }
  .internal-banner { font-size: 12px; padding: 13px 14px; }
  .internal-banner strong { font-size: 14px; }
  .internal-watermark { font-size: 44px; }
  .workflow-steps { grid-template-columns: 1fr; gap: 9px; }
  .workflow-step { font-size: 12px; padding: 12px; }
  .workflow-step strong { font-size: 13px; }
  .assumption-tag { font-size: 10px; }
  .report-appendix { font-size: 13px; }
  .cost-split { flex-direction: column; gap: 5px; }
  .cost-part { padding: 12px 14px; font-size: 12px; }
  .cost-part strong { font-size: 21px; }
  .cost-operator { font-size: 19px; min-height: 20px; }
  .decision-options label { font-size: 14px; padding: 13px; }
  .mobile-doc-summary { display: block; border-left: 2px solid #d0acbc; padding: 5px 0 5px 12px; font-size: 12px; color: #a08090; margin: 0 0 15px; line-height: 1.9; }
  .print-controls { gap: 9px; }
  .print-controls .button { flex: 1 1 auto; font-size: 13px; }
  .document-print-note { font-size: 12px; }
  .output-summary > .next-step-card { padding: 16px; margin-top: 20px; }
  .output-summary > .next-step-card > strong { font-size: 14px; }
  .output-summary > .next-step-card > p { font-size: 12px; }
}
@media (max-width: 370px) {
  .output-summary { padding-left: 17px; padding-right: 17px; }
  .group-heading { padding-left: 14px; padding-right: 14px; gap: 9px; }
  .group-count { display: none; }
  .group-copy { padding-right: 18px; }
  .document-sheet { padding: 22px 15px; }
  .document-key-grid { grid-template-columns: 1fr; }
  .document-title { font-size: 20px; }
  .document-meta { font-size: 8px; }
  .document-table tbody td[data-label] { grid-template-columns: minmax(67px,.85fr) minmax(0,1.15fr); gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .group-heading::after { transition: none; }
}
@media print {
  @page { size: A4; margin: 12mm; }
  html, body { width: auto !important; height: auto !important; background: #fff !important; font-size: 9.5pt; line-height: 1.65; color: #382e34; }
  .no-print, .output-summary, .output-kicker, .next-step-card, .output-mode-tabs, .output-groups, .output-reading-note, .document-picker, .document-purpose, .mobile-doc-summary, .print-controls, .document-print-note, .output-page > .page-heading, .output-page > .page-toolbar { display: none !important; }
  .output-page, .document-area { display: block; width: 100%; max-width: none; padding: 0; margin: 0; }
  .document-area > h2 { display: none; }
  .document-sheet { width: 100%; max-width: none; padding: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; background: #fff; font-size: 9.5pt; line-height: 1.7; overflow: visible; break-inside: auto; page-break-inside: auto; }
  .document-header { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 4px 15px; margin-bottom: 16px; padding-bottom: 11px; border-bottom-color: #a88b99; break-inside: avoid; }
  .document-header > .output-kicker { display: block !important; margin-top: 8px; font-size: 7pt; color: #8e6b7c; }
  .document-header > p:last-child { font-size: 8.5pt; line-height: 1.75; margin-top: 2px; }
  .document-header > .document-title { font-size: 19pt; margin: 0; }
  .document-brand { font-size: 12pt; color: #683e51; }
  .document-brand small { font-size: 6.5pt; }
  .document-meta { font-size: 7.5pt; color: #7b6470; }
  .document-title { font-size: 19pt; line-height: 1.5; margin: 0 0 12px; color: #60394b; break-after: avoid; page-break-after: avoid; }
  .document-title small { font-size: 8pt; }
  .document-decision { padding: 10px 12px; margin: 13px 0 17px; font-size: 9.5pt; background: #fff; border: 1px solid #d8c8d0; border-left: 3px solid #9d788a; break-inside: avoid; }
  .document-decision strong { font-size: 11pt; color: #623e4f; }
  .document-key-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 15px 0; break-inside: avoid; }
  .document-key-grid > div { padding: 10px 11px; border-radius: 0; background: #fff; border-color: #d9cbd2; }
  .document-key-grid strong { font-size: 16pt; }
  .document-key-grid strong small { font-size: 8pt; }
  .document-section { display: block; min-width: 0; margin: 16px 0; padding: 0; border: 0; box-shadow: none; break-inside: auto; page-break-inside: auto; }
  .document-section h3 { font-size: 11pt; margin: 0 0 9px; padding-bottom: 6px; border-bottom-color: #d7c5ce; color: #654351; break-after: avoid; page-break-after: avoid; }
  .document-section h4 { font-size: 9.5pt; margin: 12px 0 7px; color: #775462; break-after: avoid; page-break-after: avoid; }
  .section-index { min-width: 17px; height: 17px; border-radius: 0; border: 1px solid #dac8d1; background: #fff; color: #8c6478; font-size: 7pt; }
  .document-section > p { margin-bottom: 8px; orphans: 3; widows: 3; }
  .document-note, .document-warning { padding: 9px 10px; margin: 10px 0; border-radius: 0; background: #fff; font-size: 8pt; line-height: 1.75; break-inside: avoid; }
  .document-note { border: 1px solid #ded4d9; color: #806675; }
  .document-warning { border-color: #cfbd9c; color: #82653e; }
  .table-wrap { width: 100%; max-width: none; overflow: visible; margin: 9px 0; border: 1px solid #d4c5cd; border-radius: 0; break-inside: auto; }
  .document-table { display: table; width: 100%; max-width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 8pt; line-height: 1.65; color: #6c5361; }
  .document-table thead { position: static; display: table-header-group; width: auto; height: auto; margin: 0; padding: 0; clip: auto; overflow: visible; white-space: normal; }
  .document-table tbody { display: table-row-group; }
  .document-table tr, .document-table tbody tr { display: table-row; border: 0; border-radius: 0; margin: 0; break-inside: avoid; page-break-inside: avoid; }
  .document-table th, .document-table td, .document-table tbody th, .document-table tbody td, .document-table tbody td[data-label] { display: table-cell; padding: 7px 8px; border: 0; border-bottom: 1px solid #e0d4da; overflow-wrap: anywhere; word-break: normal; vertical-align: top; background: #fff; font-size: 8pt; }
  .document-table thead th { display: table-cell; background: #f3edf0; color: #775566; font-size: 7.5pt; font-weight: 600; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .document-table td[data-label]::before { display: none; content: none; }
  .document-table tbody tr + tr > th, .document-table tbody tr + tr > td, .document-table tbody tr + tr > td + td { border-top: 1px solid #e0d4da; }
  .document-two-column { display: block; }
  .document-two-column > .document-section { margin: 16px 0; }
  .document-list { font-size: 9pt; line-height: 1.75; margin: 8px 0; padding-left: 17px; }
  .document-list li { margin: 5px 0; orphans: 2; widows: 2; }
  .document-mini-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin: 10px 0; break-inside: avoid; }
  .document-mini-grid > div { border: 1px solid #dfd1d9; border-radius: 0; background: #fff; padding: 9px; }
  .document-label { font-size: 7.5pt; color: #88707e; }
  .document-value { font-size: 9pt; color: #664555; }
  .document-footer { font-size: 7pt; color: #907d86; padding-top: 10px; margin-top: 20px; break-inside: avoid; }
  .analysis-source { font-size: 8pt; padding-left: 10px; margin: 11px 0; }
  .owner-additions { padding: 11px; margin: 12px 0; font-size: 9pt; border-radius: 0; background: #fff; break-inside: auto; }
  .owner-additions h4 { font-size: 9.5pt; }
  .internal-banner { padding: 10px 12px; font-size: 8.5pt; border-radius: 0; background: #fff; border-color: #bca4b1; color: #725061; margin: 11px 0; break-inside: avoid; }
  .internal-banner strong { font-size: 10pt; }
  .internal-watermark { position: absolute; top: 43%; font-size: 57pt; opacity: .055; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .workflow-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; margin: 11px 0; padding: 0; break-inside: avoid; }
  .workflow-step { background: #fff; padding: 9px; font-size: 8pt; border-radius: 0; }
  .workflow-step strong { font-size: 8.5pt; }
  .assumption-tag { font-size: 7pt; padding: 1px 4px; border-radius: 0; background: #fff; }
  .report-appendix { font-size: 8.5pt; margin: 15px 0; padding-top: 12px; break-inside: auto; }
  .report-appendix > h3 { font-size: 10pt; break-after: avoid; }
  .cost-split { display: flex; flex-direction: row; gap: 7px; margin: 12px 0; break-inside: avoid; }
  .cost-part { background: #fff; border-radius: 0; padding: 10px; font-size: 8pt; }
  .cost-part strong { font-size: 13pt; }
  .cost-operator { font-size: 15pt; }
  .decision-options { gap: 6px; margin: 10px 0; }
  .decision-options label { padding: 8px 10px; min-height: 0; font-size: 9pt; background: #fff; border-radius: 0; }
  .print-break { break-before: page; page-break-before: always; }
  .document-sheet > .print-break:first-child { break-before: auto; page-break-before: auto; }
  .document-sheet h1, .document-sheet h2, .document-sheet h3, .document-sheet h4 { break-after: avoid; page-break-after: avoid; }
  .document-sheet input, .document-sheet select, .document-sheet textarea, .document-sheet button { display: none !important; }
}
