/* ELVORA COLLECTION — Kiosk Registry (cart — immersive split + dial deck) */

.page-cart .page-main {
  background: var(--surface-0);
  overflow-x: clip;
}

.ekr-root {
  --ekr-inset: clamp(1rem, 3vw, 2rem);
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
  padding-bottom: clamp(48px, 6vw, 72px);
}

/* ══════════════════════════════════════
   ATRIUM — compact header + gauge
   ══════════════════════════════════════ */
.ekr-atrium {
  position: relative;
  padding: clamp(24px, 4vw, 40px) var(--ekr-inset) clamp(16px, 2.5vw, 24px);
  overflow: hidden;
}

.ekr-atrium-aura {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(212, 162, 76, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 60% at 0% 100%, rgba(74, 28, 50, 0.06), transparent 50%),
    linear-gradient(180deg, var(--surface-1), var(--surface-0));
  pointer-events: none;
}

.ekr-atrium-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.ekr-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.ekr-crumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.ekr-crumb a:hover { color: var(--vault); }
.ekr-crumb [aria-current] { color: var(--vault-deep); font-weight: 700; }

.ekr-atrium-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ekr-kicker {
  margin: 0 0 8px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}

.ekr-atrium h1 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--vault-deep);
}

.ekr-shimmer {
  background: linear-gradient(120deg, var(--vault), var(--ochre-deep) 45%, var(--moss) 90%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: ekrShimmer 7s ease-in-out infinite alternate;
}

@keyframes ekrShimmer {
  from { background-position: 0% center; }
  to { background-position: 100% center; }
}

.ekr-lede {
  margin: 0;
  max-width: 44ch;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.ekr-gauge {
  position: relative;
  width: 88px;
  height: 88px;
  flex-shrink: 0;
}

.ekr-gauge-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ekr-gauge-track {
  fill: none;
  stroke: var(--line-soft);
  stroke-width: 5;
}

.ekr-gauge-fill {
  fill: none;
  stroke: url(#ekrGaugeGrad);
  stroke: var(--ochre);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 238.76;
  stroke-dashoffset: calc(238.76 - (238.76 * var(--gauge-pct, 20) / 100));
  transition: stroke-dashoffset 0.55s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.ekr-gauge-core {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.ekr-gauge-core strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--vault-deep);
  line-height: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.ekr-gauge-core strong.is-pulse {
  animation: ekrNumPop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.ekr-gauge-core span {
  font-size: 0.55rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@keyframes ekrNumPop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); color: var(--ochre-deep); }
  100% { transform: scale(1); }
}

/* ══════════════════════════════════════
   VACANT — empty kiosk
   ══════════════════════════════════════ */
.ekr-vacant {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(32px, 6vw, 64px) var(--ekr-inset);
}

.ekr-vacant-stage {
  text-align: center;
  max-width: 420px;
}

.ekr-vacant-orbit {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 32px;
}

.ekr-vacant-hub {
  position: absolute;
  inset: 50%;
  width: 48px;
  height: 48px;
  margin: -24px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--surface-2), var(--surface-1));
  border: 2px dashed var(--line);
  animation: ekrHubBreath 3s ease-in-out infinite;
}

@keyframes ekrHubBreath {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.08); opacity: 1; }
}

.ekr-vacant-node {
  position: absolute;
  width: 36px;
  height: 48px;
  border-radius: 8px;
  border: 2px dashed rgba(212, 162, 76, 0.45);
  background: rgba(212, 162, 76, 0.06);
  animation: ekrNodeOrbit 6s ease-in-out infinite;
}

.ekr-vacant-node-a { top: 8px; left: 50%; margin-left: -18px; animation-delay: 0s; }
.ekr-vacant-node-b { bottom: 20px; left: 12px; animation-delay: -2s; }
.ekr-vacant-node-c { bottom: 20px; right: 12px; animation-delay: -4s; }

@keyframes ekrNodeOrbit {
  0%, 100% { transform: translateY(0) rotate(-3deg); opacity: 0.45; }
  50% { transform: translateY(-10px) rotate(3deg); opacity: 0.9; }
}

