/* ==========================================================================
   Arman's Repertoire — Whiteboard V2
   Stationery Paper, Crisp Ink, Bubble Controls & Modular Theme Engine
   ========================================================================== */

:root {
  /* Multi-device Scaling Variables (Controlled via Drawer Sliders) */
  --desktop-table-scale: 1.0;
  --portrait-table-scale: 0.80;
  --landscape-table-scale: 0.90;

  /* --- Theme: Stationery Cream (Default) --- */
  --bg-canvas: #fbf9f5;
  --bg-card: #faf7f0;
  --bg-cell: #fcfbfa;
  --bg-cell-hover: #f4efe4;
  --bg-header: #f3ece0;
  --drawer-bg: #faf6ee;

  --ink-primary: #18181b;
  --ink-secondary: #52525b;
  --ink-muted: #71717a;
  
  --stroke-thick: 2px solid #18181b;
  --stroke-medium: 1.5px solid #18181b;
  --stroke-thin: 1px solid rgba(24, 24, 27, 0.16);
  --shadow-card: 0 4px 0 #18181b, 0 12px 28px rgba(24, 24, 27, 0.07);
  --shadow-btn: 0 2px 0 #18181b;
  --shadow-btn-hover: 0 3px 0 #18181b;

  /* Typography */
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Tag & Action Bubble Palettes */
  --bubble-bg-purple: #ede9fe;
  --bubble-border-purple: #7c3aed;
  --bubble-text-purple: #5b21b6;

  --bubble-bg-green: #dcfce7;
  --bubble-border-green: #16a34a;
  --bubble-text-green: #14532d;

  --bubble-bg-blue: #e0f2fe;
  --bubble-border-blue: #0284c7;
  --bubble-text-blue: #075985;

  --tag-bg-rock: #fef3c7;
  --tag-border-rock: #d97706;
  --tag-text-rock: #92400e;

  --tag-bg-acoustic: #dcfce7;
  --tag-border-acoustic: #16a34a;
  --tag-text-acoustic: #166534;

  --tag-bg-soul: #e0f2fe;
  --tag-border-soul: #0284c7;
  --tag-text-soul: #075985;

  --tag-bg-pop: #ede9fe;
  --tag-border-pop: #7c3aed;
  --tag-text-pop: #5b21b6;

  --tag-bg-ballad: #ffe4e6;
  --tag-border-ballad: #e11d48;
  --tag-text-ballad: #9f1239;

  --tag-bg-default: #f4f4f5;
  --tag-border-default: #71717a;
  --tag-text-default: #27272a;

  /* Status Colors */
  --status-bg-mastered: #dcfce7;
  --status-border-mastered: #16a34a;
  --status-text-mastered: #14532d;

  --status-bg-memorized: #e0e7ff;
  --status-border-memorized: #4f46e5;
  --status-text-memorized: #312e81;

  --status-bg-learning: #fef3c7;
  --status-border-learning: #d97706;
  --status-text-learning: #78350f;
}

/* ==========================================================================
   Modular Color Themes
   ========================================================================== */

/* 1. Catppuccin Latte */
html[data-theme="latte"] {
  --bg-canvas: #eff1f5;
  --bg-card: #e6e9ef;
  --bg-cell: #ffffff;
  --bg-cell-hover: #dce0e8;
  --bg-header: #ccd0da;
  --drawer-bg: #e6e9ef;
  --ink-primary: #4c4f69;
  --ink-secondary: #5c5f77;
  --ink-muted: #6c6f85;
  --stroke-thick: 2px solid #4c4f69;
  --stroke-medium: 1.5px solid #4c4f69;
  --shadow-card: 0 4px 0 #4c4f69, 0 10px 24px rgba(76, 79, 105, 0.1);
  --shadow-btn: 0 2px 0 #4c4f69;
}

/* 2. Gruvbox Light */
html[data-theme="gruvbox-light"] {
  --bg-canvas: #fbf1c7;
  --bg-card: #f2e5bc;
  --bg-cell: #f9f5d7;
  --bg-cell-hover: #ebdbb2;
  --bg-header: #e0cfab;
  --drawer-bg: #f2e5bc;
  --ink-primary: #3c3836;
  --ink-secondary: #504945;
  --ink-muted: #7c6f64;
  --stroke-thick: 2px solid #3c3836;
  --stroke-medium: 1.5px solid #3c3836;
  --shadow-card: 0 4px 0 #3c3836, 0 10px 24px rgba(60, 56, 54, 0.12);
  --shadow-btn: 0 2px 0 #3c3836;
}

