/* Blog review + wallet pages */

.ec-br-page,
.ec-wal-page {
  --ec-br-ink: rgba(255, 255, 255, 0.94);
  --ec-br-muted: rgba(255, 255, 255, 0.58);
  --ec-br-line: rgba(255, 255, 255, 0.12);
  --ec-br-surface: rgba(0, 0, 0, 0.28);
  --ec-br-surface-2: rgba(255, 255, 255, 0.04);
  --ec-br-green: #2fa84f;
  --ec-br-gold: #d4a017;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  color: var(--ec-br-ink);
}

html.light .ec-br-page,
html:not(.dark) .ec-br-page,
html.light .ec-wal-page,
html:not(.dark) .ec-wal-page {
  --ec-br-ink: #0f172a;
  --ec-br-muted: #64748b;
  --ec-br-line: rgba(15, 23, 42, 0.1);
  --ec-br-surface: #ffffff;
  --ec-br-surface-2: #f8fafc;
}

.ec-br-hero,
.ec-wal-hero {
  border: 1px solid var(--ec-br-line);
  border-radius: 1rem;
  padding: 1.25rem 1.4rem;
  background:
    linear-gradient(135deg, rgba(47, 168, 79, 0.14), transparent 48%),
    linear-gradient(225deg, rgba(212, 160, 23, 0.12), transparent 42%),
    var(--ec-br-surface);
}

.ec-br-kicker,
.ec-wal-kicker {
  margin: 0 0 0.3rem;
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ec-br-gold);
}

.ec-br-title,
.ec-wal-title {
  margin: 0;
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 700;
}

.ec-br-sub,
.ec-wal-sub {
  margin: 0.4rem 0 0;
  max-width: 40rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ec-br-muted);
}

.ec-br-stats,
.ec-wal-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (max-width: 800px) {
  .ec-br-stats,
  .ec-wal-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ec-br-stat,
.ec-wal-stat {
  border: 1px solid var(--ec-br-line);
  border-radius: 0.85rem;
  background: var(--ec-br-surface);
  padding: 0.85rem 0.95rem;
}

.ec-br-stat span,
.ec-wal-stat span {
  display: block;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ec-br-muted);
}

.ec-br-stat strong,
.ec-wal-stat strong {
  display: block;
  margin-top: 0.3rem;
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.25rem;
}

.ec-br-panel,
.ec-wal-panel {
  border: 1px solid var(--ec-br-line);
  border-radius: 1rem;
  background: var(--ec-br-surface);
  overflow: hidden;
}

.ec-br-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--ec-br-line);
  background: var(--ec-br-surface-2);
}

.ec-br-toolbar input,
.ec-br-toolbar select,
.ec-wal-form input,
.ec-wal-form textarea,
.ec-wal-form select,
.ec-br-compose input,
.ec-br-compose textarea,
.ec-br-compose select {
  min-height: 2.35rem;
  border: 1px solid var(--ec-br-line);
  border-radius: 0.55rem;
  background: var(--ec-br-surface);
  color: var(--ec-br-ink);
  padding: 0.4rem 0.7rem;
  font-size: 0.85rem;
}

.ec-br-toolbar input {
  flex: 1 1 12rem;
}

.ec-br-btn,
.ec-wal-btn {
  min-height: 2.35rem;
  border: 1px solid var(--ec-br-line);
  border-radius: 0.55rem;
  background: var(--ec-br-surface);
  color: var(--ec-br-ink);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}

.ec-br-btn--primary,
.ec-wal-btn--primary {
  background: var(--ec-br-green);
  border-color: transparent;
  color: #fff;
}

.ec-br-btn--gold {
  background: var(--ec-br-gold);
  border-color: transparent;
  color: #111;
}

.ec-br-btn--danger {
  color: #b91c1c;
  border-color: rgba(185, 28, 28, 0.35);
}

.ec-br-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.ec-br-table th,
.ec-br-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--ec-br-line);
  vertical-align: top;
}

.ec-br-table th {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ec-br-muted);
}

.ec-br-chip {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 650;
  background: rgba(100, 116, 139, 0.15);
  color: var(--ec-br-muted);
}

