/* ELVORA COLLECTION — Accession Dashboard (orders — bento + split deep-dive) */

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

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

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

.ead-atrium-aura {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 85% 0%, rgba(212, 162, 76, 0.13), transparent 55%),
    radial-gradient(ellipse 40% 45% at 5% 100%, rgba(74, 28, 50, 0.07), transparent 50%),
    linear-gradient(180deg, var(--surface-1), var(--surface-0));
  pointer-events: none;
}

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

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

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

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

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

.ead-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);
}

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

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

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

/* Loading */
.ead-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 24px;
}

.ead-loading-orbit {
  position: relative;
  width: 56px;
  height: 56px;
}

.ead-loading-orbit span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--ochre);
  animation: eadSpin 1s linear infinite;
}

.ead-loading-orbit span:nth-child(2) {
  inset: 7px;
  animation-direction: reverse;
  animation-duration: 1.3s;
  border-top-color: var(--vault);
}

.ead-loading-orbit span:nth-child(3) {
  inset: 14px;
  animation-duration: 0.75s;
  border-top-color: var(--moss);
}

@keyframes eadSpin {
  to { transform: rotate(360deg); }
}

.ead-loading p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Gate */
.ead-gate {
  flex: 1;
  display: grid;
  place-items: center;
  padding: clamp(32px, 6vw, 64px) var(--ead-inset);
}

.ead-gate-panel {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 24px);
  max-width: 520px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--radius-2xl);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lg);
}

.ead-gate-seal {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ochre), var(--ochre-deep));
  color: var(--vault-deep);
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 8px 24px rgba(212, 162, 76, 0.35);
}

.ead-gate-copy h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vault-deep);
}

.ead-gate-copy p {
  margin: 0 0 20px;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.ead-gate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ══════════════════════════════════════
   BENTO — asymmetric stats grid
   ══════════════════════════════════════ */
.ead-dashboard {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--ead-inset);
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 3vw, 28px);
  flex: 1;
  min-height: 0;
}

.ead-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: auto auto;
  gap: 10px;
}

.ead-tile {
  padding: clamp(14px, 2vw, 18px);
  border-radius: var(--radius-xl);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s, border-color 0.3s;
}

.ead-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 162, 76, 0.3);
}

.ead-tile-hero {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: center;
  background:
    linear-gradient(145deg, rgba(74, 28, 50, 0.05), transparent 60%),
    var(--surface-2);
}

.ead-tile-hero .ead-tile-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.ead-tile-accent {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(212, 162, 76, 0.12), rgba(74, 28, 50, 0.04));
  border-color: rgba(212, 162, 76, 0.25);
}

.ead-tile[data-stat="placed"] { grid-column: 3; }
.ead-tile[data-stat="packed"] { grid-column: 4; }
.ead-tile[data-stat="shipped"] { grid-column: 5; }
.ead-tile[data-stat="delivered"] { grid-column: 6; }

.ead-tile.has-value {
  border-color: rgba(74, 28, 50, 0.15);
}

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

.ead-tile-value {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 700;
  color: var(--vault-deep);
  line-height: 1;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.ead-tile-hint {
  font-size: 0.72rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ══════════════════════════════════════
   CONSOLE — split rail + deep-dive stage
   ══════════════════════════════════════ */
.ead-console {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
  min-height: 480px;
  align-items: stretch;
}

.ead-rail {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-radius: var(--radius-2xl);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.ead-rail-head {
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-0);
}

.ead-rail-head h2 {
  margin: 0 0 2px;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--vault-deep);
}

.ead-rail-head p {
  margin: 0 0 14px;
  font-size: 0.72rem;
  color: var(--text-secondary);
}

.ead-filters {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 3px;
  border-radius: var(--radius-full);
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
}

.ead-filter-glider {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--vault), var(--vault-deep));
  box-shadow: 0 4px 14px rgba(74, 28, 50, 0.2);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), width 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
  pointer-events: none;
}

.ead-filters button {
  position: relative;
  z-index: 1;
  padding: 7px 12px;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
  transition: color 0.3s;
}

.ead-filters button.is-active {
  color: var(--on-dark);
}

.ead-slips {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scrollbar-width: thin;
}

/* Compact slip cards */
.ead-slip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  background: var(--surface-0);
  border: 1.5px solid var(--line-soft);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.3s, border-color 0.3s, background 0.3s;
  animation: eadSlipIn 0.45s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation-delay: calc(var(--slip-i, 0) * 0.04s);
}

@keyframes eadSlipIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.ead-slip:hover {
  transform: translateX(4px);
  border-color: rgba(212, 162, 76, 0.4);
  box-shadow: var(--shadow-sm);
}

