/*
 * Biblioplex's application layer over the cleaner Vellum UI foundation.
 * Shared primitives stay upstream; this file owns only Biblioplex shell,
 * navigation, dense-data, and domain-specific presentation.
 */

:root {
  --color-column-hl: rgb(104 68 125 / 7%);
  --color-column-dragging: rgb(104 68 125 / 14%);
  --color-surface-warm: #fffdfa;
  --color-surface-warm-soft: #faf7f3;
  --color-surface-beige: #f1ede8;
  --color-surface-beige-soft: #f6f2ee;
  --color-surface-beige-pale: #faf8f5;
  --color-surface-parchment: #f8f4ef;
  --color-line-beige: #e2dcd6;
  --color-line-beige-soft: #ebe5df;
  --color-line-beige-faint: #f0ebe6;
  --color-line-parchment: #e5ded7;
  --color-shell-divider: color-mix(in srgb, var(--color-text-strong) 14%, transparent);
  --color-text-warm-muted: #70665f;
  --color-text-warm-faint: #90867f;
  --color-text-warm-label: #786e67;
  --color-text-warm-strong: #2b2521;
  --shadow-panel-right: none;
  --shadow-panel-left: none;
  --shadow-panel-top: none;
  --shadow-strip-top: none;
  --shadow-sticky-column: 12px 0 20px -8px rgb(35 29 25 / 32%);
  --shadow-drawer-side: -8px 0 32px rgb(35 29 25 / 14%);
  --shadow-drawer-side-right: 8px 0 32px rgb(35 29 25 / 14%);
  --shadow-drawer-top: 0 -12px 32px rgb(35 29 25 / 14%);
}

body {
  --app-footer-h: 36px;
  --sidebar-width: 248px;
  font-weight: var(--font-weight-body);
}

/* Status banners are attached to the viewport edge, not floating cards. */
body > .banner {
  border-left: 0;
  border-radius: 0 0 var(--vui-radius-soft) var(--vui-radius-soft);
  border-right: 0;
  border-top: 0;
}

/* Shell */
.app-shell {
  grid-template-rows: 56px minmax(0, 1fr) var(--app-footer-h);
}

.app-header {
  background: var(--color-surface-raised);
  border-bottom: 1px solid var(--color-shell-divider);
  box-shadow: none;
  gap: 12px;
  padding: 0 20px;
}

.app-header h1 {
  font-family: var(--font-heading);
  font-size: var(--font-size-heading);
  letter-spacing: -0.025em;
}

.title-reset-btn {
  text-transform: none;
  transition: color var(--motion-fast) ease;
}

.app-left {
  background: var(--color-surface);
  border-right: 1px solid var(--color-shell-divider);
  box-shadow: none;
  gap: 18px;
  padding: 16px;
}

.app-center {
  background: var(--color-bg);
}

.app-right {
  border-left: 1px solid var(--color-shell-divider);
  box-shadow: none;
}

.app-footer,
.app-totals-strip {
  background: var(--color-surface-raised);
  box-shadow: none;
}

.app-footer {
  border-top: 1px solid var(--color-shell-divider);
}

.app-totals-strip {
  border-bottom: 0;
}

.app-history-ticker {
  border-bottom: 0;
}

/* Sidebar hierarchy */
.sidebar-label,
.scope-option-group-label {
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}

.scope-option {
  border-radius: var(--radius-sharp);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  padding: 6px 8px;
  text-transform: none;
  transition:
    background-color var(--motion-fast) ease,
    color var(--motion-fast) ease;
}

.scope-option.is-selected {
  background: color-mix(in srgb, var(--color-accent) 13%, var(--color-surface-raised));
  font-weight: 600;
}

.sidebar-section .search-wrap .search-input {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sharp);
  box-shadow: var(--input-bevel);
  color: var(--color-text-strong);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 400;
  text-transform: none;
  transition:
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}

.sidebar-filters select {
  background-color: var(--color-surface-raised);
  background-image:
    linear-gradient(45deg, transparent 50%, var(--color-text-muted) 50%),
    linear-gradient(135deg, var(--color-text-muted) 50%, transparent 50%);
  background-position:
    calc(100% - 15px) 50%,
    calc(100% - 10px) 50%;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sharp);
  box-shadow: var(--input-bevel);
  color: var(--color-text-strong);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 400;
  text-transform: none;
}

.sidebar-section .search-wrap .search-input:focus {
  background: var(--color-input-bg-focus);
  border-color: var(--color-line-focus);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
  outline: none;
}

.app-header-views .mobile-bottom-nav-item {
  min-width: 84px;
}