.ec-br-chip--green { background: rgba(47, 168, 79, 0.16); color: #15803d; }
.ec-br-chip--amber { background: rgba(212, 160, 23, 0.18); color: #a16207; }
.ec-br-chip--red { background: rgba(185, 28, 28, 0.14); color: #b91c1c; }

.ec-br-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.ec-br-empty,
.ec-wal-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--ec-br-muted);
}

.ec-br-modal {
  position: fixed;
  inset: 0;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(6, 13, 24, 0.72);
}

.ec-br-modal__card {
  width: min(720px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 1rem;
  border: 1px solid var(--ec-br-line);
  background: var(--ec-br-surface);
  color: var(--ec-br-ink);
  padding: 1.25rem;
}

html.light .ec-br-modal__card,
html:not(.dark) .ec-br-modal__card {
  background: #fff;
  color: #0f172a;
}

.ec-wal-tx {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ec-wal-tx li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--ec-br-line);
}

.ec-wal-tx strong { display: block; }
.ec-wal-tx span { display: block; margin-top: 0.2rem; font-size: 0.78rem; color: var(--ec-br-muted); }

.ec-br-compose,
.ec-wal-form,
.ec-set-form {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
}

.ec-br-compose label,
.ec-wal-form label,
.ec-set-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ec-br-muted);
}

.ec-br-compose textarea {
  min-height: 10rem;
  resize: vertical;
}

.ec-br-tabs {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 0.75rem 1rem 0;
}

.ec-br-tabs button.is-active {
  background: var(--ec-br-green);
  border-color: transparent;
  color: #fff;
}

/* Dashboard coin wallet — classic balance card */
.ec-dash-wallet {
  display: grid;
  gap: 0.85rem;
  max-width: none;
  width: 100%;
}

.ec-dash-wallet-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .ec-dash-wallet-row {
    grid-template-columns: 1fr;
  }
}

.ec-dash-wallet__card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: linear-gradient(145deg, #141414 0%, #1f1f1f 48%, #0a0a0a 100%);
  color: #ffffff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.06) inset,
    0 18px 40px rgba(0, 0, 0, 0.35);
  min-height: 11.5rem;
}

.ec-dash-wallet__band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.28rem;
  background: linear-gradient(90deg, #9f1239 0%, #c8102e 45%, #e11d48 100%);
}

.ec-dash-wallet__face {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.25rem 1.2rem;
  display: grid;
  gap: 1.15rem;
  color: #ffffff;
}

.ec-dash-wallet__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.ec-dash-wallet__mark {
  width: 2.1rem;
  height: 1.45rem;
  border-radius: 0.35rem;
  background:
    linear-gradient(135deg, rgba(239, 68, 68, 0.95), rgba(200, 16, 46, 0.8));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  flex: 0 0 auto;
}

.ec-dash-wallet__kicker,
html.light #main-content .ec-dash-wallet__kicker,
html.dark #main-content .ec-dash-wallet__kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f87171 !important;
}

.ec-dash-wallet__issuer,
html.light #main-content .ec-dash-wallet__issuer,
html.dark #main-content .ec-dash-wallet__issuer {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.88) !important;
}

.ec-dash-wallet__link,
html.light #main-content .ec-dash-wallet__link,
html.dark #main-content .ec-dash-wallet__link {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #ffffff !important;
  font-size: 0.75rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  padding: 0.2rem 0;
}

.ec-dash-wallet__link:hover,
html.light #main-content .ec-dash-wallet__link:hover,
html.dark #main-content .ec-dash-wallet__link:hover {
  color: #f87171 !important;
}

.ec-dash-wallet__primary {
  display: grid;
  gap: 0.25rem;
}

.ec-dash-wallet__label,
html.light #main-content .ec-dash-wallet__label,
html.dark #main-content .ec-dash-wallet__label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72) !important;
}

.ec-dash-wallet__amount,
html.light #main-content .ec-dash-wallet__amount,
html.dark #main-content .ec-dash-wallet__amount {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  color: #ffffff !important;
}

.ec-dash-wallet__amount strong,
html.light #main-content .ec-dash-wallet__amount strong,
html.dark #main-content .ec-dash-wallet__amount strong {
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: clamp(2rem, 4vw, 2.55rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  color: #ffffff !important;
}

.ec-dash-wallet__amount em,
html.light #main-content .ec-dash-wallet__amount em,
html.dark #main-content .ec-dash-wallet__amount em {
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f87171 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ec-dash-wallet__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 480px) {
  .ec-dash-wallet__meta {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .ec-dash-blogstats__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ec-dash-wallet__meta span,
html.light #main-content .ec-dash-wallet__meta span,
html.dark #main-content .ec-dash-wallet__meta span {
  display: block;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7) !important;
}

