/* =========================================================
 * EQYERA Reusable Light Mode Dashboard Preview & Grey Stage
 * Primary Design Authority: Native Homepage Hero Presentation
 * ========================================================= */

.eq-hero-stage {
  width: 100%;
  max-width: 1140px;
  margin: 40px auto 0;
  padding: 26px 30px;
  background-color: #D6D6D6;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  box-sizing: border-box;
}

.eq-hero-dashboard {
  background-color: #F7F7F8;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #E3E5E8;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  font-family: var(--eq-font-sans, "Host Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: #17191C;
  display: flex;
  flex-direction: column;
}

/* Demo Disclaimer Banner */
.eq-hero-dashboard__banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ECEEF1;
  border-bottom: 1px solid #E3E5E8;
  font-family: var(--eq-font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #5B636E;
  padding: 8px 14px;
  text-align: center;
}

.eq-hero-dashboard__banner-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #0284C7;
  display: inline-block;
}

/* 3-Region Layout */
.eq-hero-dashboard__layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 220px;
  min-height: 470px;
  background-color: #FFFFFF;
}

/* Left Sidebar */
.eq-hero-dashboard__sidebar {
  background-color: #F1F2F3;
  border-right: 1px solid #E3E5E8;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eq-hero-dashboard__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 16px;
  border-bottom: 1px solid #E3E5E8;
  margin-bottom: 8px;
  color: #17191C;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.eq-hero-dashboard__brand-mark {
  color: #17191C;
  display: flex;
  align-items: center;
}

.eq-hero-dashboard__nav-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eq-hero-dashboard__nav-label {
  font-family: var(--eq-font-mono, "IBM Plex Mono", monospace);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #9299A2;
  padding: 8px 8px 4px;
  text-transform: uppercase;
}

.eq-hero-dashboard__nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  color: #69707A;
  text-decoration: none;
  transition: background 120ms ease, color 120ms ease;
}

.eq-hero-dashboard__nav-item:hover {
  background-color: #E5E7EB;
  color: #17191C;
}

.eq-hero-dashboard__nav-item.is-active {
  background-color: #FFFFFF;
  color: #17191C;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #E3E5E8;
}

.eq-hero-dashboard__nav-item.is-disabled {
  opacity: 0.55;
  cursor: default;
}

.eq-hero-dashboard__tier-card {
  padding: 10px 12px;
  border-radius: 5px;
  background-color: #FFFFFF;
  border: 1px solid #E3E5E8;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eq-hero-dashboard__tier-name {
  font-size: 11px;
  font-weight: 600;
  color: #17191C;
}

.eq-hero-dashboard__tier-status {
  font-size: 10px;
  color: #16A34A;
  font-weight: 500;
}

/* Central Research Workspace */
.eq-hero-dashboard__main {
  background-color: #FFFFFF;
  padding: 22px 24px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.eq-hero-dashboard__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.eq-hero-dashboard__title {
  font-size: 20px;
  font-weight: 600;
  color: #17191C;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.eq-hero-dashboard__subtitle {
  font-size: 12px;
  color: #69707A;
  margin: 0;
}

.eq-hero-dashboard__session-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: #F1F2F3;
  padding: 3px;
  border-radius: 6px;
  border: 1px solid #E3E5E8;
}

.eq-hero-dashboard__tab {
  border: none;
  background: transparent;
  padding: 5px 10px;
  border-radius: 4px;
  font-family: var(--eq-font-sans, "Host Grotesk", sans-serif);
  font-size: 11px;
  font-weight: 500;
  color: #69707A;
  cursor: pointer;
  transition: all 120ms ease;
}

.eq-hero-dashboard__tab:hover {
  color: #17191C;
}

