/* ==========================================================================
   KaroPrints — Shared components: buttons, cards, forms, modals, tables
   ========================================================================== */

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--r-lg);
  font-size: var(--text-sm);
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  text-align: center;
  min-height: 2.75rem;
}

.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn--yellow {
  background: var(--yellow-400);
  color: var(--slate-950);
  border-color: var(--yellow-500);
  box-shadow: var(--shadow-md);
}
.btn--yellow:hover:not(:disabled) { background: var(--yellow-300); }

.btn--primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover:not(:disabled) { background: var(--blue-700); }

.btn--dark {
  background: var(--slate-950);
  color: #fff;
  border-color: var(--slate-800);
  box-shadow: var(--shadow-md);
}
.btn--dark:hover:not(:disabled) { background: var(--slate-900); }

.btn--ghost {
  background: var(--slate-100);
  color: var(--slate-800);
  border-color: var(--slate-300);
}
.btn--ghost:hover:not(:disabled) { background: var(--slate-200); }

.btn--outline {
  background: #fff;
  color: var(--slate-800);
  border-color: var(--slate-300);
  border-width: 2px;
  box-shadow: var(--shadow-xs);
}
.btn--outline:hover:not(:disabled) { background: var(--slate-50); }

.btn--blue-soft {
  background: var(--blue-50);
  color: var(--blue-900);
  border-color: var(--blue-300);
  border-width: 2px;
}
.btn--blue-soft:hover:not(:disabled) { background: var(--blue-100); }

.btn--ok {
  background: var(--emerald-700);
  color: #fff;
}
.btn--ok:hover:not(:disabled) { background: var(--emerald-800); }

.btn--danger-ghost {
  background: transparent;
  color: var(--slate-400);
  border-radius: var(--r-md);
  padding: 0.375rem;
  min-height: 0;
}
.btn--danger-ghost:hover { color: var(--rose-600); background: var(--rose-50); }

.btn--sm { padding: 0.5rem 0.75rem; font-size: var(--text-xs); min-height: 2.25rem; border-radius: var(--r-md); }
.btn--lg { padding: 0.875rem 1.5rem; font-size: var(--text-base); border-radius: var(--r-lg); }
.btn--block { width: 100%; }
.btn--link {
  background: none;
  border: 0;
  padding: 0;
  min-height: 0;
  color: var(--blue-700);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline;
}
.btn--link:hover { color: var(--blue-900); }

.btn__icon { flex: 0 0 auto; }

/* Badges ------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: var(--r-full);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid transparent;
  white-space: nowrap;
}

.badge--yellow { background: var(--yellow-100); color: var(--yellow-950); border-color: var(--yellow-300); }
.badge--solid-yellow { background: var(--yellow-400); color: var(--slate-950); border-color: var(--yellow-500); }
.badge--blue { background: var(--blue-100); color: var(--blue-800); border-color: var(--blue-300); }
.badge--solid-blue { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }
.badge--emerald { background: var(--emerald-100); color: var(--emerald-800); border-color: var(--emerald-300); }
.badge--rose { background: var(--rose-100); color: var(--rose-600); border-color: var(--rose-300); }
.badge--slate { background: var(--slate-100); color: var(--slate-700); border-color: var(--slate-300); }
.badge--dark { background: var(--slate-900); color: var(--yellow-400); border-color: var(--slate-700); }
.badge--pulse { animation: pulseSoft 1.8s ease-in-out infinite; }

@keyframes pulseSoft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* Cards -------------------------------------------------------------------- */
.card {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.card--tight { padding: var(--sp-5); }
.card--flush { padding: 0; overflow: hidden; }
.card--dark {
  background: var(--slate-950);
  border-color: var(--slate-800);
  color: var(--slate-300);
  box-shadow: var(--shadow-xl);
}
.card--dark h3, .card--dark h4 { color: #fff; }
.card--accent { border-color: var(--blue-500); box-shadow: var(--shadow-md); }
.card--strong { border-color: var(--slate-900); box-shadow: var(--shadow-xl); }
.card--selected { border-color: var(--blue-600); box-shadow: 0 0 0 4px rgb(59 130 246 / 0.2), var(--shadow-md); }
.card--hoverable { transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease); }
.card--hoverable:hover { border-color: var(--blue-500); box-shadow: var(--shadow-xl); }
.card--interactive { cursor: pointer; }

.card__title { font-size: var(--text-base); font-weight: 800; color: var(--ink-strong); margin-bottom: 0.375rem; }
.card__text { font-size: var(--text-xs); color: var(--ink-muted); line-height: 1.65; }
.card__meta { display: flex; align-items: center; gap: 0.5rem; }
.card__foot { border-top: 1px solid var(--slate-100); padding-top: var(--sp-4); margin-top: var(--sp-4); }

.card--dark .card__text { color: var(--slate-400); }

.icon-tile {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--r-lg);
  display: grid;
  place-items: center;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  color: var(--blue-600);
  box-shadow: var(--shadow-xs);
  flex: 0 0 auto;
}

