/* Компоненты: реплика кота, корпус ПК, полоски, карточки, каталог, диалоги. */

/* ---------------------------------------------------------------- кот */

/* Приветствие: кот машет лапой пару раз при появлении. */
.cat__wave {
  transform-box: view-box;
  transform-origin: 72px 198px;
  animation: cat-wave 0.9s ease-in-out 0.3s 2;
}

@keyframes cat-wave {
  0%,
  100% {
    transform: rotate(0deg);
  }
  35% {
    transform: rotate(14deg);
  }
  70% {
    transform: rotate(-8deg);
  }
}

/* ---------------------------------------------------------------- реплика кота */

.speech {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 1.25rem;
  align-items: end;
}

.speech__cat svg {
  width: clamp(120px, 18vw, 210px);
  height: auto;
}

.speech__name {
  margin: 0 0 0.45rem 0.35rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--brand);
}

.speech__bubble {
  position: relative;
  max-width: 64ch;
  padding: 1.05rem 1.35rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 26px 26px 26px 8px;
  background: var(--surface);
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
  line-height: 1.45;
}

.speech__bubble::before {
  content: "";
  position: absolute;
  left: -9px;
  bottom: 18px;
  width: 16px;
  height: 16px;
  background: var(--surface);
  border-left: 1.5px solid var(--line-strong);
  border-bottom: 1.5px solid var(--line-strong);
  transform: rotate(45deg);
}

.speech__bubble p + p {
  margin-top: 0.55em;
}

.speech__bubble b {
  font-weight: 700;
}

.speech--compact .speech__cat svg {
  width: clamp(96px, 12vw, 140px);
}

.speech--compact .speech__bubble {
  font-size: var(--fs-lg);
}

@media (max-width: 620px) {
  .speech {
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: start;
  }
  .speech__cat svg,
  .speech--compact .speech__cat svg {
    width: 92px;
  }
  .speech__bubble {
    border-radius: 8px 22px 22px 22px;
    font-size: var(--fs-md);
    padding: 0.85rem 1rem;
  }
  .speech__bubble::before {
    top: 16px;
    bottom: auto;
  }
}

/* ---------------------------------------------------------------- корпус ПК */

.pccase {
  position: relative;
  width: 100%;
  max-width: 660px;
  margin-inline: auto;
}

.pccase__top {
  display: flex;
  margin: 0 0 -10px 34px;
  position: relative;
  z-index: 2;
}

.pccase__frame {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 26px 74px 22px 22px;
  border: 10px solid var(--case-body);
  border-radius: var(--r-case);
  background: radial-gradient(120% 90% at 25% 0%, #1d2733 0%, var(--case-inner) 72%);
  box-shadow: var(--shadow-case), inset 0 0 0 1px var(--case-edge);
  color: var(--case-ink);
}

.pccase__board {
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.95fr;
  grid-template-areas:
    "cpu cooler ram"
    "gpu gpu gpu"
    "mb mb mb";
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background-color: #15202a;
  background-image:
    linear-gradient(rgba(70, 190, 210, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 190, 210, 0.07) 1px, transparent 1px);
  background-size: 18px 18px;
}

.pccase__basement {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px 14px 14px;
  border-top: 4px solid var(--case-edge);
  border-radius: 6px 6px 18px 18px;
  background: rgba(255, 255, 255, 0.03);
}

.pccase__fans {
  position: absolute;
  top: 28px;
  bottom: 28px;
  right: 14px;
  display: grid;
  align-content: space-evenly;
  justify-items: center;
  --fan: #3a4452;
}

.pccase__fans span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid var(--fan);
  background: repeating-conic-gradient(from 10deg, rgba(255, 255, 255, 0.13) 0 16deg, transparent 16deg 60deg);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.03);
  transition: border-color 0.4s, box-shadow 0.4s;
}

.pccase--ok .pccase__fans,
.pccase--warn .pccase__fans {
  --fan: var(--rgb);
}

.pccase--error .pccase__fans {
  --fan: var(--bad-fill);
}

.pccase--ok .pccase__fans span,
.pccase--warn .pccase__fans span,
.pccase--error .pccase__fans span {
  box-shadow: 0 0 16px color-mix(in srgb, var(--fan) 70%, transparent), inset 0 0 10px color-mix(in srgb, var(--fan) 55%, transparent);
}

.pccase.is-celebrate .pccase__fans span {
  animation: fan-spin 1.8s var(--ease) 1;
}

