html body dialog.fm-listing-review{width:calc(100% - 32px);max-width:760px;max-height:85vh;max-height:85dvh;overflow:hidden;box-sizing:border-box;border:1px solid #d6e3ef;border-radius:22px;padding:0;color:#193451;background:#fff}
html body dialog.fm-listing-review[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
html body .fm-listing-review::backdrop{background:#13263ccc}
html body .fm-review-header{padding:22px 28px 16px;border-bottom:1px solid #e1e9f1;text-align:center}
html body .fm-review-header h2{font-size:clamp(1.25rem,3vw,1.65rem);margin:0 0 10px;line-height:1.3}
html body .fm-review-header p{font-size:.95rem;margin:0;line-height:1.5;color:#526579}
html body .fm-review-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px 28px;scrollbar-gutter:stable}
html body .fm-listing-review dl{padding:18px;background:#f3f7fc;border-radius:14px;margin:0}
html body .fm-listing-review dt{font-weight:800;margin-top:18px;color:#194d81;font-size:.9rem}
html body .fm-listing-review dt:first-child{margin-top:0}
html body .fm-listing-review dd{margin:6px 0 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:1rem}
html body .fm-review-photos{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin-top:16px}
html body .fm-review-photos:empty{display:none}
html body .fm-review-photos img{width:140px;height:110px;object-fit:contain;background:#f3f6fa;border-radius:12px;max-width:100%}
html body .fm-review-actions{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px;padding:16px 20px;border-top:1px solid #e1e9f1;background:#fff;box-shadow:0 -4px 16px #19345108}
html body .fm-review-actions>.pulsante{width:auto!important;flex:0 1 auto!important;max-width:100%;box-sizing:border-box;margin:0;padding:12px 16px;font-size:.95rem;min-height:44px}
@media(max-width:600px){html body dialog.fm-listing-review{width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:18px}html body .fm-review-header{padding:18px 16px 14px}html body .fm-review-content{padding:16px}html body .fm-listing-review dl{padding:16px}html body .fm-review-actions{padding:12px;gap:10px}html body .fm-review-actions>.pulsante{font-size:.85rem;padding:10px 12px}}

/* Collegamenti di correzione discreti, senza perdere i dati inseriti. */
html body .fm-listing-review dt .fm-review-edit{appearance:none;display:inline-block;width:auto!important;min-height:32px;margin:0 0 0 12px;padding:4px 8px;border:0;border-radius:6px;background:transparent;color:#356890;box-shadow:none;font:inherit;font-size:.8rem;font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
html body .fm-listing-review dt .fm-review-edit:hover{background:#e0ebf7}
html body .fm-listing-review dt .fm-review-edit:focus-visible{outline:2px solid #6596c5;outline-offset:2px}
