/* ATHRTY X-COLOR-7100 — canonical first-party brand identity.
   Loaded LAST in Genesis. Explicitly excludes embedded tenant pages and product preview Design DNA.
   Legacy --obsidian-mint / --x41-mint aliases remain for compatibility, not green branding. */
:root{
  --athrty-brand-primary:#9CB2C2;
  --athrty-brand-bright:#D4E3ED;
  --athrty-brand-deep:#657F91;
  --athrty-brand-dark:#192734;
  --athrty-brand-on-primary:#0B1016;
  --athrty-brand-bg:#0B1016;
  --athrty-brand-surface:#121D27;
  --athrty-brand-surface-raised:#192734;
  --athrty-brand-line:rgba(181,208,227,.24);
  --athrty-brand-ink:#F2F6F8;
  --athrty-brand-muted:#B9C8D4;
  --athrty-brand-glow:rgba(156,178,194,.06);
  --obsidian-mint:var(--athrty-brand-primary);
}
:root:not([data-athrty-appearance="light"]){
  --athrty-ui-accent:var(--athrty-brand-primary);
  --athrty-ui-control:var(--athrty-brand-primary);
  --athrty-ui-control-ink:var(--athrty-brand-on-primary);
  --x602-accent:var(--athrty-brand-primary);
  --x602-focus:var(--athrty-brand-bright);
  --athrty-focus:var(--athrty-brand-primary);
  --accent:var(--athrty-brand-primary);
}
:root[data-athrty-appearance="light"]{
  --athrty-ui-accent:#385364; /* contrast-safe for ordinary text on white */
  --athrty-ui-control:#385364;
  --athrty-ui-control-ink:#FFFFFF;
  --x602-accent:#385364;
  --x602-focus:#385364;
  --athrty-focus:#385364;
  --accent:#385364;
}
/* BLACKLINE 11.4: first-party Home honors selected appearance; dark remains unchanged. */
:root[data-athrty-appearance="light"] body:has(.x5-home){background:var(--athrty-ui-canvas)}
:root[data-athrty-appearance="light"] body .x5-home .x5-hero.x1114-hero.x4120-hero{--x4120-bg:var(--athrty-ui-canvas);--x4120-card:var(--athrty-ui-surface);--x4120-border:var(--athrty-ui-border);--x4120-ink:var(--athrty-ui-ink);--x4120-muted:var(--athrty-ui-muted);--x4120-accent:var(--athrty-ui-accent);background:var(--athrty-ui-canvas)!important;color:var(--athrty-ui-ink)!important}
:root[data-athrty-appearance="light"] body .x5-home .x4120-hero #x1114-title{color:var(--athrty-ui-ink)!important}
:root[data-athrty-appearance="light"] body .x5-home .x4120-hero #x1114-title em,:root[data-athrty-appearance="light"] body .x5-home .x4120-hero .x4120-kicker,:root[data-athrty-appearance="light"] body .x5-home .x4120-hero .x4120-join-line a{color:var(--athrty-ui-accent)!important}
:root[data-athrty-appearance="light"] body .x5-home .x4120-hero .x1114-hero-lead,:root[data-athrty-appearance="light"] body .x5-home .x4120-join-line{color:var(--athrty-ui-muted)!important}
:root[data-athrty-appearance="light"] body .x5-home .x4120-system-visual,:root[data-athrty-appearance="light"] body .x5-home .x4120-visual-body{background:var(--athrty-ui-surface);border-color:var(--athrty-ui-border);box-shadow:none}
:root[data-athrty-appearance="light"] body .x5-home .x4120-visual-top{color:var(--athrty-ui-ink);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .x5-home .x4120-visual-monogram{background:var(--athrty-ui-soft);color:var(--athrty-ui-accent);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .x5-home .x4120-visual-caption strong{color:var(--athrty-ui-ink)!important}
:root[data-athrty-appearance="light"] body .x5-home .x4120-visual-node{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink)!important;border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .x5-home .x4120-visual-node strong{color:var(--athrty-ui-ink)!important}
:root[data-athrty-appearance="light"] body .x5-home .x4120-visual-node small,:root[data-athrty-appearance="light"] body .x5-home .x4120-visual-foot{color:var(--athrty-ui-muted)}
:root[data-athrty-appearance="light"] body .x5-home .x4120-hero-actions .x4120-secondary{background:var(--athrty-ui-surface)!important;color:var(--athrty-ui-ink)!important;border-color:var(--athrty-ui-border)!important}
:root[data-athrty-appearance="light"] body .x5-home .x4120-brief-disclosure .x9004-public-brief{background:var(--athrty-ui-surface);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .x5-home .x4120-brief-disclosure .x9004-public-brief textarea{background:#fff!important;color:var(--athrty-ui-ink)!important;border-color:var(--athrty-ui-border)!important}
/* BLACKLINE 11.5 — normalize first-party Home/product/dialog theme ownership. */
:root[data-athrty-appearance="light"] body .x5-home :is(.x4001-principle,#x1112-audience,.x119-home-hub){--x4001-mint:var(--athrty-ui-accent);--x4001-line:var(--athrty-ui-border);--x4001-surface:var(--athrty-ui-surface);--x4001-muted:var(--athrty-ui-muted);color:var(--athrty-ui-ink)}
:root[data-athrty-appearance="light"] body .x5-home .x5-principle.x4001-principle,:root[data-athrty-appearance="light"] body .x5-home > #x4150-pathway.x4150-pathway{background:var(--athrty-ui-canvas)!important;color:var(--athrty-ui-ink);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .x5-home #x4150-pathway{--x4150-mint:var(--athrty-ui-accent);--x4150-muted:var(--athrty-ui-muted)}
:root[data-athrty-appearance="light"] body .x5-home #x4150-pathway .x4150-step{background:var(--athrty-ui-surface);border-color:var(--athrty-ui-border);color:var(--athrty-ui-ink)}
:root[data-athrty-appearance="light"] body .x5-home #x4150-pathway .x4150-path-icon{background:var(--athrty-ui-soft);color:var(--athrty-ui-accent);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .x5-home :is(.x4100-explorer,.x4100-lifecycle),:root[data-athrty-appearance="light"] body .x5-config .x4100-config-bridge{--x41-bg:var(--athrty-ui-canvas);--x41-panel:var(--athrty-ui-surface);--x41-line:var(--athrty-ui-border);--x41-ink:var(--athrty-ui-ink);--x41-muted:var(--athrty-ui-muted);--x41-mint:var(--athrty-ui-accent);color:var(--athrty-ui-ink)}
:root[data-athrty-appearance="light"] body .x5-home .x4100-product-card{background:var(--athrty-ui-surface);border-color:var(--athrty-ui-border);color:var(--athrty-ui-ink)}
:root[data-athrty-appearance="light"] body .x5-home .x4100-product-card:hover{background:var(--athrty-ui-soft);border-color:var(--athrty-ui-accent)}
:root[data-athrty-appearance="light"] body .x4100-product-dialog{--x41-bg:var(--athrty-ui-canvas);--x41-panel:var(--athrty-ui-surface);--x41-line:var(--athrty-ui-border);--x41-ink:var(--athrty-ui-ink);--x41-muted:var(--athrty-ui-muted);--x41-mint:var(--athrty-ui-accent);background:var(--athrty-ui-canvas);color:var(--athrty-ui-ink);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .x4100-detail-head{background:var(--athrty-ui-surface);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .xprod002-dialog{--foundry-bg:var(--athrty-ui-canvas);--foundry-surface:var(--athrty-ui-surface);--foundry-surface-hover:var(--athrty-ui-soft);--foundry-muted:var(--athrty-ui-muted);--foundry-line:var(--athrty-ui-border);--foundry-accent:var(--athrty-ui-accent);color:var(--athrty-ui-ink);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .x5-home .x4120-hero-actions .x4120-primary,:root[data-athrty-appearance="light"] body .x5-home #x4150-pathway .x4150-actions .x4150-primary,:root[data-athrty-appearance="light"] body .x5-home .x4100-card-actions button:first-child,:root[data-athrty-appearance="light"] body .x5-home .x4100-goal-filters button[aria-pressed="true"]{background:var(--athrty-ui-control)!important;color:var(--athrty-ui-control-ink)!important;border-color:var(--athrty-ui-control)!important}
:root[data-athrty-appearance="light"] body .x5-home .x4120-hero-actions .x4120-secondary:hover{background:var(--athrty-ui-soft)!important;border-color:var(--athrty-ui-accent)!important}
/* Shared ATHRTY interface primitives; do not style application-specific status semantics. */
body :is(a,button,input,textarea,select,summary):focus-visible{
  outline-color:var(--athrty-ui-accent);
  outline-offset:3px;
}
body :is(input[type="checkbox"],input[type="radio"],input[type="range"]){
  accent-color:var(--athrty-ui-accent);
}
body.authenticated :is(.x850-toolbar,#x1113-nav-panel,#workspace-drawer) :is(a[aria-current="page"],button[aria-pressed="true"],button.active){
  border-color:color-mix(in srgb,var(--athrty-ui-accent) 44%,transparent);
}
body.authenticated :is(.x850-toolbar,#x1113-nav-panel,#workspace-drawer) :is(a,button):focus-visible{
  outline:2px solid var(--athrty-ui-accent);
  outline-offset:2px;
}
body.authenticated .x850-tab[aria-current="page"]{
  box-shadow:inset 0 -2px var(--athrty-ui-accent);
  color:var(--athrty-ui-ink);
}
body.authenticated .ath-control[data-ath-variant="primary"]{
  background:var(--athrty-ui-control);
  color:var(--athrty-ui-control-ink);
  border-color:var(--athrty-ui-control);
}
body.authenticated :is(.ath-control,.ath-field,.x850-tab,.x850-search,.x850-tool-toggle){
  transition:background-color 180ms ease,border-color 180ms ease,color 180ms ease,box-shadow 180ms ease;
}
/* Public flagship: all first-party frame accents use the shared hue. */
body:has(.x5-home){background:var(--athrty-brand-bg)}
:root body .x5-home .x4120-hero{
  --x4120-accent:var(--athrty-brand-primary);
  --x4120-bg:var(--athrty-brand-bg);
  --x4120-card:var(--athrty-brand-surface);
  --x4120-border:var(--athrty-brand-line);
  --x4120-muted:var(--athrty-brand-muted);
  background:var(--athrty-brand-bg)!important;
}
:root body .x5-home .x4120-hero #x1114-title em,
:root body .x5-home .x4120-hero .x4120-kicker,
:root body .x5-home .x4120-hero .x4120-join-line a{color:var(--athrty-brand-bright)!important}
:root body .x5-home .x4120-hero-actions .x4120-primary,
:root body .x5-home .x4120-brief-disclosure .x9004-public-brief button{
  background:var(--athrty-brand-primary)!important;
  border-color:var(--athrty-brand-primary)!important;
  color:var(--athrty-brand-on-primary)!important;
}
:root body .x5-home .x4120-hero-actions .x4120-primary:hover{
  background:var(--athrty-brand-bright)!important;
  border-color:var(--athrty-brand-bright)!important;
}
.x5-home .x4120-system-visual{
  border-color:var(--athrty-brand-line);
  background:var(--athrty-brand-surface);
}
.x5-home .x4120-visual-body{
  background:var(--athrty-brand-surface);
}
.x5-home .x4120-visual-node:hover{border-color:rgba(143,168,181,.55)}
/* Audience and lifecycle components are ATHRTY chrome, not customer sites. */
.x5-home :is(.x4001-principle,#x1112-audience,.x119-home-hub){
  --x4001-mint:var(--athrty-brand-primary);
  --x4001-line:var(--athrty-brand-line);
  --x4001-surface:var(--athrty-brand-surface);
  --x4001-muted:var(--athrty-brand-muted);
}
.x5-home .x5-principle.x4001-principle{
  background:var(--athrty-brand-bg)!important;
}
.x5-home > #x4150-pathway.x4150-pathway{
  --x4150-mint:var(--athrty-brand-primary);
  --x4150-muted:var(--athrty-brand-muted);
  background:var(--athrty-brand-bg);
  border-color:var(--athrty-brand-line);
}
.x5-home #x4150-pathway .x4150-path-icon{
  background:var(--athrty-brand-surface-raised);
  border-color:var(--athrty-brand-deep);
  color:var(--athrty-brand-bright);
}
.x5-home #x4150-pathway .x4150-actions .x4150-primary{
  background:var(--athrty-brand-primary)!important;
  border-color:var(--athrty-brand-primary)!important;
  color:var(--athrty-brand-on-primary)!important;
}
.x5-home #x4150-pathway .x4150-actions .x4150-primary:hover{
  background:var(--athrty-brand-deep)!important;
}
.x5-home #x4150-pathway .x4150-step{
  background:var(--athrty-brand-surface);
  border-color:var(--athrty-brand-line);
}
/* Product-explorer chrome only: [data-theme] preview artwork remains source-defined. */
.x5-home .x4100-explorer,.x5-home .x4100-lifecycle,.x5-config .x4100-config-bridge{
  --x41-bg:var(--athrty-brand-bg);
  --x41-panel:var(--athrty-brand-surface);
  --x41-line:rgba(143,168,181,.28);
  --x41-ink:var(--athrty-brand-ink);
  --x41-muted:var(--athrty-brand-muted);
  --x41-mint:var(--athrty-brand-primary); /* compatibility alias */
}
.x5-home .x4100-product-card{
  background:var(--athrty-brand-surface);
  border-color:var(--athrty-brand-line);
}
.x5-home .x4100-product-card:hover{
  background:var(--athrty-brand-surface-raised);
  border-color:var(--athrty-brand-deep);
}
.x5-home .x4100-card-actions button:first-child{
  background:var(--athrty-brand-primary)!important;
  border-color:var(--athrty-brand-primary)!important;
  color:var(--athrty-brand-on-primary)!important;
}
.x5-home .x4100-card-actions button:first-child:hover{background:var(--athrty-brand-bright)!important}
.x5-home .x4100-goal-filters button[aria-pressed="true"]{
  background:var(--athrty-brand-primary)!important;
  border-color:var(--athrty-brand-primary)!important;
  color:var(--athrty-brand-on-primary)!important;
}
.x4100-product-dialog{
  --x41-mint:var(--athrty-brand-primary);
  border-color:var(--athrty-brand-line);
  background:var(--athrty-brand-bg);
}
.x4100-detail-primary{background:var(--athrty-brand-primary);border-color:var(--athrty-brand-primary);color:var(--athrty-brand-on-primary)}
.x4100-detail-head{background:var(--athrty-brand-surface);border-color:#2C5053}
/* Product Foundry is first-party application chrome, never a tenant page. */
.xprod002-dialog{
  --foundry-bg:var(--athrty-brand-bg);
  --foundry-surface:var(--athrty-brand-surface);
  --foundry-surface-hover:var(--athrty-brand-surface-raised);
  --foundry-muted:var(--athrty-brand-muted);
  --foundry-line:var(--athrty-brand-line);
  --foundry-accent:var(--athrty-brand-primary);
  border-color:var(--athrty-brand-line);
}
.xprod002-dialog :is(button,a,input,textarea,select):focus-visible{
  outline:2px solid var(--athrty-brand-bright);
  outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
  body.authenticated :is(.ath-control,.ath-field,.x850-tab,.x850-search,.x850-tool-toggle){transition:none!important}
}