@keyframes fan-spin {
  to {
    transform: rotate(720deg);
  }
}

.pccase__glass {
  position: absolute;
  inset: 0;
  border-radius: calc(var(--r-case) - 10px);
  pointer-events: none;
  background: linear-gradient(112deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, 0.035) 74%, rgba(255, 255, 255, 0) 88%);
}

.pccase__feet {
  display: flex;
  justify-content: space-between;
  padding: 0 60px;
}

.pccase__feet span {
  width: 74px;
  height: 9px;
  border-radius: 0 0 8px 8px;
  background: var(--case-body);
}

/* слот */

.slot {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 10px 12px;
  border: 1.5px solid var(--slot-line);
  border-radius: 16px;
  background: var(--slot-bg);
  color: var(--case-ink);
  text-align: left;
  font: inherit;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
  -webkit-tap-highlight-color: transparent;
}

button.slot {
  cursor: pointer;
}

button.slot:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

.slot.is-empty {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.22);
  background: transparent;
  color: var(--case-ink-2);
}

.slot.is-empty .slot__name {
  color: var(--rgb);
}

.slot__media {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--case-ink-2);
  overflow: hidden;
}

.slot__media--photo {
  background: #fff;
}

.slot__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.slot__text {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.slot__title {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--case-ink-2);
}

.slot__name {
  font-weight: 650;
  font-size: 0.875rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slot__meta {
  font-size: 0.78rem;
  color: var(--case-ink-2);
}

.slot__badge {
  position: absolute;
  top: -10px;
  right: 10px;
  padding: 1px 9px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.slot.is-bad,
.slot.is-focus {
  border-color: var(--bad-fill);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--bad-fill) 28%, transparent);
}

.slot.is-bad .slot__badge,
.slot.is-focus .slot__badge {
  background: var(--bad-fill);
  color: #fff;
}

.slot.is-warn {
  border-color: var(--warn-fill);
}

.slot.is-warn .slot__badge {
  background: var(--warn-fill);
  color: #2b1d00;
}

.slot.is-focus {
  animation: slot-pulse 1.3s ease-out 2;
}

@keyframes slot-pulse {
  0% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--bad-fill) 60%, transparent);
  }
  100% {
    box-shadow: 0 0 0 14px transparent;
  }
}

.slot--cpu {
  grid-area: cpu;
}

.slot--cpu,
.slot--cooler,
.slot--ram {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  justify-items: start;
  gap: 8px;
}

.slot--cooler {
  grid-area: cooler;
}

.slot--ram {
  grid-area: ram;
}

.slot--gpu {
  grid-area: gpu;
  min-height: 94px;
}

.slot--gpu .slot__media {
  width: 92px;
}

.slot--motherboard {
  grid-area: mb;
  min-height: 60px;
}

.slot--motherboard .slot__media {
  width: 44px;
  height: 44px;
}

.slot--case {
  min-height: 0;
  padding: 7px 14px 7px 8px;
  border-radius: 14px;
  background: var(--case-body);
  border-color: var(--case-edge);
}

.slot--case.is-empty {
  background: var(--case-body);
  border-color: var(--case-edge);
  border-style: dashed;
}

.slot--case .slot__media {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.slot--case .slot__name {
  -webkit-line-clamp: 1;
}

@media (max-width: 600px) {
  .pccase__frame {
    padding: 18px 12px 14px;
    border-width: 7px;
  }
  .pccase__fans {
    display: none;
  }
  .pccase__board {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "cpu cooler"
      "ram ram"
      "gpu gpu"
      "mb mb";
    padding: 10px;
    gap: 10px;
  }
  .pccase__basement {
    gap: 10px;
    padding: 12px 10px 10px;
  }
  .slot {
    grid-template-columns: 1fr;
    justify-items: start;
    min-height: 0;
  }
  .slot--gpu,
  .slot--ram,
  .slot--motherboard,
  .slot--case {
    grid-template-columns: auto minmax(0, 1fr);
  }
  .slot__media {
    width: 46px;
    height: 46px;
  }
  .pccase__top {
    margin-left: 18px;
  }
}

/* ---------------------------------------------------------------- полоски */

.bars {
  display: grid;
  gap: 14px;
}

.bars__title {
  font-weight: 650;
}

.bar__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 6px;
  font-size: var(--fs-sm);
}

.bar__label {
  font-weight: 650;
}

.bar__caption {
  color: var(--ink-3);
  text-align: right;
}