.ec-dash-wallet__meta strong,
html.light #main-content .ec-dash-wallet__meta strong,
html.dark #main-content .ec-dash-wallet__meta strong {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff !important;
}

.ec-dash-wallet__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.ec-dash-wallet__btn {
  min-height: 2.55rem;
  border-radius: 0.45rem;
  padding: 0.55rem 1.05rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ec-dash-wallet__btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ec-dash-wallet__btn--claim,
html.light #main-content .ec-dash-wallet__btn--claim,
html.dark #main-content .ec-dash-wallet__btn--claim {
  background: #111 !important;
  border-color: #333 !important;
  color: #ffffff !important;
}

.ec-dash-wallet__btn--claim:hover:not(:disabled),
html.light #main-content .ec-dash-wallet__btn--claim:hover:not(:disabled),
html.dark #main-content .ec-dash-wallet__btn--claim:hover:not(:disabled) {
  background: #000 !important;
  color: #ffffff !important;
}

.ec-dash-wallet__btn--post,
html.light #main-content .ec-dash-wallet__btn--post {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
  color: #111111 !important;
}

html.dark #main-content .ec-dash-wallet__btn--post {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

.ec-dash-wallet__btn--post:hover,
html.light #main-content .ec-dash-wallet__btn--post:hover {
  border-color: #E91E2F !important;
  color: #E91E2F !important;
}

html.dark #main-content .ec-dash-wallet__btn--post:hover {
  border-color: #f87171 !important;
  color: #f87171 !important;
}

.ec-dash-wallet__footnote,
html.light #main-content .ec-dash-wallet__footnote {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #64748b !important;
}

.ec-dash-wallet__footnote--in,
html.light #main-content .ec-dash-wallet__footnote--in,
html.dark #main-content .ec-dash-wallet__footnote--in {
  margin-top: 0.15rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55) !important;
}

html.dark #main-content .ec-dash-wallet__footnote {
  color: rgba(255, 255, 255, 0.55) !important;
}

.ec-dash-wallet__card .ec-dash-wallet__actions,
.ec-dash-blogstats__card .ec-dash-blogstats__actions {
  margin-top: 0.15rem;
}

.ec-dash-blogstats__card .ec-dash-wallet__btn--post,
html.light #main-content .ec-dash-blogstats__card .ec-dash-wallet__btn--post {
  background: #111 !important;
  border-color: #111 !important;
  color: #ffffff !important;
}

html.dark #main-content .ec-dash-blogstats__card .ec-dash-wallet__btn--post {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #111111 !important;
}

.ec-dash-wallet__card .ec-dash-wallet__btn--claim,
html.light #main-content .ec-dash-wallet__card .ec-dash-wallet__btn--claim,
html.dark #main-content .ec-dash-wallet__card .ec-dash-wallet__btn--claim {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #111111 !important;
}

.ec-dash-wallet__card .ec-dash-wallet__btn--claim:hover:not(:disabled),
html.light #main-content .ec-dash-wallet__card .ec-dash-wallet__btn--claim:hover:not(:disabled),
html.dark #main-content .ec-dash-wallet__card .ec-dash-wallet__btn--claim:hover:not(:disabled) {
  background: #E91E2F !important;
  border-color: #E91E2F !important;
  color: #ffffff !important;
}

/* Blog post stats companion card */
.ec-dash-blogstats {
  display: grid;
  gap: 0.85rem;
  width: 100%;
}

.ec-dash-blogstats__card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  color: #0f172a;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  min-height: 11.5rem;
}

html.dark .ec-dash-blogstats__card {
  background: linear-gradient(145deg, #1a1a1a 0%, #222 55%, #121212 100%);
  border-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.ec-dash-blogstats__band {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.28rem;
  background: linear-gradient(90deg, #9f1239 0%, #E91E2F 45%, #e11d48 100%);
}

.ec-dash-blogstats__face {
  position: relative;
  z-index: 1;
  padding: 1.15rem 1.25rem 1.2rem;
  display: grid;
  gap: 1rem;
}

.ec-dash-blogstats__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.ec-dash-blogstats__kicker,
html.light #main-content .ec-dash-blogstats__kicker,
html.dark #main-content .ec-dash-blogstats__kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E91E2F !important;
}

html.dark #main-content .ec-dash-blogstats__kicker {
  color: #f87171 !important;
}

.ec-dash-blogstats__issuer,
html.light #main-content .ec-dash-blogstats__issuer {
  margin: 0.1rem 0 0;
  font-size: 0.78rem;
  color: #64748b !important;
}