.icon-tile--yellow { background: var(--yellow-400); border-color: var(--yellow-500); color: var(--slate-950); }
.icon-tile--dark { background: var(--slate-900); border-color: var(--slate-700); color: var(--yellow-400); }
.icon-tile--ok { background: var(--emerald-100); border-color: var(--emerald-300); color: var(--emerald-700); }

/* Forms -------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 0.375rem; text-align: left; }
.field > label, .field__label {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--slate-700);
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid var(--slate-300);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--slate-900);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.625rem center;
  padding-right: 2rem;
}

input::placeholder, textarea::placeholder { color: var(--slate-400); font-weight: 500; }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgb(59 130 246 / 0.25);
}

.field--dark > label { color: var(--slate-300); }
.field--dark input, .field--dark select {
  background: var(--slate-900);
  border-color: var(--slate-700);
  color: #fff;
}

.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
}

.checkbox input { accent-color: var(--blue-600); width: 0.9rem; height: 0.9rem; }

.search-field { position: relative; flex: 1; }
.search-field svg { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--slate-400); pointer-events: none; }
.search-field input { padding-left: 2.25rem; }

/* Tabs --------------------------------------------------------------------- */
.tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  overflow-x: auto;
  scrollbar-width: thin;
  border-bottom: 1px solid var(--line);
}

.tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--slate-500);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.tab:hover { color: var(--slate-900); background: var(--slate-50); }
.tab[aria-selected="true"] { color: var(--blue-700); border-bottom-color: var(--blue-600); background: var(--blue-50); }
.tab--dark { color: var(--slate-400); }
.tab--dark:hover { color: #fff; background: rgb(15 23 42 / 0.6); }
.tab--dark[aria-selected="true"] { color: var(--yellow-400); border-bottom-color: var(--yellow-400); background: rgb(15 23 42 / 0.4); }

.pill-group {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  flex-wrap: wrap;
  padding: 0.375rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  box-shadow: var(--shadow-xs);
}

.pill {
  padding: 0.5rem 1rem;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--slate-600);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}

.pill:hover { color: var(--slate-900); }
.pill[aria-selected="true"] { background: var(--blue-600); color: #fff; box-shadow: var(--shadow-sm); }

/* Alerts ------------------------------------------------------------------- */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem;
  border-radius: var(--r-lg);
  border: 1px solid;
  font-size: var(--text-xs);
  line-height: 1.55;
  text-align: left;
}

.alert strong { display: block; font-weight: 700; }
.alert svg { flex: 0 0 auto; margin-top: 1px; }
.alert--warn { background: var(--yellow-50); border-color: var(--yellow-300); color: var(--yellow-950); }
.alert--warn svg { color: var(--yellow-700); }
.alert--info { background: var(--blue-50); border-color: var(--blue-300); color: var(--blue-900); }
.alert--ok { background: var(--emerald-50); border-color: var(--emerald-300); color: var(--emerald-800); }
.alert--dark { background: var(--slate-900); border-color: var(--slate-700); color: var(--slate-300); }

