.research-tools{padding:22px 24px;background:#fff;border:1px solid #dce5e2;border-radius:18px;margin:0 0 20px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px}.research-tools-title p{font-size:16px;margin:8px 0 0;color:#173b3c}.research-tool-buttons{display:flex;flex-wrap:wrap;gap:8px}.research-tool-buttons button{font-size:14px;padding:12px 14px;border-radius:10px}.research-tool-buttons #open-saved{background:#173b3c;color:white;border:0}#saved-count{display:inline-block;margin-left:8px;background:#c4e866;color:#173b3c;border-radius:6px;padding:1px 7px;font-weight:700}.workspace-feedback{width:100%;padding-top:12px;border-top:1px solid #e7ece8;font-size:13px;color:#56716b;display:flex;gap:12px;flex-wrap:wrap}.text-button{font-size:13px;background:transparent;color:#173b3c;border:0;padding:0;text-decoration:underline}.text-button[hidden]{display:none}.research-actions{display:flex;gap:8px;padding-top:14px}.research-actions button{flex:1;font-size:14px;padding:10px 8px;border:1px solid #d9e5df;color:#31594c;background:#f5f9f4;border-radius:9px}.research-actions button[aria-pressed=true]{background:#edf6d8;border-color:#b3d256;color:#173b3c}.score-filter #saved-filter{font-size:14px;margin-left:auto;padding:9px 12px}.score-filter #saved-filter[aria-pressed=true]{background:#173b3c;color:#fff}
.compare-dock{position:fixed;bottom:18px;left:254px;right:28px;z-index:850;background:#173b3c;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px;border-radius:16px;box-shadow:0 8px 30px #173b3c44}.compare-dock[hidden]{display:none}.compare-dock>span{font-size:16px;font-weight:600}.compare-dock>div{display:flex;gap:8px}.compare-dock button{font-size:14px;padding:10px 15px;border-radius:9px;border:0;background:#c4e866;color:#173b3c}.compare-dock .secondary{background:#fff;color:#173b3c}
.research-dialog{width:min(960px,94vw);max-width:960px;padding:30px;border:0;border-radius:22px;color:#173b3c;max-height:90vh;overflow-y:auto}.research-dialog::backdrop{background:#0d293bb3;backdrop-filter:blur(5px)}.dialog-heading{padding:5px 28px 24px 0}.dialog-heading h2{font-size:30px;letter-spacing:-.8px;margin:8px 0 10px;line-height:1.2}.dialog-heading p{font-size:16px;line-height:1.5;color:#56716b;margin:0}.research-dialog button,.property-research button{font-size:14px;border-radius:10px;padding:11px 14px}.research-dialog>.close{font-size:26px;padding:0;width:36px;height:36px}.saved-item{display:grid;grid-template-columns:1fr auto;gap:22px;padding:22px 0;border-top:1px solid #e1e9e4}.saved-item h3{font-size:20px;margin:9px 0}.saved-item p{font-size:14px;line-height:1.5;color:#526c63;margin:7px 0}.saved-item>div:last-child{display:flex;flex-direction:column;gap:9px;align-items:stretch;min-width:165px}.saved-item strong{font-size:21px;align-self:flex-end}.saved-status{display:inline-block;font-size:13px;font-weight:600;padding:4px 9px;border-radius:6px;background:#edf6d8;color:#31533e}.saved-item small{font-size:12px;color:#698177}.saved-note{white-space:pre-wrap;overflow-wrap:anywhere}.saved-unavailable{color:#90652c!important}.research-empty{text-align:center;background:#f3f7f1;padding:32px;border-radius:16px}.research-empty h3{font-size:22px}.research-empty p{font-size:16px;line-height:1.6}
.property-research{background:#f0f6ec;border:1px solid #dce8ce;border-radius:16px;padding:20px;margin:0 0 24px}.property-research>div{display:flex;align-items:center;justify-content:space-between;gap:14px}.property-research strong{font-size:18px}.property-research form{display:grid;grid-template-columns:1fr 2fr;gap:15px;margin-top:18px}.property-research label,.budget-form label{font-size:14px;color:#31594c;font-weight:600;display:flex;flex-direction:column;gap:7px}.property-research select,.property-research textarea{font-family:inherit;font-size:16px;padding:11px 12px;border:1px solid #cdddc4;border-radius:10px;background:#fff;color:#173b3c;width:100%}.property-research textarea{resize:vertical;min-height:88px}.property-research form>button{align-self:start;background:#173b3c;color:#fff;border:0}.property-research form>p{margin:0;font-size:14px;color:#31594c;align-self:center}.comparison-scroll{overflow:auto}.comparison-table{border-collapse:collapse;min-width:640px;width:100%;font-size:14px}.comparison-table th,.comparison-table td{padding:15px;text-align:left;vertical-align:top;border-bottom:1px solid #dce5df;line-height:1.5}.comparison-table thead th{background:#f0f6ec;min-width:190px}.comparison-table thead th:first-child{min-width:130px}.comparison-table h3{font-size:18px;margin:7px 0 12px;line-height:1.35}.comparison-table thead span{font-size:12px;font-weight:500;color:#678074}.comparison-table tbody th{font-weight:600;color:#56716b}.comparison-table tbody tr:first-child td{font-size:21px;font-weight:700;color:#173b3c;background:#f7faef}.research-explainer{font-size:14px!important;line-height:1.6;color:#56716b;margin:20px 0 0}
.budget-layout{display:grid;grid-template-columns:1.2fr 1fr;gap:24px}.budget-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.budget-form input{font-family:inherit;font-size:16px;background:#fff;border:1px solid #d4dfd8;color:#173b3c;padding:12px;border-radius:10px;width:100%}.budget-results{border-radius:18px;padding:24px;background:#173b3c;color:#fff;align-self:start}.budget-results>.eyebrow{color:#c4e866}.budget-results>strong{font-size:38px;letter-spacing:-1px;display:block;margin:8px 0 20px}.budget-results dl{font-size:14px;margin:20px 0}.budget-results dl>div{display:flex;justify-content:space-between;gap:10px;margin:12px 0}.budget-results dd{margin:0;font-weight:600}.budget-results dt{color:#c8d9d2}.budget-breakdown{height:14px;display:flex;border-radius:7px;overflow:hidden;background:#ffffff20}.budget-piece{height:100%;display:block}.piece-0{background:#c4e866}.piece-1{background:#6bc1ac}.piece-2{background:#e1e9c8}.piece-3{background:#8aaed9}.piece-4{background:#e9b16d}.budget-profit{border-top:1px solid #496361;padding-top:18px}.budget-profit>span{font-size:14px;color:#c8d9d2}.budget-profit>strong{display:block;font-size:31px;margin:7px 0;color:#c4e866}.budget-profit>strong.negative{color:#f2b197}.budget-profit p{font-size:13px;color:#c8d9d2;margin:0}
@media(max-width:1000px){.research-tools{align-items:flex-start}.compare-dock{left:18px;right:18px}}@media(max-width:600px){.research-tools{padding:20px 18px}.research-tool-buttons{width:100%;display:grid;grid-template-columns:1fr 1fr}.research-tool-buttons button{padding:12px 8px}.research-dialog{padding:22px 18px;border-radius:18px;max-height:92vh}.dialog-heading h2{font-size:25px}.saved-item{grid-template-columns:1fr;gap:14px}.saved-item>div:last-child{flex-direction:row;flex-wrap:wrap;align-items:center;min-width:0}.saved-item strong{font-size:18px;margin-right:auto;align-self:center}.saved-item>div:last-child button{flex:1}.budget-layout{grid-template-columns:1fr}.budget-form{gap:14px}.budget-results{padding:22px}.property-research>div{align-items:flex-start;flex-direction:column}.property-research form{grid-template-columns:1fr}.compare-dock{padding:12px;gap:8px}.compare-dock>span{font-size:14px}.compare-dock button{padding:10px;font-size:13px}.score-filter #saved-filter{margin-left:0;width:100%}}
.research-dialog>.close{position:sticky;top:0;right:0;float:right;z-index:2}