/* 3. Solarized Light */
html[data-theme="solarized-light"] {
  --bg-canvas: #fdf6e3;
  --bg-card: #eee8d5;
  --bg-cell: #fdf6e3;
  --bg-cell-hover: #e4decb;
  --bg-header: #ddd6c1;
  --drawer-bg: #eee8d5;
  --ink-primary: #073642;
  --ink-secondary: #586e75;
  --ink-muted: #839496;
  --stroke-thick: 2px solid #073642;
  --stroke-medium: 1.5px solid #073642;
  --shadow-card: 0 4px 0 #073642, 0 10px 24px rgba(7, 54, 66, 0.1);
  --shadow-btn: 0 2px 0 #073642;
}

/* 4. Sage & Olive */
html[data-theme="sage-olive"] {
  --bg-canvas: #f4f7f4;
  --bg-card: #eaf0ea;
  --bg-cell: #fafcfa;
  --bg-cell-hover: #dfe8df;
  --bg-header: #d3dfd3;
  --drawer-bg: #eaf0ea;
  --ink-primary: #192b1d;
  --ink-secondary: #3b5240;
  --ink-muted: #5e7362;
  --stroke-thick: 2px solid #192b1d;
  --stroke-medium: 1.5px solid #192b1d;
  --shadow-card: 0 4px 0 #192b1d, 0 10px 24px rgba(25, 43, 29, 0.1);
  --shadow-btn: 0 2px 0 #192b1d;
}

/* 5. Rosé Pine Dawn */
html[data-theme="rose-pine"] {
  --bg-canvas: #faf4ed;
  --bg-card: #f2e9de;
  --bg-cell: #fffaf3;
  --bg-cell-hover: #e8ded1;
  --bg-header: #decaba;
  --drawer-bg: #f2e9de;
  --ink-primary: #575279;
  --ink-secondary: #797593;
  --ink-muted: #9893a5;
  --stroke-thick: 2px solid #575279;
  --stroke-medium: 1.5px solid #575279;
  --shadow-card: 0 4px 0 #575279, 0 10px 24px rgba(87, 82, 121, 0.1);
  --shadow-btn: 0 2px 0 #575279;
}

/* 6. Nord Frost */
html[data-theme="nord"] {
  --bg-canvas: #eceff4;
  --bg-card: #e5e9f0;
  --bg-cell: #ffffff;
  --bg-cell-hover: #d8dee9;
  --bg-header: #caced8;
  --drawer-bg: #e5e9f0;
  --ink-primary: #2e3440;
  --ink-secondary: #3b4252;
  --ink-muted: #4c566a;
  --stroke-thick: 2px solid #2e3440;
  --stroke-medium: 1.5px solid #2e3440;
  --shadow-card: 0 4px 0 #2e3440, 0 10px 24px rgba(46, 52, 64, 0.12);
  --shadow-btn: 0 2px 0 #2e3440;
}

/* 7. OLED Obsidian */
html[data-theme="oled"] {
  --bg-canvas: #09090b;
  --bg-card: #141417;
  --bg-cell: #18181b;
  --bg-cell-hover: #222226;
  --bg-header: #1f1f23;
  --drawer-bg: #141417;
  --ink-primary: #f4f4f5;
  --ink-secondary: #a1a1aa;
  --ink-muted: #71717a;
  --stroke-thick: 2px solid #3f3f46;
  --stroke-medium: 1.5px solid #3f3f46;
  --shadow-card: 0 4px 0 #3f3f46, 0 12px 28px rgba(0, 0, 0, 0.5);
  --shadow-btn: 0 2px 0 #3f3f46;
  --bubble-bg-purple: #2e1065;
  --bubble-border-purple: #8b5cf6;
  --bubble-text-purple: #ddd6fe;
  --bubble-bg-green: #052e16;
  --bubble-border-green: #22c55e;
  --bubble-text-green: #bbf7d0;
  --bubble-bg-blue: #082f49;
  --bubble-border-blue: #38bdf8;
  --bubble-text-blue: #bae6fd;
}

