/* ATHRTY BLACKLINE / UNIFIED CONTRACT v1.0.0
   SOURCE OF TRUTH: same byte-identical file on Genesis, Intake, Capital.
   Scoped to ATHRTY-owned chrome, conversion, and marketplace components.
   Never changes tenant previews, authenticated permissions, API, Stripe or entitlements. */
:root {
  /* X-BLACKLINE-PALETTE-300: common first-party color authority. */
  --athrty-brand-bg:#0B1016;
  --athrty-brand-surface:#121D27;
  --athrty-brand-surface-raised:#192734;
  --athrty-brand-primary:#9CB2C2;
  --athrty-brand-bright:#D4E3ED;
  --athrty-brand-deep:#657F91;
  --athrty-brand-on-primary:#0B1016;
  --athrty-brand-line:rgba(181,208,227,.24);
  --athrty-brand-ink:#F2F6F8;
  --athrty-brand-muted:#B9C8D4;
  --athrty-brand-glow:rgba(156,178,194,.06);
  --blackline-ink:var(--athrty-brand-ink);
  --blackline-muted:var(--athrty-brand-muted);
  --blackline-steel:var(--athrty-brand-primary);
  --blackline-surface:var(--athrty-brand-surface);
  --blackline-line:var(--athrty-brand-line);
  --blackline-glass:linear-gradient(145deg,rgba(25,39,52,.68),rgba(18,29,39,.88));
  --blackline-glass-muted:linear-gradient(145deg,rgba(25,39,52,.48),rgba(18,29,39,.74));
  /* Legacy design-genome aliases: no separate corporate palette. */
  --ath-dg-obsidian:var(--athrty-brand-bg);
  --ath-dg-material-ground:var(--athrty-brand-bg);
  --ath-dg-material-header:rgba(11,16,22,.96);
  --ath-dg-surface:var(--athrty-brand-surface);
  --ath-dg-material-raised:var(--athrty-brand-surface);
  --ath-dg-raised:var(--athrty-brand-surface-raised);
  --ath-dg-ink:var(--athrty-brand-ink);
  --ath-dg-secondary:var(--athrty-brand-muted);
  --ath-dg-muted:var(--athrty-brand-muted);
  --ath-dg-editorial:var(--athrty-brand-muted);
  --ath-dg-focus:var(--athrty-brand-bright);
  --ath-dg-glass-edge:var(--athrty-brand-line);
  --ath-dg-material-line:var(--athrty-brand-line);
  --ath-dg-glass-fill:linear-gradient(145deg,rgba(25,39,52,.78),rgba(18,29,39,.9));
  --ath-dg-glass-hover:linear-gradient(145deg,rgba(40,56,69,.84),rgba(25,39,52,.94));
  --blackline-radius:16px;
  --blackline-pill:999px;
  --blackline-motion:cubic-bezier(.22,1,.36,1);
}

/* BRAND: one real PNG mark and one wordmark, with allocated width. */
:root body header.global-header a.wordmark {
  position: relative!important;
  box-sizing: border-box!important;
  padding-inline-start: 52px!important;
  max-width: calc(100vw - 145px);
  min-height: 46px!important;
  overflow: visible!important;
}
:root body header.global-header a.wordmark::before {
  content: ""!important;
  display: block!important;
  position: absolute!important;
  inset-inline-start: 0!important;
  inset-block-start: 50%!important;
  inline-size: 38px!important;
  block-size: 38px!important;
  transform: translateY(-50%)!important;
  background: #0b0d10 url('/athrty-mark-ivory.png') center / 86% auto no-repeat!important;
  border-radius: 9px!important;
}
:root body header.topbar a.brand {
  position: relative!important;
  box-sizing: border-box!important;
  padding-inline-start: 50px!important;
  min-height: 46px!important;
  min-width: 0!important;
}
:root body header.topbar a.brand::before {
  content: ""!important;
  display: block!important;
  position: absolute!important;
  inset-inline-start: 0!important;
  inset-block-start: 50%!important;
  inline-size: 37px!important;
  block-size: 37px!important;
  transform: translateY(-50%)!important;
  background: #0b0d10 url('/athrty-mark-ivory.png') center / 86% auto no-repeat!important;
  border-radius: 9px!important;
}
:root body header.topbar a.brand > svg.brand-mark { display:none!important; }

