/* ============================================================
   EMERALD VAULT — Collector Dashboard CSS
   Design: Clean light system matching prototype
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Open+Sans:wght@300;400&display=swap');

:root {
  --ev-bg:              #E8EDF2;
  --ev-surface:         #E8EDF2;
  --ev-white:           #FFFFFF;
  --ev-ink:             #2C3240;
  --ev-ink-2:           #4A5568;
  --ev-muted:           #8896A8;
  --ev-muted-2:         #A0AEC0;
  --ev-line:            transparent;
  --ev-line-2:          #E8EDF2;
  --ev-emerald:         #1B4D3E;
  --ev-emerald-bg:      rgba(27,77,62,0.10);
  --ev-emerald-border:  transparent;
  --ev-amber-bg:        rgba(138,106,63,0.10);
  --ev-amber:           #8a6a3f;
  --ev-brass:           #8a6a3f;
  --ev-red-bg:          rgba(185,28,28,0.08);
  --ev-red:             #b91c1c;
  --ev-radius:          12px;
  --ev-radius-lg:       16px;
  --ev-radius-xl:       20px;
  --shadow-raised:      -4px -4px 10px #FFFFFF, 4px 4px 10px #C8CDD4;
  --shadow-raised-lg:   -8px -8px 20px #FFFFFF, 8px 8px 20px #C8CDD4;
  --shadow-raised-sm:   -2px -2px 6px #FFFFFF, 2px 2px 6px #C8CDD4;
  --shadow-pressed:     inset -2px -2px 6px #FFFFFF, inset 2px 2px 6px #C8CDD4;
  --shadow-pressed-lg:  inset -4px -4px 10px #FFFFFF, inset 4px 4px 10px #C8CDD4;
  --shadow-hover:       -6px -6px 14px #FFFFFF, 6px 6px 14px #C8CDD4;
  --shadow-active:      inset -3px -3px 8px #FFFFFF, inset 3px 3px 8px #C8CDD4;
  --shadow-modal:       -12px -12px 28px #FFFFFF, 12px 12px 28px #B8BEC6;
  --shadow-input:       inset -3px -3px 8px #FFFFFF, inset 3px 3px 8px #C8CDD4;
  --shadow-input-focus: inset -3px -3px 8px #F0F4F8, inset 3px 3px 8px #B8BEC6;
  --shadow-icon:        -3px -3px 8px #FFFFFF, 3px 3px 8px #C8CDD4;
  --ev-shadow:          var(--shadow-raised);
  --ev-shadow-md:       var(--shadow-raised-lg);
}

*, *::before, *::after { box-sizing: border-box; }

/* ── Body ──────────────────────────────────────────────────── */
.ev-collector-body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--ev-bg);
  color: var(--ev-ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  background-image: none;
}

.ev-collector-body img { max-width: 100%; height: auto; }

/* ── Shell ─────────────────────────────────────────────────── */
.av-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── Top Navigation ────────────────────────────────────────── */
.av-top {
  background: #ffffff;
  border-bottom: 1px solid var(--ev-line);
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  min-height: 72px;
  gap: 16px;
}

.av-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.av-mark {
  width: 28px;
  height: 28px;
  background: var(--ev-emerald);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.av-mark::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 3px;
  transform: rotate(45deg);
}

.av-title {
  font-size: 15px;
  font-weight: 400;
  color: var(--ev-ink);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-family: 'DM Serif Display', Georgia, serif;
}

.av-sub {
  font-size: 11.5px;
  color: var(--ev-muted);
  margin: 0;
}

/* ── Nav Links ─────────────────────────────────────────────── */
.av-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.av-nav a {
  text-decoration: none;
  color: var(--ev-muted);
  padding: 7px 10px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid transparent;
}

.av-nav a:hover {
  color: var(--ev-ink);
}

.av-nav a.is-active {
  color: var(--ev-emerald);
  font-weight: 600;
  background: transparent;
  border-bottom-color: var(--ev-emerald);
}

