/* ATHRTY BLACKLINE / X-BRAND-170000
   Refinement layer for existing first-party surfaces. Does not own customer/tenant brands.
   Canonical identity PNG remains the only logo source. */
:root{
 --blackline-obsidian:#0b1016;
 --blackline-navy:#101c27;
 --blackline-glass:rgba(25,36,47,.68);
 --blackline-edge:rgba(181,208,227,.25);
 --blackline-edge-hover:rgba(198,226,245,.47);
 --blackline-ink:#f2f6f8;
 --blackline-muted:#b9c8d4;
 --blackline-radius:16px;
 --blackline-ease:cubic-bezier(.22,1,.36,1);
 --blackline-fast:160ms;
 --blackline-medium:260ms;
 --athrty-identity-symbol:var(--athrty-mark-image,url('/athrty-mark-ivory.png'));
 --athrty-identity-ground:var(--athrty-mark-ground,#0b0d10);
}
[data-theme="light"],[data-color-scheme="light"]{
 --blackline-glass:rgba(247,249,251,.82);
 --blackline-edge:rgba(28,52,68,.24);
 --blackline-edge-hover:rgba(28,52,68,.43);
 --blackline-ink:#18242e;
 --blackline-muted:#435463;
}
/* Source-owned explicit logo marks must never render twice. */
body :is(header,.site-footer,footer,[role="banner"]) a:is(.brand,.wordmark,.athrty-brand,.xm-brand,.mp-brand,.f8-brand):has(> :is(.logo,.monogram,.mark,.brand-mark,.identity-mark,.xm-brandmark,.mp-brand-icon))::before{content:none!important;display:none!important}
body :is(header,.site-footer,footer,[role="banner"]) a:is(.brand,.wordmark,.athrty-brand,.xm-brand,.mp-brand,.f8-brand):has(> :is(.logo,.monogram,.mark,.brand-mark,.identity-mark,.xm-brandmark,.mp-brand-icon)){padding-inline-start:0!important;display:inline-flex;align-items:center;gap:clamp(9px,1.2vw,15px);min-width:0}
body :is(header,.site-footer,footer,[role="banner"]) a:is(.brand,.wordmark,.athrty-brand,.xm-brand,.mp-brand,.f8-brand) > :is(.logo,.monogram,.mark,.brand-mark,.identity-mark,.xm-brandmark,.mp-brand-icon){background-image:var(--athrty-identity-symbol)!important;background-position:center!important;background-size:72% 72%!important;background-repeat:no-repeat!important;color:transparent!important;font-size:0!important;line-height:0!important;overflow:hidden}
/* Maintain accessible logo/brand focus indication. */
body :is(header,.site-footer,footer,[role="banner"]) a:is(.brand,.wordmark,.athrty-brand,.xm-brand,.mp-brand,.f8-brand):focus-visible{outline:2px solid #a6d7f6;outline-offset:4px}
/* Existing home surfaces: material treatment, not wholesale layout mutation. */
#main .x5-home :is(.x4100-card,.x4100-product-card,[data-x4100-product]){
 border-radius:var(--blackline-radius);
 border-color:var(--blackline-edge);
 box-shadow:inset 0 1px 0 rgba(240,248,255,.065),0 18px 55px rgba(0,0,0,.17);
 transition:border-color var(--blackline-medium) var(--blackline-ease),box-shadow var(--blackline-medium) var(--blackline-ease),transform var(--blackline-medium) var(--blackline-ease);
}
@media(hover:hover) and (prefers-reduced-motion:no-preference){
 #main .x5-home :is(.x4100-card,.x4100-product-card,[data-x4100-product]):hover{
  border-color:var(--blackline-edge-hover);
  box-shadow:inset 0 1px 0 rgba(240,248,255,.11),0 24px 64px rgba(0,0,0,.26);
  transform:translateY(-2px);
 }
}
#main .x5-home :is(.x4120-primary,.x5-action,.x4100-card-actions a,.x4100-card-actions button){
 border-radius:999px!important;
 transition:background-color var(--blackline-fast) ease,border-color var(--blackline-fast) ease,box-shadow var(--blackline-fast) ease,transform var(--blackline-fast) ease;
}
#main .x5-home :is(.x4120-primary,.x5-action,.x4100-card-actions a,.x4100-card-actions button):focus-visible{
 outline:2px solid #c5e8ff;outline-offset:3px;
}
#main .x5-home :is(.x4100-card-content,.x4100-card-outcome,.x4100-card-kicker){min-width:0;overflow-wrap:break-word}
#main .x5-home .x4100-card-outcome{color:#c8d5df}
@media(max-width:430px){
 #main .x5-home :is(.x4120-primary,.x5-action,.x4100-card-actions a,.x4100-card-actions button){min-height:44px}
 #main .x5-home :is(.x4100-card-content,.x4100-card-outcome){max-width:100%}
}
@media(prefers-reduced-motion:reduce){
 #main .x5-home :is(.x4100-card,.x4100-product-card,[data-x4100-product],.x4120-primary,.x5-action,.x4100-card-actions a,.x4100-card-actions button){transition:none!important;transform:none!important}
}
/* X-BRAND-170100: responsive contract for existing first-party public surfaces. */
#main .x5-home{min-width:0}
#main .x5-home :is(.x5-hero,.x4100-card,.x4100-product-card,[data-x4100-product],.x65000-deep-dive){box-sizing:border-box;min-width:0}
#main .x5-home :is(.x5-hero,.x4100-card,.x4100-product-card,[data-x4100-product]) :is(h1,h2,h3,p){overflow-wrap:break-word}
#main .x5-home :is(.x4120-hero-actions,.x4100-card-actions){display:flex;flex-wrap:wrap;align-items:center;gap:clamp(8px,1.3vw,14px)}
#main .x5-home :is(.x4120-hero-actions,.x4100-card-actions) :is(a,button){max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere}
#main .x5-home :is(img,video){max-width:100%}
#main .x5-home img{height:auto}
#main .x5-home :is(.x4100-product-icon,.x4100-studio-product-icon){flex-shrink:0}
@media(max-width:1024px){
 #main .x5-home :is(.x5-hero,.x65000-deep-dive){max-width:100%}
 #main .x5-home :is(.x4120-hero-actions,.x4100-card-actions){gap:10px}
}
@media(max-width:768px){
 #main .x5-home :is(.x5-hero,.x4100-card,.x4100-product-card,[data-x4100-product]){min-width:0}
 #main .x5-home :is(.x4100-card,.x4100-product-card,[data-x4100-product]){border-radius:14px}
 #main .x5-home :is(.x4120-hero-actions,.x4100-card-actions) :is(a,button){min-height:44px}
}
@media(max-width:430px){
 #main .x5-home :is(.x4120-hero-actions,.x4100-card-actions){width:100%;gap:9px}
 #main .x5-home :is(.x4120-hero-actions,.x4100-card-actions) :is(a,button){flex:1 1 auto;min-width:0;min-height:44px}
 #main .x5-home :is(.x4100-card,.x4100-product-card,[data-x4100-product]){border-radius:13px}
 #main .x5-home :is(.x4100-card-content,.x4100-card-outcome,.x4100-card-kicker){overflow-wrap:anywhere}
}
@media(max-width:375px){
 #main .x5-home :is(.x4120-hero-actions,.x4100-card-actions) :is(a,button){flex-basis:100%}
 #main .x5-home :is(.x4100-card,.x4100-product-card,[data-x4100-product]){border-radius:12px}
}
@media(max-width:320px){
 #main .x5-home :is(.x4120-hero-actions,.x4100-card-actions){flex-direction:column;align-items:stretch}
 #main .x5-home :is(.x4120-hero-actions,.x4100-card-actions) :is(a,button){width:100%}
}
@media(prefers-reduced-motion:reduce){
 #main .x5-home :is(.x4100-card,.x4100-product-card,[data-x4100-product],.x4120-primary,.x5-action){animation:none!important;scroll-behavior:auto!important}
}
@media(forced-colors:active){
 #main .x5-home :is(.x4100-card,.x4100-product-card,[data-x4100-product]){border:1px solid CanvasText;box-shadow:none}
}
/* X-BLACKLINE-171200 / authenticated mobile toolbar + dashboard geometry.
   Repairs source-owned components; excludes tenant previews and checkout frames. */
