:root {
  --bg: #f3f4f8;
  --bg-elevated: #ffffff;
  --sidebar: #101014;
  --sidebar-hover: #1a1a22;
  --sidebar-active: #22222c;
  --text: #111118;
  --text-muted: #6b7280;
  --border: #e8eaf0;
  --border-strong: #d8dbe6;
  --accent: #c9a227;
  --accent-strong: #b08816;
  --accent-soft: rgba(201, 162, 39, 0.12);
  --danger: #dc2626;
  --danger-soft: rgba(220, 38, 38, 0.08);
  --success: #15803d;
  --success-soft: rgba(21, 128, 61, 0.1);
  --shadow-sm: 0 1px 2px rgba(16, 16, 20, 0.05);
  --shadow-md: 0 10px 30px rgba(16, 16, 20, 0.08);
  --shadow-lg: 0 24px 60px rgba(16, 16, 20, 0.12);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --sidebar-width: 248px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "PingFang SC", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.eyebrow {
  margin: 0 0 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #17171d 0%, #2a2a34 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(17, 17, 24, 0.18);
}

.btn-primary:hover {
  box-shadow: 0 12px 24px rgba(17, 17, 24, 0.22);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-block {
  width: 100%;
  padding: 14px 18px;
}

.btn-lg {
  padding: 14px 22px;
  font-size: 15px;
}

.btn-icon {
  font-size: 16px;
  line-height: 1;
}

/* Alerts */
.alert {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.alert-error {
  background: var(--danger-soft);
  color: #991b1b;
  border: 1px solid rgba(220, 38, 38, 0.15);
}

/* Auth page */
.page-auth {
  background:
    radial-gradient(circle at top left, rgba(201, 162, 39, 0.18), transparent 34%),
    linear-gradient(180deg, #f8f8fb 0%, #eef0f5 100%);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
}

.auth-hero {
  display: flex;
  align-items: center;
  padding: 48px;
  background:
    linear-gradient(145deg, rgba(16, 16, 20, 0.96), rgba(28, 28, 36, 0.92)),
    radial-gradient(circle at 80% 20%, rgba(201, 162, 39, 0.22), transparent 30%);
  color: #fff;
}

.auth-hero-inner {
  max-width: 420px;
}

.auth-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.auth-hero-desc {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.7;
}

.auth-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.auth-features li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.auth-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.auth-card {
  width: min(100%, 420px);
  padding: 36px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.auth-card-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.auth-card-head p {
  margin: 0 0 24px;
  color: var(--text-muted);
}

/* App shell */
.page-app {
  background: var(--bg);
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 16px;
  background: var(--sidebar);
  color: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 28px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #e8c65a);
  color: #111;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 15px;
}

.brand-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.48);
}

.sidebar-footer {
  display: grid;
  gap: 6px;
}

.sidebar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  padding: 0 6px 4px;
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.38);
}

.sidebar-meta-version {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.5);
}

.sidebar-meta-dot {
  opacity: 0.5;
}

.sidebar-meta-time {
  font-variant-numeric: tabular-nums;
}

.sidebar-nav {
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-item:hover,
.nav-item.is-active {
  background: var(--sidebar-active);
  color: #fff;
}

.nav-item.is-active {
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.25);
}

.nav-icon {
  width: 18px;
  text-align: center;
  opacity: 0.9;
}

.nav-logout {
  color: rgba(255, 255, 255, 0.56);
}

.app-main {
  min-width: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 32px;
  background: rgba(243, 244, 248, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 234, 240, 0.8);
}

.topbar-title h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.content {
  padding: 8px 32px 40px;
}

.content-form {
  max-width: 980px;
}

/* Panel / table */
.panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.panel-head h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.panel-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

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

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #fafbfe;
}

.data-table tbody tr:hover {
  background: #fafbff;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.slug-chip {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4f5f8;
  color: #374151;
  font-size: 12px;
}

.cell-name {
  font-weight: 600;
}

.col-actions {
  width: 220px;
}

.row-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.row-actions form {
  margin: 0;
}

