/* ATHRTY X-PRODUCT-209 / enterprise experience. App-shell only.
   No effects inside independently exported customer sites, Studio canvas iframes,
   payment widgets, or other product origins. Canonical tokens remain in X1127. */
:root[data-athrty-appearance="dark"],:root:not([data-athrty-appearance]){
 --obsidian-mint:#c2d1d5;
 --athrty-ui-accent:#bfd0d5;
 --athrty-ui-control:#e8e4db;
 --athrty-ui-control-ink:#182126;
 --athrty-focus:#d9d3c5;
 --x209-canvas:#0d1216;--x209-ink:#f0eee7;--x209-muted:#b6c3c6;
 --x209-line:#39464d;--x209-radius:14px;--x209-space:clamp(20px,3vw,42px)
}
:root[data-athrty-appearance="light"]{
 --athrty-ui-accent:#3b5964;--athrty-focus:#3b5964;
 --x209-canvas:#f5f5f1;--x209-ink:#1b292f;--x209-muted:#55636b;
 --x209-line:#bfcbce;--x209-radius:14px;--x209-space:clamp(20px,3vw,42px)
}
body .global-header{
 min-height:76px!important;padding-inline:clamp(17px,2.9vw,49px);
 border-bottom:1px solid var(--athrty-ui-border)!important;
 background:var(--athrty-enterprise-header,var(--athrty-ui-surface))!important;box-shadow:none!important;
}
body .global-header .wordmark{min-height:44px;display:inline-flex;flex-direction:column;
 justify-content:center;font-weight:790;letter-spacing:-.045em;line-height:1.03}
body .global-header .wordmark span{letter-spacing:.15em;line-height:1.5;font-size:11px}
body .global-header .global-actions{gap:9px}
body .global-header .global-actions :is(button,a):focus-visible{
 outline:2px solid var(--athrty-focus)!important;outline-offset:3px!important;
}
body .global-header #drawer-open{border-radius:14px!important;box-shadow:none!important}
body .x1113-nav-panel{background:var(--athrty-ui-surface)!important}
body .x1113-nav-interior{padding-block:clamp(25px,3.2vw,42px)}
body .x1113-nav-top{gap:10px}
body .x1113-nav-top h2{max-width:15ch;font-weight:550;letter-spacing:-.064em;line-height:1.07}
body .x1113-nav-description{margin:11px 0 22px;font-size:13px;line-height:1.75}
body .x1113-destinations{gap:3px;border-top:1px solid var(--athrty-ui-border)}
body .x1113-destination{
 grid-template-columns:minmax(0,1fr)!important;min-height:66px!important;
 padding:12px 13px!important;margin-inline:-13px;gap:4px;
 border-radius:11px!important;border-bottom:1px solid var(--athrty-ui-border);
 text-decoration:none!important;
}
body .x1113-destination-copy{gap:4px}
body .x1113-destination-copy strong{font-weight:580;font-size:clamp(19px,2vw,25px);
 line-height:1.18;letter-spacing:-.044em}
body .x1113-destination-copy small{font-size:12px;line-height:1.5;color:var(--athrty-ui-muted)}
body .x1113-destination[aria-current="page"]{background:var(--athrty-ui-soft);
 border-color:color-mix(in oklch,var(--athrty-ui-accent) 40%,var(--athrty-ui-border))}
body .x1113-destination:hover{background:var(--athrty-ui-soft);transform:none!important}
body .x1113-index,body .x1113-direction{display:none!important}
body .x1113-navigation-foot{border-top:1px solid var(--athrty-ui-border);margin-top:16px;padding-top:20px}
body .x1113-rights-note{font-size:11px;line-height:1.65}
body.authenticated #workspace-drawer{background:var(--athrty-ui-surface)!important;
 border-color:var(--athrty-ui-border)!important}
body.authenticated #workspace-drawer nav[aria-label="Your workspace"] > a{
 min-height:48px!important;border-radius:12px!important;
 transition:background .16s ease,color .16s ease;
}
body.authenticated #workspace-drawer nav[aria-label="Your workspace"] > a[aria-current="page"]{
 background:var(--athrty-ui-soft)!important;
 border-color:color-mix(in srgb,var(--athrty-ui-accent) 35%,var(--athrty-ui-border))!important
}
body.authenticated #workspace-drawer nav[aria-label="Your workspace"] .nav-label{
 font-weight:640;letter-spacing:-.015em
}
body :is(#main,.x1113-layout,.shell,.body){min-width:0}
body #main :is(button.primary,button.secondary,a.primary,a.secondary){
 border-radius:12px!important;min-height:44px;line-height:1.4;
 box-shadow:none!important;letter-spacing:normal;
}
body #main :is(button,input,select,textarea,a):focus-visible{
 outline:2px solid var(--athrty-focus)!important;outline-offset:3px!important;
}
body #main :is(input,textarea,select){font-family:var(--athrty-ui-font);max-width:100%}
body #main .intro{max-width:940px}
body #main .intro h1{letter-spacing:-.065em;line-height:1.09;text-wrap:balance}
body #main :is(.x1141-access-state,.x500-workspace-gate){
 border-radius:18px!important;
 background:var(--athrty-ui-surface)!important;color:var(--athrty-ui-ink)!important;
 border:1px solid var(--athrty-ui-border)!important;box-shadow:none!important
}
body #main :is(.x1141-access-state,.x500-workspace-gate) p{
 color:var(--athrty-ui-muted);line-height:1.75;max-width:66ch}
body #main .xauth-studio-gateway{min-width:0}
body #main .xauth-studio-gateway :is(h1,h2){letter-spacing:-.065em;text-wrap:balance}
body #main .xauth-studio-gateway :is(a,button){
 min-height:44px;border-radius:12px
}
@media(min-width:700px){
 body #main .x5-home .x1114-hero h1{font-size:clamp(48px,6.2vw,96px)!important}
}
/* Measured 768px defects in the pre-X209 public Home / Create screens:
   secondary actions at 40-42px, one disclosure at 28px, and a 31px-wide tab. */
body #main .x5-home :is(button,.authority-secondary,.x1114-secondary){
 min-height:44px!important;border-radius:12px
}
body #main .x5-home details>summary{
 min-height:44px!important;display:flex;align-items:center;
}
body #main .x5-config button[aria-pressed]{
 min-width:44px!important;min-height:44px!important
}
@media(max-width:760px){
 body .global-header{padding-inline:16px;min-height:72px!important}
 body .x1113-nav-interior{padding-inline:clamp(18px,4.5vw,30px)}
 body .x1113-nav-top h2{font-size:clamp(30px,7vw,40px)}
 body .x1113-destination{min-height:61px!important}
 body .x1113-destinations{gap:0}
 body #main .intro h1{font-size:clamp(35px,8vw,57px)}
}
@media(prefers-reduced-motion:reduce){
 body .x1113-layout,body .x1113-nav-panel,body .x1113-destination,
 body .x1113-destinations a,body .global-header #drawer-open{
 animation:none!important;transition:none!important}
}