/* Tables ------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.table { width: 100%; border-collapse: collapse; font-size: var(--text-xs); white-space: nowrap; }
.table thead { background: var(--slate-950); color: #fff; }
.table th { padding: 0.75rem 1rem; text-align: left; font-weight: 700; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.table th:last-child { text-align: right; }
.table td { padding: 0.875rem 1rem; border-top: 1px solid var(--slate-100); vertical-align: middle; }
.table td:last-child { text-align: right; }
.table tbody tr:hover { background: var(--slate-50); }
.table__token { font-family: var(--font-mono); font-weight: 800; color: var(--slate-950); }

/* Stats -------------------------------------------------------------------- */
.stat-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-xl);
  padding: var(--sp-4);
  box-shadow: var(--shadow-xs);
  text-align: left;
}

.stat-card__label { display: block; font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--slate-500); }
.stat-card__value { display: block; font-size: var(--text-2xl); font-weight: 800; font-family: var(--font-mono); color: var(--slate-950); margin-top: 0.25rem; }
.stat-card__value--ok { color: var(--emerald-600); }
.stat-card__value--brand { color: var(--blue-600); }
.stat-card__hint { font-size: 0.6875rem; color: var(--slate-500); margin-top: 0.25rem; display: block; }

/* Toner / printer inventory ------------------------------------------------ */
.printer-card {
  background: #fff;
  border: 2px solid var(--slate-200);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  text-align: left;
}

.printer-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-3); }
.printer-card__name { font-size: var(--text-sm); font-weight: 800; color: var(--slate-950); }
.printer-card__meta { font-family: var(--font-mono); font-size: 0.6875rem; color: var(--slate-500); }

.toner { margin-top: var(--sp-3); }
.toner__row { display: flex; align-items: center; justify-content: space-between; font-size: 0.6875rem; color: var(--slate-500); margin-bottom: 0.25rem; }
.toner__row strong { font-family: var(--font-mono); color: var(--slate-900); }
.toner__bar { height: 0.5rem; border-radius: var(--r-full); background: var(--slate-100); overflow: hidden; }
.toner__fill { height: 100%; border-radius: var(--r-full); background: var(--slate-900); transition: width var(--dur-slow) var(--ease); }
.toner__fill--ok { background: var(--emerald-500); }
.toner__fill--warn { background: var(--yellow-400); }
.toner__fill--low { background: var(--rose-500); }
.toner__fill--cyan { background: #06b6d4; }
.toner__fill--magenta { background: #db2777; }
.toner__fill--yellow { background: var(--yellow-400); }

.printer-card__foot {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-2);
  margin-top: var(--sp-3);
  padding-top: 0.75rem;
  border-top: 1px solid var(--slate-100);
  font-size: 0.6875rem;
  color: var(--slate-600);
}

/* Pricing plans ------------------------------------------------------------ */
.plan-card {
  background: #fff;
  border: 2px solid var(--slate-200);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  text-align: left;
  position: relative;
}

.plan-card--featured { border-color: var(--blue-600); box-shadow: var(--shadow-xl); }
.plan-card__flag {
  position: absolute;
  top: -0.75rem;
  right: 1rem;
  background: var(--yellow-400);
  color: var(--slate-950);
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.125rem 0.5rem;
  border-radius: var(--r-full);
  border: 1px solid var(--yellow-500);
}

.plan-card__price { font-size: 2.5rem; font-weight: 800; font-family: var(--font-mono); color: var(--slate-950); line-height: 1; }
.plan-card__price span { font-size: var(--text-xs); font-weight: 600; color: var(--slate-500); font-family: var(--font-sans); }

.list-check { display: flex; flex-direction: column; gap: 0.5rem; font-size: var(--text-xs); color: var(--slate-600); }
.list-check li { display: flex; align-items: flex-start; gap: 0.5rem; }
.list-check svg { color: var(--emerald-600); flex: 0 0 auto; margin-top: 1px; }

/* Range slider ------------------------------------------------------------- */
input[type="range"] {
  width: 100%;
  height: 0.5rem;
  border-radius: var(--r-full);
  background: var(--slate-800);
  appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--yellow-400);
  border: 2px solid var(--slate-950);
  box-shadow: var(--shadow-sm);
}

input[type="range"]::-moz-range-thumb {
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: var(--yellow-400);
  border: 2px solid var(--slate-950);
}

