
/* ============================================================
 BRIEFLY V30.0 — ACCENT CLEANUP + HERO SCALE
 No legacy green/teal leftovers, smaller day headline.
 ============================================================ */

/* Source of truth */
:root{
  --cyan:var(--briefly-accent)!important;
  --accent:var(--briefly-accent)!important;
  --petrol:var(--briefly-accent)!important;
  --teal:var(--briefly-accent)!important;
}

/* Kill legacy fixed green/teal text colors on interactive UI */
:is(
  .v10Kicker,.v10SectionHead small,.v10ArticleMeta span,.v10Live,.v10LiveLink,
  .v10CompareLink,.v131SectionHead>a,.v10FeedMeta span,.v10TopMeta span,
  .v10LeadMeta span,.v10ArticleSection>small,.v10Why>small,.v15Timeline small,
  .v15DeepHead small,.v17DeepJump small,.v17DeepJump a,.v25Hero>small,
  .v25PanelHead small,.v10Bottom .active,.v10Bottom .active *,
  .v131SourceCard>span,.v10MiniSignal b,.v10Intel b,.v10Intel small
){
  color:var(--briefly-accent)!important;
}

/* Buttons, toggles, active chips */
:is(
  .v10Categories a.active,.v10IntroActions .primary,.v25Save,
  .v25PushActions button:not(.secondary),.v25TopicGrid input:checked+span,
  .v25Segment label input:checked+span,.v25Segment button.active,
  .v26TeamCard input:checked+span,.v26Appearance button.active
){
  border-color:var(--briefly-accent)!important;
}
.v10Categories a.active,
.v10IntroActions .primary,
.v25Save,
.v25PushActions button:not(.secondary){
  background:var(--briefly-accent)!important;
}

/* Explicitly neutralize legacy "green" utility classes, if present */
.text-green,.green,.teal,.petrol,.success-text,.ok-text{
  color:var(--briefly-accent)!important;
}
.bg-green,.bg-teal,.bg-petrol,.success-bg{
  background:var(--briefly-accent)!important;
}

/* Any common inline historical colors are superseded through these utility hooks */
[style*="var(--briefly-accent)"],[style*="#2de0d1"],[style*="#30ded0"],
[style*="#20c997"],[style*="#00c2a8"],[style*="#14b8a6"]{
  --legacy-accent-override:var(--briefly-accent);
}

/* Home greeting: smaller main headline than V29 */
.v10Intro h1{
  font-size:clamp(40px,6vw,62px)!important;
  line-height:.98!important;
}
@media(max-width:700px){
  .v10Intro h1{
    font-size:42px!important;
    line-height:1.0!important;
    letter-spacing:-2px!important;
  }
  .v10Intro h1 span{
    font-size:.92em!important;
  }
}

/* Version pill near logo */
.v30BrandRow{display:flex;align-items:center;gap:10px}
.v30Version{
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid rgba(var(--briefly-accent-rgb),.38);
  background:rgba(var(--briefly-accent-rgb),.10);
  color:var(--briefly-accent);
  border-radius:999px;
  padding:5px 8px;
  font-size:10px;
  line-height:1;
  font-weight:900;
  letter-spacing:.04em;
  white-space:nowrap;
}
@media(max-width:700px){
  .v30Version{font-size:11px;padding:6px 9px}
}

/* Keep non-accent informational green semantics neutral, not green */
.v10StatusRow .ok,
.v10TableRow .ok,
.status-ok{
  color:var(--briefly-accent)!important;
}
