:root{--bg: #f5f5f7;--panel: #ffffff;--hairline: rgba(0, 0, 0, .055);--fill: rgba(120, 120, 128, .09);--fill-hover: rgba(120, 120, 128, .16);--text: #1d1d1f;--muted: #86868b;--accent: #0071e3;--accent-dark: #0060c9;--green: #248a3d;--amber: #c76b00;--red: #d70015;--r-sheet: 20px;--r-panel: 16px;--r-card: 12px;--r-ctl: 10px;--shadow-1: 0 1px 2px rgba(0, 0, 0, .03), 0 4px 16px rgba(0, 0, 0, .045);--shadow-2: 0 2px 6px rgba(0, 0, 0, .05), 0 12px 32px rgba(0, 0, 0, .09);--shadow-sheet: 0 24px 80px rgba(0, 0, 0, .22), 0 0 0 .5px rgba(0, 0, 0, .04);--spring: cubic-bezier(.34, 1.45, .64, 1);--ease-sheet: cubic-bezier(.32, .72, 0, 1)}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--text);font-size:14px;-webkit-font-smoothing:antialiased}.panel,.sheet,button,input,select,textarea{corner-shape:squircle}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}.app{max-width:960px;margin:0 auto;padding:14px 16px}.topbar{position:sticky;top:10px;z-index:8;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding:12px 20px;background:#ffffffb8;backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-radius:var(--r-panel);box-shadow:var(--shadow-1)}.brand-name{font-size:17px;font-weight:700;letter-spacing:-.02em;color:inherit;text-decoration:none}.panel{background:var(--panel);border-radius:var(--r-panel);padding:14px 18px;margin-bottom:12px;box-shadow:var(--shadow-1)}.row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}input,select,textarea{font:inherit;padding:8px 12px;border:1px solid transparent;border-radius:var(--r-ctl);background:var(--fill);color:var(--text);transition:background .15s ease,box-shadow .15s ease,border-color .15s ease}input:focus,select:focus,textarea:focus{outline:none;background:var(--panel);border-color:var(--accent);box-shadow:0 0 0 3.5px #0071e32e}textarea{resize:vertical}input[type=checkbox]{accent-color:var(--accent)}button{font:inherit;font-weight:500;padding:8px 14px;border:none;border-radius:var(--r-ctl);background:var(--fill);color:var(--text);cursor:pointer;transition:background .15s ease,transform .15s var(--spring),opacity .15s ease}button:hover:not(:disabled){background:var(--fill-hover)}button:active:not(:disabled){transform:scale(.97)}button:focus-visible{outline:none;box-shadow:0 0 0 3.5px #0071e340}button:disabled{opacity:.45;cursor:not-allowed}button.primary{background:var(--accent);color:#fff;font-weight:600}button.primary:hover:not(:disabled){background:var(--accent-dark)}button.link{background:none;padding:4px;color:var(--accent);font-size:12.5px;font-weight:500;align-self:center}button.link:hover:not(:disabled){background:none;text-decoration:underline}.mono{font-variant-numeric:tabular-nums;font-family:ui-monospace,SF Mono,monospace}.muted{color:var(--muted)}.small{font-size:12px}.error{background:#d7001512;color:var(--red);border-radius:var(--r-card);padding:10px 14px;margin-bottom:12px;font-size:13px}.success{background:#248a3d14;color:var(--green);border-radius:var(--r-card);padding:10px 14px;font-size:13px}.login-wrap{min-height:100vh;display:flex;align-items:center;justify-content:center}.login-card{width:340px;display:flex;flex-direction:column;gap:12px;padding:28px;box-shadow:var(--shadow-2)}.login-field{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--muted);font-weight:500}.login-field input{width:100%}.user-box{display:flex;align-items:center;gap:10px}.user-info{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.user-name{font-weight:600;font-size:13px}.sheet-backdrop{position:fixed;inset:0;background:#14161a38;backdrop-filter:blur(7px) saturate(1.1);-webkit-backdrop-filter:blur(7px) saturate(1.1);display:flex;justify-content:flex-end;z-index:10;animation:fade-in .25s ease}.sheet-backdrop.bottom{justify-content:center;align-items:flex-end}.sheet-backdrop.center{justify-content:center;align-items:center}@keyframes fade-in{0%{opacity:0}}.sheet{background:var(--panel);margin:10px;border-radius:var(--r-sheet);box-shadow:var(--shadow-sheet);padding:22px 24px;display:flex;flex-direction:column;gap:12px;max-height:calc(100vh - 20px);overflow-y:auto;animation:sheet-in-right .45s var(--ease-sheet)}.sheet.narrow{width:380px;max-width:calc(100vw - 20px)}@keyframes sheet-in-right{0%{transform:translate(calc(100% + 24px))}}@keyframes sheet-in-up{0%{transform:translateY(calc(100% + 24px))}}@keyframes sheet-pop{0%{opacity:0;transform:scale(.95)}}.sheet-backdrop.bottom .sheet{animation:sheet-in-up .45s var(--ease-sheet)}.sheet-backdrop.center .sheet{animation:sheet-pop .3s var(--spring)}.dialog-title{font-size:19px;font-weight:700;letter-spacing:-.02em}.toast-host{position:fixed;bottom:22px;left:0;right:0;display:flex;justify-content:center;z-index:40;pointer-events:none}.toast{display:flex;align-items:center;gap:8px;padding:10px 18px;border-radius:22px;background:#1c1e22db;color:#fff;font-size:13px;font-weight:500;backdrop-filter:blur(16px) saturate(1.4);-webkit-backdrop-filter:blur(16px) saturate(1.4);box-shadow:0 8px 30px #00000040;animation:toast-in .4s var(--spring)}.toast.hiding{animation:toast-out .3s ease forwards}.toast-check{color:#4ade80;font-weight:700}.toast.error{background:#780a14db}.toast-cross{color:#ff8a8a;font-weight:700}@keyframes toast-in{0%{opacity:0;transform:translateY(16px) scale(.9)}}@keyframes toast-out{to{opacity:0;transform:translateY(10px) scale(.95)}}.verdict-badge{display:inline-flex;align-items:center;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;letter-spacing:.02em;color:#fff}.verdict-badge.large{font-size:15px;padding:7px 16px}.verdict-pass{background:var(--green)}.verdict-needs-inspection{background:var(--amber)}.verdict-fail{background:var(--red)}.property-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.property-card{display:block;background:var(--panel);border-radius:var(--r-card);box-shadow:var(--shadow-1);overflow:hidden;color:inherit;text-decoration:none;transition:transform .15s var(--spring),box-shadow .15s ease}.property-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-2)}.property-card-photo{position:relative;aspect-ratio:4 / 3;background:var(--fill)}.property-card-photo img{width:100%;height:100%;object-fit:cover;display:block}.property-card-photo-placeholder{width:100%;height:100%;background:var(--fill)}.property-card-photo .verdict-badge{position:absolute;top:8px;right:8px}.property-card-source-badge{position:absolute;left:8px;bottom:8px;padding:3px 9px;border-radius:999px;border:none;background:#141416a6;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;cursor:pointer;line-height:1.4}.property-card-source-badge:hover{background:#141416d9}.property-card-removed-overlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;background:#14141699;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);text-align:center;padding:12px}.property-card-removed-label{display:inline-flex;padding:4px 10px;border-radius:999px;background:var(--red);color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em}.property-card-removed-overlay button.danger{background:#fff;color:var(--red)}.property-card-removed-overlay button.danger:hover{background:#ffffffd9}.property-card-body{padding:12px 14px;display:flex;flex-direction:column;gap:4px}.property-card-price{font-size:15px;font-weight:700}.property-card-score{font-size:13px}.photo-thumb-row{display:flex;gap:8px;flex-wrap:wrap}.photo-thumb{width:84px;height:84px;border-radius:var(--r-card);object-fit:cover;flex:none}.property-detail-header{display:flex;align-items:center;gap:16px}.property-detail-summary{flex:1}.property-detail-price{font-size:20px;font-weight:700}.property-detail-total{font-size:24px;font-weight:700;margin-left:auto}.property-gallery{display:flex;gap:10px;overflow-x:auto;padding-bottom:4px}.property-gallery img{height:200px;border-radius:var(--r-card);object-fit:cover;flex:none}.radar-chart{display:block;width:100%;max-width:280px;margin:0 auto}.radar-grid{fill:none;stroke:var(--hairline);stroke-width:1}.radar-axis{stroke:var(--hairline);stroke-width:1}.radar-data{fill:#0071e32e;stroke:var(--accent);stroke-width:2}.radar-dot{fill:var(--accent)}.radar-label{fill:var(--muted);font-size:10px}.red-flags-panel{background:#d700150d}.red-flags-panel ul{margin:0;padding-left:20px;color:var(--red)}.red-flags-panel li{margin-bottom:4px}.fact-group{margin-bottom:16px}.fact-group:last-child{margin-bottom:0}.fact-group-title{font-weight:600;font-size:13px;margin-bottom:6px}.fact-table{width:100%;border-collapse:collapse;font-size:13px}.fact-table td{padding:6px 0;border-bottom:1px solid var(--hairline)}.fact-table td:last-child{text-align:right}.fact-yes{color:var(--green);font-weight:600}.fact-no{color:var(--red);font-weight:600}.topbar-nav{display:flex;gap:4px}.topbar-nav-link{padding:6px 12px;border-radius:var(--r-ctl);color:var(--muted);font-weight:500;font-size:13px;text-decoration:none;transition:background .15s ease,color .15s ease}.topbar-nav-link:hover,.topbar-nav-link.active{background:var(--fill);color:var(--text)}.site-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.site-card{display:block;background:var(--panel);border-radius:var(--r-card);box-shadow:var(--shadow-1);padding:16px 18px;color:inherit;text-decoration:none;transition:transform .15s var(--spring),box-shadow .15s ease}.site-card:hover{transform:translateY(-2px);box-shadow:var(--shadow-2)}.site-card-name{font-size:16px;font-weight:700;margin-bottom:4px}.search-prompt{width:100%;resize:vertical}.filter-tag-row{display:flex;flex-wrap:wrap;gap:6px}.filter-tag{display:inline-flex;padding:3px 9px;border-radius:999px;background:var(--fill);color:var(--muted);font-size:11px;font-weight:500}.example-tag{border:0;cursor:pointer;text-align:left}.example-tag:hover{color:var(--text)}.example-tag.active{background:var(--accent);color:#fff}.example-tag.active:hover{color:#fff}.chip-group{margin-top:10px;display:flex;flex-direction:column;gap:4px}.interpret-block{margin-top:14px;display:flex;flex-direction:column;gap:6px}.interpret-list{margin:0;padding-left:18px;display:flex;flex-direction:column;gap:3px;font-size:13px}.interpret-list.muted{color:var(--muted)}.question-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px;margin-top:8px}.question-card{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:12px;text-align:left;background:var(--fill);border-radius:var(--r-card);transition:opacity .15s ease}.question-card-answered{opacity:.5}.question-category{align-self:flex-start;background:var(--panel)}.question-text{font-size:13px;font-weight:500;color:var(--text)}.question-input{width:100%;resize:vertical;background:var(--panel);font-size:13px}.question-submit{align-self:flex-end;padding:5px 12px;font-size:12px}.question-answer{font-style:italic}.search-thread{display:flex;flex-direction:column;gap:8px}.thread-line{display:flex;flex-direction:column;gap:2px;font-size:13px}.thread-line.thread-assistant{color:var(--muted)}.batch-item-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}.batch-item-card{display:block;background:var(--panel);border-radius:var(--r-card);box-shadow:var(--shadow-1);overflow:hidden;color:inherit;text-decoration:none}.batch-item-photo{position:relative;aspect-ratio:4 / 3;background:var(--fill)}.batch-item-photo img{width:100%;height:100%;object-fit:cover;display:block}.batch-item-photo-placeholder{width:100%;height:100%;background:var(--fill)}.batch-item-body{padding:12px 14px;display:flex;flex-direction:column;gap:6px}.batch-item-error{color:var(--red)}.batch-item-geo{color:var(--amber)}.batch-rank-badge{position:absolute;top:8px;right:8px;min-width:34px;padding:4px 8px;border-radius:999px;text-align:center;font-size:13px;font-weight:700;color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.rank-high{background:#248a3deb}.rank-mid{background:#c76b00eb}.rank-low{background:#86868beb}.rank-unknown{background:#86868bb3}.batch-rank-parts{display:flex;flex-wrap:wrap;gap:10px;color:var(--muted)}.batch-rank-reason{color:var(--text)}.batch-rank-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.batch-rank-plus{color:var(--green)}.batch-rank-minus{color:var(--amber)}.batch-item-facts{display:flex;flex-wrap:wrap;gap:5px}.batch-item-actions{display:flex;gap:8px;align-items:center;margin-top:2px}.batch-item-actions button{flex:1;font-size:12.5px;padding:7px 10px}.button-link{display:inline-flex;align-items:center;padding:7px 12px;border-radius:var(--r-ctl);background:var(--fill);color:var(--text);font-size:12.5px;font-weight:500;text-decoration:none;white-space:nowrap}.button-link:hover{background:var(--fill-hover)}.primary-link{flex:1;justify-content:center;background:var(--accent);color:#fff;font-weight:600}.primary-link:hover{background:var(--accent-dark)}.start-panel{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.wizard-backdrop{z-index:20}.sheet.wizard{width:560px;max-width:calc(100vw - 20px);gap:10px;padding:16px 22px 18px}.wizard-head{display:flex;align-items:center;justify-content:space-between}.wizard-dots{display:flex;gap:6px}.wizard-dot{width:7px;height:7px;border-radius:50%;background:var(--fill-hover);transition:background .25s ease,transform .25s var(--spring),width .25s var(--ease-sheet)}.wizard-dot.done{background:#0071e366}.wizard-dot.active{background:var(--accent);width:20px;border-radius:4px}.wizard-close,.map-sheet-close{background:transparent;color:var(--muted);padding:4px 8px;font-size:15px;line-height:1}.wizard-titles{margin-bottom:2px}.wizard-title{font-size:22px;font-weight:700;letter-spacing:-.022em}.wizard-body{display:flex;flex-direction:column;gap:12px;min-height:210px;max-height:min(58vh,520px);overflow-y:auto;animation:step-in .28s var(--ease-sheet)}@keyframes step-in{0%{opacity:0;transform:translate(14px)}}.wizard-foot{display:flex;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid var(--hairline)}.wizard-hero{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:18px;border-radius:var(--r-card);background:var(--fill)}.wizard-hero-value{font-size:17px;font-weight:600;letter-spacing:-.015em}.wizard-hero button{align-self:flex-start}.impact-list{display:flex;flex-direction:column;gap:6px;margin-top:12px}.impact-row{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:var(--r-card);background:var(--fill)}.impact-row.suggested{background:#0071e317}.impact-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}.impact-label{font-size:13px;font-weight:500}.impact-gain{font-size:13px;font-weight:600;color:var(--green);white-space:nowrap}.impact-gain.muted{color:var(--muted);font-weight:500}.impact-remove{flex:none;padding:0;width:24px;height:24px;border-radius:999px;background:var(--panel);color:var(--muted);font-size:12px;line-height:1}.impact-remove:hover:not(:disabled){background:#d700151a;color:var(--red)}.filter-tag.danger-tag,button.danger{background:#d700151a;color:var(--red)}button.danger:hover:not(:disabled){background:#d700152e}.map-sheet{position:fixed;inset:0;z-index:30;display:flex;flex-direction:column;background:var(--bg);animation:fade-in .2s ease}.map-sheet-bar{display:flex;align-items:center;gap:16px;padding:10px 16px;background:#fffc;backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);box-shadow:var(--shadow-1);z-index:2}.map-sheet-titles{flex:1;min-width:0}.map-sheet-title{font-size:16px;font-weight:700;letter-spacing:-.02em}.map-sheet-tools{display:flex;gap:8px;flex-wrap:wrap}.map-sheet-body{flex:1;min-height:0;display:flex}.map-sheet-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;padding:10px 16px;background:var(--panel);box-shadow:0 -1px 2px #0000000a}.map-with-panel{display:flex;flex:1;min-height:0;width:100%}.map-side-panel{width:300px;flex-shrink:0;padding:14px;display:flex;flex-direction:column;gap:14px;background:var(--panel);overflow-y:auto;box-shadow:-1px 0 2px #0000000a}.zone-editor{display:flex;flex-direction:column;gap:10px}.zone-list{display:flex;flex-direction:column;gap:4px}.zone-list-item{display:flex;justify-content:space-between;align-items:center;gap:10px;text-align:left;background:transparent;padding:7px 10px}.zone-list-item.active{background:var(--fill-hover)}.zone-list-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.map-canvas{position:relative;flex:1;min-height:260px;min-width:0}.map-surface{position:absolute;inset:0}.map-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:var(--muted);background:var(--fill)}.map-placeholder{flex:1;margin:16px;padding:20px 22px;border-radius:var(--r-panel);background:var(--panel);box-shadow:var(--shadow-1);align-self:flex-start;max-width:620px}.map-placeholder-title{font-size:15px;font-weight:600;margin-bottom:10px}.map-placeholder-steps{margin:0 0 12px;padding-left:20px;line-height:1.75}.map-placeholder-steps code{background:var(--fill);border-radius:5px;padding:1px 5px;font-size:12.5px}@media(max-width:720px){.map-with-panel{flex-direction:column}.map-side-panel{width:100%;max-height:42vh}.sheet.wizard{width:auto}}.map-type-switch{position:absolute;top:10px;right:10px;z-index:1;display:flex;gap:2px;padding:3px;border-radius:var(--r-ctl);background:#ffffffd1;backdrop-filter:saturate(180%) blur(16px);-webkit-backdrop-filter:saturate(180%) blur(16px);box-shadow:var(--shadow-1)}.map-type-switch button{background:transparent;padding:5px 11px;font-size:12.5px;border-radius:7px}.map-type-switch button.active{background:var(--accent);color:#fff;font-weight:600}.map-type-switch button.active:hover:not(:disabled){background:var(--accent-dark)}
