/* ============================================================
   TERAVENT — Registry Page Stylesheet
   Extends css/style.css — load both files
   ============================================================ */

/* ─── PAGE HERO ─── */
.registry-hero {
  background: linear-gradient(160deg, #0e1f14 0%, #152a1c 45%, #0f2028 100%);
  padding: 6rem 7rem 4rem;
  position: relative;
  overflow: hidden;
}
.registry-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,222,206,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,222,206,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}
.registry-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--forest), var(--sky), var(--gold-mid), var(--forest));
  background-size: 300% 100%;
  animation: gradientSlide 8s ease infinite;
}
@keyframes gradientSlide {
  0%,100% { background-position: 0% 0%; }
  50%      { background-position: 100% 0%; }
}

.registry-hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: end;
}

.registry-breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(200,222,206,0.45); margin-bottom: 1.8rem;
}
.registry-breadcrumb a { color: rgba(200,222,206,0.45); transition: color 0.2s; }
.registry-breadcrumb a:hover { color: rgba(200,222,206,0.9); }
.registry-breadcrumb .current { color: var(--gold-light); }

.registry-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 300; line-height: 1.06; color: var(--white);
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s 0.2s ease both;
}
.registry-hero-title em { font-style: italic; color: var(--dew); }

.registry-hero-sub {
  font-size: 1rem; line-height: 1.75;
  color: rgba(200,222,206,0.65); max-width: 500px;
  animation: fadeUp 0.8s 0.4s ease both;
}

/* Live indicator */
.live-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(45,94,58,0.3); border: 1px solid rgba(92,138,106,0.3);
  padding: 0.3rem 0.8rem; margin-bottom: 1.2rem;
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage-mid);
  animation: fadeUp 0.8s 0.1s ease both;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4caf74;
  box-shadow: 0 0 8px #4caf74;
  animation: livePulse 1.8s ease-in-out infinite;
}
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:0.5;transform:scale(0.8);} }

/* Registry KPI bar */
.registry-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(200,222,206,0.08);
  animation: fadeUp 0.8s 0.5s ease both;
}
.kpi-box {
  background: rgba(14,28,18,0.75); backdrop-filter: blur(8px);
  padding: 1.5rem 1.4rem; border-bottom: 2px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.kpi-box:hover { border-bottom-color: var(--gold-light); background: rgba(25,50,30,0.8); }
.kpi-val {
  font-family: 'Cormorant Garamond', serif; font-size: 2rem;
  font-weight: 300; color: var(--gold-light); line-height: 1;
}
.kpi-label {
  font-family: 'DM Mono', monospace; font-size: 0.56rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(200,222,206,0.5); margin-top: 0.3rem;
}
.kpi-delta {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  color: #4caf74; margin-top: 0.25rem;
}
.kpi-delta.down { color: #e5826a; }

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

/* ─── SEARCH & FILTER TOOLBAR ─── */
.registry-toolbar {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  padding: 1.2rem 7rem;
  display: flex; gap: 1rem; align-items: center;
  position: sticky; top: 72px; z-index: 50;
  box-shadow: 0 2px 12px rgba(26,45,30,0.06);
  flex-wrap: wrap;
}

.search-wrap {
  position: relative; flex: 1; min-width: 220px;
}
.search-icon {
  position: absolute; left: 1rem; top: 50%; transform: translateY(-50%);
  color: var(--text-light); font-size: 0.85rem; pointer-events: none;
}
.registry-search {
  width: 100%; padding: 0.65rem 1rem 0.65rem 2.5rem;
  border: 1.5px solid var(--border-light);
  background: var(--surface-base); color: var(--text-primary);
  font-family: 'Instrument Sans', sans-serif; font-size: 0.88rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  border-radius: 3px;
}
.registry-search:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(45,94,58,0.1);
}
.registry-search::placeholder { color: var(--text-light); }

.toolbar-select {
  padding: 0.65rem 2rem 0.65rem 0.9rem;
  border: 1.5px solid var(--border-light);
  background: var(--surface-base) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236a8a72'/%3E%3C/svg%3E") no-repeat right 0.7rem center;
  color: var(--text-secondary);
  font-family: 'Instrument Sans', sans-serif; font-size: 0.84rem;
  outline: none; cursor: pointer; min-width: 140px;
  border-radius: 3px; appearance: none;
  transition: border-color 0.2s;
}
.toolbar-select:focus { border-color: var(--forest); }

.toolbar-view-toggle {
  display: flex; gap: 2px;
}
.view-btn {
  width: 34px; height: 34px; border: 1.5px solid var(--border-light);
  background: var(--surface-base); cursor: pointer; display: flex;
  align-items: center; justify-content: center; font-size: 0.85rem;
  color: var(--text-muted); border-radius: 3px; transition: all 0.2s;
}
.view-btn.active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.view-btn:hover:not(.active) { border-color: var(--forest); color: var(--forest); }

.toolbar-results {
  font-family: 'DM Mono', monospace; font-size: 0.62rem;
  letter-spacing: 0.08em; color: var(--text-light); white-space: nowrap;
}
.toolbar-results span { color: var(--forest); font-weight: 500; }

/* ─── REGISTRY LAYOUT ─── */
.registry-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  min-height: 80vh;
  background: var(--surface-base);
}