html.dark #main-content .ec-dash-blogstats__issuer {
  color: rgba(255, 255, 255, 0.72) !important;
}

.ec-dash-blogstats__link,
html.light #main-content .ec-dash-blogstats__link {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #0f172a !important;
  font-size: 0.75rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  padding: 0.2rem 0;
}

html.dark #main-content .ec-dash-blogstats__link {
  color: #ffffff !important;
}

.ec-dash-blogstats__link:hover,
html.light #main-content .ec-dash-blogstats__link:hover,
html.dark #main-content .ec-dash-blogstats__link:hover {
  color: #E91E2F !important;
}

.ec-dash-blogstats__label,
html.light #main-content .ec-dash-blogstats__label {
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b !important;
}

html.dark #main-content .ec-dash-blogstats__label {
  color: rgba(255, 255, 255, 0.65) !important;
}

.ec-dash-blogstats__amount,
html.light #main-content .ec-dash-blogstats__amount {
  margin: 0.15rem 0 0;
  color: #0f172a !important;
}

html.dark #main-content .ec-dash-blogstats__amount {
  color: #ffffff !important;
}

.ec-dash-blogstats__amount strong,
html.light #main-content .ec-dash-blogstats__amount strong,
html.dark #main-content .ec-dash-blogstats__amount strong {
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: clamp(2rem, 4vw, 2.55rem);
  font-weight: 700;
  line-height: 1;
  color: inherit !important;
}

.ec-dash-blogstats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(15, 23, 42, 0.1);
}

html.dark .ec-dash-blogstats__grid {
  border-top-color: rgba(255, 255, 255, 0.12);
}

@media (max-width: 520px) {
  .ec-dash-blogstats__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.ec-dash-blogstats__grid span,
html.light #main-content .ec-dash-blogstats__grid span {
  display: block;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b !important;
}

html.dark #main-content .ec-dash-blogstats__grid span {
  color: rgba(255, 255, 255, 0.55) !important;
}

.ec-dash-blogstats__grid strong,
html.light #main-content .ec-dash-blogstats__grid strong {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a !important;
}

html.dark #main-content .ec-dash-blogstats__grid strong {
  color: #ffffff !important;
}

.ec-dash-blogstats__earned {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.55rem;
  background: rgba(233, 30, 47, 0.1);
  border: 1px solid rgba(233, 30, 47, 0.22);
}

.ec-dash-blogstats__earned span,
html.light #main-content .ec-dash-blogstats__earned span {
  font-size: 0.72rem;
  font-weight: 650;
  color: #E91E2F !important;
}

html.dark #main-content .ec-dash-blogstats__earned span {
  color: #f87171 !important;
}

.ec-dash-blogstats__earned strong,
html.light #main-content .ec-dash-blogstats__earned strong,
html.dark #main-content .ec-dash-blogstats__earned strong {
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a !important;
}

html.dark #main-content .ec-dash-blogstats__earned strong {
  color: #ffffff !important;
}

.ec-dash-blogstats__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Member dashboard: Community left · Quick actions right */
.ec-dash-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 1rem;
  align-items: start;
}

@media (max-width: 960px) {
  .ec-dash-split {
    grid-template-columns: 1fr;
  }
}

.ec-dash-community,
.ec-dash-actions {
  border-radius: 1rem;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  min-height: 18rem;
}

html.dark .ec-dash-community,
html.dark .ec-dash-actions {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.ec-dash-community__head,
.ec-dash-actions__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

html.dark .ec-dash-community__head,
html.dark .ec-dash-actions__head {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ec-dash-community__composer {
  padding: 0.85rem 1rem 0.55rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.55rem;
}

html.dark .ec-dash-community__composer {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.ec-dash-community__textarea,
html.light #main-content .ec-dash-community__textarea {
  width: 100%;
  resize: vertical;
  min-height: 4.5rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #f8fafc;
  color: #0f172a !important;
  padding: 0.7rem 0.8rem;
  font-size: 0.88rem;
  line-height: 1.45;
  outline: none;
}

html.dark #main-content .ec-dash-community__textarea {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

.ec-dash-community__textarea:focus {
  border-color: rgba(184, 146, 31, 0.55);
}

.ec-dash-community__composer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.ec-dash-community__select,
html.light #main-content .ec-dash-community__select {
  min-height: 2.35rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #0f172a !important;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
}

html.dark #main-content .ec-dash-community__select {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

.ec-dash-community__publish,
html.light #main-content .ec-dash-community__publish {
  margin-left: auto;
  min-height: 2.35rem;
  border-radius: 0.45rem;
  border: 1px solid #111;
  background: #111;
  color: #fff !important;
  padding: 0.4rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}