.sync-chip,
.settings-toggle,
.sync-menu button {
  font-family: var(--font-body);
  text-transform: none;
}

.sync-chip,
.sync-menu button {
  font-weight: 400;
}

.sync-menu-meta strong {
  font-weight: 500;
}

.sync-chip {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sharp);
}

.sync-menu,
.settings-popover {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-round);
  box-shadow: var(--shadow-popover);
}

/* Dense data chrome comes from Vellum's .vui-table. */
tbody tr.row-selected,
tbody tr.row-selected:hover {
  background: var(--color-accent-soft);
}

.cn-cell,
.set-cell,
.condition-cell,
.qty-cell,
.price-cell {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* Biblioplex metadata surfaces */
.tag-chip,
.loc-pill,
.page-chip {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sharp);
  box-shadow: none;
  font-family: var(--font-body);
  font-weight: 500;
  text-transform: none;
}

.row-tag-add,
.row-loc-add,
.deck-meta-ac-pill-clear {
  border-color: var(--color-line);
  box-shadow: none;
  font-family: var(--font-body);
  font-weight: 500;
  transition:
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.row-loc-add:active,
.deck-meta-ac-pill-clear:active {
  transform: scale(0.96);
}

.quick-jump-shell {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-round);
  box-shadow: var(--shadow-overlay);
}

.mcp-chat-head {
  background: var(--color-surface-raised);
  border-bottom: 1px solid var(--color-line);
  color: var(--color-text-strong);
}

.mcp-chat-head .rune-close {
  color: var(--color-text-muted);
}

.mcp-chat-head .rune-close:hover {
  color: var(--color-text-strong);
}

@media (max-width: 900px) {
  .sidebar-collapsed-trigger {
    display: none !important;
  }
  .app-left > .sidebar-brand-slot {
    display: none;
  }
  .mobile-filter-trigger,
  .mobile-filter-sheet-close,
  .mobile-utility-trigger,
  .fab-cluster > .fab-btn-primary,
  .mobile-utility-menu-panel .fab-btn,
  .app-header-views .toggle-view,
  .app-primary-nav .sync-chip,
  .app-left .clear-filters-btn,
  .app-left .collection-display-controls .segment-btn,
  .app-left .collection-column-settings-panel button,
  .app-right .btn {
    min-height: var(--vui-touch-target);
  }
}