/* Comparison table --------------------------------------------------------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: var(--text-xs); }
.compare th, .compare td { padding: 0.875rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.compare thead th { background: var(--slate-950); color: #fff; font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; }
.compare thead th:nth-child(2) { color: var(--slate-400); }
.compare thead th:nth-child(3) { color: var(--yellow-400); }
.compare tbody td:nth-child(2) { color: var(--slate-500); }
.compare tbody td:nth-child(3) { color: var(--emerald-700); font-weight: 700; background: var(--emerald-50); }

/* Modal -------------------------------------------------------------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-3);
  background: rgb(2 6 23 / 0.78);
  backdrop-filter: blur(6px);
  animation: fadeIn var(--dur) var(--ease) both;
}

@media (min-width: 640px) {
  .modal { padding: var(--sp-4); }
}

.modal__panel {
  background: #fff;
  border-radius: var(--r-3xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2xl);
  width: 100%;
  max-width: 32rem;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: zoomIn var(--dur-slow) var(--ease) both;
}

.modal__panel--sm { max-width: 26rem; }
.modal__panel--md { max-width: 36rem; }
.modal__panel--lg { max-width: 44rem; }
.modal__panel--xl { max-width: 64rem; }
.modal__panel--full { height: 90vh; }
.modal__panel--dark { background: var(--slate-900); border-color: var(--slate-700); color: var(--slate-100); }

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--slate-950);
  color: #fff;
  border-bottom: 1px solid var(--slate-800);
  flex: 0 0 auto;
}

.modal__head h3 { color: #fff; font-size: var(--text-base); font-weight: 800; }
.modal__head p { color: var(--slate-400); font-size: 0.6875rem; }

.modal__close {
  padding: 0.375rem;
  border-radius: var(--r-md);
  color: var(--slate-400);
  display: grid;
  place-items: center;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.modal__close:hover { color: #fff; background: var(--slate-800); }

.modal__body { padding: var(--sp-5); overflow-y: auto; }
.modal__body--flush { padding: 0; }
.modal__body--alt { background: var(--slate-50); border-bottom: 1px solid var(--line); }

.modal__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  background: var(--slate-100);
  border-top: 1px solid var(--line);
  flex: 0 0 auto;
}

body.is-locked { overflow: hidden; }

/* Toast -------------------------------------------------------------------- */
.toast-stack {
  position: fixed;
  bottom: var(--sp-4);
  right: var(--sp-4);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background: var(--slate-950);
  color: #fff;
  border: 1px solid var(--slate-700);
  border-left: 4px solid var(--emerald-500);
  padding: 0.75rem 1rem;
  border-radius: var(--r-lg);
  font-size: var(--text-xs);
  font-weight: 600;
  box-shadow: var(--shadow-xl);
  animation: slideUp var(--dur) var(--ease) both;
  max-width: 22rem;
  pointer-events: auto;
}

.toast--warn { border-left-color: var(--yellow-400); }
.toast--error { border-left-color: var(--rose-500); }

/* QR ----------------------------------------------------------------------- */
.qr-box {
  padding: var(--sp-4);
  background: var(--slate-50);
  border: 2px solid var(--slate-200);
  border-radius: var(--r-xl);
  text-align: center;
}

.qr-fake {
  width: 11rem;
  height: 11rem;
  margin-inline: auto;
  background: var(--slate-950);
  padding: 0.75rem;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}

.qr-fake__grid {
  width: 100%;
  height: 100%;
  background: #fff;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.25rem;
}

.qr-fake__cell { border-radius: 1px; background: var(--slate-200); }
.qr-fake__cell--on { background: var(--slate-950); }