.ec-dash-community__publish:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.ec-dash-community__hint,
html.light #main-content .ec-dash-community__hint {
  margin: 0;
  min-height: 1rem;
  font-size: 0.72rem;
  color: #64748b !important;
}

.ec-dash-community__hint.is-error,
html.light #main-content .ec-dash-community__hint.is-error {
  color: #b91c1c !important;
}

html.dark #main-content .ec-dash-community__hint {
  color: rgba(255, 255, 255, 0.5) !important;
}

html.dark #main-content .ec-dash-community__hint.is-error {
  color: #fca5a5 !important;
}

.ec-dash-community__kicker,
.ec-dash-actions__kicker,
html.light #main-content .ec-dash-community__kicker,
html.light #main-content .ec-dash-actions__kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #E91E2F !important;
}

.ec-dash-community__title,
.ec-dash-actions__title,
html.light #main-content .ec-dash-community__title,
html.light #main-content .ec-dash-actions__title {
  margin: 0.2rem 0 0;
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a !important;
}

html.dark #main-content .ec-dash-community__title,
html.dark #main-content .ec-dash-actions__title {
  color: #ffffff !important;
}

.ec-dash-community__open,
html.light #main-content .ec-dash-community__open {
  border: 1px solid rgba(15, 23, 42, 0.16);
  background: #111;
  color: #fff !important;
  border-radius: 0.45rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

html.dark #main-content .ec-dash-community__open {
  background: #fff;
  border-color: #fff;
  color: #111 !important;
}

.ec-dash-community__feed {
  padding: 0.75rem 1rem 0.5rem;
  display: grid;
  gap: 0.65rem;
  max-height: 28rem;
  overflow: auto;
}

.ec-dash-community__more-wrap {
  padding: 0.35rem 1rem 1rem;
}

.ec-dash-community__more,
html.light #main-content .ec-dash-community__more {
  width: 100%;
  min-height: 2.4rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fff;
  color: #0f172a !important;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

html.dark #main-content .ec-dash-community__more {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff !important;
}

.ec-dash-community__more[hidden] {
  display: none !important;
}

.ec-dash-community__post-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.55rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

html.dark .ec-dash-community__post-actions {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.ec-dash-community__like,
html.light #main-content .ec-dash-community__like {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: 0.75rem;
  color: #64748b !important;
  cursor: pointer;
}

html.dark #main-content .ec-dash-community__like {
  color: rgba(255, 255, 255, 0.65) !important;
}

.ec-dash-community__post-actions span,
html.light #main-content .ec-dash-community__post-actions span {
  font-size: 0.75rem;
  color: #64748b !important;
}

html.dark #main-content .ec-dash-community__post-actions span {
  color: rgba(255, 255, 255, 0.55) !important;
}

.ec-dash-community__empty,
html.light #main-content .ec-dash-community__empty {
  margin: 0;
  font-size: 0.84rem;
  color: #64748b !important;
  padding: 0.5rem 0;
}

html.dark #main-content .ec-dash-community__empty {
  color: rgba(255, 255, 255, 0.55) !important;
}

.ec-dash-community__post {
  border-radius: 0.7rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f8fafc;
  padding: 0.75rem 0.85rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

html.dark .ec-dash-community__post {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.ec-dash-community__post:hover {
  border-color: rgba(184, 146, 31, 0.45);
}

.ec-dash-community__post-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.35rem;
}

.ec-dash-community__post-top strong,
html.light #main-content .ec-dash-community__post-top strong {
  font-size: 0.82rem;
  color: #0f172a !important;
}

html.dark #main-content .ec-dash-community__post-top strong {
  color: #fff !important;
}

.ec-dash-community__post-top span,
html.light #main-content .ec-dash-community__post-top span {
  font-size: 0.68rem;
  color: #64748b !important;
}

html.dark #main-content .ec-dash-community__post-top span {
  color: rgba(255, 255, 255, 0.5) !important;
}

.ec-dash-community__post p,
html.light #main-content .ec-dash-community__post p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #334155 !important;
  white-space: pre-wrap;
  word-break: break-word;
}

html.dark #main-content .ec-dash-community__post p {
  color: rgba(255, 255, 255, 0.78) !important;
}

.ec-dash-actions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  padding: 0.85rem 1rem 1rem;
}

