.mls-parcel-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}.mls-parcel-facts span{display:block;color:var(--muted,#9cacb8);font-size:11px}.mls-parcel-facts strong{display:block;font-size:14px}.mls-parcel-actions{display:flex;align-items:center;gap:12px;margin-top:12px}.mls-photo-dialog{width:min(850px,92vw);max-height:85vh;overflow:auto;background:#14212b;color:#e0e8ed;border:1px solid #476171;border-radius:12px;padding:20px}.mls-photo-dialog::backdrop{background:#0009}.mls-photo-dialog header{display:flex;justify-content:space-between;gap:12px}.mls-photo-dialog h2{margin:0}.mls-photo-dialog footer{position:sticky;bottom:-20px;background:#14212b;padding:12px 0;display:flex;align-items:center;justify-content:space-between;gap:16px}.mls-photo-dialog footer span{font-size:12px}.mls-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mls-photo-choice{position:relative;display:block;border:1px solid #476171;border-radius:6px;overflow:hidden;cursor:pointer}.mls-photo-choice input{position:absolute;top:8px;left:8px;width:20px;height:20px}.mls-photo-choice img{width:100%;height:140px;object-fit:cover;display:block}.mls-photo-choice span{display:block;padding:6px;font-size:12px}.mls-photo-choice:has(input:checked){outline:2px solid #77dbbd}.mls-photo-choice.imported{opacity:.55}.mls-photo-choice.imported:after{content:'Saved';position:absolute;top:8px;right:8px;background:#14212b;padding:3px 6px}@media(max-width:600px){.mls-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mls-photo-choice img{height:110px}}

/* Compact MLS card; scoped so shared photo dialogs and other cards retain their layout. */
#parcelMlsCard{padding:16px;border:1px solid #304450;border-left:2px solid #3297ac;border-radius:10px;background:linear-gradient(145deg,#101c25,#0c141b);box-shadow:0 8px 22px #0002}
#parcelMlsCard .mls-parcel-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
#parcelMlsCard .mls-parcel-heading>div{display:flex;align-items:center;gap:10px;min-width:0}
#parcelMlsCard .eyebrow{font-size:10px;letter-spacing:.16em;margin:0;color:var(--accent,#4ed9f4)}
#parcelMlsCard .mls-parcel-id{font-size:11px;color:#9bb0bd;font-variant-numeric:tabular-nums}
#parcelMlsCard .mls-card-refresh{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;min-height:30px;padding:6px;border:1px solid #2d4352;border-radius:6px;background:#13232d;color:#91acba;cursor:pointer}
#parcelMlsCard .mls-card-refresh svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
#parcelMlsCard .mls-parcel-price{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:12px 0 14px}
#parcelMlsCard .mls-parcel-price>div>span{display:block;color:var(--muted,#8795a6);font-size:10px;margin-bottom:3px}
#parcelMlsCard .mls-parcel-price strong{display:block;font-size:26px;font-weight:700;line-height:1.1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:#f0f6fa}
#parcelMlsCard .mls-parcel-type{max-width:48%;font-size:10px;font-weight:600;color:#a4c1cc;text-align:right;line-height:1.4}
#parcelMlsCard .mls-parcel-type:empty{display:none}
#parcelMlsCard .mls-parcel-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0;border:1px solid #243945;border-radius:6px;overflow:hidden;background:#0b151c}
#parcelMlsCard .mls-parcel-facts>div{padding:9px 11px;min-width:0;border-top:1px solid #243945}
#parcelMlsCard .mls-parcel-facts>div:nth-child(-n+2){border-top:0}
#parcelMlsCard .mls-parcel-facts>div:nth-child(even){border-left:1px solid #243945}
#parcelMlsCard .mls-parcel-facts>div:only-child{grid-column:1/-1}
#parcelMlsCard .mls-parcel-facts span{font-size:10px;color:#839ba9;line-height:1.3;margin-bottom:3px}
#parcelMlsCard .mls-parcel-facts strong{font-size:13px;font-weight:650;color:#dce9f1;line-height:1.3;font-variant-numeric:tabular-nums}
#parcelMlsCard .mls-parcel-source{margin-top:9px;font-size:10px;line-height:1.4;color:#7e97a7;min-height:14px}
#parcelMlsCard .mls-parcel-actions{display:flex;align-items:stretch;gap:8px;margin:12px 0 0;flex-wrap:wrap}
#parcelMlsCard .mls-card-button,#parcelMlsCard [data-check-status]{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:8px 12px;border:1px solid #354d5d;border-radius:6px;background:#172630;color:#c9dde8;font-family:inherit;font-size:11px;font-weight:650;line-height:1.25;text-decoration:none;white-space:normal;cursor:pointer;margin:0;box-sizing:border-box}
#parcelMlsCard .mls-parcel-actions .mls-card-button{flex:1 1 125px}
#parcelMlsCard .mls-card-button.mls-card-open{background:#15333e;border-color:#317589;color:#a3ecfa}
#parcelMlsCard .mls-card-button.mls-card-photos{background:#23273b;border-color:#4f527a;color:#c9c8ed}
#parcelMlsCard button:hover,#parcelMlsCard a:hover{filter:brightness(1.13)}
#parcelMlsCard button:focus-visible,#parcelMlsCard a:focus-visible{outline:2px solid #4ed9f4;outline-offset:3px}
#parcelMlsCard button:disabled{opacity:.5;cursor:wait;filter:none}
#parcelMlsCard .mls-monitor-panel{margin-top:14px;padding-top:12px;border-top:1px solid #273c49}
#parcelMlsCard .mls-monitor-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
#parcelMlsCard [data-mls-status-parcel]{min-width:0}
#parcelMlsCard .mls-status-badge{font-size:10px;padding:4px 7px;line-height:1.3}
#parcelMlsCard [data-check-status]{min-height:30px;padding:6px 10px;font-size:10px;background:#12212b;border-color:#2d4858;color:#93c3d2;flex-shrink:0}
#parcelMlsCard [data-check-feedback]{font-size:10px;margin-top:7px;line-height:1.4;color:#78919f}
@media(pointer:coarse){#parcelMlsCard .mls-card-refresh{width:44px;height:44px;flex-basis:44px}#parcelMlsCard .mls-card-button,#parcelMlsCard [data-check-status]{min-height:44px}}