/* 8. Dracula */
html[data-theme="dracula"] {
  --bg-canvas: #21222c;
  --bg-card: #282a36;
  --bg-cell: #2c2e3b;
  --bg-cell-hover: #383a4c;
  --bg-header: #343746;
  --drawer-bg: #282a36;
  --ink-primary: #f8f8f2;
  --ink-secondary: #bfbfbf;
  --ink-muted: #6272a4;
  --stroke-thick: 2px solid #6272a4;
  --stroke-medium: 1.5px solid #6272a4;
  --shadow-card: 0 4px 0 #6272a4, 0 12px 28px rgba(0, 0, 0, 0.4);
  --shadow-btn: 0 2px 0 #6272a4;
}

/* ==========================================================================
   Base Reset & Layout
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-canvas);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.whiteboard-canvas {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.2rem 1.75rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Studio Header */
.studio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

/* Hamburger Acoustic Guitar Button */
.brand-badge-btn {
  background: var(--bg-card);
  color: var(--ink-primary);
  border: var(--stroke-thick);
  border-radius: 12px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.12s ease;
  user-select: none;
}

.brand-badge-btn:hover {
  background: var(--bg-cell);
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}

.brand-badge-btn:active {
  transform: translateY(2px);
  box-shadow: 0 0 0 #18181b;
}

.acoustic-guitar-icon {
  stroke: var(--ink-primary);
  transition: transform 0.15s ease;
}

.brand-badge-btn:hover .acoustic-guitar-icon {
  transform: rotate(-8deg) scale(1.06);
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-heading {
  font-family: var(--font-serif);
  font-size: 2.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink-primary);
}

/* Action Buttons Cluster: Styled as Colored Bubbles */
.header-actions-cluster {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Base Bubble Button */
.bubble-action-btn {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-weight: 700;
  cursor: pointer;
  border: var(--stroke-thick);
  box-shadow: var(--shadow-btn);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.12s ease;
  user-select: none;
  text-decoration: none;
}

.bubble-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
  filter: brightness(1.02);
}

.bubble-action-btn:active {
  transform: translateY(2px);
  box-shadow: 0 0 0 #18181b;
}

/* 1. Purple Bubble: Return to Last Viewed */
.bubble-action-btn.bubble-purple {
  background-color: var(--bubble-bg-purple);
  border-color: var(--bubble-border-purple);
  color: var(--bubble-text-purple);
  padding: 0.45rem 1.1rem;
}

.bubble-btn-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.bubble-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  line-height: 1.1;
}

.bubble-btn-sub {
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
  padding-left: 1.35rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 140px;
}

/* 2. Green Bubble: Add Piece */
.bubble-action-btn.bubble-green {
  background-color: var(--bubble-bg-green);
  border-color: var(--bubble-border-green);
  color: var(--bubble-text-green);
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.bubble-btn-icon {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
}

/* 3. Blue Bubble: View */
.bubble-action-btn.bubble-blue {
  background-color: var(--bubble-bg-blue);
  border-color: var(--bubble-border-blue);
  color: var(--bubble-text-blue);
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.dropdown-caret {
  font-size: 0.75rem;
  margin-left: 0.2rem;
}

/* Dropdown Container */
.dropdown-wrapper {
  position: relative;
}

.view-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-card);
  border: var(--stroke-thick);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  min-width: 190px;
  padding: 0.5rem;
  z-index: 500;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  user-select: none;
}

.view-dropdown-menu.hidden {
  display: none;
}

.dropdown-header {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  padding: 0.35rem 0.6rem;
  border-bottom: 1px solid rgba(24, 24, 27, 0.12);
}

.dropdown-col-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.1s ease;
}

.dropdown-col-item:hover {
  background: var(--bg-cell-hover);
}

.dropdown-col-checkbox {
  width: 15px;
  height: 15px;
  accent-color: var(--bubble-border-blue);
  cursor: pointer;
}

/* ==========================================================================
   Table Stage & Shell
   ========================================================================== */

.table-stage {
  width: 100%;
}

.table-card-container {
  background: var(--bg-card);
  border: var(--stroke-thick);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

.whiteboard-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: calc(0.92rem * var(--desktop-table-scale));
}