/* ─── SIDEBAR FILTERS ─── */
.registry-sidebar {
  background: var(--white);
  border-right: 1px solid var(--border-light);
  padding: 2rem 1.5rem;
  position: sticky; top: 131px;
  height: calc(100vh - 131px);
  overflow-y: auto;
}
.sidebar-section { margin-bottom: 2rem; }
.sidebar-section:last-child { margin-bottom: 0; }
.sidebar-title {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-light); margin-bottom: 0.9rem;
  padding-bottom: 0.6rem; border-bottom: 1px solid var(--border-light);
}
.sidebar-options { display: flex; flex-direction: column; gap: 0.3rem; }
.sidebar-opt {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.6rem; cursor: pointer;
  padding: 0.45rem 0.6rem; border-radius: 4px;
  transition: background 0.2s;
}
.sidebar-opt:hover { background: var(--surface-tinted); }
.sidebar-opt input[type="checkbox"] {
  accent-color: var(--forest); width: 14px; height: 14px; cursor: pointer;
}
.sidebar-opt-label {
  font-size: 0.84rem; color: var(--text-secondary); flex: 1;
  display: flex; align-items: center; gap: 0.5rem;
}
.sidebar-opt-count {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  color: var(--text-light); background: var(--surface-tinted);
  padding: 0.1rem 0.4rem; border-radius: 10px;
}

/* Durability slider visual */
.durability-options { display: flex; flex-direction: column; gap: 0.25rem; }
.dur-row {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.8rem; color: var(--text-secondary);
  padding: 0.3rem 0; cursor: pointer;
}
.dur-bar-track {
  flex: 1; height: 4px; background: var(--border-light); border-radius: 2px; overflow: hidden;
}
.dur-bar-fill { height: 100%; border-radius: 2px; background: var(--sage-mid); }

.sidebar-range-wrap { padding: 0.5rem 0; }
.sidebar-range {
  width: 100%; accent-color: var(--forest);
  height: 4px; cursor: pointer;
}
.range-labels {
  display: flex; justify-content: space-between;
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  color: var(--text-light); margin-top: 0.4rem;
}

.sidebar-clear {
  display: block; width: 100%; margin-top: 1.5rem;
  padding: 0.55rem; background: none;
  border: 1px solid var(--border-light); cursor: pointer;
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); border-radius: 3px;
  transition: all 0.2s;
}
.sidebar-clear:hover { border-color: var(--forest); color: var(--forest); }

/* ─── PROJECT GRID / LIST ─── */
.registry-main {
  padding: 2rem 2.5rem;
}

/* Grid view */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5px;
  background: var(--border-light);
}
.projects-grid.list-view {
  grid-template-columns: 1fr;
  gap: 1.5px;
}

/* Project Card */
.project-card {
  background: var(--white);
  position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(26,45,30,0.12);
  z-index: 2;
}

