:root {
  --bep-bg: #050916;
  --bep-panel: rgba(8, 16, 31, 0.84);
  --bep-panel-2: rgba(12, 23, 42, 0.88);
  --bep-border: rgba(159, 226, 255, 0.12);
  --bep-border-strong: rgba(122, 255, 210, 0.28);
  --bep-text: #edf7ff;
  --bep-muted: rgba(220, 235, 245, 0.64);
  --bep-faint: rgba(220, 235, 245, 0.42);
  --bep-cyan: #72f8ff;
  --bep-green: #76ffb2;
  --bep-red: #ff6b8a;
  --bep-gold: #ffdf7d;
  --bep-blue: #8aa4ff;
}

body[data-page="btc-eth-desk-preview"] {
  background:
    radial-gradient(circle at 20% 0%, rgba(27, 114, 128, 0.20), transparent 34rem),
    radial-gradient(circle at 88% 18%, rgba(255, 205, 89, 0.10), transparent 28rem),
    var(--bep-bg);
}

.bep-shell {
  gap: 18px;
}

.bep-topbar {
  border: 1px solid var(--bep-border);
  background: rgba(6, 12, 26, 0.76);
  backdrop-filter: blur(18px);
}

.bep-hero,
.bep-section,
.bep-boundary {
  border: 1px solid var(--bep-border);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(12, 41, 53, 0.42), rgba(11, 13, 25, 0.90) 52%, rgba(92, 75, 30, 0.20)),
    rgba(7, 12, 25, 0.82);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.bep-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  padding: 30px;
}

.bep-hero h2 {
  margin: 6px 0 10px;
  max-width: 860px;
  color: var(--bep-text);
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.bep-hero p {
  margin: 0;
  max-width: 840px;
  color: var(--bep-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.bep-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.bep-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(119, 231, 255, 0.22);
  border-radius: 999px;
  color: var(--bep-text);
  text-decoration: none;
  background: rgba(6, 16, 30, 0.68);
  font-weight: 800;
  font-size: 0.86rem;
}

.bep-btn.is-gold {
  border-color: rgba(255, 224, 126, 0.38);
  color: #ffeaa2;
  background: rgba(94, 75, 24, 0.38);
}

.bep-section {
  padding: 22px;
}

.bep-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.bep-section-head h3 {
  margin: 4px 0 0;
  color: var(--bep-text);
  font-size: clamp(1.3rem, 2.5vw, 2.05rem);
  letter-spacing: -0.035em;
}

.bep-mini-note {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 223, 125, 0.22);
  border-radius: 999px;
  color: #ffeaa1;
  background: rgba(105, 81, 25, 0.22);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.bep-health-grid,
.bep-battlefield-grid,
.bep-symbol-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bep-battlefield-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bep-health-card,
.bep-battle-card,
.bep-symbol-card,
.bep-lane-card,
.bep-event-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--bep-border);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(10, 30, 48, 0.82), rgba(8, 14, 27, 0.90)),
    rgba(6, 12, 24, 0.86);
}

.bep-health-card::before,
.bep-symbol-card::before,
.bep-lane-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 8% 0%, rgba(114, 248, 255, 0.11), transparent 34%);
}

.bep-health-card,
.bep-symbol-card,
.bep-lane-card {
  padding: 18px;
}

.bep-health-card.is-ok,
.bep-symbol-card.is-bull,
.bep-lane-card.is-long {
  border-color: rgba(118, 255, 178, 0.30);
  box-shadow: inset 0 -2px 0 rgba(118, 255, 178, 0.20);
}

.bep-health-card.is-warn,
.bep-symbol-card.is-neutral,
.bep-lane-card.is-watch,
.bep-lane-card.is-neutral {
  border-color: rgba(255, 223, 125, 0.28);
  box-shadow: inset 0 -2px 0 rgba(255, 223, 125, 0.18);
}

.bep-health-card.is-danger,
.bep-symbol-card.is-bear,
.bep-lane-card.is-short,
.bep-lane-card.is-invalid {
  border-color: rgba(255, 107, 138, 0.32);
  box-shadow: inset 0 -2px 0 rgba(255, 107, 138, 0.20);
}

.bep-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.bep-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bep-title-row small,
.bep-card-top em,
.bep-kv-label {
  color: var(--bep-faint);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-style: normal;
}

.bep-title-row strong {
  display: block;
  margin-top: 2px;
  color: var(--bep-text);
  font-size: 1.1rem;
  line-height: 1.2;
}

