/* Scoped to the owner-report-template article. */
.article-content .orv-figure { margin: 32px 0 40px; padding: 24px; border: 1px solid #d7ded8; border-radius: 16px; background: #f5f6f0; color: #283630; font-size: 15px; line-height: 1.75; }
.orv-figure *, .orv-figure *::before, .orv-figure *::after { box-sizing: border-box; }
.article-content .orv-figure p, .article-content .orv-figure ul, .article-content .orv-figure ol { margin: 0; }
.article-content .orv-figure ul, .article-content .orv-figure ol { padding: 0; list-style: none; }
.article-content .orv-figure li { margin: 0; padding: 0; }
.orv-figure .orv-caption { margin: 0 0 20px; }
.orv-figure .orv-kicker { display: block; margin-bottom: 6px; color: #496456; font-size: 14px; font-weight: 700; letter-spacing: .05em; }
.orv-figure .orv-title { display: block; font-size: 21px; font-weight: 700; line-height: 1.6; text-wrap: balance; }
.orv-figure .orv-caption-note { display: block; margin-top: 8px; color: #59665f; font-size: 14px; }
.orv-figure .orv-label { display: block; font-size: 15px; font-weight: 700; text-wrap: balance; }
.orv-figure .orv-note { display: block; margin-top: 4px; color: #59665f; font-size: 14px; }

.article-content .orv-figure .orv-report-sheet { padding: 6px 20px; border: 1px solid #cbd6ce; border-top: 4px solid #285b4e; border-radius: 4px; background: #fffdf9; }
.article-content .orv-figure .orv-report-item { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: start; padding: 15px 0; }
.orv-figure .orv-report-item + .orv-report-item { border-top: 1px solid #e0e5dd; }
.orv-figure .orv-number { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #c3d0c6; border-radius: 50%; background: #edf2e9; color: #285b4e; font-size: 14px; font-weight: 700; line-height: 1; }
.orv-figure .orv-optional { margin-left: 6px; color: #59665f; font-size: 14px; font-weight: 400; white-space: nowrap; }

.article-content .orv-figure.orv-evidence { background: #f7f0e6; border-color: #e2d8c9; }
.orv-figure .orv-evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.article-content .orv-figure .orv-evidence-item { min-width: 0; padding: 16px; border: 1px solid #d7ded8; border-radius: 8px; background: #fffdf9; }
.orv-figure .orv-drawing { display: block; width: 100%; max-width: 224px; height: auto; margin: 0 auto 12px; fill: none; stroke: #285b4e; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.orv-figure .orv-drawing .orv-drawing-wall { fill: #f0f3ec; stroke: #becbbf; }
.orv-figure .orv-drawing .orv-drawing-floor { fill: #eee7d9; stroke: #c9c4b8; }
.orv-figure .orv-drawing .orv-drawing-damage { stroke: #6b7668; stroke-width: 2.5; }
.orv-figure .orv-drawing .orv-drawing-highlight { stroke: #285b4e; stroke-dasharray: 4 4; }
.orv-figure .orv-map-arrow { display: flex; justify-content: center; padding: 10px 0; color: #6a8270; }
.orv-figure .orv-map-arrow svg { display: block; width: 24px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.orv-figure .orv-mapping { padding: 16px 20px; border-left: 3px solid #285b4e; border-radius: 4px; background: #fffdf9; }
.orv-figure .orv-mapping-label { display: block; margin-bottom: 4px; color: #285b4e; font-size: 14px; font-weight: 700; }

.article-content .orv-figure.orv-calculation { background: #fffdf9; }
.orv-figure .orv-calculation-block + .orv-calculation-block { margin-top: 24px; padding-top: 24px; border-top: 1px solid #d7ded8; }
.orv-figure .orv-calculation-heading { display: block; margin-bottom: 12px; color: #496456; font-size: 15px; font-weight: 700; }
.orv-figure .orv-equation { display: grid; grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr); gap: 7px; align-items: stretch; }
.orv-figure .orv-amount-box { min-width: 0; padding: 16px 10px; border: 1px solid #d7ded8; border-radius: 6px; background: #f5f6f0; text-align: center; }
.orv-figure .orv-amount-label { display: block; font-size: 14px; font-weight: 700; line-height: 1.6; text-wrap: balance; }
.orv-figure .orv-amount { display: block; margin-top: 8px; font-size: 23px; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; white-space: nowrap; }
.orv-figure .orv-unit { margin-left: 3px; font-size: 14px; font-weight: 400; }
.orv-figure .orv-operation { display: grid; place-items: center; color: #647a6b; font-size: 21px; font-weight: 700; line-height: 1; }
.orv-figure .orv-amount-box.orv-result { border-color: #285b4e; background: #eaf0e7; color: #244f43; }
.article-content .orv-figure .orv-calculation-note { margin-top: 18px; color: #59665f; font-size: 14px; }

.article-content .orv-table-wrap { max-width: 100%; margin-bottom: 24px; overflow-x: auto; border-radius: 8px; }
.article-content .orv-table-wrap:focus-visible { outline: 2px solid #285b4e; outline-offset: 4px; }
.article-content .orv-table-wrap table { display: table; width: 100%; min-width: 0; margin: 0; table-layout: fixed; overflow: visible; font-size: 14px; line-height: 1.8; }
.article-content .orv-table-wrap.orv-table-wide table { min-width: 740px; }
.article-content .orv-table-wrap.orv-table-details th:nth-child(1) { width: 17%; }
.article-content .orv-table-wrap.orv-table-details th:nth-child(2) { width: 22%; }
.article-content .orv-table-wrap.orv-table-details th:nth-child(3) { width: 26%; }
.article-content .orv-table-wrap.orv-table-details th:nth-child(4) { width: 14%; }
.article-content .orv-table-wrap.orv-table-details th:nth-child(5) { width: 21%; }
.article-content .orv-table-wrap.orv-table-depreciation th:first-child { width: 25%; }
.article-content .orv-table-wrap.orv-table-depreciation th:not(:first-child) { width: 15%; }
.article-content .orv-table-help { margin-top: -14px; color: #59665f; font-size: 14px; line-height: 1.8; }

@media (max-width: 600px) {
  .article-content .orv-figure { padding: 18px 16px; border-radius: 12px; }
  .orv-figure .orv-title { font-size: 19px; }
  .article-content .orv-figure .orv-report-sheet { padding: 4px 12px; }
  .article-content .orv-figure .orv-report-item { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; padding: 13px 0; }
  .orv-figure .orv-number { width: 28px; height: 28px; }
  .orv-figure .orv-optional { display: block; margin-left: 0; }
  .orv-figure .orv-evidence-grid { grid-template-columns: 1fr; gap: 12px; }
  .article-content .orv-figure .orv-evidence-item { padding: 14px; }
  .orv-figure .orv-drawing { max-width: 200px; }
  .orv-figure .orv-mapping { padding: 14px; }
  .orv-figure .orv-equation { grid-template-columns: 1fr; gap: 7px; }
  .orv-figure .orv-amount-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 14px 12px; text-align: left; }
  .orv-figure .orv-amount { margin-top: 0; font-size: 22px; }
  .orv-figure .orv-operation { min-height: 20px; font-size: 20px; }
}

@media print {
  .article-content .orv-figure { break-inside: avoid; }
  .article-content .orv-table-wrap { overflow: visible; }
  .article-content .orv-table-wrap table { min-width: 0; }
}

.article-content .orv-photo { margin: 28px 0 36px; }
.orv-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }
.article-content .orv-photo figcaption { margin-top: 10px; color: #59665f; font-size: 14px; line-height: 1.8; }