/* ── Top Actions ───────────────────────────────────────────── */
.av-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Page Content Container ────────────────────────────────── */
.av-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 64px;
  flex: 1;
}

/* ── Page Header Bar ───────────────────────────────────────── */
.av-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.av-topbar h1,
.av-title-lg {
  font-size: 34px;
  font-weight: 400;
  color: var(--ev-ink);
  margin: 0 0 4px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  font-family: 'DM Serif Display', Georgia, serif;
}

.av-subtitle {
  font-size: 13.5px;
  color: var(--ev-muted);
  margin: 0;
  line-height: 1.5;
}

/* ── Buttons ────────────────────────────────────────────────── */
.av-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: var(--ev-radius);
  border: 1px solid var(--ev-ink);
  background: var(--ev-white);
  color: var(--ev-ink);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.av-btn:hover {
  background: var(--ev-line-2);
  text-decoration: none;
}

.av-btn-primary {
  background: var(--ev-ink);
  border-color: var(--ev-ink);
  color: #fff;
}

.av-btn-primary:hover {
  background: #1a1a1a;
  color: #fff;
}

.av-btn-ghost {
  background: transparent;
  color: var(--ev-muted);
  border-color: transparent;
}

.av-btn-ghost:hover {
  background: transparent;
  border-color: transparent;
  color: var(--ev-ink);
}

/* ── KPI Cards ─────────────────────────────────────────────── */
.av-kpi-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.av-kpi {
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius-lg);
  padding: 24px;
}

.av-kpi-label {
  font-size: 11.5px;
  color: var(--ev-muted);
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.av-kpi-value {
  font-size: 28px;
  font-weight: 600;
  color: var(--ev-ink);
  line-height: 1;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  font-family: 'DM Serif Display', Georgia, serif;
}

.av-kpi-sub {
  font-size: 12px;
  color: var(--ev-muted);
  line-height: 1.4;
}

.av-kpi-sub a {
  color: var(--ev-emerald);
  text-decoration: none;
  font-weight: 500;
}

.av-kpi-sub a:hover { text-decoration: underline; }

/* ── Artwork Grid ───────────────────────────────────────────── */
.av-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

/* ── Artwork Cards ──────────────────────────────────────────── */
.av-card {
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, transform 0.15s;
}

.av-card:hover {
  border-color: var(--ev-emerald);
  transform: translateY(-1px);
  text-decoration: none;
}

.av-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 18px;
  border-bottom: 1px solid var(--ev-line);
}

.av-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.av-card-body {
  padding: 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.av-meta {
  font-size: 11.5px;
  color: var(--ev-muted);
  margin-bottom: 4px;
  font-weight: 500;
}

.av-card-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--ev-ink);
  margin: 0 0 6px;
  line-height: 1.3;
  font-family: 'DM Serif Display', Georgia, serif;
}

.av-card-meta {
  font-size: 12px;
  color: var(--ev-muted);
}

/* ── Section Heading ────────────────────────────────────────── */
.av-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  margin-top: 28px;
}

.av-section-head-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ev-ink);
}

/* ── Badges ─────────────────────────────────────────────────── */
.av-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 500;
  border: 1px solid var(--ev-line);
  background: var(--ev-white);
  color: var(--ev-ink-2);
}

.av-badge--green  { background: var(--ev-emerald-bg); color: #065f46; border-color: #bbf7d0; }
.av-badge--amber  { background: var(--ev-amber-bg);   color: #92400e; border-color: #fde68a; }
.av-badge--red    { background: var(--ev-red-bg);     color: #991b1b; border-color: #fecaca; }
.av-badge--gray   { background: var(--ev-line-2);     color: var(--ev-muted); border-color: var(--ev-line); }

/* ── Empty State ────────────────────────────────────────────── */
.av-empty {
  text-align: center;
  padding: 48px 24px;
  color: var(--ev-muted);
  font-size: 14px;
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius-lg);
}

/* ── Link ─────────────────────────────────────────────────────── */
.av-link {
  color: var(--ev-emerald);
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
}

.av-link:hover { text-decoration: underline; }

.av-card-meta,
.av-meta code,
.av-kpi-sub code {
  font-family: 'DM Mono', monospace;
}

/* ── Detail Page ───────────────────────────────────────────── */
.ev-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ev-muted);
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 20px;
  transition: color 0.15s;
}