.bep-coin-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 50%;
  filter: drop-shadow(0 0 16px rgba(106, 230, 255, 0.20));
}

.bep-badge,
.bep-pill,
.bep-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid rgba(121, 233, 255, 0.18);
  border-radius: 999px;
  color: var(--bep-muted);
  background: rgba(10, 22, 38, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
}

.bep-badge.is-push,
.bep-pill.is-green,
.bep-light.is-on {
  color: #04120d;
  border-color: rgba(118, 255, 178, 0.60);
  background: linear-gradient(135deg, #7dffb9, #a8ffd2);
}

.bep-badge.is-highlight,
.bep-pill.is-gold {
  color: #161006;
  border-color: rgba(255, 223, 125, 0.60);
  background: linear-gradient(135deg, #ffe071, #fff0b2);
}

.bep-badge.is-defend,
.bep-pill.is-red {
  color: #fff3f5;
  border-color: rgba(255, 107, 138, 0.50);
  background: rgba(148, 35, 65, 0.72);
}

.bep-diagnosis {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.bep-diagnosis span,
.bep-kv,
.bep-target {
  min-width: 0;
  border: 1px solid rgba(164, 204, 255, 0.10);
  border-radius: 14px;
  background: rgba(8, 15, 29, 0.62);
  padding: 10px;
}

.bep-diagnosis b,
.bep-kv b,
.bep-target b {
  display: block;
  margin-top: 4px;
  color: var(--bep-text);
  font-size: 1.15rem;
  line-height: 1.1;
}

.bep-health-note,
.bep-symbol-note,
.bep-lane-note,
.bep-event-copy,
.bep-small-note {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--bep-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.bep-battle-card {
  padding: 16px;
  min-height: 126px;
}

.bep-battle-card::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, var(--bep-cyan), var(--bep-green));
  opacity: 0.8;
}

.bep-battle-card.is-gold::after { background: linear-gradient(90deg, var(--bep-gold), #fff2a6); }
.bep-battle-card.is-red::after { background: linear-gradient(90deg, var(--bep-red), #ffc0cc); }
.bep-battle-card.is-blue::after { background: linear-gradient(90deg, var(--bep-blue), var(--bep-cyan)); }

.bep-battle-card small {
  display: block;
  color: var(--bep-faint);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bep-battle-card strong {
  display: block;
  margin: 8px 0 6px;
  color: var(--bep-text);
  font-size: 1.05rem;
}

.bep-battle-card p {
  margin: 0;
  color: var(--bep-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.bep-symbol-stats,
.bep-plan-grid,
.bep-target-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bep-symbol-stats {
  margin: 12px 0;
}

.bep-symbol-stats .bep-kv:nth-child(4) b {
  color: var(--bep-cyan);
}

.bep-light-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.bep-light.is-on {
  box-shadow: 0 0 0 4px rgba(118, 255, 178, 0.08);
}

.bep-event-feed {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.bep-event-card {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
}

.bep-event-time {
  color: var(--bep-muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.bep-event-main strong {
  color: var(--bep-text);
}

.bep-event-main p {
  margin-top: 4px;
}

.bep-lane-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 14px;
  padding: 4px;
  border: 1px solid rgba(159, 226, 255, 0.12);
  border-radius: 999px;
  background: rgba(5, 10, 20, 0.56);
}

.bep-lane-tabs button {
  min-width: 88px;
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  color: var(--bep-muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.bep-lane-tabs button.is-active {
  color: #061411;
  background: linear-gradient(135deg, #8cffc3, #b9ffd8);
}

.bep-lanes {
  display: grid;
  gap: 12px;
}

.bep-lane-card {
  border-radius: 24px;
}

.bep-lane-card.is-placeholder {
  opacity: 0.76;
}

.bep-lane-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.bep-plan-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 12px 0;
}

.bep-target-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 10px;
}

.bep-target.is-hit {
  border-color: rgba(118, 255, 178, 0.34);
  background: rgba(29, 93, 62, 0.20);
}

.bep-hit {
  color: var(--bep-green);
  margin-left: 5px;
  font-weight: 1000;
}

.bep-boundary {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 20px;
  color: var(--bep-muted);
}

.bep-boundary strong {
  color: #ffeaa1;
}

@media (max-width: 1120px) {
  .bep-hero,
  .bep-health-grid,
  .bep-battlefield-grid,
  .bep-symbol-grid {
    grid-template-columns: 1fr;
  }
  .bep-diagnosis,
  .bep-symbol-stats,
  .bep-plan-grid,
  .bep-target-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bep-event-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .bep-section,
  .bep-hero {
    padding: 16px;
    border-radius: 22px;
  }
  .bep-hero h2 {
    font-size: 2rem;
  }
  .bep-section-head {
    display: block;
  }
  .bep-mini-note {
    margin-top: 10px;
    white-space: normal;
  }
  .bep-diagnosis,
  .bep-symbol-stats,
  .bep-plan-grid,
  .bep-target-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bep-boundary {
    display: block;
  }
}

/* v1.2 — wide preview: no left sidebar, 1440px canvas, BTC left / ETH right */
body[data-page="btc-eth-desk-preview"] {
  min-height: 100vh;
  padding: 22px 18px 72px;
}

body[data-page="btc-eth-desk-preview"] .bep-shell-wide {
  width: min(1440px, 100%);
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

body[data-page="btc-eth-desk-preview"] .bep-topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  border-radius: 22px;
  padding: 14px 18px;
}

body[data-page="btc-eth-desk-preview"] .bep-hero h2 {
  max-width: 980px;
  font-size: clamp(2.15rem, 4vw, 3.9rem);
  line-height: 1.02;
}

body[data-page="btc-eth-desk-preview"] .bep-hero p {
  max-width: 980px;
}

.bep-dual-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.bep-asset-column {
  min-width: 0;
  border: 1px solid rgba(159, 226, 255, 0.12);
  border-radius: 28px;
  padding: 16px;
  background:
    radial-gradient(circle at 6% 0%, rgba(114, 248, 255, 0.10), transparent 30%),
    linear-gradient(135deg, rgba(8, 29, 44, 0.60), rgba(7, 12, 25, 0.80));
}

.bep-asset-column.is-btc {
  border-color: rgba(255, 183, 77, 0.22);
  box-shadow: inset 0 0 0 1px rgba(247, 147, 26, 0.06);
}

.bep-asset-column.is-eth {
  border-color: rgba(138, 164, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(98, 126, 234, 0.07);
}

.bep-column-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding: 4px 2px 0;
}

.bep-column-head .bep-title-row strong {
  font-size: 1.24rem;
}

.bep-asset-column .bep-symbol-card {
  margin-bottom: 14px;
}

.bep-asset-column .bep-lanes {
  gap: 12px;
}

.bep-asset-column .bep-lane-card {
  border-radius: 22px;
}

.bep-asset-column .bep-plan-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bep-asset-column .bep-target-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bep-asset-column .bep-symbol-stats {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bep-column-status-note {
  color: var(--bep-muted);
  font-size: 0.8rem;
}

@media (max-width: 1180px) {
  .bep-dual-board {
    grid-template-columns: 1fr;
  }
  .bep-asset-column .bep-plan-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .bep-asset-column .bep-target-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .bep-asset-column .bep-symbol-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-page="btc-eth-desk-preview"] {
    padding: 12px 10px 56px;
  }
  body[data-page="btc-eth-desk-preview"] .bep-topbar {
    position: static;
  }
  .bep-column-head,
  .bep-card-top {
    align-items: flex-start;
  }
  .bep-asset-column {
    padding: 12px;
    border-radius: 22px;
  }
  .bep-asset-column .bep-plan-grid,
  .bep-asset-column .bep-target-grid,
  .bep-asset-column .bep-symbol-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* v1.3 — Commander summary, Daily 3Q, Fibo/Swing, signal tracking IDs */
.bep-commander-card,
.bep-daily-card,
.bep-fibo-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--bep-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 0% 0%, rgba(114, 248, 255, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(9, 29, 45, 0.82), rgba(8, 14, 27, 0.90) 58%, rgba(89, 70, 25, 0.18));
}

.bep-commander-card {
  padding: 22px;
  border-color: rgba(255, 223, 125, 0.22);
}

.bep-commander-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.bep-commander-title strong {
  display: block;
  color: var(--bep-text);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  letter-spacing: -0.035em;
}

.bep-commander-title small,
.bep-updated-line {
  color: var(--bep-faint);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bep-commander-text {
  margin: 0;
  color: var(--bep-text);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.75;
}

.bep-commander-alerts,
.bep-warning-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.bep-warning-row {
  margin: 10px 0 0;
}

.bep-warn-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 223, 125, 0.24);
  color: #ffe9a1;
  background: rgba(91, 73, 24, 0.28);
  font-weight: 900;
  font-size: 0.76rem;
}

.bep-warn-chip.is-red {
  color: #ffe8ee;
  border-color: rgba(255, 107, 138, 0.38);
  background: rgba(119, 25, 55, 0.34);
}

.bep-warn-chip.is-green {
  color: #04120d;
  border-color: rgba(118, 255, 178, 0.52);
  background: linear-gradient(135deg, #7dffb9, #b9ffd8);
}

.bep-daily-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bep-daily-card {
  padding: 18px;
}

.bep-daily-card .bep-card-top {
  margin-bottom: 12px;
}

.bep-q-list {
  display: grid;
  gap: 10px;
}

.bep-q-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid rgba(164, 204, 255, 0.10);
  border-radius: 16px;
  background: rgba(8, 15, 29, 0.60);
}

.bep-q-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 12px;
  color: #061411;
  background: linear-gradient(135deg, #8cffc3, #d4ffc8);
  font-size: 0.8rem;
  font-weight: 1000;
}

.bep-q-item strong {
  display: block;
  color: var(--bep-text);
  font-size: 0.96rem;
  margin-bottom: 4px;
}

.bep-q-item p {
  margin: 0;
  color: var(--bep-muted);
  line-height: 1.55;
  font-size: 0.9rem;
}

.bep-event-feed {
  display: none !important;
}

.bep-battle-card .bep-updated-line,
.bep-symbol-card .bep-updated-line,
.bep-lane-card .bep-updated-line,
.bep-fibo-card .bep-updated-line,
.bep-daily-card .bep-updated-line {
  display: block;
  margin-top: 10px;
  color: rgba(220,235,245,.42);
  letter-spacing: 0;
  text-transform: none;
}

.bep-asset-column .bep-fibo-card {
  margin-bottom: 14px;
  padding: 16px;
  border-color: rgba(255, 223, 125, 0.20);
}

.bep-fibo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.bep-fibo-header strong {
  display: block;
  color: var(--bep-text);
  font-size: 1.05rem;
}

.bep-fibo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bep-fibo-grid .bep-target.is-near {
  border-color: rgba(255, 223, 125, 0.46);
  box-shadow: 0 0 0 4px rgba(255, 223, 125, 0.08);
}

.bep-fibo-status {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  color: var(--bep-text);
  background: rgba(255, 223, 125, 0.08);
  border: 1px solid rgba(255, 223, 125, 0.16);
  line-height: 1.55;
  font-weight: 800;
}

.bep-signal-id {
  color: var(--bep-cyan);
  border-color: rgba(114, 248, 255, 0.34);
  background: rgba(10, 42, 52, 0.52);
}

.bep-quality-label {
  min-width: 112px;
}

.bep-quality-label.is-a,
.bep-quality-label.is-aplus {
  color: #04120d;
  border-color: rgba(118, 255, 178, 0.58);
  background: linear-gradient(135deg, #7dffb9, #b9ffd8);
}

.bep-quality-label.is-b,
.bep-quality-label.is-bplus {
  color: #161006;
  border-color: rgba(255, 223, 125, 0.60);
  background: linear-gradient(135deg, #ffe071, #fff0b2);
}

.bep-quality-label.is-c,
.bep-quality-label.is-d {
  color: #d8e9f4;
  border-color: rgba(164, 204, 255, 0.18);
  background: rgba(10, 22, 38, 0.72);
}

.bep-lane-card.is-hidden-low {
  opacity: 0.72;
}

.bep-lane-card .bep-card-top {
  margin-bottom: 10px;
}

.bep-lane-note b {
  color: var(--bep-text);
}

.bep-badge.is-info,
.bep-pill.is-info {
  color: #dff9ff;
  border-color: rgba(114, 248, 255, 0.28);
  background: rgba(6, 53, 68, 0.46);
}

.bep-badge.is-muted,
.bep-pill.is-muted {
  color: rgba(220,235,245,.64);
  border-color: rgba(164, 204, 255, 0.10);
  background: rgba(8, 15, 29, 0.62);
}

.bep-mini-note.is-live {
  color: #061411;
  background: linear-gradient(135deg, #8cffc3, #b9ffd8);
  border-color: rgba(118, 255, 178, 0.55);
}

@media (max-width: 1180px) {
  .bep-daily-grid,
  .bep-health-grid,
  .bep-battlefield-grid {
    grid-template-columns: 1fr;
  }
  .bep-fibo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .bep-commander-title,
  .bep-fibo-header {
    display: block;
  }
  .bep-fibo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bep-q-item {
    grid-template-columns: 28px minmax(0, 1fr);
  }
}
.bep-card-badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
@media (max-width: 760px) { .bep-card-badges { justify-content: flex-start; margin-top: 8px; } }

/* v1.4 — decision first: execution permission, best plan, compact candidate layer */
.bep-permission-section {
  border-color: rgba(118, 255, 178, 0.18);
}

.bep-permission-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 14px;
  align-items: stretch;
  margin-bottom: 14px;
  border: 1px solid rgba(159, 226, 255, 0.14);
  border-radius: 24px;
  padding: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(114, 248, 255, 0.12), transparent 34%),
    linear-gradient(135deg, rgba(7, 24, 38, 0.88), rgba(8, 13, 27, 0.94));
}

.bep-permission-card.is-go {
  border-color: rgba(118,255,178,.44);
  box-shadow: inset 0 0 0 1px rgba(118,255,178,.12), 0 0 30px rgba(118,255,178,.08);
}

.bep-permission-card.is-test,
.bep-permission-card.is-wait {
  border-color: rgba(255,223,125,.32);
  box-shadow: inset 0 0 0 1px rgba(255,223,125,.08), 0 0 30px rgba(255,223,125,.06);
}

.bep-permission-card.is-stop {
  border-color: rgba(255,107,138,.36);
  box-shadow: inset 0 0 0 1px rgba(255,107,138,.10), 0 0 30px rgba(255,107,138,.05);
}

.bep-permission-main span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  color: #061411;
  background: linear-gradient(135deg, #8cffc3, #d4ffc8);
  font-weight: 1000;
  letter-spacing: .04em;
}

.bep-permission-card.is-wait .bep-permission-main span,
.bep-permission-card.is-test .bep-permission-main span {
  color: #161006;
  background: linear-gradient(135deg, #ffe071, #fff0b2);
}

.bep-permission-card.is-stop .bep-permission-main span {
  color: #fff3f5;
  background: rgba(148, 35, 65, 0.78);
}

.bep-permission-main strong {
  display: block;
  color: var(--bep-text);
  font-size: clamp(1.35rem, 2vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.bep-permission-main p {
  margin: 10px 0 0;
  color: var(--bep-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.bep-permission-side {
  border: 1px solid rgba(164, 204, 255, 0.10);
  border-radius: 18px;
  padding: 14px;
  background: rgba(8, 15, 29, 0.58);
}

.bep-permission-side b {
  display: block;
  color: var(--bep-text);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.bep-permission-side small {
  color: var(--bep-muted);
  line-height: 1.5;
}

.bep-best-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.bep-best-plan-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(159, 226, 255, 0.13);
  border-radius: 22px;
  padding: 16px;
  background:
    radial-gradient(circle at 0% 0%, rgba(114, 248, 255, 0.10), transparent 34%),
    linear-gradient(135deg, rgba(9, 29, 45, 0.82), rgba(8, 14, 27, 0.90));
}

.bep-best-plan-card.is-btc { border-color: rgba(247,147,26,.22); }
.bep-best-plan-card.is-eth { border-color: rgba(138,164,255,.24); }

.bep-best-action {
  margin: 0 0 12px;
  color: var(--bep-text);
  font-size: .98rem;
  line-height: 1.6;
  font-weight: 800;
}

.bep-plan-mini {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.bep-plan-mini span {
  min-width: 0;
  border: 1px solid rgba(164, 204, 255, 0.10);
  border-radius: 14px;
  background: rgba(8, 15, 29, 0.62);
  padding: 10px;
}

.bep-plan-mini em {
  display: block;
  color: var(--bep-faint);
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
}

.bep-plan-mini b {
  display: block;
  margin-top: 4px;
  color: var(--bep-text);
  font-size: .96rem;
  line-height: 1.25;
}

.bep-fibo-status strong {
  color: #ffeaa1;
}

.bep-lane-card.is-expired {
  opacity: .52;
  filter: grayscale(.25);
}

.bep-more-candidates {
  border: 1px dashed rgba(164, 204, 255, 0.18);
  border-radius: 18px;
  padding: 13px 14px;
  color: var(--bep-muted);
  background: rgba(8, 15, 29, 0.48);
  font-weight: 900;
  text-align: center;
}

@media (max-width: 980px) {
  .bep-permission-card,
  .bep-best-plan-grid {
    grid-template-columns: 1fr;
  }
  .bep-plan-mini {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .bep-plan-mini {
    grid-template-columns: 1fr 1fr;
  }
}
