/* ============================================================
   VEA Inventory — Base Stylesheet
   Shared across all pages. Page-specific styles live in
   their own CSS files (inventory.css, tickets.css, etc.)
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --color-primary:        #2563eb;
  --color-primary-hover:  #1d4ed8;
  --color-primary-light:  #eff6ff;
  --color-bg:             #eef0f4;
  --color-surface:        #ffffff;
  --color-border:         #dde1e7;
  --color-border-hover:   #8a95a3;
  --color-text:           #1a1d23;
  --color-text-muted:     #5c6472;
  --color-text-faint:     #9aa3b2;
  --color-success:        #16a34a;
  --color-success-bg:     #dcfce7;
  --color-danger:         #dc2626;
  --color-danger-bg:      #fef2f2;
  --color-danger-border:  #fca5a5;
  --color-header-bg:      #1c1f26;
  --color-header-border:  #2e3340;
  --radius-sm:            3px;
  --radius-md:            5px;
  --radius-lg:            7px;
  --radius-xl:            10px;
  --shadow-sm:            0 1px 3px rgba(0,0,0,.10);
  --shadow-md:            0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:            0 20px 60px rgba(0,0,0,.20);
  --header-height:        56px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  touch-action: pan-x pany;
}

a { color: inherit; }

input[type="checkbox"] {
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* ── Header ─────────────────────────────────────────────────── */
.app-header {
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-header-border);
  padding: 0 24px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.logo {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .04em;
  color: #f4f6f9;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo svg { color: var(--color-primary); }

/* ── Nav Tabs ───────────────────────────────────────────────── */
.main-nav {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 100%;
}

.nav-tab {
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8a95a3;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav-tab:hover  { color: #f4f6f9; }
.nav-tab.active {
  color: #fff;
  background: var(--color-primary);
  border-bottom-color: transparent;
}

/* ── Nav Dropdown (Tools) ───────────────────────────────────── */
.nav-dropdown {
  display: flex;
  align-items: stretch;
  height: 100%;
}
.nav-dropdown-toggle {
  gap: 5px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.nav-dropdown-toggle .chev { transition: transform .15s; }
.nav-dropdown.open .nav-dropdown-toggle { color: #f4f6f9; }
.nav-dropdown.open .nav-dropdown-toggle .chev { transform: rotate(180deg); }

/* Positioned via JS (position: fixed) so it escapes the nav's overflow */
.nav-dropdown-menu {
  display: none;
  position: fixed;
  flex-direction: column;
  min-width: 170px;
  padding: 4px;
  background: var(--color-header-bg);
  border: 1px solid var(--color-header-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
  z-index: 200;
}
.nav-dropdown.open .nav-dropdown-menu { display: flex; }
.nav-dropdown-menu .nav-tab {
  height: 38px;
  padding: 0 12px;
  border-bottom: none;
  border-radius: var(--radius-sm);
}

/* Sign-out button sits in the dark header */
.app-header > .btn-ghost {
  color: #8a95a3;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
}
.app-header > .btn-ghost:hover {
  color: #f4f6f9;
  background: rgba(255,255,255,.08);
}

.header-gap { flex: 1; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.btn-primary:hover    { background: var(--color-primary-hover); }
.btn-primary:disabled { opacity: .55; cursor: not-allowed; }

.btn-cancel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.btn-cancel:hover { background: var(--color-bg); border-color: var(--color-border-hover); color: var(--color-text); }

.btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: var(--color-surface);
  color: var(--color-danger);
  border: 1px solid var(--color-danger-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.btn-danger:hover { background: var(--color-danger-bg); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: none;
  color: var(--color-text-muted);
  border: none;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s;
  white-space: nowrap;
}
.btn-ghost:hover { background: var(--color-bg); color: var(--color-text); }

/* Small inline icon buttons used in tables */
.icon-btn {
  padding: 5px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  color: var(--color-text-muted);
  transition: all .15s;
  white-space: nowrap;
}
.icon-btn:hover        { border-color: var(--color-border-hover); color: var(--color-text); background: var(--color-bg); }
.icon-btn.danger:hover { border-color: var(--color-danger-border); color: var(--color-danger); background: var(--color-danger-bg); }

/* ── Controls Bar ───────────────────────────────────────────── */
.controls-bar {
  padding: 10px 24px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 var(--color-border);
}
.ctrl-group { display: flex; align-items: center; gap: 6px; }
.ctrl-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-faint);
  margin-right: 2px;
}
.bar-gap { flex: 1; }

/* ── Controls bar search input (shared by inventory + bulk-edit) */
.be-search-wrap {
  position: relative;
  width: 240px;
}
.be-search-wrap .search-icon {
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-faint);
  pointer-events: none;
}
.be-search-wrap input {
  width: 100%;
  padding: 7px 28px 7px 32px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-family: inherit;
  background: var(--color-bg);
  color: var(--color-text);
  outline: none;
  transition: border-color .15s, background .15s;
}
.be-search-wrap input::placeholder { color: var(--color-text-faint); }
.be-search-wrap input:focus {
  border-color: var(--color-primary);
  background: var(--color-surface);
}
/* Suppress native browser clear button on type="search" */
.be-search-wrap input[type="search"]::-webkit-search-cancel-button { display: none; }

/* Custom clear button */
.be-search-wrap .search-clear {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 2px;
  color: var(--color-text-faint);
  cursor: pointer;
  line-height: 1;
  border-radius: var(--radius-sm);
  display: none;
  align-items: center;
  justify-content: center;
  transition: color .15s;
}
.be-search-wrap .search-clear:hover { color: var(--color-text); }
/* Show only when input has text (placeholder not visible) */
.be-search-wrap input:not(:placeholder-shown) ~ .search-clear { display: flex; }

/* ── Pill Filter Buttons ────────────────────────────────────── */
.pill {
  padding: 4px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: 20px;
  background: var(--color-surface);
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.pill:hover  { border-color: var(--color-primary); color: var(--color-primary); }
.pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
}
/* Order badge (1,2,3…) shown on active multi-select pills */
.pill-num {
  display: inline-grid;
  place-items: center;
  width: 15px; height: 15px;
  margin-left: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  vertical-align: text-top;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group input[type="search"],
.form-group input[type="url"],
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 8px 12px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: inherit;
  color: var(--color-text);
  background: var(--color-surface);
  outline: none;
  transition: border-color .15s, background .15s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--color-primary); background: var(--color-surface); }

.form-group textarea { resize: vertical; min-height: 72px; }

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}
.form-check input { width: 16px; height: 16px; }
.form-check span  { font-size: 14px; color: var(--color-text); }

.form-hint {
  font-size: 12px;
  color: var(--color-text-faint);
  margin-top: 5px;
  line-height: 1.5;
}

.form-error {
  font-size: 12px;
  color: var(--color-danger);
  margin-top: 5px;
}

/* ── Modal / Overlay ────────────────────────────────────────── */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,20,32,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  backdrop-filter: blur(2px);
}
.overlay.hidden { display: none; }

.modal {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: 28px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.modal.wide   { max-width: 640px; }
.modal.narrow { max-width: 360px; }

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 12px;
}
.modal-header h2   { font-size: 18px; font-weight: 700; }
.modal-header p    { font-size: 13px; color: var(--color-text-muted); margin-top: 3px; }
.modal-header-text { flex: 1; }

.modal-close {
  background: none;
  border: none;
  color: var(--color-text-faint);
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  flex-shrink: 0;
}
.modal-close:hover { color: var(--color-text); background: var(--color-bg); }

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

/* ── Table ──────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

thead th {
  padding: 10px 14px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-muted);
  background: #f2f4f7;
  border-bottom: 1.5px solid var(--color-border);
  white-space: nowrap;
}

tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--color-bg);
  vertical-align: middle;
}
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: #f7f8fb; }

/* ── State Rows (loading / empty) ───────────────────────────── */
.state-row td  { text-align: center; padding: 64px 20px; color: var(--color-text-faint); }
.state-icon    { font-size: 36px; margin-bottom: 10px; }
.state-msg     { font-size: 14px; line-height: 1.6; color: var(--color-text-muted); }

/* ── Tags / Badges ──────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.tag-yes    { background: var(--color-success-bg); color: var(--color-success); }
.tag-no     { background: var(--color-bg); color: var(--color-text-faint); }
.tag-open   { background: var(--color-primary-light); color: var(--color-primary); }
.tag-closed { background: var(--color-bg); color: var(--color-text-muted); }
.tag-hot    { background: #fef3c7; color: #b45309; }   /* high-use / heavy turnover */

/* ── Floating Selection Bar ─────────────────────────────────── */
#floatBar {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: var(--color-header-bg);
  color: #fff;
  border-radius: 50px;
  padding: 10px 10px 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,.35);
  z-index: 150;
  transition: opacity .2s, transform .2s;
  white-space: nowrap;
}
#floatBar.hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(14px);
  pointer-events: none;
}