.eq-hero-dashboard__tab.is-active {
  background-color: #FFFFFF;
  color: #17191C;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Toolbar */
.eq-hero-dashboard__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.eq-hero-dashboard__search {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #F7F7F8;
  border: 1px solid #E3E5E8;
  border-radius: 5px;
  padding: 6px 10px;
  width: 250px;
  color: #69707A;
}

.eq-hero-dashboard__search input {
  border: none;
  background: transparent;
  outline: none;
  font-family: var(--eq-font-sans, "Host Grotesk", sans-serif);
  font-size: 12px;
  color: #17191C;
  width: 100%;
}

.eq-hero-dashboard__chips {
  display: flex;
  align-items: center;
  gap: 6px;
}

.eq-hero-dashboard__chip {
  background-color: #F1F2F3;
  border: 1px solid #E3E5E8;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 500;
  color: #69707A;
}

.eq-hero-dashboard__count {
  font-family: var(--eq-font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 500;
  color: #0284C7;
  margin-left: 4px;
}

/* Native Research Table */
.eq-hero-dashboard__table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #E3E5E8;
  border-radius: 6px;
}

.eq-hero-dashboard__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.eq-hero-dashboard__table th {
  background-color: #F7F7F8;
  color: #69707A;
  font-family: var(--eq-font-mono, "IBM Plex Mono", monospace);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 10px 12px;
  border-bottom: 1px solid #E3E5E8;
  white-space: nowrap;
}

.eq-hero-dashboard__table td {
  padding: 10px 12px;
  border-bottom: 1px solid #F0F1F3;
  vertical-align: middle;
  white-space: nowrap;
}

.eq-hero-dashboard__table tr:last-child td {
  border-bottom: none;
}

.eq-hero-dashboard__table tr:hover td {
  background-color: #F9FAFB;
}

.eq-hero-stock {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.eq-hero-stock__name {
  font-weight: 600;
  color: #17191C;
  font-size: 12px;
}

.eq-hero-stock__symbol {
  font-family: var(--eq-font-mono, "IBM Plex Mono", monospace);
  font-size: 10px;
  color: #69707A;
}

.eq-hero-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
}

.eq-hero-badge--blue {
  background-color: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #DBEAFE;
}

.eq-hero-badge--purple {
  background-color: #FAF5FF;
  color: #7E22CE;
  border: 1px solid #F3E8FF;
}

.eq-hero-badge--green {
  background-color: #F0FDF4;
  color: #15803D;
  border: 1px solid #DCFCE7;
}

.eq-hero-badge--amber {
  background-color: #FFFBEB;
  color: #B45309;
  border: 1px solid #FEF3C7;
}

.eq-hero-table-mono {
  font-family: var(--eq-font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  color: #17191C;
}

.eq-hero-pill {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--eq-font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 600;
}

.eq-hero-pill--pos {
  background-color: #ECFDF5;
  color: #059669;
}

.eq-hero-score {
  display: inline-block;
  font-family: var(--eq-font-mono, "IBM Plex Mono", monospace);
  font-size: 11px;
  font-weight: 600;
  color: #17191C;
  background-color: #F1F2F3;
  padding: 2px 6px;
  border-radius: 4px;
}

.eq-hero-link-btn {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: #0284C7;
  background-color: #F0F9FF;
  border: 1px solid #E0F2FE;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Right Utility Panel */
.eq-hero-dashboard__panel {
  background-color: #F7F7F8;
  border-left: 1px solid #E3E5E8;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eq-hero-panel-card {
  background-color: #FFFFFF;
  border: 1px solid #E3E5E8;
  border-radius: 5px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.eq-hero-panel-card__kicker {
  font-family: var(--eq-font-mono, "IBM Plex Mono", monospace);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #9299A2;
  text-transform: uppercase;
}

.eq-hero-panel-card__title {
  font-size: 12px;
  font-weight: 600;
  color: #17191C;
}

.eq-hero-panel-card__text {
  font-size: 11px;
  line-height: 1.4;
  color: #69707A;
  margin: 2px 0 0;
}

.eq-hero-panel-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  color: #0284C7;
  margin-top: 6px;
}

.eq-hero-panel-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #0284C7;
}

.eq-hero-panel-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
}

.eq-hero-panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  color: #4B5563;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 4px;
  background-color: #FFFFFF;
  border: 1px solid #E3E5E8;
  transition: all 120ms ease;
}

.eq-hero-panel-link:hover {
  color: #17191C;
  border-color: #D1D5DB;
}

/* Caption under grey stage */
.eq-product-stage-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  margin-top: 14px;
  color: var(--eq-text-muted, #9299A2);
  font-family: var(--eq-font-mono, "IBM Plex Mono", monospace);
  font-size: 10px;
  line-height: 1.5;
  background: var(--eq-surface, #131517);
  border: 1px solid var(--eq-border, #303131);
  border-radius: var(--eq-radius-sm, 6px);
}

.eq-product-stage-caption strong {
  color: var(--eq-text-primary, #FFFFFF);
  font-weight: 500;
}

/* =========================================================
 * Responsive Breakpoints
 * ========================================================= */
@media (max-width: 1024px) {
  .eq-hero-stage {
    padding: 20px 22px;
  }
  .eq-hero-dashboard__layout {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .eq-hero-dashboard__panel {
    display: none;
  }
}

@media (max-width: 768px) {
  .eq-hero-stage {
    padding: 14px 14px;
    margin-top: 32px;
    border-radius: 6px;
  }
  .eq-hero-dashboard__layout {
    display: flex;
    flex-direction: column;
  }
  .eq-hero-dashboard__sidebar {
    border-right: none;
    border-bottom: 1px solid #E3E5E8;
    padding: 12px 14px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .eq-hero-dashboard__brand {
    border-bottom: none;
    margin-bottom: 0;
    padding: 0;
  }
  .eq-hero-dashboard__nav-group {
    flex-direction: row;
    gap: 4px;
  }
  .eq-hero-dashboard__nav-label,
  .eq-hero-dashboard__nav-group:last-child {
    display: none;
  }
  .eq-hero-dashboard__main {
    padding: 16px 14px;
  }
}

@media (max-width: 480px) {
  .eq-hero-stage {
    padding: 10px 8px;
    margin-top: 24px;
  }
  .eq-hero-dashboard__search {
    width: 100%;
  }
  .eq-hero-dashboard__chips {
    width: 100%;
    justify-content: space-between;
  }
}