/* PRIVATE MARKET: replace legacy A tile; suppress second injected emblem. */
:root body.xm-public header.xm-topbar .xm-brand {
  display: inline-flex!important;
  align-items: center!important;
  gap: 12px!important;
  padding: 0!important;
  max-width: calc(100vw - 112px)!important;
  min-width: 0!important;
}
:root body.xm-public header.xm-topbar .xm-brand::before { content:none!important;display:none!important; }
:root body.xm-public header.xm-topbar .xm-brandmark {
  display: block!important;
  flex: 0 0 42px!important;
  width: 42px!important;
  height: 42px!important;
  font-size: 0!important;
  color: transparent!important;
  background: #0b0d10 url('/athrty-mark-ivory.png') center / 88% auto no-repeat!important;
  border-radius: 9px!important;
  box-shadow:none!important;
}
:root body.xm-public header.xm-topbar .xm-brandmark > * { display:none!important; }
:root body.xm-public header.xm-topbar .xm-brandword {
  display:grid!important;
  min-width: 0!important;
  line-height: 1.07!important;
  letter-spacing: -.045em!important;
}

/* NAVIGATION: matching right-docked panel density and hierarchy. */
:root body .ath-shell-nav-panel {
  box-sizing: border-box!important;
  background: var(--blackline-surface)!important;
  color: var(--blackline-ink)!important;
}
:root body .ath-shell-nav-panel .ath-shell-nav-header {
  display:flex!important;
  flex-direction:row!important;
  align-items:flex-start!important;
  justify-content:space-between!important;
  gap:16px!important;
}
:root body .ath-shell-nav-panel .ath-shell-nav-header > div {
  margin-inline-start:auto!important;
  min-width:0!important;
  text-align:right!important;
}
:root body .ath-shell-nav-panel .ath-shell-nav-header > div :is(h2,p,small) {
  text-align:right!important;
}
:root body .ath-shell-nav-panel .ath-shell-nav-header button {
  order:-1!important;
  flex:0 0 auto!important;
  margin:0!important;
}
:root body .ath-shell-nav-panel nav a,
:root body .x1113-nav-panel .x1113-destination {
  box-sizing:border-box!important;
  min-height:58px!important;
  border-radius:12px!important;
  padding:12px 14px!important;
  transition:background-color .18s ease,border-color .18s ease!important;
}
:root body .ath-shell-nav-panel nav a :is(strong,small),
:root body .x1113-nav-panel .x1113-destination-copy :is(strong,small) {
  font-family:Arial,Helvetica,sans-serif!important;
}
:root body .ath-shell-nav-panel nav a strong,
:root body .x1113-nav-panel .x1113-destination-copy strong {
  font-size:16px!important;
  line-height:1.25!important;
  font-weight:650!important;
}
:root body .ath-shell-nav-panel .ath-shell-nav-header button,
:root body .x1113-nav-panel button,
:root body .ath-store-nav-close {
  min-height:44px!important;
  border:1px solid var(--blackline-line)!important;
  border-radius:var(--blackline-pill)!important;
  background:var(--blackline-glass-muted)!important;
  color:var(--blackline-ink)!important;
}

/* CONTROL CONTRACT: primary glass, secondary glass, coherent measurements. */
:root body .x5-home .x4120-hero-actions a,
:root body.xm-public .xm-hero-actions a,
:root body.xm-public a.xm-commission-link,
:root body.intake-home a.hero-cta,
:root body.three-page a.cap-header-cta {
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:50px!important;
  padding:12px 20px!important;
  border-radius:var(--blackline-pill)!important;
  font:650 14px/1.35 Arial,Helvetica,sans-serif!important;
  letter-spacing:0!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:normal!important;
  max-width:100%!important;
  transition:background .2s var(--blackline-motion),border-color .2s ease,transform .2s var(--blackline-motion)!important;
}
:root body .x5-home .x4120-hero-actions .x4120-primary,
:root body.xm-public .xm-hero-actions .xm-primary-button,
:root body.xm-public a.xm-commission-link,
:root body.intake-home a.hero-cta {
  color:var(--blackline-ink)!important;
  background:var(--blackline-glass)!important;
  border:1px solid rgba(167,204,227,.55)!important;
  box-shadow:inset 0 1px rgba(245,251,255,.18),0 7px 21px rgba(0,0,0,.14)!important;
}
:root body .x5-home .x4120-hero-actions .x4120-secondary,
:root body.xm-public .xm-hero-actions .xm-text-link,
:root body.three-page a.cap-header-cta {
  color:var(--blackline-ink)!important;
  background:var(--blackline-glass-muted)!important;
  border:1px solid var(--blackline-line)!important;
  box-shadow:inset 0 1px rgba(245,251,255,.11)!important;
}
:root body .x5-home .x4120-hero-actions a:is(:hover,:focus-visible),
:root body.xm-public .xm-hero-actions a:is(:hover,:focus-visible),
:root body.xm-public a.xm-commission-link:is(:hover,:focus-visible),
:root body.intake-home a.hero-cta:is(:hover,:focus-visible),
:root body.three-page a.cap-header-cta:is(:hover,:focus-visible) {
  background:linear-gradient(145deg,rgba(79,112,136,.8),rgba(34,57,73,.9))!important;
  border-color:#bbd5e6!important;
  text-decoration:none!important;
}
body :is(.x5-home .x4120-hero-actions a,.xm-public .xm-hero-actions a,.intake-home a.hero-cta,.three-page a.cap-header-cta):focus-visible {
  outline:2px solid #c0e3f6!important;
  outline-offset:3px!important;
}
:root body.xm-public .xm-filter {
  min-height:44px!important;
  border:1px solid var(--blackline-line)!important;
  border-radius:14px!important;
  background:var(--blackline-glass-muted)!important;
  color:var(--blackline-ink)!important;
}
:root body.xm-public .xm-filter[aria-pressed="true"] {
  background:var(--blackline-glass)!important;
  border-color:#8eb4cb!important;
}