/* Header Cells */
.whiteboard-table th {
  background: var(--bg-header);
  color: var(--ink-primary);
  font-weight: 700;
  font-size: calc(0.82rem * var(--desktop-table-scale));
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: var(--stroke-thick);
  border-right: var(--stroke-thick);
  padding: calc(0.9rem * var(--desktop-table-scale)) calc(1rem * var(--desktop-table-scale));
  position: relative;
  user-select: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.whiteboard-table th:last-child {
  border-right: none;
}

.whiteboard-table th:hover {
  filter: brightness(0.97);
}

.header-cell-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.header-text-cluster {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sort-arrow {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--ink-primary);
  opacity: 0.3;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.whiteboard-table th[data-sorted="asc"] .sort-arrow,
.whiteboard-table th[data-sorted="desc"] .sort-arrow {
  opacity: 1;
}

.whiteboard-table th[data-sorted="asc"] .sort-arrow {
  transform: rotate(0deg);
}

.whiteboard-table th[data-sorted="desc"] .sort-arrow {
  transform: rotate(180deg);
}

/* Resize Grip Handle */
.col-resizer {
  position: absolute;
  top: 0;
  right: -5px;
  width: 10px;
  height: 100%;
  cursor: col-resize;
  z-index: 10;
  touch-action: none;
}

.col-resizer:hover,
.col-resizer.active {
  background-color: rgba(24, 24, 27, 0.35);
}

/* Table Body Rows & Cells */
.whiteboard-table tbody tr {
  background: var(--bg-cell);
  transition: background-color 0.1s ease;
}

.whiteboard-table tbody tr:not(:last-child) td {
  border-bottom: var(--stroke-medium);
}

.whiteboard-table tbody tr:hover {
  background: var(--bg-cell-hover);
}

.whiteboard-table td {
  padding: calc(1rem * var(--desktop-table-scale)) calc(1.1rem * var(--desktop-table-scale));
  border-right: var(--stroke-medium);
  vertical-align: middle;
  color: var(--ink-primary);
  line-height: 1.45;
}

.whiteboard-table td:last-child {
  border-right: none;
}

/* Overflow vs Wrap Modes */
.cell-overflow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cell-wrap {
  overflow: visible;
  white-space: normal;
  word-break: break-word;
}

/* Row Numbering (Permanent Song Number) */
.row-number {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--ink-muted);
  font-size: 0.88rem;
  text-align: center;
  display: block;
}

.song-name-cell {
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.01em;
}

.artist-cell {
  font-weight: 500;
  color: var(--ink-secondary);
}

/* Tag Bubbles Cluster */
.tag-bubbles-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.tag-bubble {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid;
  user-select: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.tag-bubble.tag-rock {
  background-color: var(--tag-bg-rock);
  border-color: var(--tag-border-rock);
  color: var(--tag-text-rock);
}

.tag-bubble.tag-acoustic {
  background-color: var(--tag-bg-acoustic);
  border-color: var(--tag-border-acoustic);
  color: var(--tag-text-acoustic);
}

.tag-bubble.tag-soul {
  background-color: var(--tag-bg-soul);
  border-color: var(--tag-border-soul);
  color: var(--tag-text-soul);
}

.tag-bubble.tag-pop {
  background-color: var(--tag-bg-pop);
  border-color: var(--tag-border-pop);
  color: var(--tag-text-pop);
}

.tag-bubble.tag-ballad {
  background-color: var(--tag-bg-ballad);
  border-color: var(--tag-border-ballad);
  color: var(--tag-text-ballad);
}

.tag-bubble.tag-default {
  background-color: var(--tag-bg-default);
  border-color: var(--tag-border-default);
  color: var(--tag-text-default);
}

/* Status Badges */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: capitalize;
  border: 1.5px solid;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.status-pill.status-mastered {
  background-color: var(--status-bg-mastered);
  border-color: var(--status-border-mastered);
  color: var(--status-text-mastered);
}

.status-pill.status-memorized {
  background-color: var(--status-bg-memorized);
  border-color: var(--status-border-memorized);
  color: var(--status-text-memorized);
}

.status-pill.status-learning {
  background-color: var(--status-bg-learning);
  border-color: var(--status-border-learning);
  color: var(--status-text-learning);
}

.status-dot-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}

/* Context Menu */
.stationery-context-menu {
  position: absolute;
  z-index: 1000;
  background: var(--bg-card);
  border: var(--stroke-thick);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  min-width: 250px;
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  user-select: none;
}

.stationery-context-menu.hidden {
  display: none;
}

.context-menu-header {
  padding: 0.45rem 0.65rem 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(24, 24, 27, 0.12);
  margin-bottom: 0.2rem;
}

.context-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-primary);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.1s ease;
}