.ev-back::before { content: '<-'; }
.ev-back:hover { color: var(--ev-ink); }

/* Two-column detail layout */
.ev-detail {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 16px;
  align-items: start;
}

@media (max-width: 860px) {
  .ev-detail { grid-template-columns: 1fr; }
}

.ev-panel {
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius-lg);
  padding: 24px;
}

.ev-kicker {
  font-size: 12px;
  color: var(--ev-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.ev-h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--ev-ink);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

/* ── Tabs ───────────────────────────────────────────────────── */
.ev-tabs {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--ev-line);
  margin-bottom: 20px;
}

.ev-tab {
  text-decoration: none;
  color: var(--ev-muted);
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 600;
  transition: color 0.15s, background 0.15s;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ev-tab:hover { color: var(--ev-ink); }

.ev-tab.is-active {
  color: var(--ev-emerald);
  font-weight: 600;
  border-bottom-color: var(--ev-emerald);
}

/* ── Detail field rows ─────────────────────────────────────── */
.ev-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--ev-line-2);
  gap: 12px;
}

.ev-row:last-child { border-bottom: none; }

.ev-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ev-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ev-value {
  font-size: 13.5px;
  color: var(--ev-ink);
  font-weight: 500;
  text-align: right;
}

/* ── Hero Image ─────────────────────────────────────────────── */
.ev-heroimg {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 16px;
  border: 1px solid var(--ev-line);
}

.ev-heroimg img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── Documents List ────────────────────────────────────────── */
.ev-doc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ev-doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius);
  background: var(--ev-white);
  text-decoration: none;
  color: var(--ev-ink);
  transition: border-color 0.15s, background 0.15s;
}

.ev-doc-item:hover {
  border-color: var(--ev-emerald);
  background: var(--ev-white);
}

.ev-doc-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.ev-doc-icon--green  { background: var(--ev-emerald-bg); }
.ev-doc-icon--blue   { background: #eff6ff; }
.ev-doc-icon--violet { background: #f5f3ff; }
.ev-doc-icon--gray   { background: var(--ev-line-2); }

.ev-doc-name {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ev-ink);
  flex: 1;
}

.ev-doc-meta {
  font-size: 12px;
  color: var(--ev-muted);
  margin-top: 2px;
}

/* ── Login Page ─────────────────────────────────────────────── */
.ev-login-shell {
  min-height: 100vh;
  background: var(--ev-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ev-login-box {
  background: #ffffff;
  border: 1px solid var(--ev-line);
  border-radius: 4px;
  padding: 40px 36px;
  width: 100%;
  max-width: 440px;
}

.ev-login-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.ev-login-icon {
  width: 48px;
  height: 48px;
  background: var(--ev-emerald);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ev-login-icon::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255,255,255,0.9);
  border-radius: 4px;
  transform: rotate(45deg);
}

.ev-login-title {
  font-size: 32px;
  font-weight: 400;
  color: var(--ev-ink);
  margin: 0 0 4px;
  font-family: 'DM Serif Display', Georgia, serif;
  letter-spacing: 0.02em;
}

.ev-login-sub {
  font-size: 13px;
  color: var(--ev-muted);
  margin: 0;
}

.ev-login-field {
  margin-bottom: 14px;
}

.ev-login-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--ev-ink-2);
  margin-bottom: 6px;
}