@media (min-width: 520px) {
  .ec-dash-actions__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ec-dash-actions__grid > button {
  width: 100%;
}

/* —— Member wallet claim badges —— */
.ec-wal-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ec-wal-badge--pending { background: #fef3c7; color: #92400e; }
.ec-wal-badge--paid { background: #d1fae5; color: #065f46; }
.ec-wal-badge--rejected { background: #fee2e2; color: #991b1b; }
.ec-wal-neg { color: #dc2626; }

/* —— Admin coin claims (classic ledger) —— */
.ec-coin-page {
  --ec-coin-ink: #0f172a;
  --ec-coin-muted: #64748b;
  --ec-coin-line: rgba(15, 23, 42, 0.1);
  --ec-coin-surface: #ffffff;
  --ec-coin-surface-2: #f8fafc;
  --ec-coin-green: #1f6b3a;
  --ec-coin-green-soft: rgba(31, 107, 58, 0.08);
  --ec-coin-gold: #a67c00;
  --ec-coin-amber: #92400e;
  --ec-coin-danger: #b91c1c;
  max-width: 1180px;
  color: var(--ec-coin-ink);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

html.dark .ec-coin-page {
  --ec-coin-ink: rgba(255, 255, 255, 0.94);
  --ec-coin-muted: rgba(255, 255, 255, 0.58);
  --ec-coin-line: rgba(255, 255, 255, 0.12);
  --ec-coin-surface: rgba(0, 0, 0, 0.28);
  --ec-coin-surface-2: rgba(255, 255, 255, 0.04);
  --ec-coin-green: #3dba65;
  --ec-coin-green-soft: rgba(61, 186, 101, 0.12);
  --ec-coin-gold: #d4a017;
}

.ec-coin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  border: 1px solid var(--ec-coin-line);
  border-left: 3px solid var(--ec-coin-green);
  background:
    linear-gradient(180deg, var(--ec-coin-green-soft), transparent 55%),
    var(--ec-coin-surface);
  padding: 1.35rem 1.5rem;
}

.ec-coin-hero__text { min-width: 0; }

.ec-coin-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ec-coin-gold);
}

.ec-coin-title {
  margin: 0;
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ec-coin-ink);
  line-height: 1.15;
}

.ec-coin-sub {
  margin: 0.45rem 0 0;
  max-width: 34rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ec-coin-muted);
}

.ec-coin-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.ec-coin-stat {
  border: 1px solid var(--ec-coin-line);
  background: var(--ec-coin-surface-2);
  padding: 0.7rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.ec-coin-stat__label {
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ec-coin-muted);
}

.ec-coin-stat__value {
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.ec-coin-stat--pending .ec-coin-stat__value { color: var(--ec-coin-amber); }
.ec-coin-stat--paid .ec-coin-stat__value { color: var(--ec-coin-green); }
.ec-coin-stat--rejected .ec-coin-stat__value { color: var(--ec-coin-danger); }

.ec-coin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid var(--ec-coin-line);
  margin: 0;
  padding: 0;
}

.ec-coin-tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  margin-bottom: -1px;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ec-coin-muted);
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

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

.ec-coin-tab.is-active {
  color: var(--ec-coin-green);
  border-bottom-color: var(--ec-coin-green);
}

.ec-coin-tab__count {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.05rem 0.4rem;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ec-coin-muted);
  background: var(--ec-coin-surface-2);
  border: 1px solid var(--ec-coin-line);
  font-variant-numeric: tabular-nums;
}

.ec-coin-tab.is-active .ec-coin-tab__count {
  color: var(--ec-coin-green);
  background: var(--ec-coin-green-soft);
  border-color: transparent;
}

.ec-coin-panel {
  border: 1px solid var(--ec-coin-line);
  background: var(--ec-coin-surface);
  overflow: hidden;
}

.ec-coin-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--ec-coin-line);
  background: var(--ec-coin-surface-2);
}

.ec-coin-panel__title {
  margin: 0;
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ec-coin-ink);
}

.ec-coin-panel__blurb {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  color: var(--ec-coin-muted);
  max-width: 36rem;
  line-height: 1.4;
}

.ec-coin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  max-width: 100%;
}

.ec-coin-input {
  flex: 1 1 14rem;
  min-width: 0;
  border: 1px solid var(--ec-coin-line);
  border-radius: 0.2rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.82rem;
  background: var(--ec-coin-surface);
  color: var(--ec-coin-ink);
  outline: none;
}