@media (min-width: 901px) {
  .mobile-sidebar-tabs {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scope-option,
  .vui-table tbody tr {
    transition-duration: 0ms;
  }
}

/* 2026-07 shell pass: the left sidebar owns primary navigation on desktop. */
@media (min-width: 901px) {
  body.desktop-sidebar-shell .app-shell {
    grid-template-rows: minmax(0, 1fr) var(--app-footer-h);
    grid-template-areas:
      'left main right'
      'left footer right';
    /* Collapsing is a frequent workspace action. Interpolating this grid track
       relayouts the full collection table on every frame, so switch states
       immediately instead of presenting a choppy width animation. */
    transition: none;
  }
  body.desktop-sidebar-shell .app-header {
    display: none;
  }
  body.desktop-sidebar-shell .app-left {
    padding-top: 10px;
    transform: none;
    will-change: auto;
  }
  body.desktop-sidebar-shell.view-deck .app-shell {
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr) 0;
  }
  body.desktop-sidebar-shell.view-deck .app-left {
    display: flex;
  }
  .sidebar-brand-slot {
    align-items: center;
    display: flex;
    gap: 4px;
    justify-content: flex-start;
    min-height: 38px;
    position: relative;
  }
  .sidebar-brand-slot .sidebar-toggle,
  .sidebar-collapsed-trigger {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    display: inline-grid;
    height: 30px;
    justify-content: center;
    padding: 0;
    place-items: center;
    transition:
      background-color var(--motion-fast) ease,
      border-color var(--motion-fast) ease,
      color var(--motion-fast) ease;
    width: 30px;
    position: relative;
  }
  .sidebar-brand-slot .sidebar-toggle svg,
  .sidebar-collapsed-trigger svg {
    display: block;
    filter: drop-shadow(0 1px 0 color-mix(in srgb, var(--color-surface-raised) 80%, transparent))
      drop-shadow(0 -1px 0 color-mix(in srgb, var(--color-text-strong) 20%, transparent));
    height: 18px;
    width: 18px;
  }
  .sidebar-brand-slot .sync-account-slot {
    justify-content: flex-start;
    min-width: 0;
    width: calc(100% - 34px);
  }
  .sidebar-brand-slot .sync-chip {
    align-items: center;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    flex-direction: row;
    justify-content: flex-start;
    min-height: 32px;
    min-width: 0;
    padding: 6px 8px;
    width: 100%;
  }
  .sidebar-brand-slot .sync-chip:hover,
  .sidebar-brand-slot .sync-chip:focus-visible,
  .sidebar-brand-slot .sync-chip[aria-expanded='true'] {
    background: var(--color-surface-hover);
    border-color: transparent;
  }
  .sidebar-brand-slot .sync-label {
    line-height: var(--line-height-body);
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sidebar-brand-slot .sidebar-toggle {
    border-radius: var(--radius-sharp);
    color: var(--color-text-muted);
    flex: 0 0 auto;
    position: absolute;
    right: -6px;
    top: 4px;
  }
  .sidebar-brand-slot .sidebar-toggle:hover,
  .sidebar-brand-slot .sidebar-toggle:focus-visible {
    background: var(--color-surface-hover);
    color: var(--color-text-strong);
  }
  .sidebar-brand-slot .sync-menu {
    transform-origin: left top;
    width: min(224px, calc(100vw - 16px));
  }
  .sidebar-collapsed-trigger {
    color: var(--color-text-muted);
    display: none;
    left: 10px;
    position: fixed;
    top: 11px;
    z-index: 75;
  }
  body.left-sidebar-collapsed .sidebar-collapsed-trigger,
  body.left-sidebar-peeking .sidebar-brand-slot .sidebar-toggle {
    display: grid;
    opacity: 1;
    visibility: visible;
  }
  body.view-list .collection-scope-header:not(.hidden),
  body.view-grid .collection-scope-header:not(.hidden) {
    margin: 0;
    min-height: 52px;
    padding: 10px 16px;
    position: sticky;
    top: 0;
    z-index: 25;
  }
  body.left-sidebar-collapsed.view-list .collection-scope-header:not(.hidden),
  body.left-sidebar-collapsed.view-grid .collection-scope-header:not(.hidden) {
    padding-left: 56px;
  }
  body.view-list .collection-controls-toolbar.is-active:not([hidden]),
  body.view-grid .collection-controls-toolbar.is-active:not([hidden]) {
    position: sticky;
    top: 52px;
    z-index: 24;
  }

  /* Binder containers used to keep the whole workspace inside .app-center's
     page gutter. That inset the header, left the controls floating, and made
     the footer feel detached from the rest of the shell. Keep chrome edge to
     edge; only the binder canvas gets a content gutter. */
  body.desktop-sidebar-shell.view-grid .app-center {
    padding: 0;
  }
  body.desktop-sidebar-shell.view-grid .grid-actions {
    background: color-mix(in srgb, var(--color-surface) 82%, var(--color-surface-raised));
    border-bottom: 1px solid var(--color-line-faint);
    box-sizing: border-box;
    margin: 0;
    min-height: 52px;
    padding: 9px 12px;
    position: sticky;
    top: 52px;
    z-index: 24;
  }
  body.desktop-sidebar-shell.view-grid .grid-price-toggle,
  body.desktop-sidebar-shell.view-grid .grid-control-field select,
  body.desktop-sidebar-shell.view-grid .grid-search-input,
  body.desktop-sidebar-shell.view-grid .grid-filter-trigger {
    box-sizing: border-box;
    height: 32px;
  }
  body.desktop-sidebar-shell.view-grid .grid-pages {
    box-sizing: border-box;
    padding: 16px 20px 0;
  }
  body.desktop-sidebar-shell.view-grid .grid-nav {
    margin-bottom: 14px;
  }
  body.desktop-sidebar-shell.view-grid .app-totals-strip {
    display: flex;
  }
}

@media (min-width: 901px) {
  body.desktop-sidebar-shell.left-sidebar-collapsed.view-deck .app-shell {
    grid-template-columns: 0 minmax(0, 1fr) 0;
  }
}

body.sidebar-view-transitioning .app-shell {
  transition: none !important;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-group(root) {
    animation-duration: 180ms;
    animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  }
}

@media (min-width: 901px) and (hover: hover) and (pointer: fine) {
  body:not(.left-sidebar-collapsed):not(.left-sidebar-peeking) .sidebar-brand-slot .sidebar-toggle {
    opacity: 0;
    transition:
      background-color var(--motion-fast) ease,
      color var(--motion-fast) ease,
      opacity var(--motion-fast) ease;
  }
  body:not(.left-sidebar-collapsed) .app-left:hover .sidebar-brand-slot .sidebar-toggle,
  body:not(.left-sidebar-collapsed) .app-left:focus-within .sidebar-brand-slot .sidebar-toggle,
  body.left-sidebar-peeking .sidebar-brand-slot .sidebar-toggle {
    opacity: 1;
  }
  .sidebar-brand-slot .sidebar-toggle:hover,
  .sidebar-collapsed-trigger:hover {
    background: var(--color-surface-hover);
    border-color: transparent;
    color: var(--color-text-strong);
  }
}

.scope-option-group-heading {
  align-items: center;
  background: transparent;
  border-radius: var(--radius-soft);
  display: grid;
  gap: 2px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  min-height: 32px;
  transition:
    background-color var(--motion-fast) ease,
    color var(--motion-fast) ease;
}
.scope-option-group-heading:hover,
.scope-option-group-heading:focus-within {
  background: var(--color-surface-hover);
  color: var(--color-text-strong);
}
/* The flat "collection" heading has no chevron or add button; without this its
   lone destination lands in the 24px chevron track, squeezing the pill to
   icon-width while the label paints outside it. */
.scope-option-group-flat .scope-option-group-heading {
  grid-template-columns: minmax(0, 1fr);
}
/* Match the group headings' geometry: icon optically centered in a 24px
   leading slot, label starting where the group labels start. */
.scope-option-group-flat .scope-option-group-icon {
  margin-left: -1px;
}
.scope-option-group-flat .scope-option-group-destination {
  gap: 11px;
}
/* A selected group header pills the entire heading row — same geometry as the
   "collection" row — instead of stopping short of the + add button. */
.scope-option-group-heading:has(> .scope-option-group-destination.is-selected) {
  background: var(--color-accent-soft);
  border-radius: var(--radius-soft);
}
.scope-option-group-heading:has(> .scope-option-group-destination.is-selected)
  .scope-option-group-destination.is-selected,
.scope-option-group-heading:has(> .scope-option-group-destination.is-selected)
  .scope-option-group-destination.is-selected:hover {
  background: transparent;
}
/* Icon ⇄ chevron: the toggle's leading slot shows the group icon at rest and
   the chevron while hovered/focused or while the group is collapsed — every
   rail row leads [glyph][label] from the same edge, and the collapse
   affordance appears exactly when it's relevant. */
.scope-option-group-toggle .scope-option-group-chevron {
  display: none;
}
.scope-option-group-heading:hover .scope-option-group-toggle .scope-option-group-icon,
.scope-option-group-heading:focus-within .scope-option-group-toggle .scope-option-group-icon,
.scope-option-group-toggle[aria-expanded='false'] .scope-option-group-icon {
  display: none;
}
.scope-option-group-heading:hover .scope-option-group-toggle .scope-option-group-chevron,
.scope-option-group-heading:focus-within .scope-option-group-toggle .scope-option-group-chevron,
.scope-option-group-toggle[aria-expanded='false'] .scope-option-group-chevron {
  display: inline-block;
}
.scope-option-group-toggle,
.scope-option-group-destination,
.scope-option-group-add {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.scope-option-group-toggle {
  align-items: center;
  border-radius: var(--radius-soft);
  display: inline-flex;
  height: 24px;
  justify-content: center;
  padding: 0;
  width: 24px;
}
.scope-option-group-destination {
  align-items: center;
  border-radius: var(--radius-soft);
  display: flex;
  font-weight: 600;
  gap: 7px;
  min-width: 0;
  padding: 6px 5px;
  text-align: left;
}
.scope-option-group-icon {
  color: var(--color-text-muted);
  display: block;
  flex: 0 0 auto;
  height: 16px;
  width: 16px;
}
.scope-option-group-toggle:hover,
.scope-option-group-destination:hover,
.scope-option-group-add:hover {
  background: transparent;
  color: var(--color-text-strong);
}
.scope-option-group-toggle:focus-visible,
.scope-option-group-destination:focus-visible,
.scope-option-group-add:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-ring-offset);
}
.scope-option-group-add {
  transition:
    color var(--motion-fast) ease,
    opacity var(--motion-fast) ease;
}
@media (hover: hover) and (pointer: fine) {
  .scope-option-group-add {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
  .scope-option-group-heading:hover .scope-option-group-add,
  .scope-option-group-heading:focus-within .scope-option-group-add {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
}

/* Create/edit identity surfaces use the same compact visual/table glyphs. */
.storage-create-modal .deck-create-modal-card {
  width: min(440px, calc(100vw - 28px));
}
.storage-create-form .container-editor {
  gap: 14px;
  grid-column: 1 / -1;
  width: 100%;
}
.storage-create-form .container-editor-field {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 86px minmax(0, 1fr);
}
.storage-create-form .container-editor-swatch-row {
  flex-wrap: nowrap;
  gap: 7px;
}
.storage-create-form .container-editor-view-option {
  min-width: 92px;
  white-space: nowrap;
}

/* Deck cards now share the storage-card hierarchy. */
.deck-home-card {
  padding: 16px;
}
.deck-home-card .location-card-name {
  align-items: center;
  padding: 0;
}
.deck-home-card .location-card-identity {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  grid-template-rows: auto auto;
}
.deck-home-card .location-card-identity > .entity-label-mark {
  grid-column: 1;
  grid-row: 1 / 3;
}
.deck-home-card .location-card-identity > .entity-label-text {
  grid-column: 2;
  grid-row: 1;
}
.deck-home-card .location-card-identity > .entity-label-action {
  grid-column: 2;
  grid-row: 2;
  margin-left: 0;
  min-width: 0;
}
.deck-home-card .location-card-name-meta {
  justify-content: space-between;
  width: 100%;
}
.deck-home-card .deck-home-card-title {
  font-size: var(--font-size-xl);
  margin: 0;
  padding: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.deck-home-card .location-card-stats {
  border-top: 1px solid var(--color-line);
  display: grid;
  margin: 16px 0 0;
  padding: 12px 0 0;
}
.deck-card-cover {
  overflow: hidden;
}
.deck-card-cover img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.deck-home-card .location-card-menu-btn {
  opacity: 0;
  transition: opacity var(--motion-fast) ease;
}
.deck-home-card:hover .location-card-menu-btn,
.deck-home-card:focus-within .location-card-menu-btn,
.deck-home-card.menu-open .location-card-menu-btn {
  opacity: 1;
}

/* Compact persistent deck identity; detailed analytics live in Stats. */
.deck-hero {
  align-items: center;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 112px;
  padding: 14px 16px;
}
.deck-commander-hero {
  align-items: center;
  gap: 9px;
  padding: 0;
}
.deck-commander-hero-arts {
  min-height: 92px;
}
.deck-commander-hero-art {
  height: 92px;
  width: 66px;
}
.deck-commander-hero-body {
  max-width: 165px;
}
.deck-commander-hero-name {
  font-size: var(--font-size-sm);
}
.deck-commander-hero-pips {
  transform: scale(0.84);
  transform-origin: left center;
}
.deck-hero-main {
  min-width: 0;
}
.deck-hero-title-row {
  gap: 7px;
}
.deck-hero-title {
  align-items: center;
  display: flex;
  margin: 3px 0;
}
.deck-card-menu.is-context-positioned {
  position: fixed;
}
.deck-description {
  margin: 0;
  max-width: none;
  overflow: visible;
  text-overflow: clip;
  white-space: pre-wrap;
}
.deck-hero-status {
  align-items: center;
  color: var(--color-text-muted);
  display: flex;
  font-size: var(--font-size-xs);
  gap: 10px;
  margin-top: 7px;
}
.deck-hero .deck-health-strip {
  background: transparent;
  border: 0;
  display: grid;
  padding: 0;
}
.deck-hero-status .deck-health-legality {
  border: 1px solid currentColor;
  border-radius: var(--radius-sharp);
  padding: 2px 6px;
}

@media (max-width: 700px) {
  .deck-hero {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }
  .deck-commander-hero,
  .deck-hero-main,
  .deck-hero-side {
    grid-column: 1;
    width: 100%;
  }
  .deck-commander-hero {
    grid-row: auto;
  }
  .deck-hero-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
  .deck-hero-actions .btn {
    flex: 0 0 auto;
  }
}

/* Card detail alignment and consistent selects. */
.detail-advanced-subtitle {
  display: none;
}
.detail-field .language-select-wrap {
  min-width: 0;
  width: 100%;
}
.detail-field .location-pills {
  align-items: stretch;
  display: grid;
  gap: 6px;
}
.detail-field .location-pill-group {
  align-items: start;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  width: 100%;
}

/* A compact, clearly floating utility panel. */
.fab-cluster > .mobile-utility-menu > .mobile-utility-menu-panel {
  background: var(--color-surface-raised);
  border-color: var(--color-line-strong);
  box-shadow: 0 10px 28px rgb(35 29 25 / 18%);
  min-width: 0;
  width: max-content;
}
.mobile-utility-menu-panel .fab-btn {
  display: grid;
  gap: 7px;
  grid-template-columns: 16px max-content 16px;
  padding: 8px 10px;
  width: 100%;
}
