.buyer-body{--buyer-ink:#203142;--buyer-muted:#687079;--buyer-gold:#9d741d;--buyer-line:#e4e3dd;--buyer-paper:#f7f7f3;background:var(--buyer-paper);color:var(--buyer-ink)}
.comparison-profile{margin-bottom:12px;padding:10px 16px;border:1px solid #cdddeb;border-radius:8px;background:#f3f7fb}
.comparison-profile h2{margin:0 0 6px;color:#294e74;font-size:14px;font-weight:750}
.comparison-profile-heading{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-bottom:6px}
.comparison-profile-heading h2{margin:0}
.comparison-profile-edit{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:5px 10px;border:1px solid #294e74;border-radius:6px;background:#294e74;color:#fff;font:inherit;font-size:12px;font-weight:600;cursor:pointer}
.comparison-profile-edit:hover{background:#1c3c5d;border-color:#1c3c5d}
@media(pointer:coarse){.comparison-profile-edit{min-height:44px}}
.comparison-profile dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px;margin:0}
.comparison-profile dl>div{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);align-items:baseline;gap:10px;padding:7px 0;border-top:1px solid #dce6ef;min-width:0}
.comparison-profile dt{font-size:12px;color:#607185;line-height:1.4;overflow-wrap:anywhere}
.comparison-profile dd{min-width:0;margin:0;font-size:13px;font-weight:650;color:#203142;line-height:1.4;text-align:right;overflow-wrap:anywhere}
.comparison-profile-variation{display:block;font-size:12px}
@media(max-width:900px){.comparison-profile dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.comparison-profile{padding:10px 12px}.comparison-profile dl{grid-template-columns:1fr}.comparison-profile dl>div{grid-template-columns:minmax(0,3fr) minmax(0,2fr);padding:6px 0;gap:12px}}
.buyer-main{padding-bottom:70px;max-width:1480px}.buyer-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:22px 0 14px}.buyer-heading h1{font-size:34px;font-weight:560;letter-spacing:-1.2px;line-height:1.15;margin:0 0 7px}.buyer-heading h1 em{font-style:normal;color:#94732c}.buyer-heading p{color:var(--buyer-muted);line-height:1.5;max-width:680px;margin:0;font-size:13px}.buyer-heading .eyebrow{margin-bottom:7px;font-size:10px;letter-spacing:1.8px;color:#8c6a22}.buyer-nav{display:flex;gap:30px;border-bottom:1px solid var(--buyer-line);margin-bottom:18px;overflow-x:auto;white-space:nowrap}.buyer-nav>a{display:inline-flex;align-items:center;min-height:40px;padding:8px 0 10px;font-size:13px;color:var(--buyer-muted);position:relative}.buyer-nav>a[aria-current]{color:var(--buyer-ink);font-weight:650}.buyer-nav>a[aria-current]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:3px;background:#c4a04e}.buyer-count{display:inline-block;padding:2px 6px;border-radius:5px;background:#eee8d8;font-size:10px;margin-left:4px;color:#72561d}
.buyer-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 15px;border:1px solid #263d4c;border-radius:8px;background:#263d4c;color:#fff;font-weight:550;font-size:12px;line-height:1.5;cursor:pointer;white-space:nowrap}.buyer-button:hover{background:#354e5e}.buyer-button:disabled{cursor:wait;opacity:.55}.buyer-button-quiet{background:#fff;border-color:#d9dbd5;color:var(--buyer-ink)}.buyer-button-quiet:hover{background:#f3f2eb}.buyer-button-gold{background:#f4ecd8;border-color:#dfcda0;color:#73551c}.buyer-button-gold:hover{background:#ece0c1}.buyer-button-danger{background:#fff;border-color:#e9cfca;color:#963c31}.buyer-text-button{padding:0;color:#8a641d;font-size:12px;text-decoration:underline;text-underline-offset:3px}.buyer-text-button:hover{color:#503b13}.buyer-icon-button{display:inline-grid;place-items:center;min-width:28px;min-height:28px;border:1px solid #e5e4df;border-radius:5px;background:#fff;color:#687079;cursor:pointer}.buyer-icon-button:disabled{opacity:.35;cursor:default}.buyer-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.buyer-muted{color:var(--buyer-muted);font-size:12px;line-height:1.7}.buyer-small{font-size:11px}.buyer-eyebrow{color:#8a6825;font-size:10px;text-transform:uppercase;letter-spacing:1.3px;font-weight:650}.buyer-chip{display:inline-flex;border:1px solid #e5e0d3;background:#f8f4e9;color:#806424;padding:4px 8px;border-radius:5px;font-size:10px}.buyer-chip-neutral{background:#f3f5f6;color:#62707a;border-color:#e2e7ea}.buyer-positive{color:#28674d}.buyer-negative{color:#a04439}.buyer-missing{font-size:11px;line-height:1.5;color:#788088;font-weight:400;letter-spacing:0}.buyer-divider{border:0;border-top:1px solid var(--buyer-line);margin:22px 0}.buyer-panel{background:#fff;border:1px solid var(--buyer-line);border-radius:12px;padding:23px;min-width:0}.buyer-panel h2,.buyer-panel h3{font-weight:600;letter-spacing:-.4px;margin:0 0 10px}.buyer-panel h2{font-size:18px}.buyer-panel h3{font-size:15px}.buyer-panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:18px}.buyer-panel-head h2,.buyer-panel-head h3,.buyer-panel-head p{margin:0}.buyer-panel-head p{margin-top:6px}.buyer-grid{display:grid;gap:18px}.buyer-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.buyer-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}.buyer-notice{background:#f8f3e6;border:1px solid #e9dcb9;border-radius:8px;padding:13px 16px;color:#755b29;font-size:12px;line-height:1.7}.buyer-notice p{margin:0}.buyer-notice ul{margin:7px 0;padding-left:19px}.buyer-message{margin-bottom:18px;background:#eaf3ed;border:1px solid #c9dfd0;border-radius:8px;padding:13px 16px;color:#305e41;font-size:13px}.buyer-message.error{background:#fff0eb;border-color:#e9cdc4;color:#943d30}.buyer-message a{text-decoration:underline}.buyer-empty{border:1px dashed #dcded5;background:#ffffff80;border-radius:12px;padding:50px 22px;text-align:center}.buyer-empty h2,.buyer-empty h3{font-size:20px;font-weight:550;margin:0 0 10px;letter-spacing:-.4px}.buyer-empty p{color:var(--buyer-muted);font-size:13px;line-height:1.8;max-width:430px;margin:0 auto 22px}.buyer-empty .buyer-actions{justify-content:center}.buyer-empty-mark{display:grid;place-items:center;width:50px;height:50px;background:#f0e9d6;border-radius:15px;color:#8b6b29;font-size:26px;margin:0 auto 17px}.buyer-skip{position:fixed;top:-100px;left:15px;z-index:1000;background:#fff;padding:12px 18px;border:2px solid #9d741d}.buyer-skip:focus{top:10px}
.buyer-workspace{display:grid;grid-template-columns:218px minmax(0,1fr);gap:28px;align-items:start}.buyer-folder-sidebar{padding:17px 0;position:sticky;top:155px}.buyer-folder-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;padding:0 9px}.buyer-folder-title h2{font-size:11px;text-transform:uppercase;letter-spacing:1.2px;color:#69736f;font-weight:650;margin:0}.buyer-folder-list{display:grid;gap:4px}.buyer-folder-row{display:flex;gap:2px;align-items:center}.buyer-folder-button{display:flex;align-items:center;gap:9px;flex:1;min-width:0;border-radius:7px;padding:11px 10px;text-align:left;font-size:12px;color:#67716e}.buyer-folder-button span:nth-child(2){overflow:hidden;text-overflow:ellipsis}.buyer-folder-button.active{background:#eae8dd;color:#384636;font-weight:600}.buyer-folder-button:hover{background:#eeeee6}.buyer-folder-button small{font-size:10px;margin-left:auto;color:#7d8277}.buyer-folder-glyph{color:#a78b4e;font-size:17px;line-height:1}.buyer-folder-row>.buyer-icon-button{border:0;background:transparent;font-size:16px}.buyer-folder-subnote{padding:14px 10px;border-top:1px solid #e2e3da;margin-top:20px;font-size:11px;line-height:1.8;color:#7b8178}.buyer-toolbar{display:flex;justify-content:space-between;align-items:center;gap:13px;margin-bottom:20px}.buyer-toolbar h2{font-size:21px;font-weight:550;letter-spacing:-.6px;margin:0}.buyer-toolbar h2 small{font-size:11px;color:#7a807b;font-weight:400;margin-left:8px}.buyer-filter-row{display:flex;gap:9px;align-items:center;margin-bottom:20px}.buyer-search{flex:1;min-width:100px}.buyer-input,.buyer-select,.buyer-textarea{display:block;width:100%;border:1px solid #d9ddd6;border-radius:7px;background:#fff;padding:10px 11px;color:#263742;font-size:12px;line-height:1.4}.buyer-select{padding-right:24px}.buyer-textarea{min-height:92px;resize:vertical;font-family:inherit}.buyer-filter-row>.buyer-select{width:auto;max-width:185px}.buyer-view-switch{display:flex;padding:3px;background:#eeeee7;border-radius:7px}.buyer-view-switch button{padding:7px 10px;font-size:11px;color:#68736a;border-radius:5px}.buyer-view-switch button.active{background:white;color:#344337;box-shadow:0 1px 3px #0000000b}.buyer-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.buyer-property-card{border:1px solid var(--buyer-line);background:#fff;border-radius:11px;padding:21px;display:flex;flex-direction:column;min-width:0}.buyer-property-card.selected{border-color:#bd9d51;box-shadow:0 0 0 1px #bd9d5125}.buyer-card-top{display:flex;justify-content:space-between;gap:16px;align-items:start}.buyer-card-top h3{font-size:16px;font-weight:600;line-height:1.45;margin:0 0 6px;letter-spacing:-.3px}.buyer-card-top h3 a:hover{text-decoration:underline;text-underline-offset:3px}.buyer-card-address{font-size:11px;color:#7b817d;margin:0}.buyer-card-price{font-size:24px;letter-spacing:-.8px;font-weight:600;margin:21px 0 3px}.buyer-card-facts{display:flex;gap:12px;flex-wrap:wrap;color:#66736c;font-size:11px;margin:15px 0}.buyer-card-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;border-top:1px solid #eceee7;margin-top:4px;padding-top:14px}.buyer-card-metrics span{display:block;color:#7a8079;font-size:10px;margin-bottom:5px}.buyer-card-metrics strong{font-size:14px;font-weight:550}.buyer-card-tags{display:flex;gap:5px;flex-wrap:wrap;margin-top:13px}.buyer-card-bottom{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:auto;padding-top:18px}.buyer-card-bottom .buyer-button{padding:7px 11px;font-size:11px}.buyer-card-bottom .buyer-icon-button{margin-left:auto}.buyer-cards.list-view{grid-template-columns:1fr}.buyer-cards.list-view .buyer-property-card{display:grid;grid-template-columns:minmax(180px,1.6fr) minmax(120px,1fr) minmax(190px,1.4fr);gap:0 18px}.buyer-cards.list-view .buyer-card-top{grid-column:1;grid-row:1/4}.buyer-cards.list-view .buyer-card-price{margin:0;grid-column:2;grid-row:1}.buyer-cards.list-view .buyer-card-price-note{grid-column:2}.buyer-cards.list-view .buyer-card-facts{grid-column:2}.buyer-cards.list-view .buyer-card-metrics{grid-column:3;grid-row:1/4;border-top:0;padding-top:0;margin:0;align-content:start}.buyer-cards.list-view .buyer-card-bottom{grid-column:1/-1;padding-top:13px}.buyer-cards.list-view .buyer-card-tags{grid-column:1/-1}.buyer-checkbox{display:inline-flex;gap:8px;align-items:center;font-size:12px;line-height:1.5;color:#56665d;cursor:pointer}.buyer-checkbox input{accent-color:#9a782d;width:16px;height:16px;flex-shrink:0}.buyer-compare-tray{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:120;display:flex;align-items:center;gap:19px;padding:13px 18px;background:#263d4c;color:white;border-radius:12px;box-shadow:0 8px 35px #21344230;max-width:calc(100vw - 30px);font-size:12px}.buyer-compare-tray .buyer-button{background:#e5c980;border-color:#e5c980;color:#28313b}.buyer-compare-tray .buyer-text-button{color:#e7e7de;font-size:11px}
.buyer-workspace>*{min-width:0}.buyer-folder-sidebar,.buyer-folder-title,.buyer-folder-list{min-width:0;max-width:100%}.buyer-card-top>div{min-width:0}.buyer-card-top h3,.buyer-card-tags,.buyer-toolbar h2{overflow-wrap:anywhere}
.buyer-property-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:20px}.buyer-property-heading :is(h1,h2){font-size:27px;font-weight:550;letter-spacing:-.8px;margin:0 0 7px;line-height:1.25}.buyer-property-heading p{margin:0}.buyer-property-heading .buyer-actions{justify-content:flex-end}.buyer-tabs{display:flex;gap:24px;border-bottom:1px solid var(--buyer-line);margin:0 0 23px;overflow:auto;white-space:nowrap}.buyer-tabs button{padding:10px 0 14px;font-size:12px;color:#6c756c;border-bottom:3px solid transparent}.buyer-tabs button[aria-selected=true]{color:#3d4b3d;font-weight:650;border-bottom-color:#bd9d50}.buyer-tab-panel{min-height:200px}.buyer-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}.buyer-kpi{border:1px solid var(--buyer-line);border-radius:10px;background:white;padding:19px;min-width:0}.buyer-kpi.highlight{background:#f6f0df;border-color:#e4d6ad}.buyer-kpi-label{font-size:11px;color:#70776d;line-height:1.5;margin-bottom:12px}.buyer-kpi-value{font-size:27px;font-weight:550;letter-spacing:-.9px;line-height:1.25;overflow-wrap:anywhere}.buyer-kpi-value .buyer-missing{font-size:12px;display:block}.buyer-kpi-detail{font-size:10px;color:#81867b;margin-top:9px;line-height:1.5}.buyer-analysis-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(280px,.8fr);gap:20px;align-items:start}.buyer-results-panel{position:sticky;top:160px}.buyer-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}.buyer-form-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-size:11px;line-height:1.5;color:#606e62}.buyer-form-field label{font-weight:550}.buyer-form-field small{font-size:10px;color:#858a80}.buyer-form-field.full-width{grid-column:1/-1}.buyer-field-unit{display:flex;border:1px solid #d9ddd6;border-radius:7px;align-items:center;background:#fff;overflow:hidden}.buyer-field-unit input{border:0;border-radius:0;min-width:0;width:100%;padding:10px 11px;font-size:12px;background:transparent}.buyer-field-unit input:focus-visible{outline-offset:-3px}.buyer-field-unit span{font-size:10px;color:#81867b;padding:0 10px;white-space:nowrap}.buyer-form-section+.buyer-form-section{border-top:1px solid #e7e9e1;margin-top:23px;padding-top:23px}.buyer-form-section h3{font-size:13px;font-weight:600;margin:0 0 8px}.buyer-form-section>p{margin:0 0 16px}.buyer-calculate-actions{border-top:1px solid var(--buyer-line);padding-top:18px;margin-top:23px}.buyer-result-rows{display:grid;gap:0}.buyer-result-row{display:flex;justify-content:space-between;gap:17px;padding:12px 0;border-bottom:1px solid #eeeee8;font-size:12px;line-height:1.5}.buyer-result-row:last-child{border:0}.buyer-result-row span:first-child{color:#6c776c}.buyer-result-row strong{font-weight:550;text-align:right;max-width:54%;overflow-wrap:anywhere}.buyer-result-row.emphasis{font-size:14px}.buyer-form-footnote{color:#7e847a;font-size:11px;line-height:1.8;margin:17px 0 0}.buyer-data-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.buyer-data-list dt{font-size:11px;color:#7b8278;margin-bottom:6px}.buyer-data-list dd{font-size:13px;margin:0;line-height:1.6}.buyer-provenance{font-size:11px;line-height:1.8;color:#7b8278;border-left:2px solid #d8c59a;padding-left:12px;margin:17px 0}.buyer-provenance a{text-decoration:underline}.buyer-quote-card{background:#faf9f5;border:1px solid #e6e2d6;border-radius:8px;padding:17px;margin-top:15px}.buyer-quote-card h4{font-size:14px;margin:0 0 8px;font-weight:600}.buyer-quote-meta{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.buyer-quote-card dl{margin:13px 0 0}.buyer-quote-card dt{font-size:10px;color:#797d72;margin-top:11px}.buyer-quote-card dd{font-size:12px;line-height:1.6;margin:4px 0;white-space:pre-line;overflow-wrap:anywhere}.buyer-quote-price{font-size:24px;letter-spacing:-.6px;margin:10px 0}.buyer-locked{padding:28px;border:1px solid #dfd4b4;background:#fbf7eb;border-radius:10px}.buyer-locked h3{font-size:18px;margin:0 0 10px;font-weight:550}.buyer-locked p{font-size:12px;line-height:1.8;color:#7c725c;margin:0 0 17px}
.buyer-comparison-controls{margin-bottom:18px}.buyer-comparison-controls>.buyer-actions{margin:15px 0}.buyer-comparison-selectors{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:17px 0}.buyer-comparison-choice{border:1px solid var(--buyer-line);background:#fafbf8;border-radius:8px;padding:13px}.buyer-comparison-choice h3{font-size:12px;line-height:1.5;margin:0 0 10px;font-weight:550}.buyer-common-inputs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:15px}.buyer-table-wrap{overflow:auto;border:1px solid var(--buyer-line);border-radius:10px;background:white;max-width:100%}.buyer-table{min-width:660px;white-space:normal;width:100%;table-layout:fixed}.buyer-table th,.buyer-table td{text-align:left!important;vertical-align:top;border-bottom:1px solid #e8ebe3;padding:15px 17px;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.buyer-table thead th{background:#fafaf6;color:#354331;font-size:13px;font-weight:550}.buyer-table thead th:first-child{width:190px}.buyer-table tbody th{background:#fcfcfa;color:#687364;font-weight:400;font-size:11px}.buyer-table .buyer-table-section th{background:#edf0e7;color:#536347;font-size:10px;font-weight:650;letter-spacing:1px;text-transform:uppercase}.buyer-table tr.difference td{background:#fbf8ee}.buyer-table .buyer-button{font-size:11px;padding:6px 9px;margin-top:9px}.buyer-table td.buyer-positive{color:#28674d}.buyer-table td.buyer-negative{color:#a04439}.buyer-saved-comparisons{margin-top:25px}.buyer-saved-comparison{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 0;border-bottom:1px solid #e8eae2}.buyer-saved-comparison:last-child{border:0}.buyer-saved-comparison a{font-size:13px;font-weight:550}.buyer-saved-comparison small{display:block;color:#7a8174;font-size:10px;margin-top:5px}.buyer-builder-list{display:grid;gap:15px;margin-top:20px}.buyer-builder-list .buyer-quote-card{margin:0}.buyer-builder-form{margin-top:25px}.buyer-dialog{max-width:600px;padding:25px;background:#fff;border:1px solid var(--buyer-line);border-radius:13px;color:var(--buyer-ink)}.buyer-dialog::backdrop{background:#1e2d3a66;backdrop-filter:blur(3px)}.buyer-dialog-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.buyer-dialog-head h2{font-size:21px;font-weight:550;letter-spacing:-.6px;margin:0}.buyer-dialog .buyer-actions{margin-top:23px;justify-content:flex-end}.buyer-dialog .buyer-notice{margin-top:15px}.buyer-folder-checks{display:grid;gap:11px;margin:16px 0;max-height:230px;overflow:auto}.buyer-dialog-error{font-size:12px;color:#9e4033;line-height:1.7;margin-top:15px}.buyer-dialog-error:empty{display:none}.buyer-body [hidden]{display:none!important}.buyer-body :focus-visible{outline:2px solid #9a782d;outline-offset:3px}.buyer-body textarea:focus-visible{outline:2px solid #9a782d;outline-offset:3px}
@media(min-width:1500px){.buyer-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.buyer-workspace{grid-template-columns:180px minmax(0,1fr);gap:20px}.buyer-property-card{padding:17px}.buyer-analysis-layout{grid-template-columns:1fr}.buyer-results-panel{position:static}.buyer-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.buyer-property-heading{flex-direction:column}.buyer-property-heading .buyer-actions{justify-content:flex-start}.buyer-cards.list-view .buyer-property-card{display:flex}.buyer-common-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.buyer-cards.list-view .buyer-card-metrics{border-top:1px solid #eceee7;padding-top:14px;margin-top:4px}.buyer-cards.list-view .buyer-card-price{margin-top:17px}}
@media(max-width:760px){.buyer-heading{padding:18px 0 12px;align-items:start}.buyer-heading h1{font-size:30px}.buyer-heading>.buyer-button{display:none}.buyer-workspace{grid-template-columns:1fr;gap:19px}.buyer-folder-sidebar{position:static;padding:0}.buyer-folder-list{display:flex;overflow:auto;gap:5px;padding-bottom:5px}.buyer-folder-row{flex-shrink:0;max-width:250px}.buyer-folder-button{white-space:nowrap;padding:9px 12px}.buyer-folder-subnote{display:none}.buyer-folder-title{margin-bottom:9px;padding:0}.buyer-folder-row>.buyer-icon-button{background:#eeeae0;margin-left:-7px;margin-right:3px}.buyer-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.buyer-toolbar{align-items:start}.buyer-toolbar h2{font-size:19px}.buyer-view-switch{display:none}.buyer-filter-row{flex-wrap:wrap}.buyer-filter-row>.buyer-select{max-width:160px}.buyer-grid-two,.buyer-grid-three{grid-template-columns:1fr}.buyer-tabs{gap:22px}.buyer-nav{gap:23px;margin-bottom:16px}.buyer-nav>a{font-size:12px;min-height:44px}.buyer-panel{padding:18px}.buyer-kpi{padding:16px}.buyer-kpi-value{font-size:25px}.buyer-table thead th:first-child{width:150px}.buyer-table{min-width:620px}.buyer-comparison-selectors{grid-template-columns:repeat(2,minmax(0,1fr))}.buyer-compare-tray{bottom:12px;gap:12px;font-size:11px}.buyer-compare-tray .buyer-button{padding:8px 11px}.buyer-compare-tray>strong{white-space:nowrap}}
@media(max-width:520px){.buyer-cards{grid-template-columns:1fr}.buyer-heading h1{font-size:28px;letter-spacing:-.9px}.buyer-heading p{font-size:12px}.buyer-toolbar>.buyer-actions{gap:6px}.buyer-toolbar>.buyer-actions .buyer-button{font-size:11px;padding:8px 10px}.buyer-filter-row>.buyer-select{max-width:145px}.buyer-form-grid{gap:15px 12px}.buyer-property-heading :is(h1,h2){font-size:23px}.buyer-property-heading .buyer-actions{gap:6px}.buyer-property-heading .buyer-button{font-size:11px;padding:8px 10px}.buyer-kpis{gap:10px}.buyer-kpi{padding:14px}.buyer-kpi-value{font-size:23px}.buyer-kpi-label{font-size:10px}.buyer-panel-head{align-items:start}.buyer-data-list{gap:14px}.buyer-compare-tray{padding:10px 12px;width:calc(100vw - 28px);justify-content:space-between}.buyer-compare-tray .buyer-text-button{font-size:10px}.buyer-common-inputs{grid-template-columns:1fr 1fr}.buyer-dialog{padding:20px}.buyer-dialog .buyer-form-grid{grid-template-columns:1fr}.buyer-result-row{font-size:11px}.buyer-comparison-selectors{grid-template-columns:1fr}.buyer-saved-comparison{align-items:start}}
@media(max-width:760px){.buyer-workspace{grid-template-columns:minmax(0,1fr)}.buyer-folder-list{width:100%}.buyer-toolbar h2{min-width:0}.buyer-toolbar>.buyer-actions{flex-shrink:0}.buyer-compare-tray{flex-wrap:wrap;gap:8px 12px}.buyer-compare-tray>strong{margin-right:auto}.buyer-compare-tray>a.buyer-button{flex-basis:100%;white-space:normal}.buyer-main:has(.buyer-compare-tray:not([hidden])){padding-bottom:145px}}
.buyer-photos{margin:0;min-width:0;width:100%}.buyer-card-photos{margin-bottom:15px}.buyer-card-photos .property-photo{height:196px}.buyer-analysis-photos{flex:0 0 280px;width:280px}.buyer-analysis-photos .property-photo{height:180px}.buyer-property-heading>.buyer-analysis-photos+div{flex:1;min-width:0}.buyer-choice-photos{margin-bottom:14px}.buyer-choice-photos .property-photo{height:142px}.buyer-compare-photos{margin-bottom:13px}.buyer-compare-photos .property-photo{height:150px}.buyer-picker-photos{flex:0 0 88px;width:88px}.buyer-picker-photos .property-photo{height:66px}.buyer-folder-checks:has(.buyer-picker-photos){max-height:380px}.buyer-folder-checks .buyer-checkbox:has(.buyer-picker-photos){align-items:center}.buyer-picker-photos .property-photo-nav{width:24px;height:32px;font-size:20px}.buyer-picker-photos .property-photo-nav--previous{left:2px}.buyer-picker-photos .property-photo-nav--next{right:2px}
@media(min-width:1101px){.buyer-cards.list-view .buyer-property-card:has(.buyer-card-photos){grid-template-columns:150px minmax(180px,1fr) 150px 200px;column-gap:18px}.buyer-cards.list-view .buyer-card-photos{margin:0;grid-column:1;grid-row:1 / 5;align-self:stretch}.buyer-cards.list-view .buyer-card-photos .property-photo{height:100%;min-height:130px}.buyer-cards.list-view .buyer-card-top{grid-column:2}.buyer-cards.list-view .buyer-card-price,.buyer-cards.list-view .buyer-card-price-note{grid-column:3}.buyer-cards.list-view .buyer-card-metrics{grid-column:4}.buyer-cards.list-view .buyer-card-facts,.buyer-cards.list-view .buyer-card-tags{grid-column:2}.buyer-cards.list-view .buyer-card-bottom{grid-column:2 / -1}}
@media(max-width:1100px){.buyer-analysis-photos{flex:auto;width:100%;max-width:580px}.buyer-analysis-photos .property-photo{height:240px}}
@media(max-width:520px){.buyer-analysis-photos .property-photo{height:210px}.buyer-compare-photos .property-photo{height:120px}.buyer-card-photos .property-photo{height:190px}}

.buyer-profile-note{font-size:12px;line-height:1.6;color:var(--buyer-muted);margin:0 0 18px}.buyer-form-field input:disabled,.buyer-form-field select:disabled{background:#f3f4ef;color:#59634e;opacity:1}.buyer-dialog{width:calc(100vw - 32px);box-sizing:border-box;max-height:calc(100dvh - 32px);overflow:auto}
.buyer-settlement{border-bottom:1px solid var(--buyer-line,#d8dfd8);padding-bottom:24px;margin-bottom:24px}.buyer-settlement .buyer-form-grid{margin-top:16px}.buyer-settlement-details{margin-top:16px;font-size:12px}.buyer-settlement-details summary{cursor:pointer}.buyer-settlement-details code{white-space:normal;overflow-wrap:anywhere}.buyer-settlement-details a{overflow-wrap:anywhere}
.buyer-council-controls{min-width:0}.buyer-council-controls>.buyer-form-field{margin-top:16px}.buyer-council-controls .buyer-form-footnote{margin-top:8px}
.buyer-insurance-controls{min-width:0}.buyer-insurance-controls>.buyer-form-grid,.buyer-insurance-controls>.buyer-form-field:not(:first-child){margin-top:16px}.buyer-insurance-controls .buyer-form-footnote,[data-insurance-rental-result] .buyer-form-footnote{margin-top:8px}
.buyer-insurance-controls>.buyer-form-grid:has(>[hidden]){grid-template-columns:minmax(0,1fr)}
@media(max-width:640px){.buyer-insurance-controls>.buyer-form-grid{grid-template-columns:minmax(0,1fr)}}

.buyer-property-details{flex:1;min-width:0}.buyer-property-details>p{margin:0}.buyer-property-summary{margin-top:12px}.buyer-property-facts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;font-size:12px;color:var(--buyer-muted)}.buyer-property-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 0}.buyer-property-prices>div{min-width:0;padding-left:12px;border-left:2px solid #e6ddc8}.buyer-property-prices dt{font-size:11px;color:var(--buyer-muted);margin-bottom:5px}.buyer-property-prices dd{font-size:16px;font-weight:600;line-height:1.4;margin:0;overflow-wrap:anywhere}.buyer-property-prices dd small{font-size:11px;font-weight:400;white-space:nowrap}.buyer-property-prices>div>small{display:block;margin-top:3px;color:var(--buyer-muted);font-size:10px;line-height:1.4}.buyer-summary-source{margin:9px 0 0;font-size:10px;color:var(--buyer-muted);line-height:1.5}.buyer-property-prices .buyer-missing{display:block;font-size:10px}.buyer-property-heading>.buyer-actions{flex-shrink:0}
@media(min-width:1101px) and (max-width:1350px){.buyer-property-heading{display:grid;grid-template-columns:240px minmax(0,1fr)}.buyer-property-heading .buyer-analysis-photos{width:240px;grid-row:1 / 3;align-self:start}.buyer-property-heading>.buyer-actions{grid-column:2}.buyer-property-heading{row-gap:12px}}
@media(max-width:1100px){.buyer-property-details{width:100%}}
.buyer-property-schedule{grid-template-columns:1fr}.buyer-property-schedule dd{font-size:13px;white-space:pre-line}
@media(max-width:520px){.buyer-property-prices{gap:8px}.buyer-property-prices>div{padding-left:8px}.buyer-property-prices dd{font-size:14px}.buyer-property-prices dt{font-size:10px}.buyer-property-facts{gap:6px 12px}.buyer-property-schedule{grid-template-columns:1fr}.buyer-property-schedule dd{font-size:13px}}

.buyer-property-feature{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;color:var(--buyer-ink);font-size:14px;line-height:1.3}.buyer-property-feature svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}

.buyer-card-facts{align-items:center}.buyer-comparison-facts{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;margin:10px 0 14px}.buyer-comparison-facts .buyer-property-feature{font-size:12px;font-weight:400}.buyer-comparison-facts .buyer-property-feature svg{width:20px;height:20px}

.buyer-analysis-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:20px}.buyer-summary-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid var(--buyer-line);border-radius:12px;overflow:hidden;padding:24px 24px 0}.buyer-summary-card h2{font-size:19px;font-weight:600;letter-spacing:-.4px;margin:0 0 20px}.buyer-summary-card-development{grid-column:1/-1}.buyer-summary-main{margin:0 0 22px}.buyer-summary-main dt,.buyer-summary-metrics dt{color:var(--buyer-muted);font-size:12px;line-height:1.5}.buyer-summary-main dd{margin:7px 0 0;font-size:30px;font-weight:600;letter-spacing:-.8px;line-height:1.3}.buyer-summary-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 24px;margin:0}.buyer-summary-metrics dd{font-size:17px;font-weight:550;margin:5px 0 0;overflow-wrap:anywhere}.buyer-summary-card-development .buyer-summary-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.buyer-summary-caption{font-size:11px;color:var(--buyer-muted);line-height:1.6;margin:20px 0}.buyer-card-edit{display:flex;align-items:center;justify-content:space-between;width:calc(100% + 48px);margin:auto -24px 0;padding:15px 24px;border:0;border-top:1px solid var(--buyer-line);background:#faf9f5;color:var(--buyer-gold);text-align:left;font-size:12px;font-weight:600;cursor:pointer}.buyer-card-edit:hover,.buyer-card-edit[aria-expanded="true"]{background:#f2eddf}.buyer-card-edit span{font-size:18px}.buyer-summary-card-rental .buyer-summary-main{padding:14px 16px;background:#f6f2e5;border-radius:8px;margin-top:-4px;margin-bottom:16px}.buyer-analysis-editor{margin-top:26px;scroll-margin-top:100px}.buyer-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.buyer-editor-heading h2{font-size:21px;margin:0;letter-spacing:-.4px}.buyer-editor-notes{margin-top:16px;padding:16px;border:1px solid var(--buyer-line);border-radius:10px;background:#fff}.buyer-editor-notes>summary{font-size:12px;color:var(--buyer-gold);cursor:pointer}.buyer-editor-notes [data-analysis-completeness]{margin-top:14px}.buyer-summary-main .buyer-missing{font-size:13px;letter-spacing:0}.buyer-summary-metrics .buyer-missing{font-size:11px}
@media(max-width:700px){.buyer-analysis-cards{grid-template-columns:1fr;gap:16px}.buyer-summary-card{padding:20px 20px 0}.buyer-card-edit{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px;padding:14px 20px}.buyer-summary-card-development .buyer-summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.buyer-editor-heading{align-items:flex-start}.buyer-editor-heading h2{font-size:18px}.buyer-summary-main dd{font-size:27px}}

.buyer-field-label{position:relative;margin-bottom:6px;line-height:1.5}.buyer-field-label>label{display:inline;margin:0}.buyer-field-help{display:inline-block;margin-left:6px;vertical-align:middle}.buyer-help-button{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;padding:0;border:1px solid #87937e;border-radius:50%;background:transparent;color:#58664d;font-family:inherit;font-size:12px;font-weight:600;line-height:1;cursor:help}.buyer-help-tooltip{position:absolute;z-index:30;top:100%;right:0;width:320px;max-width:calc(100vw - 76px);box-sizing:border-box;padding:12px 14px;border:1px solid #d8dfd2;border-radius:8px;background:#fff;color:#354331;box-shadow:0 5px 20px #26321c24;font-size:12px;font-weight:400;line-height:1.65;white-space:normal;visibility:hidden;opacity:0;pointer-events:none}.buyer-field-help:not([data-dismissed]):hover .buyer-help-tooltip,.buyer-field-help:not([data-dismissed]):focus-within .buyer-help-tooltip{visibility:visible;opacity:1;pointer-events:auto}

/* Keep the scroll track inside the dialog's rounded frame. */
.buyer-dialog{padding:16px 8px 16px 0;overflow:hidden}
#buyer-dialog-content{box-sizing:border-box;max-height:calc(100dvh - 66px);overflow-y:auto;overscroll-behavior:contain;padding:9px 17px 9px 25px;scroll-padding-block:9px;scrollbar-width:thin;scrollbar-color:#a5ae9d transparent}
@media(max-width:520px){#buyer-dialog-content{padding:4px 12px 4px 20px;scroll-padding-block:4px}}
.buyer-card-compare { display: grid; gap: 8px; margin-top: 12px; grid-column: 1 / -1; }

.buyer-property-actions{flex-direction:column;align-items:stretch;max-width:100%}.buyer-listing-links .buyer-button:disabled{cursor:default}

.buyer-missing-actions{display:grid;gap:8px}.buyer-missing-actions .buyer-button{font-size:13px;font-weight:500;text-align:left;white-space:normal;line-height:1.5;justify-content:flex-start}

[data-council-rental-result] .buyer-result-row>span:first-child,[data-strata-rental-result] .buyer-result-row>span:first-child,[data-water-rental-result] .buyer-result-row>span:first-child{font-size:16px;font-weight:700;color:var(--buyer-ink)}

.buyer-button.buyer-profile-attention{border-color:#b42318}
.buyer-required-mark{color:#b42318}
.buyer-dialog .buyer-profile-invalid,.buyer-dialog .buyer-profile-invalid:focus{border:2px solid #b42318;background:#fff8f7;box-shadow:0 0 0 2px #b4231814}
.buyer-summary-editable{min-width:0}.buyer-summary-editable .buyer-field-unit input{font-size:17px;font-weight:550}.buyer-summary-editable small{display:block;font-size:11px;font-weight:400;color:var(--buyer-muted);line-height:1.5;margin:7px 0}.buyer-summary-editable .buyer-button{font-size:11px;white-space:normal}

.buyer-property-heading>.buyer-property-actions{flex:0 1 440px;width:440px;min-width:0}
.buyer-scenario-actions .buyer-select{width:auto;max-width:230px;min-width:0}
.buyer-listing-logo{display:block;width:22px;height:22px;object-fit:cover;object-position:center;flex-shrink:0}
@media(max-width:1350px){.buyer-property-heading>.buyer-property-actions{flex:auto;width:100%}}
@media(max-width:520px){.buyer-scenario-actions{width:100%}.buyer-scenario-actions .buyer-select{flex:1;max-width:none}}

.buyer-property-listing-facts{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Purchase analysis context tables retain their column headings on small screens. */
.buyer-context-card{padding-bottom:24px;align-self:start}
.buyer-context-card h3{font-size:16px;margin:16px 0 12px}
.buyer-context-card h4{font-size:15px;margin:0 0 8px}
.buyer-context-card h5{font-size:13px;margin:14px 0 8px}
.buyer-context-group{border-top:1px solid var(--buyer-line);padding:14px 0;margin-top:14px}
.buyer-context-note{font-size:12px;color:var(--buyer-muted);line-height:1.6;margin:10px 0}
.buyer-sa1-access{margin:16px 0 20px;color:var(--buyer-ink);font-size:13px;line-height:1.6}
#buyer-context-title-Suburb{scroll-margin-top:100px}
.buyer-sa1-access p{margin:0 0 12px;max-width:65ch}
.buyer-sa1-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px}
.buyer-sa1-actions>a:not(.buyer-button),.buyer-sa1-signin{color:var(--buyer-gold);text-decoration:underline;text-underline-offset:3px}
.buyer-horizontal-bar-row>.buyer-sa1-signin{grid-column:2/-1;justify-self:start;font-size:12px;line-height:1.5;padding:3px 0}
.buyer-sa1-actions a:focus-visible,.buyer-sa1-signin:focus-visible{outline:2px solid var(--buyer-gold);outline-offset:3px}
.buyer-context-scroll{overflow-x:auto;max-width:100%}
.buyer-context-card table{width:100%;border-collapse:collapse;font-size:13px}
.buyer-context-card th,.buyer-context-card td{padding:10px 12px;border-bottom:1px solid var(--buyer-line);text-align:right;vertical-align:top}
.buyer-context-card th:first-child{text-align:left;min-width:180px}
.buyer-context-card thead th{background:#faf9f5;font-weight:600}
.buyer-context-card tbody th{font-weight:400}
.buyer-context-card td{min-width:80px}
.buyer-context-card a{font-size:12px}
.buyer-school-score{padding:8px 0;border-bottom:1px solid var(--buyer-line)}
.buyer-school-score>p:first-child{font-size:13px;line-height:1.6;margin:4px 0}
.buyer-school-score .buyer-context-note{margin:4px 0}
.buyer-school-bars{margin:12px 0 8px;font-size:12px}
.buyer-school-bar-row{display:grid;grid-template-columns:76px minmax(0,1fr) 46px;gap:8px;align-items:center;margin:8px 0}
.buyer-school-bar-row>strong{text-align:right;font-variant-numeric:tabular-nums;font-size:12px}
.buyer-school-bar-track{height:12px;background:#edf0f2;border-radius:3px;overflow:hidden}
.buyer-school-bar-fill{height:100%;border-radius:3px}
.buyer-school-bar-fill.school{background:#244b66}
.buyer-school-bar-fill.state{background:#b18b43}
.buyer-school-bar-axis{display:flex;justify-content:space-between;margin-left:84px;margin-right:54px;color:var(--buyer-muted);font-size:10px}
.buyer-school-extra{margin-top:14px}
.buyer-school-extra summary{cursor:pointer;font-size:13px;padding:8px 0;font-weight:600;display:flex;align-items:center;gap:10px;list-style:none}
.buyer-school-extra summary::-webkit-details-marker{display:none}
.buyer-school-extra summary::marker{content:""}
.buyer-school-extra summary::before{content:"";display:block;width:8px;height:8px;flex:0 0 8px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.buyer-school-extra[open] summary::before{transform:translateY(2px) rotate(225deg)}

/* Keep each editor beside its summary instead of below the suburb data. */
#buyer-analysis-form>.buyer-summary-card-costs{order:0}
#buyer-analysis-form>.buyer-summary-card-rental{order:1}
#buyer-analysis-form>#buyer-editor-costs{order:2}
#buyer-analysis-form>#buyer-editor-rental{order:3}
#buyer-analysis-form>.buyer-context-card{order:4}
#buyer-analysis-form>.buyer-summary-card-development{order:5}
#buyer-analysis-form>#buyer-editor-development{order:6}
#buyer-analysis-form>.buyer-analysis-editor{grid-column:1/-1;margin-top:0;padding:18px;border:1px solid var(--buyer-line);border-radius:12px;background:#faf9f5}
@media(max-width:700px){
 #buyer-analysis-form>#buyer-editor-costs{order:1}
 #buyer-analysis-form>.buyer-summary-card-rental{order:2}
 #buyer-analysis-form>.buyer-analysis-editor{padding:12px}
}

.buyer-editor-chevron{display:block;flex:0 0 26px;width:26px;height:26px;color:var(--buyer-ink);fill:none;stroke:currentColor;stroke-width:4.5;stroke-linecap:round;stroke-linejoin:round}
/* Soft section themes shared by summaries and their inline editors. */
.buyer-summary-card-costs,#buyer-editor-costs{--section-bg:#edf4fc;--section-tint:#dfeaf7;--section-line:#c9daed;--section-ink:#294e74}
.buyer-summary-card-rental,#buyer-editor-rental{--section-bg:#eef6ec;--section-tint:#e0eddc;--section-line:#cbdec5;--section-ink:#365c38}
.buyer-context-card[aria-labelledby="buyer-context-title-Education"]{--section-bg:#f3effa;--section-tint:#e9e1f4;--section-line:#d9cee9;--section-ink:#60457f}
.buyer-context-card[aria-labelledby="buyer-context-title-Suburb"]{--section-bg:#fff9e6;--section-tint:#fff0bf;--section-line:#eadba5;--section-ink:#756024}
.buyer-summary-card-development,#buyer-editor-development{--section-bg:#fcf2e9;--section-tint:#f5e5d5;--section-line:#e8d2bc;--section-ink:#805737}
.buyer-summary-card,#buyer-analysis-form>.buyer-analysis-editor{background:var(--section-bg,#fff);border-color:var(--section-line,var(--buyer-line))}
.buyer-summary-card{--buyer-line:var(--section-line,#e7e9e2)}
.buyer-summary-card>.buyer-card-edit{background:var(--section-bg,#faf9f5);border-top-color:var(--section-line);color:var(--section-ink,var(--buyer-gold))}
.buyer-summary-card>.buyer-card-edit:hover,.buyer-summary-card>.buyer-card-edit[aria-expanded="true"]{background:var(--section-tint,#f2eddf)}
.buyer-summary-card .buyer-editor-chevron,#buyer-analysis-form>.buyer-analysis-editor .buyer-editor-chevron{color:var(--section-ink,var(--buyer-ink))}
.buyer-summary-card-rental .buyer-summary-main,.buyer-context-card thead th{background:var(--section-tint)}
#buyer-analysis-form>.buyer-analysis-editor .buyer-panel,#buyer-analysis-form>.buyer-analysis-editor .buyer-editor-notes{background:var(--section-bg);border-color:var(--section-line)}
#buyer-analysis-form>.buyer-analysis-editor .buyer-editor-heading>.buyer-button{background:var(--section-tint);border-color:var(--section-line);color:var(--section-ink)}

/* Shared chart scale and bars for suburb and school comparisons. */
.buyer-horizontal-bars{margin:16px 0 8px;font-size:12px;--bar-label:104px;--bar-value:82px}
.buyer-bar-group{margin:12px 0}
.buyer-bar-group h4{font-size:12px;margin:12px 0 8px;line-height:1.4}
.buyer-horizontal-bar-row{display:grid;grid-template-columns:var(--bar-label) minmax(0,1fr) var(--bar-value);gap:8px;align-items:center;margin:6px 0;line-height:1.4}
.buyer-horizontal-bar-row>span{overflow-wrap:anywhere}
.buyer-horizontal-bar-row>strong{text-align:right;overflow-wrap:anywhere;font-size:11px;font-variant-numeric:tabular-nums}
.buyer-horizontal-track{height:12px;background:#e2e5e5;border-radius:3px;position:relative}
.buyer-horizontal-fill{height:100%;border-radius:3px}
.buyer-horizontal-fill.local{background:#476c86}
.buyer-horizontal-fill.small-area{background:#795019}
.buyer-horizontal-fill.state{background:#a88a50}
.buyer-horizontal-fill.national{background:#7b8581}
.buyer-horizontal-track.is-truncated::before{content:"";position:absolute;left:0;top:-2px;width:4px;height:16px;border-left:1px solid #fff;border-right:1px solid #fff;transform:skewX(-20deg)}
.buyer-horizontal-axis{display:flex;justify-content:space-between;margin-left:calc(var(--bar-label) + 8px);margin-right:calc(var(--bar-value) + 8px);gap:8px;font-size:10px;color:#565f64;border-top:1px solid #b9c1c3;padding-top:4px}
.buyer-school-rank{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;margin:12px 0;padding:14px 18px;border:1px solid #d9cee9;border-left:4px solid #735491;border-radius:9px;background:#fffdf8;color:#463356}
.buyer-school-rank-label{font-size:10px;font-weight:700;letter-spacing:.8px;text-transform:uppercase}
.buyer-school-rank-position{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.buyer-school-rank-position>strong{font-size:23px;font-weight:700;line-height:1.2;font-variant-numeric:tabular-nums;letter-spacing:-.6px}
.buyer-school-rank-tie{padding:3px 8px;border-radius:5px;background:#ede5f5;color:#60457f;font-size:10px;font-weight:600}
.buyer-school-rank-unavailable{font-size:11px;color:#67636d}
@media(max-width:700px){.buyer-horizontal-bars{--bar-label:76px;--bar-value:62px}.buyer-horizontal-bar-row{gap:6px}.buyer-horizontal-axis{margin-left:82px;margin-right:68px}}

.buyer-context-card a.buyer-suburb-link{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 16px;border:1px solid #294e74;border-radius:8px;background:#294e74;color:#fff;font-size:14px;font-weight:600;text-decoration:none;line-height:1.4}
.buyer-context-card a.buyer-suburb-link:hover{background:#1c3c5d;border-color:#1c3c5d}
.buyer-context-card a.buyer-suburb-link:focus-visible{outline:3px solid #b48b36;outline-offset:3px}
.buyer-suburb-link>span{font-size:20px;line-height:1}

.buyer-editor-footer{display:flex;justify-content:flex-end;margin-top:16px}
#buyer-analysis-form>.buyer-analysis-editor .buyer-editor-footer>.buyer-button{background:var(--section-tint);border-color:var(--section-line);color:var(--section-ink)}

/* Property analysis: generous photography and grouped actions. */
.buyer-property-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px 28px;align-items:start}
.buyer-property-heading>.buyer-analysis-photos{grid-column:1;grid-row:1 / 3;width:100%;max-width:none;align-self:stretch}
.buyer-property-heading .buyer-analysis-photos .property-photo{height:100%;min-height:350px;max-height:540px}
.buyer-property-heading>.buyer-property-details{grid-column:2;min-width:0}
.buyer-property-heading>.buyer-property-actions{grid-column:2;width:100%;min-width:0;display:grid;gap:16px}
.buyer-property-heading .buyer-actions{justify-content:flex-start;gap:10px}
.buyer-property-heading .buyer-button{min-height:42px;font-size:12px;padding:10px 14px}
.buyer-property-tools{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.buyer-property-tools .buyer-button{white-space:normal;text-align:center}
.buyer-scenario-block{padding:16px;background:#fff;border:1px solid var(--buyer-line);border-radius:10px}
.buyer-scenario-block>label{display:block;margin-bottom:8px;font-weight:600}
.buyer-scenario-actions .buyer-select{flex:1;width:100%;max-width:none;min-width:120px;min-height:42px}
.buyer-scenario-secondary:empty{display:none}
.buyer-scenario-secondary:not(:empty){margin-top:10px}
.buyer-profile-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:14px;border-top:1px solid var(--buyer-line)}
.buyer-property-details .buyer-listing-links{margin-top:18px}
.buyer-property-details .buyer-listing-links .buyer-button{background:transparent;border-color:transparent;padding:6px 0;min-height:34px;margin-right:12px}
.buyer-property-details .buyer-listing-links .buyer-button:hover{color:var(--buyer-gold);text-decoration:underline}
.buyer-listing-logo{object-fit:contain}
@media(max-width:900px){
 .buyer-property-heading{grid-template-columns:minmax(0,1fr);gap:20px}
 .buyer-property-heading>.buyer-analysis-photos,.buyer-property-heading>.buyer-property-details,.buyer-property-heading>.buyer-property-actions{grid-column:1;grid-row:auto}
 .buyer-property-heading .buyer-analysis-photos .property-photo{height:auto;aspect-ratio:16/10;min-height:0;max-height:480px}
}
@media(max-width:480px){
 .buyer-property-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
 .buyer-property-tools>[data-action="share-property"]{grid-column:1/-1}
 .buyer-profile-actions{align-items:flex-start;flex-direction:column}
 .buyer-scenario-actions{align-items:stretch;flex-direction:column}
 .buyer-scenario-actions .buyer-select{width:100%}
}

/* Compact the four geography rows within each local-area comparison. */
#buyer-context-suburb .buyer-horizontal-bar-row{margin:2px 0;line-height:1.25}
@media(max-width:700px){
 #buyer-context-suburb .buyer-horizontal-bars{--bar-label:104px}
 #buyer-context-suburb .buyer-horizontal-axis{margin-left:110px}
}

/* Reduce whitespace around suburb chart sections and their separators. */
#buyer-context-suburb .buyer-context-group{padding:8px 0;margin-top:8px}
#buyer-context-suburb .buyer-context-group>h3{margin:8px 0}
#buyer-context-suburb .buyer-horizontal-bars{margin:8px 0 4px}
#buyer-context-suburb .buyer-bar-group{margin:6px 0}
#buyer-context-suburb .buyer-bar-group h4{margin:6px 0 4px}

.buyer-school-rank-label{min-width:0}
.buyer-school-rank-position{flex-wrap:nowrap;flex-shrink:0}
.buyer-school-rank-position>strong,.buyer-school-rank-tie{white-space:nowrap}
@media(max-width:480px){.buyer-school-rank{gap:8px;padding:12px 10px}.buyer-school-rank-position{gap:6px}.buyer-school-rank-label{font-size:9px;letter-spacing:.2px}.buyer-school-rank-position>strong{font-size:21px}.buyer-school-rank-tie{padding:3px 5px;font-size:9px}}

.buyer-listing-logo-frame{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;overflow:hidden;flex-shrink:0}
.buyer-listing-logo-realestate .buyer-listing-logo{width:42.1px;height:22px;max-width:none;object-fit:contain}

.buyer-inline-update{display:grid;grid-template-columns:minmax(0,1fr) 86px;gap:8px;align-items:stretch}
.buyer-inline-update>.buyer-field-unit{min-width:0}
.buyer-summary-editable .buyer-inline-update>.buyer-button{margin:0;padding:7px 8px;line-height:1.3}

/* Compact, consistent cash-flow editors. */
.buyer-summary-card-rental .buyer-summary-metrics{gap:14px 18px}
.buyer-summary-card-rental .buyer-summary-editable dt{min-height:32px;display:flex;align-items:flex-end;line-height:16px}
.buyer-summary-card-rental .buyer-summary-editable dt label{margin:0}
.buyer-summary-card-rental .buyer-summary-editable dd{margin-top:4px}
.buyer-summary-card-rental .buyer-inline-update{grid-template-columns:minmax(0,1fr) 86px;gap:6px;align-items:center}
.buyer-summary-card-rental .buyer-inline-update>.buyer-field-unit,
.buyer-summary-card-rental .buyer-inline-update>.buyer-button{box-sizing:border-box;height:34px;min-height:34px;border-radius:6px}
.buyer-summary-card-rental .buyer-inline-update>.buyer-field-unit{background:#e3efde;border-color:#c5d9bd}
.buyer-summary-card-rental .buyer-summary-editable .buyer-field-unit input{box-sizing:border-box;height:32px;padding:5px 8px;font-size:15px;line-height:20px}
.buyer-summary-card-rental .buyer-field-unit span{font-size:9px;padding:0 6px}
.buyer-summary-card-rental .buyer-summary-editable .buyer-inline-update>.buyer-button{padding:3px 6px;margin:0;font-size:10px;line-height:12px;display:flex;align-items:center;justify-content:center}
.buyer-summary-card-rental .buyer-summary-editable small{margin:5px 0 0;font-size:10px;line-height:1.4}

.buyer-summary-card-rental .buyer-inline-update>.buyer-button{background:#487448;border-color:#487448;color:#fff}
.buyer-summary-card-rental .buyer-inline-update>.buyer-button:hover{background:#365c38;border-color:#365c38}

/* Use the same label row for editable and read-only cash-flow metrics. */
.buyer-summary-card-rental .buyer-summary-metrics>div{min-width:0}
.buyer-summary-card-rental .buyer-summary-metrics>div>dt{min-height:32px;display:flex;align-items:flex-end;line-height:16px}
.buyer-summary-card-rental .buyer-summary-metrics>div>dd{margin-top:4px;min-height:34px;box-sizing:border-box}
.buyer-summary-card-rental .buyer-summary-metrics>div:not(.buyer-summary-editable)>dd{display:flex;align-items:center;flex-wrap:wrap}

/* Tighter vertical rhythm for purchase and cash-flow summary cards. */
:is(.buyer-summary-card-costs,.buyer-summary-card-rental){padding-top:18px}
:is(.buyer-summary-card-costs,.buyer-summary-card-rental)>h2{margin-bottom:12px}
:is(.buyer-summary-card-costs,.buyer-summary-card-rental) .buyer-summary-main{margin-bottom:14px}
.buyer-summary-card-rental .buyer-summary-main{padding:10px 14px;margin-bottom:12px}
:is(.buyer-summary-card-costs,.buyer-summary-card-rental) .buyer-summary-main dd{margin-top:4px}
:is(.buyer-summary-card-costs,.buyer-summary-card-rental) .buyer-summary-metrics{row-gap:10px}
:is(.buyer-summary-card-costs,.buyer-summary-card-rental) .buyer-summary-caption{margin:12px 0;line-height:1.5}
:is(.buyer-summary-card-costs,.buyer-summary-card-rental)>.buyer-card-edit{padding-top:11px;padding-bottom:11px}

/* Compact the property overview above the analysis cards. */
.buyer-nav{margin-bottom:12px}
.buyer-property-heading{row-gap:10px;margin-bottom:12px}
.buyer-property-heading :is(h1,h2){margin-bottom:4px;line-height:1.2}
.buyer-property-summary{margin-top:8px}
.buyer-property-heading .buyer-property-prices{margin-top:8px;row-gap:8px}
.buyer-property-heading .buyer-property-prices dt{margin-bottom:3px}
.buyer-property-heading .buyer-property-prices dd{line-height:1.3}
.buyer-property-details .buyer-listing-links{margin-top:8px}
.buyer-property-heading>.buyer-property-actions{gap:10px}
.buyer-property-heading .buyer-button{min-height:34px;padding:6px 12px}
.buyer-property-details .buyer-listing-links .buyer-button{min-height:28px;padding:3px 0}
.buyer-scenario-block{padding:10px 12px}
.buyer-scenario-block>label{margin-bottom:5px}
.buyer-scenario-actions .buyer-select{min-height:34px;padding-top:7px;padding-bottom:7px}
.buyer-profile-actions{padding-top:8px;gap:8px}
.buyer-profile-note{margin-bottom:12px}
@media(min-width:901px){
 .buyer-property-heading .buyer-analysis-photos .property-photo{min-height:280px;max-height:430px}
}
@media(max-width:900px){
 .buyer-property-heading .buyer-analysis-photos .property-photo{aspect-ratio:16/9;max-height:340px}
}

.buyer-property-listing-facts.buyer-property-schedule{grid-template-columns:repeat(3,minmax(0,1fr))}

/* Inline purchase-price editing, matching the compact cash-flow controls. */
.buyer-summary-card-costs .buyer-inline-update{gap:6px}
.buyer-summary-card-costs .buyer-inline-update>.buyer-field-unit,
.buyer-summary-card-costs .buyer-inline-update>.buyer-button{box-sizing:border-box;height:34px;min-height:34px;border-radius:6px}
.buyer-summary-card-costs .buyer-inline-update>.buyer-field-unit{background:#e3edf8;border-color:#c9daed}
.buyer-summary-card-costs .buyer-summary-editable .buyer-field-unit input{height:32px;box-sizing:border-box;padding:5px 8px;font-size:15px;line-height:20px}
.buyer-summary-card-costs .buyer-inline-update>.buyer-button{padding:3px 6px;font-size:10px;line-height:12px;background:#365c80;border-color:#365c80;color:#fff}
.buyer-summary-card-costs .buyer-inline-update>.buyer-button:hover{background:#294e74}
/* Remove reserved blank label space; retain equal rows within each metric pair. */
.buyer-summary-card-rental .buyer-summary-metrics{row-gap:6px}
.buyer-summary-card-rental .buyer-summary-metrics>div>dt{min-height:16px;line-height:16px}
.buyer-summary-card-rental .buyer-summary-metrics>div>dd{margin-top:3px}
.buyer-summary-card-rental .buyer-summary-editable small{margin-top:3px;line-height:1.3}
@supports(grid-template-rows:subgrid){
 .buyer-summary-card-rental .buyer-summary-metrics>div{display:grid;grid-row:span 2;grid-template-rows:subgrid;row-gap:3px}
 .buyer-summary-card-rental .buyer-summary-metrics>div>dd{margin-top:0}
}

.buyer-summary-card-costs .buyer-summary-main{padding:10px 14px;background:var(--section-tint,#dfeaf7);border-radius:8px;margin-top:-4px;margin-bottom:12px}

.buyer-summary-editable .buyer-combined-cost-label{display:block;font-size:11px;font-weight:400;line-height:1.4;margin:7px 0 4px;color:var(--buyer-muted)}
.buyer-summary-editable dd>.buyer-combined-cost-label:first-child{margin-top:0}

/* Source links share the profile row instead of taking a separate overview row. */
.buyer-property-heading{row-gap:8px;margin-bottom:10px}
.buyer-property-heading>.buyer-property-actions{gap:8px}
.buyer-property-summary{margin-top:6px}
.buyer-property-heading .buyer-property-prices{margin-top:6px;row-gap:6px}
.buyer-scenario-block{padding:8px 10px}
.buyer-profile-actions{padding-top:6px;gap:10px}
.buyer-profile-actions .buyer-listing-links{margin:0;gap:12px;min-width:0}
.buyer-profile-actions .buyer-listing-links .buyer-button{background:transparent;border-color:transparent;padding:3px 0;min-height:28px}
.buyer-profile-actions .buyer-listing-links .buyer-button:hover{color:var(--buyer-gold);text-decoration:underline}
.buyer-profile-actions>[data-action="edit-buyer-profile"]{flex-shrink:0}
.buyer-comparison-controls :is([data-action="edit-buyer-profile"],[data-action="choose-compare"],[data-action="export-comparison"],[data-action="share-comparison"]){background:#294e74;border-color:#294e74;color:#fff}
.buyer-comparison-controls :is([data-action="edit-buyer-profile"],[data-action="choose-compare"],[data-action="export-comparison"],[data-action="share-comparison"]):hover{background:#1c3c5d;border-color:#1c3c5d;color:#fff}
@media(min-width:901px){
 .buyer-property-heading .buyer-analysis-photos .property-photo{min-height:260px;max-height:380px}
}

.buyer-profile-note{padding:7px 14px;background:#eaf2fb;border:1px solid #c9daed;border-left:4px solid #6689ad;border-radius:8px;color:#294e74;line-height:1.5;margin:0 0 10px}

.buyer-property-location{white-space:nowrap;line-height:1.4}.buyer-property-facts>.buyer-chip{margin:0}

/* Dark fills for primary property actions and Buyer Profile. */
.buyer-property-tools .buyer-button,.buyer-purchase-report .buyer-button,.buyer-profile-actions>[data-action="edit-buyer-profile"]{background:#294e74;border-color:#294e74;color:#fff}
.buyer-property-tools .buyer-button:hover,.buyer-purchase-report .buyer-button:hover,.buyer-profile-actions>[data-action="edit-buyer-profile"]:hover{background:#1c3c5d;border-color:#1c3c5d;color:#fff}
.buyer-purchase-report .buyer-button{width:100%}

/* Keep the four primary property actions in a balanced two-by-two grid. */
.buyer-property-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
.buyer-property-tools>[data-action="share-property"]{grid-column:auto}

.buyer-combined-budget-note{grid-column:1/-1;color:var(--buyer-muted);font-size:10px;line-height:1.4}

.buyer-school-headline{padding:12px 14px;margin:10px 0 6px;border:1px solid #d9cee9;border-radius:10px;background:#faf7ff}
.buyer-school-headline .buyer-school-score{border:0;margin:0;padding:0}
.buyer-school-main-label{display:block;font-size:12px;line-height:1.5;color:var(--buyer-muted)}
.buyer-school-main-value{display:block;margin-top:4px;font-size:24px;line-height:1.25;color:#463356}
.buyer-school-headline .buyer-school-rank{margin:8px 0;padding:8px 10px}
.buyer-school-headline .buyer-context-note{font-size:11px;margin:5px 0 0}
.buyer-school-details{margin-top:4px}

.buyer-school-stage{font-size:18px;font-weight:700;line-height:1.4;color:var(--buyer-ink,#172c3b);margin:8px 0 12px}
.buyer-comparison-context{margin:24px 0}.buyer-comparison-context-grid{display:block;column-count:2;column-gap:18px;margin:18px 0}.buyer-comparison-context-grid>.buyer-summary-card{display:inline-flex;box-sizing:border-box;width:100%;min-width:0;margin:0 0 18px;vertical-align:top;break-inside:avoid;page-break-inside:avoid}.buyer-context-facts{margin:0}.buyer-context-facts>div{padding:8px 0;border-bottom:1px solid var(--buyer-line)}.buyer-context-facts dt{font-size:12px;color:var(--buyer-muted)}.buyer-context-facts dd{margin:4px 0;font-size:14px;overflow-wrap:anywhere}.buyer-comparison-chart{margin:20px 0}.buyer-comparison-bar{display:grid;grid-template-columns:minmax(100px,38%) minmax(0,1fr) 60px;gap:8px;align-items:center;margin:10px 0;font-size:12px}.buyer-comparison-bar>span{overflow-wrap:anywhere}.buyer-comparison-bar>strong{text-align:right}.buyer-comparison-track{height:16px;background:#e8ecee}.buyer-comparison-track i{display:block;height:100%;background:#193657}.buyer-comparison-track .context-color-1{background:#a87826}.buyer-comparison-track .context-color-2{background:#348477}.buyer-comparison-track .context-color-3{background:#85658e}.buyer-comparison-track .context-color-4{background:#b55e42}.buyer-comparison-track .context-color-state{background:#697581}.buyer-comparison-track .context-color-national{background:#36414e}.buyer-comparison-axis{display:flex;justify-content:space-between;margin-left:calc(38% + 8px);margin-right:68px;font-size:10px;color:var(--buyer-muted)}
@media(max-width:1000px){.buyer-comparison-context-grid{column-count:1}}@media(max-width:480px){.buyer-comparison-bar{grid-template-columns:minmax(0,1fr) 60px}.buyer-comparison-bar>span{grid-column:1/-1}.buyer-comparison-axis{margin-left:0}}

/* Comparison galleries show only available images and preserve their full ratio. */
.buyer-choice-photos[data-photo-layout="grid"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.buyer-choice-photos[data-photo-layout="grid"]:has(>.property-photo:only-child){grid-template-columns:1fr}
.buyer-choice-photos[data-photo-layout="grid"]:empty{display:none}
.buyer-choice-photos[data-photo-layout="grid"] .property-photo{height:142px}
.buyer-choice-photos[data-photo-layout="grid"] img{object-fit:contain}
.buyer-comparison-score{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:6px}
.buyer-comparison-score>div{padding:8px;background:#f1f4f3;border-radius:4px;display:flex;flex-direction:column;gap:4px}
.buyer-comparison-score span,.buyer-comparison-score small{font-size:11px;color:#65717a}
.buyer-comparison-score strong{font-size:22px;line-height:1.2;color:#463356}
.buyer-comparison-score>div:last-child{background:#f4eef7;border-left:3px solid #735491}
@media(max-width:600px){.buyer-comparison-score{grid-template-columns:1fr 1fr}.buyer-comparison-score>div:last-child{grid-column:1/-1}}

/* Full-width context tables continue the financial comparison above. */
.buyer-comparison-context-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;column-count:auto}
.buyer-comparison-context-grid>.buyer-summary-card{display:flex;margin:0;min-width:0}
.buyer-context-table-wrap{width:100%}
.buyer-context-table thead th{font-weight:700;border-top:4px solid #355f83;background:#edf3f8;color:#244967}




.buyer-context-value{font-size:14px;font-weight:500;color:inherit;font-variant-numeric:tabular-nums}

.buyer-context-rank,
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-value-badge{display:inline-block;max-width:100%;box-sizing:border-box;background:#edf3f8;color:#244967;border:0;border-radius:6px;padding:4px 10px;font-size:19px;font-weight:750;line-height:1.6;box-shadow:none;overflow-wrap:anywhere}
.buyer-context-source{display:block;margin-top:6px;color:#6f6578}
.buyer-context-missing{color:#818b94;font-weight:400}
.buyer-context-table tbody tr:hover td{box-shadow:inset 0 0 0 999px #355f8308}


/* One header treatment; colour groups by topic, never by property. */
:is(#buyer-comparison-result,#buyer-comparison-context) .buyer-table thead th{background:#edf3f8;color:#244967;border-top:4px solid #355f83;font-weight:700}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-tone-purchase{--compare-ink:#285b80;--compare-tint:#edf4fa;--compare-line:#77a6c7}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-tone-finance{--compare-ink:#654582;--compare-tint:#f3eef8;--compare-line:#ab91c2}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-tone-investment{--compare-ink:#286958;--compare-tint:#edf7f2;--compare-line:#77ae97}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-tone-assumptions{--compare-ink:#775a28;--compare-tint:#faf5e9;--compare-line:#c9ab70}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-tone-development{--compare-ink:#854c39;--compare-tint:#faf0ec;--compare-line:#c79581}
:is(#buyer-comparison-result,#buyer-comparison-context) .buyer-table-section th{background:var(--compare-tint);color:var(--compare-ink);border-left:4px solid var(--compare-line);font-size:12px;font-weight:750;letter-spacing:.3px;text-transform:none}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-section-heading th{background:#edf3f8;color:#285b80;border-left-color:#c9daed;font-size:14px;padding-top:7px;padding-bottom:7px}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-section-heading .comparison-cost-toggle{margin:0 0 0 10px}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-emphasis td{color:var(--compare-ink);font-weight:750}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-emphasis td{font-size:16px;font-variant-numeric:tabular-nums}
:is(#buyer-comparison-result,#buyer-comparison-context) .buyer-table td.buyer-negative{color:#a04439}
:is(#buyer-comparison-result,#buyer-comparison-context) .buyer-table td.comparison-missing{color:#818b94;font-weight:400;font-size:12px}
:is(#buyer-comparison-result,#buyer-comparison-context) .buyer-table .buyer-text-button{font-weight:500;font-size:11px}

/* One prominent control expands aligned cost rows for every property. */
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-cost-toggle{display:inline-flex;align-items:center;gap:6px;margin:6px 0 0;padding:5px 12px;border:1px solid #91b6d6;border-radius:6px;background:#e1edf9;color:#205b87;font-family:inherit;font-size:13px;line-height:1.5;font-weight:650;cursor:pointer;white-space:nowrap}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-cost-toggle:hover{background:#cfe2f5;border-color:#6799c3}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-cost-toggle:focus-visible{outline:2px solid #285b80;outline-offset:3px}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-cost-toggle>span{font-size:15px;line-height:1}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-cost-row[hidden]{display:none}

:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-cost-input{width:105px;max-width:100%;box-sizing:border-box;border:1px solid #b8c9bc;border-radius:6px;padding:5px 7px;background:#fff;color:#263e31;font:inherit;text-align:left}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-cost-input:focus-visible{outline:2px solid #286958;outline-offset:1px}

/* Match metric labels to the ordinary comparison cell typography. */
.buyer-main[data-page="compare"]{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
:is(#buyer-comparison-result,#buyer-comparison-context) .buyer-table tbody th[scope="row"]{color:#000;font-family:inherit;font-size:14px;font-weight:500;line-height:1.6}

/* Keep key and ordinary figures at the same readable scale. */
:is(#buyer-comparison-result,#buyer-comparison-context) .buyer-table td{font-size:14px;font-weight:500;line-height:1.6}
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-value-badge{font-size:14px;font-weight:650;padding:3px 8px}
:is(#buyer-comparison-result,#buyer-comparison-context) .buyer-table td.comparison-missing{font-size:14px}

/* Context panels use the same full-width table shell as purchase and finance. */
.buyer-comparison-context-panel{min-width:0}
.buyer-comparison-chart-slot{margin-top:18px;min-width:0}
.buyer-comparison-chart-slot[hidden]{display:none}
#buyer-comparison-context .buyer-context-rank{font-size:14px;font-weight:650;padding:3px 8px}
#buyer-comparison-context .buyer-context-table td>strong:not(.buyer-context-rank){font-weight:500}

:is(#buyer-comparison-result,#buyer-comparison-context) .buyer-table tr>*+*{border-left:1px solid #d3dde5}

/* Keep accessible column labels without repeating the same visible address band. */
#buyer-comparison-context .buyer-context-table .buyer-context-repeat-header th{height:0;padding-top:0;padding-bottom:0;border-top:0;border-bottom:0;line-height:0}
#buyer-comparison-context .buyer-context-table .buyer-context-repeat-header th>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}

:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-cost-toggle-below{display:flex;width:fit-content;margin-top:6px}

/* Viewport-positioned hints remain readable inside horizontally scrolling tables. */
.comparison-field-help .buyer-help-button{border-color:#a6c8e4;background:#edf3f8;color:#285b80}
.comparison-field-help .buyer-help-tooltip{position:fixed;top:auto;right:auto;left:16px;width:320px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);overflow:auto;z-index:150;text-align:left}
.summary-field-help .buyer-help-button{width:22px;height:22px;color:var(--section-ink,var(--buyer-ink));border-color:currentColor;cursor:pointer}
.summary-field-help .buyer-help-button:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.summary-field-help[data-open] .buyer-help-tooltip{visibility:visible;opacity:1;pointer-events:auto}
.buyer-summary-card:has(.summary-field-help) .buyer-summary-metrics{margin-bottom:20px}

:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-field-help:not([data-positioned]) .buyer-help-tooltip{visibility:hidden;opacity:0}

.buyer-school-measure-subtitle{display:block;margin-top:3px;font-size:12px;font-weight:500;line-height:1.5;color:#526b82}

/* Yellow marks expanded detail content, rather than differences in summary values. */
:is(#buyer-comparison-result,#buyer-comparison-context) .buyer-table tr.difference:not(.comparison-cost-row)>td{background:#fff}
#buyer-comparison-result .buyer-table .comparison-cost-row>th,
#buyer-comparison-result .buyer-table .comparison-cost-row>td,
#buyer-comparison-context .buyer-table tbody[data-context-details]>tr>th,
#buyer-comparison-context .buyer-table tbody[data-context-details]>tr>td{background:#fbf8ee}

/* Comparison values use the same plain typography as ordinary data cells. */
:is(#buyer-comparison-result,#buyer-comparison-context) .comparison-emphasis td{color:inherit;font-weight:500}
:is(#buyer-comparison-result,#buyer-comparison-context) :is(.comparison-value-badge,.buyer-context-rank){display:inline;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;font:inherit;color:inherit}
:is(#buyer-comparison-result,#buyer-comparison-context) .buyer-table td.buyer-negative{color:#a04439}

.buyer-comparison-chart-slot{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:14px}
.buyer-comparison-chart-slot .buyer-comparison-chart{min-width:0;margin:0;padding:16px;border:1px solid #d6e0e9;border-radius:8px;background:#fff}
.buyer-comparison-chart figcaption{margin-bottom:14px;font-size:13px;font-weight:600;color:#294e74}
.buyer-comparison-chart .buyer-comparison-bar>strong{font-weight:400}
.buyer-comparison-chart .buyer-comparison-track{background:linear-gradient(to right,transparent 49.8%,#c5d2dd 50%,transparent 50.2%),#edf2f6}
@media(max-width:900px){.buyer-comparison-chart-slot{grid-template-columns:1fr}}

/* One wide distribution chart per Suburb panel, matching Suburb Explore. */
.buyer-comparison-chart-slot{display:block}
.comparison-distribution{margin:0;padding:18px;background:#fff;border:1px solid #d6e0e9;border-radius:8px;min-width:0}
.comparison-distribution figcaption{font-size:16px;font-weight:600;color:#294e74;margin-bottom:14px}
.comparison-distribution-scroll{overflow-x:auto;max-width:100%}
.comparison-distribution-grid{min-width:760px}
.comparison-distribution-head,.comparison-distribution-row{display:grid;grid-template-columns:140px repeat(var(--series-count),minmax(65px,1fr)) minmax(180px,2fr);gap:12px;align-items:center;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.comparison-distribution-head{padding:0 0 12px;border-bottom:1px solid #dbe4ed;color:#607185}
.comparison-distribution-row{padding:10px 0;border-bottom:1px solid #edf1f5}
.comparison-distribution-row[hidden]{display:none}
.comparison-distribution-row:hover{background:#f6f9fc}
.comparison-distribution-legend,.comparison-distribution-value{text-align:center;font-variant-numeric:tabular-nums}
.comparison-distribution-legend{border-top:4px solid var(--distribution-color);padding-top:6px;color:var(--distribution-color)}
.comparison-distribution .context-color-0{--distribution-color:#1c62b4}.comparison-distribution .context-color-1{--distribution-color:#a87826}.comparison-distribution .context-color-2{--distribution-color:#b55e42}.comparison-distribution .context-color-3{--distribution-color:#85658e}.comparison-distribution .context-color-4{--distribution-color:#348477}.comparison-distribution .context-color-state{--distribution-color:#087a72}.comparison-distribution .context-color-national{--distribution-color:#7954a4}
.comparison-distribution-track{display:grid;gap:3px;background:linear-gradient(to right,transparent 49.7%,#d6e0e9 50%,transparent 50.3%),#f2f5f8}
.comparison-distribution-track>span{display:block;height:6px}
.comparison-distribution-track i{display:block;height:6px;background:var(--distribution-color);border-radius:2px}
@media(max-width:600px){.comparison-distribution{padding:12px}.comparison-distribution figcaption{font-size:15px}}

/* Portrait phones keep the whole chart in view: categories and bars use full rows. */
@media(max-width:760px){
 .comparison-distribution-grid{min-width:0;width:100%}
 .comparison-distribution-head,.comparison-distribution-row{grid-template-columns:repeat(var(--series-count),minmax(0,1fr));gap:8px 6px;font-size:12px}
 .comparison-distribution-head>span:first-child,.comparison-distribution-head>span:last-child,.comparison-distribution-row>[role="rowheader"],.comparison-distribution-track{grid-column:1/-1}
 .comparison-distribution-head>span:first-child{display:none}
 .comparison-distribution-head>span:last-child{text-align:right;font-size:11px}
 .comparison-distribution-legend{font-size:11px;line-height:1.4;align-self:stretch}
 .comparison-distribution-row>[role="rowheader"]{font-size:13px;font-weight:500}
 .comparison-distribution-value{color:var(--distribution-color);min-width:0}
 .comparison-distribution-track{margin-bottom:4px;gap:4px}
}

.buyer-comparison-controls>.buyer-panel-head{flex-wrap:wrap}
.buyer-comparison-controls>.buyer-panel-head>.buyer-actions{min-width:0}