.context-item:hover {
  background: var(--bg-cell-hover);
}

.ctx-check {
  width: 16px;
  display: inline-flex;
  justify-content: center;
  font-weight: 800;
  color: #10b981;
}

/* Drag Guide Highlights */
th.dragging {
  opacity: 0.4;
  filter: brightness(0.9);
}

th.drop-target-left {
  box-shadow: inset 4px 0 0 0 #18181b;
}

th.drop-target-right {
  box-shadow: inset -4px 0 0 0 #18181b;
}

/* ==========================================================================
   Piece View & Chord Sheet Container
   ========================================================================== */

.app-view.hidden {
  display: none !important;
}

/* Clickable Song Name in Master Table */
.song-name-cell {
  cursor: pointer;
  transition: color 0.12s ease;
  display: inline-block;
}

.song-name-cell:hover {
  color: var(--bubble-text-blue);
  text-decoration: underline;
}

/* Piece View Header & Navigation */
.piece-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.piece-top-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.piece-header-block {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-bottom: 0.5rem;
}

.piece-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink-primary);
}

.piece-artist {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink-secondary);
}

.piece-profile-chips {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.piece-meta-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--bg-card);
  border: var(--stroke-medium);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-primary);
  box-shadow: 0 1px 0 #18181b;
}

/* Rounded Corner Container for the Chord Sheet */
.piece-chord-container {
  background: var(--bg-card);
  border: var(--stroke-thick);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
}

.chord-sheet-header {
  background: var(--bg-header);
  border-bottom: var(--stroke-thick);
  padding: 0.85rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.chord-sheet-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.chord-sheet-header-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Pencil Edit Button */
.pencil-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  border: var(--stroke-thick);
  border-radius: 8px;
  background: var(--bg-card);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.12s ease;
}

.pencil-edit-btn:hover {
  background: var(--bg-cell);
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}

.pencil-edit-btn:active {
  transform: translateY(2px);
  box-shadow: 0 0 0 #18181b;
}

.pencil-edit-btn.is-editing {
  background: #fef08a !important;
  color: #18181b !important;
  border-color: #18181b;
  box-shadow: 0 1px 0 #18181b;
  transform: translateY(1px);
}

.edit-save-status {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  background: #dcfce7;
  color: #15803d;
  border: 1.5px solid #16a34a;
  white-space: nowrap;
}

.edit-save-status.status-saving {
  background: #fef9c3;
  color: #854d0e;
  border-color: #ca8a04;
}

.bubble-dark {
  background: #18181b;
  color: #faf7f0;
  border-color: #18181b;
  box-shadow: 0 2px 0 #000;
}

.bubble-dark:hover {
  background: #27272a;
  color: #ffffff;
}

.chord-sheet-title-cluster {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sheet-icon {
  font-size: 1.1rem;
}

.sheet-title {
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-primary);
}

.chord-sheet-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Edit Mode Section Header */
.section-edit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  background: rgba(24, 24, 27, 0.03);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1.5px dashed rgba(24, 24, 27, 0.25);
}

.section-edit-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.section-name-input {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  border: var(--stroke-medium);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  background: var(--bg-card);
  color: var(--ink-primary);
  width: 170px;
  outline: none;
  transition: border-color 0.12s ease;
}

.section-name-input:focus {
  border-color: #18181b;
  box-shadow: 0 0 0 2px rgba(24, 24, 27, 0.15);
}

.section-type-select {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  border: var(--stroke-medium);
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  background: var(--bg-card);
  color: var(--ink-primary);
  text-transform: uppercase;
  cursor: pointer;
  outline: none;
}

.section-type-select:focus {
  border-color: #18181b;
}

