﻿/* PRD V4 生命周期层：只做显隐、顺序和调试辅助，不做 tier 样式分化。 */

.mc-page {
  --mc-dock-h: 156px;
}

.mc-resume,
.mc-today,
.mc-coach-notes {
  width: calc(100% - 2 * var(--mc-chatblock-pad-x));
  margin: 0 auto 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.mc-resume__text,
.mc-today__text,
.mc-coach-notes__text {
  margin: 0;
}

.mc-resume__actions {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.mc-resume__actions .mc-dock-chip {
  margin: 0;
}

.mc-page[data-home-hero="false"] .mc-hero {
  display: none;
}

.mc-page[data-home-hero="false"] .mc-scroll {
  padding-top: calc(56px + env(safe-area-inset-top, 0px));
}

.mc-page[data-home-hero="false"] .mc-stack {
  margin-top: 0;
}

body.home-tier-c [data-home-section="coach-card"],
body.home-tier-d [data-home-section="coach-card"] {
  display: none !important;
}

.mc-tier-debug {
  width: calc(100% - 2 * var(--mc-chatblock-pad-x));
  margin: 6px auto 0;
  padding: 5px 10px;
  border-radius: 14px;
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.mc-tier-debug__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  cursor: pointer;
  text-align: left;
}

.mc-tier-debug__toggle-label {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 9px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-tier-debug__toggle-state {
  flex: 0 0 auto;
  font-size: 9px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.58);
}

.mc-tier-debug__title {
  margin: 0 0 7px;
  font-size: 10px;
  line-height: 1.1;
  color: rgba(255, 255, 255, 0.68);
}

.mc-tier-debug__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mc-tier-debug__chip {
  appearance: none;
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 9px;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
}

.mc-tier-debug__chip.is-active {
  background: rgba(0, 173, 143, 0.16);
  border-color: rgba(0, 173, 143, 0.45);
  box-shadow: 0 0 0 1px rgba(0, 173, 143, 0.18);
}

.mc-tier-debug.is-collapsed {
  padding-top: 5px;
  padding-bottom: 5px;
}

.mc-tier-debug.is-collapsed .mc-tier-debug__title,
.mc-tier-debug.is-collapsed .mc-tier-debug__chips {
  display: none;
}

.mc-tier-debug .mc-home-debug {
  display: none;
}

.mc-dock .mc-tier-debug {
  width: 100%;
  margin: 6px 0 0;
}
