/* ===================================================================
   [계절의 변화] 초등학교 6학년 과학 가상 실험실 스타일시트
   크롬북(Chromebook 1366x768 / 1920x1080) 최적화 No-Scroll 대시보드
   [시뮬레이터 화면 + 실시간 측정값 HUD] 메인 중심 UI/UX
   =================================================================== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --accent-alt: #e11d48;
  --accent-shadow: #059669;
  --accent-temp: #0284c7;
  --accent-lux: #d97706;
  --accent-sun: #f59e0b;
  
  --bg-app: #f1f5f9;
  --card-bg: #ffffff;
  --border-color: #e2e8f0;
  --border-subtle: #cbd5e1;
  --text-main: #0f172a;
  --text-muted: #64748b;
  
  --header-height: 42px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-base: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans KR', sans-serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-drawer: 0 -10px 25px rgba(0,0,0,0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden; /* 크롬북 화면에서 스크롤바 완전 제거 */
  font-family: var(--font-base);
  background: var(--bg-app);
  color: var(--text-main);
  user-select: none;
}

/* ===================================================================
   1. Ultra-Slim Header (42px) & Integrated Navigation
   =================================================================== */
header.app-header {
  height: var(--header-height);
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #fff;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  z-index: 100;
  position: relative;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-grade {
  background: rgba(255, 255, 255, 0.22);
  padding: 2px 7px;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.header-brand h1 {
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* Slim Integrated Tabs in Header or Top Bar */
.nav-tabs-wrapper {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-tab-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0e7ff;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.nav-tab-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.nav-tab-btn.active {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.12);
}

.tab-num {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
}

.nav-tab-btn.active .tab-num {
  background: var(--primary);
  color: #fff;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-header-tool {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}

.btn-header-tool:hover {
  background: rgba(255, 255, 255, 0.3);
}

.btn-header-tool.highlight {
  background: #f59e0b;
  border-color: #fbbf24;
  color: #78350f;
  font-weight: 800;
}
.btn-header-tool.highlight:hover {
  background: #fbbf24;
}

/* ===================================================================
   2. Main Container (No-Scroll Viewport 100vh - 46px)
   =================================================================== */
main.app-main {
  width: 100%;
  height: calc(100vh - var(--header-height));
  position: relative;
  overflow: hidden;
}

.lab-panel {
  display: none;
  width: 100%;
  height: 100%;
  padding: 6px 10px;
  grid-template-columns: 1fr 320px; /* 좌측 시뮬레이터 : 우측 HUD 320px 최적화 */
  gap: 10px;
  box-sizing: border-box;
}

@media (min-width: 1500px) {
  .lab-panel {
    grid-template-columns: 1fr 360px;
    padding: 8px 12px;
    gap: 12px;
  }
}

.lab-panel.active {
  display: grid;
}

/* ===================================================================
   3. Main Simulator Stage (Canvas Card) - Left Side
   =================================================================== */
.stage-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.stage-top-bar {
  height: 32px;
  padding: 0 10px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.stage-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.stage-book-tag {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 500;
  background: #e2e8f0;
  padding: 1px 5px;
  border-radius: 4px;
}

.stage-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* View Toggle Segment Controls */
.view-toggle-group {
  display: inline-flex;
  align-items: center;
  background: #e2e8f0;
  padding: 2px;
  border-radius: 6px;
  gap: 2px;
}

.btn-view-toggle {
  background: transparent;
  border: none;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
  line-height: 1.2;
  white-space: nowrap;
}

.btn-view-toggle:hover {
  background: rgba(255, 255, 255, 0.7);
  color: #1e293b;
}

.btn-view-toggle.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .stage-top-bar {
    height: auto;
    min-height: 32px;
    padding: 4px 8px;
    flex-wrap: wrap;
    gap: 4px;
  }
  .btn-view-toggle {
    padding: 2px 5px;
    font-size: 0.66rem;
  }
}

.stage-canvas-wrapper {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.stage-canvas-wrapper.dark {
  background: #090d16;
}

canvas.interactive-canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: crosshair;
}

/* In-Canvas Mini Hint Bar (Bottom Left Overlay) */
.canvas-floating-tip {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #f8fafc;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 600;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 5;
}

/* ===================================================================
   4. Collapsible Drawer Graph System (접이식 전체 그래프)
   =================================================================== */
/* Trigger Chip at bottom of Stage */
.drawer-toggle-chip {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: #ffffff;
  color: var(--primary-dark);
  border: 1.5px solid #bfdbfe;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.15);
  z-index: 10;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.drawer-toggle-chip:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.25);
  border-color: var(--primary);
}

.drawer-toggle-chip .chip-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  font-size: 0.85rem;
}

.drawer-toggle-chip.open .chip-arrow {
  transform: rotate(180deg);
}

/* Slide-Up Bottom Drawer */
.graph-bottom-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 46%;
  min-height: 180px;
  max-height: 320px;
  background: #ffffff;
  border-top: 2px solid #3b82f6;
  box-shadow: var(--shadow-drawer);
  z-index: 20;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.graph-bottom-drawer.open {
  transform: translateY(0);
}

.drawer-header {
  height: 30px;
  padding: 0 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.drawer-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-drawer-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: #64748b;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
}

.btn-drawer-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.drawer-body {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  padding: 6px;
}

canvas.graph-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Layer Toggle Chips in Drawer Header */
.layer-toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  user-select: none;
}

.layer-toggle-chip input {
  margin: 0;
  cursor: pointer;
  accent-color: var(--primary);
}

.chip-alt { background: #fee2e2; color: #b91c1c; border-color: #fca5a5; }
.chip-shadow { background: #dcfce7; color: #15803d; border-color: #86efac; }
.chip-temp { background: #e0f2fe; color: #0369a1; border-color: #7dd3fc; }

/* ===================================================================
   5. HUD Sidebar: Real-time Measurement Values & Compact Controls
   =================================================================== */
.sidebar-hud {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  gap: 6px;
  height: 100%;
  overflow-y: auto; /* 내용이 넘칠 때만 스크롤되도록 보존 */
}

/* Scrollbar styling for Chromebook */
.sidebar-hud::-webkit-scrollbar {
  width: 4px;
}
.sidebar-hud::-webkit-scrollbar-track {
  background: transparent;
}
.sidebar-hud::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

/* HUD Section Headers */
.hud-section-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0px;
}

/* Large Prominent Measurement Display Grid */
.hud-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.hud-metric-card {
  padding: 4px 7px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hud-metric-card .metric-label {
  font-size: 0.67rem;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 3px;
}

.hud-metric-card .metric-val {
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-top: 1px;
  font-feature-settings: 'tnum' 1;
}

/* Accents for Specific Metrics */
.metric-alt {
  background: #fff1f2;
  border-color: #fecdd3;
  color: #e11d48;
}
.metric-alt .metric-label { color: #be123c; }

.metric-shadow {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #059669;
}
.metric-shadow .metric-label { color: #047857; }

.metric-temp {
  background: #f0f9ff;
  border-color: #bae6fd;
  color: #0284c7;
}
.metric-temp .metric-label { color: #0369a1; }

.metric-lux {
  background: #fffbeb;
  border-color: #fde68a;
  color: #d97706;
}
.metric-lux .metric-label { color: #b45309; }

/* Triple Metric Grid for Lab 2 & Lab 4 */
.hud-metric-grid.triple {
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}
.hud-metric-grid.triple .hud-metric-card {
  padding: 3px 5px;
}
.hud-metric-grid.triple .metric-val {
  font-size: 1.08rem;
}

/* Controls Container */
.hud-control-box {
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  padding: 5px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 700;
  color: #334155;
}

.val-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 1px 6px;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-feature-settings: 'tnum' 1;
}

/* Custom Chromebook-friendly Range Sliders */
input[type="range"].hud-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e2e8f0;
  outline: none;
  cursor: pointer;
  accent-color: var(--primary);
  margin: 2px 0;
}

/* Toggle Button Groups */
.btn-group-row {
  display: flex;
  gap: 4px;
}

.btn-toggle-chip {
  flex: 1;
  min-height: 28px;
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  color: #334155;
  border-radius: var(--radius-sm);
  font-size: 0.73rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  padding: 2px 4px;
}

.btn-toggle-chip:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.btn-toggle-chip.active {
  background: var(--primary);
  border-color: var(--primary-dark);
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

/* Magnifier HUD Card (Lab 1) */
.hud-magnifier-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 3px 8px;
}

.hud-lens-view {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #3b82f6;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 2px 5px rgba(0,0,0,0.15);
  flex-shrink: 0;
}

canvas.lens-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Mini Compact Table (실험관찰 기록 도우미) */
.hud-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.69rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-color);
}

.hud-mini-table th {
  background: #f1f5f9;
  color: #475569;
  padding: 2.5px 4px;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.hud-mini-table td {
  padding: 2px 4px;
  text-align: center;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
  font-feature-settings: 'tnum' 1;
}

.hud-mini-table tr.selected {
  background: #eff6ff;
  font-weight: 800;
  color: var(--primary-dark);
}

/* Compact Info Badge */
.hud-info-badge {
  background: #f1f5f9;
  border-left: 3px solid var(--primary);
  padding: 4px 8px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.69rem;
  color: #334155;
  line-height: 1.35;
}

.hud-info-badge strong {
  color: var(--primary-dark);
}

/* Day/Night 24h Bar (Lab 3) */
.hud-day-night-bar {
  display: flex;
  height: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
  font-size: 0.64rem;
  font-weight: 800;
  color: #fff;
  text-align: center;
  line-height: 15px;
}
.bar-day { background: #f59e0b; }
.bar-night { background: #334155; }

/* Smartphone Mockup Mini Card (Lab 4) */
.hud-phone-card {
  background: #0f172a;
  border-radius: var(--radius-sm);
  padding: 4px 8px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1.5px solid #334155;
  box-shadow: var(--shadow-sm);
}

.phone-lux-big {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fbbf24;
  letter-spacing: -0.5px;
  font-family: monospace;
  line-height: 1.1;
  margin: 1px 0;
}

.phone-lux-sub {
  font-size: 0.65rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 3px;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1000;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#toast-container.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

/* Modal Window (Digital Workbook / Info Dialog) */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-card {
  width: 90%;
  max-width: 820px;
  max-height: 88vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-card-header {
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-card-header h2 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.modal-card-body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
}

.modal-card-footer {
  padding: 10px 18px;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

/* ===================================================================
   6. Chromebook Responsive Optimization (@media max-height / max-width)
   크롬북(1366x768) 및 뷰포트 높이 580~720px 환경 No-Scroll 완벽 보장
   =================================================================== */
@media (max-height: 740px) {
  :root {
    --header-height: 40px;
  }
  
  .app-header {
    padding: 0 10px;
  }
  
  .header-brand h1 {
    font-size: 0.92rem;
  }
  
  .nav-tab-btn {
    padding: 4px 8px;
    font-size: 0.75rem;
    gap: 4px;
  }

  .lab-panel {
    padding: 4px 8px;
    gap: 8px;
    grid-template-columns: 1fr 310px;
  }

  .stage-top-bar {
    height: 28px;
    padding: 0 8px;
  }

  .stage-title {
    font-size: 0.78rem;
  }

  .stage-book-tag {
    font-size: 0.64rem;
    padding: 1px 4px;
  }

  .sidebar-hud {
    padding: 5px 8px;
    gap: 4px;
  }

  .hud-section-title {
    font-size: 0.68rem;
  }

  .hud-metric-card {
    padding: 2px 6px;
  }

  .hud-metric-card .metric-label {
    font-size: 0.64rem;
  }

  .hud-metric-card .metric-val {
    font-size: 1.18rem;
  }

  .hud-metric-grid.triple .metric-val {
    font-size: 0.96rem;
  }

  .hud-control-box {
    padding: 4px 6px;
    gap: 3px;
  }

  .control-row {
    font-size: 0.7rem;
  }

  .val-pill {
    font-size: 0.7rem;
    padding: 1px 5px;
  }

  .btn-toggle-chip {
    min-height: 24px;
    font-size: 0.69rem;
    padding: 1px 3px;
  }

  .hud-magnifier-box {
    padding: 2px 6px;
    gap: 6px;
  }

  .hud-lens-view {
    width: 44px;
    height: 44px;
  }

  .hud-mini-table {
    font-size: 0.66rem;
  }

  .hud-mini-table th {
    padding: 2px 3px;
  }

  .hud-mini-table td {
    padding: 1.5px 3px;
  }

  .hud-info-badge {
    padding: 3px 6px;
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .btn-month-select {
    min-height: 22px !important;
    font-size: 0.66rem !important;
  }

  .hud-day-night-bar {
    height: 13px;
    line-height: 13px;
    font-size: 0.6rem;
  }

  .phone-lux-big {
    font-size: 1.18rem;
  }
}

@media (max-height: 630px) {
  :root {
    --header-height: 36px;
  }

  .lab-panel {
    padding: 2px 6px;
    gap: 6px;
    grid-template-columns: 1fr 300px;
  }

  .sidebar-hud {
    padding: 4px 6px;
    gap: 3px;
  }

  .hud-metric-card .metric-val {
    font-size: 1.05rem;
  }

  .btn-toggle-chip {
    min-height: 22px;
    font-size: 0.66rem;
  }
}
