/* ATHRTY X-602 / institutional interface system.
   Deliberately applies to ATHRTY chrome only; customer website previews use isolated srcdoc.
   The dark shell is not imposed on customer Design DNA. */
:root{
 --athrty-midnight:#101D35;--athrty-deep-navy:#1B3155;--athrty-brand:#3668BF;--athrty-atmosphere:#8DACDF;
 --athrty-ice:#EAF1FB;--athrty-blueprint-canvas:#F7F9FD;--athrty-blueprint-surface:#FFFFFF;--athrty-blueprint-border:#DCE5F1;
 --athrty-ink:#101D35;--athrty-secondary-ink:#53657E;--athrty-blueprint-focus:#3668BF;
 --bg:#F7F9FD;--paper:#FFFFFF;--ink:#101D35;--muted:#53657E;--dark:#101D35;--accent:#3668BF;
 --control:12px;--x602-canvas:#F7F9FD;--x602-surface:#FFFFFF;--x602-raised:#EAF1FB;--x602-line:#DCE5F1;
 --x602-deep:#101D35;--x602-text:#101D35;--x602-subtle:#53657E;--x602-accent:#3668BF;--x602-focus:#3668BF;
 --athrty-charcoal:#101D35;--athrty-surface:#FFFFFF;--athrty-surface-raised:#EAF1FB;--athrty-porcelain:#F7F9FD;
 --athrty-mist:#B8C8E0;--athrty-stone:#8DACDF;--athrty-stroke:#DCE5F1;--athrty-focus:#3668BF;
 --athrty-ease:cubic-bezier(.22,1,.36,1);--athrty-stage-duration:320ms;
 --athrty-ui-canvas:#F7F9FD;--athrty-ui-surface:#FFFFFF;--athrty-ui-ink:#101D35;
 --athrty-ui-muted:#53657E;--athrty-ui-border:#DCE5F1;--athrty-ui-soft:#EAF1FB;
 --athrty-ui-accent:#3668BF;--athrty-ui-control:#1B3155;--athrty-ui-control-ink:#FFFFFF;
 color-scheme:light;background:var(--x602-canvas);color:var(--x602-text);
}
/* X1119 Blueprint appearance modes are platform preferences, never customer website themes.
   Light values come from the root above. Dark has dedicated semantic values and accessible control contrast. */
:root[data-athrty-appearance="dark"]{
 --athrty-ui-canvas:#0F1729;--athrty-ui-surface:#19263E;--athrty-ui-ink:#F7F9FD;
 --athrty-ui-muted:#B8C8E0;--athrty-ui-border:#3B4D68;--athrty-ui-soft:#243B5C;
 --athrty-ui-accent:#A6CAFF;--athrty-ui-control:#8DACDF;--athrty-ui-control-ink:#101D35;
 --bg:#0F1729;--paper:#19263E;--ink:#F7F9FD;--muted:#B8C8E0;--dark:#101D35;--accent:#A6CAFF;
 --x602-canvas:#0F1729;--x602-surface:#19263E;--x602-raised:#243B5C;--x602-line:#3B4D68;
 --x602-deep:#0B1427;--x602-text:#F7F9FD;--x602-subtle:#B8C8E0;--x602-accent:#A6CAFF;--x602-focus:#A6CAFF;
 --athrty-blueprint-canvas:#0F1729;--athrty-blueprint-surface:#19263E;--athrty-blueprint-border:#3B4D68;
 --athrty-ink:#F7F9FD;--athrty-secondary-ink:#B8C8E0;--athrty-blueprint-focus:#A6CAFF;
 --athrty-surface:#19263E;--athrty-surface-raised:#243B5C;--athrty-stroke:#3B4D68;--athrty-focus:#A6CAFF;
 color-scheme:dark;background:var(--x602-canvas);color:var(--x602-text);
}
.x1119-appearance-toggle{display:inline-flex;align-items:center;justify-content:center;
 width:44px;min-width:44px;height:44px;padding:0;border:1px solid var(--athrty-ui-border);
 background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);border-radius:12px;
 transition:background-color 190ms ease,border-color 190ms ease,color 190ms ease}
.x1119-appearance-toggle [data-appearance-icon]{display:block;font:500 23px/1 system-ui,sans-serif;transform:translateY(-1px)}
.x1119-appearance-toggle:hover{background:var(--athrty-ui-soft)!important;color:var(--athrty-ui-ink)!important}
.x1119-appearance-toggle:focus-visible{outline:2px solid var(--athrty-ui-accent);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.x1119-appearance-toggle{transition:none}}
/* X1119 — Core Blueprint component primitives, shared by global chrome and Jarvis.
   Native HTML semantics remain authoritative. */
