:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17263a;
  background: #f1f5f8;
  font-synthesis: none;
  --nav: #0b2945;
  --nav-2: #123d63;
  --blue: #1c6596;
  --blue-soft: #e8f2f8;
  --gold: #e0aa48;
  --green: #28765f;
  --red: #a74444;
  --orange: #ad6a1d;
  --ink: #17263a;
  --muted: #6c7b8d;
  --line: #dce5ec;
  --panel: #fff;
  --shadow: 0 8px 28px rgba(12, 39, 63, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #f1f5f8; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.skip-link { position: fixed; z-index: 100; left: 16px; top: -60px; padding: 10px 14px; color: #fff; background: var(--nav); border-radius: 8px; }
.skip-link:focus { top: 12px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 258px minmax(0, 1fr); }
.sidebar { position: sticky; z-index: 20; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 20px 15px; color: #dbe8f2; background: linear-gradient(180deg, var(--nav), #0a2238); box-shadow: 6px 0 24px rgba(7, 26, 43, .12); }
.brand { display: flex; align-items: center; gap: 11px; padding: 3px 7px 18px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; color: #132d45; background: var(--gold); border-radius: 12px; font-weight: 950; letter-spacing: -.04em; }
.brand strong, .brand span { display: block; }
.brand strong { color: #fff; font-size: 15px; }
.brand span { margin-top: 2px; color: #a9c0d3; font-size: 12px; }
.demo-badge { display: flex; align-items: center; gap: 7px; margin: 0 7px 16px; padding: 7px 9px; color: #ffd884; border: 1px solid rgba(224,170,72,.4); border-radius: 8px; background: rgba(224,170,72,.09); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.demo-badge i, .environment-pill i { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(224,170,72,.15); }
nav { display: grid; gap: 5px; }
.nav-link { width: 100%; display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 10px; padding: 10px 11px; color: #c5d7e6; border: 0; border-radius: 10px; background: transparent; text-align: left; }
.nav-link:hover { color: #fff; background: rgba(255,255,255,.07); }
.nav-link.active { color: #123653; background: #f7fafc; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.nav-icon { width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 8px; font-size: 11px; font-weight: 900; opacity: .9; }
.nav-link span { min-width: 0; }
.nav-link strong, .nav-link small { display: block; }
.nav-link strong { font-size: 12px; }
.nav-link small { margin-top: 2px; color: inherit; font-size: 9px; opacity: .66; }
.sidebar-note { margin: auto 7px 13px; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 11px; background: rgba(255,255,255,.045); }
.sidebar-note strong, .sidebar-note span { display: block; }
.sidebar-note strong { color: #fff; font-size: 11px; }
.sidebar-note span { margin-top: 4px; color: #9fb8cb; font-size: 9px; line-height: 1.5; }
.user-card { display: flex; align-items: center; gap: 9px; margin: 0 7px; padding-top: 13px; border-top: 1px solid rgba(255,255,255,.1); }
.avatar { width: 33px; height: 33px; display: grid; place-items: center; color: #123653; border-radius: 50%; background: #d9e8f3; font-size: 11px; font-weight: 900; }
.user-card strong, .user-card span { display: block; }
.user-card strong { color: #fff; font-size: 11px; }
.user-card span { color: #9fb8cb; font-size: 9px; }
.workspace-shell { min-width: 0; }
.topbar { height: 66px; display: flex; align-items: center; gap: 13px; padding: 0 30px; border-bottom: 1px solid #dfe6ec; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); }
.topbar > div:first-of-type span, .topbar > div:first-of-type strong { display: block; }
.topbar > div:first-of-type span { color: #788697; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.topbar > div:first-of-type strong { margin-top: 2px; color: #23435f; font-size: 13px; }
.topbar-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.environment-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; color: #556a7d; border: 1px solid #dce5ec; border-radius: 999px; background: #f9fbfc; font-size: 10px; font-weight: 800; }
.help-button, .icon-button { border: 0; color: #315b7c; background: transparent; font-weight: 800; }
.help-button { padding: 8px 10px; border-radius: 8px; background: #eaf1f6; font-size: 10px; }
.icon-button { width: 36px; height: 36px; place-items: center; border-radius: 9px; }
.mobile-menu, .sidebar-close { display: none; }
.content { width: 100%; max-width: 1640px; margin: 0 auto; padding: 26px 30px 54px; }
.page-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.eyebrow { color: var(--blue); font-size: 9px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 6px; color: #173955; font-size: clamp(27px, 3vw, 39px); letter-spacing: -.04em; line-height: 1.05; }
h2 { margin-bottom: 5px; color: #214561; font-size: 17px; letter-spacing: -.015em; }
h3 { color: #31546f; font-size: 13px; }
p { color: var(--muted); font-size: 12px; line-height: 1.6; }
.page-header p { max-width: 760px; margin-bottom: 0; }
.period-control { display: grid; grid-template-columns: 1fr auto; gap: 8px; min-width: 520px; padding: 10px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: var(--shadow); }
.period-dates { display: grid; grid-template-columns: 1.05fr repeat(2, minmax(0, 1fr)); gap: 8px; }
.period-control label { color: #7a8997; font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.period-control input, .period-control select { width: 100%; margin-top: 3px; padding: 4px 6px; border: 1px solid #dce5ec; border-radius: 7px; color: #284c68; background: #f9fbfc; font-size: 11px; font-weight: 850; }
.period-control input[aria-invalid="true"] { border-color: var(--red); background: #fff5f5; }
.period-control button { padding: 7px 10px; border: 0; border-radius: 8px; color: #245777; background: #e8f1f7; font-size: 10px; font-weight: 850; }
.period-hint { grid-column: 1 / -1; color: #8794a0; font-size: 8px; }
.report-tabs { display: flex; align-items: center; gap: 7px; margin: -5px 0 18px; padding: 5px; overflow-x: auto; border: 1px solid #dae4ec; border-radius: 12px; background: #e7edf2; }
.report-tabs > span { padding: 0 6px; color: #758493; font-size: 8px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.report-tabs button { min-height: 34px; padding: 8px 11px; color: #52687a; border: 0; border-radius: 8px; background: transparent; font-size: 10px; font-weight: 850; white-space: nowrap; }
.report-tabs button.active { color: #174c71; background: #fff; box-shadow: 0 3px 10px rgba(15,39,62,.1); }
.table-games-menu { width: max-content; max-width: 100%; margin-top: -10px; background: #f5f8fa; }
.table-games-menu button { border: 1px solid transparent; }
.table-games-menu button.active { border-color: #c9dce8; color: #0f517c; }
.grid { display: grid; gap: 14px; }
.stat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-bottom: 16px; }
.stat-card, .panel { min-width: 0; border: 1px solid var(--line); background: var(--panel); box-shadow: 0 5px 20px rgba(15,39,62,.04); }
.stat-card { position: relative; padding: 15px; overflow: hidden; border-radius: 13px; }
.stat-card::after { content: ""; position: absolute; right: -20px; bottom: -27px; width: 70px; height: 70px; border-radius: 50%; background: rgba(28,101,150,.055); }
.stat-card span, .stat-card strong, .stat-card small { display: block; }
.stat-card span { color: #6f7f90; font-size: 9px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.stat-card strong { margin: 5px 0 2px; color: #1a405f; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.04em; white-space: nowrap; }
.stat-card small { color: #84909e; font-size: 9px; line-height: 1.35; }
.stat-card.warning { border-top: 3px solid var(--orange); }
.stat-card.positive { border-top: 3px solid var(--green); }
.stat-card.info { border-top: 3px solid var(--blue); }
.panel { padding: 17px; border-radius: 14px; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 14px; }
.panel-head p { margin-bottom: 0; font-size: 10px; }
.two-column { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr); margin-bottom: 16px; }
.three-column { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 16px; }
.four-column { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 16px; }
.chart { height: 240px; display: flex; align-items: flex-end; gap: 7px; padding: 22px 3px 0; border-top: 1px solid #edf1f4; background: repeating-linear-gradient(to bottom, transparent 0 59px, #edf2f5 60px); }
.chart-bar { position: relative; flex: 1; min-width: 7px; max-width: 48px; border-radius: 5px 5px 1px 1px; background: linear-gradient(180deg, #2775a3, #174e75); transition: opacity .2s, transform .2s; }
.chart-bar:nth-child(3n) { background: linear-gradient(180deg, #e1b45e, #bd7f28); }
.chart-bar:hover { opacity: .8; transform: translateY(-2px); }
.chart-bar span { position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%); color: #8995a0; font-size: 7px; white-space: nowrap; }
.bar-list { display: grid; gap: 12px; }
.bar-row header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; color: #4d6274; font-size: 10px; }
.bar-row header b { color: #264c68; }
.track { height: 8px; overflow: hidden; border-radius: 999px; background: #ebf0f3; }
.track i { height: 100%; display: block; border-radius: inherit; background: var(--blue); }
.table-wrap { max-width: 100%; overflow: auto; border: 1px solid #e1e7ec; border-radius: 11px; }
table { width: 100%; border-collapse: collapse; color: #3b4d5d; font-size: 10px; font-variant-numeric: tabular-nums; }
th, td { padding: 10px; border-bottom: 1px solid #e8edf1; text-align: left; white-space: nowrap; }
th:not(:last-child), td:not(:last-child) { border-right: 1px solid #e1e7ec; }
th { position: sticky; z-index: 1; top: 0; color: #667788; background: #f7f9fb; font-size: 8px; letter-spacing: .055em; text-transform: uppercase; }
.game-category-table th:nth-child(1), .game-category-table td:nth-child(1),
.game-category-table th:nth-child(4), .game-category-table td:nth-child(4),
.game-category-table th:nth-child(7), .game-category-table td:nth-child(7),
.game-category-table th:nth-child(10), .game-category-table td:nth-child(10),
.game-category-table th:nth-child(13), .game-category-table td:nth-child(13) { border-right: 3px solid #b6c5d1; }
.game-category-table th:nth-child(2), .game-category-table th:nth-child(5), .game-category-table th:nth-child(8), .game-category-table th:nth-child(11), .game-category-table th:nth-child(14) { box-shadow: inset 4px 0 0 rgba(28,101,150,.06); }
.game-row-table tbody tr:not(:last-child) td { border-bottom: 3px solid #c5d1da; }
.game-row-table tbody tr:last-child td { background: #f3f7fa; }
td.num, th.num { text-align: right; }
tbody tr:hover { background: #f8fbfd; }
td strong { color: #274a65; }
td small { display: block; margin-top: 2px; color: #87929d; font-size: 8px; }
.status { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; color: #53677a; border-radius: 999px; background: #e8edf1; font-size: 8px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.status.approved, .status.complete, .status.published { color: #1c6648; background: #e0f2e9; }
.status.review, .status.submitted { color: #236291; background: #e4eff7; }
.status.missing, .status.high { color: #9a3636; background: #f9e5e5; }
.status.late, .status.medium, .status.returned { color: #8a5b12; background: #fff0d8; }
.search-row { display: flex; gap: 8px; }
.search-row input, .search-row select { min-width: 170px; padding: 9px 10px; color: #334e62; border: 1px solid #cfdae3; border-radius: 8px; background: #fff; font-size: 10px; }
.search-row input { min-width: 250px; }
.button, .mini-button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 8px; font-weight: 850; }
.button { padding: 10px 13px; color: #fff; background: var(--blue); font-size: 10px; }
.button.secondary { color: #28516f; background: #e7eff5; }
.mini-button { padding: 6px 8px; color: #28516f; background: #e8eff4; font-size: 8px; }
.command { display: grid; grid-template-columns: 1fr 240px; gap: 24px; margin-top: 16px; padding: 27px; color: #fff; border-radius: 18px; background: radial-gradient(circle at 84% 6%, rgba(224,170,72,.22), transparent 27%), linear-gradient(130deg, #0b2c48, #155777); box-shadow: 0 18px 42px rgba(10,42,69,.15); }
.command .eyebrow { color: #add2e5; }
.command h2 { margin: 5px 0 8px; color: #fff; font-size: 26px; }
.command p { max-width: 820px; margin-bottom: 0; color: #c6dce9; }
.score { display: grid; align-content: center; padding: 16px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.08); }
.score span, .score strong, .score small { display: block; }
.score span { color: #b9d2e1; font-size: 8px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.score strong { margin: 4px 0; font-size: 34px; }
.score small { color: #bad0dc; font-size: 9px; }
.metric-card { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.metric-card header { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid #edf1f4; }
.metric-card header span { color: #84909b; font-size: 8px; font-weight: 900; }
.metric-card dl { margin: 10px 0 0; }
.metric-card dl div { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font-size: 9px; }
.metric-card dt { color: #718090; }
.metric-card dd { margin: 0; color: #264c68; font-weight: 900; }
.attention-list { display: grid; gap: 8px; }
.attention-item { display: grid; grid-template-columns: 9px 1fr auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid #e3e9ee; border-radius: 10px; background: #fff; }
.attention-item > i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.attention-item.high > i { background: var(--red); }
.attention-item strong, .attention-item span { display: block; }
.attention-item strong { color: #31516a; font-size: 10px; }
.attention-item span { margin-top: 2px; color: #81909d; font-size: 8px; }
.pipeline { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.pipeline article { position: relative; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.pipeline article:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; right: -12px; top: 50%; color: #89a0b1; font-weight: 900; }
.pipeline b, .pipeline span { display: block; }
.pipeline b { color: #25506e; font-size: 23px; }
.pipeline span { color: #7b8996; font-size: 9px; }
.catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.catalog-card { display: flex; flex-direction: column; min-height: 180px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow); }
.catalog-card .catalog-icon { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 14px; color: #1f608c; border-radius: 10px; background: #e6f0f6; font-size: 11px; font-weight: 950; }
.catalog-card p { flex: 1; font-size: 10px; }
.catalog-card footer { display: flex; justify-content: space-between; align-items: center; padding-top: 11px; border-top: 1px solid #edf1f4; }
.catalog-card footer span { color: #80909d; font-size: 8px; }
.empty-note { padding: 24px; color: #738596; border: 1px dashed #cbd8e2; border-radius: 11px; background: #f8fbfd; text-align: center; font-size: 10px; }
.guide-backdrop { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(5,22,37,.62); backdrop-filter: blur(4px); }
.guide { width: min(680px, 100%); max-height: 90vh; overflow: auto; padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 26px 80px rgba(0,0,0,.28); }
.guide header { display: flex; justify-content: space-between; gap: 20px; }
.guide ol { padding-left: 22px; color: #5c7081; font-size: 11px; line-height: 1.8; }
.toast { position: fixed; z-index: 80; right: 24px; bottom: 24px; max-width: 340px; padding: 12px 15px; color: #fff; border-radius: 10px; background: #173f5e; box-shadow: 0 16px 36px rgba(0,0,0,.2); font-size: 10px; opacity: 0; transform: translateY(12px); pointer-events: none; transition: .2s; }
.toast.show { opacity: 1; transform: translateY(0); }
.svg-chart { min-width: 0; padding-top: 8px; }
.svg-chart svg { width: 100%; height: 250px; overflow: visible; }
.chart-grid line { stroke: #e9eef2; stroke-width: 1; stroke-dasharray: 4 5; }
.svg-labels { display: flex; justify-content: space-between; padding: 0 16px 0 21px; color: #8794a0; font-size: 8px; }
.chart-legend { display: flex; flex-wrap: wrap; gap: 12px; color: #6d7d89; font-size: 9px; font-weight: 800; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; }
.chart-legend i { width: 18px; height: 3px; display: inline-block; border-radius: 99px; }
.chart-summary { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e8edf1; }
.chart-summary span, .chart-summary strong, .chart-summary small { display: block; }
.chart-summary span { color: #768593; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.chart-summary strong { margin: 4px 0 2px; color: #264b67; font-size: 14px; }
.chart-summary small { color: #8995a0; font-size: 8px; }
.report-kpi-strip { grid-template-columns: repeat(5, minmax(0,1fr)); margin-bottom: 16px; }
.report-kpi-strip .stat-card { min-height: 105px; }
.report-dashboard-grid { grid-template-columns: minmax(0,1.7fr) minmax(280px,.72fr); margin-bottom: 16px; }
.report-dashboard-grid.secondary { grid-template-columns: repeat(2, minmax(0,1fr)); }
.report-dashboard-grid .panel-head { align-items: center; }
.scorecard-list { display: grid; gap: 8px; }
.scorecard-list > div { padding: 11px 12px; border: 1px solid #e3e9ee; border-radius: 10px; background: #f8fafb; }
.scorecard-list span, .scorecard-list strong, .scorecard-list small { display: block; }
.scorecard-list span { color: #72818e; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.scorecard-list strong { margin: 3px 0; color: #214863; font-size: 17px; }
.scorecard-list small { color: #86939e; font-size: 8px; }
.workflow-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 16px; }
.workflow-card { display: grid; min-height: 125px; align-content: start; }
.workflow-card > span { color: #6b7b89; font-size: 9px; font-weight: 900; text-transform: uppercase; }
.workflow-card > strong { margin: 8px 0 4px; color: #214863; font-size: 23px; }
.workflow-card > small { color: #85919d; font-size: 8px; }
.workflow-icon { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: 12px; color: #20628e; border-radius: 9px; background: #e5f0f6; font-size: 9px; font-weight: 950; }
.review-grid { grid-template-columns: minmax(0,1.45fr) minmax(300px,.75fr); margin-bottom: 16px; }
.exception-count { float: right; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -54px; color: #8e5b11; border-radius: 50%; background: #fff0d7; font-weight: 950; }
.governance-steps { display: grid; gap: 8px; margin-top: 15px; }
.governance-steps > div { display: grid; grid-template-columns: 30px 1fr; gap: 9px; align-items: center; padding: 8px; border-radius: 9px; background: #f6f9fb; }
.governance-steps b { color: #2b688f; font-size: 10px; }
.governance-steps strong, .governance-steps small { display: block; }
.governance-steps strong { color: #34546b; font-size: 9px; }
.governance-steps small { color: #85919c; font-size: 8px; }
.governance-note { margin-top: 12px; padding: 10px; color: #6a7885; border: 1px solid #dee7ed; border-radius: 9px; background: #f8fafb; font-size: 9px; }
.register-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.register-groups > section { overflow: hidden; border: 1px solid #dfe7ed; border-radius: 11px; }
.register-groups header { display: flex; gap: 9px; align-items: center; padding: 12px; background: #f4f8fa; }
.register-groups header b { color: #28658b; }
.register-groups header strong, .register-groups header small { display: block; }
.register-groups header strong { color: #2d4e65; font-size: 10px; }
.register-groups header small { color: #82909c; font-size: 8px; }
.register-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 12px; border-top: 1px solid #edf1f4; font-size: 9px; }
.register-row span { color: #71808d; }
.register-row strong { color: #274c66; }
.filter-panel { display: grid; grid-template-columns: 2fr repeat(4,1fr); gap: 10px; margin-bottom: 16px; }
.filter-panel label { color: #667787; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.filter-panel input, .filter-panel select { width: 100%; margin-top: 5px; padding: 9px; color: #365267; border: 1px solid #d3dee6; border-radius: 8px; background: #fff; font-size: 9px; }
.pie-visual { width: 170px; height: 170px; margin: 24px auto 10px; border-radius: 50%; background: conic-gradient(#1f6388 0 72%, #d9a441 72% 100%); box-shadow: inset 0 0 0 42px #fff; }
.game-summary-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; }
.game-summary-grid article { padding: 13px; border: 1px solid #e0e7ed; border-radius: 11px; background: #fafcfd; }
.game-summary-grid article > span, .game-summary-grid article > strong { display: block; }
.game-summary-grid article > span { color: #6f7f8c; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.game-summary-grid article > strong { margin: 6px 0 9px; color: #234a65; font-size: 17px; }
.game-summary-grid article div { display: flex; justify-content: space-between; padding: 5px 0; border-top: 1px solid #e9eef2; color: #73818d; font-size: 8px; }
.game-summary-grid article b { color: #31536a; }
.nav-scrim { display: none; }
@media (max-width: 1180px) {
  .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .four-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .report-kpi-strip { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .workflow-grid, .game-summary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: 0; transform: translateX(-105%); width: min(290px, 86vw); transition: transform .2s; }
  .sidebar.open { transform: translateX(0); }
  .sidebar.open + .workspace-shell + .nav-scrim { display: block; position: fixed; z-index: 15; inset: 0; border: 0; background: rgba(5,22,37,.5); }
  .mobile-menu, .sidebar-close { display: grid; }
  .sidebar-close { margin-left: auto; color: #d9e7f2; font-size: 20px; }
  .content { padding: 22px 18px 44px; }
  .topbar { padding: 0 18px; }
  .two-column, .command, .report-dashboard-grid, .report-dashboard-grid.secondary, .review-grid { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pipeline article::after { display: none; }
  .register-groups { grid-template-columns: 1fr; }
  .filter-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 620px) {
  .topbar-actions .environment-pill { display: none; }
  .page-header { display: grid; }
  .period-control { min-width: 0; width: 100%; }
  .period-dates { grid-template-columns: 1fr; }
  .stat-grid, .three-column, .four-column, .catalog-grid, .pipeline, .report-kpi-strip, .workflow-grid, .game-summary-grid, .filter-panel, .chart-summary { grid-template-columns: 1fr; }
  .search-row { display: grid; }
  .search-row input, .search-row select { width: 100%; min-width: 0; }
  .chart { height: 190px; }
  .command { padding: 22px; }
  .score { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
