/* ═══════════════════════════════════════════════
   JAY ELECTRICALS PWA — STYLESHEET
   DM Sans | Navy/Cyan Industrial Theme
═══════════════════════════════════════════════ */

:root {
  /* Brand */
  --brand-navy:    #1e3a8a;
  --brand-blue:    #1e40af;
  --brand-cyan:    #0ea5e9;
  --brand-cyan-lt: #38bdf8;

  /* Light mode tokens */
  --bg:            #f1f5f9;
  --bg-card:       #ffffff;
  --bg-input:      #f8fafc;
  --bg-nav:        #ffffff;
  --border:        #e2e8f0;
  --border-focus:  #0ea5e9;
  --text-primary:  #0f172a;
  --text-secondary:#475569;
  --text-muted:    #94a3b8;
  --text-on-brand: #ffffff;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:     0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:     0 10px 40px rgba(0,0,0,.14);
  --overlay:       rgba(15,23,42,.45);

  /* Layout */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --nav-h:      64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

[data-theme="dark"] {
  --bg:            #0f172a;
  --bg-card:       #1e293b;
  --bg-input:      #0f172a;
  --bg-nav:        #1e293b;
  --border:        #334155;
  --border-focus:  #38bdf8;
  --text-primary:  #f1f5f9;
  --text-secondary:#94a3b8;
  --text-muted:    #475569;
  --shadow-sm:     0 1px 3px rgba(0,0,0,.3);
  --shadow-md:     0 4px 16px rgba(0,0,0,.4);
  --shadow-lg:     0 10px 40px rgba(0,0,0,.5);
  --overlay:       rgba(0,0,0,.6);
}

/* ── Reset & Base ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { height: 100%; -webkit-tap-highlight-color: transparent; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  transition: background .25s, color .25s;
}

#app {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* ── Typography ───────────────────────────────── */
h1 { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1rem;    font-weight: 600; }
p  { line-height: 1.6; }

/* ── Utility ──────────────────────────────────── */
.hidden   { display: none !important; }
.sr-only  { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.flex     { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2  { gap: .5rem; }
.gap-3  { gap: .75rem; }
.gap-4  { gap: 1rem; }
.w-full { width: 100%; }
.text-center { text-align: center; }

/* ── Buttons ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.25rem;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  font-size: .9375rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(30,64,175,.35);
}
.btn-primary:hover { background: var(--brand-navy); }

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover { border-color: var(--brand-cyan); color: var(--brand-cyan); }

.btn-danger {
  background: #ef4444;
  color: #fff;
}
.btn-danger:hover { background: #dc2626; }

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  padding: .5rem;
  border-radius: var(--radius-sm);
}
.btn-ghost:hover { background: var(--border); color: var(--text-primary); }

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

.btn-full { width: 100%; }

/* ── Form Elements ────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.form-label {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: .02em;
  text-transform: uppercase;
}

.form-input {
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: .75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .9375rem;
  color: var(--text-primary);
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(14,165,233,.15);
}
.form-input::placeholder { color: var(--text-muted); }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-hint {
  font-size: .78125rem;
  color: var(--text-muted);
}

.input-with-unit {
  position: relative;
}
.input-with-unit .form-input {
  padding-right: 3.5rem;
}
.input-unit {
  position: absolute;
  right: .875rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--text-muted);
  pointer-events: none;
}

/* Toggle switch */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 1rem;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
}
.toggle-label-text {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--text-primary);
}
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 13px;
  cursor: pointer;
  transition: .2s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: white;
  border-radius: 50%;
  transition: .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle input:checked + .toggle-slider { background: var(--brand-cyan); }
.toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

/* ── Cards ────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.card-header {
  padding: 1rem 1.25rem .75rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-body {
  padding: 1.25rem;
}

/* ── Page Shell ───────────────────────────────── */
.page {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.page-content {
  padding: 1rem;
  padding-bottom: calc(var(--nav-h) + var(--safe-bottom) + 1rem);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Top App Bar ──────────────────────────────── */
.app-bar {
  height: 60px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: .75rem;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 50;
}

.app-bar-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.app-bar-actions {
  display: flex;
  align-items: center;
  gap: .25rem;
}

/* ── Bottom Nav ───────────────────────────────── */
.bottom-nav {
  height: calc(var(--nav-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  flex-shrink: 0;
  position: relative;
  z-index: 50;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: 'DM Sans', sans-serif;
  font-size: .6875rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: 0;
  transition: color .15s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.nav-item.active {
  color: var(--brand-cyan);
}

.nav-item.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 2.5px;
  background: var(--brand-cyan);
  border-radius: 0 0 3px 3px;
}

.nav-icon { width: 22px; height: 22px; }

/* ── Welcome / Login Screen ───────────────────── */
.screen-welcome {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  min-height: 100%;
  background: var(--bg);
}

.welcome-logo-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(30,64,175,.25), 0 0 0 6px var(--bg-card), 0 0 0 8px var(--border);
  margin-bottom: 1.5rem;
  animation: logoIn .6s cubic-bezier(.34,1.56,.64,1) both;
}

.welcome-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes logoIn {
  from { opacity: 0; transform: scale(.7) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.welcome-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  animation: fadeUp .5s .15s ease both;
}

.welcome-subtitle {
  font-size: .875rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: .25rem;
  margin-bottom: 2.5rem;
  animation: fadeUp .5s .25s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* PIN Pad */
.pin-display {
  display: flex;
  gap: .625rem;
  margin-bottom: 1.5rem;
  animation: fadeUp .5s .3s ease both;
}

.pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: transparent;
  transition: all .15s;
}

.pin-dot.filled {
  background: var(--brand-cyan);
  border-color: var(--brand-cyan);
  transform: scale(1.1);
}

.pin-dot.error {
  border-color: #ef4444;
  background: #ef4444;
  animation: shake .3s ease;
}

@keyframes shake {
  0%,100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  width: 100%;
  max-width: 280px;
  animation: fadeUp .5s .35s ease both;
}

.pin-key {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .12s;
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
}
.pin-key:active { background: var(--brand-blue); color: white; transform: scale(.93); }

.pin-key.pin-bio {
  background: rgba(14,165,233,.1);
  border-color: rgba(14,165,233,.3);
  color: var(--brand-cyan);
}

.pin-key.pin-del {
  color: var(--text-secondary);
}

.pin-or-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  max-width: 280px;
  margin: 1.25rem 0;
  animation: fadeUp .5s .4s ease both;
}

.pin-or-divider::before,
.pin-or-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.pin-or-divider span {
  font-size: .8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Setup PIN screen extras */
.pin-setup-step {
  font-size: .8125rem;
  color: var(--brand-cyan);
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  animation: fadeUp .4s ease both;
}

/* ── Section Headers ──────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.section-title {
  font-size: .8125rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Client List ──────────────────────────────── */
.client-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.client-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.125rem;
  display: flex;
  align-items: center;
  gap: .875rem;
  cursor: pointer;
  transition: all .15s;
  box-shadow: var(--shadow-sm);
}
.client-card:active { transform: scale(.98); }
.client-card:hover  { border-color: var(--brand-cyan); }

.client-avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.client-avatar.ht { background: linear-gradient(135deg, #1e3a8a, #1e40af); }
.client-avatar.lt { background: linear-gradient(135deg, #0369a1, #0ea5e9); }

.client-info { flex: 1; min-width: 0; }
.client-name {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.client-meta {
  font-size: .8125rem;
  color: var(--text-secondary);
  margin-top: 1px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: .2rem .6rem;
  border-radius: 99px;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-ht {
  background: rgba(30,64,175,.12);
  color: #3b82f6;
}
.badge-lt {
  background: rgba(14,165,233,.12);
  color: #0ea5e9;
}
.badge-solar {
  background: rgba(234,179,8,.12);
  color: #ca8a04;
}

/* ── Chips / Filter tabs ──────────────────────── */
.chip-row {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-bottom: .75rem;
}
.chip-row::-webkit-scrollbar { display: none; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .4rem .875rem;
  border-radius: 99px;
  font-size: .8125rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.chip.active {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: white;
}

/* ── FAB ──────────────────────────────────────── */
.fab {
  position: fixed;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 1rem);
  right: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--brand-blue);
  color: white;
  border: none;
  box-shadow: 0 4px 20px rgba(30,64,175,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 40;
  transition: all .18s;
  -webkit-tap-highlight-color: transparent;
}
.fab:active { transform: scale(.92); }
.fab:hover  { background: var(--brand-navy); }

/* ── Modal / Drawer ───────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: 100;
  display: flex;
  align-items: flex-end;
  animation: overlayIn .2s ease;
}

@keyframes overlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-drawer {
  width: 100%;
  max-height: 92vh;
  background: var(--bg-card);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  flex-direction: column;
  animation: drawerUp .3s cubic-bezier(.34,1.56,.64,1);
}

@keyframes drawerUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

.modal-handle {
  width: 36px;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  margin: .75rem auto .25rem;
  flex-shrink: 0;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem 1.25rem 1rem;
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.0625rem;
  font-weight: 700;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 1.25rem 1.25rem;
  -webkit-overflow-scrolling: touch;
}

.modal-footer {
  padding: 1rem 1.25rem;
  padding-bottom: calc(1rem + var(--safe-bottom));
  border-top: 1px solid var(--border);
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
}

/* ── Form sections in modal ───────────────────── */
.form-section {
  margin-bottom: 1.25rem;
}

.form-section-title {
  font-size: .75rem;
  font-weight: 700;
  color: var(--brand-cyan);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  padding-bottom: .375rem;
  border-bottom: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}

/* ── Empty State ──────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 3rem 1.5rem;
  gap: .75rem;
}

.empty-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-xl);
  background: rgba(14,165,233,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyan);
}

.empty-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}

.empty-desc {
  font-size: .875rem;
  color: var(--text-secondary);
  max-width: 240px;
}

/* ── Toast ────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: calc(var(--nav-h) + var(--safe-bottom) + 1rem);
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  pointer-events: none;
}

.toast {
  background: var(--text-primary);
  color: var(--bg);
  padding: .625rem 1.125rem;
  border-radius: 99px;
  font-size: .875rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  animation: toastIn .3s cubic-bezier(.34,1.56,.64,1);
}

.toast.success { background: #22c55e; color: white; }
.toast.error   { background: #ef4444; color: white; }

@keyframes toastIn {
  from { opacity: 0; transform: translateY(8px) scale(.95); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* ── Type Selector (HT/LT) ───────────────────── */
.type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .625rem;
  margin-bottom: 1.25rem;
}

.type-option {
  padding: .875rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--border);
  background: var(--bg-input);
  cursor: pointer;
  text-align: center;
  transition: all .15s;
}
.type-option:hover { border-color: var(--brand-cyan); }
.type-option.selected {
  border-color: var(--brand-blue);
  background: rgba(30,64,175,.08);
}
.type-option-label {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -.01em;
}
.type-option.selected .type-option-label {
  color: var(--brand-blue);
}
[data-theme="dark"] .type-option.selected .type-option-label {
  color: var(--brand-cyan-lt);
}
.type-option-desc {
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Stats / Info Row ─────────────────────────── */
.info-row {
  display: flex;
  align-items: center;
  padding: .625rem 0;
  border-bottom: 1px solid var(--border);
  gap: .75rem;
}
.info-row:last-child { border-bottom: none; }
.info-row-icon { color: var(--text-muted); flex-shrink: 0; }
.info-row-label { font-size: .8125rem; color: var(--text-secondary); flex: 1; }
.info-row-value { font-size: .9375rem; font-weight: 600; color: var(--text-primary); }

/* ── Search Bar ───────────────────────────────── */
.search-wrap {
  position: relative;
  margin-bottom: .75rem;
}
.search-icon {
  position: absolute;
  left: .875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}
.search-input {
  padding-left: 2.75rem;
}

/* ── Theme toggle ─────────────────────────────── */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .15s;
  -webkit-tap-highlight-color: transparent;
}
.theme-toggle-btn:hover { color: var(--brand-cyan); border-color: var(--brand-cyan); }

/* ── Loading Spinner ──────────────────────────── */
.spinner {
  width: 24px;
  height: 24px;
  border: 2.5px solid var(--border);
  border-top-color: var(--brand-cyan);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

/* ── Divider ──────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

/* ── Scrollbar ────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
