/* ATHRTY X-DESIGN-70000 / Institutional 01.
   First-party ATHRTY surfaces only. Never cascade into tenant previews,
   editable customer canvases, embedded checkout, or external products. */
/* Canonical component contract, versioned and mirrored across ATHRTY properties. */
@import url('/xdesign70000-components.css?v=xdesign70000-1');
:root{
 --ath-i-canvas:var(--athrty-brand-bg,#0c1217);--ath-i-surface:var(--athrty-brand-surface,#162028);--ath-i-raised:#202a33;
 --ath-i-interactive:#293640;--ath-i-border:#34404b;
 --ath-i-ink:#f1f3f2;--ath-i-muted:var(--athrty-brand-muted,#aab8be);--ath-i-steel:var(--athrty-brand-bright,#8fa8b5);
 --ath-i-focus:#d0e0e8;--ath-i-sage:#a7ccc4;
 --ath-i-radius-card:28px;--ath-i-radius-icon:18px;--ath-i-radius-control:999px;
 --ath-i-motion:220ms;--ath-i-ease:cubic-bezier(.22,1,.36,1);
}
/* Token-compatible modernization of the existing Obsidian contract. */
html:not([data-athrty-appearance="light"]) body.xgenesis-shell,
body.intake-home,body.intake-page,body:has(>.notice){
 --ath-dg-obsidian:var(--ath-i-canvas);
 --ath-dg-surface:var(--ath-i-surface);
 --ath-dg-raised:var(--ath-i-raised);
 --ath-dg-ink:var(--ath-i-ink);
 --ath-dg-muted:var(--ath-i-muted);
 --ath-dg-glass-edge:rgba(158,180,194,.23);
 --ath-dg-radius-panel:var(--ath-i-radius-card);
 --ath-dg-focus:var(--ath-i-focus);
 --athrty-ink:var(--ath-i-ink);
 --athrty-mist:var(--ath-i-muted);
 --athrty-midnight:var(--ath-i-canvas);
 --athrty-border:rgba(158,180,194,.23);
 --athrty-radius:var(--ath-i-radius-card);
}
html:not([data-athrty-appearance="light"]) body.xgenesis-shell{
 --obsidian-bg:var(--ath-i-canvas);
 --obsidian-surface:var(--ath-i-surface);
 --obsidian-raised:var(--ath-i-raised);
 --obsidian-ink:var(--ath-i-ink);
 --obsidian-muted:var(--ath-i-muted);
 --obsidian-line:var(--ath-i-border);
 --athrty-ui-canvas:var(--ath-i-canvas);
 --athrty-ui-surface:var(--ath-i-surface);
 --athrty-ui-soft:var(--ath-i-raised);
 --athrty-ui-ink:var(--ath-i-ink);
 --athrty-ui-muted:var(--ath-i-muted);
 --athrty-ui-border:var(--ath-i-border);
 --athrty-ui-control:var(--ath-i-steel);
 --athrty-ui-control-ink:#10181f;
 --athrty-radius-panel:var(--ath-i-radius-card);
 background:var(--ath-i-canvas);
 color:var(--ath-i-ink);
}
:where(body.xgenesis-shell,body.intake-home,body.intake-page,body:has(>.notice)) :is(h1,h2,h3){
 text-wrap:balance;overflow-wrap:break-word;
 letter-spacing:-.045em;
}
:where(body.xgenesis-shell,body.intake-home,body.intake-page,body:has(>.notice)) :is(button,a,input,select,textarea,summary):focus-visible{
 outline:2px solid var(--ath-i-focus)!important;outline-offset:3px!important;
}
:where(body.xgenesis-shell,body.intake-home,body.intake-page,body:has(>.notice)) :is(button,a,input,select,textarea){-webkit-tap-highlight-color:transparent}
:where(body.xgenesis-shell,body.intake-home,body.intake-page,body:has(>.notice)) :is(input,select,textarea){min-width:0;max-width:100%}
:where(body.xgenesis-shell,body.intake-home,body.intake-page,body:has(>.notice)) :is(img,svg){max-width:100%}
/* Genesis header / access state are the visual reference exemplar. */
html:not([data-athrty-appearance="light"]) body.xgenesis-shell .global-header{
 background:var(--athrty-brand-bg,#0c1217)!important;
 border-bottom:1px solid var(--ath-i-border)!important;
 color:var(--ath-i-ink)!important;
}
html:not([data-athrty-appearance="light"]) body.xgenesis-shell .global-header :is(#search-button,#drawer-open){
 border-color:var(--ath-i-border)!important;
 background:transparent!important;color:var(--ath-i-ink)!important;
 border-radius:17px!important;
 transition:background var(--ath-i-motion) var(--ath-i-ease),border-color var(--ath-i-motion) var(--ath-i-ease);
}
html:not([data-athrty-appearance="light"]) body.xgenesis-shell .global-header :is(#search-button,#drawer-open):hover{
 background:var(--ath-i-raised)!important;border-color:var(--ath-i-steel)!important;
}
html:not([data-athrty-appearance="light"]) body.xgenesis-shell .x1141-access-state{
 box-sizing:border-box;
 border:1px solid var(--ath-i-border)!important;
 background:var(--ath-i-surface)!important;
 color:var(--ath-i-ink)!important;
 border-radius:var(--ath-i-radius-card)!important;
 box-shadow:none!important;min-width:0;max-width:100%;
}
html:not([data-athrty-appearance="light"]) body.xgenesis-shell .x1141-access-state :is(h1,h2){
 color:var(--ath-i-ink)!important;
 font-weight:750;line-height:1.08;letter-spacing:-.06em;
 overflow-wrap:break-word;
}
html:not([data-athrty-appearance="light"]) body.xgenesis-shell .x1141-access-state p{
 color:var(--ath-i-muted)!important;line-height:1.6;
}
html:not([data-athrty-appearance="light"]) body.xgenesis-shell .x1141-access-state .x4130-gate-icon{
 background:#213530!important;border:1px solid rgba(167,204,196,.52)!important;
 border-radius:var(--ath-i-radius-icon)!important;color:#d0e7e2!important;
}
html:not([data-athrty-appearance="light"]) body.xgenesis-shell .x1141-access-state .x1115-work-primary{
 display:inline-flex;align-items:center;justify-content:center;
 max-width:100%;min-height:48px;
 background:var(--ath-i-steel)!important;color:#10202a!important;
 border:1px solid transparent!important;border-radius:999px!important;
 padding:12px 25px!important;text-align:center;text-decoration:none!important;
 font-weight:700;
}
html:not([data-athrty-appearance="light"]) body.xgenesis-shell .x1141-access-state .x1115-work-primary:hover{
 background:#c0d0da!important;color:#0d171e!important;
}
/* Shared first-party presentation: distinct compositions, common material. */
body:has(>.notice){--bg:var(--ath-i-canvas);--bg2:var(--ath-i-surface);--bg3:var(--ath-i-raised);--fg:var(--ath-i-ink);--muted:var(--ath-i-muted);--border:var(--ath-i-border);--accent:var(--ath-i-steel)}
body:has(>.notice) .topbar{background:var(--ath-i-surface)!important;border-bottom-color:var(--ath-i-border)!important}
body:has(>.notice) :is(.systems-grid article,.economics-three article,.priority-grid article){
 border-color:var(--ath-i-border);border-radius:var(--ath-i-radius-card);
}
body:has(>.notice) .pill{border-radius:999px;min-height:48px}
body:has(>.notice) .pill:not(.outline){background:var(--ath-i-steel);color:#10202a;border-color:transparent}
body.intake-home,body.intake-page{background:var(--ath-i-canvas)!important;color:var(--ath-i-ink)!important}
body.intake-home .topbar,body.intake-page .topbar{background:var(--ath-i-surface)!important;border-bottom-color:var(--ath-i-border)!important}
body.intake-home .story{background:var(--ath-i-surface)!important;box-shadow:inset -1px 0 var(--ath-i-border)!important}
body.intake-home .form-zone{background:var(--ath-i-canvas)!important}
body.intake-home .form-shell{
 background:var(--ath-i-surface)!important;
 border:1px solid var(--ath-i-border)!important;
 border-radius:var(--ath-i-radius-card)!important;
 box-shadow:none!important;
}
body.intake-home .hero-cta,body.intake-page .hero-cta{
 background:var(--ath-i-steel)!important;color:#10202a!important;border-color:transparent!important;
 border-radius:999px;min-height:48px;
}
body.intake-home .hero-cta:hover,body.intake-page .hero-cta:hover{background:#c0d0da!important;color:#10202a!important}
@media(max-width:700px){
 body.xgenesis-shell .global-header .global-actions{min-width:0}
 body.xgenesis-shell .x1141-access-state{max-width:100%;overflow-wrap:anywhere}
 body.xgenesis-shell .x1141-access-state .x500-gate-layout{min-width:0;max-width:100%}
 body.xgenesis-shell .x1141-access-state :is(h1,h2){font-size:clamp(28px,8.3vw,44px)!important}
 body.xgenesis-shell .x1141-access-state .x1115-work-primary{width:max-content;max-width:100%;white-space:normal}
 body.intake-home .form-shell{border-radius:24px!important}
 body:has(>.notice) .topbar{min-width:0}
}
@media(prefers-reduced-motion:reduce){
 :where(body.xgenesis-shell,body.intake-home,body.intake-page,body:has(>.notice)) :is(a,button){transition:none!important;animation:none!important}
}

/* X-UI-50000: Canonical first-party component contract.
   One material/geometry system for Work, Sell, Studio, and Network.
   Never normalize tenant canvases, product previews, or payment frames. */
:root{
 --ath-i-control-height:48px;
 --ath-i-field-radius:14px;
 --ath-i-light-surface:#f6f9fb;
 --ath-i-light-field:#ffffff;
 --ath-i-light-ink:#142d3a;
 --ath-i-light-muted:#536875;
 --ath-i-light-border:#b7c8d3;
 --ath-i-light-focus:#385f78;
}
body.xgenesis-shell.authenticated #main .ath-control:not(:is([data-tenant-preview] *,[data-customer-preview] *,.studio-canvas *,.site-preview *,.x920-preview *)){
 min-height:44px;border-radius:999px!important;
 box-shadow:none;line-height:1.35;max-width:100%;
}
/* Explicit primary action semantics: prevent late legacy transparency rules
   from turning a primary CTA into a low-contrast ghost button. */
body.xgenesis-shell.authenticated #main .ath-control[data-ath-variant="primary"]:not(:is([data-tenant-preview] *,[data-customer-preview] *,.studio-canvas *,.site-preview *,.x920-preview *)){
 background:var(--athrty-ui-control,var(--ath-i-steel))!important;
 color:var(--athrty-ui-control-ink,#10181f)!important;
 border:1px solid var(--athrty-ui-control,var(--ath-i-steel))!important;
}
body.xgenesis-shell.authenticated #main .ath-field:not(:is([data-tenant-preview] *,[data-customer-preview] *,.studio-canvas *,.site-preview *,.x920-preview *)){
 font-size:16px!important;line-height:1.45;min-height:var(--ath-i-control-height);
 border-radius:var(--ath-i-field-radius);min-width:0;max-width:100%;
}
body.xgenesis-shell.authenticated .ath-surface:not(:is([data-tenant-preview] *,[data-customer-preview] *,.studio-canvas *,.site-preview *,.x920-preview *)){
 min-width:0;max-width:100%;
}
body.xgenesis-shell.authenticated #main :is(.x711-shell,.x711-panels,.x707-network,.xos30000,.x1124-studio){
 min-width:0;max-width:100%;
}
body.xgenesis-shell.authenticated #main :is(.x711-panels,.x707-network,.xos30000) :is(h1,h2,h3,p){
 overflow-wrap:break-word;
}
/* Explicit light owner-panel contract. This overrides legacy dark-shell
   form defaults without recoloring any customer-generated or embedded UI. */
