/* The Hicksyverse — Peak Design Branding */

/* Shrink the burger/toggle icon */
button[aria-label="Toggle sidebar"] {
  transform: scale(0.75) !important;
  padding: 2px 4px !important;
  margin-right: 4px !important;
}

/* Smaller font and tighter rows on all tables */
.TableInteractive .cellData,
.TableInteractive td,
.TableInteractive th,
[data-testid="TableInteractive-root"] td,
[data-testid="TableInteractive-root"] th {
  font-size: 12px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  line-height: 1.3 !important;
}

/* Smaller header text */
.TableInteractive th button,
[data-testid="header-cell"] {
  font-size: 12px !important;
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}

/* Reduce card title font slightly */
[data-testid="legend-caption-title"],
.DashCard .Card-title {
  font-size: 14px !important;
}

/* Tighter row height */
.TableInteractive tr {
  height: auto !important;
  min-height: 28px !important;
}

/* Constrain breadcrumbs so they don't push sidebar closed */
[data-testid="head-crumbs-container"],
nav[aria-label="Breadcrumbs"] {
  max-width: 400px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

[data-testid="qb-header-left-side"] {
  max-width: 50vw !important;
  overflow: hidden !important;
}

/* Make dashboard cards and tables use full width */
[data-testid="dashboard-grid"],
.DashboardGrid {
  max-width: 100% !important;
}

.TableInteractive, .cellData {
  width: 100% !important;
}

/* Hide "Getting Started" section */
[data-testid="getting-started"],
a[href="/getting-started"] {
  display: none !important;
}

h4:has(+ div a[href="/getting-started"]) {
  display: none !important;
}

/* Subtle branding footer */
body::after {
  content: "The Hicksyverse — Peak Design Amazon Analytics";
  position: fixed;
  bottom: 4px;
  right: 12px;
  font-size: 10px;
  color: #999;
  z-index: 10000;
  pointer-events: none;
}