.ead-slip.is-selected {
  background: linear-gradient(135deg, rgba(74, 28, 50, 0.06), rgba(212, 162, 76, 0.06));
  border-color: var(--vault);
  box-shadow: 0 4px 18px rgba(74, 28, 50, 0.1);
  transform: translateX(6px);
}

.ead-slip.is-hidden {
  display: none;
}

.ead-slip-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 36px;
  padding: 6px 8px;
  border-radius: var(--radius-md);
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
}

.ead-slip-day {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--vault);
  line-height: 1;
}

.ead-slip-mon {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ochre-deep);
}

.ead-slip-core {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.ead-slip-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--surface-1);
  border: 1px solid var(--line);
  color: var(--vault);
  transition: background 0.35s, color 0.35s, border-color 0.35s, transform 0.35s;
}

.ead-slip.is-selected .ead-slip-badge {
  background: var(--vault);
  border-color: var(--vault);
  color: var(--on-dark);
  transform: scale(1.02);
}

.ead-slip.tone-delivered .ead-slip-badge { border-color: rgba(45, 80, 22, 0.3); color: var(--moss); }
.ead-slip.tone-shipped .ead-slip-badge { border-color: rgba(26, 58, 92, 0.3); color: #1a3a5c; }
.ead-slip.tone-packed .ead-slip-badge { border-color: rgba(74, 28, 50, 0.3); }
.ead-slip.tone-cancelled .ead-slip-badge { border-color: rgba(136, 136, 136, 0.4); color: #888; }

.ead-slip-id {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--vault-deep);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ead-slip-meta {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ead-slip-chevron {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform 0.3s, color 0.3s;
}

.ead-slip.is-selected .ead-slip-chevron {
  transform: translateX(4px);
  color: var(--vault);
}

.ead-filter-empty {
  margin: 0;
  padding: 12px 18px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

/* Vacant */
.ead-vacant {
  text-align: center;
  padding: 40px 24px;
}

.ead-vacant-visual {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}

.ead-vacant-visual span {
  width: 28px;
  height: 48px;
  border-radius: 6px;
  border: 2px dashed var(--line);
  animation: eadVacantFloat 2.5s ease-in-out infinite;
}

.ead-vacant-visual span:nth-child(2) { animation-delay: 0.35s; height: 64px; }
.ead-vacant-visual span:nth-child(3) { animation-delay: 0.7s; height: 40px; }

@keyframes eadVacantFloat {
  0%, 100% { opacity: 0.35; transform: translateY(0); }
  50% { opacity: 0.85; transform: translateY(-8px); }
}

.ead-vacant h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--vault-deep);
}

.ead-vacant p {
  margin: 0 0 22px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ══════════════════════════════════════
   DEEP-DIVE stage
   ══════════════════════════════════════ */
.ead-stage {
  min-height: 0;
  border-radius: var(--radius-2xl);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
    var(--surface-2);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.ead-deep {
  height: 100%;
  min-height: 420px;
  overflow-y: auto;
}

.ead-deep-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 420px;
  padding: 40px 24px;
  text-align: center;
}

.ead-deep-placeholder-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--surface-1);
  border: 2px dashed var(--line);
  font-size: 1.2rem;
  color: var(--ochre);
  animation: eadHubBreath 3s ease-in-out infinite;
}

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

.ead-deep-placeholder h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--vault-deep);
}