.float-label {
  font-size: 13px;
  color: #94a3b8;
  padding-right: 4px;
}
.float-label strong { color: #fff; }

.float-btn-primary {
  padding: 7px 16px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.float-btn-primary:hover { background: var(--color-primary-hover); }

.float-btn-secondary {
  padding: 7px 16px;
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.float-btn-secondary:hover { background: rgba(255,255,255,.18); }

.float-clear-btn {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 50%;
  transition: color .15s, background .15s;
  margin-left: 2px;
}
.float-clear-btn:hover { color: #fff; background: rgba(255,255,255,.1); }

/* ── FAB (Floating Action Button) ───────────────────────────── */
/* Hidden on desktop; shown as a fixed circle on mobile */
.fab {
  display: none;
}

/* ── Scroll-to-top FAB ──────────────────────────────────────── */
/* Visible on both desktop and mobile                            */
.fab-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-header-bg);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 14px rgba(0,0,0,.28);
  z-index: 148;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s, transform .2s, background .15s;
}
.fab-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.fab-top:hover { background: #2e3340; }

/* ── Mobile Header & Nav ────────────────────────────────────── */
@media (max-width: 900px) {
  /* Header scrolls with the page (controls bar is already sticky) */
  .app-header {
    flex-wrap: wrap;
    height: auto;
    padding: 0;
    gap: 0;
  }

  /* Logo: full width, centered */
  .logo {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-header-border);
  }

  /* Gap not needed in wrapped layout */
  .header-gap { display: none; }

  /* Nav: explicit flex row, horizontal overflow scroll */
  .main-nav {
    display: flex;
    align-items: center;
    height: 40px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-bottom: 1px solid var(--color-header-border);
  }
  .main-nav::-webkit-scrollbar { display: none; }

  .nav-tab {
    padding: 0 14px;
    font-size: 10px;
    height: 40px;
    flex-shrink: 0;
  }

  /* Sign-out sits flush at the end of the nav row */
  .app-header > .btn-ghost {
    flex-shrink: 0;
    height: 40px;
    padding: 0 14px;
    border-left: 1px solid var(--color-header-border);
    border-bottom: 1px solid var(--color-header-border);
    border-radius: 0;
  }

  /* Controls bar: single scrollable row, no wrapping */
  .controls-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 16px;
    gap: 10px;
  }
  .controls-bar::-webkit-scrollbar { display: none; }

  /* Prevent items from shrinking or wrapping inside the scroll bar */
  .controls-bar > *   { flex-shrink: 0; }
  .ctrl-group         { flex-shrink: 0; }
  .bar-gap            { display: none; }

  /* FAB: fixed circle, bottom-right */
  .fab {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 24px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    border: none;
    font-size: 30px;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(232,82,10,.45);
    z-index: 150;
    transition: background .15s, transform .1s;
  }
  .fab:hover  { background: var(--color-primary-hover); }
  .fab:active { transform: scale(.92); }

  /* Scroll-to-top FAB sits above the add FAB on mobile */
  .fab-top {
    bottom: 92px; /* 24 + 56 + 12 gap */
    right: 20px;
  }
}

/* ── Toast ──────────────────────────────────────────────────── */
#toast {
  position: fixed;
  top: calc(var(--header-height) + 12px);
  right: 24px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  z-index: 500;
  background: var(--color-text);
  color: #fff;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  max-width: 320px;
}
#toast.show { opacity: 1; transform: translateY(0); }
#toast.ok   { background: var(--color-success); }
#toast.err  { background: var(--color-danger); }

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.80);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 600;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox.hidden { display: none; }