.action-link {
  padding: 0;
  border: none;
  background: none;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.action-link:hover {
  color: var(--accent-strong);
}

.action-danger {
  color: var(--danger);
}

.action-danger:hover {
  color: #b91c1c;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.badge-success {
  background: var(--success-soft);
  color: var(--success);
}

.badge-muted {
  background: #f3f4f6;
  color: #6b7280;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 420px;
  padding: 48px 24px;
  text-align: center;
  background: var(--bg-elevated);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}

.empty-icon {
  font-size: 42px;
}

.empty-state h2 {
  margin: 0;
  font-size: 24px;
}

.empty-state p {
  max-width: 420px;
  margin: 0 0 8px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Form */
.card-form {
  display: grid;
  gap: 20px;
}

.form-section {
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.section-head {
  margin-bottom: 20px;
}

.section-head h2 {
  margin: 0 0 4px;
  font-size: 18px;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-span-2 {
  grid-column: span 2;
}

.field label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus {
  outline: none;
  border-color: rgba(201, 162, 39, 0.65);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.field-hint {
  font-size: 12px;
  color: var(--text-muted);
}

.field-hint code {
  padding: 2px 6px;
  border-radius: 6px;
  background: #f4f5f8;
}

.upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.upload-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, #fff, #fafbff);
}

.upload-card-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.upload-card-head strong {
  font-size: 15px;
}

.upload-card-head span {
  font-size: 12px;
  color: var(--text-muted);
}

.upload-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  padding: 20px;
  border: 1.5px dashed var(--border-strong);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.upload-zone:hover,
.upload-zone.is-dragover {
  border-color: rgba(201, 162, 39, 0.65);
  background: var(--accent-soft);
}

.upload-zone.is-uploading {
  opacity: 0.65;
  pointer-events: none;
}

.upload-placeholder {
  color: var(--text-muted);
  font-size: 14px;
  text-align: center;
}

.preview {
  margin-top: 14px;
}

.preview img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.toggle-ui {
  position: relative;
  width: 46px;
  height: 28px;
  border-radius: 999px;
  background: #d1d5db;
  transition: background 0.15s ease;
}

.toggle-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease;
}

.toggle input:checked + .toggle-ui {
  background: linear-gradient(135deg, var(--accent), #e8c65a);
}

.toggle input:checked + .toggle-ui::after {
  transform: translateX(18px);
}

.toggle-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toggle-label strong {
  font-size: 14px;
}

.toggle-label small {
  color: var(--text-muted);
  font-size: 12px;
}

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

  .auth-hero {
    min-height: 280px;
    padding: 32px 24px;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .topbar,
  .content {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .field-span-2 {
    grid-column: auto;
  }

  .form-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .form-footer .btn-lg {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .row-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .data-table th,
  .data-table td {
    padding: 14px 16px;
  }
}

/* Stats page */
.topbar-subtitle {
  margin: 6px 0 0;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  padding: 22px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.stat-card-accent {
  border-color: rgba(201, 162, 39, 0.35);
  background: linear-gradient(180deg, #fff 0%, rgba(201, 162, 39, 0.06) 100%);
}

.stat-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-value {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-hint {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--text-muted);
}

.stats-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 20px;
}

/* Vertical bar chart */
.bar-chart {
  position: relative;
  padding: 8px 4px 4px;
}

.bar-chart-y-axis {
  position: absolute;
  inset: 36px 0 54px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.bar-chart-y-axis span {
  display: block;
  border-top: 1px dashed #eceef3;
}

.bar-chart-bars {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  min-height: 200px;
  padding: 0 2px;
}

.bar-chart-bars--months {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.bar-chart-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.bar-chart-value {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-height: 18px;
  line-height: 18px;
}

.bar-chart-item.is-current .bar-chart-value {
  color: var(--accent-strong);
}

.bar-chart-col-wrap {
  width: 100%;
  max-width: 44px;
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.bar-chart-col {
  width: 100%;
  min-height: 0;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #e8c547 0%, var(--accent) 55%, #a67c00 100%);
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.22);
  transition: height 0.35s ease;
}

.bar-chart-item.is-current .bar-chart-col {
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.32);
}

.bar-chart-item.is-empty .bar-chart-col {
  display: none;
}

.bar-chart-item.is-empty .bar-chart-col-wrap::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: #e8eaf0;
}

.bar-chart-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 52px;
  padding: 6px 8px 5px;
  border-radius: 10px;
  background: #f3f4f8;
  border: 1px solid transparent;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.bar-chart-date.is-current-date {
  background: var(--accent-soft);
  border-color: rgba(201, 162, 39, 0.35);
}

.date-year {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #9ca3af;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.bar-chart-date.is-current-date .date-year {
  color: var(--accent-strong);
}

.date-month {
  display: flex;
  align-items: baseline;
  gap: 1px;
  line-height: 1;
}

.date-num {
  font-size: 18px;
  font-weight: 700;
  color: #374151;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.bar-chart-date.is-current-date .date-num {
  color: #111118;
}

.date-unit {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}

.bar-chart-date.is-current-date .date-unit {
  color: var(--accent-strong);
}

/* Daily chart — horizontal scroll (current month) */
.panel-day-chart {
  margin-top: 20px;
}

.day-chart-wrap {
  position: relative;
  margin: 0 -8px;
}

.day-chart-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  pointer-events: none;
  z-index: 1;
}

.day-chart-fade--right {
  right: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), var(--bg-elevated) 80%);
}

.day-chart-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 16px;
  scrollbar-width: none;
  padding: 4px 12px 8px;
}

.day-chart-scroll::-webkit-scrollbar {
  display: none;
}

.day-chart-scroll:focus {
  outline: none;
}

.day-chart-bars {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 6px;
  width: max-content;
  min-height: 168px;
  padding: 0 4px;
}

.day-chart-item {
  flex: 0 0 36px;
  scroll-snap-align: center;
}

.bar-chart-col-wrap--day {
  max-width: 28px;
  height: 100px;
}

.day-chart-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  min-width: 32px;
  padding: 4px 2px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
}

.day-chart-date.is-current-date {
  background: var(--accent-soft);
  border-color: rgba(201, 162, 39, 0.35);
}

.day-weekday {
  font-size: 10px;
  font-weight: 600;
  color: #b0b5bf;
  line-height: 1;
}

.day-weekday.is-weekend {
  color: #c4a8a8;
}

.day-chart-date.is-current-date .day-weekday {
  color: var(--accent-strong);
}

.day-num {
  font-size: 14px;
  font-weight: 700;
  color: #4b5563;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.day-chart-date.is-current-date .day-num {
  color: #111118;
}

.day-chart-item.is-weekend:not(.is-today) .bar-chart-col {
  opacity: 0.88;
}

.bar-chart-item.is-today .bar-chart-value {
  color: var(--accent-strong);
}

.col-count {
  width: 96px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.cell-muted {
  color: var(--text-muted);
  font-size: 13px;
}

.empty-inline {
  padding: 28px 24px;
  color: var(--text-muted);
  font-size: 14px;
}

.panel-system {
  margin-top: 20px;
}

.system-info-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 4px 24px 20px;
}

.system-info-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.system-info-row:last-child {
  border-bottom: none;
}

.system-info-row dt {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.system-info-row dd {
  margin: 0;
  font-size: 14px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.build-ref {
  font-size: 12px;
  color: var(--text-muted);
  background: #f3f4f8;
  padding: 2px 6px;
  border-radius: 6px;
}

@media (max-width: 960px) {
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats-panels {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .bar-chart-bars--months {
    gap: 6px;
  }

  .bar-chart-bars {
    gap: 6px;
    min-height: 180px;
  }

  .bar-chart-col-wrap {
    max-width: 34px;
    height: 120px;
  }

  .bar-chart-value {
    font-size: 10px;
  }

  .bar-chart-date {
    min-width: 44px;
    padding: 5px 4px 4px;
  }

  .date-num {
    font-size: 15px;
  }

  .date-year {
    font-size: 9px;
  }

  .day-chart-item {
    flex-basis: 32px;
  }

  .bar-chart-col-wrap--day {
    max-width: 24px;
    height: 88px;
  }

  .day-num {
    font-size: 12px;
  }
}
