/* Card reports are intentionally hidden; report through the tips/details dialog. */
.card .card-report{display:none!important}
.card .card-report svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.card .card-report:hover{background:#a53b2b;border-color:#f1b8a8}
.card .card-report:focus-visible{outline:3px solid #f5b47f;outline-offset:3px}
.report-detail{font-size:12px}
body.report-open{overflow:hidden}
.report-backdrop[hidden]{display:none!important}
.report-backdrop{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(12,18,28,.64);backdrop-filter:blur(5px);overflow-y:auto}
.report-dialog{width:100%;max-width:540px;max-height:calc(100dvh - 40px);overflow-y:auto;border:1px solid #dfe5ed;border-radius:22px;padding:26px;background:#fff;color:#263243;box-shadow:0 24px 90px rgba(0,0,0,.25);font-family:var(--font,system-ui,sans-serif)}
.report-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:16px}
.report-kicker{font-size:10px;font-weight:700;letter-spacing:.16em;color:#7c889a;margin-bottom:8px}
.report-heading h2{font-size:22px;line-height:1.3;letter-spacing:-.02em;margin:0}
.report-close{border:1px solid #dde3ec;background:#f7f9fc;color:#485567;border-radius:50%;width:36px;height:36px;flex-shrink:0;font-size:24px;line-height:1;cursor:pointer}
.report-work{padding:10px 12px;margin:0 0 12px;border-radius:10px;background:#f2f5f9;font-size:13px;font-weight:700;overflow-wrap:anywhere}
.report-help{font-size:12px;line-height:1.8;color:#626f82;margin:0 0 18px}
.report-dialog fieldset{padding:0;margin:0 0 18px;border:0;min-width:0}
.report-dialog legend,.report-text-label{display:block;font-size:12px;font-weight:600;line-height:1.6;margin-bottom:9px}
.report-options{display:grid;grid-template-columns:1fr;gap:7px}
.report-options label{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:44px;border:1px solid #dde3eb;border-radius:10px;font-size:12px;line-height:1.5;cursor:pointer}
.report-options label:has(input:checked){border-color:#c56134;background:#fff3eb;color:#9d451f}
.report-options input{width:16px;height:16px;accent-color:#ba542a;flex-shrink:0}
.report-dialog textarea{display:block;width:100%;min-height:106px;max-height:230px;resize:vertical;padding:12px;border:1px solid #d7dfeb;border-radius:10px;background:#fff;color:inherit;font:inherit;font-size:12px;line-height:1.8;box-sizing:border-box}
.report-counter{margin-top:6px;font-size:11px;text-align:right;color:#7c889a}
.report-counter.over-limit{color:#b83030}
.report-privacy{font-size:11px;line-height:1.7;color:#7c889a;margin:14px 0}
.report-result{font-size:12px;line-height:1.8;color:#b13a29;overflow-wrap:anywhere;margin:10px 0;min-height:0}
.report-result:empty{display:none}
.report-result.success{color:#21856e;padding:10px 12px;background:#edf9f5;border-radius:9px}
.report-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.report-primary,.report-secondary{border:1px solid #d7dfeb;border-radius:10px;padding:10px 18px;min-height:44px;font:inherit;font-size:12px;cursor:pointer}
.report-primary{background:#283444;color:#fff;border-color:#283444;font-weight:600}
.report-secondary{background:#fff;color:#485567}
.report-dialog button:disabled{opacity:.55;cursor:wait}
.report-dialog :focus-visible{outline:3px solid #c65b27;outline-offset:3px}
html[data-theme=dark] .report-dialog{background:#1a2331;color:#edf2fa;border-color:#43526a}
html[data-theme=dark] .report-close,html[data-theme=dark] .report-secondary,html[data-theme=dark] .report-work{background:#242f40;color:#d6e1f0;border-color:#43526a}
html[data-theme=dark] .report-help,html[data-theme=dark] .report-privacy,html[data-theme=dark] .report-counter{color:#a7b5c9}
html[data-theme=dark] .report-options label{border-color:#43526a}
html[data-theme=dark] .report-options label:has(input:checked){background:#3d2e28;border-color:#eda974;color:#ffc79d}
html[data-theme=dark] .report-dialog textarea{background:#131d2b;color:#edf2fa;border-color:#43526a}
html[data-theme=dark] .report-primary{background:#edf3fc;color:#172231;border-color:#edf3fc}
html[data-theme=dark] .report-result{color:#ffb5a3}
html[data-theme=dark] .report-result.success{color:#91dec6;background:#1c3933}
@media(max-width:700px){.card .card-report{top:54px;bottom:auto;right:8px}.report-backdrop{padding:12px}.report-dialog{padding:20px;border-radius:18px;max-height:calc(100dvh - 24px)}.report-heading h2{font-size:20px}}
@media(pointer:coarse){.card .card-report{min-height:40px;min-width:48px}.card .fav-btn{width:40px;height:40px}}

@media(pointer:coarse) and (min-width:701px){.card .card-report{right:56px}}
