.owner-detector{margin-top:1rem;padding:1rem;border:1px solid var(--border,#394453);border-radius:16px;max-width:100%;overflow-wrap:anywhere}
.owner-detector summary{font-weight:650;cursor:pointer;padding:.35rem 0}
.owner-detector form,.owner-detector label{display:grid;gap:.75rem;margin-top:1rem}
.owner-detector input[type=file]{max-width:100%;width:100%}
.owner-detector .od-consent{display:flex;align-items:flex-start;gap:.7rem;font-weight:400;line-height:1.6}
.owner-detector .od-consent input{flex:0 0 auto;margin-top:.35rem}
.owner-detector .od-output canvas{display:block;width:100%;height:auto;max-height:75vh;object-fit:contain;background:#111}
.owner-detector .notice{border-left:3px solid #ffb74d;padding:.75rem;line-height:1.6}
#user-detector-dialog{width:min(900px,calc(100% - 24px));max-height:90dvh;overflow:auto;padding:1rem;border:1px solid var(--border,#394453);border-radius:16px;background:var(--bg,#10151d);color:var(--text,#eef2f7)}#user-detector-dialog::backdrop{background:rgb(0 0 0/.65)}#user-detector-dialog .image-review-heading{display:flex;justify-content:space-between;align-items:center;gap:1rem}#user-detector-dialog h2{font-size:1.35rem;margin:0}
.owner-detector .od-crown .od-swatch{background:#7c3aed}.owner-detector .od-filling .od-swatch{background:#2563eb}.owner-detector .od-root-canal .od-swatch{background:#b45309}.owner-detector .od-wisdom .od-swatch{background:#0f766e}.owner-detector .od-metrics{margin:1rem 0;padding:.75rem;border:1px solid var(--border,#394453);border-radius:12px}.owner-detector .od-metrics li{margin:.5rem 0;overflow-wrap:anywhere}

.owner-detector .od-legend{display:flex;flex-wrap:wrap;gap:.65rem 1rem;margin:1rem 0}.owner-detector .od-legend-item{display:inline-flex;align-items:center;gap:.5rem;line-height:1.4}.owner-detector .od-swatch{width:1rem;height:1rem;flex:0 0 auto;border-radius:4px;border:1px solid currentColor}.owner-detector .od-caries .od-swatch{background:#b91c1c}.owner-detector .od-implant .od-swatch{background:#166534}.owner-detector .od-inactive{opacity:.65}.owner-detector .od-findings{padding-left:1.5rem}.owner-detector .od-findings li{padding:.6rem .3rem;line-height:1.5}.owner-detector .od-findings strong,.owner-detector .od-findings span{display:block}
/* Model identifiers must remain readable on narrow phones. */
.od-metrics p{overflow-wrap:anywhere;word-break:break-word}
