.owner-risk-dialog { position:fixed; inset:0; margin:auto; box-sizing:border-box; width:min(1120px,calc(100vw - 32px)); max-height:calc(100dvh - 40px); overflow:auto; padding:24px; border:1px solid #d9e6e5; border-radius:20px; background:#f4f7f8; color:#233d40; box-shadow:0 24px 80px #0005; }
.owner-risk-dialog::backdrop { background:#10201dbb; backdrop-filter:blur(4px); }
.owner-risk-dialog > header { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:18px; }
.owner-risk-dialog h2 { margin:0; font-size:24px; line-height:1.3; }
.owner-risk-dialog header p { margin:6px 0 0; color:#627b7e; }
.owner-risk-dialog header button { flex-shrink:0; }
.owner-risk-table-wrap { overflow:auto; }
.owner-risk-table { width:100%; border-collapse:collapse; font-size:13px; }
.owner-risk-table th { text-align:left; font-size:12px; color:#627b7e; }
.owner-risk-table th,.owner-risk-table td { padding:12px 10px; border-bottom:1px solid #d9e6e5; vertical-align:top; }
.owner-risk-table small { display:block; margin-top:4px; font-size:11px; font-weight:400; color:#627b7e; }
.owner-risk-table th:first-child { min-width:180px; }
.owner-risk-price { white-space:nowrap; font-variant-numeric:tabular-nums; }
.owner-risk-product-link { display:inline; border:0; padding:0; min-height:0; background:transparent; color:#087f75; font:inherit; font-weight:600; text-align:left; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.owner-risk-reason { min-width:180px; max-width:360px; overflow-wrap:anywhere; white-space:pre-wrap; }
.owner-risk-product { width:min(820px,calc(100vw - 32px)); }
.owner-risk-product-image { display:block; max-height:240px; max-width:100%; object-fit:contain; margin:0 auto 18px; border-radius:12px; }
.owner-risk-product-fields { display:grid; grid-template-columns:1fr 1fr; gap:0 24px; }
.owner-risk-product-fields > div { padding:10px 0; border-bottom:1px solid #d9e6e5; min-width:0; }
.owner-risk-product-fields dt { font-size:12px; color:#627b7e; }
.owner-risk-product-fields dd { margin:5px 0 0; overflow-wrap:anywhere; }
.owner-risk-photos { display:flex; flex-wrap:wrap; gap:12px; margin-top:12px; }
.owner-risk-photos img { max-width:100%; width:180px; object-fit:contain; border-radius:8px; }
html[data-theme="dark"] .owner-risk-dialog { background:#142b2e; color:#e0eeeb; border-color:#315055; }
html[data-theme="dark"] .owner-risk-dialog :is(th,small,dt,header p) { color:#a0b8b6; }
html[data-theme="dark"] .owner-risk-dialog :is(th,td,.owner-risk-product-fields > div) { border-color:#315055; }
html[data-theme="dark"] .owner-risk-product-link { color:#8cd6ca; }
@media(max-width:650px) { .owner-risk-dialog { padding:16px; width:calc(100vw - 16px); max-height:calc(100dvh - 20px); border-radius:14px; } .owner-risk-dialog h2 { font-size:20px; } .owner-risk-product-fields { grid-template-columns:1fr; } }

html dialog.owner-risk-dialog { margin-block:auto; }