#website-catalog :is(.x707-network,.x710-invitation,.sw2-price-form,.x704-desk){
 --ath-i-surface-local:var(--ath-i-light-surface);
 --ath-i-field-local:var(--ath-i-light-field);
 --ath-i-ink-local:var(--ath-i-light-ink);
 --ath-i-muted-local:var(--ath-i-light-muted);
 --ath-i-border-local:var(--ath-i-light-border);
 color-scheme:light;
}
#website-catalog :is(.x707-network,.x710-invitation) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]):not([type="color"]):not([type="hidden"]),select,textarea){
 box-sizing:border-box!important;width:100%;min-width:0;max-width:100%;
 min-height:var(--ath-i-control-height);border-radius:var(--ath-i-field-radius);
 background:var(--ath-i-field-local)!important;
 color:var(--ath-i-ink-local)!important;
 border:1px solid var(--ath-i-border-local)!important;
 font-size:16px!important;line-height:1.45;box-shadow:none!important;
 color-scheme:light!important;
}
#website-catalog :is(.x707-network,.x710-invitation) :is(input,textarea)::placeholder{
 color:#617584;opacity:1;
}
#website-catalog :is(.x707-network,.x710-invitation) :is(input,select,textarea):focus-visible{
 border-color:var(--ath-i-light-focus)!important;
 outline:2px solid var(--ath-i-light-focus)!important;
 outline-offset:2px!important;
}
#website-catalog :is(.x707-network,.x710-invitation) label{
 color:var(--ath-i-ink-local);font-size:13px;line-height:1.45;
}
#website-catalog :is(.x707-network,.x710-invitation) button:not([role="switch"]){
 min-height:44px;border-radius:999px;white-space:normal;
}
@media(max-width:700px){
 body.xgenesis-shell.authenticated #main :is(.x711-shell,.x711-panels,.x707-network,.xos30000,.x1124-studio){
  min-width:0;max-width:100%;
 }
 #website-catalog :is(.x707-network,.x710-invitation) :is(input,select,textarea){max-width:100%}
}
@media(prefers-reduced-motion:reduce){
 body.xgenesis-shell.authenticated .ath-control{transition:none!important}
}