.section-actions-cluster {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.section-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border: var(--stroke-medium);
  border-radius: 6px;
  background: var(--bg-card);
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-primary);
  cursor: pointer;
  box-shadow: 0 1.5px 0 #18181b;
  transition: all 0.08s ease;
}

.section-action-btn:hover {
  background: var(--bg-cell);
  transform: translateY(-1px);
}

.section-action-btn:active {
  transform: translateY(1px);
  box-shadow: 0 0 0 #18181b;
}

.section-action-btn.btn-delete-section:hover {
  background: #fee2e2;
  border-color: #ef4444;
  color: #dc2626;
}

/* Edit Mode Bar Controls */
.bar-del-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(24, 24, 27, 0.3);
  background: var(--bg-card);
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.1s ease;
  line-height: 1;
}

.bar-del-btn:hover {
  background: #ef4444;
  color: white;
  border-color: #ef4444;
  transform: scale(1.12);
}

.bar-chord-input {
  width: 100%;
  border: 1.5px solid rgba(24, 24, 27, 0.25);
  border-radius: 6px;
  background: var(--bg-card);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-primary);
  text-align: center;
  padding: 0.15rem 0.2rem;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.12s ease;
}

.bar-chord-input:focus {
  border-color: #18181b;
  box-shadow: 0 0 0 2px rgba(24, 24, 27, 0.15);
}

/* Add Bar Card */
.add-bar-card {
  background: rgba(24, 24, 27, 0.02);
  border: 2px dashed rgba(24, 24, 27, 0.35);
  border-radius: 10px;
  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.1s ease;
}

.add-bar-card:hover {
  background: var(--bg-cell);
  border-color: #18181b;
  color: var(--ink-primary);
  transform: translateY(-1px);
}

.add-bar-card:active {
  transform: translateY(1px);
}

/* Lyrics Edit Block */
.section-lyrics-edit-block {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: rgba(24, 24, 27, 0.02);
  border: 1.5px dashed rgba(24, 24, 27, 0.25);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
}

.section-lyrics-edit-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.section-lyrics-textarea {
  width: 100%;
  border: var(--stroke-medium);
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  line-height: 1.5;
  background: var(--bg-card);
  color: var(--ink-primary);
  resize: vertical;
  min-height: 64px;
  outline: none;
  box-sizing: border-box;
}

.section-lyrics-textarea:focus {
  border-color: #18181b;
  box-shadow: 0 0 0 2px rgba(24, 24, 27, 0.15);
}

/* Add Section Banner Button */
.add-section-banner-btn {
  width: 100%;
  border: 2px dashed rgba(24, 24, 27, 0.35);
  border-radius: 12px;
  background: rgba(24, 24, 27, 0.02);
  padding: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.86rem;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.12s ease;
}

.add-section-banner-btn:hover {
  background: var(--bg-cell);
  border-color: #18181b;
  color: var(--ink-primary);
  transform: translateY(-1px);
}

/* Floating Sticky Exit Edit Button */
.sticky-exit-edit-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  background: #18181b;
  color: #faf7f0;
  border: 2px solid #18181b;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25), 0 2px 0 #000;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.sticky-exit-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.sticky-exit-edit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3), 0 3px 0 #000;
  color: #ffffff;
}

.sticky-exit-edit-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2), 0 0 0 #000;
}

.sticky-exit-edit-btn.hidden {
  display: none !important;
}

/* Individual Chord Section */
.chord-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px dashed rgba(24, 24, 27, 0.2);
}

.chord-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.section-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-primary);
}

.measures-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 0.55rem;
}

.measure-card {
  background: var(--bg-cell);
  border: var(--stroke-medium);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 68px;
  box-shadow: 0 1.5px 0 rgba(24, 24, 27, 0.06);
  transition: transform 0.08s ease, background-color 0.1s ease;
}

.measure-card:hover {
  background: var(--bg-cell-hover);
  transform: translateY(-1px);
}

.measure-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.15rem;
}

.measure-bar-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.measure-chords {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.section-lyrics-block {
  background: rgba(24, 24, 27, 0.03);
  border-left: 3px solid var(--bubble-border-purple);
  padding: 0.65rem 0.95rem;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--ink-secondary);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ==========================================================================
   Settings Slide-Out Drawer
   ========================================================================== */

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(2px);
  z-index: 1100;
  transition: opacity 0.2s ease;
}