/* Category accent stripe */
.project-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
}
.project-card[data-cat="marine"]::before     { background: var(--sky); }
.project-card[data-cat="terrestrial"]::before { background: var(--forest); }
.project-card[data-cat="engineered"]::before  { background: var(--gold-mid); }
.project-card[data-cat="geochemical"]::before { background: #8a6a2e; }

.card-body { padding: 1.8rem 1.8rem 1.4rem; }

.card-top {
  display: flex; align-items: flex-start;
  justify-content: space-between; gap: 0.8rem;
  margin-bottom: 1rem;
}
.card-id {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text-light);
}
.card-status {
  font-family: 'DM Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.18rem 0.55rem; border-radius: 20px;
  white-space: nowrap;
}
.status-verified   { background: rgba(45,94,58,0.12); color: var(--forest); }
.status-validation { background: rgba(176,142,68,0.15); color: var(--gold-mid); }
.status-monitoring { background: rgba(46,107,126,0.12); color: var(--sky); }
.status-retired    { background: rgba(100,100,100,0.1); color: var(--text-muted); }

.card-pathway-badge {
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.card-pathway-icon { font-size: 1.2rem; }
.card-pathway-name {
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted);
}

.card-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.25rem;
  font-weight: 400; color: var(--ink); line-height: 1.25;
  margin-bottom: 0.4rem;
}
.card-location {
  font-size: 0.8rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 0.4rem; margin-bottom: 1rem;
}
.card-description {
  font-size: 0.82rem; line-height: 1.65; color: var(--text-secondary);
  margin-bottom: 1.2rem;
  display: -webkit-box; -webkit-line-clamp: 3;
  -webkit-box-orient: vertical; overflow: hidden;
}

/* Credit metrics row */
.card-metrics {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: var(--border-light);
  margin: 0 -1.8rem; padding: 0 1.8rem;
}
.card-metric {
  background: var(--surface-tinted); padding: 0.8rem;
  text-align: center;
}
.card-metric-val {
  font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
  font-weight: 300; color: var(--forest); line-height: 1;
}
.card-metric-lbl {
  font-family: 'DM Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light); margin-top: 0.2rem;
}

.card-footer {
  padding: 1rem 1.8rem;
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border-light);
  background: var(--white);
}
.card-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.card-tag {
  font-family: 'DM Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-muted); background: var(--surface-tinted);
  border: 1px solid var(--border-light);
  padding: 0.15rem 0.5rem; border-radius: 2px;
}
.card-action {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--forest); white-space: nowrap;
  display: flex; align-items: center; gap: 0.3rem;
  transition: gap 0.2s;
}
.card-action:hover { gap: 0.5rem; }

/* LIST VIEW card style */
.list-view .project-card::before {
  top: 0; left: 0; right: auto; bottom: 0;
  width: 3px; height: auto;
}
.list-view .card-body {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem; align-items: center;
  padding: 1.5rem 2rem;
}
.list-view .card-metrics { margin: 0; padding: 0; background: none; }
.list-view .card-metrics { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.list-view .card-metric { background: none; padding: 0; text-align: left; }
.list-view .card-description { display: none; }
.list-view .card-footer {
  padding: 0.8rem 2rem;
  border-top: 1px solid var(--border-light);
}

/* No results */
.no-results {
  grid-column: 1 / -1; text-align: center;
  padding: 5rem 2rem; display: none;
}
.no-results.visible { display: block; }
.no-results h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 1.8rem;
  font-weight: 300; color: var(--text-muted); margin-bottom: 0.5rem;
}
.no-results p { font-size: 0.88rem; color: var(--text-light); }