.ev-login-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cccccc;
  border-radius: var(--ev-radius);
  font-size: 14px;
  color: var(--ev-ink);
  background: var(--ev-white);
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.ev-login-input:focus {
  border-color: var(--ev-emerald);
  box-shadow: 0 0 0 3px rgba(5,150,105,0.1);
}

.ev-login-btn {
  width: 100%;
  padding: 13px;
  background: var(--ev-ink);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  margin-top: 6px;
  transition: background 0.15s, transform 0.15s;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ev-login-btn:hover { background: #1a1a1a; transform: translateY(-1px); }

.ev-login-code-sent {
  background: var(--ev-emerald-bg);
  border: 1px solid var(--ev-emerald-border);
  border-radius: var(--ev-radius);
  padding: 10px 14px;
  font-size: 13px;
  color: #065f46;
  margin-bottom: 16px;
  text-align: center;
}

.ev-artwork-overview {
  display: flex;
  flex-direction: row;
  gap: 0;
}

.ev-artwork-overview__media {
  width: 320px;
  flex-shrink: 0;
  background: #ffffff;
  border-right: 1px solid var(--ev-line);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ev-artwork-overview__image {
  width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.ev-artwork-overview__body {
  flex: 1;
  padding: 28px;
}

@media (max-width: 860px) {
  .ev-artwork-overview {
    flex-direction: column;
  }

  .ev-artwork-overview__media {
    width: 100%;
    border-right: 0;
    border-bottom: 1px solid var(--ev-line);
  }
}

/* ── Onboarding Wizard ────────────────────────────────────────── */
.ev-wizard-shell {
  min-height: 100vh;
  background: var(--ev-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.ev-wizard-frame {
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: 16px;
  overflow: hidden;
  width: min(860px, 100%);
  box-shadow: var(--ev-shadow-md);
}

.ev-wizard-top {
  padding: 18px 24px;
  border-bottom: 1px solid var(--ev-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ev-white);
}

.ev-wizard-body {
  display: grid;
  grid-template-columns: 260px 1fr;
}

@media (max-width: 640px) {
  .ev-wizard-body { grid-template-columns: 1fr; }
}

.ev-wizard-sidebar {
  border-right: 1px solid var(--ev-line);
  padding: 20px 16px;
  background: var(--ev-line-2);
}

.ev-wizard-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border-radius: 8px;
}

.ev-wizard-step + .ev-wizard-step { margin-top: 2px; }

.ev-wizard-step.is-active {
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
}

.ev-wizard-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--ev-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ev-muted);
  flex-shrink: 0;
  margin-top: 1px;
  background: var(--ev-white);
}

.ev-wizard-step.is-active .ev-wizard-dot {
  border-color: var(--ev-emerald-border);
  color: var(--ev-emerald);
  background: var(--ev-emerald-bg);
}

.ev-wizard-step-title { font-size: 13px; font-weight: 600; color: var(--ev-ink); margin: 0; }
.ev-wizard-step-desc  { font-size: 12px; color: var(--ev-muted); margin: 2px 0 0; }

.ev-wizard-main {
  padding: 28px 28px 24px;
}

.ev-wizard-main h1 {
  font-size: 26px;
  font-weight: 600;
  color: var(--ev-ink);
  margin: 0 0 10px;
  letter-spacing: -0.015em;
}

.ev-wizard-main p {
  font-size: 14px;
  color: var(--ev-muted);
  line-height: 1.65;
  margin: 0 0 14px;
}

.ev-wizard-callout {
  background: var(--ev-line-2);
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius);
  padding: 14px;
  font-size: 13.5px;
  color: var(--ev-ink-2);
  margin-top: 16px;
}

/* ── Collector Profile placeholder ───────────────────────────── */
.ev-placeholder-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ev-bg);
  padding: 24px;
}

