/* BLACKLINE 6.2: explicit light overrides only; existing dark contract untouched.
   BLACKLINE 6.6 (light-mode convergence): tokens are owned by x1127-obsidian-tokens.css — this sheet is component overrides only and must not redefine --athrty-ui-* tokens. */
.blackline-theme-toggle{display:inline-grid!important;place-items:center!important;flex:none!important;width:40px!important;height:40px!important;padding:0!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:var(--athrty-ui-ink,#fff)!important;cursor:pointer!important}
.blackline-theme-toggle:hover{background:var(--athrty-ui-soft,rgba(255,255,255,.08))!important}
.blackline-theme-toggle:focus-visible{outline:2px solid currentColor;outline-offset:2px}
:root[data-athrty-appearance="light"] body{background:var(--athrty-ui-canvas)!important;color:var(--athrty-ui-ink)}
:root[data-athrty-appearance="light"] body .global-header{background:var(--athrty-ui-surface)!important;color:var(--athrty-ui-ink)!important;border-bottom-color:var(--athrty-ui-border)!important}
:root[data-athrty-appearance="light"] body .global-header button{color:var(--athrty-ui-ink)}
:root[data-athrty-appearance="light"] body .global-header svg{stroke:currentColor}
:root[data-athrty-appearance="light"] body :is(.system-module,.metric,.product,.inspector,.form-surface,.job,.lane,.module){background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body :is(input,select,textarea){color-scheme:light}
:root[data-athrty-appearance="light"] body :is(.shell,.body,.sidebar,.contextbar,#main,.x1113-layout,.x1113-nav-panel,.x1113-nav-interior,.xheader-search-panel,.xheader-search-inner,.xheader-search-compose,.xheader-search-results,.xheader-profile-menu,.xheader-account,.card,.panel,.workspace,.workspace-panel,.surface,.content-panel){background-color:var(--athrty-ui-surface)!important;color:var(--athrty-ui-ink)!important;border-color:var(--athrty-ui-border)!important}
:root[data-athrty-appearance="light"] body :is(.x1113-destination,.xheader-result,.xheader-tile,.xheader-filter,.xheader-profile-toggle,.xheader-profile-menu a,.xheader-profile-menu button){color:var(--athrty-ui-ink)!important;border-color:var(--athrty-ui-border)!important}
:root[data-athrty-appearance="light"] body :is(.x1113-destination[aria-current="page"],.xheader-filter[aria-pressed="true"]){background:var(--athrty-ui-soft)!important}
:root[data-athrty-appearance="light"] body :is(.x1113-destination-copy small,.xheader-account-label,.xheader-item-copy small){color:var(--athrty-ui-muted)!important}
:root[data-athrty-appearance="light"] body :is(.global-header,.sidebar,.x1113-nav-panel,.xheader-search-panel) svg{color:inherit;stroke:currentColor}
:root[data-athrty-appearance="light"] body .blackline-theme-toggle{color:var(--athrty-ui-ink)!important}
/* BLACKLINE 6.5 — light surface and inherited contrast regression repair. */
:root[data-athrty-appearance="light"]{color-scheme:light}
:root[data-athrty-appearance="light"] body :is(.card,.panel,.workspace-panel,.surface,.content-panel,.system-module,.metric,.product,.inspector,.form-surface,.job,.lane,.module){background-color:var(--athrty-ui-surface)!important;color:var(--athrty-ui-ink)!important;border-color:var(--athrty-ui-border)!important}
:root[data-athrty-appearance="light"] body :is(.card,.panel,.workspace-panel,.surface,.content-panel,.system-module,.metric,.product,.inspector,.form-surface,.job,.lane,.module) :is(h1,h2,h3,h4,h5,h6,strong,b,label,p,small,span){color:inherit}
:root[data-athrty-appearance="light"] body :is(.card,.panel,.workspace-panel,.surface,.content-panel) :is(button,input,select,textarea){color:var(--athrty-ui-ink);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body :is(.card,.panel,.workspace-panel,.surface,.content-panel) :is(input,select,textarea){background:#fff}
:root[data-athrty-appearance="light"] body :is(.muted,.fine,.eyebrow){color:var(--athrty-ui-muted)}
:root[data-athrty-appearance="light"] body :is(.card,.panel,.workspace-panel,.surface,.content-panel) :is(a,button):focus-visible{outline:2px solid #285c9b;outline-offset:3px}
/* BLACKLINE 6.6 — sidebar nav legibility in light (browser audit: pale grey-blue on white). */
:root[data-athrty-appearance="light"] body .sidebar a,:root[data-athrty-appearance="light"] body .sidebar button{color:var(--athrty-ui-ink)!important}
:root[data-athrty-appearance="light"] body .sidebar select{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 .sidebar :is(small,.workspace-label,.wordmark span){color:var(--athrty-ui-muted)!important}
:root[data-athrty-appearance="light"] body .x1113-destination{color:var(--athrty-ui-ink)!important}
:root[data-athrty-appearance="light"] body .x1113-destination small{color:var(--athrty-ui-muted)!important}
/* BLACKLINE 11.3: shared light-mode interface convergence, scoped to first-party application chrome. */
:root[data-athrty-appearance="light"] body .xos32000-workspace-actions a{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .xos32000-workspace-actions a:hover{background:var(--athrty-ui-surface);border-color:var(--athrty-ui-accent)}
:root[data-athrty-appearance="light"] body .xcm14003-card{background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .xcm14003-card :is(.xcm14003-description,.xcm14003-org,.xcm14003-note){color:var(--athrty-ui-muted);opacity:1}
:root[data-athrty-appearance="light"] body .xcm14003-category,:root[data-athrty-appearance="light"] body .xcm14003-link{color:var(--athrty-ui-ink);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body .xcm14003-link:hover{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink)}
:root[data-athrty-appearance="light"] body :is(.x711-shell,.xos30000,.xcm14003) :is(input,textarea,select){color-scheme:light;color:var(--athrty-ui-ink);background:var(--athrty-ui-surface);border-color:var(--athrty-ui-border)}
:root[data-athrty-appearance="light"] body :is(.x711-shell,.xos30000,.xcm14003) :is(input,textarea)::placeholder{color:var(--athrty-ui-muted);opacity:1}
:root[data-athrty-appearance="light"] body :is(.x711-shell,.xos30000,.xcm14003) :is(button,a,input,textarea,select):focus-visible{outline:2px solid var(--athrty-ui-accent);outline-offset:3px}
@media(prefers-reduced-motion:reduce){:root[data-athrty-appearance="light"] body :is(.x711-shell,.xos30000,.xcm14003) *{scroll-behavior:auto!important}}

/* BLACKLINE 15 / sitewide appearance-toggle contrast contract.
   The control remains charcoal while the moon (and its inherited SVG stroke)
   is light in LIGHT appearance. No change to dark appearance, routing, or
   unrelated buttons. All first-party pages using this shared sheet inherit it. */
:root[data-athrty-appearance="light"] body button:is(.blackline-theme-toggle,.x1119-appearance-toggle){
  color:#F5F8FA!important;
  background:linear-gradient(160deg,rgba(255,255,255,.13),transparent 55%),rgba(20,30,39,.90)!important;
  border-color:rgba(157,188,210,.44)!important;
}
:root[data-athrty-appearance="light"] body button:is(.blackline-theme-toggle,.x1119-appearance-toggle) :is([data-appearance-icon],[data-appearance-icon] svg,svg){
  color:#F5F8FA!important;
  stroke:currentColor!important;
}
:root[data-athrty-appearance="light"] body button:is(.blackline-theme-toggle,.x1119-appearance-toggle):hover{
  color:#FFFFFF!important;
  background:linear-gradient(160deg,rgba(255,255,255,.15),transparent 55%),rgba(32,47,59,.98)!important;
  border-color:rgba(177,206,227,.66)!important;
}
:root[data-athrty-appearance="light"] body button:is(.blackline-theme-toggle,.x1119-appearance-toggle):focus-visible{
  outline:2px solid #9ED1F1!important;
  outline-offset:3px!important;
}