.ec-coin-input:focus {
  border-color: var(--ec-coin-green);
  box-shadow: 0 0 0 2px var(--ec-coin-green-soft);
}

.ec-coin-input--sm { flex: 0 0 6.5rem; }

.ec-coin-btn {
  border: 1px solid var(--ec-coin-line);
  background: var(--ec-coin-surface);
  border-radius: 0.2rem;
  padding: 0.48rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  color: var(--ec-coin-ink);
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.ec-coin-btn:hover { background: var(--ec-coin-surface-2); }

.ec-coin-btn--primary {
  background: var(--ec-coin-green);
  border-color: var(--ec-coin-green);
  color: #fff;
}

.ec-coin-btn--primary:hover { filter: brightness(1.05); }

.ec-coin-btn--danger {
  background: transparent;
  border-color: rgba(185, 28, 28, 0.35);
  color: var(--ec-coin-danger);
}

.ec-coin-btn--danger:hover { background: rgba(185, 28, 28, 0.06); }

.ec-coin-btn--ghost {
  background: transparent;
  border-color: transparent;
}

.ec-coin-btn--ghost:hover {
  background: var(--ec-coin-surface-2);
  border-color: var(--ec-coin-line);
}

.ec-coin-btn--link {
  background: transparent;
  border-color: transparent;
  color: var(--ec-coin-green);
  padding-inline: 0.35rem;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.ec-coin-btn--link:hover { color: var(--ec-coin-ink); background: transparent; }

.ec-coin-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.ec-coin-body { min-height: 12rem; }

.ec-coin-table-wrap { overflow-x: auto; }

.ec-coin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
  min-width: 680px;
}

.ec-coin-table th,
.ec-coin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--ec-coin-line);
  vertical-align: middle;
}

.ec-coin-table thead th {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ec-coin-muted);
  background: var(--ec-coin-surface-2);
  border-bottom: 1px solid var(--ec-coin-line);
  white-space: nowrap;
}

.ec-coin-table tbody tr:hover { background: var(--ec-coin-green-soft); }

.ec-coin-table--compact { min-width: 0; font-size: 0.78rem; }
.ec-coin-table--compact th,
.ec-coin-table--compact td { padding: 0.45rem 0.55rem; }

.ec-coin-num {
  text-align: right !important;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.ec-coin-actions-col { text-align: right !important; width: 1%; white-space: nowrap; }

.ec-coin-ref {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--ec-coin-muted);
}

.ec-coin-amount {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ec-coin-person {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}

.ec-coin-person strong {
  font-weight: 650;
  color: var(--ec-coin-ink);
}

.ec-coin-muted {
  display: block;
  font-size: 0.72rem;
  color: var(--ec-coin-muted);
  line-height: 1.35;
}

.ec-coin-date {
  font-size: 0.78rem;
  color: var(--ec-coin-muted);
  white-space: nowrap;
}

.ec-coin-type {
  font-size: 0.8rem;
  font-weight: 550;
}

.ec-coin-note {
  max-width: 14rem;
  color: var(--ec-coin-muted);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ec-coin-empty {
  padding: 3rem 1.5rem;
  text-align: center;
}

.ec-coin-empty__title {
  margin: 0;
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ec-coin-ink);
}

.ec-coin-empty__msg {
  margin: 0.4rem 0 0;
  font-size: 0.85rem;
  color: var(--ec-coin-muted);
}

.ec-coin-empty--loading { padding: 2.5rem 1.5rem; }

.ec-coin-badge {
  display: inline-block;
  padding: 0.18rem 0.5rem;
  border-radius: 0.15rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
}

.ec-coin-badge--pending {
  background: #fff7ed;
  color: #9a3412;
  border-color: rgba(154, 52, 18, 0.18);
}

.ec-coin-badge--paid {
  background: #ecfdf5;
  color: #065f46;
  border-color: rgba(6, 95, 70, 0.18);
}

.ec-coin-badge--rejected {
  background: #fef2f2;
  color: #991b1b;
  border-color: rgba(153, 27, 27, 0.18);
}

html.dark .ec-coin-badge--pending {
  background: rgba(154, 52, 18, 0.2);
  color: #fdba74;
  border-color: rgba(253, 186, 116, 0.25);
}

html.dark .ec-coin-badge--paid {
  background: rgba(6, 95, 70, 0.25);
  color: #6ee7b7;
  border-color: rgba(110, 231, 183, 0.25);
}

html.dark .ec-coin-badge--rejected {
  background: rgba(153, 27, 27, 0.25);
  color: #fca5a5;
  border-color: rgba(252, 165, 165, 0.25);
}

.ec-coin-pos { color: var(--ec-coin-green); }
.ec-coin-neg { color: var(--ec-coin-danger); }

.ec-coin-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid var(--ec-coin-line);
  background: var(--ec-coin-surface-2);
}

