.property-tabs-wrap{position:relative;margin:0 0 18px}.property-tabs-wrap:after{content:"";position:absolute;right:0;top:0;bottom:4px;width:24px;pointer-events:none;background:linear-gradient(90deg,transparent,var(--bg))}
.property-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 22px 8px 1px;scroll-behavior:smooth}
.property-tabs::-webkit-scrollbar,.room-tabs::-webkit-scrollbar{display:none}
.property-tabs button{flex:0 0 auto;min-height:44px;padding:10px 17px;border-radius:999px;border:1px solid var(--line);background:var(--card);font-weight:650;color:var(--muted)}
.property-tabs button.active{color:#fff;background:var(--green);border-color:var(--green)}
.overview-actions{display:flex;gap:10px;margin:0 0 20px}
.must-warning.big{font-size:1rem;line-height:1.5}
.light{color:#b9d9ca}
.observation-card{padding:14px;border:1px solid var(--line);border-radius:15px;background:#fff}
.observation-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.unknown-chip{font-size:.72rem;color:var(--muted);background:var(--cream);padding:4px 8px;border-radius:999px}
.segmented.semantic{display:flex;overflow-x:auto;gap:7px;scrollbar-width:none}
.segmented.semantic button{flex:1 0 auto;min-width:82px;min-height:45px;padding:8px 10px;border:1px solid var(--line);border-radius:11px;background:var(--cream);color:var(--ink);font-weight:650}
.segmented.semantic button.selected{background:var(--green);border-color:var(--green);color:#fff;box-shadow:0 0 0 2px rgba(44,105,87,.15)}
.segmented.semantic button.selected.poor{background:#9a5f27;border-color:#9a5f27}
.observation-note{margin:10px 0 0;color:var(--muted)}
.observation-detail{display:flex;gap:8px;margin-top:10px}
.observation-detail button{border:0;background:transparent;color:var(--green);font-weight:700;padding:7px 0;margin-right:14px}
.area-photos{margin-top:24px}
.photo-add{position:relative;overflow:hidden}.photo-add input{position:absolute;inset:0;opacity:0}
.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.photo-thumb{position:relative}.photo-thumb>button:first-child{display:block;border:0;padding:0;background:none;width:100%}
.photo-thumb img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
.photo-delete{position:absolute;right:5px;top:5px;width:28px;height:28px;border-radius:50%;border:0;background:rgba(20,40,34,.86);color:#fff;font-size:18px}
.photo-thumb small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.photo-modal{position:fixed;inset:0;z-index:100;background:rgba(12,28,23,.82);display:grid;place-items:center;padding:18px}
.photo-modal-card{width:min(560px,100%);max-height:92vh;overflow:auto;background:var(--card);border-radius:20px;padding:16px;display:grid;gap:14px}
.photo-modal-card img{width:100%;max-height:58vh;object-fit:contain;border-radius:14px;background:#111}
.photo-modal-card label{display:grid;gap:6px;font-weight:650}
.concern-cards{display:grid;gap:14px}.concern-scan{display:grid;gap:13px}
.concern-summary{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.concern-summary h3{margin:4px 0}.status-pill{flex:0 0 auto;padding:7px 10px;border-radius:999px;background:#e5ece8;color:var(--green);font-size:.75rem;font-weight:750}
.status-professional-advice-required{background:#fff0d5;color:#835400}.status-resolved{background:#e9eceb;color:#68766f}.status-cost-known{background:#dceee5}
.concern-cost{display:flex;gap:8px;align-items:baseline}.concern-cost small{display:block;color:var(--muted)}
.linked-photos{display:flex;gap:8px;overflow-x:auto}.linked-photos img{width:72px;height:58px;object-fit:cover;border-radius:9px}
.concern-edit{border-top:1px solid var(--line);padding-top:15px;display:grid;grid-template-columns:1fr 1fr;gap:12px}.concern-edit .full{grid-column:1/-1}
.cost-row.linked.excluded{opacity:.64}.cost-note{margin-top:14px}
.compare-head{align-items:flex-end}.export-actions{display:flex;flex-wrap:wrap;justify-content:flex-end}
.fit-bar-row{margin:13px 0}.fit-bar-label{display:flex;justify-content:space-between;gap:12px}.fit-track{height:8px;background:#e1e7e3;border-radius:9px;margin:6px 0}.fit-track i{display:block;height:100%;background:var(--green);border-radius:9px}.fit-track.unknown{background:repeating-linear-gradient(45deg,#e7e9e8,#e7e9e8 4px,#f5f5f2 4px,#f5f5f2 8px)}
.must-property+.must-property{margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.detailed-grid>div{background:var(--card)}.detailed-grid .sticky-property{position:sticky;top:0;z-index:3;background:#e8eee9}.detailed-grid .sticky-corner{position:sticky;left:0;top:0;z-index:4}.detailed-grid .sticky-label{position:sticky;left:0;z-index:2;background:var(--card)}
.report-frame{position:fixed;right:0;bottom:0;width:1px;height:1px;border:0;opacity:0;pointer-events:none}
@media(max-width:760px){
 .overview-actions .btn{flex:1}.room-tabs{scroll-behavior:auto}
 .segmented.semantic button{font-size:.76rem}.photo-grid{grid-template-columns:repeat(3,1fr)}
 .concern-edit{grid-template-columns:1fr}.concern-edit .full{grid-column:auto}
 .compare-head{align-items:stretch}.export-actions{display:grid;grid-template-columns:1fr 1fr;width:100%;justify-content:stretch}.export-actions .btn:last-child{grid-column:1/-1}
 .compact-category{padding:17px}.decision-sections{gap:10px}
}
