*,:before,:after{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#374151;background:#f9fafb;margin:0;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif}.app{max-width:1200px;margin:0 auto;padding:20px 24px}header{border-bottom:2px solid #e5e7eb;justify-content:space-between;align-items:center;margin-bottom:20px;padding-bottom:16px;display:flex}header h1{color:#1f2937;margin:0;font-size:22px}.last-updated{color:#9ca3af;font-size:13px}.filters{flex-wrap:wrap;align-items:end;gap:12px;margin-bottom:20px;display:flex}.filter-group{flex-direction:column;gap:4px;display:flex}.filter-group label{color:#6b7280;font-size:12px;font-weight:500}.filter-group select,.filter-group input{background:#fff;border:1px solid #d1d5db;border-radius:6px;padding:6px 10px;font-size:14px}.filter-group select:focus,.filter-group input:focus{border-color:#4f86c6;outline:none;box-shadow:0 0 0 2px #4f86c626}.count{color:#6b7280;align-self:end;margin-left:auto;padding-bottom:6px;font-size:14px}.property-grid{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));gap:16px;display:grid}.property-card{background:#fff;border:1px solid #e5e7eb;border-radius:10px;transition:box-shadow .15s;overflow:hidden}.property-card:hover{box-shadow:0 4px 12px #00000014}.card-header{border-bottom:1px solid #f3f4f6;padding:14px 16px 10px}.card-header-top{justify-content:space-between;align-items:start;gap:8px;display:flex}.card-name{color:#1f2937;margin:0;font-size:15px;font-weight:600;line-height:1.3}.card-name a{color:inherit;text-decoration:none}.card-name a:hover{color:#4f86c6}.status-badge{white-space:nowrap;border-radius:10px;flex-shrink:0;padding:2px 8px;font-size:11px;font-weight:600}.status-new{color:#1d4ed8;background:#dbeafe}.status-interested{color:#92400e;background:#fef3c7}.status-viewing{color:#065f46;background:#d1fae5}.status-candidate{color:#5b21b6;background:#ede9fe}.status-rejected{color:#6b7280;background:#f3f4f6}.card-location{color:#6b7280;margin-top:4px;font-size:13px}.card-body{padding:12px 16px}.card-price{color:#1f2937;margin:0 0 10px;font-size:22px;font-weight:700}.card-price .unit{color:#6b7280;font-size:14px;font-weight:400}.card-specs{grid-template-columns:1fr 1fr;gap:6px 16px;margin-bottom:10px;font-size:13px;display:grid}.spec-label{color:#9ca3af}.spec-value{color:#374151;font-weight:500}.card-costs{color:#6b7280;border-top:1px solid #f3f4f6;gap:12px;padding-top:8px;font-size:12px;display:flex}.card-footer{background:#f9fafb;border-top:1px solid #f3f4f6;padding:10px 16px}.card-notes{color:#6b7280;margin:0;font-size:13px;line-height:1.4}.card-pros-cons{gap:16px;margin-top:6px;font-size:12px;display:flex}.pros,.cons{flex:1}.pros span{color:#059669}.cons span{color:#dc2626}.card-meta{color:#9ca3af;justify-content:space-between;margin-top:8px;font-size:11px;display:flex}.empty-state{text-align:center;color:#9ca3af;padding:60px 20px}.empty-state h2{color:#6b7280;margin:0 0 8px;font-size:18px}.empty-state p{margin:0;font-size:14px}.card-images{background:#f9fafb;border-bottom:1px solid #f3f4f6;gap:4px;padding:8px;display:flex;overflow-x:auto}.card-image-thumb{cursor:pointer;background:#fff;border:1px solid #e5e7eb;border-radius:6px;flex:none;width:96px;height:96px;padding:0;transition:transform .15s,box-shadow .15s;position:relative;overflow:hidden}.card-image-thumb:hover{transform:translateY(-1px);box-shadow:0 2px 6px #0000001f}.card-image-thumb img{object-fit:cover;width:100%;height:100%;display:block}.thumb-type{color:#fff;text-align:center;background:#0000008c;padding:2px 4px;font-size:10px;line-height:1.2;position:absolute;bottom:0;left:0;right:0}.lightbox-backdrop{z-index:100;background:#000000d9;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.lightbox-figure{flex-direction:column;align-items:center;max-width:min(1200px,95vw);max-height:90vh;margin:0;display:flex}.lightbox-figure img{object-fit:contain;background:#fff;border-radius:6px;max-width:100%;max-height:calc(90vh - 60px)}.lightbox-figure figcaption{color:#e5e7eb;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;margin-top:10px;font-size:13px;display:flex}.lightbox-type{color:#fff;background:#4f86c6;border-radius:10px;padding:2px 10px;font-size:12px;font-weight:600}.lightbox-caption{color:#f3f4f6}.lightbox-counter{color:#9ca3af;font-size:12px}.lightbox-close{color:#fff;cursor:pointer;background:0 0;border:none;border-radius:6px;padding:4px 12px;font-size:32px;line-height:1;position:absolute;top:12px;right:16px}.lightbox-close:hover{background:#ffffff1a}.lightbox-nav{color:#fff;cursor:pointer;background:#0000004d;border:none;border-radius:50%;justify-content:center;align-items:center;width:56px;height:56px;font-size:48px;line-height:1;display:flex;position:absolute;top:50%;transform:translateY(-50%)}.lightbox-nav:hover{background:#ffffff26}.lightbox-prev{left:16px}.lightbox-next{right:16px}.card-header-badges{flex-shrink:0;align-items:center;gap:6px;display:flex}.assessment-badge{color:#9a3412;cursor:pointer;background:#fff7ed;border:1px solid #fdba74;border-radius:10px;padding:2px 8px;font-size:12px;font-weight:600;line-height:1;transition:background .15s}.assessment-badge:hover{background:#ffedd5}.assessment-stars{color:#f59e0b;letter-spacing:1px}.stars-empty{color:#d1d5db}.card-assessment{border-top:1px solid #f3f4f6;flex-direction:column;gap:6px;margin-top:10px;padding-top:10px;display:flex}.assessment-row{flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;display:flex}.risk-dots{gap:3px;display:inline-flex}.risk-dot{color:#fff;cursor:help;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:10px;font-weight:700;display:inline-flex}.risk-dot.risk-low{background:#10b981}.risk-dot.risk-medium{background:#f59e0b}.risk-dot.risk-high{background:#ef4444}.overall-risk{border-radius:8px;padding:1px 8px;font-size:11px;font-weight:600}.overall-LOW{color:#065f46;background:#d1fae5}.overall-MEDIUM{color:#92400e;background:#fef3c7}.overall-HIGH{color:#991b1b;background:#fee2e2}.overall-CRITICAL{color:#fca5a5;background:#1f2937}.fit-score{color:#6b7280;font-size:11px}.assessment-summary{color:#374151;font-size:13px;line-height:1.4}.assessment-monthly{color:#4b5563;font-size:12px}.monthly-range{color:#9ca3af;margin-left:4px}.report-link{color:#1d4ed8;cursor:pointer;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;padding:2px 8px;font-size:11px;font-weight:500}.report-link:hover{background:#dbeafe}.report-modal-backdrop{z-index:100;background:#000000b3;justify-content:center;align-items:center;padding:24px;display:flex;position:fixed;inset:0}.report-modal{background:#fff;border-radius:10px;flex-direction:column;width:100%;max-width:900px;max-height:90vh;display:flex;overflow:hidden}.report-modal-header{background:#f9fafb;border-bottom:1px solid #e5e7eb;padding:16px 24px}.report-modal-header h2{color:#1f2937;margin:0;font-size:18px}.report-source{color:#9ca3af;cursor:default;font-size:11px;text-decoration:none}.report-modal-content{color:#374151;padding:16px 24px 24px;font-size:14px;line-height:1.6;overflow-y:auto}.report-modal-content h1,.report-modal-content h2,.report-modal-content h3,.report-modal-content h4{color:#1f2937;margin-top:1.4em;margin-bottom:.5em}.report-modal-content h1{font-size:22px}.report-modal-content h2{font-size:18px}.report-modal-content h3{font-size:16px}.report-modal-content h4{font-size:14px}.report-modal-content table{border-collapse:collapse;width:100%;margin:12px 0;font-size:13px}.report-modal-content th,.report-modal-content td{text-align:left;border:1px solid #e5e7eb;padding:6px 10px}.report-modal-content th{background:#f9fafb;font-weight:600}.report-modal-content blockquote{color:#4b5563;background:#f9fafb;border-left:3px solid #4f86c6;margin:12px 0;padding:8px 16px}.report-modal-content code{background:#f3f4f6;border-radius:3px;padding:1px 5px;font-size:13px}.report-modal-content ul,.report-modal-content ol{padding-left:1.5em}.report-missing{color:#dc2626;font-style:italic}@media (width<=640px){.property-grid{grid-template-columns:1fr}.filters{flex-direction:column}.count{margin-left:0}.lightbox-nav{width:40px;height:40px;font-size:32px}.lightbox-prev{left:8px}.lightbox-next{right:8px}}
