/* Report dialog: scoped styles preserve the results page design. */
#menodag-report{--rp-panel:#fff;--rp-text:#283b44;--rp-muted:#73858f;--rp-line:#dfe7eb;--rp-soft:#f5f8fa;--rp-blue:#367dc4;--rp-blue-soft:#edf5fe;box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(440px,calc(100% - 36px));max-height:calc(100dvh - 36px);padding:26px;border:1px solid var(--rp-line);border-radius:26px;background:var(--rp-panel);color:var(--rp-text);box-shadow:0 24px 100px #0003;font-family:inherit;font-size:16px;line-height:1.7;text-align:right;overflow:auto}
#menodag-report *,#menodag-report *::before,#menodag-report *::after{box-sizing:border-box}
#menodag-report::backdrop{background:#07101770;backdrop-filter:blur(6px)}
#menodag-report button,#menodag-report input,#menodag-report textarea{font:inherit}
#menodag-report button{cursor:pointer}
#menodag-report .rp-close{position:absolute;left:18px;top:18px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #c34c604d;border-radius:50%;background:#fcf0f2;color:#c34c60}
#menodag-report .rp-close svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:2.2}
#menodag-report .rp-title{font-size:21px;margin:2px 0 12px;padding:0 0 0 35px;line-height:1.7;color:var(--rp-text)}
#menodag-report .rp-subtitle{color:var(--rp-muted);font-size:13px;line-height:1.8;margin:0 0 20px}
#menodag-report .rp-subject{background:var(--rp-soft);border:1px solid var(--rp-line);border-radius:14px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;margin-bottom:22px}
#menodag-report .rp-name{min-width:0;overflow-wrap:anywhere}
#menodag-report .rp-phone{flex-shrink:0;white-space:nowrap}
#menodag-report fieldset{padding:0;margin:0;border:0;min-width:0}
#menodag-report legend{font-size:14px;margin-bottom:12px}
#menodag-report .rp-reason{display:flex;align-items:center;gap:10px;padding:13px 12px;border:1px solid var(--rp-line);border-radius:12px;margin:8px 0;font-size:14px;cursor:pointer;color:var(--rp-text);line-height:1.7}
#menodag-report .rp-reason:has(input:checked){border-color:var(--rp-blue);background:var(--rp-blue-soft)}
#menodag-report input[type=radio]{appearance:auto;-webkit-appearance:radio;position:static;display:inline-block;opacity:1;flex:none;width:17px;height:17px;margin:0;accent-color:var(--rp-blue)}
#menodag-report .rp-details-label{display:block;font-size:13px;margin:18px 0 9px;color:var(--rp-text)}
#menodag-report .rp-details-label span{color:var(--rp-muted)}
#menodag-report textarea{display:block;width:100%;min-height:80px;resize:vertical;background:var(--rp-soft);border:1px solid var(--rp-line);border-radius:12px;color:var(--rp-text);padding:12px;font-size:16px;line-height:1.7}
#menodag-report :focus-visible{outline:2px solid var(--rp-blue);outline-offset:3px}
#menodag-report .rp-note{font-size:11px;color:var(--rp-muted);text-align:center;margin:16px 0;line-height:1.9}
#menodag-report .rp-submit{display:block;width:100%;border:0;border-radius:13px;padding:14px;background:#367dc4;color:white;font-size:15px;line-height:1.7}
#menodag-report .rp-submit:disabled{opacity:.45;cursor:default}
@media(max-width:420px){#menodag-report{padding:22px 18px}#menodag-report .rp-title{font-size:19px}#menodag-report .rp-reason{padding:12px}}
@media(prefers-color-scheme:dark){#menodag-report{color-scheme:dark;--rp-panel:#1c2226;--rp-text:#edf1f3;--rp-muted:#a0adb5;--rp-line:#354047;--rp-soft:#252e33;--rp-blue:#85b7ee;--rp-blue-soft:#233347}#menodag-report .rp-close{background:#39282e;color:#f18a99;border-color:#f18a994d}}

/* Avoid automatic focus rings and sticky touch highlights after opening a report. */
#menodag-report .rp-title:focus{outline:none}
#menodag-report .rp-close:focus-visible{outline-color:#c34c60}
.result-actions .result-action{-webkit-tap-highlight-color:transparent}
.result-actions .result-action:hover,.result-actions .result-action:active{background:transparent}
.result-actions .result-action.rp-pointer-focus:focus{outline:none;box-shadow:none}
@media(prefers-color-scheme:dark){#menodag-report .rp-close:focus-visible{outline-color:#f18a99}}