.ev-placeholder-box {
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: var(--ev-radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 560px;
  box-shadow: none;
}

.ev-placeholder-icon {
  width: 56px;
  height: 56px;
  background: var(--ev-ink);
  color: #fff;
  border-radius: var(--ev-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 13px;
  letter-spacing: .12em;
  font-weight: 700;
  text-transform: uppercase;
}

.ev-placeholder-kicker {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ev-muted);
  margin-bottom: 10px;
}

.ev-placeholder-title {
  font-size: 34px;
  font-weight: 400;
  color: var(--ev-ink);
  margin: 0 0 12px;
  line-height: 1.1;
  letter-spacing: 0.02em;
  font-family: 'DM Serif Display', Georgia, serif;
}

.ev-placeholder-sub {
  font-size: 15px;
  color: var(--ev-muted);
  margin: 0 auto 20px;
  line-height: 1.7;
  max-width: 44ch;
}

.ev-placeholder-note {
  border: 1px solid var(--ev-line);
  background: var(--ev-white);
  color: var(--ev-ink-2);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 46ch;
  text-align: left;
}

.ev-placeholder-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
/* ── Transfer pages ─────────────────────────────────────────── */
.ev-transfer-shell {
  min-height: 100vh;
  background: var(--ev-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ev-transfer-box {
  background: var(--ev-white);
  border: 1px solid var(--ev-line);
  border-radius: 16px;
  overflow: hidden;
  width: min(560px, 100%);
  box-shadow: var(--ev-shadow-md);
}

.ev-transfer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--ev-line);
  background: var(--ev-white);
}

.ev-transfer-body {
  padding: 24px;
}

/* ── Catalogue ──────────────────────────────────────────────── */
.ev-catalogue-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* ── Focus / Motion ───────────────────────────────────────────── */
.av-btn:focus-visible,
.av-nav a:focus-visible,
.ev-login-input:focus-visible,
.ev-login-btn:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(5,150,105,.6);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .av-top { padding: 0 16px; }
  .av-nav { display: none; }
  .av-content { padding: 20px 16px 32px; }
  .av-kpi-row { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.ev-collector-body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background: var(--ev-bg);
  color: var(--ev-ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4,
.av-title,
.av-topbar h1,
.av-title-lg,
.ev-h2,
.ev-wizard-main h1,
.ev-login-title,
.ev-placeholder-title,
.av-kpi-value {
  font-family: 'Poppins', sans-serif;
}

.av-top {
  background: var(--ev-bg);
  border-bottom: none;
  box-shadow: var(--shadow-raised-lg);
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  min-height: 72px;
  gap: 16px;
}

.av-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ev-ink);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.3px;
  font-family: 'Poppins', sans-serif;
}

.av-nav a,
.ev-tab {
  text-decoration: none;
  color: var(--ev-muted);
  padding: 9px 16px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  transition: box-shadow 180ms ease, color 180ms ease;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--ev-bg);
  border: none;
  box-shadow: var(--shadow-raised-sm);
}

.av-nav a:hover,
.ev-tab:hover {
  color: var(--ev-ink);
  box-shadow: var(--shadow-hover);
}

.av-nav a.is-active,
.ev-tab.is-active {
  color: var(--ev-emerald);
  font-weight: 600;
  background: var(--ev-bg);
  box-shadow: var(--shadow-pressed);
  border: none;
}

.av-btn,
.ev-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 20px;
  border-radius: var(--ev-radius);
  border: none;
  background: var(--ev-bg);
  color: var(--ev-ink-2);
  font-size: 11px;
  font-weight: 600;
  font-family: 'Open Sans', sans-serif;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-raised);
  transition: box-shadow 180ms ease;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.av-btn:hover,
