/* Article-only visuals: mansion-restoration. */
.article-content .msv-photo { margin:28px 0 36px; }
.msv-photo img { display:block; width:100%; height:auto; border-radius:14px; }
.msv-photo figcaption { margin-top:10px; color:#59665f; font-size:14px; line-height:1.7; }
.article-content .msv-figure { margin:32px 0 40px; padding:24px; border:1px solid #d3ddd4; border-radius:16px; background:#f5f6f0; color:#283630; font-size:15px; line-height:1.8; }
.msv-figure *, .msv-consult * { box-sizing:border-box; }
.article-content .msv-figure p, .article-content .msv-figure ol { margin:0; }
.msv-figure figcaption { margin:0 0 20px; }
.msv-kicker { display:block; margin-bottom:6px; color:#496456; font-size:14px; font-weight:700; }
.msv-title { display:block; font-size:22px; line-height:1.6; }
.msv-phrase { display:inline-block; max-width:100%; }
.msv-number { display:grid; place-items:center; width:32px; height:32px; border-radius:50%; background:#e7ede3; color:#285b4e; font-size:14px; font-weight:700; }
.article-content .msv-panel { min-width:0; padding:18px; border:1px solid #d1d9cf; border-radius:8px; background:#fffdf9; }
.msv-panel strong, .msv-sequence strong { display:block; margin:10px 0; color:#285b4e; font-size:17px; line-height:1.7; }
.msv-axes { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.msv-result { display:block; margin-top:14px; padding-top:10px; border-top:1px solid #d3ddd4; font-size:14px; color:#59665f; }
.article-content .msv-figure .msv-footnote { margin-top:18px; padding:14px 16px; border-left:3px solid #839b89; background:#e7ede3; color:#45594b; font-size:14px; }
.article-content .msv-sequence { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; padding:0; list-style:none; }
.article-content .msv-sequence li { min-width:0; margin:0; padding:18px; border-top:4px solid #839b89; border-radius:6px; background:#fffdf9; }
.msv-costs { display:grid; grid-template-columns:1fr; gap:8px; }
.msv-costs .msv-panel { display:grid; grid-template-columns:135px 1fr; gap:0 16px; }
.msv-costs .msv-panel strong { margin:0 0 6px; }
.msv-label { grid-row:span 2; align-self:center; color:#496456; font-weight:700; font-size:15px; }
.msv-plus { justify-self:center; font-size:20px; color:#496456; line-height:1; }
.article-content .msv-table-wrap { max-width:100%; margin:24px 0 0; overflow-x:auto; overscroll-behavior-inline:contain; border:1px solid #ccd7ce; border-radius:8px; }
.msv-table-wrap:focus-visible { outline:3px solid #285b4e; outline-offset:3px; }
.article-content .msv-table-wrap table { display:table; width:100%; min-width:620px; margin:0; border:0; border-collapse:collapse; font-size:15px; line-height:1.8; }
.article-content .msv-table-wrap th, .article-content .msv-table-wrap td { padding:14px 16px; border:1px solid #d7ded8; vertical-align:top; }
.article-content .msv-table-wrap th { background:#e7ede5; color:#283630; }
.article-content .msv-table-wrap th:first-child { width:24%; }
.article-content .msv-table-note { margin:8px 0 28px; font-size:14px; color:#59665f; }
.article-content .msv-consult { margin:36px 0; padding:26px; border:1px solid #c7d6c9; border-radius:12px; background:#eaf0e7; }
.article-content .msv-consult h3 { margin:0 0 16px; padding:0; border:0; font-size:22px; line-height:1.6; }
.article-content .msv-consult p { margin:0 0 18px; }
.article-content .msv-consult ul { margin:0 0 20px; padding-left:1.3em; }
.article-content .msv-consult .msv-consult-link { display:flex; justify-content:space-between; align-items:center; gap:16px; min-height:52px; padding:16px 20px; border-radius:7px; background:#285b4e; color:#fffdf9; font-size:17px; font-weight:700; line-height:1.6; text-decoration:none; }
.article-content .msv-consult-link:hover { background:#204b40; }
.msv-consult-link:focus-visible { outline:3px solid #285b4e; outline-offset:4px; }
.article-content .msv-consult .msv-small { margin:14px 0 0; color:#59665f; font-size:14px; }
@media(max-width:700px), (min-width:961px) and (max-width:1100px) { .msv-axes { grid-template-columns:1fr; } }
@media(max-width:600px), (min-width:961px) and (max-width:1100px) {
 .article-content .msv-figure { padding:18px 16px; border-radius:12px; }
 .msv-title { font-size:19px; }
 .article-content .msv-panel, .article-content .msv-sequence li { padding:16px; }
 .article-content .msv-sequence { grid-template-columns:1fr; }
 .msv-costs .msv-panel { grid-template-columns:1fr; gap:4px; }
 .msv-label { grid-row:auto; font-size:14px; }
 .msv-number { width:26px; height:26px; }
 .article-content .msv-consult { padding:20px 16px; }
 .article-content .msv-consult h3 { font-size:20px; }
 .article-content .msv-consult .msv-consult-link { padding:14px 16px; font-size:16px; }
}
@media print { .article-content .msv-figure { break-inside:avoid; } }
/* Keep the shared end-of-article button readable at narrow phone widths. */
@media(max-width:400px) { main:has(.msv-photo) .cta-inline-btn { padding:14px 16px; font-size:16px; } }