/* ATHRTY BLACKLINE PRODUCT / X-PRODUCT-16120
   One first-party card contract across Genesis, Intake and Capital.
   Definitions never imply approval, price, completed payment or provisioning. */
:root body .ath-product-card{
 --ath-product-ink:#f3f8fc;
 --ath-product-muted:#c0d2dd;
 --ath-product-line:rgba(178,206,225,.34);
 --ath-product-glass:linear-gradient(145deg,rgba(45,70,89,.72),rgba(19,34,49,.86));
 --ath-product-action:linear-gradient(135deg,rgba(235,246,252,.97),rgba(178,204,220,.93));
 box-sizing:border-box;
 min-width:0;
 border-radius:22px!important;
 border-color:var(--ath-product-line)!important;
}
:root body .ath-product-card :is(a,button,summary):focus-visible{
 outline:2px solid #d6e8f2!important;
 outline-offset:3px!important;
}
:root body .ath-product-card:is(:hover,:focus-within){border-color:rgba(218,236,249,.72)!important}
:root body .x5-home > #x5-products.x4100-explorer .ath-product-card--home{
 border-color:var(--ath-product-line)!important;
 background:#0c1722!important;
}
:root body .x5-home > #x5-products.x4100-explorer .ath-product-card--home>.x4100-preview:before{
 background:linear-gradient(180deg,rgba(3,12,21,.52),rgba(3,12,21,.10) 26%,rgba(3,12,21,.71) 59%,rgba(3,12,21,.97))!important;
}
:root body .x5-home > #x5-products.x4100-explorer .ath-product-card--home .x4100-card-content{
 color:var(--ath-product-ink)!important;
}
:root body .x5-home > #x5-products.x4100-explorer .ath-product-card--home .x4100-product-icon{
 color:#d1e6f2!important;
 background:rgba(31,57,76,.35)!important;
}
:root body .x5-home > #x5-products.x4100-explorer .ath-product-capabilities{
 display:flex!important;align-items:center;flex-wrap:wrap;gap:6px!important;
 margin:7px 0 0!important;min-width:0;
}
:root body .ath-product-capability,
:root body .pc-modules span{
 display:inline-flex;align-items:center;min-height:27px;
 padding:5px 9px!important;
 border:1px solid rgba(193,221,237,.34)!important;
 border-radius:999px!important;
 background:rgba(68,104,127,.19)!important;
 color:#e4f1f8!important;
 font:600 10px/1.25 Arial,Helvetica,sans-serif!important;
}
:root body .x5-home .ath-product-commercial-note{
 margin:3px 0 0!important;
 color:var(--ath-product-muted)!important;
 font:500 10px/1.4 Arial,Helvetica,sans-serif!important;
}
:root body .x5-home > #x5-products.x4100-explorer .ath-product-card--home .x4400-plan-action,
:root body .ath-product-card--selection .pc-primary,
:root body .ath-product-card--site .pc-website-actions a:last-child{
 background:var(--ath-product-action)!important;
 border:1px solid rgba(247,253,255,.68)!important;
 color:#0a1c29!important;
 border-radius:999px!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 10px 27px rgba(0,0,0,.20)!important;
 text-decoration:none!important;
 font:750 12px/1.3 Arial,Helvetica,sans-serif!important;
}
:root body .x5-home > #x5-products.x4100-explorer .ath-product-card--home .x8200-toggle,
:root body .ath-product-card--selection .pc-outline,
:root body .ath-product-card--site .pc-website-actions a:first-child{
 border:1px solid rgba(208,230,244,.38)!important;
 background:var(--ath-product-glass)!important;
 color:#edf7fd!important;
 border-radius:999px!important;
 text-decoration:none!important;
}
:root body .x5-home > #x5-products.x4100-explorer .ath-product-card--home .x4100-card-actions>:is(a,button){
 min-height:48px!important;
 font:700 12px/1.3 Arial,Helvetica,sans-serif!important;
}
:root body .ath-product-card--market .x7500-product-copy h3{
 color:#fff!important;
}
:root body .ath-product-card--operator{
 border:1px solid var(--ath-product-line)!important;
 background:linear-gradient(150deg,#172735,#0b1722)!important;
 box-shadow:0 14px 38px rgba(0,0,0,.18)!important;
}
:root body .ath-product-card--operator .x8202-operator-visual{
 background:radial-gradient(circle at 70% 15%,rgba(140,191,225,.22),transparent 60%),linear-gradient(140deg,#243f54,#112333)!important;
}
:root body .ath-product-card--operator .x8202-operator-actions :is(button){
 min-height:44px!important;border-radius:999px!important;
 font:700 12px/1.3 Arial,Helvetica,sans-serif!important;
}
:root body .ath-product-card--offer{
 border:1px solid var(--ath-product-line)!important;
 border-radius:18px!important;
 background:linear-gradient(145deg,#192733,#0c1823)!important;
}
:root body .ath-product-card--offer .x8203-offer-toggle{
 border:1px solid rgba(200,223,238,.4)!important;
 border-radius:999px!important;
 background:var(--ath-product-glass)!important;
 color:var(--ath-product-ink)!important;
 min-height:44px;
}
:root body .ath-product-card--selection,
:root body .ath-product-card--site,
:root body .ath-product-card--tier{
 background:linear-gradient(155deg,#182b3a,#0d1925)!important;
 border:1px solid var(--ath-product-line)!important;
 box-shadow:0 18px 48px rgba(0,0,0,.16);
}
:root body .ath-product-card--selection .pc-selection-aside{
 background:rgba(5,17,29,.38)!important;
 border-color:var(--ath-product-line)!important;
}
:root body .ath-product-card--selection .pc-tag,
:root body .ath-product-card--selection .pc-small-label{
 color:#d4e7f1!important;
}
:root body .pc-package-structure{
 margin:22px 0 0;border-top:1px solid var(--ath-product-line);
 padding-top:16px;
}
:root body .pc-package-heading{display:grid;gap:5px;margin:0 0 13px}
:root body .pc-package-heading p,
:root body .pc-package-unavailable{
 margin:0;color:#b8cedb;font:500 11px/1.45 Arial,Helvetica,sans-serif;
}
:root body .pc-package-rows{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
:root body .ath-product-card--tier{padding:13px!important;border-radius:14px!important;min-width:0}
:root body .ath-product-card--tier .pc-package-state{
 display:block;color:#b9d6e8;letter-spacing:.08em;font:700 9px/1.4 Arial,Helvetica,sans-serif;
}
:root body .ath-product-card--tier h4{
 font:700 14px/1.25 Arial,Helvetica,sans-serif;color:#f4fafe;margin:9px 0 6px;
}
:root body .ath-product-card--tier p{
 font:500 11px/1.45 Arial,Helvetica,sans-serif;color:#c1d4df;margin:0;
}
:root body .ath-product-card--site{padding:22px!important}
:root body .ath-product-card--site h3{color:#f4fafe!important}
:root body .ath-product-card--site p{color:#c0d2dc!important}
:root body .ath-product-card--site .pc-website-actions a{min-height:45px}
:root body .athrty-product-showcase-frame,
:root body .ca-product-showcase-frame{
 border:1px solid rgba(180,206,225,.34)!important;
 border-radius:22px!important;
 background:#101c29!important;
 box-shadow:0 22px 60px rgba(0,0,0,.25)!important;
}
:root body .athrty-product-showcase-kicker,
:root body .ca-product-showcase .cx-overline{color:#c0d9e9!important}
:root body .athrty-product-showcase-heading h2,
:root body .ca-product-showcase-header h2{font-family:Arial,Helvetica,sans-serif!important}
@media(max-width:760px){
 :root body .pc-package-rows{grid-template-columns:minmax(0,1fr)}
 :root body .ath-product-card--tier{padding:13px 15px!important}
 :root body .ath-product-card--selection .pc-selection-aside{border-left:0!important;border-top:1px solid var(--ath-product-line)!important}
 :root body .athrty-product-showcase-frame,
 :root body .ca-product-showcase-frame{border-radius:16px!important}
}
@media(prefers-reduced-motion:reduce){
 :root body .ath-product-card, :root body .ath-product-card *{animation:none!important;transition:none!important;transform:none!important}
}
@media(forced-colors:active){
 :root body .ath-product-card{border-color:CanvasText!important}
 :root body .ath-product-card--tier p{color:CanvasText!important}
}

/* MOBILE: keep content and calls to action inside the visual viewport. */
@media (max-width:760px) {
  :root body header.global-header a.wordmark { padding-inline-start:46px!important;max-width:calc(100vw - 134px)!important; }
  :root body header.global-header a.wordmark::before { inline-size:34px!important;block-size:34px!important; }
  :root body header.topbar a.brand { padding-inline-start:44px!important;max-width:calc(100vw - 115px)!important; }
  :root body header.topbar a.brand::before { inline-size:34px!important;block-size:34px!important; }
  :root body .x5-home, :root body .x5-home .x4120-hero { min-width:0!important;max-width:100%!important;overflow-x:clip!important; }
  :root body .x5-home .x4120-hero .x1114-hero-content { min-width:0!important;max-width:100%!important;box-sizing:border-box!important;container-type:normal!important; }
  :root body .x5-home .x4120-hero #x1114-title {
    display:block!important;
    font-size:clamp(34px,8.1vw,51px)!important;
    line-height:1.08!important;
    white-space:normal!important;
    text-wrap:balance!important;
    overflow-wrap:normal!important;
    max-width:100%!important;
  }
  :root body .x5-home .x4120-hero .x1114-hero-lead { max-width:100%!important;overflow-wrap:break-word!important; }
  :root body .x5-home .x4120-hero-actions { display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:100%!important;gap:10px!important; }
  :root body .x5-home .x4120-hero-actions a { width:100%!important;min-width:0!important; }
  :root body.xm-public .xm-hero-inner { grid-template-columns:minmax(0,1fr)!important;max-width:100%!important; }
  :root body.xm-public .xm-hero-copy { min-width:0!important;max-width:100%!important;box-sizing:border-box!important; }
  :root body.xm-public .xm-hero h1 { font-size:clamp(35px,8.2vw,55px)!important;line-height:1.05!important;max-width:100%!important;overflow-wrap:normal!important; }
  :root body.xm-public .xm-hero-actions { display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%!important;max-width:100%!important; }
  :root body.xm-public .xm-hero-actions a { min-width:0!important;width:100%!important; }
  :root body .ath-shell-nav-panel { width:min(460px,100vw)!important;max-width:100vw!important; }
}
@media (prefers-reduced-motion:reduce) {
  :root body .ath-shell-nav-panel nav a,
  :root body .x1113-nav-panel .x1113-destination,
  :root body .x5-home .x4120-hero-actions a,
  :root body.xm-public .xm-hero-actions a { transition:none!important;transform:none!important; }
}
@media (forced-colors:active) {
  body :is(.x5-home .x4120-hero-actions a,.xm-public .xm-hero-actions a,.intake-home a.hero-cta,.three-page a.cap-header-cta) {
    background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important;box-shadow:none!important;
  }
}

/* BLACKLINE X-HEADER-18000 / Compact, accessible header-control geometry.
   Visual framing is removed only for plus/create and search glyphs.
   Menu/grid buttons retain their existing identity and open/close behavior. */
:root body {
  --ath-header-control-size:44px;
  --ath-header-control-icon:22px;
  --ath-header-control-gap:clamp(8px,1vw,12px);
}
:root body header.global-header .global-actions,
:root body header.topbar :is(.topbar-right,.header-actions) {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:var(--ath-header-control-gap)!important;
  min-width:0;
}
:root body header.global-header .global-actions :is(#search-button,[data-athrty-header-add],[data-athrty-header-create]) {
  appearance:none;
  display:inline-grid!important;
  place-items:center;
  flex:0 0 var(--ath-header-control-size)!important;
  box-sizing:border-box!important;
  width:var(--ath-header-control-size)!important;
  height:var(--ath-header-control-size)!important;
  min-width:var(--ath-header-control-size)!important;
  min-height:var(--ath-header-control-size)!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:12px!important;
  background:transparent!important;
  box-shadow:none!important;
  line-height:1!important;
  color:var(--athrty-ui-ink,#f2f5f7)!important;
}
:root body header.global-header .global-actions :is(#search-button,[data-athrty-header-add],[data-athrty-header-create]):is(:hover,:active),
:root body.xheader-search-open header.global-header .global-actions #search-button {
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:#fff!important;
}
:root body header.global-header .global-actions :is(#search-button,[data-athrty-header-add],[data-athrty-header-create]) svg {
  display:block;
  width:var(--ath-header-control-icon)!important;
  height:var(--ath-header-control-icon)!important;
  margin:auto!important;
  flex:none!important;
  stroke-width:1.8;
}
:root body header.global-header .global-actions :is(#search-button,[data-athrty-header-add],[data-athrty-header-create]):focus-visible,
:root body header.topbar .ath-shell-nav-button:focus-visible {
  outline:2px solid #c8e4f4!important;
  outline-offset:2px!important;
}
@media(max-width:760px) {
  :root body header.global-header,
  :root body header.topbar {
    gap:8px!important;
    padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right))!important;
  }
  :root body header.global-header .brand-group { min-width:0!important;flex:1 1 auto!important; }
  :root body header.global-header .global-actions,
  :root body header.topbar :is(.topbar-right,.header-actions) {
    gap:8px!important;
    flex:0 0 auto!important;
    margin-left:auto!important;
  }
  :root body header.global-header a.wordmark {
    min-width:0!important;
    max-width:calc(100vw - 148px)!important;
    font-size:clamp(18px,5.3vw,22px)!important;
  }
  :root body header.topbar a.brand {
    max-width:calc(100vw - 118px)!important;
    font-size:clamp(19px,5.6vw,23px)!important;
  }
  :root body header.global-header .global-actions #drawer-open,
  :root body header.topbar .ath-shell-nav-button {
    box-sizing:border-box!important;
    width:var(--ath-header-control-size)!important;
    height:var(--ath-header-control-size)!important;
    min-width:var(--ath-header-control-size)!important;
    min-height:var(--ath-header-control-size)!important;
    flex:0 0 var(--ath-header-control-size)!important;
    padding:0!important;
  }
  :root body.intake-home,
  :root body.intake-page,
  :root body.diagnostic-page,
  :root body.learn-page { --header-height:72px; }
  :root body.three-page .topbar { --cap-header-height:72px!important; }
}
@media(max-width:360px) {
  :root body { --ath-header-control-gap:6px; }
  :root body header.global-header a.wordmark { max-width:calc(100vw - 138px)!important; }
  :root body header.topbar a.brand { max-width:calc(100vw - 108px)!important; }
}
@media(forced-colors:active) {
  :root body header.global-header .global-actions :is(#search-button,[data-athrty-header-add],[data-athrty-header-create]) {
    color:ButtonText!important;
  }
}
@media(prefers-reduced-motion:reduce) {
  :root body header.global-header .global-actions :is(#search-button,[data-athrty-header-add],[data-athrty-header-create]) { transition:none!important; }
}

/* BLACKLINE HEADER X-18020 / Browser-verified geometry and single Agent entry.
   320–1440px: remove redundant Capital header launcher while retaining
   the accessible Agent command inside the shared navigation drawer. */
:root body header.global-header .global-actions #drawer-open {
  box-sizing:border-box!important;
  width:44px!important;height:44px!important;
  min-width:44px!important;min-height:44px!important;
  flex:0 0 44px!important;
}
:root body header.topbar .topbar-right > .ath-shell-nav-button,
:root body.three-page header.topbar .header-actions > .ath-shell-nav-button {
  box-sizing:border-box!important;
  height:44px!important;min-height:44px!important;
}
:root body.three-page header.topbar .header-actions > #ath-shell-jarvis-button {
  display:none!important;
}
@media(min-width:761px) and (max-width:980px) {
  :root body.intake-home,
  :root body.intake-page,
  :root body.diagnostic-page,
  :root body.learn-page { --header-height:76px!important; }
  :root body.three-page .topbar { --cap-header-height:76px!important; }
}

/* BLACKLINE X-SPACING-190000 / shared first-party spacing contract.
   Safe across Genesis, Intake and Capital; not applied to tenant pages. */
:root {
 --ath-space-1:4px;--ath-space-2:8px;--ath-space-3:12px;
 --ath-space-4:16px;--ath-space-5:20px;--ath-space-6:24px;
 --ath-space-8:32px;--ath-space-10:40px;--ath-space-12:48px;
 --ath-page-gutter:clamp(18px,4vw,56px);
 --ath-card-gap:clamp(10px,1.6vw,18px);
 --ath-section-rhythm:clamp(48px,6vw,96px);
}
:root body .ath-shell-nav-panel nav{row-gap:var(--ath-space-2)}
:root body .ath-shell-nav-panel nav a{gap:var(--ath-space-3)}
:root body .ath-product-card--selection .pc-package-rows,
:root body .ath-product-card--site .pc-website-actions,
:root body .ath-product-card--home .x4100-card-actions{gap:var(--ath-space-3)}
:root body .ath-product-card--site,
:root body .ath-product-card--selection,
:root body .ath-product-card--offer{min-width:0;max-width:100%;box-sizing:border-box}
:root body .ath-product-card :is(h2,h3,h4,p){overflow-wrap:break-word}
@media(max-width:760px){
 :root body .ath-shell-nav-panel nav{row-gap:var(--ath-space-2)}
 :root body .ath-shell-nav-panel nav a{gap:12px;min-height:52px!important}
 :root body .ath-product-card--site{padding:clamp(16px,4.3vw,22px)!important}
 :root body .ath-product-card--selection .pc-package-rows{gap:10px}
 :root body .x5-home .x4120-hero-actions,
 :root body.xm-public .xm-hero-actions{gap:var(--ath-space-3)!important}
}

/* BLACKLINE v2 / final first-party CTA specificity contract.
   Intentional ID scoping defeats the legacy global button treatment without
   altering editor controls, tenant previews, or high-contrast rendering. */
:root body #main .x5-home .x4120-hero-actions a.x4120-primary,
:root body.xm-public #market-main .xm-hero-actions a.xm-primary-button,
:root body.intake-home #intake-main a.hero-cta {
 border-radius:var(--blackline-pill,999px)!important;
 background:var(--blackline-glass)!important;
 color:var(--blackline-ink)!important;
 border:1px solid rgba(167,204,227,.55)!important;
 box-shadow:inset 0 1px rgba(245,251,255,.18),0 7px 21px rgba(0,0,0,.14)!important;
}
:root body #main .x5-home .x4120-hero-actions a.x4120-secondary,
:root body.xm-public #market-main .xm-hero-actions a.xm-text-link {
 border-radius:var(--blackline-pill,999px)!important;
 background:var(--blackline-glass-muted)!important;
 color:var(--blackline-ink)!important;
 border:1px solid var(--blackline-line)!important;
}
@media(forced-colors:active) {
 :root body #main .x5-home .x4120-hero-actions a.x4120-primary,
 :root body #main .x5-home .x4120-hero-actions a.x4120-secondary,
 :root body.xm-public #market-main .xm-hero-actions a.xm-primary-button,
 :root body.xm-public #market-main .xm-hero-actions a.xm-text-link,
 :root body.intake-home #intake-main a.hero-cta {
  background:ButtonFace!important;color:ButtonText!important;
  border-color:ButtonText!important;box-shadow:none!important;
 }
}

/* BLACKLINE v3: measured 44px touch targets for hub tabs and public brand link. */
:root body .x33000-tabs button.x33000-tab{min-height:44px!important;box-sizing:border-box!important}
:root body a.ath-foot-brand{display:inline-flex!important;align-items:center!important;min-height:44px!important;box-sizing:border-box!important}

/* Keep priority destinations in view and let longer rows grow with their copy. */
:root body #ath-shell-nav-panel > * {flex-shrink:0}
:root body #ath-shell-nav-panel .ath-shell-nav-header h2 {color:var(--blackline-ink)!important}
:root body #ath-shell-nav-panel nav a strong {color:var(--blackline-ink)!important}
:root body #ath-shell-nav-panel nav a small {color:var(--blackline-muted)!important}
:root body #ath-shell-nav-panel .ath-shell-agent-command {
 height:auto!important;
 min-height:68px!important;
 padding:11px 14px!important;
}
:root body #ath-shell-nav-panel .ath-shell-agent-copy small {white-space:normal}
:root body #ath-shell-nav-panel .ath-shell-nav-more {margin-block:8px 16px}
:root body #ath-shell-nav-panel .ath-shell-nav-more > summary {
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 min-height:44px;
 padding:10px 14px;
 border:1px solid var(--blackline-line);
 border-radius:12px;
 color:var(--blackline-ink);
 cursor:pointer;
 list-style:none;
}
:root body #ath-shell-nav-panel .ath-shell-nav-more > summary::-webkit-details-marker {display:none}
:root body #ath-shell-nav-panel .ath-shell-nav-more > summary::after {content:"+";font-size:1.2em}
:root body #ath-shell-nav-panel .ath-shell-nav-more[open] > summary::after {content:"−"}
:root body :is(#ath-shell-nav-panel,#x1113-nav-panel) :is(a,button,summary):focus-visible {
 outline:2px solid #c0e3f6!important;
 outline-offset:-3px!important;
}
@media(max-width:760px) {
 :root body :is(#ath-shell-nav-panel,#x1113-nav-panel) {
  overscroll-behavior-y:contain;
  scroll-padding-block:max(12px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-bottom));
 }
 :root body :is(#ath-shell-nav-panel,#x1113-nav-panel) nav a {
  min-width:0;
  overflow-wrap:anywhere;
 }
 :root body.intake-home #intake-main .athrty-hero-secondary {
  gap:8px 16px;
  flex-wrap:wrap;
 }
}
@media(prefers-reduced-motion:reduce) {
 :root body :is(#ath-shell-nav-panel,#x1113-nav-panel) :is(a,button,summary) {
  transition:none!important;
 }
}