body.xgenesis-shell.authenticated :is(#x850-toolbar,#xos30000,.xos30000-board,.xos30000-card){
  box-sizing:border-box;min-inline-size:0;max-inline-size:100%;
}
body.xgenesis-shell.authenticated .x850-identity,
body.xgenesis-shell.authenticated .x850-controls,
body.xgenesis-shell.authenticated .xos30000-heading,
body.xgenesis-shell.authenticated .xos30000-heading>div{
  min-inline-size:0;max-inline-size:100%;
}
body.xgenesis-shell.authenticated .xos30000-card-top{
  display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-inline-size:0;
}
body.xgenesis-shell.authenticated .xos30000-card-type{
  flex:1 1 auto;min-inline-size:0;overflow-wrap:anywhere;line-height:1.4;
}
body.xgenesis-shell.authenticated .xos30000 .xos30000-open{
  box-sizing:border-box!important;flex:0 0 auto!important;inline-size:auto!important;
  max-inline-size:min(40vw,116px)!important;min-block-size:44px!important;
  padding:9px 14px!important;margin:0!important;white-space:nowrap!important;
  font:650 12px/1.3 Arial,Helvetica,sans-serif!important;
  letter-spacing:0!important;text-decoration:none!important;border-radius:999px!important;
}
body.xgenesis-shell.authenticated .xos30000-card :is(h3,p,.xos30000-card-note){
  min-inline-size:0;max-inline-size:100%;overflow-wrap:break-word;
}
@media(max-width:820px){
 body.xgenesis-shell.authenticated #x850-toolbar:not([hidden]){
  inline-size:100%!important;max-inline-size:100%!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:8px 10px!important;padding:10px clamp(12px,3.5vw,18px)!important;
 }
 body.xgenesis-shell.authenticated #x850-toolbar .x850-identity{
  display:grid!important;grid-template-columns:26px minmax(0,1fr)!important;
  column-gap:9px!important;row-gap:2px!important;align-items:center;
 }
 body.xgenesis-shell.authenticated #x850-toolbar .x860-identity-icon{
  grid-column:1!important;grid-row:1/3!important;
  inline-size:26px!important;block-size:26px!important;
 }
 body.xgenesis-shell.authenticated #x850-toolbar .x850-identity-kicker{
  grid-column:2!important;grid-row:1!important;font:700 9px/1.3 Arial,Helvetica,sans-serif!important;
  letter-spacing:.08em!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 }
 body.xgenesis-shell.authenticated #x850-toolbar .x850-identity-title{
  grid-column:2!important;grid-row:2!important;font:700 clamp(16px,3.8vw,19px)/1.15 Arial,Helvetica,sans-serif!important;
  letter-spacing:-.035em!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
 }
 body.xgenesis-shell.authenticated #x850-toolbar .x850-controls{
  grid-column:2;grid-row:1;align-self:center;justify-content:flex-end;flex-wrap:nowrap;
 }
 body.xgenesis-shell.authenticated #x850-toolbar .xsimple-domain-nav{
  grid-column:1/-1!important;grid-row:2!important;min-inline-size:0!important;
  max-inline-size:100%!important;overflow-x:auto;overscroll-behavior-inline:contain;
 }
 body.xgenesis-shell.authenticated #x850-toolbar .x850-tool-menu{
  inline-size:min(350px,calc(100dvw - 24px))!important;
  max-inline-size:calc(100dvw - 24px)!important;box-sizing:border-box;
 }
 body.xgenesis-shell.authenticated .xos30000-board{
  inline-size:100%;grid-template-columns:repeat(12,minmax(0,1fr))!important;
 }
 body.xgenesis-shell.authenticated .xos30000-card{
  padding:clamp(14px,3.8vw,19px)!important;gap:10px!important;border-radius:16px!important;
 }
 body.xgenesis-shell.authenticated .xos30000-card h3{
  font-size:clamp(17px,4.7vw,22px)!important;line-height:1.23!important;letter-spacing:-.03em;
 }
 body.xgenesis-shell.authenticated .xos30000-card-note{
  font-size:13px!important;line-height:1.5!important;
 }
 body.xgenesis-shell.authenticated .xos30000-board :is(.xos30000-card,.xos30000-card[data-size="small"],.xos30000-card[data-size="medium"],.xos30000-card[data-size="wide"]){
  grid-column:1/-1!important;min-inline-size:0!important;
 }
 body.xgenesis-shell.authenticated .xos30000-board[data-layout="list"] .xos30000-card{
  grid-template-columns:minmax(0,1fr) auto!important;gap:9px!important;
 }
 body.xgenesis-shell.authenticated .xos30000-board[data-layout="editorial"] .xos30000-card h3{
  font-size:clamp(19px,5.2vw,26px)!important;
 }
}
@media(max-width:430px){
 /* Section location is already represented by the active destination and heading.
    Do not leave a clipped one-character breadcrumb beneath Home on narrow phones. */
 body.xgenesis-shell.authenticated #x850-toolbar .x15000-active-location{
  display:none!important;
 }
 :root body.xgenesis-shell .global-header a.wordmark{
  box-sizing:border-box;max-inline-size:min(57vw,230px)!important;
  padding-inline-start:43px!important;font-size:clamp(18px,5vw,22px)!important;
  overflow:hidden!important;text-overflow:ellipsis;white-space:nowrap;
 }
 :root body.xgenesis-shell .global-header a.wordmark::before{
  inline-size:32px!important;block-size:32px!important;
 }
 body.xgenesis-shell.authenticated .xos30000-card-top{
  flex-wrap:wrap;row-gap:8px;
 }
 body.xgenesis-shell.authenticated .xos30000-card-type{
  flex-basis:calc(100% - 105px);
 }
 body.xgenesis-shell.authenticated .xos30000-card :is(.xos30000-live-row,.xos35000-record){
  min-inline-size:0;max-inline-size:100%;
 }
 body.xgenesis-shell.authenticated .xos30000-heading-actions :is(a,button){
  flex:1 1 0;min-inline-size:0;white-space:normal!important;text-align:center;
 }
}
@media(prefers-reduced-motion:reduce){
 body.xgenesis-shell.authenticated :is(.xos30000-card,.xos30000-open,.x850-toolbar){animation:none!important;transition:none!important}
}