.ekr-vacant h2 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--vault-deep);
}

.ekr-vacant p {
  margin: 0 0 28px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════
   THEATER — immersive split
   ══════════════════════════════════════ */
.ekr-theater {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 0;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--ekr-inset);
  min-height: 0;
  align-items: stretch;
}

.ekr-stage {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-right: clamp(16px, 2.5vw, 28px);
}

.ekr-stage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}

.ekr-stage-head h2 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--vault-deep);
}

.ekr-stage-head p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.ekr-sync {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-full);
  background: var(--surface-2);
  color: var(--vault);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.ekr-sync-icon {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.ekr-sync.is-dirty {
  border-color: var(--ochre);
  background: rgba(212, 162, 76, 0.1);
  animation: ekrSyncPulse 1.6s ease-in-out infinite;
}

.ekr-sync.is-dirty .ekr-sync-icon {
  transform: rotate(-180deg);
}

@keyframes ekrSyncPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 162, 76, 0.35); }
  50% { box-shadow: 0 0 0 6px rgba(212, 162, 76, 0); }
}

.ekr-sync:hover {
  transform: translateY(-2px);
  border-color: var(--vault);
}

/* Specimen card deck */
.ekr-deck {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  overflow-y: auto;
  padding: 4px 4px 16px 0;
  scrollbar-width: thin;
}

.ekr-specimen {
  position: relative;
  display: grid;
  grid-template-columns: auto 100px minmax(0, 1fr) auto;
  gap: clamp(12px, 2vw, 18px);
  align-items: center;
  padding: clamp(16px, 2.5vw, 20px);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, transparent 55%),
    var(--surface-2);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  transform-style: preserve-3d;
  perspective: 800px;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s, border-color 0.3s, opacity 0.3s;
  animation: ekrSpecimenIn 0.5s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation-delay: calc(var(--spec-i, 0) * 0.06s);
}

@keyframes ekrSpecimenIn {
  from { opacity: 0; transform: translateY(16px) rotateX(4deg); }
  to { opacity: 1; transform: translateY(0) rotateX(0); }
}

.ekr-specimen:hover {
  transform: translateY(-6px) rotateX(1deg);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 162, 76, 0.35);
}

.ekr-specimen.is-zero {
  opacity: 0.55;
  filter: grayscale(0.25);
}

.ekr-specimen-index {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-0);
  border: 2px solid var(--line);
  font-family: var(--serif);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ochre-deep);
}

.ekr-specimen-visual {
  position: relative;
  display: block;
  width: 100px;
  height: 100px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
  transform: translateZ(12px);
  transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.ekr-specimen:hover .ekr-specimen-visual {
  transform: translateZ(20px) scale(1.04);
}

.ekr-specimen-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.ekr-specimen:hover .ekr-specimen-visual img {
  transform: scale(1.08);
}

.ekr-specimen-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.6s;
  pointer-events: none;
}

.ekr-specimen:hover .ekr-specimen-shine {
  transform: translateX(120%);
}

.ekr-specimen-body {
  min-width: 0;
}

.ekr-specimen-sku {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}

.ekr-specimen-body h3 {
  margin: 4px 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
}

.ekr-specimen-body h3 a {
  color: var(--vault-deep);
  text-decoration: none;
  transition: color 0.2s;
}

.ekr-specimen-body h3 a:hover { color: var(--ochre-deep); }