.ec-coin-pager__meta {
  font-size: 0.78rem;
  color: var(--ec-coin-muted);
}

.ec-coin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(2px);
}

.ec-coin-modal {
  width: min(540px, 100%);
  max-height: min(90vh, 760px);
  overflow: auto;
  background: var(--ec-coin-surface);
  color: var(--ec-coin-ink);
  border: 1px solid var(--ec-coin-line);
  border-radius: 0.25rem;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.28);
}

.ec-coin-modal--wide { width: min(820px, 100%); }

.ec-coin-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--ec-coin-line);
  background: var(--ec-coin-surface-2);
  border-left: 3px solid var(--ec-coin-green);
}

.ec-coin-modal__head-text { min-width: 0; }

.ec-coin-modal__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ec-coin-gold);
}

.ec-coin-modal__head h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.ec-coin-modal__sub {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--ec-coin-muted);
}

.ec-coin-modal__body { padding: 1.15rem 1.25rem 1.35rem; font-size: 0.88rem; }

.ec-coin-modal__body h4 {
  margin: 0 0 0.55rem;
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 0.92rem;
  font-weight: 700;
}

.ec-coin-dossier-amount {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--ec-coin-line);
  background: var(--ec-coin-green-soft);
}

.ec-coin-dossier-amount__label {
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ec-coin-muted);
}

.ec-coin-dossier-amount__value {
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ec-coin-green);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.ec-coin-dossier-amount__value small {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ec-coin-muted);
  margin-left: 0.25rem;
}

.ec-coin-dl {
  margin: 0;
  display: grid;
  gap: 0;
  border: 1px solid var(--ec-coin-line);
}

.ec-coin-dl > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--ec-coin-line);
}

.ec-coin-dl > div:last-child { border-bottom: 0; }

.ec-coin-dl dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ec-coin-muted);
  padding-top: 0.15rem;
}

.ec-coin-dl dd {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ec-coin-ink);
  min-width: 0;
}

.ec-coin-dl dd .ec-coin-muted { margin-top: 0.15rem; }

.ec-coin-settle {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--ec-coin-line);
}

.ec-coin-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--ec-coin-ink);
}

.ec-coin-label span {
  font-weight: 500;
  color: var(--ec-coin-muted);
}

.ec-coin-label textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  border-radius: 0.2rem;
  border: 1px solid var(--ec-coin-line);
  padding: 0.6rem 0.7rem;
  font: inherit;
  font-size: 0.85rem;
  background: var(--ec-coin-surface);
  color: var(--ec-coin-ink);
  resize: vertical;
  min-height: 4rem;
}

.ec-coin-label textarea:focus {
  outline: none;
  border-color: var(--ec-coin-green);
  box-shadow: 0 0 0 2px var(--ec-coin-green-soft);
}

.ec-coin-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.ec-coin-hint {
  margin: 0.75rem 0 0 !important;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--ec-coin-muted);
}

.ec-coin-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.ec-coin-mini-stat {
  border: 1px solid var(--ec-coin-line);
  background: var(--ec-coin-surface-2);
  padding: 0.7rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ec-coin-mini-stat span {
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ec-coin-muted);
}

.ec-coin-mini-stat strong {
  font-family: var(--font-heading, Georgia, "Times New Roman", serif);
  font-size: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ec-coin-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.ec-coin-split section {
  min-width: 0;
  border: 1px solid var(--ec-coin-line);
  padding: 0.75rem;
  background: var(--ec-coin-surface-2);
}

@media (max-width: 900px) {
  .ec-coin-hero { grid-template-columns: 1fr; }
  .ec-coin-split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .ec-coin-hero { padding: 1.1rem 1rem; }
  .ec-coin-title { font-size: 1.35rem; }
  .ec-coin-tab { padding: 0.65rem 0.7rem; font-size: 0.78rem; }
  .ec-coin-panel__head { padding: 0.9rem; }
  .ec-coin-table { min-width: 560px; }
  .ec-coin-dl > div { grid-template-columns: 1fr; gap: 0.2rem; }
  .ec-coin-modal__body { padding: 1rem; }
}