/* X-BLACKLINE-NAV-UNDERLINE-01 — Navigation has no decorative underlines.
   Preserve dividers, focus outlines, content links and active-state contrast. */
:root body :is(header,nav,[role="tablist"]) :is(a,button,[role="tab"]):is(:hover,:focus-visible,[aria-current="page"],[aria-selected="true"],.active,.is-active) {
 text-decoration:none!important;
 text-decoration-line:none!important;
}
:root body.three-page .topbar #site-nav>a[aria-current="page"]::after,
:root body .topbar .topbar-primary a[aria-current="page"]::after {
 content:none!important;
 display:none!important;
}
:root body.three-page .topbar #site-nav>a[aria-current="page"],
:root body .topbar .topbar-primary a[aria-current="page"] {
 color:#f4f8fb!important;
 font-weight:750!important;
}

/* X-BLACKLINE-NAV-UNDERLINE-02 — Suppress legacy ::before active-page
   lines at all breakpoints. Never remove the keyboard focus outline or
   panel separators: navigation state is conveyed by text and surface. */
:root body :is(header,nav,[role="tablist"]) :is(a,button,[role="tab"]) {
 text-decoration:none!important;
 text-decoration-line:none!important;
}
:root body.three-page .topbar #site-nav>a[aria-current="page"]::before,
:root body .topbar .topbar-primary a[aria-current="page"]::before {
 content:none!important;
 display:none!important;
}