.ekr-specimen-variant {
  margin: 0 0 4px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.ekr-specimen-unit {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ekr-specimen-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Circular quantity dial */
.ekr-dial {
  position: relative;
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
}

.ekr-dial-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.ekr-dial-track {
  fill: none;
  stroke: var(--line-soft);
  stroke-width: 3;
}

.ekr-dial-fill {
  fill: none;
  stroke: var(--vault);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 188.5;
  stroke-dashoffset: calc(188.5 - (188.5 * var(--dial-pct, 10) / 100));
  transition: stroke-dashoffset 0.4s cubic-bezier(0.34, 1.2, 0.64, 1), stroke 0.3s;
}

.ekr-dial.is-bump .ekr-dial-fill {
  stroke: var(--ochre);
}

.ekr-dial.is-bump .ekr-dial-readout input {
  animation: ekrDialBump 0.35s cubic-bezier(0.34, 1.5, 0.64, 1);
}

@keyframes ekrDialBump {
  0% { transform: scale(1); }
  45% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.ekr-dial-btn {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: var(--surface-0);
  border: 1.5px solid var(--line);
  color: var(--vault);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: grid;
  place-items: center;
  line-height: 1;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  z-index: 2;
}

.ekr-dial-minus { left: -4px; top: 50%; margin-top: -12px; }
.ekr-dial-plus { right: -4px; top: 50%; margin-top: -12px; }

.ekr-dial-btn:hover {
  background: var(--vault);
  color: var(--on-dark);
  transform: scale(1.12);
  box-shadow: 0 4px 12px rgba(74, 28, 50, 0.2);
}

.ekr-dial-btn:active {
  transform: scale(0.92);
}

.ekr-dial-readout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.ekr-dial-readout input {
  width: 40px;
  min-width: 40px;
  height: auto;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--vault-deep);
  line-height: 1.1;
  -moz-appearance: textfield;
  appearance: textfield;
}

.ekr-dial-readout input::-webkit-outer-spin-button,
.ekr-dial-readout input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ekr-dial-label {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ekr-specimen-total {
  font-size: 1rem;
  font-weight: 800;
  color: var(--vault);
  white-space: nowrap;
  transition: color 0.3s;
}

.ekr-specimen-total.is-pulse,
.ekr-ticker-value.is-pulse,
.ekr-ledger-rows dd.is-pulse {
  animation: ekrNumPop 0.45s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.ekr-stage-foot {
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  margin-top: auto;
}

/* ══════════════════════════════════════
   LEDGER — floating glass dock
   ══════════════════════════════════════ */
.ekr-ledger {
  position: relative;
  padding-left: clamp(16px, 2.5vw, 24px);
  border-left: 1px solid var(--line-soft);
}

.ekr-ledger-dock {
  position: sticky;
  top: 72px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.35) 100%),
    var(--surface-2);
  border: 1px solid rgba(212, 162, 76, 0.2);
  box-shadow:
    0 20px 50px rgba(74, 28, 50, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
}

.ekr-ledger-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.ekr-ledger-seal {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--vault), var(--vault-deep));
  color: var(--ochre);
  font-size: 1rem;
  box-shadow: 0 8px 22px rgba(74, 28, 50, 0.22);
}

.ekr-ledger-head h2 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--vault-deep);
}

.ekr-ledger-head p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.ekr-ticker {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(74, 28, 50, 0.06), rgba(212, 162, 76, 0.08));
  border: 1px solid rgba(212, 162, 76, 0.2);
}

.ekr-ticker-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ochre-deep);
  margin-bottom: 4px;
}

.ekr-ticker-value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--vault-deep);
  line-height: 1;
}

.ekr-steps {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ekr-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.3s;
}

.ekr-steps li span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-1);
  border: 1px solid var(--line);
  font-size: 0.58rem;
  font-weight: 800;
}

.ekr-steps li.is-current {
  color: var(--vault-deep);
  font-weight: 800;
}

.ekr-steps li.is-current span {
  background: var(--vault);
  border-color: var(--vault);
  color: var(--on-dark);
}

.ekr-ledger-rows {
  margin: 0 0 14px;
  padding: 0;
}

.ekr-ledger-rows div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.ekr-ledger-rows dt { font-weight: 600; }
.ekr-ledger-rows dd { margin: 0; font-weight: 700; color: var(--vault-deep); }

.ekr-ledger-due {
  margin-top: 6px;
  padding-top: 12px !important;
  border-top: 2px dashed var(--line);
  font-size: 0.95rem !important;
}