/* ─── PROJECT DETAIL MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(14,28,18,0.75); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
  display: flex; align-items: flex-start; justify-content: flex-end;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-panel {
  width: 560px; max-width: 100vw;
  height: 100vh; overflow-y: auto;
  background: var(--white);
  box-shadow: -8px 0 40px rgba(14,28,18,0.2);
  transform: translateX(100%); transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
}
.modal-overlay.open .modal-panel { transform: translateX(0); }

.modal-header {
  padding: 0;
  position: sticky; top: 0; z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
}
.modal-header-top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 2rem;
}
.modal-close {
  width: 32px; height: 32px; border: 1px solid var(--border-light);
  background: none; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 1.1rem;
  border-radius: 3px; transition: all 0.2s;
}
.modal-close:hover { border-color: var(--forest); color: var(--forest); }
.modal-id {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light);
}
.modal-status-wrap { display: flex; align-items: center; gap: 0.6rem; }

.modal-hero {
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(135deg, #1a2d1e, #1e3a2a);
  color: var(--white); position: relative; overflow: hidden;
}
.modal-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,222,206,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,222,206,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.modal-hero-inner { position: relative; z-index: 1; }
.modal-pathway {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 0.8rem;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif; font-size: 1.7rem;
  font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 0.5rem;
}
.modal-location {
  font-size: 0.82rem; color: rgba(200,222,206,0.7);
  display: flex; align-items: center; gap: 0.4rem;
}
.modal-kpis {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 1px; background: rgba(200,222,206,0.1); margin-top: 1.5rem;
}
.modal-kpi {
  background: rgba(14,28,18,0.5); padding: 1rem;
  backdrop-filter: blur(4px); text-align: center;
}
.modal-kpi-val {
  font-family: 'Cormorant Garamond', serif; font-size: 1.4rem;
  font-weight: 300; color: var(--gold-light); line-height: 1;
}
.modal-kpi-lbl {
  font-family: 'DM Mono', monospace; font-size: 0.52rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(200,222,206,0.5); margin-top: 0.25rem;
}

.modal-body { padding: 2rem; flex: 1; }

.modal-section { margin-bottom: 2rem; }
.modal-section:last-child { margin-bottom: 0; }
.modal-section-title {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-mid); margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.modal-section-title::after {
  content: ''; flex: 1; height: 1px; background: var(--border-gold); opacity: 0.5;
}
.modal-section p {
  font-size: 0.88rem; line-height: 1.75; color: var(--text-secondary); margin-bottom: 0.8rem;
}
.modal-section p:last-child { margin-bottom: 0; }

/* Credit ledger */
.credit-ledger {
  border: 1px solid var(--border-light); overflow: hidden; border-radius: 3px;
}
.ledger-header {
  display: grid; grid-template-columns: 1fr 1fr 1fr 80px;
  background: var(--ink); padding: 0.6rem 1rem;
}
.ledger-header span {
  font-family: 'DM Mono', monospace; font-size: 0.55rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(200,222,206,0.5);
}
.ledger-row {
  display: grid; grid-template-columns: 1fr 1fr 1fr 80px;
  padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-light);
  align-items: center; transition: background 0.2s;
}
.ledger-row:last-child { border-bottom: none; }
.ledger-row:hover { background: var(--surface-tinted); }
.ledger-serial {
  font-family: 'DM Mono', monospace; font-size: 0.65rem;
  letter-spacing: 0.08em; color: var(--forest);
}
.ledger-val { font-size: 0.84rem; color: var(--text-secondary); }
.ledger-badge {
  font-family: 'DM Mono', monospace; font-size: 0.5rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.15rem 0.45rem; border-radius: 2px;
}

/* Co-benefits grid */
.cobenefit-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
}
.cobenefit-item {
  display: flex; gap: 0.7rem; align-items: flex-start;
  padding: 0.8rem; background: var(--surface-tinted);
  border: 1px solid var(--border-light); border-radius: 3px;
}
.cobenefit-icon { font-size: 1.2rem; flex-shrink: 0; }
.cobenefit-name { font-size: 0.8rem; font-weight: 600; color: var(--ink); }
.cobenefit-detail { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; }

/* Verification timeline */
.verify-timeline { display: flex; flex-direction: column; gap: 0; }
.verify-step {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 0.8rem 0; border-bottom: 1px solid var(--border-light);
  position: relative;
}
.verify-step:last-child { border-bottom: none; }
.verify-dot {
  width: 10px; height: 10px; border-radius: 50%;
  flex-shrink: 0; margin-top: 0.3rem;
}
.verify-dot.done  { background: var(--forest); box-shadow: 0 0 6px rgba(45,94,58,0.4); }
.verify-dot.active { background: var(--gold-mid); box-shadow: 0 0 8px rgba(176,142,68,0.5); animation: livePulse 2s infinite; }
.verify-dot.pending { background: var(--border-mid); }
.verify-step-text { flex: 1; }
.verify-step-name { font-size: 0.84rem; font-weight: 600; color: var(--ink); margin-bottom: 0.1rem; }
.verify-step-date {
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.08em; color: var(--text-muted);
}

.modal-footer {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-light);
  background: var(--cream);
  display: flex; gap: 0.8rem; align-items: center;
}