.drawer-backdrop.hidden {
  display: none;
}

.settings-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  max-width: 88vw;
  height: 100vh;
  background: var(--drawer-bg);
  border-right: var(--stroke-thick);
  box-shadow: 6px 0 24px rgba(0, 0, 0, 0.18);
  z-index: 1200;
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.settings-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.4rem 1.4rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--stroke-thick);
}

.drawer-title-cluster {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.drawer-icon {
  font-size: 1.25rem;
}

.drawer-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.drawer-close-btn {
  background: transparent;
  border: var(--stroke-thick);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  font-size: 1.3rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--ink-primary);
  box-shadow: 0 1px 0 #18181b;
  transition: transform 0.08s ease, background-color 0.1s ease;
}

.drawer-close-btn:hover {
  background: var(--bg-cell);
  transform: translateY(-1px);
}

.drawer-content {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.section-heading-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink-primary);
}

.section-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  background: var(--bg-cell);
  border: 1px solid rgba(24, 24, 27, 0.2);
  border-radius: 6px;
  color: var(--ink-secondary);
}

.section-desc {
  font-size: 0.78rem;
  color: var(--ink-muted);
  line-height: 1.4;
}

/* Theme Selector Grid */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.theme-card {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.65rem;
  background: var(--bg-card);
  border: var(--stroke-medium);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-primary);
  text-align: left;
  box-shadow: 0 1.5px 0 #18181b;
  transition: transform 0.08s ease, box-shadow 0.08s ease, border-color 0.1s ease;
}

.theme-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2.5px 0 #18181b;
}

.theme-card.active {
  outline: 2px solid #0284c7;
  border-color: #0284c7;
  background: var(--bg-cell);
}