.ekr-ledger-due dd {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ochre-deep) !important;
}

.ekr-ship-badge {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  background: rgba(45, 80, 22, 0.08);
  border: 1px solid rgba(45, 80, 22, 0.2);
  color: var(--moss);
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.45;
}

.ekr-ship-note {
  margin: 0 0 16px;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.ekr-trust {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Buttons */
.ekr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  border: 0;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
}

.ekr-btn-seal {
  width: 100%;
  background: linear-gradient(135deg, var(--ochre), #f0c96a);
  color: var(--vault-deep);
  box-shadow: 0 8px 28px rgba(212, 162, 76, 0.35);
}

.ekr-btn-seal:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(212, 162, 76, 0.45);
}

.ekr-btn-ghost {
  padding: 10px 18px;
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--vault);
}

.ekr-btn-ghost:hover {
  border-color: var(--vault);
  transform: translateY(-2px);
}

.ekr-btn-checkout { margin-top: 2px; }

/* ══════════════════════════════════════
   RESPONSIVE — bottom sheet ledger
   ══════════════════════════════════════ */
@media (max-width: 900px) {
  .ekr-theater {
    grid-template-columns: 1fr;
    padding-bottom: 120px;
  }

  .ekr-stage {
    padding-right: 0;
  }

  .ekr-ledger {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 0;
    border-left: 0;
  }

  .ekr-ledger-dock {
    position: static;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    max-height: 72vh;
    overflow-y: auto;
    transform: translateY(calc(100% - 88px));
    transition: transform 0.45s cubic-bezier(0.34, 1.2, 0.64, 1);
    box-shadow: 0 -12px 40px rgba(74, 28, 50, 0.12);
  }

  .ekr-ledger-dock.is-open {
    transform: translateY(0);
  }

  .ekr-ledger-dock .ekr-steps,
  .ekr-ledger-dock .ekr-ledger-rows,
  .ekr-ledger-dock .ekr-ship-badge,
  .ekr-ledger-dock .ekr-ship-note,
  .ekr-ledger-dock .ekr-btn-checkout,
  .ekr-ledger-dock .ekr-trust {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    transition: opacity 0.3s, max-height 0.35s;
  }

  .ekr-ledger-dock.is-open .ekr-steps,
  .ekr-ledger-dock.is-open .ekr-ledger-rows,
  .ekr-ledger-dock.is-open .ekr-ship-badge,
  .ekr-ledger-dock.is-open .ekr-ship-note,
  .ekr-ledger-dock.is-open .ekr-btn-checkout,
  .ekr-ledger-dock.is-open .ekr-trust {
    opacity: 1;
    max-height: 400px;
    margin-bottom: revert;
    padding: revert;
  }

  .ekr-ledger-dock.is-open .ekr-btn-checkout {
    margin-top: 2px;
    margin-bottom: 0;
  }

  .ekr-ticker {
    cursor: pointer;
    margin-bottom: 0;
  }

  .ekr-ticker::after {
    content: "Tap to expand";
    display: block;
    margin-top: 6px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .ekr-ledger-dock.is-open .ekr-ticker::after {
    content: "Tap to collapse";
  }

  .ekr-specimen {
    grid-template-columns: auto 80px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .ekr-specimen-controls {
    grid-column: 2 / -1;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .ekr-specimen-visual {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 520px) {
  .ekr-specimen {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ekr-specimen-index { display: none; }

  .ekr-specimen-visual {
    width: 100%;
    height: 140px;
    margin: 0 auto;
  }

  .ekr-specimen-controls {
    grid-column: 1;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ekr-shimmer,
  .ekr-specimen,
  .ekr-vacant-node,
  .ekr-vacant-hub,
  .ekr-specimen-total.is-pulse,
  .ekr-ticker-value.is-pulse,
  .ekr-ledger-rows dd.is-pulse,
  .ekr-gauge-core strong.is-pulse,
  .ekr-sync.is-dirty {
    animation: none !important;
  }

  .ekr-ledger-dock {
    transition: none;
  }
}
