@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&family=Sora:wght@500;600;700&display=swap");

:root {
  --bg: #0b1220;
  --bg-elev: #101a2c;
  --surface: #101b2e;
  --surface-soft: #122039;
  --line: #314764;
  --line-strong: #3f5e8a;
  --text: #e7eefb;
  --muted: #9fb0ce;
  --accent: #4aa3ff;
  --accent-strong: #3b92ef;
  --success: #36c58a;
  --warning: #e2b15b;
  --danger: #f28a8a;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 18px;
  --shadow: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  line-height: 1.45;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 236px 1fr;
}

.sidebar {
  background: #0d1628;
  border-right: 1px solid var(--line);
  padding: 12px 10px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  color: var(--text);
}

.sidebar-brand-text {
  display: grid;
  gap: 2px;
}

.sidebar-nav {
  display: grid;
  gap: 4px;
  align-content: start;
}

.sidebar-group-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 7px 8px 5px;
  color: #c7dbf6;
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.sidebar-group-title:first-child {
  margin-top: 2px;
}

.sidebar-group-title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 163, 255, 0.14);
}

.sidebar-group-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--line-strong), transparent);
}

.sidebar-link {
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 600;
}

.sidebar-link:hover {
  color: var(--text);
  background: #15233b;
  border-color: var(--line);
}

.sidebar-link.active {
  color: var(--text);
  background: #1b2d49;
  border-color: var(--line-strong);
}

.sidebar-footer {
  border-top: 1px solid var(--line);
  padding: 10px 8px 0;
  font-size: 0.8rem;
}

.content-shell {
  min-width: 0;
}

.topbar {
  height: 54px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elev);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.topbar-title {
  font-size: 0.9rem;
  color: var(--muted);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: #74bcff;
}

.page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 30px 24px 54px;
}

.app-page {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 18px 20px 36px;
}

header.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  min-width: max-content;
}

.brand-logo {
  width: 30px;
  height: 30px;
}

.brand-label {
  display: grid;
  gap: 2px;
}

.brand-title {
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.nav-links a {
  color: var(--muted);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--text);
  border-color: var(--line);
  background: var(--surface-soft);
}

.nav-links a.active {
  color: #b9dcff;
  border-color: var(--line-strong);
  background: #1b2c49;
}

.auth-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 9px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease,
    transform 0.1s ease;
}

.btn:hover {
  background: #22324f;
  border-color: #4e6790;
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.btn.accent {
  background: var(--accent);
  border-color: transparent;
  color: #071424;
}

.btn.accent:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.btn.danger {
  background: rgba(242, 138, 138, 0.14);
  border-color: rgba(242, 138, 138, 0.4);
  color: #f8b9b9;
}

.card,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.card {
  padding: 22px;
}

.panel {
  padding: 16px 18px;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.subpanel {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-soft);
  padding: 14px;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.section-title {
  margin: 0;
  font-size: 1.06rem;
  font-family: "Sora", "IBM Plex Sans", sans-serif;
}

.section-subtitle {
  margin: 0;
  color: var(--muted);
}

.hero-banner {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-banner.image {
  background-size: cover;
  background-position: center;
}

.hero-banner.image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 22, 0.5);
}

.hero-content {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 24px;
  max-width: 900px;
}

.eyebrow {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b6d9ff;
  background: #1c304f;
  border: 1px solid #335681;
}

.hero-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.7vw, 2rem);
  line-height: 1.2;
  font-family: "Sora", "IBM Plex Sans", sans-serif;
}

.pill-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #1b2c49;
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
}

.pill-button.ghost {
  background: var(--surface-soft);
}

.pill-button.accent {
  background: var(--accent);
  border-color: transparent;
  color: #071424;
}

.pill-select {
  appearance: none;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--text);
  padding: 8px 12px;
  font-weight: 600;
}

form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

input,
select,
textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: #101c32;
  color: var(--text);
  padding: 9px 11px;
  font: inherit;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #5ea8f7;
  box-shadow: 0 0 0 3px rgba(74, 163, 255, 0.16);
}

input::placeholder {
  color: #8094b6;
}

.input-with-toggle {
  display: flex;
  align-items: stretch;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong);
  background: #101c32;
  overflow: hidden;
}

.input-with-toggle input {
  border: none;
  border-radius: 0;
}

.toggle-btn {
  border: none;
  border-left: 1px solid var(--line);
  background: #1e2f4a;
  color: #9fb3d3;
  padding: 0 12px;
  cursor: pointer;
}