.ath-control{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
 min-height:44px;gap:9px;white-space:normal;border-radius:12px;font-size:13px;font-weight:650;line-height:1.4;font-family:inherit;
 transition:background-color 180ms ease,color 180ms ease,border-color 180ms ease;
 cursor:pointer}
.ath-control[data-ath-size="sm"]{min-height:40px;padding:9px 12px}
.ath-control[data-ath-size="md"]{min-height:44px;padding:10px 16px}
.ath-control[data-ath-size="lg"]{min-height:52px;padding:14px 22px}
.ath-control[data-ath-variant="primary"]{background:var(--athrty-ui-control);color:var(--athrty-ui-control-ink);border:1px solid var(--athrty-ui-control)}
.ath-control[data-ath-variant="secondary"]{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border)}
.ath-control[data-ath-variant="quiet"]{background:transparent;color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border)}
.ath-control[data-ath-variant="icon"]{width:44px;min-width:44px;padding:0;background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border)}
.ath-control:hover:not(:disabled){border-color:var(--athrty-ui-accent)}
.ath-control[data-ath-variant="primary"]:hover:not(:disabled){filter:brightness(1.08)}
.ath-control:disabled,.ath-control[aria-disabled=true]{opacity:.55;cursor:not-allowed}
.ath-control:focus-visible,.ath-disclosure>summary:focus-visible{outline:2px solid var(--athrty-ui-accent);outline-offset:3px}
.ath-disclosure>summary{cursor:pointer;min-height:44px}
/* X1120: source-owned field and surface contracts. Consumer compositions retain
   domain-specific behavior, semantic labels and their independent data writers. */
.ath-field{box-sizing:border-box;min-width:0;width:100%;border:1px solid var(--athrty-ui-border);
 border-radius:11px;background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);
 font-family:inherit;font-size:14px;line-height:1.5}
.ath-field[data-ath-size="sm"]{min-height:40px;padding:9px 12px}
.ath-field[data-ath-size="md"]{min-height:46px;padding:11px 14px}
.ath-field[data-ath-size="lg"]{min-height:52px;padding:14px 17px}
.ath-field::placeholder{color:var(--athrty-ui-muted)}
.ath-field:focus-visible{outline:2px solid var(--athrty-ui-accent);outline-offset:2px}
.ath-surface{box-sizing:border-box;min-width:0}
.ath-surface[data-ath-surface="document"]{background:var(--athrty-ui-surface);
 color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border)}
