/* Fictional completed reports: paper styling, separate from the wine app UI. */
/* 紙面の色は本人の結果（.paper-page の外）でも使うため、ページ全体にも定義する。未定義だと表の見出しが白地に白文字になる。 */
:root { --paper-navy: #172d48; --paper-teal: #176861; --paper-ochre: #76591e; --paper-rust: #8a3c32; }
@media screen {
  .paper-reader { min-width: 0; max-width: 100%; margin: 22px 0; }
  .paper-reader-toolbar { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid #c6cfd9; font-size: 16px; }
  .paper-reader-toolbar p { margin: 0; font-size: 16px; line-height: 1.7; }
  .paper-page-controls, .paper-reading-mode { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-width: 0; }
  .paper-page-controls { margin: 12px 0; }
  .paper-page-controls .button, .paper-reading-mode .button,
  .paper-page-controls button, .paper-reading-mode button { min-height: 48px; font-size: 16px; white-space: normal; }
  .paper-page-controls select { min-height: 48px; max-width: 100%; min-width: 0; font-size: 16px; }
  .paper-document-viewport { max-width: 100%; min-width: 0; overflow-x: auto; overscroll-behavior-x: contain; padding: 2px 1px 12px; }
  .paper-page.document-sheet {
    --paper-navy: #172d48; --paper-teal: #176861; --paper-ochre: #76591e; --paper-rust: #8a3c32;
    display: block; position: relative; box-sizing: border-box; width: 100%; max-width: 794px;
    min-width: 0; min-height: 1123px; margin: 0 auto; padding: 35px 40px 28px;
    border: 1px solid #a8b6c7; border-radius: 0; background: #fff; color: #25374a;
    box-shadow: none; font-family: "REVO Sans JP", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
    font-size: 14px; line-height: 1.65; letter-spacing: .015em; overflow-wrap: anywhere;
  }
  .paper-page p { font-size: inherit; line-height: inherit; margin: 7px 0 10px; }
  .paper-page ul, .paper-page ol { margin: 8px 0 12px; padding-left: 22px; }
  .paper-page li { margin: 4px 0; line-height: 1.65; }
  .paper-header { margin: 0 0 20px; padding-bottom: 14px; border-bottom: 2px solid var(--paper-navy); }
  .paper-meta { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 3px 14px; color: #4d5f73; font-size: 11px; line-height: 1.6; }
  .paper-kicker { color: var(--paper-navy); font-weight: 600; font-size: 11px !important; letter-spacing: .10em; margin: 15px 0 5px !important; }
  .paper-page .paper-title { margin: 5px 0 8px; color: var(--paper-navy); font-family: "REVO Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS PMincho", serif; font-size: 31px; font-weight: 600; line-height: 1.4; letter-spacing: .04em; }
  .paper-subtitle { margin: 3px 0 0 !important; color: #4d5f73; font-size: 12px !important; }
  .paper-page-title { margin: 12px 0 0 !important; color: var(--paper-navy); font-size: 16px !important; font-weight: 600; line-height: 1.6; }
  .paper-caption { color: #4d5f73; font-size: 11px !important; line-height: 1.7; }
  .paper-source-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 8px; margin: 10px 0 16px; font-size: 11px; line-height: 1.6; }
  .paper-badge { display: inline-block; padding: 2px 6px; border: 1px solid #8d9daf; border-radius: 2px; background: #fff; color: var(--paper-navy); font-size: 10px; font-weight: 600; line-height: 1.5; white-space: normal; vertical-align: baseline; }
  .paper-badge.actual, .paper-source-tag[data-source="actual"] { color: #172d48; background: #edf2f7; border-color: #8d9daf; }
  .paper-badge.calc, .paper-source-tag[data-source="calculation"] { color: #145951; background: #eef7f5; border-color: #789f98; }
  .paper-badge.general, .paper-source-tag[data-source="general"] { color: #645018; background: #faf5e9; border-color: #b9a56e; }
  .paper-source-tag { display: inline-block; padding: 2px 6px; border: 1px solid #8d9daf; font-size: 10px; line-height: 1.5; }
  .paper-section { display: block; min-width: 0; margin: 19px 0; padding: 0; border: 0; box-shadow: none; }
  .paper-section h3 { display: flex; align-items: baseline; gap: 9px; margin: 0 0 10px; padding: 0 0 6px; border-bottom: 1px solid #415b78; color: var(--paper-navy); font-size: 16px; font-weight: 650; line-height: 1.6; }
  .paper-section h3 > span:first-child { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 23px; min-height: 21px; border: 1px solid var(--paper-navy); color: var(--paper-navy); font-size: 11px; font-variant-numeric: tabular-nums; }
  .paper-section h4 { color: var(--paper-navy); font-size: 14px; margin: 12px 0 7px; }
  .paper-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 15px 0 18px; border-top: 1px solid #415b78; border-bottom: 1px solid #415b78; }
  .paper-metric { min-width: 0; padding: 12px 13px; font-size: 12px; }
  .paper-metric + .paper-metric { border-left: 1px solid #c6cfd9; }
  .paper-metric > span { display: block; color: #4d5f73; font-size: 12px; line-height: 1.6; }
  .paper-metric strong, .paper-number { display: block; color: var(--paper-navy); font-size: 27px; font-weight: 650; line-height: 1.45; font-variant-numeric: tabular-nums; letter-spacing: 0; }
  .paper-metric small { display: block; margin-top: 4px; color: #4d5f73; font-size: 10px; line-height: 1.6; }
  .paper-verdict { padding: 13px 15px; margin: 15px 0 18px; border: 1px solid #6e8f8b; border-left: 4px solid var(--paper-teal); background: #f1f8f6; color: #164b46; }
  .paper-verdict strong { font-size: 18px; line-height: 1.5; }
  .paper-verdict h3 { margin: 0 0 7px; padding: 0; border: 0; color: inherit; font-size: 18px; font-weight: 650; line-height: 1.5; }
  .paper-verdict[data-tone="teal"], .paper-verdict[data-tone="go"] { border-color: #6e8f8b; border-left-color: var(--paper-teal); background: #f1f8f6; color: #164b46; }
  .paper-verdict[data-tone="wait"] { border-color: #b3a16d; border-left-color: var(--paper-ochre); background: #fbf7ee; color: #644a18; }
  .paper-verdict[data-tone="risk"] { border-color: #bd928a; border-left-color: var(--paper-rust); background: #fbf3f1; color: #79372f; }
  .paper-table { display: table; width: 100%; max-width: 100%; margin: 11px 0; table-layout: fixed; border-collapse: collapse; border: 1px solid #8193a8; color: #25374a; font-size: 12px; line-height: 1.65; }
  .paper-table-wrap { min-width: 0; max-width: 100%; margin: 0; }
  .paper-table thead th { background: var(--paper-navy); color: #fff; font-size: 11px; font-weight: 600; text-align: left; }
  .paper-table th, .paper-table td { padding: 8px 9px; border: 1px solid #b8c4d1; vertical-align: top; overflow-wrap: anywhere; word-break: normal; }
  .paper-table tbody th { color: var(--paper-navy); background: #f1f4f8; text-align: left; font-weight: 600; }
  .paper-table td[data-label]::before { display: none; content: none; }
  .paper-table strong { color: var(--paper-navy); font-weight: 650; }
  .paper-two-column { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; min-width: 0; }
  .paper-two-column > * { min-width: 0; }
  .paper-note, .paper-warning { padding: 9px 12px; margin: 11px 0; border: 1px solid #bdc8d5; background: #f6f8fb; color: #3d5169; font-size: 12px; line-height: 1.7; }
  /* 物件概要（原本の「物件の骨格」「この部屋の現況」）：項目名と値を2列×2組で並べる */
  .paper-outline { margin: 0 0 16px; }
  .paper-outline h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 0 0 6px; padding: 0 0 4px; border-bottom: 1px solid #415b78; color: var(--paper-navy); font-size: 13px; font-weight: 700; }
  .paper-outline h3 small { color: #4d5f73; font-size: 10.5px; font-weight: 400; }
  .paper-outline dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; border: 1px solid #8193a8; border-right: 0; border-bottom: 0; }
  .paper-outline dl > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); min-width: 0; border-right: 1px solid #8193a8; border-bottom: 1px solid #8193a8; }
  .paper-outline dt { padding: 6px 8px; background: #e9eef5; color: var(--paper-navy); font-size: 11px; font-weight: 700; line-height: 1.5; }
  .paper-outline dd { margin: 0; padding: 6px 9px; font-size: 12px; line-height: 1.55; color: #25374a; overflow-wrap: anywhere; }
  .paper-outline dd .paper-badge { font-size: 9px; vertical-align: 1px; }
  .paper-outline-strip { margin: -6px 0 14px; padding: 6px 10px; border: 1px solid #bdc8d5; background: #f6f8fb; color: #3d5169; font-size: 11.5px; line-height: 1.6; }
  .paper-warning { border-color: #c3a099; background: #fbf5f3; color: #79372f; }
  .paper-approval { padding: 12px 14px; margin-top: 19px; border: 1px solid #415b78; color: var(--paper-navy); background: #fff; font-size: 12px; }
  .paper-approval strong { font-size: 13px; }
  .paper-approval h3 { margin: 0 0 7px; color: var(--paper-navy); font-size: 14px; line-height: 1.6; }
  .paper-approval small { display: block; color: #4d5f73; font-size: 10px; line-height: 1.6; }
  .paper-footer { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-top: 24px; padding-top: 10px; border-top: 1px solid #415b78; color: #4d5f73; font-size: 10px; line-height: 1.6; }
  .paper-footer p { font-size: inherit; margin: 0; }
  .paper-reader[data-reading="paper"] .paper-document-viewport { overflow-x: auto; }
  .paper-reader[data-reading="paper"] .paper-page.document-sheet { width: 794px; max-width: none; }
  .paper-mini { position: relative; display: block; box-sizing: content-box; width: 159px; height: 225px; max-width: 100%; margin: 10px auto 14px; overflow: hidden; border: 1px solid #bcc7d3; background: #fff; }
  .paper-mini > .paper-mini-sheet { position: absolute; top: 0; left: 0; width: 794px; max-width: none; transform: scale(.20); transform-origin: top left; pointer-events: none; }
  .paper-mini .paper-page.document-sheet { width: 794px; max-width: none; min-height: 1123px; margin: 0; border: 0; }
}

@media screen and (max-width: 700px) {
  .paper-reader:not([data-reading="paper"]) .paper-page.document-sheet { min-height: 0; padding: 24px 20px; font-size: 16px; line-height: 1.8; }
  .paper-reader:not([data-reading="paper"]) .paper-page .paper-title { font-size: 26px; line-height: 1.5; }
  .paper-reader:not([data-reading="paper"]) .paper-outline dl { grid-template-columns: minmax(0, 1fr); }
  .paper-reader:not([data-reading="paper"]) .paper-outline dl > div { grid-template-columns: 118px minmax(0, 1fr); }
  .paper-reader:not([data-reading="paper"]) .paper-outline dt { font-size: 13px; }
  .paper-reader:not([data-reading="paper"]) .paper-outline dd { font-size: 14px; }
  .paper-reader:not([data-reading="paper"]) .paper-outline-strip { font-size: 13px; }
  .paper-reader:not([data-reading="paper"]) .paper-meta,
  .paper-reader:not([data-reading="paper"]) .paper-subtitle { font-size: 14px !important; }
  .paper-reader:not([data-reading="paper"]) .paper-kicker { font-size: 13px !important; }
  .paper-reader:not([data-reading="paper"]) .paper-page-title { font-size: 18px !important; }
  .paper-reader:not([data-reading="paper"]) .paper-caption { font-size: 14px !important; }
  .paper-reader:not([data-reading="paper"]) .paper-section h3 { font-size: 19px; }
  .paper-reader:not([data-reading="paper"]) .paper-section h4 { font-size: 17px; }
  .paper-reader:not([data-reading="paper"]) .paper-source-legend { font-size: 14px; }
  .paper-reader:not([data-reading="paper"]) .paper-badge,
  .paper-reader:not([data-reading="paper"]) .paper-source-tag { font-size: 12px; }
  .paper-reader:not([data-reading="paper"]) .paper-metrics { grid-template-columns: 1fr; }
  .paper-reader:not([data-reading="paper"]) .paper-metric { padding: 13px 12px; }
  .paper-reader:not([data-reading="paper"]) .paper-metric + .paper-metric { border-left: 0; border-top: 1px solid #c6cfd9; }
  .paper-reader:not([data-reading="paper"]) .paper-metric > span { font-size: 16px; }
  .paper-reader:not([data-reading="paper"]) .paper-metric strong,
  .paper-reader:not([data-reading="paper"]) .paper-number { font-size: 28px; }
  .paper-reader:not([data-reading="paper"]) .paper-metric small { font-size: 14px; }
  .paper-reader:not([data-reading="paper"]) .paper-verdict { padding: 16px; font-size: 16px; }
  .paper-reader:not([data-reading="paper"]) .paper-verdict strong { font-size: 20px; }
  .paper-reader:not([data-reading="paper"]) .paper-verdict h3 { font-size: 20px; }
  .paper-reader:not([data-reading="paper"]) .paper-note,
  .paper-reader:not([data-reading="paper"]) .paper-warning,
  .paper-reader:not([data-reading="paper"]) .paper-approval { font-size: 16px; padding: 13px; }
  .paper-reader:not([data-reading="paper"]) .paper-approval strong { font-size: 17px; }
  .paper-reader:not([data-reading="paper"]) .paper-approval h3 { font-size: 17px; }
  .paper-reader:not([data-reading="paper"]) .paper-approval small { font-size: 14px; }
  .paper-reader:not([data-reading="paper"]) .paper-footer { font-size: 13px; }
  .paper-reader:not([data-reading="paper"]) .paper-two-column { grid-template-columns: 1fr; gap: 0; }
  .paper-page-controls { width: 100%; }
  .paper-page-controls button { flex: 1 1 95px; }
  .paper-page-controls select { flex: 1 1 200px; width: 100%; }
  .paper-reading-mode { width: 100%; }
  .paper-reading-mode .button { flex: 1 1 130px; }
  .paper-reader:not([data-reading="paper"]) .paper-table { display: block; border: 0; font-size: 16px; }
  .paper-reader:not([data-reading="paper"]) .paper-table thead { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
  .paper-reader:not([data-reading="paper"]) .paper-table tbody { display: block; }
  .paper-reader:not([data-reading="paper"]) .paper-table tbody tr { display: block; margin: 0 0 14px; border: 1px solid #8193a8; }
  .paper-reader:not([data-reading="paper"]) .paper-table tbody th { display: block; width: 100%; padding: 10px 12px; border: 0; color: #fff; background: #172d48; font-size: 16px; }
  .paper-reader:not([data-reading="paper"]) .paper-table td { display: block; width: 100%; padding: 11px 12px; border: 0; border-top: 1px solid #c6cfd9; font-size: 16px; }
  .paper-reader:not([data-reading="paper"]) .paper-table td[data-label]::before { display: block; content: attr(data-label); margin: 0 0 4px; color: #172d48; font-size: 14px; font-weight: 600; }
}

@media print {
  .paper-document-viewport > .paper-page:not(:last-child) { break-after: page; page-break-after: always; }
  @page revo-sample-paper { size: A4; margin: 11mm; }
  /* 紙面だけに名前付きページを付けると、前後の注意書き・免責文との境目で強制改ページされ、ほぼ空白のページができる。見本を印刷するときは文書全体を同じページ種別にそろえる。 */
  body:has(.paper-page.document-sheet) { page: revo-sample-paper; }
  .paper-reader { display: block; width: 100%; max-width: none; margin: 0; padding: 0; }
  .paper-reader > :not(.paper-document-viewport), .paper-reader-toolbar,
  .paper-page-controls, .paper-reading-mode, .paper-mini { display: none !important; }
  .paper-document-viewport { display: block; width: 100%; max-width: none; overflow: visible; padding: 0; margin: 0; }
  .paper-page.document-sheet { page: revo-sample-paper; display: block; width: 100%; max-width: none; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: #fff; box-shadow: none; color: #25374a; font-family: "REVO Sans JP", "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif; font-size: 9pt; line-height: 1.5; letter-spacing: 0; overflow: visible; break-inside: auto; }
  .paper-page p { font-size: inherit; line-height: inherit; margin: 4px 0 7px; orphans: 3; widows: 3; }
  .paper-header { margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1.5px solid #172d48; break-inside: avoid; }
  .paper-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 7pt; color: #4d5f73; }
  .paper-kicker { color: #172d48; font-size: 7pt !important; letter-spacing: .08em; margin: 9px 0 3px !important; }
  .paper-page .paper-title { margin: 3px 0 6px; color: #172d48; font-family: "REVO Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", "MS PMincho", serif; font-size: 20pt; font-weight: 600; line-height: 1.4; letter-spacing: .03em; break-after: avoid; }
  .paper-subtitle { color: #4d5f73; font-size: 8pt !important; }
  .paper-page-title { margin: 8px 0 0 !important; color: #172d48; font-size: 10pt !important; line-height: 1.5; font-weight: 600; }
  .paper-caption { color: #4d5f73; font-size: 7pt !important; line-height: 1.5; }
  .paper-source-legend { display: flex; flex-wrap: wrap; gap: 3px 6px; margin: 6px 0 10px; font-size: 7pt; }
  .paper-badge, .paper-source-tag { display: inline-block; padding: 1px 4px; border: 1px solid #8d9daf; font-size: 6.5pt; line-height: 1.5; color: #172d48; background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .paper-badge.calc { color: #145951; border-color: #789f98; }
  .paper-badge.general { color: #645018; border-color: #b9a56e; }
  .paper-section { margin: 12px 0; padding: 0; border: 0; break-inside: auto; }
  .paper-section h3 { display: flex; align-items: baseline; gap: 7px; color: #172d48; font-size: 10.5pt; margin: 0 0 7px; padding-bottom: 4px; border-bottom: 1px solid #415b78; break-after: avoid; }
  .paper-section h3 > span:first-child { display: inline-block; min-width: 17px; padding: 0 3px; border: 1px solid #172d48; color: #172d48; font-size: 7pt; text-align: center; }
  .paper-section h4 { color: #172d48; font-size: 9pt; margin: 8px 0 5px; break-after: avoid; }
  .paper-page ul, .paper-page ol { margin: 5px 0 7px; padding-left: 16px; }
  .paper-page li { margin: 3px 0; orphans: 2; widows: 2; }
  .paper-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 10px 0 12px; border-top: 1px solid #415b78; border-bottom: 1px solid #415b78; break-inside: avoid; }
  .paper-metric { padding: 8px 9px; font-size: 8pt; min-width: 0; }
  .paper-metric + .paper-metric { border-left: 1px solid #c6cfd9; }
  .paper-metric > span { display: block; color: #4d5f73; font-size: 7.5pt; }
  .paper-metric strong, .paper-number { display: block; color: #172d48; font-size: 16pt; line-height: 1.4; font-weight: 650; font-variant-numeric: tabular-nums; }
  .paper-metric small { display: block; color: #4d5f73; font-size: 6.5pt; margin-top: 3px; }
  .paper-verdict { margin: 10px 0 12px; padding: 8px 10px; border: 1px solid #6e8f8b; border-left: 3px solid #176861; background: #f1f8f6; color: #164b46; font-size: 9pt; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .paper-verdict strong { font-size: 11pt; }
  .paper-verdict h3 { margin: 0 0 5px; padding: 0; border: 0; color: inherit; font-size: 11pt; line-height: 1.5; }
  .paper-verdict[data-tone="wait"] { color: #644a18; border-color: #b3a16d; border-left-color: #76591e; background: #fbf7ee; }
  .paper-verdict[data-tone="risk"] { color: #79372f; border-color: #bd928a; border-left-color: #8a3c32; background: #fbf3f1; }
  .paper-table { display: table; width: 100%; max-width: 100%; margin: 7px 0; table-layout: fixed; border-collapse: collapse; border: 1px solid #8193a8; color: #25374a; font-size: 7.5pt; line-height: 1.5; }
  .paper-table thead { display: table-header-group; position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; }
  .paper-table tbody { display: table-row-group; }
  .paper-table tr, .paper-table tbody tr { display: table-row; margin: 0; break-inside: avoid; }
  .paper-table th, .paper-table td, .paper-table tbody th, .paper-table td[data-label] { display: table-cell; width: auto; padding: 5px 6px; border: 1px solid #b8c4d1; vertical-align: top; overflow-wrap: anywhere; font-size: 7.5pt; }
  .paper-table thead th { color: #fff; background: #172d48; font-size: 7pt; font-weight: 600; text-align: left; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .paper-table tbody th { color: #172d48; background: #f1f4f8; text-align: left; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .paper-table td[data-label]::before { display: none; content: none; }
  .paper-two-column { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .paper-two-column > * { min-width: 0; }
  .paper-note, .paper-warning { padding: 6px 8px; margin: 7px 0; border: 1px solid #bdc8d5; background: #fff; color: #3d5169; font-size: 7.5pt; line-height: 1.6; break-inside: avoid; }
  .paper-warning { color: #79372f; border-color: #c3a099; }
  .paper-approval { margin-top: 12px; padding: 8px 10px; border: 1px solid #415b78; color: #172d48; font-size: 8pt; break-inside: avoid; }
  .paper-approval strong { font-size: 8.5pt; }
  .paper-approval h3 { margin: 0 0 5px; color: #172d48; font-size: 9pt; line-height: 1.5; }
  .paper-approval small { display: block; color: #4d5f73; font-size: 6.5pt; line-height: 1.5; }
  .paper-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 3px 10px; margin-top: 15px; padding-top: 7px; border-top: 1px solid #415b78; color: #4d5f73; font-size: 6.5pt; line-height: 1.5; break-inside: avoid; }
  .paper-footer p { font-size: inherit; margin: 0; }
}

/* A shared first read for each completed report; full detail stays available. */
@media screen {
  .paper-page .paper-brief {
    min-width: 0; margin: 18px 0 24px; padding: 20px 22px;
    border: 1px solid #9baabd; border-top: 3px solid var(--paper-navy);
    background: #fff; color: #25374a; font-size: 16px; line-height: 1.8;
  }
  .paper-page .paper-brief-label { margin: 0 0 9px; color: #4d5f73; font-size: 14px; font-weight: 600; line-height: 1.65; }
  .paper-page .paper-brief[data-tone="teal"] { border-top-color: #176861; }
  .paper-page .paper-brief[data-tone="wait"] { border-top-color: #76591e; }
  .paper-page .paper-brief[data-tone="risk"] { border-top-color: #8a3c32; }
  .paper-page .paper-brief-conclusion {
    margin: 0 0 10px; padding: 0; border: 0; color: #172d48;
    font-size: 23px; line-height: 1.55; font-weight: 650; letter-spacing: .01em; overflow-wrap: anywhere;
  }
  .paper-page .paper-brief-reason { margin: 0 0 15px; color: #374b61; font-size: 16px; line-height: 1.8; }
  .paper-page .paper-brief-facts {
    display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; min-width: 0;
    margin: 16px 0; border-top: 1px solid #b6c2cf; border-bottom: 1px solid #b6c2cf;
  }
  .paper-page .paper-brief-fact { min-width: 0; padding: 12px 13px; overflow-wrap: anywhere; }
  .paper-page .paper-brief-fact + .paper-brief-fact { border-left: 1px solid #d2dae3; }
  .paper-page .paper-brief-fact > span { display: block; color: #4d5f73; font-size: 14px; line-height: 1.7; }
  .paper-page .paper-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;
  }
  .paper-page .paper-brief-fact > small { display: block; color: #4d5f73; font-size: 14px; line-height: 1.7; }
  .paper-page .paper-brief .paper-badge { display: inline-block; width: auto; margin-top: 6px; color: #172d48; font-size: 13px; line-height: 1.65; }
  .paper-page .paper-brief .paper-badge.calc { color: #145951; }
  .paper-page .paper-brief .paper-badge.general { color: #645018; }
  .paper-page .paper-brief-next { margin-top: 16px; color: #25374a; font-size: 16px; }
  .paper-page .paper-brief-next h3 { display: block; margin: 0 0 8px; padding: 0; border: 0; color: #172d48; font-size: 18px; line-height: 1.65; }
  .paper-page .paper-brief-next ol { margin: 0; padding-left: 23px; }
  .paper-page .paper-brief-next li { margin: 7px 0; line-height: 1.8; }
  .paper-page .paper-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;
  }
  .paper-page .paper-detail { min-width: 0; margin: 22px 0 0; border-top: 1px solid #8193a8; }
  .paper-page .paper-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;
  }
  .paper-page .paper-detail > summary::-webkit-details-marker { display: none; }
  .paper-page .paper-detail > summary::marker { content: ""; }
  .paper-page .paper-detail > summary::before { content: "+"; flex: 0 0 24px; color: #172d48; font-size: 23px; font-weight: 400; text-align: center; }
  .paper-page .paper-detail[open] > summary::before { content: "\2212"; }
  .paper-page .paper-detail > summary:focus-visible { outline: 3px solid #752940; outline-offset: 4px; }
  .paper-page .paper-detail-body { min-width: 0; padding-top: 5px; overflow-wrap: anywhere; }
  .paper-page .paper-detail-body > :first-child { margin-top: 10px; }
  .paper-page .paper-detail-print-label { display: none; }
  .paper-page .paper-detail-screen-label { display: inline; }
}

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

@media print {
  .paper-page .paper-brief {
    display: block; margin: 10px 0 14px; padding: 9px 11px;
    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;
  }
  .paper-page .paper-brief-label { margin: 0 0 5px; color: #4d5f73; font-size: 7.5pt; font-weight: 600; }
  .paper-page .paper-brief[data-tone="teal"] { border-top-color: #176861; }
  .paper-page .paper-brief[data-tone="wait"] { border-top-color: #76591e; }
  .paper-page .paper-brief[data-tone="risk"] { border-top-color: #8a3c32; }
  .paper-page .paper-brief-conclusion { margin: 0 0 5px; padding: 0; border: 0; color: #172d48; font-size: 13pt; line-height: 1.45; font-weight: 650; break-after: avoid; }
  .paper-page .paper-brief-reason { margin: 0 0 7px; color: #374b61; font-size: 9pt; line-height: 1.55; }
  .paper-page .paper-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; }
  .paper-page .paper-brief-fact { min-width: 0; padding: 6px 8px; overflow-wrap: anywhere; }
  .paper-page .paper-brief-fact + .paper-brief-fact { border-left: 1px solid #d2dae3; }
  .paper-page .paper-brief-fact > span { display: block; color: #4d5f73; font-size: 7.5pt; }
  .paper-page .paper-brief-fact > strong { display: block; color: #172d48; font-size: 15pt; line-height: 1.4; font-weight: 650; font-variant-numeric: tabular-nums; }
  .paper-page .paper-brief-fact > small { display: block; color: #4d5f73; font-size: 7.5pt; line-height: 1.5; }
  .paper-page .paper-brief .paper-badge { display: inline-block; width: auto; margin-top: 3px; padding: 1px 4px; font-size: 7.5pt; line-height: 1.5; }
  .paper-page .paper-brief-next { margin-top: 8px; color: #25374a; font-size: 9pt; }
  .paper-page .paper-brief-next h3 { display: block; margin: 0 0 5px; padding: 0; border: 0; color: #172d48; font-size: 9.5pt; line-height: 1.5; }
  .paper-page .paper-brief-next ol { margin: 0; padding-left: 17px; }
  .paper-page .paper-brief-next li { margin: 3px 0; line-height: 1.5; }
  .paper-page .paper-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; }
  .paper-page .paper-detail { display: block !important; margin: 12px 0 0; padding: 0; border: 0; overflow: visible !important; max-height: none !important; break-inside: auto; }
  .paper-page .paper-detail::details-content { content-visibility: visible !important; height: auto !important; overflow: visible !important; }
  .paper-page .paper-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; }
  .paper-page .paper-detail > summary::before, .paper-page .paper-detail > summary::after { content: none; display: none; }
  .paper-page .paper-detail > :not(summary), .paper-page .paper-detail-body { display: block !important; visibility: visible !important; overflow: visible !important; max-height: none !important; height: auto !important; }
  .paper-page .paper-detail-screen-label { display: none; }
  .paper-page .paper-detail-print-label { display: inline; }
  .paper-page .paper-detail-body .paper-table-wrap { overflow: visible; }
}

/* 1棟資産カルテの図（asset-karte-sample.js）。横棒はHTML、将来シナリオはSVG。値は表にも出す。 */
.ak-figure { margin: 16px 0 18px; padding: 14px 16px 12px; border: 1px solid #d5dce4; border-radius: 6px; background: #fcfcfb; }
.ak-figure figcaption { margin: 0 0 10px; color: var(--paper-navy, #172d48); font-size: 14px; font-weight: 600; line-height: 1.5; }
.ak-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 10px; padding: 0; list-style: none; color: #3d4a5a; font-size: 12.5px; line-height: 1.5; }
.ak-legend li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.ak-key { display: inline-block; width: 14px; height: 4px; border-radius: 2px; background: #2a78d6; }
.ak-key-muted { background: #b8c0ca; }
.ak-key-span { height: 6px; background: #c9dcf3; }
.ak-key-dot { width: 9px; height: 9px; border-radius: 50%; background: #2a78d6; box-shadow: 0 0 0 2px #fcfcfb; }
.ak-key-dot.is-soon { background: #eb6834; }
.ak-assume { display: block; margin-top: 3px; color: #5b6878; font-size: 11.5px; font-weight: 400; line-height: 1.5; }
.ak-key-now { width: 2px; height: 12px; border-radius: 0; background: #8a3c32; }
.ak-bars { display: grid; gap: 9px; }
.ak-bar-row { display: grid; grid-template-columns: minmax(8em, 13em) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13.5px; }
.ak-bar-label { color: #25374a; line-height: 1.4; }
.ak-bar-track { position: relative; height: 18px; border-left: 1px solid #b6c2cf; }
.ak-bar { position: absolute; left: 0; top: 2px; height: 14px; border-radius: 0 4px 4px 0; background: #2a78d6; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ak-bar-row.is-muted .ak-bar { background: #b8c0ca; }
.ak-bar-value { color: #172d48; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ak-line-chart { display: block; width: 100%; max-width: 470px; height: auto; overflow: visible; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ak-line-chart .ak-grid { stroke: #e3e7ec; stroke-width: 1; }
.ak-line-chart .ak-axis { fill: #5b6878; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ak-line-chart .ak-end-label { fill: #25374a; font-size: 11.5px; font-weight: 600; }
.ak-timeline { display: grid; gap: 8px; }
.ak-tl-row { display: grid; grid-template-columns: minmax(8em, 13em) minmax(0, 1fr) 3.6em; align-items: center; gap: 10px; font-size: 13.5px; }
.ak-tl-label { color: #25374a; line-height: 1.4; }
.ak-tl-track { position: relative; height: 18px; background: linear-gradient(#eef1f4, #eef1f4) 0 50% / 100% 1px no-repeat; }
.ak-tl-span { position: absolute; top: 6px; height: 6px; border-radius: 3px; background: #c9dcf3; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ak-tl-dot { position: absolute; top: 4px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #2a78d6; box-shadow: 0 0 0 2px #fcfcfb; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ak-tl-span.is-soon { background: #f6d2c3; }
.ak-tl-dot.is-soon { background: #eb6834; }
.ak-tl-now { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: #8a3c32; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.ak-tl-value { color: #172d48; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.ak-tl-axis .ak-tl-track { background: none; height: 16px; }
.ak-tl-tick { position: absolute; top: 0; transform: translateX(-50%); white-space: nowrap; color: #5b6878; font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ak-steps { margin: 4px 0 10px; padding-left: 1.4em; }
.ak-steps li { margin: 4px 0; }
.paper-page .ak-overview p { margin: 4px 0 8px; }
.paper-page .ak-overview .ak-figure { margin-top: 10px; }
.ak-roll td, .ak-scenario-table td { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .ak-figure { padding: 12px 10px 10px; }
  .ak-bar-row, .ak-tl-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
  .ak-bar-label, .ak-tl-label { grid-column: 1 / -1; }
  .ak-tl-axis .ak-tl-label { display: none; }
  .ak-line-chart .ak-axis, .ak-line-chart .ak-end-label { font-size: 12.5px; }
}
@media print {
  .ak-figure { margin: 8px 0 10px; padding: 8px 10px 6px; border-color: #c3ccd6; break-inside: avoid; page-break-inside: avoid; }
  .ak-figure figcaption { font-size: 9pt; margin-bottom: 5px; }
  .ak-legend { font-size: 7.5pt; margin-bottom: 5px; }
  .ak-bar-row, .ak-tl-row { font-size: 8pt; gap: 6px; grid-template-columns: 12em minmax(0, 1fr) auto; }
  .ak-bars, .ak-timeline { gap: 4px; }
  .ak-bar-track, .ak-tl-track { height: 12px; }
  .ak-bar { top: 1px; height: 10px; }
  .ak-tl-span { top: 4px; height: 4px; }
  .ak-tl-dot { top: 2px; width: 8px; height: 8px; margin-left: -4px; }
  .ak-tl-tick { font-size: 6.5pt; }
  .ak-line-chart { max-width: 110mm; }
}

/* 総合レポート（property-report.js）。本人の結果でも使う。 */
.rp-takeaway { margin: 4px 0 14px; padding: 12px 14px; border-left: 4px solid #2a78d6; border-radius: 0 6px 6px 0; background: #f2f7fd; color: #172d48; font-size: 15px; line-height: 1.85; }
.rp-takeaway > span { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 999px; background: #172d48; color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; vertical-align: 2px; }
.rp-sub { margin: 16px 0 6px; color: #172d48; font-size: 14px; }
.rp-swatch { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 2px; vertical-align: 0; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rp-stack { display: grid; gap: 10px; }
.rp-stack-row { display: grid; grid-template-columns: 6em minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13.5px; }
.rp-stack-row > .ak-bar-value { min-width: 7.5em; text-align: right; }
.rp-stack-track { display: flex; gap: 2px; height: 22px; min-width: 4px; }
.rp-stack-seg { display: block; height: 100%; min-width: 2px; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rp-stack-seg:first-child { border-radius: 0; }
.rp-stack-seg:last-child { border-radius: 0 4px 4px 0; }
.rp-fall { display: grid; gap: 7px; }
.rp-fall-row { display: grid; grid-template-columns: minmax(8em, 13em) minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: 13.5px; }
.rp-fall-row > .ak-bar-value { min-width: 7.5em; text-align: right; font-variant-numeric: tabular-nums; }
.rp-fall-track { position: relative; height: 18px; }
.rp-fall-bar { position: absolute; top: 2px; height: 14px; border-radius: 3px; background: #2a78d6; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rp-fall-row.is-minus .rp-fall-bar { background: #8d99a8; }
.rp-fall-row.is-total .rp-fall-bar { background: #172d48; }
.rp-fall-row.is-total .ak-bar-label, .rp-fall-row.is-total .ak-bar-value { font-weight: 700; color: #172d48; }
.rp-life { position: relative; height: 46px; margin: 8px 6px 4px; }
.rp-life::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 2px; background: #e3e7ec; }
.rp-life-past { position: absolute; left: 0; top: 14px; height: 4px; border-radius: 2px; background: #b6c2cf; }
.rp-life-dot { position: absolute; top: 9px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #7d8896; box-shadow: 0 0 0 2px #fcfcfb; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rp-life-dot.is-plan { background: #eb6834; }
.rp-life-dot.is-mark { background: #2a78d6; }
.rp-life .ak-tl-now { top: 4px; bottom: auto; height: 24px; }
.rp-life-tick { top: 28px; }
.rp-life-list { margin: 10px 0 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.rp-life-list li { display: grid; grid-template-columns: 4.6em 14px minmax(0, 1fr); align-items: baseline; gap: 8px; padding: 5px 0; border-bottom: 1px solid #eef1f4; font-size: 13.5px; line-height: 1.6; }
.rp-life-list small { display: block; color: #5b6878; font-size: 12px; }
.rp-life-year { color: #172d48; font-weight: 700; font-variant-numeric: tabular-nums; }
.rp-life-mark { width: 10px; height: 10px; border-radius: 50%; background: #7d8896; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.rp-life-list li.is-plan .rp-life-mark { background: #eb6834; }
.rp-life-list li.is-mark .rp-life-mark { background: #2a78d6; }
.rp-life-list li.is-plan { color: #25374a; }
.rp-lens-table td:nth-child(2) { white-space: nowrap; }
.rp-cf-table td { font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .rp-takeaway { font-size: 14.5px; padding: 10px 12px; }
  .rp-stack-row, .rp-fall-row { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 8px; }
  .rp-stack-row > .ak-bar-label, .rp-fall-row > .ak-bar-label { grid-column: 1 / -1; }
}
@media print {
  .rp-takeaway { font-size: 9.5pt; padding: 6px 9px; margin: 2px 0 8px; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rp-takeaway > span { font-size: 7pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .rp-stack-row, .rp-fall-row { font-size: 8pt; gap: 6px; grid-template-columns: 12em minmax(0, 1fr) auto; }
  .rp-stack-track { height: 14px; }
  .rp-fall { gap: 3px; }
  .rp-fall-track { height: 12px; }
  .rp-fall-bar { top: 1px; height: 10px; }
  .rp-life-list li { font-size: 8pt; padding: 2px 0; }
  .rp-sub { font-size: 9.5pt; margin: 8px 0 4px; }
}
.value-method-result .value-exact { display: block; margin-top: -2px; color: #5b6878; font-size: 12px; font-variant-numeric: tabular-nums; }
/* 本人の結果に入る総合レポートと、詳細フォームの追加入力 */
.intake-result-report { margin: 22px 0; padding-top: 14px; border-top: 2px solid #172d48; }
.intake-result-report > h3 { margin: 0 0 6px; color: #172d48; font-size: 18px; }
.ext-money { display: grid; grid-template-columns: minmax(0, 1fr) 6.5em; gap: 6px; }
.property-extras { margin: 18px 0; }
.property-extras > h3 { margin: 0 0 6px; }
/* スマホでも数字の一覧は表のまま読ませる（用途別の収入・10年の手取り）。詳しい列は省き、表全体の値は印刷・PC表示で確認。 */
@media screen and (max-width: 700px) {
  .paper-reader:not([data-reading="paper"]) .paper-table.rp-compact { display: table; width: 100%; border: 1px solid #b8c4d1; font-size: 12px; table-layout: fixed; }
  .paper-reader:not([data-reading="paper"]) .paper-table.rp-compact thead { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; display: table-header-group; }
  .paper-reader:not([data-reading="paper"]) .paper-table.rp-compact tbody { display: table-row-group; }
  .paper-reader:not([data-reading="paper"]) .paper-table.rp-compact tbody tr { display: table-row; margin: 0; border: 0; }
  .paper-reader:not([data-reading="paper"]) .paper-table.rp-compact th, .paper-reader:not([data-reading="paper"]) .paper-table.rp-compact td { display: table-cell; width: auto; padding: 6px 4px; border: 1px solid #c6cfd9; font-size: 12px; letter-spacing: -.01em; overflow-wrap: normal; word-break: keep-all; }
  .paper-reader:not([data-reading="paper"]) .paper-table.rp-compact td { white-space: nowrap; }
  .paper-reader:not([data-reading="paper"]) .paper-table.rp-compact tbody th { color: #172d48; background: #f1f4f8; }
  .paper-reader:not([data-reading="paper"]) .paper-table.rp-compact td[data-label]::before { display: none; content: none; }
  .paper-table.rp-use-table th:nth-child(3), .paper-table.rp-use-table td:nth-child(3), .paper-table.rp-cf-table th:nth-child(2), .paper-table.rp-cf-table td:nth-child(2) { display: none !important; }
  .paper-reader:not([data-reading="paper"]) .paper-table.rp-cf-table thead th:first-child { width: 16%; }
  .paper-reader:not([data-reading="paper"]) .paper-table.rp-cf-table th, .paper-reader:not([data-reading="paper"]) .paper-table.rp-cf-table td { font-size: 11.5px; padding: 6px 3px; }
}

/* ---------- 本人の結果：結論パネル・6段の構成・シミュレーション（property-insight.js / property-simulation.js） ---------- */
.ins-panel { margin: 4px 0 20px; padding: 18px 18px 14px; border-top: 4px solid #176861; border-radius: 6px; background: #f4f9f8; color: #25374a; }
.ins-label { margin: 0; color: #176861; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.ins-verdict { margin: 4px 0 14px; color: #172d48; font-size: 20px; line-height: 1.6; font-weight: 700; }
.ins-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.ins-kpi { padding: 12px 14px; border: 1px solid #d5dce4; border-radius: 6px; background: #fff; min-width: 0; }
.ins-kpi > span:first-child { display: block; color: #5b6878; font-size: 13px; }
.ins-kpi strong { display: block; margin: 2px 0; color: #172d48; font-size: 22px; line-height: 1.35; overflow-wrap: anywhere; }
.ins-kpi small { display: block; color: #3d4a5a; font-size: 13px; line-height: 1.6; }
.ins-tag { display: inline-block; margin: 6px 6px 0 0; padding: 0 7px; border: 1px solid; border-radius: 3px; font-size: 11.5px; font-weight: 700; line-height: 1.8; white-space: nowrap; }
.ins-tag.is-actual { color: #172d48; border-color: #8d9daf; background: #edf2f7; }
.ins-tag.is-assumed { color: #645018; border-color: #b9a56e; background: #faf5e9; }
.ins-tag.is-none { color: #5b6878; border-color: #c6cfd9; background: #f6f7f9; }
.ins-actions { padding: 12px 16px; border: 1px solid #d5dce4; border-radius: 6px; background: #fff; }
.ins-actions h4 { margin: 0 0 6px; color: #172d48; font-size: 16px; }
.ins-actions ol { margin: 0; padding-left: 1.4em; }
.ins-actions li { margin: 7px 0; line-height: 1.75; }
.ins-note { margin: 10px 0 0; color: #3d4a5a; font-size: 13px; line-height: 2; }
.result-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.result-toc li { padding: 4px 10px; border: 1px solid #c6cfd9; border-radius: 999px; background: #fff; color: #3d4a5a; font-size: 13px; }
.result-stage, .result-stage-extra { margin: 0 0 8px; }
.result-sub { margin: 18px 0; }
.rp-subhead { margin: 0 0 10px; padding: 0 0 6px; border-bottom: 1px solid #c6cfd9; color: #172d48; font-size: 17px; }
.sim-section { margin: 22px 0; }
.sim-chart { display: block; width: 100%; height: auto; }
.sim-chart .ak-axis { fill: #5b6878; font-size: 11px; }
.sim-chart .ak-end-label { fill: #172d48; font-size: 11px; font-weight: 700; }
.sim-chart .ak-grid { stroke: #e3e7ec; }
.sim-sens { display: grid; gap: 8px; }
.sim-sens-row { display: grid; grid-template-columns: minmax(7em, 13em) minmax(0, 1fr) 7.5em; align-items: center; gap: 10px; font-size: 13px; }
.sim-sens-track { position: relative; height: 16px; }
.sim-sens-mid { position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: #7d8896; }
.sim-sens-bar { position: absolute; top: 2px; height: 12px; border-radius: 3px; }
.sim-sens-bar.is-neg { background: #c4553f; } .sim-sens-bar.is-pos { background: #2a78d6; }
.sim-sens-dir { color: #3d4a5a; font-size: 12px; }
.sim-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 12px 0; }
.sim-stories > div { padding: 10px 12px; border: 1px solid #d5dce4; border-radius: 6px; background: #fff; min-width: 0; }
.sim-stories h5 { margin: 0 0 4px; color: #172d48; font-size: 14px; }
.sim-stories dl { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; margin: 0 0 6px; font-size: 13px; }
.sim-stories dt { color: #5b6878; } .sim-stories dd { margin: 0; text-align: right; font-weight: 700; color: #172d48; }
.sim-stories p { margin: 0; font-size: 13px; }
.sim-h4, .sim-h5 { margin: 16px 0 6px; color: #172d48; font-size: 15px; }
.sim-needs { margin: 6px 0 0; padding-left: 1.3em; color: #3d4a5a; font-size: 14px; }
.sim-form fieldset.sim-use { margin: 12px 0; padding: 10px 12px; border: 1px solid #d5dce4; border-radius: 6px; }
.sim-form legend { padding: 0 6px; color: #172d48; font-weight: 700; }
.sim-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 12px; }
.sim-ready { margin: 10px 0 0; padding: 8px 12px; border-left: 4px solid #176861; background: #f4f9f8; }
.sim-status { margin: 10px 0 0; padding: 8px 12px; border-left: 4px solid #b9a56e; background: #faf5e9; }
.sim-status p { margin: 0; font-weight: 700; } .sim-status ul { margin: 4px 0 0; padding-left: 1.3em; }
.ins-docs { margin: 18px 0; }
.ins-docs h4 { margin: 0 0 6px; color: #172d48; font-size: 16px; }
@media (max-width: 640px) {
  .ins-verdict { font-size: 18px; }
  .ins-kpis, .sim-stories { grid-template-columns: 1fr; }
  .ins-kpi strong { font-size: 20px; }
  .sim-grid { grid-template-columns: 1fr 1fr; }
  .sim-sens-row { grid-template-columns: minmax(0, 1fr) auto; }
  .sim-sens-row .sim-sens-label { grid-column: 1 / -1; }
}
@media print {
  .ins-panel { break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .ins-verdict { font-size: 13pt; } .ins-kpi strong { font-size: 14pt; }
  .sim-section figure, .sim-stories { break-inside: avoid; }
  .result-toc { display: none; }
}

/* ①現在の価値：方法別のカードを、本人の結果では小さく並べる（内容はそのまま） */
.intake-result-property .value-methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.intake-result-property .value-method-result { padding: 10px 12px; min-width: 0; }
.intake-result-property .value-method-result h3 { font-size: 15px; margin: 0 0 4px; }
.intake-result-property .value-method-result p { font-size: 13px; line-height: 1.65; margin: 4px 0; }
.intake-result-property .current-value-summary > p { font-size: 14px; line-height: 1.75; }
@media (max-width: 640px) { .intake-result-property .value-methods { grid-template-columns: 1fr; } }

/* 本人の結果の表とグラフ：スマホで数字が折り返さないようにし、はみ出す表は横にスクロールする */
.intake-result .paper-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.intake-result .paper-table { table-layout: auto; }
.intake-result .paper-table th, .intake-result .paper-table td { overflow-wrap: anywhere; word-break: normal; }
.intake-result .rp-compact th, .intake-result .rp-compact td, .intake-result .sim-years td, .intake-result .sim-reserve td { white-space: nowrap; overflow-wrap: normal; }
.intake-result .sim-chart, .intake-result .ak-line-chart { max-width: 620px; margin: 0 auto; }
.intake-result .sim-chart .ak-axis { font-size: 12px; }
.result-stage.has-report .intake-result-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.result-stage.has-report .intake-result-metrics > div { padding: 10px 12px; }
.result-stage.has-report .intake-result-metrics strong { font-size: 16px; color: #3d4a5a; }
.result-stage.has-report .intake-result-metrics p { font-size: 12.5px; line-height: 1.6; }
@media (max-width: 640px) { .intake-result .paper-table { font-size: 13px; } .result-stage.has-report .intake-result-metrics { grid-template-columns: 1fr; } }

/* 区画の共通項目をまとめて入れる欄 */
.deep-bulk { margin: 10px 0 14px; padding: 12px 14px; border: 1px dashed #8d9daf; border-radius: 6px; background: #f6f8fb; }
.deep-bulk h4 { margin: 0 0 4px; font-size: 15px; color: #172d48; }
.deep-bulk p { margin: 0 0 8px; font-size: 14px; }
.records-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 12px; }
.records-chips .field-hint { flex: 1 1 100%; margin: 0 0 2px; }
.records-chips .button { flex: 0 0 auto; width: auto; min-width: 0; min-height: 40px; padding: 6px 14px; border: 1px solid #b7c2cf; border-radius: 999px; background: #fff; color: #172d48; font-size: 14px; font-weight: 600; white-space: normal; }
.records-chips .button:hover, .records-chips .button:focus-visible { border-color: #2a78d6; background: #eef4fc; }

/* シミュレーション・募集作戦の前提：何の値かが分かるよう、行の見出し＋短い欄で並べる */
.sim-row { margin: 8px 0 4px; }
.sim-row-label { margin: 0 0 2px; color: #172d48; font-size: 15px; font-weight: 700; line-height: 1.6; }
.sim-row-inputs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 0 10px; align-items: end; }
.sim-row-inputs .deep-field { margin: 0; }
.sim-row-inputs .field-label { font-size: 14px; color: #3d4a5a; }

/* 募集作戦の比較表：スマホでは作戦ごとのカードにする */
@media (max-width: 640px) {
  .rs-table, .rs-table tbody, .rs-table tr, .rs-table th, .rs-table td { display: block; width: auto; }
  .rs-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rs-table tr { margin: 0 0 10px; border: 1px solid #c6cfd9; border-radius: 6px; overflow: hidden; }
  .rs-table th[scope="row"] { padding: 8px 12px; background: #edf2f7; font-size: 15px; }
  .rs-table td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 12px; border: 0; border-top: 1px solid #e3e7ec; text-align: right; }
  .paper-table.rs-table td[data-label]::before { display: block; content: attr(data-label); flex: 0 0 46%; color: #5b6878; font-size: 13px; text-align: left; }
  .rs-table td { flex-wrap: wrap; }
  .rs-table td small { display: block; flex: 0 0 100%; text-align: right; }
}
/* 見本の紙面に入れたシミュレーションの表も、数字を折り返さず横にスクロールする */
.paper-reader .sim-section .paper-table-wrap { overflow-x: auto; }
.paper-reader .sim-section .paper-table { table-layout: auto; }
.paper-reader .sim-section .paper-table th, .paper-reader .sim-section .paper-table td { white-space: nowrap; overflow-wrap: normal; }

/* ===== v14 デザイン：結果を「結論から読む」レポートに。画面だけに当て、印刷は従来の淡い紙面のまま。 =====
   色の役割：濃紺＝レポートの地と見出し、ワイン＝操作・強調、金＝濃い地の上の見出し、緑・青・赤＝回収の見通しの3段階。数字は桁をそろえる。 */
:root { --v14-navy: #14233a; --v14-navy-2: #1d3150; --v14-gold: #d8b673; --v14-mist: #c5d0de; --v14-line: #d9e0e8; --v14-soft: #f4f7fa; }
.ins-kpi strong, .paper-table td, .paper-table th, .sim-years, .reno-table, .rs-table, .ak-bar-value, .intake-result-metrics strong { font-variant-numeric: tabular-nums; }
@media screen {
  /* 結論パネル：濃紺のヒーロー。数字はタイルで、打ち手は白いカードで重ねる */
  .ins-panel { position: relative; overflow: hidden; margin: 6px 0 22px; padding: 22px 20px 18px; border: 0; border-radius: 16px; background: radial-gradient(120% 90% at 100% 0%, rgba(216,182,115,.16) 0%, rgba(216,182,115,0) 46%), linear-gradient(160deg, var(--v14-navy) 0%, var(--v14-navy-2) 100%); color: #eef2f7; box-shadow: 0 22px 44px -28px rgba(10,22,40,.75); }
  .ins-panel .ins-label { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; color: var(--v14-gold); font-size: 12px; font-weight: 700; letter-spacing: .22em; }
  .ins-panel .ins-label::before { content: ""; width: 22px; height: 1px; background: currentColor; }
  .ins-panel .ins-verdict { margin: 0 0 18px; color: #fff; font-family: "REVO Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 23px; font-weight: 600; line-height: 1.62; letter-spacing: .01em; font-feature-settings: "palt"; }
  .ins-panel .ins-kpis { gap: 10px; margin: 0 0 16px; }
  .ins-panel .ins-kpi { padding: 14px 15px 13px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: rgba(255,255,255,.055); }
  .ins-panel .ins-kpi > span:first-child { color: var(--v14-mist); font-size: 12.5px; letter-spacing: .04em; }
  .ins-panel .ins-kpi strong { margin: 4px 0 4px; color: #fff; font-size: 26px; font-weight: 700; line-height: 1.3; letter-spacing: -.005em; }
  .ins-panel .ins-kpi small { color: #d3dbe6; font-size: 12.5px; line-height: 1.65; }
  .ins-panel .ins-kpi .ins-tag { margin-top: 9px; border-radius: 999px; padding: 0 9px; font-size: 11px; }
  .ins-panel .ins-tag.is-actual { color: #cfe6ff; border-color: rgba(173,211,255,.5); background: rgba(42,120,214,.22); }
  .ins-panel .ins-kpi .ins-tag.is-assumed { color: #f3dfae; border-color: rgba(243,223,174,.5); background: rgba(216,182,115,.16); }
  .ins-panel .ins-kpi .ins-tag.is-none { color: #d3dbe6; border-color: rgba(211,219,230,.4); background: transparent; }
  .ins-panel .ins-actions { counter-reset: ins; margin: 0; padding: 18px 18px 8px; border: 0; border-radius: 12px; background: #fff; color: #23303f; box-shadow: 0 10px 24px -18px rgba(0,0,0,.55); }
  .ins-panel .ins-actions h4 { margin: 0 0 4px; color: var(--v14-navy); font-size: 15px; letter-spacing: .04em; }
  .ins-panel .ins-actions ol { margin: 0; padding: 0; list-style: none; }
  .ins-panel .ins-actions li { counter-increment: ins; position: relative; margin: 0; padding: 12px 0 12px 42px; border-top: 1px solid #edf0f4; line-height: 1.8; }
  .ins-panel .ins-actions li:first-child { border-top: 0; }
  .ins-panel .ins-actions li::before { content: counter(ins); position: absolute; left: 0; top: 13px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--wine); color: #fff; font-size: 13px; font-weight: 700; }
  .ins-panel .ins-actions li > strong:first-child { display: block; margin-bottom: 2px; color: var(--v14-navy); font-size: 15.5px; }
  .ins-panel .ins-note { margin: 14px 2px 0; color: var(--v14-mist); font-size: 12.5px; line-height: 1.9; }
  /* 構成の目次：押せる部品に見えない、静かな道しるべ */
  .result-toc { flex-wrap: nowrap; gap: 0; margin: 0 0 22px; padding: 10px 14px; overflow-x: auto; border: 1px solid var(--v14-line); border-radius: 12px; background: #fff; scrollbar-width: none; }
  .result-toc::-webkit-scrollbar { display: none; }
  .result-toc li { flex: 0 0 auto; padding: 2px 0; border: 0; border-radius: 0; background: transparent; color: #435266; font-size: 13px; font-weight: 600; white-space: nowrap; }
  .result-toc li + li::before { content: "›"; margin: 0 10px; color: #a9b4c2; font-weight: 400; }
  /* 段の見出し（02〜05）：細い罫とワインの短い線 */
  .intake-result-property section[data-value-stage] > h3 { position: relative; margin: 30px 0 14px; padding: 16px 0 0; border-top: 1px solid var(--v14-line); color: var(--v14-navy); font-family: "REVO Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif; font-size: 21px; font-weight: 600; line-height: 1.5; font-feature-settings: "palt"; }
  .intake-result-property section[data-value-stage] > h3::before { content: ""; position: absolute; top: -2px; left: 0; width: 44px; height: 3px; border-radius: 2px; background: var(--wine); }
  .rp-subhead { display: flex; align-items: center; gap: 9px; margin: 22px 0 12px; padding: 0 0 8px; border-bottom: 1px solid var(--v14-line); color: var(--v14-navy); font-size: 17px; letter-spacing: .02em; }
  .rp-subhead::before { content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 2px; background: var(--wine); }
  .rp-takeaway { border-left-width: 3px; border-left-color: var(--v14-navy); border-radius: 0 10px 10px 0; background: var(--v14-soft); }
  .rp-takeaway > span { background: var(--v14-navy); }
  /* 図と表：カードの縁をそろえ、行を読みやすく */
  .intake-result .ak-figure { border-color: var(--v14-line); border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgba(20,35,58,.03); }
  .intake-result .paper-table-wrap { border-radius: 10px; }
  .intake-result .paper-table tbody tr:nth-child(even) > * { background: #f8fafc; }
  .intake-result .paper-table tbody tr:hover > * { background: #f1f5fa; }
  .paper-table tr.is-focus > th, .paper-table tr.is-focus > td { background: #eef7f2 !important; }
  .paper-table tr.is-focus > th { box-shadow: inset 4px 0 0 #1f7a5a; }
}
/* リフォームの提案と回収の見通し */
.reno-props { counter-reset: reno; margin: 0 0 14px; padding: 0; list-style: none; display: grid; gap: 8px; }
.reno-props li { counter-increment: reno; position: relative; padding: 12px 14px 12px 50px; border: 1px solid var(--v14-line); border-radius: 12px; background: #fff; line-height: 1.75; }
.reno-props li::before { content: counter(reno); position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e9eef4; color: var(--v14-navy); font-size: 12.5px; font-weight: 700; }
.reno-props li.is-strong { border-color: #d7b6c2; box-shadow: inset 3px 0 0 var(--wine); }
.reno-props li.is-strong::before { background: var(--wine); color: #fff; }
.reno-props strong { display: block; color: var(--v14-navy); font-size: 15.5px; }
.reno-props span { display: block; color: #3d4a5a; font-size: 14px; }
.reno-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.7; white-space: normal; }
.reno-badge.is-fast { color: #155c43; background: #e3f3ea; }
.reno-badge.is-ok { color: #1d4f8f; background: #e6effa; }
.reno-badge.is-hard { color: #8a3227; background: #fbe9e5; }
.reno-why { margin: 6px 0 12px; padding-left: 1.2em; color: #3d4a5a; font-size: 14px; line-height: 1.8; }
.reno-why li { margin: 4px 0; }
.reno-chart-label { fill: #172d48; font-size: 11.5px; font-weight: 700; }
.ak-key.reno-key-life { width: 3px; height: 14px; border-radius: 1px; background: #172d48; }
.reno-table td small, .reno-table th small { display: block; color: #5b6878; font-size: 12px; font-weight: 400; }
/* 入力：提案された工事をひと目で */
.reno-lead { margin: 4px 0 12px; padding: 10px 12px; border-radius: 10px; background: #f8f1f4; color: #4b2433; font-size: 14px; line-height: 1.8; }
.reno-pill { display: inline-block; margin-left: 8px; padding: 0 9px; border-radius: 999px; background: var(--wine); color: #fff; font-size: 11.5px; font-weight: 700; line-height: 1.8; vertical-align: 2px; }
.reno-item.is-proposed { border-left: 3px solid var(--wine); }
.reno-item.is-on { background: #fbfcfd; }
.reno-more { margin: 10px 0; }
.reno-more > summary { min-height: 44px; display: flex; align-items: center; color: var(--wine); font-weight: 700; cursor: pointer; }
@media screen {
  /* 入力の大きな区切り（詳細入力の各節）をカードのアコーディオンに */
  .deep-section { border-color: var(--v14-line); border-radius: 12px; background: #fff; box-shadow: 0 1px 0 rgba(20,35,58,.03); }
  .deep-section > summary { position: relative; padding-right: 30px; list-style: none; }
  .deep-section > summary::-webkit-details-marker { display: none; }
  .deep-section > summary::before { display: grid; place-items: center; flex: 0 0 auto; width: 26px; height: 26px; margin-right: 12px; border-radius: 50%; background: #eef2f6; color: var(--v14-navy); font-size: 16px; font-weight: 700; line-height: 1; }
  .deep-section[open] > summary::before { background: var(--v14-navy); color: #fff; }
  .deep-section[open] > summary { border-bottom: 1px solid #edf0f4; margin-bottom: 12px; }
  .sim-use { border-radius: 10px; }
  input:focus, textarea:focus, select:focus { box-shadow: 0 0 0 3px rgba(125,41,62,.14); }
  .button.primary { background-image: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.06)); }
  .button.primary:hover { transform: translateY(-1px); box-shadow: 0 8px 18px -8px rgba(117,41,64,.45); }
}
@media screen and (max-width: 640px) {
  .ins-panel { margin-left: -2px; margin-right: -2px; padding: 20px 16px 16px; border-radius: 14px; }
  .ins-panel .ins-verdict { font-size: 19.5px; }
  .ins-panel .ins-kpi strong { font-size: 23px; }
  .ins-panel .ins-actions { padding: 14px 14px 6px; }
  .ins-panel .ins-actions li { padding-left: 38px; }
  .intake-result-property section[data-value-stage] > h3 { font-size: 19px; }
  .reno-props li { padding-left: 46px; }
}
@media (prefers-reduced-motion: reduce) { .button.primary:hover { transform: none; } }
/* 修繕の履歴と長期修繕計画（年表） */
.rpl-row-label { fill: #172d48; font-size: 11.5px; font-weight: 700; paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.rpl-big-label { fill: #1d4f8f; font-size: 10.5px; font-weight: 700; }
.rpl-now-label { fill: #172d48; font-size: 10.5px; font-weight: 700; }
.sim-chart.rpl-gantt { max-width: 600px; margin-left: auto; margin-right: auto; }
@media (max-width: 560px) { .rpl-gantt .rpl-row-label { font-size: 14px; } .rpl-gantt .ak-axis { font-size: 13px; } .rpl-gantt .rpl-big-label, .rpl-gantt .rpl-now-label { font-size: 12.5px; } }
.trb-label { fill: #172d48; font-size: 11px; font-weight: 700; }
.trb-value { font-size: 10px; }
.trb-part legend small { margin-left: 6px; color: #5b6878; font-weight: 400; font-size: .85em; }
.trb-section { margin-top: 18px; }
.ak-key.rpl-key-big { width: 12px; height: 12px; border-radius: 3px; background: rgba(42,120,214,.18); box-shadow: inset 0 0 0 1px rgba(42,120,214,.45); }
.rpl-years td { white-space: normal !important; }
.rpl-item { display: block; padding: 4px 0; color: #172d48; font-weight: 600; }
.rpl-item + .rpl-item { border-top: 1px dashed #dde3ea; }
.rpl-item small { display: block; color: #5b6878; font-size: 12px; font-weight: 400; line-height: 1.6; }
.rpl-item.is-late { color: #8a3227; }
.rpl-item.is-unknown small { color: #7a5a12; }
.paper-table tr.is-big > th { box-shadow: inset 4px 0 0 #2a78d6; }
.paper-table tr.is-big > th, .paper-table tr.is-big > td { background: #eef4fc !important; }
.rpl-years th small, .rpl-history td small, .rpl-history th small { display: block; color: #5b6878; font-size: 12px; font-weight: 400; }
.rpl-part.is-attention { border-left: 3px solid #c4553f; }
/* 年表の表は文章が長いので、狭い画面では1年（1工事）ずつのカードにする。本人の結果・見本の紙面のどちらでも */
.rpl-table td { white-space: normal; overflow-wrap: anywhere; }
@media screen and (max-width: 640px) {
  .paper-table.rpl-table, .rpl-table tbody, .rpl-table tr, .rpl-table th, .rpl-table td, .paper-reader:not([data-reading="paper"]) .paper-table.rpl-table tbody th, .paper-reader:not([data-reading="paper"]) .paper-table.rpl-table td { display: block; width: auto; }
  .rpl-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .rpl-table tr, .paper-reader:not([data-reading="paper"]) .paper-table.rpl-table tbody tr { margin: 0 0 10px; border: 1px solid #c6cfd9; border-radius: 10px; overflow: hidden; }
  .rpl-table th[scope="row"], .paper-reader:not([data-reading="paper"]) .paper-table.rpl-table tbody th { padding: 8px 12px; color: #172d48; background: #edf2f7; font-size: 15px; }
  .rpl-table td, .paper-reader:not([data-reading="paper"]) .paper-table.rpl-table td { padding: 8px 12px; border: 0; border-top: 1px solid #e3e7ec; font-size: 14.5px; }
  .paper-table.rpl-table td[data-label]::before, .paper-reader:not([data-reading="paper"]) .paper-table.rpl-table td[data-label]::before { display: block; content: attr(data-label); margin: 0 0 2px; color: #5b6878; font-size: 12px; font-weight: 700; }
}
@media print {
  /* 印刷では淡い紙面のまま、結論の見出しだけは濃紺ではっきり（結果の見出しの色の指定に負けないように） */
  .ins-panel .ins-verdict { color: #172d48; font-size: 13pt; }
}
@media print {
  /* 図は紙の幅いっぱいに引き伸ばさず、文字が本文と同じくらいの大きさになる幅に抑える */
  .intake-result .sim-chart, .intake-result .ak-line-chart, .paper-page .sim-chart { display: block; width: 100%; max-width: 125mm; height: auto; margin: 0 auto; }
  .intake-result .ak-figure, .paper-page .reno-figure, .paper-page .rpl-figure { break-inside: avoid; page-break-inside: avoid; }
  /* 見出し・図の題は、続く本文と同じページに置く */
  .intake-result h3, .intake-result h4, .intake-result h5, .intake-result .rp-subhead, .intake-result .sim-h5, .intake-result figcaption, .intake-result .value-step-label, .paper-page .rp-subhead, .paper-page .sim-h5 { break-after: avoid; page-break-after: avoid; }
  .intake-result .rp-takeaway { break-inside: avoid; page-break-inside: avoid; }
  /* 結論パネルはページをまたいでよい（1ページ目を空けない）。数字のタイルと打ち手は1件ずつ分けない */
  .intake-result .ins-panel { break-inside: auto; page-break-inside: auto; }
  .ins-kpi, .ins-actions li, .reno-props li, .rpl-table tr, .reno-table tr { break-inside: avoid; page-break-inside: avoid; }
}

/* 図の文字の大きさをそろえる：広い画面では図を広げすぎない。スマホでは図の幅を広げ、見出し・項目名の文字を大きくする */
.sim-chart { max-width: 640px; margin-left: auto; margin-right: auto; }
@media (max-width: 560px) {
  .ak-figure { margin-left: -6px; margin-right: -6px; padding: 10px 6px 8px; }
  .sim-chart .ak-end-label { font-size: 13px; }
  .reno-chart-label { font-size: 15px; }
  .trb-label { font-size: 13.5px; }
  .trb-value { font-size: 12px; }
}