.toggle-btn:hover {
  background: #263956;
  color: var(--text);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  text-align: left;
  padding: 9px 8px;
  vertical-align: top;
}

th {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a8bcdb;
  border-bottom: 1px solid var(--line);
}

tbody tr {
  border-bottom: 1px solid rgba(53, 76, 110, 0.8);
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.row-link {
  transition: background-color 0.12s ease;
}

.row-link:hover {
  background: rgba(74, 163, 255, 0.12);
}

.team-row.team-1 {
  background: rgba(74, 163, 255, 0.1);
}

.team-row.team-2 {
  background: rgba(54, 197, 138, 0.08);
}

.table-scroll {
  overflow-x: auto;
}

.table-scroll table {
  min-width: 720px;
}

.filters-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.alert {
  border-radius: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(54, 197, 138, 0.44);
  background: rgba(54, 197, 138, 0.13);
  color: #9be8c7;
  font-weight: 600;
}

.error,
.alert.error {
  border-color: rgba(242, 138, 138, 0.46);
  background: rgba(242, 138, 138, 0.16);
  color: #f8bcbc;
}

.badge,
.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  background: #1a2d48;
  color: var(--text);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge.success,
.status-pill.success {
  color: #86e6ba;
  border-color: rgba(54, 197, 138, 0.52);
  background: rgba(54, 197, 138, 0.16);
}

.badge.processing,
.status-pill.processing {
  color: #9dd1ff;
  border-color: rgba(74, 163, 255, 0.52);
  background: rgba(74, 163, 255, 0.16);
}

.badge.new,
.status-pill.new {
  color: #ffd69f;
  border-color: rgba(226, 177, 91, 0.5);
  background: rgba(226, 177, 91, 0.14);
}

.badge.failed,
.status-pill.failed {
  color: #ffc0c0;
  border-color: rgba(242, 138, 138, 0.52);
  background: rgba(242, 138, 138, 0.16);
}

.tab-buttons {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.tab-btn {
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 8px 11px;
  font-weight: 700;
  cursor: pointer;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: #071424;
  background: var(--accent);
}

.tab-btn.disabled,
.tab-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.tab-panel {
  display: none;
  margin-top: 12px;
}

.tab-panel.active {
  display: block;
}

.progress-shell {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  padding: 11px;
  display: grid;
  gap: 8px;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 700;
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #1c2e4b;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.16s ease;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 16px;
  display: grid;
  place-items: center;
  background: rgba(3, 8, 16, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: min(540px, 100%);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  padding: 18px;
}

.highlight-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.highlight-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.highlight-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-rows: 145px 1fr;
  transition: border-color 0.15s ease, transform 0.12s ease;
}

.highlight-card:hover {
  border-color: #4f6d98;
  transform: translateY(-1px);
}

.highlight-card.disabled {
  opacity: 0.72;
  cursor: not-allowed;
}

.highlight-card.disabled:hover {
  transform: none;
}

.highlight-card.compact {
  grid-template-rows: 118px 1fr;
}

.highlight-thumb {
  position: relative;
  overflow: hidden;
  background: #1a2d4a;
}

.highlight-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.highlight-content {
  display: grid;
  gap: 8px;
  padding: 13px;
}

.highlight-title {
  margin: 0;
  font-size: 1rem;
  font-family: "Sora", "IBM Plex Sans", sans-serif;
}

.meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.stat-chips,
.info-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.stat-chip,
.info-chip {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-soft);
  padding: 6px 9px;
  min-width: 92px;
  display: grid;
  gap: 2px;
}

.stat-chip .label {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
}

.stat-chip .value {
  font-size: 0.92rem;
  font-weight: 700;
}

.pill-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 0.84rem;
  gap: 8px;
}

.video-shell {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-shell video {
  width: 100%;
  max-height: 520px;
  display: block;
}

.sortable {
  cursor: pointer;
  user-select: none;
}

.sortable::after {
  content: "";
  margin-left: 5px;
}

.sortable[data-dir="asc"]::after {
  content: "↑";
}

.sortable[data-dir="desc"]::after {
  content: "↓";
}

.sortable.active-sort {
  color: var(--text);
}

.data-stack > * + * {
  margin-top: 14px;
}

.data-grid {
  align-items: stretch;
}

.tabbed-card {
  padding-top: 16px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.kpi-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-soft);
  padding: 12px;
  display: grid;
  gap: 3px;
}

