.market-history{margin:20px 0;overflow:hidden;scroll-margin-top:130px}
.profile-basis{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;margin-top:18px}
.profile-basis select{font-size:14px;max-width:100%;min-width:0;padding:10px;border:1px solid var(--line,#dce4de);border-radius:8px;background:white;color:inherit}
.profile-evidence{font-size:13px;line-height:1.65;color:var(--muted,#63716b);margin-top:16px}
.profile-method{margin-top:15px;font-size:12px;line-height:1.65}
.profile-method summary{cursor:pointer;font-weight:700}
#profileZipLink{font-size:13px;color:#167a61;font-weight:700}
.profile-title{gap:12px;flex-wrap:wrap}
.profile-title>strong{white-space:nowrap}
#profileBasisNote{font-size:12px;line-height:1.6}
.report-panel{margin:22px 0;padding:24px;min-width:0}
.report-head{display:flex;gap:20px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.report-head>div{flex:1 1 280px}
.report-head h3{margin:7px 0;font-size:26px}
.report-head p,.report-panel>p{font-size:14px;line-height:1.65}
.report-head button{min-height:46px}
.report-verdict{font-size:20px!important;font-weight:800;color:#735319;background:#fff8e8;border-radius:10px;padding:14px}
.report-verdict[data-result=pass]{color:#14694f;background:#eaf5ed}
.report-targets{border-top:1px solid var(--line,#dce4de);padding-top:15px;margin-top:18px}
.report-targets summary{font-size:14px;font-weight:700;cursor:pointer}
.report-target-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:14px}
.report-target-grid label{font-size:12px;font-weight:700;display:flex;flex-direction:column;gap:8px;min-width:0}
.report-target-grid input{font-size:16px;width:100%;min-width:0;box-sizing:border-box;padding:12px;border:1px solid var(--line,#dce4de);border-radius:8px}
@media(max-width:600px){.report-panel{padding:18px 14px}.report-target-grid{grid-template-columns:1fr}.report-head button{width:100%}}
@media print{#downloadAnalysis,.report-targets{display:none!important}}
.market-history>summary{cursor:pointer;padding:4px 0;line-height:1.4}
.market-history>summary .eyebrow{display:inline;font-size:12px;letter-spacing:1.3px}
.market-history>summary strong{display:block;font-size:25px;margin:10px 0 4px;letter-spacing:-.6px}
.market-summary-note{display:block;color:var(--muted,#63716b);font-size:15px}
.market-body{margin-top:20px;min-width:0}
.market-body p{line-height:1.65;max-width:100%}
.market-body [hidden]{display:none!important}
.market-zip-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin:20px 0 10px;max-width:560px}
.market-zip-form label{display:flex;flex:1 1 190px;flex-direction:column;gap:8px;font-weight:700;min-width:0}
.market-zip-form input{width:100%;min-width:0;box-sizing:border-box;font-size:16px;padding:12px;border:1px solid var(--line,#dce4de);border-radius:10px;background:#fff;color:inherit}
.market-zip-form button{min-height:46px;white-space:nowrap}
.market-zip-status{font-size:14px;line-height:1.6;color:var(--muted,#63716b);overflow-wrap:anywhere}
.market-zip-status:empty{display:none}
.market-override>summary{cursor:pointer;font-size:13px;color:var(--muted,#63716b);padding:8px 0}
.market-picker{display:flex;flex-direction:column;gap:8px;font-weight:700;margin:20px 0 10px;max-width:560px}
.market-picker select{width:100%;max-width:100%;min-width:0;font-size:16px;padding:12px;border:1px solid var(--line,#dce4de);border-radius:10px;background:#fff;color:inherit}
.market-body h3{margin:24px 0 6px;font-size:23px;line-height:1.3}
.market-notice{padding:12px 15px;background:#f1f5f0;border-radius:10px;font-size:14px}
.market-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0}
.market-metrics>div{border:1px solid var(--line,#dce4de);border-radius:12px;padding:16px;min-width:0}
.market-metrics small{display:block;color:var(--muted,#63716b);font-size:12px;line-height:1.45}
.market-metrics strong{display:block;font-size:29px;line-height:1.4;letter-spacing:-1px}
.market-metrics span{display:block;color:var(--muted,#63716b);font-size:12px}
.market-chart{background:#fafcf9;border:1px solid var(--line,#dce4de);border-radius:12px;margin:16px 0}
.market-chart svg{display:block;width:100%;height:auto;max-height:300px}
.market-chart text{fill:#63716b;font:13px system-ui,sans-serif}
.market-history-table>summary,.market-method>summary{cursor:pointer;font-weight:700;padding:12px 0;font-size:14px}
.market-history-table .table-wrap{max-height:320px;overflow:auto}
.market-body table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}
.market-body caption{color:var(--muted,#63716b);text-align:left;font-size:13px;line-height:1.5;padding:12px 0}
.market-body th,.market-body td{padding:12px 14px;border-bottom:1px solid var(--line,#dce4de);vertical-align:middle}
.market-body th{font-size:12px;background:#f4f7f2;white-space:normal}
.market-scenarios{min-width:660px}
.market-scenarios td:nth-child(2),.market-scenarios td:nth-child(3),.market-scenarios td:nth-child(4){white-space:nowrap;font-variant-numeric:tabular-nums}
.market-scenarios tr[data-current=true]{background:#edf6f1}
.market-scenarios button{font-size:13px;white-space:nowrap;padding:10px 14px;min-height:44px}
.market-deal{border-top:1px solid var(--line,#dce4de);margin-top:20px;padding-top:4px}
.market-method{margin-top:20px;border-top:1px solid var(--line,#dce4de)}
.market-method p{font-size:13px}
.market-method a{color:#167a61;text-decoration:underline}
@media(max-width:700px){.market-history{padding:18px 14px}.market-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.market-metrics>div{padding:12px}.market-metrics strong{font-size:26px}.market-history>summary strong{font-size:22px}.market-chart text{font-size:17px}.market-body th,.market-body td{padding:10px}.market-body .table-wrap{max-width:100%;overflow-x:auto}}
@media(max-width:420px){.market-zip-form{display:grid;grid-template-columns:minmax(0,1fr)}.market-zip-form button{width:100%}}
@media print{.market-zip-form,.market-override,.market-picker,.market-scenarios button,#marketRetry{display:none!important}.market-body .table-wrap{max-height:none;overflow:visible}.market-scenarios{min-width:0}.market-body table{font-size:10px}}