.theme-preview {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.theme-p-stationery { background: #faf7f0; }
.theme-p-latte { background: #eff1f5; }
.theme-p-gruvbox-light { background: #fbf1c7; }
.theme-p-solarized-light { background: #fdf6e3; }
.theme-p-sage { background: #eaf0ea; }
.theme-p-rose { background: #faf4ed; }
.theme-p-nord { background: #eceff4; }
.theme-p-oled { background: #000000; }
.theme-p-dracula { background: #282a36; }

.scale-slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-cell);
  padding: 0.65rem 0.8rem;
  border: var(--stroke-medium);
  border-radius: 10px;
}

/* Multi-Scale Drawer Cards */
.multi-scale-container {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.scale-item-card {
  background: var(--bg-cell);
  border: var(--stroke-medium);
  border-radius: 10px;
  padding: 0.65rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.scale-item-card.active-device-card {
  outline: 2px solid #0284c7;
  border-color: #0284c7;
}

.scale-header-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.scale-device-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.scale-slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.scale-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  white-space: nowrap;
}

.stationery-slider {
  width: 100%;
  accent-color: #18181b;
  cursor: pointer;
}

/* Drawer Action Buttons */
.drawer-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  background: var(--bg-card);
  border: var(--stroke-thick);
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-primary);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
  transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.1s ease;
}

.drawer-action-btn:hover {
  background: var(--bg-cell);
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn-hover);
}

.drawer-action-btn:active {
  transform: translateY(2px);
  box-shadow: 0 0 0 #18181b;
}

/* ==========================================================================
   Mobile & Responsive Scaling
   ========================================================================== */

/* 1. Phone Landscape Mode Scaling */
@media (max-width: 950px) and (orientation: landscape) {
  .whiteboard-table {
    font-size: calc(0.92rem * var(--landscape-table-scale));
  }

  .whiteboard-table th {
    padding: calc(0.75rem * var(--landscape-table-scale)) calc(0.8rem * var(--landscape-table-scale));
    font-size: calc(0.78rem * var(--landscape-table-scale));
  }

  .whiteboard-table td {
    padding: calc(0.8rem * var(--landscape-table-scale)) calc(0.85rem * var(--landscape-table-scale));
  }

  .tag-bubble {
    font-size: calc(0.72rem * var(--landscape-table-scale));
    padding: calc(0.2rem * var(--landscape-table-scale)) calc(0.55rem * var(--landscape-table-scale));
  }

  .status-pill {
    font-size: calc(0.74rem * var(--landscape-table-scale));
    padding: calc(0.25rem * var(--landscape-table-scale)) calc(0.65rem * var(--landscape-table-scale));
  }
}

/* 2. Phone Portrait Mode Scaling & Single-Row Buttons */
@media (max-width: 768px) and (orientation: portrait), (max-width: 500px) {
  .whiteboard-canvas {
    padding: 1rem 0.65rem 3rem;
    gap: 1rem;
  }

  .studio-header {
    gap: 0.75rem;
  }

  .brand-group {
    gap: 0.75rem;
  }

  .brand-badge-btn {
    width: 40px;
    height: 40px;
  }

  .brand-heading {
    font-size: 1.55rem;
  }

  /* Single-row header actions with clean spacing */
  .header-actions-cluster {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
  }

  /* Scaled-down bubble action buttons for portrait */
  .bubble-action-btn {
    padding: 0.34rem 0.55rem;
    font-size: 0.72rem;
    white-space: nowrap;
    flex: 1 1 auto;
    justify-content: center;
  }

  .bubble-action-btn.bubble-purple {
    padding: 0.26rem 0.5rem;
    flex: 1.25 1 auto;
  }

  .bubble-btn-content {
    gap: 0;
  }

  .bubble-btn-main {
    font-size: 0.69rem;
    gap: 0.25rem;
  }

  .bubble-btn-main svg {
    width: 11px;
    height: 11px;
  }

  .bubble-btn-sub {
    font-size: 0.58rem;
    padding-left: 0.9rem;
    max-width: 82px;
    line-height: 1.1;
  }

  .bubble-action-btn.bubble-green {
    padding: 0.36rem 0.55rem;
    font-size: 0.72rem;
    flex: 0.9 1 auto;
  }

  .bubble-action-btn.bubble-blue {
    padding: 0.36rem 0.55rem;
    font-size: 0.72rem;
    flex: 0.85 1 auto;
  }

  /* Scaled Table font & cell size on portrait */
  .whiteboard-table {
    font-size: calc(0.92rem * var(--portrait-table-scale));
  }

  .whiteboard-table th {
    padding: calc(0.7rem * var(--portrait-table-scale)) calc(0.55rem * var(--portrait-table-scale));
    font-size: calc(0.75rem * var(--portrait-table-scale));
  }

  .whiteboard-table td {
    padding: calc(0.75rem * var(--portrait-table-scale)) calc(0.6rem * var(--portrait-table-scale));
  }

  .tag-bubble {
    font-size: calc(0.7rem * var(--portrait-table-scale));
    padding: calc(0.16rem * var(--portrait-table-scale)) calc(0.45rem * var(--portrait-table-scale));
  }

  .status-pill {
    font-size: calc(0.72rem * var(--portrait-table-scale));
    padding: calc(0.22rem * var(--portrait-table-scale)) calc(0.55rem * var(--portrait-table-scale));
  }

  .sticky-exit-edit-btn {
    bottom: 1.1rem;
    right: 1.1rem;
    padding: 0.62rem 1.1rem;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   Add Section Quick Picker Modal / Popover
   ========================================================================== */

.add-section-popup-menu {
  position: fixed;
  z-index: 1200;
  background: var(--bg-card);
  border: var(--stroke-thick);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 3px 0 #18181b;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 240px;
  animation: popupFadeIn 0.12s ease-out;
}

@keyframes popupFadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.add-section-popup-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  border-bottom: 1px solid rgba(24, 24, 27, 0.1);
  padding-bottom: 0.35rem;
}

.add-section-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem;
}

.add-sec-chip-btn {
  padding: 0.45rem 0.65rem;
  border: var(--stroke-medium);
  border-radius: 8px;
  background: var(--bg-cell);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-primary);
  cursor: pointer;
  box-shadow: 0 1.5px 0 #18181b;
  transition: all 0.08s ease;
  text-align: center;
}

.add-sec-chip-btn:hover {
  background: var(--bg-card);
  transform: translateY(-1px);
  border-color: #18181b;
  box-shadow: 0 2.5px 0 #18181b;
}

.add-sec-chip-btn:active {
  transform: translateY(1px);
  box-shadow: 0 0 0 #18181b;
}
