/* ==========================================================================
   Bourse Chamber — Verdict Record Page Styling (css/verdict.css)
   Permanent Ledger Record · Votes Table · Transcript Replay · Review Triggers
   ========================================================================== */

.verdict-page {
  padding-top: 0;
  padding-bottom: 24px;
}

.verdict-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  padding: 24px 0 16px;
  transition: color 0.15s;
}

.verdict-back-link:hover {
  color: var(--text-primary);
}

/* Case Header & Verdict Stamp Grid */
.case-overview-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 48px;
}

.case-info {
  display: flex;
  flex-direction: column;
}

.case-id-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-asset-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3.2vw, 2.3rem);
  font-weight: 400;
  margin-top: 4px;
}

.case-question {
  font-size: 1rem;
  color: #D4D4D4;
  margin-top: 10px;
  line-height: 1.5;
  max-width: 58ch;
}

.case-meta-list {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.case-meta-list b {
  color: var(--text-primary);
  font-weight: 400;
}

/* Verdict Stamp Box */
.verdict-stamp-card {
  background: #FFFFFF;
  color: #050505;
  padding: 28px;
  border: 1px solid #FFFFFF;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.9);
  animation: verdictStampReveal 0.65s cubic-bezier(0.175, 0.885, 0.32, 1.15) both;
}

@keyframes verdictStampReveal {
  0% { transform: scale(1.12) translateY(-10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.stamp-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #666666;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stamp-outcome {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 6px;
  letter-spacing: -0.02em;
}

.stamp-outcome.add,
.stamp-outcome.supported {
  color: #000000;
  text-shadow: none;
}

.stamp-outcome.reduce,
.stamp-outcome.not_supported,
.stamp-outcome.not-supported {
  color: #000000;
  text-shadow: none;
}

.stamp-outcome.pass,
.stamp-outcome.insufficient_evidence,
.stamp-outcome.insufficient-evidence {
  color: #444444;
  text-shadow: none;
}

.stamp-outcome.divided {
  color: #222222;
  text-shadow: none;
}

.verdict-stamp-card.add,
.verdict-stamp-card.reduce,
.verdict-stamp-card.pass,
.verdict-stamp-card.supported,
.verdict-stamp-card.not_supported,
.verdict-stamp-card.not-supported,
.verdict-stamp-card.insufficient_evidence,
.verdict-stamp-card.insufficient-evidence,
.verdict-stamp-card.divided {
  border-top: 4px solid #000000;
}

.stamp-ratio {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: #333333;
  margin-top: 4px;
}

.stamp-dissent {
  font-size: 0.78rem;
  color: #444444;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #E0E0E0;
}

.stamp-size-band {
  margin-top: 14px;
  padding: 10px 12px;
  background: #F0F0F0;
  border: 1px solid #DCDCDC;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #111111;
  border-radius: 3px;
}

.stamp-size-band small {
  display: block;
  font-size: 0.62rem;
  color: #666666;
  margin-top: 4px;
}

.share-action-btn {
  margin-top: 18px;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  background: #000000;
  color: #FFFFFF;
  border: 1px solid #000000;
  border-radius: 4px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.share-action-btn:hover {
  background: #222222;
  border-color: #222222;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* Sections */
.verdict-section {
  margin-bottom: 48px;
}

.section-heading {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 4px;
}

.section-subtext {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

/* Detailed 9 Seats Votes Table */
.votes-table-wrap {
  border: 1px solid var(--border-main);
  background: var(--bg-card);
  overflow: hidden;
}

.vote-item-row {
  display: grid;
  grid-template-columns: 44px 195px 185px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.vote-seat-avatar {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-main);
  background: var(--bg-black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vote-persona-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vote-persona-name {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.3;
}

.vote-persona-discipline {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

.vote-badge-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  flex-shrink: 0;
}

.vote-badge-cell .badge,
.vote-item-row .badge {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 8px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.2;
  box-sizing: border-box;
}

.vote-reasoning-text {
  font-size: 0.82rem;
  color: #CCCCCC;
  line-height: 1.5;
  min-width: 0;
  word-wrap: break-word;
}

/* Consensus & Review Triggers */
.consensus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.consensus-card {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  padding: 22px;
}

.consensus-card h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.consensus-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Transcript Replay Player */
.replay-player-wrap {
  border: 1px solid var(--border-main);
  background: var(--bg-card);
}

.replay-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: #080808;
  border-bottom: 1px solid var(--border-main);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

.replay-btn-group {
  display: flex;
  gap: 8px;
}

.replay-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-main);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.15s;
}

.replay-btn:hover {
  background: var(--bg-card-elevated);
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.replay-btn.active {
  background: #FFFFFF;
  color: #050505;
  border-color: #FFFFFF;
}

.replay-feed {
  max-height: 420px;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.replay-msg-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.replay-msg-item:last-child {
  border-bottom: none;
}

.replay-msg-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.replay-msg-head span:last-child {
  color: var(--text-dim);
}

.replay-msg-body {
  font-size: 0.82rem;
  color: #CCCCCC;
  line-height: 1.5;
}

@media (max-width: 960px) {
  .case-overview-grid {
    grid-template-columns: 1fr;
  }
  .consensus-grid {
    grid-template-columns: 1fr;
  }
  .vote-item-row {
    grid-template-columns: 38px 1fr auto;
    gap: 12px 14px;
    padding: 14px 16px;
  }
  .vote-badge-cell {
    justify-content: flex-end;
  }
  .vote-reasoning-text {
    grid-column: 1 / -1;
    padding-top: 10px;
    margin-top: 2px;
    border-top: 1px solid var(--border-subtle);
  }
}

@media (max-width: 520px) {
  .vote-item-row {
    grid-template-columns: 36px 1fr;
    gap: 10px;
    padding: 12px 14px;
  }
  .vote-badge-cell {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
  .vote-reasoning-text {
    grid-column: 1 / -1;
    padding-top: 8px;
  }
}

/* TOKEN_CA Specific Styles */
.badge.supported {
  background: #FFFFFF;
  color: #050505;
  border: 1px solid #FFFFFF;
}

.badge.not_supported,
.badge.not-supported {
  background: #222222;
  color: #C0C0C0;
  border: 1px solid #555555;
}

.badge.insufficient_evidence,
.badge.insufficient-evidence {
  background: #111111;
  color: #888888;
  border: 1px solid #333333;
}

.badge.divided {
  background: #161616;
  color: #999999;
  border: 1px solid #444444;
}

.token-ca-analysis-card {
  background: #060606;
  border: 1px solid var(--border-main);
  padding: 20px;
  margin-bottom: 20px;
}

.token-ca-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.token-ca-metric {
  background: #0D0D0D;
  border: 1px solid var(--border-subtle);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
}

.token-ca-metric span {
  font-size: 0.62rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.token-ca-metric b {
  font-size: 0.95rem;
  color: #FFFFFF;
  margin-top: 4px;
}

.token-ca-assessment-box {
  background: #0A0A0A;
  border: 1px solid var(--border-main);
  padding: 14px;
  margin-top: 14px;
}