/* ─── REGISTRY LEDGER TABLE ─── */
.registry-ledger-section {
  padding: 6rem 7rem;
  background: var(--white);
  border-top: 4px solid var(--ink);
}
.ledger-section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; gap: 2rem; flex-wrap: wrap;
}
.ledger-section-header h2 { margin-bottom: 0.4rem; }
.ledger-section-header p {
  font-size: 0.88rem; color: var(--text-muted); max-width: 480px;
}
.ledger-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-light); border-radius: 4px;
}
.ledger-full-table {
  width: 100%; border-collapse: collapse; min-width: 900px;
}
.ledger-full-table thead th {
  background: var(--ink); color: rgba(200,222,206,0.7);
  font-family: 'DM Mono', monospace; font-size: 0.58rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.9rem 1.2rem; text-align: left; font-weight: 400;
  white-space: nowrap;
}
.ledger-full-table thead th:first-child { color: var(--gold-light); }
.ledger-full-table tbody td {
  padding: 0.95rem 1.2rem; font-size: 0.83rem; color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light); vertical-align: middle;
}
.ledger-full-table tbody tr:last-child td { border-bottom: none; }
.ledger-full-table tbody tr:hover td { background: var(--foam); }
.ledger-serial-code {
  font-family: 'DM Mono', monospace; font-size: 0.68rem;
  letter-spacing: 0.08em; color: var(--forest);
}
.ledger-project-name {
  font-family: 'Cormorant Garamond', serif; font-size: 0.98rem;
  color: var(--ink); font-weight: 400;
}

/* Pagination */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 0.3rem; margin-top: 2rem;
}
.page-btn {
  min-width: 36px; height: 36px; border: 1px solid var(--border-light);
  background: var(--white); color: var(--text-secondary); cursor: pointer;
  font-family: 'DM Mono', monospace; font-size: 0.72rem;
  border-radius: 3px; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.page-btn:hover:not(.active):not(:disabled) { border-color: var(--forest); color: var(--forest); }
.page-btn.active { background: var(--forest); border-color: var(--forest); color: var(--white); }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ─── SUBMIT BANNER ─── */
.submit-banner {
  padding: 5rem 7rem;
  background: linear-gradient(135deg, #2d5e3a 0%, #1e3024 55%, #1e3a32 100%);
  display: grid; grid-template-columns: 1fr auto;
  gap: 4rem; align-items: center;
  position: relative; overflow: hidden;
}
.submit-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,222,206,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,222,206,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
}
.submit-banner-text { position: relative; z-index: 1; }
.submit-banner-text h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 2.2rem;
  font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 0.6rem;
}
.submit-banner-text h2 em { font-style: italic; color: var(--dew); }
.submit-banner-text p { font-size: 0.95rem; color: rgba(200,222,206,0.7); line-height: 1.7; }
.submit-banner-actions {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .registry-hero { padding: 5rem 4rem 3.5rem; }
  .registry-hero-inner { gap: 3rem; }
  .registry-toolbar { padding: 1rem 3rem; }
  .registry-layout { grid-template-columns: 220px 1fr; }
  .registry-ledger-section { padding: 5rem 4rem; }
  .submit-banner { padding: 4rem; }
}
@media (max-width: 960px) {
  .registry-hero { padding: 5rem 3rem 3rem; }
  .registry-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .registry-toolbar { padding: 0.8rem 2rem; }
  .registry-layout { grid-template-columns: 1fr; }
  .registry-sidebar {
    position: static; height: auto;
    border-right: none; border-bottom: 1px solid var(--border-light);
    display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem;
    padding: 1.5rem 2rem;
  }
  .registry-main { padding: 1.5rem 2rem; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .registry-ledger-section { padding: 4rem 2.5rem; }
  .submit-banner { grid-template-columns: 1fr; padding: 4rem 2.5rem; }
  .modal-panel { width: 100vw; }
}
@media (max-width: 640px) {
  .registry-hero { padding: 4rem 1.5rem 2.5rem; }
  .registry-toolbar { flex-wrap: wrap; padding: 0.8rem 1.5rem; }
  .registry-kpis { grid-template-columns: repeat(2,1fr); }
  .kpi-box:last-child { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .registry-sidebar { grid-template-columns: 1fr; }
}