.bar__flag {
  white-space: nowrap;
  margin-left: 0.5rem;
  padding: 1px 8px;
  border-radius: var(--r-pill);
  background: var(--bad-soft);
  color: var(--bad);
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: 1px;
}

.bar__track {
  position: relative;
  height: 12px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
}

.bar__fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: var(--ok-fill);
  transition: width 0.6s var(--ease);
}

.bar--warn .bar__fill {
  background: var(--warn-fill);
}

.bar--bad .bar__fill {
  background: var(--bad-fill);
}

.bar__target,
.bars__tick {
  width: 2px;
  border-radius: 2px;
  background: var(--ink);
  opacity: 0.5;
}

.bar__target {
  position: absolute;
  left: 66.667%;
  top: -4px;
  bottom: -4px;
}

.bars__legend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.bars__tick {
  height: 14px;
}

/* сравнение было → стало */

.cbar {
  display: grid;
  gap: 5px;
}

.cbar__head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: var(--fs-sm);
}

.cbar__label {
  color: var(--ink-2);
}

.cbar__before {
  color: var(--ink-3);
}

.cbar__values b {
  font-family: var(--font-display);
  font-weight: 600;
}

.cbar__track {
  position: relative;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  overflow: hidden;
}

.cbar__after,
.cbar__before-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
}

.cbar__after {
  background: var(--brand);
}

.cbar__before-fill {
  background: color-mix(in srgb, var(--ink) 55%, transparent);
}

/* ---------------------------------------------------------------- карточка детали */

.pcard {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  font: inherit;
  overflow: clip;
  transition: border-color 0.15s, transform 0.15s var(--ease);
}

button.pcard {
  cursor: pointer;
}

button.pcard:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}

.pcard__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  min-height: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  color: #8d97a5;
}

/* Картинка не влияет на размер карточки: фото бывают любых пропорций. */
.pcard__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.pcard__body {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 12px 14px 14px;
}

.pcard__name {
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.3;
}

.pcard__specs {
  font-size: 0.82rem;
  color: var(--ink-2);
}

.pcard__benefit {
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--brand);
}

.pcard__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin-top: 4px;
}

.pcard__price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
}

.pcard__reason {
  display: flex;
  gap: 6px;
  margin-top: 4px;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  line-height: 1.35;
  background: var(--warn-soft);
  color: var(--warn);
}

.pcard__reason svg {
  flex: none;
  margin-top: 1px;
}

.pcard__reason--bad {
  background: var(--bad-soft);
  color: var(--bad);
}

.pcard__reason--tip {
  background: var(--brand-soft);
  color: var(--ink-2);
}

.pcard.is-bad {
  opacity: 0.66;
  cursor: not-allowed;
}

.pcard.is-bad .pcard__media img {
  filter: grayscale(1);
  opacity: 0.7;
}

.pcard.is-picked {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

/* ---------------------------------------------------------------- каталог */

.sheet {
  width: min(1120px, 96vw);
  height: min(90vh, 920px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: var(--r-panel);
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}

.sheet::backdrop,
.dialog::backdrop {
  background: rgba(8, 12, 18, 0.55);
  backdrop-filter: blur(3px);
}

.sheet__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto minmax(0, 1fr);
  height: 100%;
}

.sheet__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.1rem 1.25rem 0.75rem;
  background: var(--surface);
}

.sheet__title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-right: auto;
  min-width: 0;
}

.sheet__title h2 {
  font-size: var(--fs-xl);
}

.sheet__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}

.sheet__count {
  font-size: var(--fs-xs);
  color: var(--ink-3);
}

.sheet__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  padding: 0.25rem 1.25rem 1rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.sheet__sort {
  width: auto;
}

/* «Мешает уже выбранное» — выход из тупика прямо в каталоге. */
.sheet__notice:empty {
  display: none;
}

.sheet__unblock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.7rem 1.25rem;
  background: var(--surface-2, var(--surface));
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--ink-2);
}

.sheet__unblock > svg {
  flex: none;
  color: var(--brand);
}

.sheet__unblock p {
  flex: 1 1 260px;
  margin: 0;
}

.sheet__unblock.is-stuck {
  background: var(--warn-soft);
  color: var(--ink);
}

.sheet__unblock.is-stuck > svg {
  color: var(--warn);
}

.sheet__unblock-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.sheet__filters {
  grid-column: 1 / -1;
}

