/* Phase 4 dashboard: clear sequence, calm status language, and compact help. */
.dashboard-continue {
  display: grid;
  gap: 12px;
  margin: 18px 0 28px;
}
.dashboard-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}
.dashboard-section-heading > span {
  color: var(--t-acc, #77cdb8);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .15em;
}
.dashboard-section-heading h2 {
  margin: 0;
  color: var(--t-title, #e8f1ef);
  font: 600 18px/1.25 'Outfit', sans-serif;
  letter-spacing: -.02em;
}
.dashboard-continue #academy-mini-card,
.dashboard-continue #streak-banner,
.dashboard-continue #onboarding-checklist {
  margin: 0;
}
.dashboard-continue #streak-banner {
  background: linear-gradient(120deg, var(--t-tint, rgba(0,212,170,.09)), var(--t-bg, rgba(38,76,68,.22))) !important;
  border-color: var(--t-acc-line, rgba(123,195,175,.2)) !important;
}
.dashboard-continue #onboarding-checklist {
  padding: 16px 18px !important;
  background: var(--t-bg, #102022) !important;
  border-color: var(--t-line, rgba(167,210,201,.15)) !important;
}
.journey-member-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 8px;
}
.workspace-shortcut-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid var(--t-line, rgba(167,210,201,.13));
  border-radius: 12px;
  background: var(--t-bg, rgba(14,32,31,.62));
}
.workspace-shortcut-label {
  padding: 0 6px 0 2px;
  color: var(--t-acc, #78cbb7);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.workspace-shortcut-group a {
  color: var(--t-fg, #bdcfca);
  white-space: nowrap;
}
#all-bots-section { margin-top: 38px; }
#all-bots-section .services-header { margin-bottom: 18px; }
#all-bots-section .section-title { margin-bottom: 7px; }
#all-bots-section .services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
#all-bots-section .compact-services-grid { grid-column: 1 / -1; }
#service-ai .card-footer [data-ai-quick-look] { flex: 0 0 auto; }
.flux-quick-look-content { margin: 12px 0 0; padding: 0 0 0 18px; }
/* The footer is a column: a width-style flex basis would make this CTA tall. */
#service-glitch .premium-service-btn { flex: 0 0 auto; text-decoration: none; }
.member-product-state { color: var(--t-acc, #9cdcc9); font-size: 13px; font-weight: 700; padding: 8px; }
.member-product-state[hidden] { display: none; }
/* Readable before/without JS, observer callbacks or animation events.
   Transform entrances still replay, but opacity never gates content. */
#free-tools-hub, #all-bots-section,
#free-tools-hub .fth-grid, #free-tools-hub .fth-card,
#all-bots-section :is(.services-category,.premium-services-grid,
  .journey-dashboard-digimunx,.premium-service-card,.compact-service-card) {
  opacity: 1 !important;
  visibility: visible !important;
}
.service-description { max-width: 46ch; line-height: 1.48; }
.premium-service-card .bot-quick-look-btn {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--t-line, rgba(151,193,181,.2));
  border-radius: 10px;
  color: var(--t-fg, #b9cec7);
  background: var(--t-bg, rgba(10,24,23,.7));
  font: 600 12px/1.2 'DM Sans', sans-serif;
  cursor: pointer;
}
.premium-service-card .bot-quick-look-btn:hover,
.premium-service-card .bot-quick-look-btn[aria-expanded="true"] {
  color: var(--t-on, #91e0ca);
  border-color: var(--t-acc-line, rgba(0,212,170,.42));
  background: var(--t-tint, rgba(0,212,170,.07));
}
.premium-service-card .service-features-list li.quick-look-description {
  color: var(--t-sub, #b9cbc5);
  line-height: 1.55;
}
.premium-service-card .card-header .service-badge {
  max-width: 45%;
}
.premium-service-card .service-badge > span { display: none !important; }
.vip-main-accordion .accordion-content {
  max-height: none !important;
  overflow: visible !important;
  transition: none !important;
}
.vip-main-accordion .accordion-arrow { display: none !important; }
.vip-main-accordion .accordion-header { cursor: default !important; }
.vip-main-accordion .accordion-inner { padding-top: 8px; }
.plans-section { margin-top: 34px; }
.dash-footer { margin-top: 42px; }
.dash-footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(16px, 3vw, 30px) !important;
  text-align: left !important;
  background: var(--t-bg, #102022) !important;
  border: 1px solid var(--t-line, rgba(167,210,201,.13));
  border-radius: 16px 16px 0 0;
}
.dash-footer-cta h3 {
  margin: 0 !important;
  color: var(--t-fg, #e8f1ef) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  font: 600 19px/1.3 'Outfit', sans-serif !important;
}
.dash-footer-cta p { display: none !important; }
.dash-footer-cta-btns { justify-content: flex-end !important; }
.dash-footer-cta-btns a { min-height: 44px; }
@media (max-width: 767px) {
  .dashboard-section-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .journey-member-tools { display: grid; grid-template-columns: 1fr; }
  .workspace-shortcut-group { align-items: flex-start; }
  #all-bots-section .services-grid { grid-template-columns: minmax(0, 1fr); }
  #all-bots-section .compact-services-grid { grid-column: auto; }
  .dash-footer-cta { align-items: flex-start; flex-direction: column; }
  .dash-footer-cta-btns { justify-content: flex-start !important; }
  .service-description { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .premium-service-card .bot-quick-look-btn { transition: none !important; }
}
/* Keep access cards sized to their own content. Autopilot's long status and
   full-label action can wrap without setting the height of its grid neighbors. */
#bot-access-grid { align-items: start; }
#bot-access-grid .bot-access-item {
  min-width: 0;
  flex-wrap: wrap;
}
#bot-access-grid .bot-access-item .bot-info {
  flex: 1 1 150px;
  min-width: 0;
}
#bot-access-grid .bot-info > div { min-width: 0; }
/* Flux is already a vertical card: the row layout's preferred width must not
   become a 150px-tall flex basis there. */
#bot-access-grid #access-glitch-discovery .bot-info { flex: 0 1 auto; }
#bot-access-grid .bot-name,
#bot-access-grid .bot-status { overflow-wrap: anywhere; }
#bot-access-grid .bot-access-item > .bot-action-btn {
  box-sizing: border-box;
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  line-height: 1.3;
}
