.match-source-grid,.match-form-grid,.match-filter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem}.match-source-grid{margin-bottom:1.5rem}.match-source-grid .match-panel{margin:0}.match-form-grid label,.match-filter-grid label,.match-source-grid label{display:flex;flex-direction:column;gap:.4rem}.match-source-grid form{display:grid;gap:1rem}.match-source-grid label.checkbox{flex-direction:row;align-items:center}.match-source-grid input[type=checkbox]{width:auto}.match-filter-grid .actions{align-self:end}.match-reset{border-top:1px solid var(--border,#ddd);padding-top:1rem;margin-top:1rem}.match-raw{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.8rem;max-height:28rem;overflow:auto}.match-form-grid+label{display:flex;flex-direction:column;margin:1rem 0}.table-scroll{overflow-x:auto}td small{display:block}

.admin-main .settings-card.match-panel{padding:20px;margin-bottom:20px}.match-source-grid .settings-card.match-panel{margin-bottom:0}.match-panel h2{margin:0 0 12px;font-size:1.15rem}.matches-head{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.matches-head .actions,.match-filter-grid .actions{display:flex;flex-wrap:wrap;gap:10px}.match-source-grid [data-source-error]:empty{display:none}.match-source-grid button{justify-self:start}.match-panel details{margin-top:20px}@media(max-width:650px){.matches-head{align-items:flex-start;flex-direction:column}.admin-main .settings-card.match-panel{padding:16px}}

@media(max-width:650px){.match-table,.match-table tbody,.match-table tr,.match-table td{display:block;width:100%}.match-table thead{display:none}.match-table tbody{display:grid;gap:16px}.match-table tr{padding:12px;background:var(--bg);border-radius:8px}.match-table td{border:0;padding:6px 0;overflow-wrap:normal;word-break:normal}.match-table td::before{content:attr(data-label);display:block;font-size:.75rem;color:var(--muted);font-weight:600}.match-table{border:0}.match-table td:first-child{max-width:none}}
