/* AI 周期雷达 */

.ac-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px) 80px;
}

.ac-hero {
  padding: clamp(40px, 7vw, 72px) 0 clamp(20px, 3vw, 32px);
}
.ac-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 18px;
}
.ac-hero .eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--grad-line);
  border-radius: 2px;
}
.ac-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin: 0 0 14px;
  color: var(--text-primary);
}
.ac-hero h1 .accent {
  background: var(--grad-warm);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ac-hero .lede {
  max-width: 640px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 18px;
}
.ac-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-muted);
}
.ac-meta-row .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  background: var(--bg-card);
  font-family: var(--mono);
  font-size: 11.5px;
}

/* Regime banner */
.ac-regime {
  margin: 8px 0 28px;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius-lg, 16px);
  border: 1px solid var(--border);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm, none);
}
.ac-regime .label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.ac-regime .state {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 10px;
  line-height: 1.2;
}
.ac-regime .reason {
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0;
  max-width: 720px;
}
.ac-regime[data-id="expansion"] .state { color: var(--accent-call, #2d6a4f); }
.ac-regime[data-id="valuation_froth"] .state { color: var(--accent, #b8763a); }
.ac-regime[data-id="compute_indigestion"] .state { color: #c45c26; }
.ac-regime[data-id="conflict"] .state { color: var(--text-primary); }
.ac-regime[data-id="data_gap"] .state { color: var(--text-muted); }

/* Signals */
.ac-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}
@media (max-width: 800px) {
  .ac-signals { grid-template-columns: 1fr; }
}
.ac-sig {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  background: var(--bg-card);
}
.ac-sig .sig-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.ac-sig .sig-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-primary);
}
.ac-light {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.ac-light::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
}
.ac-light[data-light="green"] { color: #1b7a4e; border-color: color-mix(in srgb, #1b7a4e 35%, var(--border)); }
.ac-light[data-light="green"]::before { background: #1b7a4e; }
.ac-light[data-light="yellow"] { color: #9a6b12; border-color: color-mix(in srgb, #c9a227 40%, var(--border)); }
.ac-light[data-light="yellow"]::before { background: #c9a227; }
.ac-light[data-light="red"] { color: #a33b1a; border-color: color-mix(in srgb, #c45c26 40%, var(--border)); }
.ac-light[data-light="red"]::before { background: #c45c26; }
.ac-light[data-light="gray"] { color: var(--text-muted); }
.ac-sig .sig-reason {
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* AI 使用指数 section */
.ac-usage {
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px 14px;
  background: var(--bg-card);
}
.ac-usage-hero {
  display: grid;
  grid-template-columns: minmax(200px, 0.9fr) 1.4fr;
  gap: 18px;
  margin-bottom: 14px;
}
@media (max-width: 800px) {
  .ac-usage-hero { grid-template-columns: 1fr; }
}
.ac-usage-main .k {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.ac-usage-main .v {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}
.ac-usage-main .v.up { color: #1b7a4e; }
.ac-usage-main .v.down { color: #a33b1a; }
.ac-usage-main .s {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.55;
}
.ac-usage-main .s .up { color: #1b7a4e; }
.ac-usage-main .s .down { color: #a33b1a; }
.ac-usage-status {
  font-family: var(--mono);
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.ac-usage-status[data-st="ok"] { color: #1b7a4e; }
.ac-usage-status[data-st="degraded"] { color: #9a6b12; }
.ac-usage-status[data-st="insufficient"] { color: var(--text-muted); }
.ac-usage-chart h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 8px;
}
.ac-usage-chart svg {
  width: 100%;
  height: 110px;
  display: block;
}
.ac-usage-chart .chart-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.ac-usage-subs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 8px;
}
@media (max-width: 900px) {
  .ac-usage-subs { grid-template-columns: repeat(2, 1fr); }
}
.ac-usage-hint {
  display: inline-block;
  font-size: 12px;
  color: #1b7a4e;
  margin: 4px 0 8px;
}

/* KPI strip */
.ac-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.ac-kpis-6 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .ac-kpis { grid-template-columns: repeat(2, 1fr); }
  .ac-kpis-6 { grid-template-columns: 1fr 1fr; }
}
.ac-kpi {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
}
.ac-kpi .k {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.ac-kpi .v {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}
.ac-kpi .v.up { color: #1b7a4e; }
.ac-kpi .v.down { color: #a33b1a; }
.ac-kpi .s {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
}
.ac-asof {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
}
.ac-asof.is-stale {
  color: #a33b1a;
  font-weight: 600;
}

/* Charts */
.ac-section-head {
  margin: 28px 0 14px;
}
.ac-section-head h2 {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 6px;
}
.ac-section-head p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}
.ac-charts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 800px) {
  .ac-charts { grid-template-columns: 1fr; }
}
.ac-chart {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px 10px;
  background: var(--bg-card);
}
.ac-chart h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text-primary);
}
.ac-chart svg {
  width: 100%;
  height: 120px;
  display: block;
}
.ac-chart .chart-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Capex + method */
.ac-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.ac-table th,
.ac-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}
.ac-table th {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 12px;
}
.ac-box {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  background: var(--bg-card);
  margin-bottom: 16px;
}
.ac-box h3 {
  margin: 0 0 10px;
  font-size: 15px;
}
.ac-box p,
.ac-box li {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-secondary);
}
.ac-box ul {
  margin: 0;
  padding-left: 1.2em;
}
.ac-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 20px 0 8px;
  font-size: 13.5px;
}
.ac-links a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.ac-links a:hover {
  border-bottom-color: var(--accent);
}
.ac-notes {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
}
.ac-notes li { margin-bottom: 4px; }

/* Credibility layer */
.ac-regime-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.ac-cred-score {
  font-family: var(--mono);
  font-size: 12px;
}
.ac-cred-score strong {
  font-size: 14px;
  color: var(--text-primary);
}
.ac-tier,
.ac-kind {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 1;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  white-space: nowrap;
}
.ac-tier[data-tier="high"] { color: #1b7a4e; border-color: color-mix(in srgb, #1b7a4e 40%, var(--border)); }
.ac-tier[data-tier="medium"] { color: #9a6b12; border-color: color-mix(in srgb, #c9a227 40%, var(--border)); }
.ac-tier[data-tier="low"] { color: #a33b1a; border-color: color-mix(in srgb, #c45c26 40%, var(--border)); }
.ac-kind[data-kind="observed"] { color: #1b7a4e; }
.ac-kind[data-kind="proxy"] { color: #9a6b12; }
.ac-kind[data-kind="estimate"] { color: #9a6b12; }
.ac-kind[data-kind="derived"] { color: #8b5a2b; }
.ac-kind[data-kind="synthetic"] { color: #6b5344; }
.ac-kind.ac-conf { color: #1b7a4e; }
.ac-kind.ac-xcheck { color: #2d6a4f; border-style: dashed; }
.ac-driven {
  color: var(--text-muted);
  font-size: 11px;
}
.sig-cred {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}
.ac-cred-summary {
  margin-bottom: 10px;
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.ac-cred-table {
  font-size: 12px;
}
.ac-src-status {
  font-family: var(--mono);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--border);
}
.ac-src-status[data-st="ok"] { color: #1b7a4e; }
.ac-src-status[data-st="stale"] { color: #9a6b12; }
.ac-src-status[data-st="error"],
.ac-src-status[data-st="unavailable"] { color: #a33b1a; }

/* SEO static intro */
.ac-seo-intro {
  max-width: 1120px;
  margin: 0 auto 18px;
  padding: 14px clamp(16px, 4vw, 28px);
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card, var(--bg-primary));
}
.ac-seo-h2 { font-size: 1.05rem; margin: 0 0 8px; color: var(--text-primary); }
.ac-seo-p { font-size: 0.88rem; line-height: 1.65; color: var(--text-secondary); margin: 0 0 8px; }
.ac-seo-intro a { color: var(--accent); }