.kpi-label {
  font-size: 0.73rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.kpi-value {
  font-family: "Sora", "IBM Plex Sans", sans-serif;
  font-size: 1.42rem;
  line-height: 1.1;
}

.kpi-note {
  color: var(--muted);
  font-size: 0.81rem;
}

.dev-note {
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  background: var(--surface-soft);
  color: var(--muted);
  padding: 11px;
  font-size: 0.86rem;
}

.dashboard-shell {
  display: grid;
  gap: 16px;
}

.dashboard-shell.compact {
  gap: 10px;
}

.dashboard-page-head {
  padding: 2px 0 12px;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dashboard-header {
  padding: 18px 20px;
}

.dashboard-title {
  font-size: 1.28rem;
  margin-bottom: 4px;
}

.dashboard-main {
  padding: 0;
  overflow: hidden;
}

.dashboard-main.compact .dashboard-section {
  padding: 14px 16px;
}

.dashboard-main.compact .section-title {
  font-size: 1rem;
}

.dashboard-main.compact .filters-row.compact {
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
}

.dashboard-main.compact .filters-row.compact input,
.dashboard-main.compact .filters-row.compact select,
.dashboard-main.compact .filter-submit .btn {
  height: 34px;
  min-height: 34px;
}

.dashboard-section {
  padding: 18px 20px;
}

.section-divider {
  height: 1px;
  background: var(--line-strong);
  opacity: 0.85;
}

.kpi-grid.compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.kpi-grid.compact .kpi-card {
  padding: 10px;
}

.inline-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.filters-row.compact {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
}

.filters-row.compact label {
  margin: 0;
  gap: 4px;
}

.filters-row.compact input,
.filters-row.compact select {
  height: 36px;
}

input[type="datetime-local"] {
  min-height: 36px;
  height: 36px;
  line-height: 1.1;
}

.filter-submit {
  display: flex;
  align-items: end;
  align-self: end;
}

.filter-submit .btn {
  width: 100%;
  min-height: 36px;
}

.dashboard-inline-stats {
  margin-top: 0;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.dashboard-inline-stat {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
}

.dashboard-inline-stat:last-child {
  border-right: none;
}

.dashboard-inline-key {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.dashboard-inline-value {
  font-size: 1rem;
  font-weight: 700;
}

.dashboard-links-list {
  display: grid;
  margin-top: 2px;
}

.dashboard-link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}

.dashboard-link-row:last-child {
  border-bottom: none;
}

.dashboard-link-row:hover {
  background: rgba(255, 255, 255, 0.02);
}

.dashboard-link-text {
  display: grid;
  gap: 3px;
}

.dashboard-link-title {
  font-weight: 700;
}

.dashboard-link-desc {
  color: var(--muted);
  font-size: 0.9rem;
}

.dashboard-link-open {
  color: #b8d6ff;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.log-tabs {
  display: inline-flex;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.log-tab {
  color: var(--muted);
  padding: 7px 0;
  font-size: 0.84rem;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.log-tab:hover {
  color: var(--text);
}

.log-tab.active {
  color: #cfe3fb;
  border-bottom-color: #8fc1f7;
}

.dashboard-main .status-pill {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 0.84rem;
  letter-spacing: 0;
  text-transform: none;
}

.dashboard-main .status-pill.success {
  color: var(--success);
}

.dashboard-main .status-pill.failed {
  color: var(--danger);
}

.log-detail-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #0f1a2e;
}

.footer-shell {
  margin-top: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.code-break,
pre,
code,
.steam-id {
  font-family: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
}

.code-break {
  word-break: break-all;
  overflow-wrap: anywhere;
}

.muted {
  color: var(--muted);
}

@media (max-width: 1060px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    grid-template-rows: auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .sidebar-nav {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 6px;
  }

  .sidebar-group-title,
  .sidebar-footer {
    display: none;
  }

  .topbar {
    padding: 0 12px;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .auth-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 22px 14px 44px;
  }

  .app-page {
    padding: 14px;
  }

  .nav-inner {
    padding: 10px 14px;
  }

  .hero-content {
    padding: 18px;
  }

  .card,
  .panel {
    padding: 15px;
  }

  .dashboard-section,
  .dashboard-header {
    padding: 14px;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }

  .dashboard-inline-stats {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .dashboard-inline-stat:nth-child(2n) {
    border-right: none;
  }

  .dashboard-link-row {
    padding: 11px 0;
  }

  .log-tabs {
    width: 100%;
    gap: 14px;
  }

  .topbar {
    height: auto;
    min-height: 52px;
    padding: 8px 10px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .table-scroll table {
    min-width: 620px;
  }
}