.sheet__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  grid-auto-rows: max-content;
  align-content: start;
  gap: 14px;
  padding: 1.1rem 1.25rem 2rem;
  overflow: auto;
  overscroll-behavior: contain;
}

.sheet__more {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 0.25rem;
}

.sheet__empty {
  grid-column: 1 / -1;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  padding: 3rem 1rem;
  color: var(--ink-2);
}

@media (max-width: 640px) {
  .sheet {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
  }
  .sheet__head {
    padding: 0.9rem 0.9rem 0.6rem;
    gap: 0.5rem;
  }
  .sheet__title h2 {
    font-size: var(--fs-lg);
  }
  .sheet__icon {
    width: 40px;
    height: 40px;
  }
  .sheet__controls {
    grid-template-columns: 1fr;
    padding: 0.25rem 0.9rem 0.9rem;
  }
  .sheet__sort {
    width: 100%;
  }
  .sheet__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0.9rem;
  }
  .pcard__media img {
    padding: 8px;
  }
  .pcard__body {
    padding: 10px;
  }
}

/* ---------------------------------------------------------------- диалог */

.dialog {
  width: min(560px, 94vw);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: var(--r-panel);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
}

.dialog--wide {
  width: min(860px, 96vw);
}

.dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.dialog__head h2 {
  font-size: var(--fs-xl);
}

.dialog__body {
  padding: 1.2rem 1.4rem 1.5rem;
}

.req-summary {
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: var(--surface-2);
}

.req-summary__title {
  font-weight: 650;
}

.req-summary__list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
}

.req-summary__list li,
.req-summary__total {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.req-summary__list li span:first-child {
  color: var(--ink-2);
}

.req-summary__list li span:last-child {
  white-space: nowrap;
}

.req-summary__total {
  padding-top: 0.5rem;
  border-top: 1px dashed var(--line-strong);
}

.req-summary__total b {
  font-family: var(--font-display);
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--fs-sm);
  color: var(--ink-2);
  cursor: pointer;
}

.check input {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  accent-color: var(--brand);
}

.form-error {
  color: var(--bad);
  font-weight: 600;
  font-size: var(--fs-sm);
}

.form-error:empty {
  display: none;
}

.req-done {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  text-align: center;
}

.req-done__lead {
  font-size: var(--fs-lg);
  font-weight: 650;
}

.req-done__code {
  font-size: var(--fs-3xl);
  letter-spacing: 0.04em;
  color: var(--brand);
}

.req-done__actions {
  justify-content: center;
  margin-top: 0.5rem;
}

/* ---------------------------------------------------------------- звёзды и реакция */

.stars {
  display: inline-flex;
  gap: 3px;
  font-size: 1.7rem;
  line-height: 1;
}

.star {
  color: var(--surface-3);
  -webkit-text-stroke: 1px var(--line-strong);
}

.star.is-on {
  color: #f6b40e;
  -webkit-text-stroke: 0;
}

.star--money.is-on {
  color: #2a9d63;
}

.reaction {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.reaction video {
  width: 100%;
  max-height: 240px;
  object-fit: contain;
}

.slot.is-new {
  border-color: var(--ok-fill);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok-fill) 28%, transparent);
}

.slot.is-new .slot__badge {
  background: var(--ok-fill);
  color: #062615;
}

/* ---------------------------------------------------------------- поле с подсказками */

.combo {
  position: relative;
}

.combo__list {
  position: absolute;
  z-index: 25;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: min(340px, 50vh);
  margin: 0;
  padding: 6px;
  overflow: auto;
  overscroll-behavior: contain;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-control);
  background: var(--surface);
  box-shadow: var(--shadow-pop);
}

.combo__option {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
}

.combo__option.is-active {
  background: var(--brand-soft);
}

.combo__option.is-current .combo__label {
  font-weight: 700;
}

.combo__hint {
  flex: none;
  color: var(--ink-3);
  font-size: var(--fs-xs);
}

.combo__empty {
  padding: 0.75rem;
  color: var(--ink-3);
  font-size: var(--fs-sm);
}

/* ---------------------------------------------------------------- переключатель-сегменты */

.segmented {
  display: inline-flex;
  padding: 4px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
}

.segmented__item {
  min-height: 36px;
  padding: 0 1rem;
  border: 0;
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink-2);
  font-weight: 600;
  font-size: var(--fs-sm);
  cursor: pointer;
}

.segmented__item[aria-checked="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(16, 24, 36, 0.18);
}