.ead-deep-placeholder p {
  margin: 0;
  max-width: 28ch;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.ead-deep.is-live .ead-deep-inner {
  animation: eadDeepIn 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes eadDeepIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ead-deep-inner {
  padding: clamp(22px, 3vw, 32px);
  position: relative;
}

.ead-deep-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.ead-deep-inner.tone-placed::before { background: linear-gradient(90deg, #8b7355, #b8956a); }
.ead-deep-inner.tone-packed::before { background: linear-gradient(90deg, var(--vault), #6b2848); }
.ead-deep-inner.tone-shipped::before { background: linear-gradient(90deg, #1a3a5c, #2d5a8a); }
.ead-deep-inner.tone-delivered::before { background: linear-gradient(90deg, var(--moss), #4a8a5c); }
.ead-deep-inner.tone-cancelled::before { background: linear-gradient(90deg, #888, #bbb); }

.ead-deep-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.ead-deep-badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--vault);
  color: var(--on-dark);
  animation: eadBadgeIn 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

@keyframes eadBadgeIn {
  from { opacity: 0; transform: scale(0.85) translateY(-4px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.ead-deep-inner.tone-delivered .ead-deep-badge { background: var(--moss); }
.ead-deep-inner.tone-shipped .ead-deep-badge { background: #1a3a5c; }
.ead-deep-inner.tone-cancelled .ead-deep-badge { background: #888; }

.ead-deep-seq {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ead-deep-head h2 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 600;
  color: var(--vault-deep);
  word-break: break-word;
}

.ead-deep-date {
  margin: 0 0 22px;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Pipeline */
.ead-pipeline {
  display: flex;
  gap: 0;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  counter-reset: stage;
}

.ead-pipeline li {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  text-align: center;
}

.ead-pipeline li span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface-1);
  border: 2px solid var(--line);
  position: relative;
  z-index: 1;
  transition: background 0.4s, border-color 0.4s, transform 0.4s, box-shadow 0.4s;
}

.ead-pipeline li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--line-soft);
  transition: background 0.4s;
}

.ead-pipeline li.is-done span {
  background: var(--vault);
  border-color: var(--vault);
}

.ead-pipeline li.is-done::after {
  background: var(--vault);
}

.ead-pipeline li.is-active span {
  background: var(--ochre);
  border-color: var(--ochre-deep);
  transform: scale(1.35);
  box-shadow: 0 0 0 4px rgba(212, 162, 76, 0.25);
  animation: eadPulse 2s ease-in-out infinite;
}

@keyframes eadPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(212, 162, 76, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(212, 162, 76, 0.08); }
}

.ead-pipeline li em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}

.ead-pipeline li.is-done em,
.ead-pipeline li.is-active em {
  color: var(--vault-deep);
}

.ead-pipeline.is-cancelled li span {
  background: #ddd;
  border-color: #bbb;
}

.ead-pipeline.is-cancelled li.is-cancelled span {
  background: #888;
}

/* Meta + summary */
.ead-deep-meta {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
}

.ead-deep-meta div {
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  border: 1px solid var(--line-soft);
}

.ead-deep-meta dt {
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.ead-deep-meta dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--vault-deep);
}

.ead-deep-summary {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  background: var(--surface-1);
  border-left: 3px solid var(--ochre);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Expandable items */
.ead-deep-items {
  margin-bottom: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  background: var(--surface-1);
}

.ead-items-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: background 0.25s;
}

.ead-items-toggle:hover {
  background: rgba(74, 28, 50, 0.04);
}

.ead-items-toggle-label {
  flex: 1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--vault-deep);
}

.ead-items-count {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border-radius: var(--radius-full);
  background: var(--vault);
  color: var(--on-dark);
  font-size: 0.68rem;
  font-weight: 800;
}

.ead-items-chevron {
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--vault);
  border-bottom: 2px solid var(--vault);
  transform: rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.ead-deep-items.is-open .ead-items-chevron {
  transform: rotate(-135deg);
}

.ead-items-panel {
  border-top: 1px solid var(--line-soft);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ead-items-panel[hidden] {
  display: none;
}

.ead-deep-items.is-open .ead-items-panel:not([hidden]) {
  animation: eadItemsExpand 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes eadItemsExpand {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 600px; }
}

.ead-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--surface-0);
  border: 1px solid var(--line-soft);
  animation: eadItemIn 0.35s cubic-bezier(0.23, 1, 0.32, 1) both;
  animation-delay: calc(var(--item-i, 0) * 0.05s);
  transition: transform 0.25s, border-color 0.25s;
}

@keyframes eadItemIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ead-item:hover {
  transform: translateX(4px);
  border-color: rgba(212, 162, 76, 0.35);
}

.ead-item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ead-item-copy strong {
  font-size: 0.85rem;
  color: var(--vault-deep);
}

.ead-item-copy span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.ead-item em {
  font-style: normal;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--vault);
  flex-shrink: 0;
}

.ead-items-empty {
  margin: 0;
  padding: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

.ead-deep-foot {
  padding-top: 8px;
  border-top: 1px dashed var(--line);
}

/* Buttons */
.ead-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  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;
}

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

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

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

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

.ead-btn-track {
  display: inline-flex;
  align-items: center;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  background: var(--vault);
  color: var(--on-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}

.ead-btn-track:hover {
  transform: translateY(-2px) translateX(4px);
  box-shadow: 0 8px 22px rgba(74, 28, 50, 0.25);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .ead-bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .ead-tile-hero {
    grid-column: span 3;
    grid-row: span 1;
  }

  .ead-tile-accent {
    grid-column: span 3;
  }

  .ead-tile[data-stat] {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .ead-console {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ead-rail {
    max-height: 340px;
  }

  .ead-stage {
    min-height: 380px;
  }

  .ead-gate-panel {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .ead-gate-actions {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .ead-bento {
    grid-template-columns: 1fr 1fr;
  }

  .ead-tile-hero,
  .ead-tile-accent {
    grid-column: span 2;
  }

  .ead-filters button {
    padding: 6px 9px;
    font-size: 0.58rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ead-shimmer,
  .ead-slip,
  .ead-vacant-visual span,
  .ead-deep-placeholder-icon,
  .ead-pipeline li.is-active span,
  .ead-deep.is-live .ead-deep-inner,
  .ead-item {
    animation: none !important;
  }

  .ead-filter-glider {
    transition: none;
  }
}
