/* ============================================================
   BreakManager — Championnats · champ.css
   Identité : accent bleu/azur (déclinaison « Championnats »).
   Autonome : ne dépend pas de app.css (module Tournois).
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #10203A;
  --azure:      #2A70D1;
  --azure-deep: #1B4FBE;
  --azure-soft: #5B97F7;
  --azure-light:#E9F1FC;
  --azure-glow: rgba(43,112,209,0.14);

  --bg:         #F3F5F9;
  --bg-card:    #FFFFFF;
  --border:     #D3DAE6;
  --border-light: rgba(16,32,58,0.07);
  --text:       #10203A;
  --text-mid:   #4C5567;
  --text-light: #8A93A5;

  --green:      #1F6D2E;
  --green-light:#E4F3E6;
  --orange:     #9A5B12;
  --orange-light:#FBEFDC;
  --red:        #A32D2D;
  --red-light:  #FCEBEB;

  --radius:     12px;
  --radius-sm:  8px;
  --header-h:   56px;
  --display:    'Bricolage Grotesque', system-ui, sans-serif;
  --mono:       'IBM Plex Mono', ui-monospace, monospace;
  --transition: 0.15s ease;

  color-scheme: light;
}

body {
  font-family: 'Hanken Grotesk', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.015em; line-height: 1.15; }
a { color: var(--azure-deep); text-decoration: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }

/* ── HEADER ─────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; gap: 14px;
  padding: 0 18px;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.burger-btn {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.burger-btn span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: var(--transition); }
.header-logo { display: flex; align-items: center; gap: 6px; }
.logo-text { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px; color: #fff; letter-spacing: -0.01em; }
.logo-accent { color: var(--azure-soft); }
.logo-suffix {
  font-family: var(--mono); font-size: 9.5px; font-weight: 500;
  letter-spacing: 2px; text-transform: uppercase; color: var(--azure-soft);
  border: 1px solid rgba(91,151,247,0.4); border-radius: 5px; padding: 2px 6px; margin-left: 4px;
}
.header-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.header-saison {
  font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
  border-radius: 20px; padding: 4px 12px; white-space: nowrap;
}
.header-saison:hover { background: rgba(255,255,255,0.18); }
.header-user { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; min-width: 0; }
.header-user-nom  { font-size: 12.5px; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.header-user-orga { font-size: 10.5px; color: rgba(255,255,255,0.55); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; }
.btn-deconnexion {
  font-size: 12px; font-weight: 600; color: #F1A9A9;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(241,169,169,0.3);
  border-radius: 8px; padding: 7px 12px; white-space: nowrap; flex-shrink: 0;
}
.btn-deconnexion:hover { background: rgba(163,45,45,0.9); border-color: rgba(163,45,45,0.9); color: #fff; }
@media (max-width: 860px) { .header-saison { display: none; } }
@media (max-width: 640px) {
  .header-user, .logo-suffix { display: none; }
  .header { padding: 0 12px; gap: 8px; }
  .header-right { gap: 8px; }
  .logo-text { font-size: 15px; }
  .btn-deconnexion { padding: 6px 10px; font-size: 11.5px; }
}
@media (max-width: 380px) {
  .btn-deconnexion { font-size: 0; padding: 8px; }
  .btn-deconnexion::before { content: '⇥'; font-size: 15px; }
}

/* ── DRAWER ─────────────────────────────────────────────── */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 45;
  background: rgba(16,32,58,0.45); opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; z-index: 46;
  width: 264px; height: 100vh;
  background: var(--navy); color: rgba(255,255,255,0.85);
  display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform 0.22s ease;
}
.drawer.open { transform: translateX(0); }
.drawer-header { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.drawer-logo { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 16px; color: #fff; }
.drawer-logo span { color: var(--azure-soft); }
.drawer-sub { font-size: 11px; color: rgba(255,255,255,0.45); margin-top: 3px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 12px 20px; }
.drawer-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.35); padding: 8px 10px 6px;
}
.drawer-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: 9px;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,0.82);
  text-decoration: none; transition: var(--transition);
}
.drawer-item:hover { background: rgba(255,255,255,0.06); color: #fff; }
.drawer-item.active { background: var(--azure-deep); color: #fff; font-weight: 600; }
.drawer-item.disabled { color: rgba(255,255,255,0.28); cursor: default; }
.di-icon { width: 18px; height: 18px; text-align: center; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.di-icon img { width: 18px; height: 18px; display: block; }
.drawer-item.disabled .di-icon img { opacity: .45; filter: grayscale(1); }
.drawer-footer {
  padding: 14px 20px; border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 10.5px; color: rgba(255,255,255,0.4);
}
.drawer-switch { color: var(--azure-soft); font-weight: 600; font-size: 12px; }
.drawer-switch:hover { color: #fff; }

/* ── MAIN ───────────────────────────────────────────────── */
.main { max-width: 980px; margin: 0 auto; padding: 22px 18px 80px; }
.main.wide { max-width: 1240px; }
@media (max-width: 560px) { .main { padding: 16px 12px 72px; } }
.page-header { margin-bottom: 20px; }
.page-eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); }
.page-title { font-size: 24px; font-weight: 800; margin: 2px 0 4px; }
.page-subtitle { font-size: 13.5px; color: var(--text-mid); }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-mid);
  background: #fff; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 7px 14px; margin-bottom: 14px; cursor: pointer;
}
.back-btn:hover { border-color: var(--azure); color: var(--text); }

/* ── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.card + .card { margin-top: 14px; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.card-hint  { font-size: 12.5px; color: var(--text-light); margin-bottom: 14px; }

.list-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color var(--transition);
}
.list-card + .list-card { margin-top: 8px; }
.list-card:hover { border-color: rgba(43,112,209,0.4); }
.list-card-main { flex: 1 1 220px; min-width: 0; }
.list-card-title { font-weight: 700; font-size: 14px; }
.list-card-sub { font-size: 12px; color: var(--text-light); margin-top: 2px; }
.list-card-actions { display: flex; gap: 6px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 520px) {
  .list-card { flex-wrap: wrap; }
  .list-card-actions { width: 100%; }
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  font-family: inherit; font-size: 13.5px; font-weight: 600;
  padding: 10px 18px; border-radius: 9px; cursor: pointer;
  border: 1.5px solid transparent; transition: var(--transition);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--azure-deep); color: #fff; }
.btn-primary:hover { background: var(--azure); }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--azure); color: var(--azure-deep); }
.btn-ghost { background: transparent; color: var(--text-mid); }
.btn-ghost:hover { background: var(--azure-light); color: var(--azure-deep); }
.btn-red { background: #fff; color: var(--red); border-color: rgba(163,45,45,0.35); }
.btn-red:hover { background: var(--red); color: #fff; border-color: var(--red); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 12.5px; }
.btn-xs { padding: 5px 10px; font-size: 12px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── FORMS ──────────────────────────────────────────────── */
.form-row { display: grid; gap: 14px; }
.form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 560px) { .form-row.cols-2, .form-row.cols-3 { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 14px; }
.form-label {
  display: block; font-size: 11.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light);
  margin-bottom: 5px;
}
.form-control {
  width: 100%; padding: 9px 12px;
  font-family: inherit; font-size: 14px; color: var(--text);
  background: #fff; border: 1.5px solid var(--border); border-radius: 8px;
  transition: border-color var(--transition);
}
.form-control:focus { outline: none; border-color: var(--azure); }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%238A93A5' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 30px; }
.form-hint { font-size: 11.5px; color: var(--text-light); margin-top: 4px; }
.field-check { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.field-check input { width: 16px; height: 16px; accent-color: var(--azure-deep); }

/* ── TABLES ─────────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-sm); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 13px; background: #fff; }
table.tbl th {
  text-align: left; font-size: 10.5px; font-weight: 700; letter-spacing: 0.6px;
  text-transform: uppercase; color: var(--text-light);
  padding: 10px 12px; border-bottom: 1.5px solid var(--border); white-space: nowrap;
}
table.tbl td { padding: 9px 12px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
table.tbl tr:last-child td { border-bottom: none; }
table.tbl tbody tr:hover { background: var(--azure-light); }
table.tbl .num { font-variant-numeric: tabular-nums; text-align: right; }

/* ── Lignes médaillées (classements équipe/individuel, 1er = doré, etc.) ── */
table.tbl tr.medal-1 { background: #FDF3D9; }
table.tbl tr.medal-1:hover { background: #FBEAC0; }
table.tbl tr.medal-2 { background: #EEF1F4; }
table.tbl tr.medal-2:hover { background: #E4E8EC; }
table.tbl tr.medal-3 { background: #F7E9DD; }
table.tbl tr.medal-3:hover { background: #F0DCC9; }

/* ── Évolution de classement (+2 / -3 / =) ─────────────── */
.evo { font-family: var(--mono); font-size: 11px; font-weight: 700; padding: 1px 5px; border-radius: 5px; white-space: nowrap; }
.evo.up   { background: var(--green-light); color: var(--green); }
.evo.down { background: var(--red-light);   color: var(--red); }
.evo.eq   { background: #EAEDF2; color: #6b7280; }
.evo.new  { background: var(--azure-light); color: var(--azure-deep); }

/* ── Podium (top 3 avec médailles) ────────────────────── */
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 8px; align-items: end; margin-bottom: 18px; }
.podium-step { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 12px 10px; text-align: center; }
.podium-step.p1 { padding-top: 18px; padding-bottom: 18px; border-color: rgba(212,160,23,0.55); box-shadow: 0 2px 10px rgba(224,168,13,0.15); }
.podium-medal { width: 34px; height: 34px; border-radius: 50%; margin: 0 auto; display: flex;
  align-items: center; justify-content: center; font-family: var(--display); font-weight: 800;
  font-size: 15px; color: #fff; box-shadow: inset 0 -2px 4px rgba(0,0,0,0.15); }
.podium-medal.m1 { background: linear-gradient(140deg, #FCE38A, #E0A80D); color: #6a4d00; }
.podium-medal.m2 { background: linear-gradient(140deg, #E7ECF2, #A7B0BC); color: #4a5561; }
.podium-medal.m3 { background: linear-gradient(140deg, #EAB183, #B76E2D); color: #4a2c10; }
.podium-name { font-weight: 800; font-size: 13px; margin-top: 4px; word-break: break-word; }
.podium-sub  { font-size: 11px; color: var(--text-light); }
.podium-pts  { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--azure-deep); margin-top: 4px; }
@media (max-width: 520px) { .podium { grid-template-columns: 1fr; } .podium-step.p1 { padding: 12px 10px; } }

/* ── Fiche joueur (modal stats) ───────────────────────── */
.mj-team { font-size: 12.5px; color: var(--text-mid); margin-bottom: 10px; }
.mj-tbl th, .mj-tbl td { padding: 7px 10px; font-size: 12.5px; }
.mj-tbl td:first-child, .mj-tbl th:first-child { white-space: nowrap; }
.mj-tbl td.num.g { color: var(--green); font-weight: 700; }
.mj-tbl td.num.p { color: var(--red); font-weight: 700; }
.mj-tbl td.num.pct { font-weight: 800; color: var(--azure-deep); }

/* ── BADGES ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; border-radius: 20px; padding: 2px 9px; white-space: nowrap;
}
.badge-grey   { background: #EAEDF2; color: #5A6273; }
.badge-blue   { background: var(--azure-light); color: var(--azure-deep); }
.badge-green  { background: var(--green-light); color: var(--green); }
.badge-orange { background: var(--orange-light); color: var(--orange); }
.badge-red    { background: var(--red-light); color: var(--red); }

/* ── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(16,32,58,0.55);
  display: none; align-items: center; justify-content: center; padding: 18px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 16px; width: 100%; max-width: 460px;
  max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 60px rgba(16,32,58,0.3);
}
.modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.modal-title { font-size: 16px; font-weight: 800; }
.modal-close { background: none; border: none; font-size: 20px; color: var(--text-light); cursor: pointer; line-height: 1; }
.modal-body { padding: 20px; }
.modal-footer { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; gap: 10px; }

/* ── EMPTY / TOAST / MISC ───────────────────────────────── */
.empty-state { text-align: center; padding: 44px 20px; color: var(--text-light); }
.empty-state .icon { font-size: 40px; margin-bottom: 10px; }
.empty-state .title { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.empty-state .sub { font-size: 13px; margin-bottom: 18px; line-height: 1.6; }

.note {
  border-radius: 10px; padding: 12px 15px; font-size: 13px; line-height: 1.6; margin: 12px 0;
}
.note-blue   { background: var(--azure-light); color: var(--azure-deep); }
.note-orange { background: var(--orange-light); color: var(--orange); }

.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: #fff; font-size: 13px; font-weight: 600;
  padding: 11px 20px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  opacity: 0; pointer-events: none; transition: all 0.25s; z-index: 90;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.spinner-inline {
  display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.section-sep {
  display: flex; align-items: center; gap: 10px; margin: 26px 0 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--text-light);
}
.section-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── ARBRE BARS → ÉQUIPES → JOUEURS ─────────────────────── */
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }

.bar-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 14px; overflow: hidden;
}
.bar-head {
  display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap;
  padding: 13px 16px 13px 38px; background: var(--azure-light); border-bottom: 1px solid var(--border);
  cursor: pointer; position: relative; user-select: none;
}
.bar-head::before {
  content: '▾'; position: absolute; left: 15px; top: 13px;
  font-size: 12px; color: var(--azure-deep); transition: transform 0.15s;
}
.bar-card.collapsed .bar-head { border-bottom: none; }
.bar-card.collapsed .bar-head::before { transform: rotate(-90deg); }
.bar-card.collapsed .bar-body { display: none; }
.bar-head-main { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 8px; }
.div-logo-thumb { height: 28px; width: auto; max-width: 84px; object-fit: contain; border-radius: 4px; flex: none; }
.bar-head-title { font-weight: 800; font-size: 15px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bar-head-sub { font-size: 12px; color: var(--text-mid); margin-top: 3px; }
.bar-head-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.bar-body { padding: 8px 12px 12px; }

.eq-block { border: 1px solid var(--border); border-radius: 8px; margin-top: 8px; overflow: hidden; }
.eq-head {
  display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap;
  padding: 9px 12px 9px 32px; background: #E4ECF7; border-bottom: 1px solid var(--border-light);
  cursor: pointer; position: relative; user-select: none;
}
.eq-head:hover { background: #DAE5F5; }
.eq-head::before {
  content: '▾'; position: absolute; left: 12px; top: 10px;
  font-size: 11px; color: var(--azure); transition: transform 0.15s;
}
.eq-block.collapsed .eq-head { border-bottom: none; }
.eq-block.collapsed .eq-head::before { transform: rotate(-90deg); }
.eq-block.collapsed .pl-head,
.eq-block.collapsed .pl-row,
.eq-block.collapsed .eq-empty { display: none; }
.eq-head-main { flex: 1 1 200px; min-width: 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.eq-head-actions { display: flex; gap: 5px; flex-wrap: wrap; }
.eq-empty { padding: 12px 14px; color: var(--text-light); font-style: italic; font-size: 12.5px; }

/* liste des joueurs — grille responsive (pas de <table>) */
.pl-head, .pl-row {
  display: grid;
  grid-template-columns: minmax(0,1fr) 118px minmax(0,1.1fr) auto;
  gap: 10px; align-items: center;
  padding: 8px 14px;
}
.pl-head {
  font-size: 10px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--text-light); border-bottom: 1.5px solid var(--border);
}
.pl-row { border-bottom: 1px solid var(--border-light); font-size: 13px; background: #fff; }
.pl-row:nth-child(even) { background: #F5F8FC; }
.pl-row:last-child { border-bottom: none; }
.pl-row:hover { background: var(--azure-light); }
.pl-name { font-weight: 600; display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.pl-name .badge { margin-left: 4px; }
.pl-email { font-size: 11.5px; color: var(--text-light); word-break: break-word; }
.pl-actions { display: flex; gap: 4px; justify-content: flex-end; }

/* Badge « n° de licence » — carré arrondi, réutilisé partout */
.lic-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 34px; padding: 0 10px;
  font-family: var(--mono); font-size: 17px; font-weight: 700; line-height: 1;
  border-radius: 9px; background: var(--azure); color: #fff;
  letter-spacing: 0.5px; white-space: nowrap;
}
.lic-badge.none {
  font-size: 11px; font-weight: 600; font-style: italic; letter-spacing: 0;
  background: var(--orange-light); color: var(--orange);
}
.lic-badge.sm { min-width: 34px; height: 28px; font-size: 14px; border-radius: 7px; padding: 0 8px; }

/* Badge « capitaine » (visuel fourni) */
.cap-badge { height: 18px; width: 18px; vertical-align: middle; flex-shrink: 0; }
.cap-badge.sm { height: 15px; width: 15px; }

@media (max-width: 620px) {
  .pl-head { display: none; }
  .pl-row {
    grid-template-columns: 1fr auto;
    grid-template-areas: "name actions" "lic email";
    gap: 6px 10px; padding: 10px 14px;
  }
  .pl-name    { grid-area: name; }
  .pl-actions { grid-area: actions; }
  .pl-email   { grid-area: email; align-self: center; }
  .pl-email:empty { display: none; }
  .pl-lic     { grid-area: lic; }
}

/* Vue globale des paramètres (divisions.php) — tableau croisé paramètre × division */
.ga-layout { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.ga-main { flex: 3 1 480px; min-width: 0; }
.ga-side { flex: 1 1 220px; min-width: 200px; }
.ga-side-title { font-weight: 800; font-size: 12px; color: var(--azure-deep); text-transform: uppercase;
  letter-spacing: .4px; margin-bottom: 8px; }
.ga-scroll { overflow-x: auto; }
.ga-table, .ga-bars-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.ga-table th, .ga-bars-table th {
  text-align: left; font-size: 10px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--text-light); padding: 6px 8px; border-bottom: 1.5px solid var(--border); white-space: nowrap;
}
.ga-table td, .ga-bars-table td { padding: 5px 8px; border-bottom: 1px solid var(--border-light); vertical-align: middle; }
.ga-table tr:nth-child(even) td, .ga-bars-table tr:nth-child(even) td { background: #F5F8FC; }
.ga-param { font-weight: 800; font-family: var(--mono); color: var(--navy); white-space: nowrap; }
.ga-na { color: var(--text-light); text-align: center; font-style: italic; }
.ga-select { padding: 5px 7px; font-size: 12px; min-width: 160px; }
.ga-bars-table td:last-child, .ga-bars-table th:last-child { text-align: right; }
@media (max-width: 720px) {
  .ga-layout { flex-direction: column; }
  .ga-select { min-width: 130px; }
}