.ev-login-btn:hover {
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.av-btn-primary,
.ev-login-btn {
  background: var(--ev-emerald);
  color: #fff;
  border: none;
  box-shadow: -4px -4px 10px rgba(255,255,255,0.25), 4px 4px 10px rgba(0,0,0,0.18);
}

.av-btn-primary:hover,
.ev-login-btn:hover {
  background: #154035;
  color: #fff;
}

.av-btn-ghost {
  background: transparent;
  color: var(--ev-muted);
  box-shadow: none;
}

.av-btn-ghost:hover {
  box-shadow: var(--shadow-raised-sm);
  color: var(--ev-ink);
}

.av-kpi,
.av-card,
.ev-panel,
.ev-login-box,
.ev-wizard-frame,
.ev-transfer-box,
.ev-placeholder-box {
  background: var(--ev-bg);
  border: none;
  border-radius: var(--ev-radius-lg);
  box-shadow: var(--shadow-raised);
}

.av-kpi-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--ev-ink);
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  letter-spacing: -0.02em;
}

.av-kpi-label {
  font-size: 10.5px;
  color: var(--ev-muted);
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.av-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.av-thumb,
.ev-heroimg,
.ev-artwork-overview__media {
  background: var(--ev-bg);
  border: none;
  box-shadow: var(--shadow-pressed);
  padding: 18px;
}

.av-card-title,
.ev-placeholder-title {
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  color: var(--ev-ink);
}

.av-topbar h1,
.av-title-lg,
.ev-login-title {
  font-size: 34px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: var(--ev-ink);
  letter-spacing: -0.5px;
}

.ev-h2,
.ev-wizard-main h1 {
  font-size: 22px;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  color: var(--ev-ink);
}

.ev-tabs {
  display: flex;
  gap: 8px;
  border-bottom: none;
  margin-bottom: 20px;
}

.ev-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(200,205,212,0.45);
  gap: 12px;
}

.ev-row:last-child { box-shadow: none; }

.ev-doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: none;
  border-radius: var(--ev-radius);
  background: var(--ev-bg);
  text-decoration: none;
  color: var(--ev-ink);
  box-shadow: var(--shadow-raised-sm);
  transition: box-shadow 180ms ease;
}

.ev-doc-item:hover {
  box-shadow: var(--shadow-hover);
  background: var(--ev-bg);
}

.ev-login-shell {
  min-height: 100vh;
  background: var(--ev-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ev-login-box {
  border-radius: var(--ev-radius-xl);
  padding: 48px 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-modal);
}

.ev-login-input {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: var(--ev-radius);
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  color: var(--ev-ink);
  background: var(--ev-bg);
  outline: none;
  box-shadow: var(--shadow-input);
  transition: box-shadow 200ms ease;
}

.ev-login-input:focus { box-shadow: var(--shadow-input-focus); }

.ev-login-code-sent {
  background: var(--ev-emerald-bg);
  border: none;
  border-radius: var(--ev-radius);
  box-shadow: var(--shadow-raised-sm);
  font-family: 'Open Sans', sans-serif;
}

.av-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  font-family: 'Open Sans', sans-serif;
  border: none;
  background: var(--ev-bg);
  color: var(--ev-ink-2);
  box-shadow: var(--shadow-raised-sm);
}

.av-badge--green  { background: var(--ev-emerald-bg); color: #065f46; box-shadow: none; }
.av-badge--amber  { background: var(--ev-amber-bg); color: #92400e; box-shadow: none; }
.av-badge--red    { background: var(--ev-red-bg); color: #991b1b; box-shadow: none; }
.av-badge--gray   { background: var(--ev-line-2); color: var(--ev-muted); box-shadow: none; }

.av-empty,
.ev-placeholder-box {
  text-align: center;
  color: var(--ev-muted);
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
  box-shadow: var(--shadow-pressed);
}

.ev-wizard-sidebar {
  border-right: none;
  padding: 20px 16px;
  background: var(--ev-bg);
  box-shadow: var(--shadow-raised-sm);
}

.ev-wizard-step.is-active {
  background: var(--ev-bg);
  border: none;
  box-shadow: var(--shadow-pressed);
  border-radius: var(--ev-radius);
}

.av-btn:focus-visible,
.av-nav a:focus-visible,
.ev-login-input:focus-visible,
.ev-login-btn:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(27,77,62,0.5);
  outline-offset: 3px;
}

