.market-section{padding-block:72px;scroll-margin-top:24px}
.market-section>.eyebrow{margin-bottom:14px}
.market-section>h2{font-size:clamp(32px,3.4vw,48px);line-height:1.1;max-width:850px;margin-bottom:28px}
.mv-shell{container-type:inline-size;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--white)}
.mv-shell [hidden]{display:none!important}
.mv-form{padding:clamp(22px,3vw,36px);background:var(--sage)}
.mv-form-heading h3,.editor-panel .mv-form-heading h3{font:28px/1.2 Georgia,serif;letter-spacing:-.02em;margin:0 0 8px}
.mv-form-heading>p{font-size:15px;line-height:1.6;margin:0 0 24px;color:#526163}
.mv-fields{display:grid;grid-template-columns:minmax(120px,.65fr) minmax(200px,1.3fr) minmax(150px,1fr);gap:20px;align-items:start}
.mv-field{min-width:0}
.mv-form label{display:block;font-size:14px;font-weight:700;line-height:1.5;margin:0}
.mv-form input,.mv-form select{display:block;width:100%;min-width:0;max-width:100%;height:50px;background:var(--white);border:1px solid #adb9ac;border-radius:8px;padding:11px 13px;margin-top:7px;font:inherit;font-size:16px;line-height:1.5;color:inherit}
.mv-form input:focus-visible,.mv-form select:focus-visible,.mv-shell summary:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.mv-form .mv-caption{font-size:12px;margin:7px 0 0;line-height:1.6;color:#526163}
.mv-caption:empty,.mv-status:empty,.mv-error:empty{display:none}
.mv-area-details{border-block:1px solid #bcc7b5;margin:22px 0 0}
.mv-area-details>summary{cursor:pointer;font-size:14px;font-weight:700;padding:16px 0;line-height:1.5}
.mv-area-choice{font-size:12px;font-weight:400;margin-left:auto;color:#526163}
.mv-shell summary::after{content:"＋";flex-shrink:0;font-size:18px;font-weight:400;line-height:1}
.mv-shell details[open]>summary::after{content:"−"}
.mv-area-content{padding:0 0 20px}
.mv-area-content>label{max-width:480px}
.mv-house-parts,.mv-manual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin-top:18px}
.mv-house-parts label{min-height:44px}
.mv-weight{display:block;font-size:12px;font-weight:400;color:#526163}
.mv-weighted-fields>.mv-caption{margin-top:18px}
.mv-area-overview{display:grid;grid-template-columns:1fr auto;gap:8px 20px;background:var(--white);padding:16px 18px;border:1px solid var(--line);border-radius:10px;margin-top:18px;font-size:14px;align-items:baseline}
.mv-area-overview>strong{font-size:20px;line-height:1.3}
.mv-area-overview>p{grid-column:1/-1;font-size:12px;line-height:1.6;margin:0;color:#526163}
.mv-form-actions{display:flex;align-items:center;gap:22px;margin-top:22px}
.mv-form-actions .mv-caption{margin:0}
.mv-submit{flex-shrink:0;margin:0}
.mv-error{color:#9a3525;font-size:14px;line-height:1.5;margin:16px 0 0}
.mv-status{font-size:13px;line-height:1.5;margin:16px 0 0;color:#526163}
.mv-property{border-left:3px solid var(--accent);padding:4px 0 4px 12px;margin:0 0 22px;font-size:15px}
.mv-property p{font-size:12px;line-height:1.6;margin:4px 0 0;color:#526163}
.mv-output,.editor-panel .mv-output{padding:clamp(22px,3vw,36px);border-top:1px solid var(--line);min-width:0;overflow-wrap:anywhere}
.mv-result-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px}
.mv-result-summary,.mv-result-market{min-width:0}
.mv-result-top{display:flex;flex-direction:column;align-items:start;gap:12px}
.mv-tag{font-size:10px;letter-spacing:.06em;text-transform:uppercase;background:var(--sage);border-radius:24px;padding:7px 10px;font-weight:700;line-height:1.5}
.mv-place{font-size:14px;margin:0}
.mv-estimate,.editor-panel .mv-estimate{font:clamp(34px,4vw,50px)/1.15 Georgia,serif;letter-spacing:-.035em;margin:22px 0 10px}
.mv-estimate>span{font-size:.5em;letter-spacing:0}
.mv-calculation{font-size:14px;line-height:1.6;margin:0 0 20px}
.mv-calculation small{font-size:12px}
.mv-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px 14px;padding:18px 0;border-block:1px solid var(--line);margin:20px 0}
.mv-metrics>div:first-child{grid-column:1/-1}
.mv-metrics dt{font-size:12px;color:#526163;margin-bottom:4px}
.mv-metrics dd{margin:0;font-size:17px;font-weight:700}
.mv-context{border-left:3px solid var(--accent);padding-left:15px;margin:22px 0 0}
.mv-context strong{font-size:13px}
.mv-context p{font-size:12px;margin:8px 0 0;line-height:1.65}
.mv-context details{font-size:12px;margin-top:14px}
.mv-context li{margin:7px 0}
.mv-warning{background:#f9ecd7;border:1px solid #d9b77c;padding:14px;border-radius:10px;font-size:13px;line-height:1.6}
.mv-history h4,.mv-result-summary h4{font:25px/1.2 Georgia,serif;margin:0 0 14px}
.mv-result-summary h4{margin-top:20px}
.mv-result-summary>p:not([class]){font-size:14px;line-height:1.6}
.mv-chart{width:100%;height:auto;display:block;margin-top:15px;overflow:visible}
.mv-line{stroke:var(--accent);stroke-width:3;fill:none;stroke-linejoin:round;stroke-linecap:round}
.mv-point{fill:var(--accent);stroke:var(--white);stroke-width:2}
.mv-axis{stroke:var(--line);stroke-width:1}
.mv-chart text{font:11px Arial,sans-serif;fill:#637071}
.mv-caption,.mv-source{font-size:12px;line-height:1.65;color:#526163}
.mv-history details{border-block:1px solid var(--line);padding:14px 0}
.mv-history summary,.mv-context summary{cursor:pointer;font-size:13px;font-weight:700}
.mv-table-wrap{overflow:auto;max-width:100%}
.mv-history table{font-size:12px;border-collapse:collapse;width:100%;margin:16px 0}
.mv-history th,.mv-history td{padding:9px 5px;border-bottom:1px solid var(--line);text-align:right;white-space:nowrap}
.mv-history th:first-child,.mv-history td:first-child{text-align:left}
.mv-source{margin:22px 0 0}
.mv-result-actions{border-top:1px solid var(--line);margin-top:26px;padding-top:22px;display:flex;align-items:center;gap:22px}
.mv-result-actions .mv-caption{margin:0;max-width:480px}
.mv-download{flex-shrink:0}
.market-private-intro{max-width:760px;margin-bottom:24px}
.market-private-intro h3{font:32px/1.2 Georgia,serif;margin-bottom:12px}
@container(max-width:700px){.mv-fields{grid-template-columns:1fr 1fr}.mv-field:first-child{grid-column:auto}.mv-fields>.mv-field:nth-child(2){grid-column:2}.mv-fields>.mv-field:last-child{grid-column:1/-1}.mv-result-grid{grid-template-columns:1fr;gap:28px}.mv-form-actions,.mv-result-actions{flex-wrap:wrap;gap:12px}.mv-result-market{border-top:1px solid var(--line);padding-top:24px}}
@container(max-width:440px){.mv-fields,.mv-house-parts,.mv-manual{grid-template-columns:1fr;gap:16px}.mv-fields>.mv-field:nth-child(2),.mv-fields>.mv-field:last-child{grid-column:auto}.mv-house-parts label{min-height:0}.mv-area-details>summary{flex-wrap:wrap;gap:6px 12px}.mv-area-choice{font-size:11px}.mv-submit,.mv-download{width:100%;white-space:normal}.mv-area-overview{grid-template-columns:1fr;gap:8px}.mv-area-overview>p{grid-column:auto}}
@media(max-width:700px){.market-section{padding-block:48px}.market-section>h2{font-size:32px;margin-bottom:24px}.mv-shell{border-radius:14px}.mv-form,.mv-output,.editor-panel .mv-output{padding:22px}.mv-form-heading h3,.editor-panel .mv-form-heading h3{font-size:26px}}
@media print{.mv-form,.mv-result-actions{display:none}.mv-shell{display:block;border:0}.mv-output{padding:0;border:0}.mv-result-grid{display:block}.mv-context{break-inside:avoid}}
