/* Explicit, viewport-safe confirmation for chat photos, including old Android. */
.beike-support-photo-review[hidden], .support-photo-review-backdrop[hidden] { display:none!important; }
.beike-support-photo-review { box-sizing:border-box; width:calc(100% - 32px); max-width:420px; max-height:calc(100vh - 32px); max-height:calc(100dvh - 32px); margin:auto; padding:20px; border:1px solid var(--ui-line,#d9e3dc); border-radius:24px; background:var(--ui-surface,#fff); color:var(--ui-ink,#183b30); box-shadow:0 12px 40px rgba(0,0,0,.14); overflow:auto; font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }
.beike-support-photo-review::backdrop { background:var(--ui-scrim,rgba(15,29,22,.38)); }
.beike-support-photo-review.photo-review-fallback { position:fixed; top:16px; right:0; bottom:16px; left:0; height:max-content; z-index:20001; box-shadow:0 0 0 100vmax var(--ui-scrim,rgba(15,29,22,.38)); }
.support-photo-review-backdrop { position:fixed; top:0; right:0; bottom:0; left:0; z-index:20000; background:var(--ui-scrim,rgba(15,29,22,.38)); touch-action:none; }
.beike-support-photo-review h2 { margin:0 0 12px; font-size:20px; font-weight:650; line-height:1.3; letter-spacing:-.3px; }
.beike-support-photo-review .support-photo-review-image { display:block; width:100%; height:180px; height:min(34vh,280px); object-fit:contain; background:var(--ui-fill,#eff4f0); border-radius:16px; }
.beike-support-photo-review .support-photo-review-image[hidden] { display:none; }
.beike-support-photo-review .support-photo-review-status { margin:12px 0; color:var(--ui-muted,#617468); font-size:13px; line-height:1.5; overflow-wrap:break-word; }
.beike-support-photo-review .support-photo-review-error { margin:12px 0; color:var(--ui-danger,#a54238); font-size:13px; line-height:1.5; overflow-wrap:break-word; }
.beike-support-photo-review button { min-height:46px; box-sizing:border-box; border:0; border-radius:13px; padding:10px 16px; font:600 15px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
.beike-support-photo-review button:disabled { opacity:.5; cursor:default; }
.beike-support-photo-review button:active:not(:disabled) { opacity:.75; }
.beike-support-photo-review button:focus-visible { outline:2px solid var(--ui-accent,#316f57); outline-offset:3px; }
.beike-support-photo-review .support-photo-review-navigation { display:flex; justify-content:space-between; margin:0 0 12px; }
.beike-support-photo-review .support-photo-review-navigation[hidden] { display:none; }
.beike-support-photo-review .support-photo-review-navigation button { background:var(--ui-fill,#eff4f0); color:var(--ui-accent,#316f57); }
.beike-support-photo-review .support-photo-review-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; padding-bottom:env(safe-area-inset-bottom,0px); }
.beike-support-photo-review .support-photo-review-cancel { background:var(--ui-fill,#eff4f0); color:var(--ui-accent,#316f57); }
.beike-support-photo-review .support-photo-review-send { background:var(--ui-primary,#316f57); color:var(--ui-on-primary,#fff); }
@media (max-height:450px) { .beike-support-photo-review { padding:14px; } .beike-support-photo-review .support-photo-review-image { height:24vh; } }