/* X-BLACKLINE-NO-UNDERLINES-03 — Corporate interface links and controls.
   Suppress legacy hover/active underlines without touching customer previews,
   legal/decorative section dividers, or keyboard-focus visibility. */
:root body :is(header,nav,main,footer,aside,[role="navigation"],[role="tablist"])
 :is(a,button,[role="link"],[role="button"],[role="tab"],summary):not(:is(
   .tenant-preview *,.customer-preview *,.product-render-preview *,
   [data-tenant-preview] *,[data-customer-preview] *
 )) {
 text-decoration:none!important;
 text-decoration-line:none!important;
}
:root body :is(header,nav,main,footer,aside,[role="navigation"],[role="tablist"])
 a.under-link {
 border-bottom-color:transparent!important;
}
:root body :is(header,nav,main,footer,aside,[role="navigation"],[role="tablist"])
 :is(a,button,[role="link"],[role="button"],[role="tab"],summary):focus-visible {
 outline:2px solid var(--blackline-focus,#d5e8f3)!important;
 outline-offset:3px!important;
}

/* X1113 EDITORIAL RESTORATION — 2026-11-21 (owner pick: Candidate A, the X1113
   right-anchored menu panel). This contract compressed the X1113 destination
   rows to 58px/16px; at desktop widths the X1113 panel's rows return to their
   designed editorial scale. Declared min-height translates the source value
   (78px content-box + 12px vertical padding in x1113-navigation.css) into this
   contract's border-box sizing: 102px. The shared .ath-shell-nav-panel rows
   and this contract's row chrome (radius, padding, dividers, focus) are
   unchanged; below 1181px the compact rows stand. */
@media(min-width:1181px){
 :root body .x1113-nav-panel .x1113-destinations .x1113-destination{min-height:102px!important}
 :root body .x1113-nav-panel .x1113-destinations .x1113-destination-copy strong{font-size:clamp(21px,2.1vw,28px)!important;font-weight:480!important;line-height:1.06!important;letter-spacing:-.045em!important}
}