.ath-surface[data-ath-surface="quiet"]{background:transparent;color:var(--athrty-ui-ink)}
@media(prefers-reduced-motion:reduce){.ath-control{transition:none}}
html{background:var(--x602-canvas)}
body{background:var(--x602-canvas);color:var(--x602-text)}
button,input,select,textarea{font-family:inherit;background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border)}
button{border-radius:12px}
button:hover{background:#ffffff13}
button.primary{background:var(--athrty-ui-control);color:var(--athrty-ui-control-ink)}
button.primary:hover{background:var(--athrty-ui-accent);color:var(--athrty-ui-control-ink)}
button.secondary{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border)}
button.secondary:hover{background:var(--athrty-ui-surface);border:1px solid var(--athrty-ui-accent)}
button.quiet{color:var(--athrty-ui-ink);background:transparent}
a{color:inherit}
a:not([class]):focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--x602-focus);outline-offset:3px}
input,select,textarea{border:1px solid var(--athrty-ui-border);background:var(--athrty-ui-surface);color:var(--athrty-ui-ink)}
input::placeholder,textarea::placeholder{color:var(--athrty-ui-muted)}
input:focus,select:focus,textarea:focus{border-color:var(--x602-accent)}
label{color:var(--athrty-ui-ink)}
option{background:var(--athrty-ui-surface);color:var(--athrty-ui-ink)}
h1,h2,h3{color:var(--x602-text)}
h1{font-weight:500}
.eyebrow,.x5-eyebrow{color:var(--x602-accent);letter-spacing:.16em}
.muted,.fine,.ownership-note{color:var(--x602-subtle)}
body .global-header{background:var(--athrty-enterprise-header,var(--athrty-ui-surface))!important;color:var(--athrty-ui-ink)!important;border-bottom:1px solid var(--athrty-ui-border)}
.global-header .wordmark{color:var(--athrty-ui-ink)}
.global-header .wordmark span{color:var(--athrty-ui-muted)}
.global-header .global-actions #account{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink)}
.global-header button:hover,.global-header a:hover{color:var(--athrty-ui-accent)}
.platform-menu nav{background:#1c211e;border:1px solid #ffffff20;box-shadow:0 22px 50px #0009}
.sidebar{background:#101D35;color:#F7F9FD;border-right:1px solid #283F62}
.sidebar select,.sidebar .organization-control select{background:#1B3155;color:#F7F9FD;border:1px solid #516C96}
.sidebar a[aria-current=page],.sidebar nav button.active{background:#EAF1FB;color:#101D35}
.sidebar nav a:hover,.sidebar nav button:hover{background:#ffffff13}
.sidebar .workspace-label,.sidebar .project-context p,.sidebar-foot small{color:#B8C8E0}
.shell,.body,.body main,.contextbar,.app-footer{background:var(--x602-canvas);color:var(--athrty-ui-muted)}
.contextbar{color:var(--x602-subtle)}
.body main{max-width:1640px}
.app-footer{color:#a5b1a7}
.intro{padding-bottom:clamp(14px,2.5vw,28px);border-bottom:1px solid var(--x602-line)}
.intro h1{font-size:clamp(38px,4.3vw,74px);line-height:1.03;letter-spacing:-.065em;max-width:18ch}
.intro p{color:var(--athrty-ui-muted);max-width:62ch}
.intro .eyebrow{margin-bottom:16px}
.section-header h2{color:var(--athrty-ui-ink)}
.section-header .fine{color:var(--athrty-ui-muted)}
.project-row{border-radius:12px;border-bottom:1px solid var(--athrty-ui-border);color:var(--athrty-ui-ink)}
.project-row:hover,.project-row:focus-visible{background:var(--athrty-ui-soft)}
.project-row strong{color:var(--athrty-ui-ink)}
.project-mark{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink)}
.pill{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border)}
.empty,.recovery,.readiness-panel{background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border)}
.empty p,.recovery p,.readiness-panel p{color:var(--athrty-ui-muted)}
.work-grid{gap:24px}
.work-grid>section:not(.feature){padding:clamp(24px,3vw,42px);background:var(--athrty-ui-surface);border:1px solid var(--athrty-ui-border);border-radius:14px;color:var(--athrty-ui-ink)}
.feature{background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border)}
.feature .eyebrow{color:var(--athrty-ui-accent)}
.feature button{background:var(--athrty-ui-control);color:var(--athrty-ui-control-ink)}
.feature-number{color:#ffffff12}
.catalog{gap:12px}
.product{background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border);border-radius:12px;transition:background 180ms ease,border-color 180ms ease,transform 180ms ease;transform:none}
.product:hover,.product:focus-visible{background:var(--athrty-ui-soft);border-color:var(--athrty-ui-accent);transform:none}
.product h3{color:var(--athrty-ui-ink)}
.product p,.product .product-bottom{color:var(--athrty-ui-muted)}
.form-surface,.inspector{background:var(--athrty-ui-surface);color:var(--athrty-ui-ink);border:1px solid var(--athrty-ui-border)}
.form-surface p,.inspector .fine{color:var(--athrty-ui-muted)}
.module{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink)}
.module input{accent-color:var(--athrty-ui-accent)}
.depths{background:var(--athrty-ui-surface)}
.depths button{color:var(--athrty-ui-muted)}
.depths button.active{background:var(--athrty-ui-control);color:var(--athrty-ui-control-ink)}
.studio-header h1{color:#f3f1e9}
.studio-header .eyebrow{color:#b7a58a}
.studio-grid{gap:14px}
.layers{background:var(--athrty-ui-surface);border:1px solid var(--athrty-ui-border);border-radius:13px;padding:12px}
.layers button{color:var(--athrty-ui-ink);border-radius:8px}
.layers button.active{background:var(--athrty-ui-soft);color:var(--athrty-ui-ink)}
.canvas{background:#101D35;border:1px solid var(--athrty-ui-border);border-radius:14px}
.canvas-controls,.studio-footer{color:var(--athrty-ui-ink)}
.canvas iframe{background:#f2f0e9;box-shadow:0 20px 50px #0007}
.inspector h3{color:#f0f1ea}
.system-module,.provider,.offer-line,.metrics .metric,.metric{background:#171d19;color:#f2f1e9;border:1px solid #ffffff17;border-radius:12px}
.metric strong,.metrics strong{color:#efece2}
.metric span,.metrics span{color:#b6c1b7}
.gate-list li{background:#262e28;color:#ccd6c9;border:1px solid #ffffff16}
.offer-line strong,.provider strong{color:#f2f1e8}
.ownership-note{color:#abb5aa}
/* X1132 — Integrations surface repair. The old .provider cards combine dark
   surfaces with light-mode muted text tokens, hiding titles/descriptions.
   Scope the repair to direct Integration rows; never alter verification state. */
#main:has(>section.provider) .intro h1,
#main:has(>section.provider) .intro .eyebrow{color:var(--athrty-ui-ink)}
#main:has(>section.provider) .intro p,
#main:has(>section.provider) .ownership-note{color:var(--athrty-ui-muted)}
#main:has(>section.provider) .ownership-note{font-size:13px;line-height:1.65;max-width:84ch;margin:0 0 22px}
#main>section.provider{
  display:grid;grid-template-columns:minmax(180px,.28fr) minmax(0,1fr) auto;
  gap:16px 24px;align-items:center;margin:0 0 10px;padding:20px 24px;
  min-height:0;background:#18221e;color:#f5f7f3;
  border:1px solid #35443a;border-radius:12px;box-shadow:none;
}
#main>section.provider h3{width:auto;min-width:0;margin:0;color:#f5f7f3;font-size:16px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}
#main>section.provider>div{min-width:0}
#main>section.provider p{margin:0;color:#e0e9e2;font-size:13px;line-height:1.55;max-width:80ch;overflow-wrap:anywhere}
#main>section.provider p.fine{color:#b8c8bd;font-size:12px;margin-top:4px}
#main>section.provider .pill{justify-self:end;align-self:center;margin:0;padding:7px 11px;min-height:30px;background:#2d3d32;color:#e5f4db;border:1px solid #526a56;border-radius:7px;font-size:11px;font-weight:650;text-align:center;white-space:normal}
@media(max-width:800px){
 #main>section.provider{grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding:18px 20px}
 #main>section.provider h3{grid-column:1;grid-row:1}
 #main>section.provider>div{grid-column:1 / -1;grid-row:2}
 #main>section.provider .pill{grid-column:2;grid-row:1;max-width:160px}
}
@media(max-width:460px){
 #main>section.provider{padding:16px;gap:8px}
 #main>section.provider h3{font-size:15px}
 #main>section.provider .pill{font-size:10px;max-width:120px}
}
dialog{background:#1e2620;color:#eff0e9;border:1px solid #ffffff2a;box-shadow:0 32px 90px #000a}
dialog::backdrop{background:#050705d9}
#notice{background:#32382f;color:#f5f0e4;border:1px solid #ffffff2b}
.skip:focus{background:#b7a58a;color:#0b0e0d}
#mobile-drawer{background:#151b16;color:#f0f1e9}
#mobile-drawer nav a,#mobile-drawer button{color:inherit}
/* Editorial flagship, product collection and configurator adopt the SAME institution language. */
body:has(.x5-home){background:#0b0e0d}
body:has(.x5-home) .x5-hero{background:#0b0e0d}
body:has(.x5-home) .app-footer{background:#0b0e0d}
.x5-home,.x5-about,.x5-config{--x5-ink:#f0f0e9;--x5-sand:#141816;--x5-green:#b7a58a;--x5-paper:#1b231d;color:#f0f0e9}
.x5-home h1,.x5-home h2,.x5-about h1,.x5-about h2,.x5-config h1,.x5-config h2{color:#f1eee6}
.x5-home em,.x5-about em,.x5-config em{color:#c6b18f}
.x5-hero{border-radius:0}
.x5-principle{border-bottom:1px solid #ffffff22}
.x5-principle p{color:#e1e5df}
.x5-product-intro p,.x5-config-head p{color:#b4beb4}
.x5-product-list{border-top:1px solid #ffffff23}
.x5-product{border-bottom:1px solid #ffffff23;color:#f0eee7}
.x5-product:hover,.x5-product:focus-visible{background:#202620}
.x5-product-number,.x5-product-meta,.x5-product-main small{color:#aeb9ad}
.x5-product-main strong{color:#f0eee7}
.x5-product-arrow{color:#b7a58a}
.x5-process{background:#182019;border:1px solid #ffffff1b}
.x5-process-steps>div{border-top:1px solid #ffffff2a}
.x5-process-steps span{color:#b9c3b7}
.x5-process-steps strong{color:#f0eee6}
.x5-action{background:#b7a58a!important;color:#111612!important}
.x5-public-foot{border-top:1px solid #ffffff25}
.x5-public-foot span{color:#b6c1b6}
.x5-config,.x5-about{color:#f0eee6}
.x5-config-head .x5-version,.x5-config-head p{color:#b8c2b7}
.x5-spec,.x5-stage,.x5-stage-frame,.x5-spec-panel{background:#151b17;color:#f0eee7;border:1px solid #ffffff1c}
.x5-field{color:#d3ddd1}
.x5-field input:not([type=color]),.x5-field select,.x5-field textarea{background:#242c26;color:#f0eee7;border:1px solid #677466}
.x5-spec-title,.x5-stage-toolbar,.x5-stage-bottom{color:#b6c1b5}
.x5-spec-title b,.x5-spec-title strong{color:#f0eee6}
.x5-about-lead,.x5-about-lines p{color:#b9c3b8}
.x5-about-lines section{border-color:#ffffff23}
.pattern-advisory{background:#252e26;color:#e4e9e0;border:1px solid #ffffff1a}
.pattern-advisory summary{color:#f1efe6}
.command-intelligence{background:#121713;border:1px solid #ffffff19}
.command-ledger>div{background:#1c231e}
.command-state{color:#e0d3bf;background:#3a342b}
@media(max-width:850px){
 .body main{padding-inline:clamp(16px,4vw,28px)}
 .studio-grid{gap:12px}
 .intro{gap:22px}
 .x5-process{padding:35px 22px}
}
@media(max-width:520px){
 .work-grid>section:not(.feature){padding:20px}
 .project-row{padding:15px 9px}
 .intro h1{font-size:clamp(35px,10.5vw,48px)}
 .studio-header{align-items:flex-start;flex-wrap:wrap}
 .studio-header .intro-actions{justify-content:flex-start}
 .form-surface{padding:20px}
}
.x602-dna{background:#1b221d;border:1px solid #b7a58a45;border-radius:14px;padding:clamp(18px,2.6vw,26px);display:grid;gap:17px}
.x602-dna-head p{font-size:13px;line-height:1.6;color:#bfc8bd;max-width:50ch;margin:8px 0 0}
.x602-dna-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.x602-dna-fields label:last-child{grid-column:1/-1}
.x602-dna .fine{margin:0;color:#b6c0b5}
.x5-spec .x602-dna{grid-column:1/-1}
@media(max-width:580px){.x602-dna-fields{grid-template-columns:minmax(0,1fr)}.x602-dna-fields label:last-child{grid-column:auto}}
@media(prefers-reduced-motion:reduce){
 .product,.project-row,.x5-product,.feature,button{transition:none!important;animation:none!important;transform:none!important}
}
/* X-605.1 — focused issuer-side Commerce affordance, no new sales dashboard */
.buyer-offer-invite{padding:clamp(17px,2vw,25px);background:#202921;border:1px solid #b7a58a55;border-radius:13px;margin:22px 0}
.buyer-offer-invite h4{font-size:17px;font-weight:500;color:#f0eee5;letter-spacing:-.025em;margin:0 0 7px}
.buyer-offer-invite p{color:#bdc8bc;font-size:12px;line-height:1.65;max-width:64ch}
.buyer-offer-invite-form{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:18px}
.buyer-offer-invite-form label{flex:1;min-width:min(230px,100%);font-size:11px;color:#c6ccbf}
.buyer-offer-invite-form input{display:block;width:100%;margin-top:8px;border-radius:9px;background:#172019;color:#f1f0e8;padding:12px 14px;border:1px solid #788171;min-height:44px}
.buyer-offer-invite-form button{min-height:44px}
.buyer-offer-invite-output{margin-top:12px}
.buyer-offer-invite-output textarea{width:100%;border:1px solid #ffffff2b;background:#101613;border-radius:9px;color:#eadbc4;resize:none;padding:12px;font:12px/1.65 monospace}
.buyer-review-status{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid #ffffff20;padding:12px 0;flex-wrap:wrap}
.buyer-review-status .fine{font-size:11px;line-height:1.6;color:#b7c4b6}
@media(max-width:520px){.buyer-offer-invite-form{flex-direction:column;align-items:stretch}.buyer-offer-invite-form label{min-width:0;width:100%}}