.lightbox-frame {
  position: relative;
  max-width: min(900px, 100%);
  max-height: 90vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.55);
  cursor: default;
  background: #000;
  display: flex;
}
.lightbox-frame img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.lightbox-close:hover { background: rgba(0,0,0,.8); }

/* ── Image Dropzone (in modals) ─────────────────────────────── */
.img-dropzone {
  position: relative;
  width: 100%;
  min-height: 120px;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: border-color .15s, background .15s;
}
.img-dropzone:hover,
.img-dropzone.drag-over {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}
.dropzone-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-text-muted);
  font-size: 13px;
  padding: 24px;
  text-align: center;
  pointer-events: none;
}
.dropzone-placeholder svg { color: var(--color-text-faint); }
.dropzone-placeholder u { color: var(--color-primary); }
.dropzone-preview {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background: #000;
  display: block;
}
.dropzone-preview.hidden { display: none; }
.dropzone-clear {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  border: none;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.dropzone-clear:hover { background: rgba(0,0,0,.8); }
.dropzone-clear.hidden { display: none; }

/* ── Item thumbnail (in tables) ─────────────────────────────── */
.item-thumb {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  border: 1px solid var(--color-border);
  transition: opacity .15s;
}
.item-thumb:hover { opacity: .85; }

.no-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-faint);
  font-size: 18px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.no-thumb:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}
