/* TALNEXQ quantum workspace / build4244.
   Opt-in presentation for the existing portal, authentication and client entry.
   Theme selection, routes, permissions, responsive layout and hidden states are
   owned by the application. Decorative network artwork contains no live data. */

body.quantum-workspace4244 {
  --qx-canvas:#f1f5fc;--qx-surface:#fff;--qx-soft:#f5f8ff;--qx-hover:#eaf2ff;
  --qx-ink:#142640;--qx-secondary:#3c536f;--qx-muted:#536780;
  --qx-line:#d4e0f0;--qx-line-strong:#9eb3cf;--qx-blue:#205ac9;
  --qx-cyan:#087da3;--qx-violet:#7146c5;--qx-accent-soft:#e8f1ff;
  --qx-accent-line:#b7d0f5;--qx-focus:#1966cd;--qx-danger:#b82d48;
  --qx-danger-soft:#fff0f3;--qx-danger-line:#df9ba9;
  --qx-primary:linear-gradient(115deg,#086c9d 0%,#2352c4 56%,#6445bb 100%);
  --qx-primary-hover:linear-gradient(115deg,#075a85 0%,#1c43aa 56%,#5536a4 100%);
  --qx-shadow:0 2px 4px #16386705,0 9px 24px #16386708;
  --qx-lift:0 10px 30px #1c4c8520;
  --qx-hero:linear-gradient(115deg,#091b33 0%,#102a4b 58%,#26234d 100%);
  --qx-network:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 480 260' fill='none'%3E%3Cg stroke='%235ecce8' stroke-opacity='.24'%3E%3Cellipse cx='318' cy='130' rx='130' ry='49' transform='rotate(-32 318 130)'/%3E%3Cellipse cx='318' cy='130' rx='130' ry='49' transform='rotate(32 318 130)'/%3E%3Ccircle cx='318' cy='130' r='91'/%3E%3Cpath d='M126 55 230 91 318 130 403 70M101 191 230 170 318 130 430 201M230 91 230 170M403 70 430 201'/%3E%3C/g%3E%3Cg fill='%2376e3f5' fill-opacity='.6'%3E%3Ccircle cx='126' cy='55' r='3'/%3E%3Ccircle cx='101' cy='191' r='3'/%3E%3Ccircle cx='230' cy='91' r='4'/%3E%3Ccircle cx='230' cy='170' r='4'/%3E%3Ccircle cx='318' cy='130' r='6'/%3E%3Ccircle cx='403' cy='70' r='4'/%3E%3C/g%3E%3Cg fill='%23ae91ff' fill-opacity='.65'%3E%3Ccircle cx='430' cy='201' r='5'/%3E%3Ccircle cx='318' cy='39' r='4'/%3E%3Ccircle cx='318' cy='221' r='3'/%3E%3C/g%3E%3C/svg%3E");
  --qi388-canvas:var(--qx-canvas);--qi388-surface:var(--qx-surface);--qi388-soft:var(--qx-soft);
  --qi388-hover:var(--qx-hover);--qi388-ink:var(--qx-ink);--qi388-secondary:var(--qx-secondary);
  --qi388-muted:var(--qx-muted);--qi388-edge:var(--qx-line);--qi388-edge-strong:var(--qx-line-strong);
  --qi388-blue:var(--qx-blue);--qi388-blue-hover:#16479f;--qi388-blue-soft:var(--qx-accent-soft);
  --qi388-blue-edge:var(--qx-accent-line);--qi388-on-blue:#fff;--qi388-shadow:var(--qx-shadow);
}
:root[data-theme="dark"] body.quantum-workspace4244 {
  --qx-canvas:#091322;--qx-surface:#112139;--qx-soft:#172b45;--qx-hover:#203956;
  --qx-ink:#eef5ff;--qx-secondary:#c5d6ec;--qx-muted:#a5b9d3;
  --qx-line:#304965;--qx-line-strong:#6d89ac;--qx-blue:#9ec8ff;
  --qx-cyan:#7ddded;--qx-violet:#c0a9ff;--qx-accent-soft:#1c365b;
  --qx-accent-line:#537dad;--qx-focus:#7ddded;--qx-danger:#ffb6c5;
  --qx-danger-soft:#432738;--qx-danger-line:#ad6b83;
  --qx-shadow:0 2px 4px #0000000d,0 9px 24px #0000001f;
  --qx-lift:0 12px 30px #00000038;
  --qi388-blue-hover:#c7dfff;
}

/* The portal's legacy important paint lives in this layer. Reopen it here so
   the shared controls keep one foreground/background pairing in both themes. */
@layer qi48 {
  :root:is([data-area="app"],[data-area="auth"]) body.quantum-workspace4244 {
    background:var(--qx-canvas)!important;color:var(--qx-ink)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell {
    --paper:var(--qx-canvas)!important;--surface:var(--qx-surface)!important;--surface-2:var(--qx-soft)!important;
    --ink:var(--qx-ink)!important;--ink-2:var(--qx-secondary)!important;--ink-3:var(--qx-muted)!important;
    --line:var(--qx-line)!important;--line-2:var(--qx-line-strong)!important;
    --btn:#2256c2!important;--btn-hover:#1946a2!important;--btn-ink:#fff!important;
    --accent:var(--qx-blue)!important;--accent-soft:var(--qx-accent-soft)!important;
    color:var(--qx-ink)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.main,.content) {
    background:radial-gradient(ellipse 760px 400px at 100% 0,#1889c609,transparent 78%),var(--qx-canvas)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell > .side {
    background:linear-gradient(165deg,var(--qx-surface),var(--qx-soft))!important;
    border-color:var(--qx-line)!important;box-shadow:3px 0 24px #16477607!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .ptop.qi388-topbar {
    background:var(--qx-surface)!important;border-color:var(--qx-line)!important;
    box-shadow:0 2px 14px #16477606!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .ptop h1 {
    color:var(--qx-ink)!important;letter-spacing:-.035em!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.qi388-contextbar,.tnx4236-portal-context) {
    background:var(--qx-soft)!important;border-color:var(--qx-line)!important;color:var(--qx-ink)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .tnx4236-context-icon {
    background:var(--qx-primary)!important;color:#fff!important;
    box-shadow:0 3px 10px #2256c222!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .side :is(nav a,.tnx4203-category > summary,.tnx4236-tools > summary) {
    color:var(--qx-secondary)!important;border-radius:10px!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .side :is(nav a,.tnx4203-category > summary,.tnx4236-tools > summary):hover {
    background:var(--qx-hover)!important;color:var(--qx-blue)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .side nav a:is(.on,[aria-current="page"],[aria-current="location"]) {
    background:var(--qx-accent-soft)!important;color:var(--qx-blue)!important;
    box-shadow:inset 3px 0 var(--qx-cyan),inset 0 0 0 1px var(--qx-accent-line)!important;
    font-weight:750!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .side :is(.grp,.plabel,.ver,.tnx4236-nav-version) {
    color:var(--qx-muted)!important;-webkit-text-fill-color:currentColor!important;
  }

  /* Consistent action hierarchy. Provider, positive and call controls retain
     their own semantic paint. Small/icon controls retain their compact sizes. */
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) .btn {
    border-radius:11px!important;font-weight:650!important;letter-spacing:0!important;
    text-decoration:none!important;
    transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal) .btn:not(.sm):not(.small):not(.icon):not(.link) {
    min-height:44px!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) .btn:not(.ghost):not(.secondary):not(.soft):not(.link):not(.icon):not(.danger):not(.red):not(.go):not(.stop):not(.ssobtn):not(.prhang):not(:disabled):not([aria-disabled="true"]) {
    background:var(--qx-primary)!important;border-color:#326cbd!important;
    color:#fff!important;-webkit-text-fill-color:#fff!important;
    box-shadow:0 4px 12px #2354bd25,inset 0 1px 0 #ffffff26!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) .btn:not(.ghost):not(.secondary):not(.soft):not(.link):not(.icon):not(.danger):not(.red):not(.go):not(.stop):not(.ssobtn):not(.prhang):not(:disabled):not([aria-disabled="true"]):hover {
    background:var(--qx-primary-hover)!important;box-shadow:0 5px 16px #2354bd35!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) .btn:is(.ghost,.secondary,.soft,.icon):not(.danger):not(.red):not(.go):not(.stop):not(.ssobtn):not([aria-pressed="true"]):not(:disabled):not([aria-disabled="true"]) {
    background:var(--qx-surface)!important;border:1px solid var(--qx-line-strong)!important;
    color:var(--qx-secondary)!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) .btn:is(.ghost,.secondary,.soft,.icon):not(.danger):not(.red):not(.go):not(.stop):not(.ssobtn):not([aria-pressed="true"]):not(:disabled):not([aria-disabled="true"]):hover {
    background:var(--qx-hover)!important;border-color:var(--qx-blue)!important;color:var(--qx-blue)!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal) .btn:is(.danger,.red):not(:disabled):not([aria-disabled="true"]) {
    background:var(--qx-danger-soft)!important;border:1px solid var(--qx-danger-line)!important;
    color:var(--qx-danger)!important;-webkit-text-fill-color:currentColor!important;box-shadow:none!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal) .btn.link {
    color:var(--qx-blue)!important;-webkit-text-fill-color:currentColor!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) :is(button:disabled,.btn:disabled,.btn[aria-disabled="true"]) {
    background:var(--qx-soft)!important;border-color:var(--qx-line)!important;
    color:var(--qx-muted)!important;-webkit-text-fill-color:currentColor!important;
    box-shadow:none!important;opacity:1!important;cursor:not-allowed!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
    outline:3px solid var(--qx-focus)!important;outline-offset:3px!important;
  }

  /* Readable fields and tables, without changing overflow, hidden or validation
     behavior. Native checkbox, radio, file, color and range controls are spared. */
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]):not([type="hidden"]):not([type="button"]):not([type="submit"]):not([type="reset"]),select,textarea) {
    background:var(--qx-surface)!important;border-color:var(--qx-line-strong)!important;
    color:var(--qx-ink)!important;-webkit-text-fill-color:currentColor!important;
    caret-color:var(--qx-blue)!important;border-radius:10px!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) :is(input,textarea)::placeholder {
    color:var(--qx-muted)!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) :is(input,select,textarea)[aria-invalid="true"] {
    border-color:var(--qx-danger)!important;
  }
  :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) :is(input:disabled,select:disabled,textarea:disabled) {
    background:var(--qx-soft)!important;color:var(--qx-muted)!important;
    -webkit-text-fill-color:currentColor!important;border-color:var(--qx-line)!important;opacity:1!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.navfind,.tnx4172-search) {
    background:var(--qx-surface)!important;border-color:var(--qx-line-strong)!important;border-radius:11px!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.navfind,.tnx4172-search) input {
    background:transparent!important;border-color:transparent!important;box-shadow:none!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.navfind,.tnx4172-search):focus-within {
    outline:3px solid var(--qx-focus)!important;outline-offset:2px!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tbl,.tnx-office-table) th {
    background:var(--qx-soft)!important;color:var(--qx-secondary)!important;
    -webkit-text-fill-color:currentColor!important;border-color:var(--qx-line)!important;
    font-weight:700!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tbl,.tnx-office-table) td {
    border-color:var(--qx-line)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .tbl tr.click:hover td {
    background:var(--qx-hover)!important;
  }

  /* Existing data surfaces and Office module cards share the same visual frame.
     Specialized charts, status badges and deliberate dark islands keep colors. */
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .content :is(.panel,.chart-panel,.chart-wrap,.tnx4172-app-card,.tnx4172-tool,.tnx4188-workflows article,.tnx-office-panel,.tnx-office-module) {
    background:var(--qx-surface)!important;border-color:var(--qx-line)!important;
    border-radius:18px!important;box-shadow:var(--qx-shadow)!important;color:var(--qx-ink)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .content :is(.tnx4172-app-card,.tnx4172-tool,.tnx-office-module):hover {
    border-color:var(--qx-blue)!important;box-shadow:var(--qx-lift)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx4172-app-icon,.tnx-office-module-icon,.tnx-office-avatar) {
    background:linear-gradient(145deg,var(--qx-soft),var(--qx-accent-soft))!important;
    color:var(--qx-blue)!important;border:1px solid var(--qx-accent-line)!important;
    border-radius:14px!important;box-shadow:inset 0 1px 0 #ffffff22!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx4172-app-content > strong,.tnx4172-tool-link strong,.tnx4172-section-title h3,.tnx4203-module-heading h4,.tnx4188-workflows h3,.tnx-office-module h3,.tnx-office-panel h3) {
    color:var(--qx-ink)!important;-webkit-text-fill-color:currentColor!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx4172-app-desc,.tnx4172-app-content > small,.tnx4172-tool-link small,.tnx4172-section-title small,.tnx4203-module-heading > span,.tnx4188-workflows p,.tnx-office-module p,.tnx-office-panel > p) {
    color:var(--qx-muted)!important;-webkit-text-fill-color:currentColor!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .tnx-office {
    --office-ink:var(--qx-ink)!important;--office-muted:var(--qx-muted)!important;
    --office-blue:var(--qx-blue)!important;--office-line:var(--qx-line)!important;--office-soft:var(--qx-soft)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .tnx-office-module {
    background-image:radial-gradient(ellipse 100px 90px at 100% 0,#1d9fce0a,transparent)!important;
    border-top:3px solid var(--qx-cyan)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .tnx-office-module:nth-child(3n+2) {
    border-top-color:var(--qx-blue)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .tnx-office-module:nth-child(3n) {
    border-top-color:var(--qx-violet)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx4188-open,.tnx-office-module > b) {
    color:var(--qx-blue)!important;-webkit-text-fill-color:currentColor!important;
    border-color:var(--qx-accent-line)!important;font-weight:750!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .tnx4188-open {
    background:var(--qx-accent-soft)!important;border-radius:10px!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .tnx-office-module > b {
    padding-top:14px;border-top:1px solid var(--qx-line)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx4188-stats > a,.tnx-office-stats > div) {
    background:linear-gradient(125deg,var(--qx-surface),var(--qx-soft))!important;
    border-color:var(--qx-line)!important;border-radius:15px!important;box-shadow:var(--qx-shadow)!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx4188-stats strong,.tnx-office-stats b,.kpis > a b) {
    color:var(--qx-blue)!important;-webkit-text-fill-color:currentColor!important;
    font-family:var(--qi388-font)!important;font-variant-numeric:tabular-nums;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx4188-stats span,.tnx-office-stats span) {
    color:var(--qx-muted)!important;-webkit-text-fill-color:currentColor!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx-office-tabs > a.on,.tnx4172-modes button[aria-pressed="true"]) {
    background:var(--qx-accent-soft)!important;color:var(--qx-blue)!important;
    border-color:var(--qx-accent-line)!important;
  }

  /* A navy quantum masthead anchors both the unified home and existing Admin
     launcher. The network is a background, so it cannot intercept input. */
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx-office-hero,.tnx4172-launcher .tnx4172-hero,.tnx4172-launcher .tnx4186-hero) {
    background-image:var(--qx-network),radial-gradient(ellipse at 90% 10%,#3a6fa42e,transparent 65%),var(--qx-hero)!important;
    background-size:440px 100%,cover,cover!important;background-position:right center,center,center!important;background-repeat:no-repeat!important;
    border:1px solid #456084!important;border-radius:22px!important;
    color:#f3f8ff!important;box-shadow:0 12px 32px #061a3920!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx-office-hero,.tnx4172-hero,.tnx4186-hero) :is(h2,h3) {
    color:#f3f8ff!important;-webkit-text-fill-color:currentColor!important;
    letter-spacing:-.035em!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx-office-hero,.tnx4172-hero,.tnx4186-hero) :is(p,.tnx-office-company) {
    color:#bed1eb!important;-webkit-text-fill-color:currentColor!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell :is(.tnx-office-hero .tnx-office-eyebrow,.tnx4172-hero .tnx4172-eyebrow,.tnx4186-hero .tnx4172-eyebrow) {
    color:#8de6f3!important;-webkit-text-fill-color:currentColor!important;letter-spacing:.13em!important;
  }
  :root[data-area="app"][data-theme] body.quantum-workspace4244 .app.qi388-shell .tnx4188-orbit {
    filter:drop-shadow(0 10px 28px #56d5ed48)!important;
  }

  /* Authentication uses the same actions and field treatment. The existing QI
     orbital architecture stays graphical, while form labels stay theme-aware. */
  :root[data-area="auth"][data-theme] body.quantum-workspace4244 .tnx-auth-page {
    background:radial-gradient(ellipse 680px 540px at 0 20%,#168dc80c,transparent 75%),radial-gradient(ellipse 560px 460px at 100% 70%,#7357cc0c,transparent 75%),var(--qx-canvas)!important;
  }
  :root[data-area="auth"][data-theme] body.quantum-workspace4244 .tnx-auth-page :is(.tnx-auth-header,.tnx-auth-card) {
    background:var(--qx-surface)!important;border-color:var(--qx-line)!important;color:var(--qx-ink)!important;
  }
  :root[data-area="auth"][data-theme] body.quantum-workspace4244 .tnx-auth-page .tnx-auth-card {
    border-radius:24px!important;box-shadow:0 16px 52px #123b7917!important;
  }
  :root[data-area="auth"][data-theme] body.quantum-workspace4244 .tnx-auth-page .qi41-auth-story :is(h1,h1 em) {
    color:var(--qx-ink)!important;-webkit-text-fill-color:currentColor!important;background:none!important;
  }
  :root[data-area="auth"][data-theme] body.quantum-workspace4244 .tnx-auth-page .qi41-auth-story h1 em {
    color:var(--qx-blue)!important;
  }
  :root[data-area="auth"][data-theme] body.quantum-workspace4244 .tnx-auth-page :is(.qi41-auth-story > p,.tnx-auth-subtitle,.tnx-auth-back,.tnx-auth-footer) {
    color:var(--qx-muted)!important;-webkit-text-fill-color:currentColor!important;
  }
  :root[data-area="auth"][data-theme] body.quantum-workspace4244 .tnx-auth-page .qi41-architecture {
    background-image:var(--qx-network),var(--qx-hero)!important;
    background-size:cover,cover!important;background-position:center!important;
    border:1px solid #456084!important;border-radius:22px!important;box-shadow:0 12px 32px #061a3918!important;
    color:#edf7ff!important;
  }
  :root[data-area="auth"][data-theme] body.quantum-workspace4244 .tnx-auth-page .qi41-architecture :is(b,strong) {
    color:#eaf4ff!important;-webkit-text-fill-color:currentColor!important;
  }
  :root[data-area="auth"][data-theme] body.quantum-workspace4244 .tnx-auth-page .qi41-architecture :is(span:not(.qi41-ring),.qi41-flow > i) {
    color:#a9dbf0!important;-webkit-text-fill-color:currentColor!important;
  }
  :root[data-area="auth"][data-theme] body.quantum-workspace4244 .tnx-auth-page .tnx-auth-rolebar {
    background:var(--qx-soft)!important;border-color:var(--qx-line)!important;color:var(--qx-secondary)!important;
  }
  :root[data-area="auth"][data-theme] body.quantum-workspace4244 .tnx-auth-page .tabs button.on {
    background:var(--qx-accent-soft)!important;color:var(--qx-blue)!important;border-color:var(--qx-accent-line)!important;
  }
}

/* Standalone client entry has its own stylesheet and semantic .button controls.
   These rules share the visual language, without changing its preview layout. */
html:root body.quantum-workspace4244[data-qi-surface="client"] {
  --ink:var(--qx-ink);--muted:var(--qx-muted);--blue:var(--qx-blue);--line:var(--qx-line);
  --pale:var(--qx-accent-soft);--soft:var(--qx-soft);
  --qi-canvas:var(--qx-canvas);--qi-paper:var(--qx-surface);--qi-soft:var(--qx-soft);
  --qi-soft-blue:var(--qx-accent-soft);--qi-ink:var(--qx-ink);--qi-muted:var(--qx-muted);
  --qi-line:var(--qx-line);--qi-line-strong:var(--qx-line-strong);--qi-blue:var(--qx-blue);
  background:var(--qx-canvas)!important;color:var(--qx-ink)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] :is(.nav,.signin-card,.workspace-preview,.type-button,.chosen-workspace,.preview-top,.preview-content,.preview-main,.preview-foot) {
  background:var(--qx-surface)!important;border-color:var(--qx-line)!important;color:var(--qx-ink)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] :is(.hero,.workspace-section) {
  background:radial-gradient(ellipse at 80% 15%,#268fdc0b,transparent 62%),var(--qx-canvas)!important;
  border-color:var(--qx-line)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] :is(h1,h2,h3,h4) {
  color:var(--qx-ink)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] :is(.hero h1 span,.eyebrow,.text-link,.brand-blue,.card-symbol,.chosen-icon) {
  color:var(--qx-blue)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] :is(.lead,.trust-line,.signin-note,.signin-help,.section-intro p,.welcome-title p,.word small,.nav nav a,.help,.preview-tag) {
  color:var(--qx-muted)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] :is(.chosen-workspace small,.type-button small,.preview-areas small,.choice-status,.signin-help a,.preview-foot) {
  color:var(--qx-muted)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] :is(.card-symbol,.chosen-icon,.type-symbol,.preview-areas span,.steps li > span,.preview-tag) {
  background:var(--qx-accent-soft)!important;color:var(--qx-blue)!important;border-color:var(--qx-accent-line)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] .preview-areas > div {
  background:var(--qx-soft)!important;border-color:var(--qx-line)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] :is(.signin-card,.workspace-preview) {
  border-radius:22px!important;box-shadow:var(--qx-lift)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] .button {
  border-radius:11px!important;min-height:46px!important;font-weight:700!important;
  transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] .button.primary {
  background:var(--qx-primary)!important;color:#fff!important;border-color:#326cbd!important;
  box-shadow:0 4px 14px #2354bd25!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] .button.primary:hover {
  background:var(--qx-primary-hover)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] :is(.button.secondary,.type-button) {
  background:var(--qx-surface)!important;color:var(--qx-secondary)!important;border-color:var(--qx-line-strong)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] .type-button:is(.is-selected,[aria-pressed="true"]) {
  background:var(--qx-accent-soft)!important;border-color:var(--qx-blue)!important;
  color:var(--qx-ink)!important;box-shadow:0 0 0 1px var(--qx-accent-line)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] :is(.preview-rail,.preview-brand) {
  background:var(--qx-hero)!important;color:#ebf5ff!important;border-color:#456084!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] .preview-rail :is(.rail-item,.rail-end) {
  color:#bed1eb!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] .preview-rail .rail-item.active {
  background:#25476b!important;color:#a0edfa!important;border-color:#4b829b!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] .welcome-title {
  background-image:repeating-radial-gradient(ellipse at 100% 20%,transparent 0 28px,#5ecce817 29px 30px,transparent 31px 56px),var(--qx-hero)!important;
  background-size:340px 100%,cover!important;background-position:right center,center!important;
  background-repeat:no-repeat!important;border-color:#456084!important;border-radius:18px!important;padding:26px;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] .welcome-title :is(h2,h3) {
  color:#f3f8ff!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] .welcome-title p {
  color:#bed1eb!important;
}
html:root body.quantum-workspace4244[data-qi-surface="client"] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
  outline:3px solid var(--qx-focus)!important;outline-offset:4px!important;
}

/* The standalone verified workspace uses existing SVG icons and CSS orbits.
   Its strict CSP forbids data images; its hero therefore uses gradients only. */
html:root body.quantum-workspace4244[data-qi-surface="workspace"] {
  --qi-canvas:var(--qx-canvas);--qi-paper:var(--qx-surface);--qi-soft:var(--qx-soft);
  --qi-soft-blue:var(--qx-accent-soft);--qi-ink:var(--qx-ink);--qi-muted:var(--qx-muted);
  --qi-line:var(--qx-line);--qi-line-strong:var(--qx-line-strong);--qi-blue:var(--qx-blue);
  background:var(--qx-canvas)!important;color:var(--qx-ink)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.rail,.topbar,.insight,.selector,.tile,.quick-card,.info,.experience-panel,.client-scope) {
  background:var(--qx-surface)!important;border-color:var(--qx-line)!important;
  color:var(--qx-ink)!important;box-shadow:var(--qx-shadow)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .rail {
  background:linear-gradient(165deg,var(--qx-surface),var(--qx-soft))!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.rail-bottom,.connection,.filter-wrap,.client-role) {
  background:var(--qx-soft)!important;border-color:var(--qx-line)!important;color:var(--qx-secondary)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.brand,.breadcrumb b,.insight strong,.selector h2,.section-head h2,.tile > b,.quick-card b,.info h3,.client-section-title h3) {
  color:var(--qx-ink)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.brand small,.side-group-label,.rail-foot,.rail-bottom p,.insight-top,.insight small,.selector p,.selector-actions label,.section-subtitle,.tile > p,.quick-card small,.hint,.experience-note,.footer-note,.info p) {
  color:var(--qx-muted)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.rail-links a,.portal-link,.client-secure-link,.info-link) {
  color:var(--qx-secondary)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .rail-links a:is(.selected,[aria-current="page"]) {
  background:var(--qx-accent-soft)!important;color:var(--qx-blue)!important;
  box-shadow:inset 3px 0 var(--qx-cyan),inset 0 0 0 1px var(--qx-accent-line)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .rail-links a:hover {
  background:var(--qx-hover)!important;color:var(--qx-blue)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .hero {
  background:radial-gradient(ellipse at 90% 10%,#3a6fa449,transparent 65%),var(--qx-hero)!important;
  border:1px solid #456084!important;color:#f3f8ff!important;box-shadow:0 12px 32px #061a3920!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .hero h1 {
  color:#f3f8ff!important;-webkit-text-fill-color:currentColor!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .hero :is(p,.eyebrow) {
  color:#bed1eb!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .hero .eyebrow {
  color:#8de6f3!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .orbit {
  border-color:#79dded80!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .orbit-two {
  border-color:#b69afc99!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .orb-core {
  background:radial-gradient(circle at 35% 25%,#79d9ee40,#18365b 60%,#181e43)!important;
  border-color:#75c9e073!important;box-shadow:0 0 42px #5ebfde30!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.primary,.hero-primary) {
  background:var(--qx-primary)!important;border:1px solid #5e92d0!important;
  color:#fff!important;border-radius:11px!important;min-height:44px!important;
  box-shadow:0 4px 12px #2354bd25!important;font-weight:700!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.primary,.hero-primary):hover {
  background:var(--qx-primary-hover)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .hero-secondary {
  background:#ffffff0d!important;border:1px solid #7894b8!important;color:#edf7ff!important;
  border-radius:11px!important;min-height:44px!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.ghost,.pin,.filters button,.experience-controls button) {
  background:var(--qx-surface)!important;color:var(--qx-secondary)!important;
  border-color:var(--qx-line-strong)!important;border-radius:10px!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.pin.is-pinned,.filters button.active,.experience-controls button[aria-pressed="true"]) {
  background:var(--qx-accent-soft)!important;color:var(--qx-blue)!important;border-color:var(--qx-accent-line)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(select,input) {
  background:var(--qx-surface)!important;color:var(--qx-ink)!important;
  border-color:var(--qx-line-strong)!important;border-radius:10px!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] input::placeholder {
  color:var(--qx-muted)!important;opacity:1!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.brand-mark,.tile-icon,.insight-icon:not(.success)) {
  background:linear-gradient(145deg,var(--qx-soft),var(--qx-accent-soft))!important;
  color:var(--qx-blue)!important;border:1px solid var(--qx-accent-line)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.tile-category,.tile-footer,.quick-action,.eyebrow.soft) {
  color:var(--qx-blue)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .tile {
  border-top:3px solid var(--qx-cyan)!important;border-radius:18px!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .tile-wrap:nth-child(3n+2) .tile {
  border-top-color:var(--qx-blue)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] .tile-wrap:nth-child(3n) .tile {
  border-top-color:var(--qx-violet)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(.tile,.quick-card):hover {
  border-color:var(--qx-blue)!important;box-shadow:var(--qx-lift)!important;
}
html:root body.quantum-workspace4244[data-qi-surface="workspace"] :is(a,button,input,select,textarea,summary,[tabindex]):focus-visible {
  outline:3px solid var(--qx-focus)!important;outline-offset:3px!important;
}

@media (prefers-reduced-motion:reduce) {
  @layer qi48 {
    :root:is([data-area="app"],[data-area="auth"])[data-theme] body.quantum-workspace4244 :is(.app.qi388-shell,.tnx-auth-page,.modal,.lookpop) .btn {
      transition:none!important;
    }
  }
  html:root body.quantum-workspace4244[data-qi-surface="client"] .button {transition:none!important}
}