/* Toggle switch ------------------------------------------------------------ */
.switch { display: inline-flex; align-items: center; gap: 0.625rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track {
  width: 2.75rem;
  height: 1.5rem;
  border-radius: var(--r-full);
  background: var(--slate-300);
  position: relative;
  transition: background var(--dur) var(--ease);
  flex: 0 0 auto;
}
.switch__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 1.125rem;
  height: 1.125rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease);
}
.switch input:checked + .switch__track { background: var(--emerald-500); }
.switch input:checked + .switch__track::after { transform: translateX(1.25rem); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* Accordion ---------------------------------------------------------------- */
.accordion { display: flex; flex-direction: column; gap: 0.75rem; }

.accordion__item {
  border: 2px solid var(--line);
  border-radius: var(--r-xl);
  background: #fff;
  overflow: hidden;
  transition: border-color var(--dur) var(--ease);
}

.accordion__item[data-open="true"] { border-color: var(--blue-300); }

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4);
  text-align: left;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--slate-900);
}

.accordion__trigger:hover { background: var(--slate-50); }
.accordion__trigger svg { color: var(--slate-400); flex: 0 0 auto; transition: transform var(--dur) var(--ease), color var(--dur) var(--ease); }
.accordion__item[data-open="true"] .accordion__trigger svg { transform: rotate(180deg); color: var(--blue-600); }

.accordion__panel {
  padding: 0 var(--sp-4) var(--sp-5);
  border-top: 1px solid var(--slate-100);
  background: rgb(248 250 252 / 0.5);
  font-size: var(--text-xs);
  line-height: 1.7;
  color: var(--slate-600);
}

/* Token ticket ------------------------------------------------------------- */
.ticket {
  background: var(--slate-950);
  color: #fff;
  border: 1px solid var(--slate-800);
  border-radius: var(--r-xl);
  padding: var(--sp-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  box-shadow: var(--shadow-xl);
}

.ticket__label { font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate-400); }
.ticket__number { font-family: var(--font-mono); font-size: var(--text-3xl); font-weight: 800; color: var(--yellow-400); line-height: 1.1; }
.ticket__pin { font-family: var(--font-mono); font-size: var(--text-2xl); font-weight: 800; color: var(--blue-400); background: var(--slate-900); border: 1px solid var(--slate-700); padding: 0.25rem 0.75rem; border-radius: var(--r-lg); }

/* Empty state -------------------------------------------------------------- */
.empty { text-align: center; padding: var(--sp-10) var(--sp-4); color: var(--slate-500); }
.empty svg { margin-inline: auto; color: var(--slate-300); margin-bottom: var(--sp-3); }
.empty h4 { font-size: var(--text-sm); color: var(--slate-800); margin-bottom: 0.25rem; }
.empty p { font-size: var(--text-xs); max-width: 22rem; margin-inline: auto; }

/* Avatar chips (hero social proof) ----------------------------------------- */
.avatar-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 0;
  overflow: hidden;
  flex: 0 0 auto;
}

.avatar-chip + .avatar-chip { margin-left: -8px; }

/* Code blocks (architecture + export modals) -------------------------------- */
.code-block {
  margin: 0;
  padding: 0.875rem;
  background: rgb(2 6 23 / 0.85);
  border: 1px solid var(--slate-800);
  border-radius: var(--r-lg);
  color: var(--slate-200);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  line-height: 1.7;
  overflow: auto;
  white-space: pre;
  tab-size: 2;
}

/* Standee preview ---------------------------------------------------------- */
.standee {
  background: #fff;
  border: 10px solid var(--slate-950);
  border-radius: var(--r-2xl);
  padding: var(--sp-5);
  text-align: center;
  box-shadow: var(--shadow-xl);
  max-width: 22rem;
  margin-inline: auto;
}

.standee__brand { font-size: var(--text-xl); font-weight: 800; color: var(--slate-950); }
.standee__brand em { font-style: normal; color: var(--blue-600); }
.standee__qr { margin: var(--sp-4) auto; width: 9rem; height: 9rem; background: repeating-conic-gradient(var(--slate-950) 0% 25%, #fff 0% 50%) 50% / 16px 16px; border: 6px solid #fff; outline: 2px solid var(--slate-900); border-radius: var(--r-md); }
.standee__steps { display: flex; flex-direction: column; gap: 0.375rem; font-size: var(--text-xs); font-weight: 800; }
.standee__foot { margin-top: var(--sp-4); padding-top: var(--sp-3); border-top: 1px dashed var(--slate-300); font-size: 0.625rem; color: var(--slate-500); }
