/* «Отчёты»: settings column, Telegram-style post preview, PNG card preview. */
.report-layout{display:grid;grid-template-columns:minmax(280px,340px) minmax(0,1fr);gap:24px;align-items:start}
.report-settings{padding:22px;display:grid;gap:14px}
.report-settings h2{margin:6px 0 0;font-size:14px}
.report-settings h2:first-child{margin-top:0}
.report-settings .admin-field{margin:0}
.report-checks{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px}
.report-check{display:flex;align-items:center;gap:8px;font-size:13px;cursor:pointer}
.report-check input{width:16px;height:16px;accent-color:var(--lavender,#9d93f0)}
.report-privacy{margin:0;font-size:12px;line-height:1.6}
.report-output{display:grid;gap:14px;min-width:0}
.report-view{justify-self:start}
.report-post,.report-image{display:grid;gap:12px}
.report-post[hidden],.report-image[hidden]{display:none}
/* Telegram channel post, recognisable but not a copy of the client */
.tg-chat{padding:22px;border-radius:18px;background:radial-gradient(120% 80% at 0% 0%,rgba(57,176,244,.2),transparent 60%),radial-gradient(90% 70% at 100% 100%,rgba(44,214,138,.18),transparent 60%),#dde9ef}
.tg-bubble{max-width:520px;padding:10px 14px 8px;border-radius:16px 16px 16px 6px;background:#fff;color:#16181d;box-shadow:0 1px 1px rgba(0,0,0,.08)}
.tg-channel{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:13px;color:#1a86d0}
.tg-avatar{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:linear-gradient(145deg,#39b0f4,#14ddd3 55%,#2cd68a);color:#03171b;font-size:13px;font-weight:700}
.tg-text{font-size:14px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.tg-text pre{margin:4px 0;padding:10px;border-radius:8px;background:#eef4f7;font:12px/1.45 ui-monospace,Consolas,monospace;white-space:pre;overflow-x:auto}
.tg-text blockquote{margin:6px 0;padding:4px 10px;border-left:3px solid #14b8b0;border-radius:4px;background:rgba(20,184,176,.08)}
.tg-text code{font:12.5px/1.3 ui-monospace,Consolas,monospace;letter-spacing:.5px;color:#12957a}
.tg-meta{margin-top:4px;text-align:right;font-size:11px;color:#8a929c}
.report-limits{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12px;color:var(--muted)}
.report-limits .over{color:#c85454;font-weight:500}
.report-image canvas{width:100%;max-width:440px;height:auto;aspect-ratio:1080/1350;border-radius:16px;box-shadow:0 18px 40px -22px rgba(17,24,39,.5)}
.report-image .admin-actions{align-items:center}
.report-note{margin:0;font-size:12px}
:root[data-theme=dark] .tg-chat{background:radial-gradient(120% 80% at 0% 0%,rgba(57,176,244,.16),transparent 60%),radial-gradient(90% 70% at 100% 100%,rgba(44,214,138,.12),transparent 60%),#060d11}
:root[data-theme=dark] .tg-bubble{background:#0f1a20;color:#e8eff3;box-shadow:inset 0 0 0 1px rgba(120,200,230,.12)}
:root[data-theme=dark] .tg-channel{color:#6fc4f7}
:root[data-theme=dark] .tg-text pre{background:#0a1318}
:root[data-theme=dark] .tg-text blockquote{border-left-color:#2cd68a;background:rgba(44,214,138,.08)}
:root[data-theme=dark] .tg-text code{color:#4fe3b0}
@media(max-width:1050px){.report-layout{grid-template-columns:1fr}}
@media(max-width:760px){
  .report-settings{padding:18px}
  .report-checks{grid-template-columns:1fr 1fr}
  .tg-chat{padding:12px;margin:0 -4px}
  .tg-text{font-size:13px}
  .report-image canvas{max-width:100%}
  .report-post .admin-actions,.report-image .admin-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .report-image .admin-actions span{grid-column:1/-1}
}
