:root{
  --bg: #f7fbf4; --panel: #ffffff; --panel-2: #edf4e6; --line: #d8e7ca;
  --accent: #5d9d25; --accent-soft: #d8e9c9; --accent-dim: #f3f8f0;
  --text: #1e2914; --muted: #64804d; --muted-2: #a5b894;
  --good: #259d5b; --mid: #9d8725; --bad: #b3402f;
}

.grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 800px){ .grid{ grid-template-columns: 1fr; } }
.pane{ border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.pane-head{ padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--panel-2); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
textarea{ width: 100%; min-height: 220px; max-height: 420px; padding: 14px; border: none; resize: vertical; font-family: 'Inter', sans-serif; font-size: 13.5px; line-height: 1.6; background: var(--panel-2); color: var(--text); overflow: auto; }
textarea:focus{ outline: none; }

.score-card{ margin-top: 18px; text-align: center; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.score-card .num{ font-size: 36px; font-weight: 800; font-family: 'JetBrains Mono', monospace; }
.score-card .lbl{ font-size: 12.5px; color: var(--muted); margin-top: 4px; }

.section-title{ font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin: 20px 0 8px; }
.match-list{ border: 1px solid var(--line); border-radius: 10px; overflow: hidden; max-height: 220px; overflow-y: auto; }
.match-row{ padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 13px; background: var(--panel); font-style: italic; }
.match-row:last-child{ border-bottom: none; }
.match-row:nth-child(even){ background: var(--accent-dim); }
.empty-msg{ padding: 14px; text-align: center; font-size: 13px; color: var(--muted-2); font-style: italic; }

.btns{ display: flex; justify-content: flex-end; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.app{ padding: 11px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; font-size: 13.5px; font-family: 'Inter', sans-serif; color: #fff; background: var(--accent); transition: filter .15s ease; }
.app:hover{ filter: brightness(1.08); }
.gray{ background: var(--line); color: var(--text); }

.note{ margin-top: 14px; font-size: 12px; color: var(--muted); line-height: 1.6; background: var(--panel-2); border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; }
