.dashboard-shell {
  min-height: calc(100vh - 78px);
  display: grid;
  grid-template-columns: 220px 1fr;
  background: var(--paper);
}
.dashboard-sidebar {
  background: var(--ink);
  color: #fff;
  padding: 38px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #9da5ad;
  margin: 0 12px 20px;
}
.dashboard-sidebar > a {
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  color: #bac0c5;
}
.dashboard-sidebar > a.active {
  background: rgba(245, 153, 198, 0.16);
  color: var(--pink);
}
.dashboard-sidebar > a span {
  float: right;
  font-size: 9px;
  text-transform: uppercase;
  background: #35414f;
  padding: 4px 5px;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  border-top: 1px solid #35414f;
  padding: 22px 12px 0;
  display: flex;
  flex-direction: column;
}
.sidebar-bottom small {
  color: #8e99a5;
  margin-bottom: 4px;
}
.dashboard-main {
  padding: 50px clamp(24px, 5vw, 70px);
}
.dashboard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dashboard-heading h1 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -2px;
  margin: 4px 0;
}
.dashboard-heading p:last-child {
  color: var(--muted);
}
.market-status {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 9px 13px;
  font-size: 11px;
}
.market-status i {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  margin-right: 5px;
}
.subscription-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--pink);
  border-radius: 20px;
  padding: 26px 30px;
  margin: 34px 0;
}
.subscription-banner.inactive {
  background: var(--yellow);
}
.subscription-banner small {
  text-transform: uppercase;
  letter-spacing: 1px;
}
.subscription-banner h2 {
  margin: 6px 0;
}
.subscription-banner p {
  margin: 0;
}
.subscription-banner > div:last-child {
  text-align: right;
}
.subscription-banner strong {
  font-size: 28px;
}
.subscription-banner span {
  font-size: 12px;
}
.subscription-banner em {
  display: block;
  width: max-content;
  margin: 7px 0 0 auto;
  padding: 4px 8px;
  background: var(--green);
  border-radius: 6px;
  font-size: 10px;
  text-transform: uppercase;
  font-style: normal;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dashboard-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
}
.large-card {
  grid-column: span 2;
}
.card-top {
  display: flex;
  justify-content: space-between;
}
.card-top small,
.side-card > small,
.stat-card > small {
  color: var(--muted);
}
.card-top h2,
.side-card h2 {
  margin: 6px 0;
}
.card-top > span {
  font-size: 10px;
  background: #f1eee6;
  height: max-content;
  padding: 6px 8px;
  border-radius: 6px;
}
.empty-chart {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 39px,
    rgba(23, 33, 45, 0.05) 40px
  );
  margin-top: 15px;
}
.pulse-orb {
  width: 50px;
  height: 50px;
  background: var(--pink);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(245, 153, 198, 0.18);
}
.empty-chart p {
  margin: 25px 0 4px;
}
.empty-chart small {
  color: var(--muted);
}
.side-card ul {
  list-style: none;
  padding: 10px 0;
}
.side-card li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.side-card em {
  font-style: normal;
  color: var(--muted);
  font-size: 12px;
}
.side-card button {
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 8px;
}
.stat-card strong {
  font: 700 26px "Greta Arabic", Tahoma, Arial, sans-serif;
  display: block;
  margin: 18px 0 8px;
}
.transaction-section { margin-top: 18px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.transaction-table { overflow-x: auto; }
.transaction-table table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.transaction-table th, .transaction-table td { padding: 13px; text-align: right; border-bottom: 1px solid var(--line); white-space: nowrap; }
.transaction-table th { color: var(--muted); font-size: 12px; }
.stat-card p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.stat-card.yellow {
  border-top: 5px solid var(--yellow);
}
.stat-card.green {
  border-top: 5px solid var(--green);
}
@media (max-width: 900px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }
  .dashboard-sidebar {
    display: none;
  }
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
  .large-card {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  .dashboard-heading,
  .subscription-banner {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .subscription-banner > div:last-child {
    text-align: left;
  }
  .subscription-banner em {
    margin-left: 0;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .large-card {
    grid-column: auto;
  }
}
.dashboard-sidebar > a span {
  float: left;
}
.subscription-banner > div:last-child {
  text-align: left;
}
.subscription-banner em {
  margin: 7px auto 0 0;
}
.stat-card strong {
  font-family: "Greta Arabic", Tahoma, Arial, sans-serif;
}
.signal-panel { scroll-margin-top: 1.5rem; }
.signal-panel button:disabled { cursor: wait; opacity: .65; }
.signal-result { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: 1rem; }
.signal-result strong { color: var(--blue); font-size: 1.35rem; }
.signal-result span { display: flex; flex-direction: column; gap: .3rem; }
.signal-result i { font-style: normal; }
.signal-page { max-width: 1100px; margin: 0 auto; padding: 48px 24px 80px; }
.signal-page .signal-panel { margin-top: 28px; }
