/* Rapor sayfasi: oynaticinin koyu temasini (style.css degiskenleri) kullanir. */
body.report { overflow: auto; display: block; height: auto; }
body.report header { position: sticky; top: 0; z-index: 5; flex-wrap: wrap; }
body.report h1 { font-size: 16px; margin: 0; font-weight: 600; }
body.report .spacer { flex: 1; }
body.report header label { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }
body.report header select { padding: 5px 8px; }
.pill { padding: 2px 10px; border-radius: 999px; font-size: 12px; border: 1px solid var(--line); color: var(--muted); }
.pill.on { color: var(--ok); border-color: #14532d; }
#report { display: block; padding: 16px; max-width: 1500px; margin: 0 auto; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.kpi .v { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.kpi .l { color: var(--muted); font-size: 12px; margin-top: 2px; }
.kpi .s { color: var(--muted); font-size: 12px; margin-top: 6px; }
.charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 12px; margin-top: 14px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; position: relative; min-width: 0; }
.card h2 { font-size: 14px; margin: 0 0 2px; }
.card .sub { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.card svg { width: 100%; height: 190px; display: block; overflow: visible; }
.card .legend { display: flex; gap: 14px; font-size: 12px; color: var(--text); margin-top: 6px; }
.card .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 5px; vertical-align: -1px; }
.axis text { fill: var(--muted); font-size: 10px; }
.axis line, .grid line { stroke: var(--line); stroke-width: 1; }
.bar { fill: #3987e5; }
.bar.bad { fill: #d95926; }
.bar:hover, .dot:hover { opacity: .75; }
.dot.cold { fill: #d95926; }
.dot.play { fill: #3987e5; }
.dot { stroke: var(--panel); stroke-width: 2; }
.tip { position: absolute; z-index: 6; pointer-events: none; background: var(--panel2); border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px;
  font-size: 12px; white-space: nowrap; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); font-variant-numeric: tabular-nums; }
.empty { color: var(--muted); font-size: 13px; padding: 30px 0; text-align: center; }
#tables .card { margin-top: 12px; overflow-x: auto; }
#tables table { width: 100%; border-collapse: collapse; font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
#tables th { text-align: left; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); }
#tables th.sortable { cursor: pointer; }
#tables th.sortable:hover { color: var(--text); }
#tables td { padding: 5px 8px; border-bottom: 1px solid var(--line); }
#tables td.num, #tables th.num { text-align: right; }
#tables td.wrap { white-space: normal; max-width: 520px; color: var(--muted); font-size: 12px; }
#tables tr.self td { color: var(--ok); }
#tables a { color: var(--accent); text-decoration: none; }
.tools { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; flex-wrap: wrap; }
.tools input, .tools select { padding: 5px 8px; font-size: 13px; }
.kind { padding: 1px 7px; border-radius: 999px; border: 1px solid var(--line); font-size: 11px; }
.kind.bad { color: #e66767; border-color: #7f1d1d; }
.kind.ok { color: var(--ok); border-color: #14532d; }
.scrolly { max-height: 520px; overflow: auto; }
.pill.bad { color: #e66767; border-color: #7f1d1d; }
#alerts .card { margin-bottom: 12px; border-color: #78350f; }
#alerts p { margin: 6px 0 0; font-size: 13px; }
