/* Final desktop parity layer. Keep this file last in base.html. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/Dx4kXJAl.woff2?__ui=ui-11.1.182") format("woff2");
}

:root {
  --builder-desktop-gutter: 60px;
}

@media (min-width: 821px) {
  html,
  body {
    background: #121b3d !important;
    color: rgba(226, 232, 240, .92) !important;
  }

  /* One transparent grid/ambient layer; the canvas still owns the animated
     pulse and meteor signals. */
  body::before {
    content: "" !important;
    display: block !important;
    position: fixed !important;
    inset: -18% !important;
    z-index: 0 !important;
    pointer-events: none !important;
    background-image:
      linear-gradient(rgba(130, 167, 241, .16) 1px, transparent 1px),
      linear-gradient(90deg, rgba(130, 167, 241, .16) 1px, transparent 1px),
      radial-gradient(ellipse at 14% 74%, rgba(38, 102, 224, .28), transparent 44%),
      radial-gradient(ellipse at 76% 38%, rgba(91, 77, 196, .22), transparent 42%) !important;
    background-size: 20px 20px, 20px 20px, 145% 145%, 145% 145% !important;
    background-position: 0 0, 0 0, 0 0, 0 0 !important;
    filter: none !important;
    opacity: .34 !important;
    animation: none !important;
  }

  body::after {
    content: none !important;
    display: none !important;
  }

  .builder-effect-canvas {
    opacity: .86 !important;
    mix-blend-mode: screen !important;
  }

  .topbar {
    min-height: 60px !important;
    height: 60px !important;
    padding: 0 16px !important;
    background: rgba(11, 15, 28, .54) !important;
    border-bottom-color: rgba(255, 255, 255, .14) !important;
    box-shadow: 0 10px 30px rgba(2, 6, 23, .12) !important;
    backdrop-filter: blur(20px) saturate(135%) !important;
  }

  .topbar,
  .topbar .topbar-title,
  .topbar .desktop-nav,
  .topbar .desktop-nav .nav-tab,
  .topbar .account-trigger,
  .topbar .account-name,
  .topbar .account-email {
    font-family: "Inter", "SF Pro Text", "Segoe UI", system-ui, sans-serif !important;
  }

  .topbar-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }

  .desktop-nav {
    height: 60px !important;
    align-items: center !important;
    gap: 0 !important;
  }

  .desktop-nav .nav-tab {
    min-height: 44px !important;
    padding: 8px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: rgba(226, 232, 240, .76) !important;
    font-size: 13.44px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
  }

  .desktop-nav .nav-tab:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, .067) !important;
  }

  .desktop-nav .nav-tab.active {
    color: #fff !important;
    background: rgba(59, 130, 246, .11) !important;
    box-shadow: inset 0 -2px 0 var(--primary-color, #3b82f6) !important;
  }

  /* Three 20px grid cells of breathing room on each desktop side. */
  main.workspace,
  main.workspace:not(:has(#panel-machine.active)),
  main.workspace:has(#panel-machine.active) {
    width: min(1600px, 100%) !important;
    max-width: 1600px !important;
    margin-inline: auto !important;
    padding-inline: var(--builder-desktop-gutter) !important;
  }
}

/* V11.1.70-EOF - final Mesh fallback parity for every viewport. */
html {
  background: #080c14 !important;
}
html body {
  background: transparent !important;
  background-color: transparent !important;
}
html body > .builder-mesh-layer > .builder-mesh-canvas {
  display: block !important;
}

/* V11.1.63 - authoritative final override (must remain last). */
@media (min-width: 821px) {
  html { background: #080c14 !important; }
  html body {
    position: relative !important;
    background: transparent !important;
    background-color: transparent !important;
  }
  html body::before,
  html body::after,
  html body .app-shell::before,
  html body .app-shell::after,
  html body > .builder-mesh-layer::before,
  html body > .builder-mesh-layer::after {
    content: none !important;
    display: none !important;
    background: none !important;
    animation: none !important;
    opacity: 0 !important;
  }
  html body > .builder-mesh-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: -4 !important;
    display: block !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background: #0b0f1c !important;
  }
  html body > .builder-mesh-layer[hidden] { display: none !important; }
  html body > .builder-mesh-layer > .builder-mesh-canvas {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    opacity: 1 !important;
  }
  html body > canvas.builder-effect-canvas {
    position: fixed !important;
    inset: 0 !important;
    z-index: -2 !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
  }
  html body > #root,
  html body > .app-shell,
  html body .app-shell,
  html body .app-shell main.workspace {
    position: relative !important;
    z-index: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
  }
  html body .app-shell article.build-order-card.project-dependent-content,
  html body .app-shell .project-empty-prompt {
    background: rgba(15, 23, 42, .5) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }
  html body .app-shell .project-popover,
  html body .app-shell .machine-popover {
    background: rgba(9, 16, 29, .98) !important;
    background-color: rgba(9, 16, 29, .98) !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  html[data-mesh-under="off"] body > .builder-mesh-layer { display: none !important; }
}

/* V11.1.66-final - keep the build canvas neutral glass and the picker layers
   opaque.  This block intentionally lives at EOF so it wins over the legacy
   parity blocks above it. */
@media (min-width: 821px) {
  html body .app-shell article.build-order-card.project-dependent-content,
  html body .app-shell .project-empty-prompt {
    background: rgba(255, 255, 255, .035) !important;
    background-color: rgba(255, 255, 255, .035) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
    backdrop-filter: blur(16px) saturate(105%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(105%) !important;
  }

  html body .app-shell .project-popover,
  html body .app-shell .machine-popover {
    background: #0b1220 !important;
    background-color: #0b1220 !important;
    background-image: none !important;
    border-color: #2d4163 !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .62) !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (max-width: 820px) {
  html body .app-shell article.build-order-card.project-dependent-content,
  html body .app-shell .project-empty-prompt {
    background: rgba(255, 255, 255, .035) !important;
    background-color: rgba(255, 255, 255, .035) !important;
    background-image: none !important;
    backdrop-filter: blur(12px) saturate(105%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(105%) !important;
  }

  html body .app-shell .project-popover,
  html body .app-shell .machine-popover {
    background: #0b1220 !important;
    background-color: #0b1220 !important;
    background-image: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* V11.1.69 - the source keeps html on its #080c14 fallback, body transparent,
   and the live Mesh canvas as a block inside the fixed wrapper at every size. */
html {
  background: #080c14 !important;
}
html body {
  background: transparent !important;
  background-color: transparent !important;
}
html body > .builder-mesh-layer > .builder-mesh-canvas {
  display: block !important;
}

/* V11.1.66 - final canvas/menu treatment requested by the desktop parity pass.
   The build surface is a neutral glass pane: no blue paint of its own, only a
   very light white veil and the live background showing through.  Picker
   layers are separate controls and must remain solid so their rows stay
   readable over the animated background. */
@media (min-width: 821px) {
  html body .app-shell article.build-order-card.project-dependent-content,
  html body .app-shell .project-empty-prompt {
    background: rgba(255, 255, 255, .035) !important;
    background-color: rgba(255, 255, 255, .035) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
    backdrop-filter: blur(16px) saturate(105%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(105%) !important;
  }

  html body .app-shell .project-popover,
  html body .app-shell .machine-popover {
    background: #0b1220 !important;
    background-color: #0b1220 !important;
    background-image: none !important;
    border-color: #2d4163 !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .62) !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (max-width: 820px) {
  html body .app-shell article.build-order-card.project-dependent-content,
  html body .app-shell .project-empty-prompt {
    background: rgba(255, 255, 255, .035) !important;
    background-color: rgba(255, 255, 255, .035) !important;
    background-image: none !important;
    backdrop-filter: blur(12px) saturate(105%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(105%) !important;
  }

  html body .app-shell .project-popover,
  html body .app-shell .machine-popover {
    background: #0b1220 !important;
    background-color: #0b1220 !important;
    background-image: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* V11.1.56 - reproduce the source background stack: a Mesh underlay at -4
   and the selected Grid/pulse canvas at -2.  The animated canvas is mounted
   directly under <body>, not inside .app-shell. */
@media (min-width: 821px) {
  html body > .builder-mesh-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: -4 !important;
    display: block !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background: #0b0f1c !important;
  }

  html body > .builder-mesh-layer::before,
  html body > .builder-mesh-layer::after {
    content: "" !important;
    position: absolute !important;
    pointer-events: none !important;
    border-radius: 48% 52% 45% 55% !important;
  }

  html body > .builder-mesh-layer::before {
    inset: -24% -18% -18% 8% !important;
    background:
      radial-gradient(ellipse at 24% 56%, rgba(59, 82, 190, .42), transparent 44%),
      radial-gradient(ellipse at 72% 34%, rgba(39, 86, 177, .27), transparent 46%),
      radial-gradient(ellipse at 86% 82%, rgba(86, 73, 189, .20), transparent 50%) !important;
    filter: blur(30px) !important;
    opacity: .92 !important;
    transform: translate3d(-2%, -1%, 0) scale(1) !important;
    animation: builder-mesh 18s ease-in-out infinite alternate !important;
  }

  html body > .builder-mesh-layer::after {
    inset: 18% -18% -28% 28% !important;
    background:
      linear-gradient(145deg, rgba(76, 109, 222, .20), rgba(29, 56, 133, .08) 48%, transparent 72%),
      radial-gradient(ellipse at 18% 38%, rgba(77, 141, 255, .22), transparent 58%) !important;
    filter: blur(12px) !important;
    opacity: .78 !important;
    transform: rotate(13deg) !important;
    mix-blend-mode: screen !important;
  }

  html body > .builder-mesh-layer[hidden] {
    display: none !important;
  }

  html body > canvas.builder-effect-canvas,
  html body canvas.builder-effect-canvas {
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    z-index: -2 !important;
  }

  html[data-theme="grid"] body::before,
  html[data-theme="grid"] body::after {
    content: none !important;
    display: none !important;
    background: none !important;
    animation: none !important;
    opacity: 0 !important;
  }

  /* Turning off the optional underlay leaves the Grid canvas intact. */
  html[data-mesh-under="off"] body > .builder-mesh-layer {
    display: none !important;
  }
}

/* V11.1.37 - PC reference pass.
   The legacy parity sheet uses an important JetBrains Mono declaration and a
   blue ambient wash.  Keep this small, last-loaded block deliberately more
   specific so the desktop shell follows the source PC layout without
   changing the mobile drawer or the build data flow. */
@media (min-width: 821px) {
  html,
  body {
    background: #0b0f1c !important;
    color: rgba(226, 232, 240, .92) !important;
  }

  html body::before {
    background-image:
      linear-gradient(rgba(203, 213, 225, .075) 1px, transparent 1px),
      linear-gradient(90deg, rgba(203, 213, 225, .075) 1px, transparent 1px) !important;
    background-size: 20px 20px, 20px 20px !important;
    opacity: .22 !important;
  }

  html body .builder-effect-canvas {
    /* The canvas still renders the grid, pulse, and meteor signals; only the
       saturated wash is reduced so the glass surfaces stay transparent. */
    opacity: .58 !important;
    mix-blend-mode: screen !important;
  }

  /* Override the older important font declaration with a higher-specificity
     desktop shell rule.  DNA/code fields retain their deliberate mono face. */
  html body .app-shell,
  html body .app-shell .topbar,
  html body .app-shell .topbar *,
  html body .app-shell main.workspace,
  html body .app-shell main.workspace * {
    font-family: "Inter", "SF Pro Text", "Segoe UI", system-ui, sans-serif !important;
  }

  html body .app-shell .dna-input-wrap input,
  html body .app-shell .dna-input-wrap span,
  html body .app-shell code,
  html body .app-shell pre {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace !important;
  }

  html body .app-shell .topbar {
    min-height: 60px !important;
    height: 60px !important;
    padding: 0 16px !important;
    gap: 16px !important;
    background: rgba(11, 15, 28, .82) !important;
    border-bottom-color: rgba(255, 255, 255, .08) !important;
    backdrop-filter: blur(20px) saturate(112%) !important;
  }

  html body .app-shell .topbar-title {
    position: relative !important;
    flex: 0 0 auto !important;
    align-self: center !important;
    margin: 0 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 24px !important;
    /* The source wordmark does not force tracking; use the font's normal
       kerning so the title and nav do not look artificially compressed. */
    letter-spacing: normal !important;
    word-spacing: normal !important;
    color: rgba(248, 250, 252, .94) !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
  }

  html body .app-shell .desktop-nav {
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
    width: max-content !important;
    max-width: calc(100% - 360px) !important;
    height: 60px !important;
    margin: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    transform: translateX(-50%) !important;
  }

  html body .app-shell .desktop-nav .nav-tab {
    min-height: 44px !important;
    height: 44px !important;
    padding: 8px !important;
    gap: 0 !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-size: 13.44px !important;
    font-weight: 500 !important;
    line-height: 20.16px !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    font-kerning: normal !important;
    white-space: nowrap !important;
  }

  html body .app-shell .desktop-nav .nav-tab .ui-icon {
    width: 13.44px !important;
    height: 13.44px !important;
    flex: 0 0 13.44px !important;
    stroke-width: 1.8 !important;
  }

  /* Keep the icon and label in the same flex item as the source navbar.
     This avoids anonymous flex text affecting glyph spacing/kerning. */
  html body .app-shell .desktop-nav .nav-tab .tab-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    white-space: nowrap !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
    font-kerning: normal !important;
  }

  html body .app-shell .desktop-nav .nav-tab .tab-label > span {
    letter-spacing: normal !important;
    word-spacing: normal !important;
    font-kerning: normal !important;
  }

  /* Match the source PC breakpoints. At 1280px the source tightens the
     controls to .84rem and removes the inter-tab gap; wide desktop restores
     the .92rem controls, 12px horizontal padding, and a 4px tab gap. */
  html body .app-shell .desktop-nav .nav-tab {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    font-optical-sizing: auto !important;
    font-synthesis: none !important;
    text-rendering: optimizeLegibility !important;
  }

  html body .app-shell .desktop-nav .nav-tab .ui-icon {
    margin: 0 !important;
  }

  html body .app-shell .topbar-spacer {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  html body .app-shell .topbar > .account-trigger:not(.admin-avatar) {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 6px 0 auto !important;
    padding: 2px 13px 2px 0 !important;
    gap: 8px !important;
    border-radius: 24px !important;
    overflow: visible !important;
    background: rgba(255, 255, 255, .043) !important;
    border: 1px solid rgba(255, 255, 255, .09) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 13px !important;
  }

  /* ui_fixes.css has a more specific account selector than a generic
     descendant rule, so pin the two visible account text nodes explicitly. */
  html body .app-shell .topbar > button.account-trigger.avatar:not(.admin-avatar),
  html body .app-shell .topbar > button.account-trigger.avatar:not(.admin-avatar) .account-name {
    font-family: "Inter", "SF Pro Text", "Segoe UI", system-ui, sans-serif !important;
  }

  html body .app-shell .topbar > .account-trigger:not(.admin-avatar) .account-avatar-image {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    flex: 0 0 42px !important;
    aspect-ratio: 1 / 1 !important;
    margin: -2px 2px -2px -10px !important;
    border: 0 !important;
    border-radius: 50% !important;
    clip-path: circle(50% at 50% 50%) !important;
    object-fit: cover !important;
    overflow: hidden !important;
    background-color: transparent !important;
  }

  html body .app-shell .topbar > .account-trigger:not(.admin-avatar) .account-name {
    align-self: center !important;
    line-height: 13px !important;
    white-space: nowrap !important;
  }

  /* Neutral glass surfaces: brighter than the old navy cards, without a blue
     opaque panel that hides the grid and animated canvas underneath. */
  html body .app-shell .selector-strip,
  html body .app-shell .project-empty-prompt,
  html body .app-shell .card,
  html body .app-shell .project-card,
  html body .app-shell .form-card,
  html body .app-shell .machine-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, .065), rgba(255, 255, 255, .025)) !important;
    border-color: rgba(255, 255, 255, .12) !important;
    box-shadow: 0 14px 40px rgba(2, 6, 23, .16), inset 0 1px 0 rgba(255, 255, 255, .035) !important;
    backdrop-filter: blur(16px) saturate(108%) !important;
  }

  html body .app-shell .machine-choice,
  html body .app-shell .picker-trigger,
  html body .app-shell .project-popover {
    background: rgba(11, 15, 28, .58) !important;
    border-color: rgba(255, 255, 255, .10) !important;
    backdrop-filter: blur(16px) saturate(108%) !important;
  }
}

@media (min-width: 821px) and (max-width: 1399px) {
  html body .app-shell .topbar {
    padding-inline: 8px !important;
  }

  html body .app-shell .desktop-nav {
    gap: 0 !important;
  }

  html body .app-shell .desktop-nav .nav-tab {
    padding: 8px !important;
    font-size: .84rem !important;
    line-height: 20.16px !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
  }
}

@media (min-width: 1400px) {
  html body .app-shell .topbar {
    padding-inline: 16px !important;
  }

  html body .app-shell .desktop-nav {
    gap: 4px !important;
  }

  html body .app-shell .desktop-nav .nav-tab {
    padding: 8px 12px !important;
    font-size: .92rem !important;
    line-height: 20.16px !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
  }
}

/* V11.1.39 - final shell alignment.
   Keep the header and workspace on the same 60px desktop rhythm, restore the
   source wordmark treatment, and make the navigation readable over the
   transparent animated backdrop. */
html,
body {
  background: #0b0f1c !important;
}

html body .topbar {
  background: rgba(11, 15, 28, .72) !important;
}

html body .builder-effect-canvas {
  opacity: .34 !important;
  mix-blend-mode: screen !important;
  background: transparent !important;
}

/* The selector and empty-state shells are part of the same backdrop.  Keep
   them as neutral translucent glass on every viewport; blue is reserved for
   an actually selected/active control. */
html body .app-shell .selector-strip,
html body .app-shell .project-empty-prompt,
html body .app-shell .card,
html body .app-shell .project-card,
html body .app-shell .form-card,
html body .app-shell .machine-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, .055),
    rgba(255, 255, 255, .018)
  ) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 14px 40px rgba(2, 6, 23, .16),
    inset 0 1px 0 rgba(255, 255, 255, .035) !important;
  backdrop-filter: blur(16px) saturate(108%) !important;
}

html body .app-shell .selector-block {
  background: rgba(255, 255, 255, .022) !important;
  border-color: rgba(255, 255, 255, .08) !important;
}

html body .app-shell .machine-choice,
html body .app-shell .picker-trigger,
html body .app-shell .project-popover {
  background: rgba(11, 15, 28, .46) !important;
  border-color: rgba(255, 255, 255, .10) !important;
  backdrop-filter: blur(16px) saturate(108%) !important;
}

/* theme_parity.css also paints a blue radial wash on the grid theme.  Its
   attribute selector is more specific than a plain body rule, so override it
   explicitly: the canvas is the single owner of pulse/meteor motion. */
html[data-theme="grid"] body::before {
  content: "" !important;
  display: block !important;
  background-image:
    linear-gradient(rgba(203, 213, 225, .065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(203, 213, 225, .065) 1px, transparent 1px) !important;
  background-size: 20px 20px, 20px 20px !important;
  opacity: .14 !important;
  animation: none !important;
}

html[data-theme="grid"] body::after,
html[data-theme="grid"] .app-shell::before,
html[data-theme="grid"] .app-shell::after {
  content: none !important;
  display: none !important;
  background: none !important;
  opacity: 0 !important;
  animation: none !important;
}

@media (min-width: 1101px) {
  html body .app-shell main.workspace:has(#panel-queued.active),
  html body .app-shell main.workspace:has(#panel-processing.active),
  html body .app-shell main.workspace:has(#panel-completed.active) {
    width: min(1600px, 100%) !important;
    max-width: 1600px !important;
    margin-inline: auto !important;
    padding-inline: var(--builder-desktop-gutter) !important;
  }

  html body .app-shell .selector-strip,
  html body .app-shell .project-empty-prompt {
    width: 100% !important;
    margin-inline: 0 !important;
    box-sizing: border-box !important;
  }

  html body .app-shell .topbar {
    padding-inline: var(--builder-desktop-gutter) !important;
    background: rgba(11, 15, 28, .54) !important;
  }

  html body .app-shell .topbar-title {
    color: #b9d4ff !important;
    background: linear-gradient(
      to right,
      var(--primary-color, #75a9ff),
      var(--secondary-color, #b49aff)
    ) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
  }

  html body .app-shell .desktop-nav .nav-tab {
    color: rgba(248, 250, 252, .92) !important;
    gap: 4px !important;
    letter-spacing: normal !important;
    word-spacing: normal !important;
  }

  html body .app-shell .desktop-nav .nav-tab:hover,
  html body .app-shell .desktop-nav .nav-tab.active {
    color: #fff !important;
  }

  html body .app-shell .topbar > .account-trigger:not(.admin-avatar) {
    margin-right: 0 !important;
  }

  /* Keep the grid, pulse, and meteor strokes, but leave the surrounding
     canvas transparent enough that the neutral page color remains visible. */
  html body::before {
    opacity: .14 !important;
  }
}

/* V11.1.44 - transparent project selection canvas.
   The project picker is nested in the right selector column, so the legacy
   rules made its panel and every option look like an opaque navy card. Keep
   the picker on the same neutral glass canvas as the selector strip; blue is
   reserved for active/hovered choices. On desktop its outer edge follows the
   workspace's 60px gutter instead of stopping at the project column. */
html body .app-shell .project-popover {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, .045),
    rgba(255, 255, 255, .012)
  ) !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 24px 64px rgba(2, 6, 23, .22),
    inset 0 1px 0 rgba(255, 255, 255, .035) !important;
  backdrop-filter: blur(18px) saturate(108%) !important;
}

html body .app-shell .project-popover .picker-search,
html body .app-shell .project-popover .project-filter-row button,
html body .app-shell .project-popover .picker-option,
html body .app-shell .project-popover .picker-empty {
  background: rgba(255, 255, 255, .022) !important;
  border-color: rgba(255, 255, 255, .09) !important;
  box-shadow: none !important;
}

html body .app-shell .project-popover .picker-search input {
  background: transparent !important;
}

html body .app-shell .project-popover .project-filter-row button:hover,
html body .app-shell .project-popover .project-filter-row button.active,
html body .app-shell .project-popover .picker-option:hover,
html body .app-shell .project-popover .picker-option.selected {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, .18),
    rgba(59, 130, 246, .045)
  ) !important;
  border-color: rgba(96, 165, 250, .52) !important;
}

@media (min-width: 1101px) {
  /* The picker is a compact menu anchored to PROJECT.  The surrounding
     workspace, rather than this menu, owns the desktop 60px gutters. */
  html body .app-shell .project-selector-block > .project-popover {
    left: auto !important;
    right: -1px !important;
    width: min(480px, calc(100vw - 38px)) !important;
    max-width: 480px !important;
  }

  html body .app-shell .selector-strip,
  html body .app-shell .project-empty-prompt {
    background: rgba(255, 255, 255, .022) !important;
    border-color: rgba(255, 255, 255, .11) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .035),
      0 14px 40px rgba(2, 6, 23, .14) !important;
  }
}

/* V11.1.45 - desktop workspace gutter correction.
   The 60px measurement belongs to the complete build canvas (selector strip,
   project prompt, and selected-project card).  Keep the dropdown compact and
   let the workspace itself define the left/right edges. */
@media (min-width: 821px) {
  html body .app-shell main.workspace,
  html body .app-shell main.workspace:not(:has(#panel-machine.active)),
  html body .app-shell main.workspace:has(#panel-machine.active) {
    /* Use the viewport width rather than the scrollbar-excluded containing
       block so the visible desktop edges land at exactly 60px/60px. */
    width: calc(100vw - 120px) !important;
    max-width: none !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
    box-sizing: border-box !important;
  }
}

/* V11.1.50 - the build surface is a transparent glass layer.  The two picker
   menus stay opaque for readability, but their outer edges follow the full
   selector field instead of using a compact fixed width. */
html body .app-shell article.build-order-card.project-dependent-content {
  background: transparent !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 18px 48px rgba(2, 6, 23, .16),
    inset 0 1px 0 rgba(255, 255, 255, .045) !important;
  backdrop-filter: blur(18px) saturate(110%) !important;
}

html body .app-shell .project-empty-prompt {
  background: transparent !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 18px 48px rgba(2, 6, 23, .16),
    inset 0 1px 0 rgba(255, 255, 255, .045) !important;
  backdrop-filter: blur(18px) saturate(110%) !important;
}

html body .app-shell .project-popover {
  background: rgba(9, 16, 29, .98) !important;
  background-image: none !important;
  border-color: #2d4163 !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .62) !important;
  backdrop-filter: blur(20px) saturate(120%) !important;
}

html body .app-shell .project-popover .picker-search,
html body .app-shell .project-popover .picker-empty {
  background: #090f1b !important;
  border-color: #2b3b56 !important;
  box-shadow: none !important;
}

html body .app-shell .project-popover .project-filter-row button {
  background: #111c30 !important;
  border-color: #2b3b56 !important;
  box-shadow: none !important;
}

html body .app-shell .project-popover .picker-option {
  background: #0b1321 !important;
  border-color: rgba(255, 255, 255, .08) !important;
  box-shadow: none !important;
}

html body .app-shell .project-popover .project-filter-row button:hover,
html body .app-shell .project-popover .project-filter-row button.active,
html body .app-shell .project-popover .picker-option:hover,
html body .app-shell .project-popover .picker-option.selected {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, .18),
    rgba(59, 130, 246, .045)
  ) !important;
  border-color: rgba(96, 165, 250, .52) !important;
}

@media (min-width: 1101px) {
  html body .app-shell .selector-strip .machine-selector > .machine-popover,
  html body .app-shell .selector-strip .project-selector-block > .project-popover {
    left: -1px !important;
    right: -1px !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
  }
}

/* Completed keeps the license value inside Lock, so the note and action
   columns do not inherit the old ten-column proportions. */
#panel-completed .lock-cell {
  display: grid;
  gap: 3px;
  min-width: 0;
}

#panel-completed .lock-cell strong,
#panel-completed .lock-cell small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

#panel-completed .lock-cell small {
  color: rgba(148, 163, 184, .86);
  font-size: .72rem;
  letter-spacing: .04em;
}

@media (min-width: 821px) {
  #panel-completed table {
    width: 100% !important;
    min-width: 0 !important;
    table-layout: fixed !important;
  }

  #panel-completed th:nth-child(1), #panel-completed td:nth-child(1) { width: 8% !important; }
  #panel-completed th:nth-child(2), #panel-completed td:nth-child(2) { width: 11% !important; }
  #panel-completed th:nth-child(3), #panel-completed td:nth-child(3) { width: 9% !important; }
  #panel-completed th:nth-child(4), #panel-completed td:nth-child(4) { width: 14% !important; }
  #panel-completed th:nth-child(5), #panel-completed td:nth-child(5) { width: 6% !important; }
  #panel-completed th:nth-child(6), #panel-completed td:nth-child(6) { width: 17% !important; }
  #panel-completed th:nth-child(7), #panel-completed td:nth-child(7) { width: 11% !important; }
  #panel-completed th:nth-child(8), #panel-completed td:nth-child(8) { width: 12% !important; }
  #panel-completed th:nth-child(9), #panel-completed td:nth-child(9) { width: 12% !important; }
  #panel-completed td:nth-child(8) { white-space: normal !important; }
  #panel-completed td:nth-child(9) { white-space: nowrap !important; }
}

/* V11.1.51 - keep the main build surface neutral glass and make picker menus
   opaque. The selector controls are overlays, so their solid surface must
   not inherit the transparent treatment used by the workspace canvas. */
html body .app-shell .selector-strip,
html body .app-shell .project-empty-prompt,
html body .app-shell article.build-order-card.project-dependent-content {
  background: rgba(255, 255, 255, .018) !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 18px 48px rgba(2, 6, 23, .16),
    inset 0 1px 0 rgba(255, 255, 255, .045) !important;
  backdrop-filter: blur(20px) saturate(108%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(108%) !important;
}

html body .app-shell .project-popover,
html body .app-shell .machine-popover {
  background: #0b1220 !important;
  background-color: #0b1220 !important;
  background-image: none !important;
  border-color: #2d4163 !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .62) !important;
  opacity: 1 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body .app-shell .project-popover .picker-search,
html body .app-shell .project-popover .picker-empty,
html body .app-shell .project-popover .project-filter-row button,
html body .app-shell .project-popover .picker-option,
html body .app-shell .machine-popover .machine-option {
  background: #101a2b !important;
  background-color: #101a2b !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body .app-shell .project-popover .picker-search input {
  background: transparent !important;
}

html body .app-shell .project-popover .project-filter-row button:hover,
html body .app-shell .project-popover .project-filter-row button.active,
html body .app-shell .project-popover .picker-option:hover,
html body .app-shell .project-popover .picker-option.selected,
html body .app-shell .machine-popover .machine-option.selected {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, .22),
    rgba(59, 130, 246, .08)
  ) !important;
  border-color: rgba(96, 165, 250, .58) !important;
}

/* V11.1.52 - let the grid remain visible through the main build canvas.
   Picker menus stay opaque above this surface; only the workspace cards are
   transparent glass. */
html body .app-shell .selector-strip,
html body .app-shell .project-empty-prompt,
html body .app-shell article.build-order-card.project-dependent-content {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}

/* V11.1.53 - both menus track their own selector field at every viewport.
   The one-pixel extension only covers the selector border, so the popover
   edges line up with the trigger instead of using the old fixed 420/480px
   fallback widths. */
html body .app-shell .selector-strip .machine-selector > .machine-popover,
html body .app-shell .selector-strip .project-selector-block > .project-popover {
  left: -1px !important;
  right: auto !important;
  width: calc(100% + 2px) !important;
  max-width: none !important;
  box-sizing: border-box !important;
}

/* V11.1.54 - source desktop glass parity.
   The upstream build details surface is a neutral .5 glass layer.  The grid
   remains legible because its background canvas is opaque to its own pixels
   (normal blending), while the order card and its inner panels stay above it.
   Picker menus are intentionally excluded: their opaque rules above remain
   the source-compatible dropdown treatment. */
@media (min-width: 821px) {
  html body .app-shell .builder-effect-canvas {
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    z-index: 0 !important;
  }

  html body .app-shell article.build-order-card.project-dependent-content {
    background: rgba(15, 23, 42, .5) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  html body .app-shell article.build-order-card.project-dependent-content::before {
    content: none !important;
    display: none !important;
    opacity: 0 !important;
  }

  html body .app-shell .project-empty-prompt {
    background: rgba(15, 23, 42, .5) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  html body .app-shell .usage-instructions {
    background:
      linear-gradient(135deg, rgba(99, 102, 241, .09), rgba(15, 23, 42, .30)),
      rgba(15, 23, 42, .22) !important;
    border-color: rgba(255, 255, 255, .08) !important;
    box-shadow: none !important;
    backdrop-filter: blur(8px) saturate(110%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(110%) !important;
  }

  html body .app-shell .write-gate-panel,
  html body .app-shell .native-build-options {
    background: rgba(15, 23, 42, .22) !important;
    border-color: rgba(255, 255, 255, .08) !important;
    backdrop-filter: blur(8px) saturate(110%) !important;
    -webkit-backdrop-filter: blur(8px) saturate(110%) !important;
  }
}

/* V11.1.57 - keep the background stack visible on desktop.  The source page
   leaves body transparent so its fixed Mesh (-4) and Grid canvas (-2) remain
   behind the glass application shell; only html owns the fallback base color. */
@media (min-width: 821px) {
  html {
    background: #080c14 !important;
  }

  html body {
    position: relative !important;
    background: transparent !important;
    background-color: transparent !important;
  }

  html body .app-shell,
  html body .app-shell main.workspace,
  html body .app-shell main.workspace::before,
  html body .app-shell main.workspace::after {
    background-color: transparent !important;
  }
}

/* V11.1.58 - source desktop background parity.
   appearance.js mounts the animated canvas and mesh layer directly under
   <body>.  Keep only html's fallback color; a painted body would cover the
   negative-z Mesh layer and make the Grid/pulse/meteor canvas disappear. */
@media (min-width: 821px) {
  html {
    background: #080c14 !important;
  }

  html body {
    position: relative !important;
    background: transparent !important;
    background-color: transparent !important;
  }

  html body::before,
  html body::after,
  html[data-theme="grid"] body::before,
  html[data-theme="grid"] body::after,
  html[data-theme="grid"] .app-shell::before,
  html[data-theme="grid"] .app-shell::after {
    content: none !important;
    display: none !important;
    background: none !important;
    animation: none !important;
    opacity: 0 !important;
  }

  html body > canvas.builder-effect-canvas,
  html body canvas.builder-effect-canvas {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    z-index: 0 !important;
  }

  html body > .builder-mesh-layer {
    z-index: -4 !important;
  }

  html body > #root,
  html body > .app-shell,
  html body .app-shell,
  html body .app-shell main.workspace {
    background: transparent !important;
    background-image: none !important;
  }

  html body .app-shell article.build-order-card.project-dependent-content,
  html body .app-shell .project-empty-prompt {
    background:
      radial-gradient(circle at 50% 0%, rgba(96, 165, 250, .06), transparent 58%),
      rgba(2, 6, 23, .32) !important;
    border-color: rgba(255, 255, 255, .08) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3) !important;
    backdrop-filter: blur(14px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(120%) !important;
  }
}

/* The source Mesh preset is blue-violet rather than a flat blue wash. */
@media (min-width: 821px) {
  html body > .builder-mesh-layer::before {
    background:
      radial-gradient(ellipse at 24% 56%, rgba(59, 82, 190, .34), transparent 44%),
      radial-gradient(ellipse at 72% 34%, rgba(39, 86, 177, .22), transparent 46%),
      radial-gradient(ellipse at 58% 78%, rgba(91, 65, 190, .30), transparent 48%),
      radial-gradient(ellipse at 86% 82%, rgba(86, 73, 189, .18), transparent 50%) !important;
  }
}

/* V11.1.62 - source desktop MeshGradient stack.
   The source page owns two real full-screen canvases: Mesh at -4 and the
   selected Grid/pulse effect at -2.  All legacy CSS pseudo-gradients are
   disabled here so they cannot paint a blue veil over either canvas. */
@media (min-width: 821px) {
  html {
    background: #080c14 !important;
  }

  html body {
    position: relative !important;
    background: transparent !important;
    background-color: transparent !important;
  }

  html body::before,
  html body::after,
  html body .app-shell::before,
  html body .app-shell::after,
  html body > .builder-mesh-layer::before,
  html body > .builder-mesh-layer::after {
    content: none !important;
    display: none !important;
    background: none !important;
    animation: none !important;
    opacity: 0 !important;
  }

  html body > .builder-mesh-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: -4 !important;
    display: block !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background: #0b0f1c !important;
  }

  html body > .builder-mesh-layer[hidden] {
    display: none !important;
  }

  html body > .builder-mesh-layer > .builder-mesh-canvas {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    opacity: 1 !important;
  }

  html body > canvas.builder-effect-canvas {
    position: fixed !important;
    inset: 0 !important;
    z-index: -2 !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
  }

  html body > #root,
  html body > .app-shell,
  html body .app-shell,
  html body .app-shell main.workspace {
    position: relative !important;
    z-index: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
  }

  html body .app-shell article.build-order-card.project-dependent-content,
  html body .app-shell .project-empty-prompt {
    background: rgba(15, 23, 42, .5) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }

  /* Menus remain solid, as on the source site; only the page canvas is glass. */
  html body .app-shell .project-popover,
  html body .app-shell .machine-popover {
    background: rgba(9, 16, 29, .98) !important;
    background-color: rgba(9, 16, 29, .98) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html[data-mesh-under="off"] body > .builder-mesh-layer {
    display: none !important;
  }
}

/* V11.1.60 - final source-layer values.  Body stays transparent so the live
   Mesh/Grid layers remain visible through the desktop glass surface. */
@media (min-width: 821px) {
  html {
    background: #080c14 !important;
  }

  html body {
    position: relative !important;
    background: transparent !important;
    background-color: transparent !important;
  }

  html body > canvas.builder-effect-canvas,
  html body canvas.builder-effect-canvas {
    opacity: 1 !important;
    mix-blend-mode: normal !important;
    z-index: 0 !important;
  }

  html body .app-shell article.build-order-card.project-dependent-content,
  html body .app-shell .project-empty-prompt {
    background:
      radial-gradient(circle at 50% 0%, rgba(96, 165, 250, .06), transparent 58%),
      rgba(2, 6, 23, .22) !important;
    background-image: radial-gradient(circle at 50% 0%, rgba(96, 165, 250, .06), transparent 58%) !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  html body > .builder-mesh-layer::before {
    background:
      radial-gradient(ellipse at 24% 56%, rgba(59, 82, 190, .34), transparent 44%),
      radial-gradient(ellipse at 72% 34%, rgba(39, 86, 177, .22), transparent 46%),
      radial-gradient(ellipse at 58% 78%, rgba(91, 65, 190, .30), transparent 48%),
      radial-gradient(ellipse at 86% 82%, rgba(86, 73, 189, .18), transparent 50%) !important;
  }

  /* V11.1.64 authoritative declarations: the live Mesh canvas owns the
     underlay; old pseudo-gradient declarations above are neutralized. */
  html body::before,
  html body::after,
  html body .app-shell::before,
  html body .app-shell::after,
  html body > .builder-mesh-layer::before,
  html body > .builder-mesh-layer::after {
    content: none !important;
    display: none !important;
    background: none !important;
    animation: none !important;
    opacity: 0 !important;
  }
  html body > .builder-mesh-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: -4 !important;
    display: block !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background: #0b0f1c !important;
  }
  html body > .builder-mesh-layer[hidden] { display: none !important; }
  html body > .builder-mesh-layer > .builder-mesh-canvas {
    position: absolute !important;
    inset: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    opacity: 1 !important;
  }
  html body > canvas.builder-effect-canvas {
    position: fixed !important;
    inset: 0 !important;
    z-index: -2 !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    opacity: 1 !important;
    mix-blend-mode: normal !important;
  }
  html body > #root,
  html body > .app-shell,
  html body .app-shell,
  html body .app-shell main.workspace {
    position: relative !important;
    z-index: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
  }
  html body .app-shell article.build-order-card.project-dependent-content,
  html body .app-shell .project-empty-prompt {
    background: rgba(15, 23, 42, .5) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, .08) !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .3) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
  }
  html body .app-shell .project-popover,
  html body .app-shell .machine-popover {
    background: rgba(9, 16, 29, .98) !important;
    background-color: rgba(9, 16, 29, .98) !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  html[data-mesh-under="off"] body > .builder-mesh-layer { display: none !important; }
}

/* V11.1.68-EOF - final canvas/menu treatment.  This block is deliberately
   after all legacy parity rules so the requested neutral glass surface and
   solid picker layers cannot be overridden by an earlier declaration. */
@media (min-width: 821px) {
  /* Source MeshGradient wrapper: fixed, full viewport, directly below app. */
  html body > .builder-mesh-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: -1 !important;
    display: block !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background-color: rgb(11, 15, 28) !important;
    background-image: none !important;
  }
  html body > .builder-mesh-layer > .builder-mesh-canvas {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    pointer-events: none !important;
    opacity: 1 !important;
  }
  html body > canvas.builder-effect-canvas {
    z-index: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
  }
  html[data-theme="mesh"] body > canvas.builder-effect-canvas { display: none !important; }

  html body .app-shell article.build-order-card.project-dependent-content,
  html body .app-shell .project-empty-prompt {
    background: rgba(255, 255, 255, .035) !important;
    background-color: rgba(255, 255, 255, .035) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
    backdrop-filter: blur(16px) saturate(105%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(105%) !important;
  }

  html body .app-shell .project-popover,
  html body .app-shell .machine-popover {
    background: #0b1220 !important;
    background-color: #0b1220 !important;
    background-image: none !important;
    border-color: #2d4163 !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, .62) !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

@media (max-width: 820px) {
  html body > .builder-mesh-layer {
    position: fixed !important;
    inset: 0 !important;
    z-index: -1 !important;
    display: block !important;
    overflow: hidden !important;
    pointer-events: none !important;
    background-color: rgb(11, 15, 28) !important;
    background-image: none !important;
  }
  html[data-theme="mesh"] body > canvas.builder-effect-canvas { display: none !important; }

  html body .app-shell article.build-order-card.project-dependent-content,
  html body .app-shell .project-empty-prompt {
    background: rgba(255, 255, 255, .035) !important;
    background-color: rgba(255, 255, 255, .035) !important;
    background-image: none !important;
    backdrop-filter: blur(12px) saturate(105%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(105%) !important;
  }

  html body .app-shell .project-popover,
  html body .app-shell .machine-popover {
    background: #0b1220 !important;
    background-color: #0b1220 !important;
    background-image: none !important;
    opacity: 1 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* V11.1.71 - source MeshGradient baseline (must remain last). */
html {
  background: #080c14 !important;
  background-color: #080c14 !important;
}

html body {
  position: relative !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  background: transparent !important;
  background-color: transparent !important;
}

html body > .builder-mesh-layer > .builder-mesh-canvas {
  position: static !important;
  inset: auto !important;
  display: block !important;
}

/* V11.1.73 - authoritative build canvas and picker surfaces.
   The build canvas is a neutral glass surface: it must reveal the grid/mesh
   underneath without inheriting the old navy wash.  Picker layers are
   intentionally solid so text and options do not blend with the backdrop. */
html body .app-shell .selector-strip {
  background: rgba(255, 255, 255, .035) !important;
  background-color: rgba(255, 255, 255, .035) !important;
  background-image: none !important;
  border-color: rgba(255, 255, 255, .12) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .045) !important;
  backdrop-filter: blur(16px) saturate(105%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(105%) !important;
}

html body .app-shell .selector-strip .selector-block,
html body .app-shell .selector-strip .machine-choice,
html body .app-shell .selector-strip .picker-trigger {
  background: rgba(255, 255, 255, .018) !important;
  background-color: rgba(255, 255, 255, .018) !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body .app-shell .project-popover,
html body .app-shell .machine-popover,
html body .app-shell .project-popover .picker-search,
html body .app-shell .project-popover .picker-empty,
html body .app-shell .project-popover .project-filter-row button,
html body .app-shell .project-popover .picker-option,
html body .app-shell .machine-popover .machine-option {
  background: #0b1220 !important;
  background-color: #0b1220 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html body .app-shell .project-popover,
html body .app-shell .machine-popover {
  opacity: 1 !important;
  border-color: #2d4163 !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .62) !important;
}

html body .app-shell .project-popover .picker-search,
html body .app-shell .project-popover .project-filter-row button,
html body .app-shell .project-popover .picker-option,
html body .app-shell .machine-popover .machine-option {
  border-color: #263a5b !important;
}

/* V11.1.72 - source account-console header and version-only footer mark. */
.account-popover.account-console {
  top: calc(100% + 8px) !important;
  right: 0 !important;
  width: min(560px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-height: calc(100dvh - 76px) !important;
  padding: 0 !important;
  overflow: auto !important;
  border: 1px solid rgba(126, 168, 255, .22) !important;
  border-radius: 16px !important;
  background: rgba(9, 16, 29, .98) !important;
  box-shadow: 0 24px 72px rgba(0, 0, 0, .58), 0 0 0 1px rgba(62, 131, 255, .08) !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
}

.account-console .account-console-profile {
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) minmax(190px, 1.15fr) !important;
  align-items: center !important;
  gap: 14px !important;
  margin: 0 !important;
  padding: 20px !important;
  border-bottom: 1px solid rgba(148, 163, 184, .14) !important;
}

.account-console .account-console-profile-details {
  display: grid !important;
  min-width: 0 !important;
  gap: 4px !important;
}

.account-console .account-console-name {
  color: #f4f7ff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

.account-console .account-console-profile-details > strong:not(.account-console-name) {
  color: #aab8cc !important;
  font-size: 11px !important;
  font-weight: 500 !important;
}

.account-console .account-console-profile-details > small {
  margin: 0 !important;
  color: #71819a !important;
  font-size: 10px !important;
}

.account-console .account-console-header-actions {
  display: grid !important;
  min-width: 0 !important;
  gap: 8px !important;
}

.account-console .account-console-change-avatar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 34px !important;
  padding: 7px 11px !important;
  border: 1px solid rgba(148, 163, 184, .2) !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, .045) !important;
  color: #dce8fb !important;
}

.account-console .account-console-change-avatar:hover,
.account-console .account-console-change-avatar:focus-visible {
  border-color: rgba(126, 168, 255, .48) !important;
  background: rgba(62, 131, 255, .14) !important;
  outline: none !important;
}

.account-console .account-console-name-editor {
  display: grid !important;
  grid-template-columns: 18px auto minmax(0, 1fr) 28px !important;
  align-items: center !important;
  gap: 7px !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.account-console .account-console-name-editor > .settings-icon {
  width: 16px !important;
  height: 16px !important;
  color: #8193ad !important;
}

.account-console .account-console-name-editor > span {
  display: block !important;
  min-width: 0 !important;
}

.account-console .account-console-name-editor > span strong,
.account-console .account-console-name-editor > span small {
  display: block !important;
  white-space: nowrap !important;
}

.account-console .account-console-name-editor > span strong {
  color: #c5d3e6 !important;
  font-size: 10px !important;
}

.account-console .account-console-name-editor > span small {
  color: #71819a !important;
  font-size: 8px !important;
}

.account-console .account-console-name-editor input {
  grid-column: auto !important;
  min-width: 0 !important;
  min-height: 30px !important;
  padding: 5px 8px !important;
  border: 1px solid rgba(148, 163, 184, .2) !important;
  border-radius: 7px !important;
  background: rgba(4, 9, 18, .62) !important;
  color: #f1f6ff !important;
  font-size: 11px !important;
}

.account-console .account-console-name-editor .settings-save-name {
  position: static !important;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
  border: 1px solid rgba(126, 168, 255, .32) !important;
  border-radius: 7px !important;
  background: transparent !important;
}

.account-console .account-customization {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 0 !important;
}

.account-console .account-setting-row:not(.account-console-name-editor):not(.account-console-change-avatar) {
  min-height: 42px !important;
  border-color: rgba(148, 163, 184, .12) !important;
  border-radius: 9px !important;
  background: rgba(255, 255, 255, .025) !important;
}

.account-console .account-setting-row:not(.account-console-name-editor):not(.account-console-change-avatar):hover,
.account-console .account-setting-row:not(.account-console-name-editor):not(.account-console-change-avatar):focus-visible {
  border-color: rgba(148, 163, 184, .3) !important;
  background: rgba(255, 255, 255, .07) !important;
  outline: none !important;
}

.account-console > .account-admin-link {
  margin: 0 16px 0 !important;
}

.account-console > form {
  margin: 0 !important;
  padding: 0 16px 16px !important;
}

.version-chip.builder-version {
  right: 18px !important;
  bottom: 18px !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: rgba(202, 214, 232, .68) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
  text-transform: none !important;
  backdrop-filter: none !important;
}

.version-chip.builder-version:hover,
.version-chip.builder-version:focus-visible {
  border: 0 !important;
  background: transparent !important;
  color: #e6efff !important;
  outline: none !important;
}

footer .footer-brand {
  display: none !important;
}

footer .footer-version {
  display: block !important;
  margin-left: auto !important;
  color: rgba(202, 214, 232, .68) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: .08em !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  .account-console .account-console-profile {
    grid-template-columns: 40px minmax(0, 1fr) !important;
    padding: 16px !important;
  }

  .account-console .account-console-header-actions {
    grid-column: 1 / -1 !important;
  }

  .account-console .account-console-name-editor {
    grid-template-columns: 18px auto minmax(0, 1fr) 28px !important;
  }
}

/* V11.1.92 - authoritative desktop order parity.  The source desktop page
   has a 16px viewport gutter, one 44px command row, and a two-column search
   control (search + All Fields) beside Refresh/Auto.  Older compatibility
   rules above intentionally remain for narrow screens, but must not win here. */
@media (min-width: 1101px) {
  html body .app-shell main.workspace,
  html body .app-shell main.workspace:not(:has(#panel-machine.active)),
  html body .app-shell main.workspace:has(#panel-machine.active) {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }

  #panel-queued .orders-command-bar,
  #panel-processing .orders-command-bar,
  #panel-completed .orders-command-bar {
    width: 100% !important;
    min-height: 73px !important;
    margin: 0 0 16px !important;
    padding: 14px 16px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0 !important;
    box-sizing: border-box !important;
  }

  #panel-queued .orders-command-primary,
  #panel-processing .orders-command-primary,
  #panel-completed .orders-command-primary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    height: 44px !important;
  }

  #panel-queued .search-controls,
  #panel-processing .search-controls,
  #panel-completed .search-controls {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    min-width: 0 !important;
  }

  #panel-queued .search-input-wrapper,
  #panel-processing .search-input-wrapper,
  #panel-completed .search-input-wrapper {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 180px !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 100% !important;
    height: 44px !important;
    min-width: 0 !important;
  }

  #panel-queued .field-filter-trigger,
  #panel-processing .field-filter-trigger,
  #panel-completed .field-filter-trigger {
    width: 180px !important;
    min-width: 180px !important;
    height: 44px !important;
  }

  #panel-queued .refresh-controls,
  #panel-processing .refresh-controls,
  #panel-completed .refresh-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-width: 224px !important;
    height: 44px !important;
  }

  #panel-queued .orders-viewer,
  #panel-processing .orders-viewer,
  #panel-completed .orders-viewer {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* Source empty-state card. The table is toggled by app.js only when rows are
   present, so an empty status view does not pay for table layout at all. */
.orders-empty-state {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 196px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 14px 36px rgba(2, 6, 23, .14);
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
}
.orders-empty-state[hidden] { display: none !important; }
.orders-empty-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border: 1px solid rgba(191, 219, 254, .18);
  border-radius: 14px;
  background: rgba(191, 219, 254, .10);
  color: #bcd6ff;
}
.orders-empty-icon .ui-icon { width: 21px; height: 21px; }
.orders-empty-state h2 {
  margin: 0;
  color: #f1f5fb;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}
.orders-empty-state p {
  max-width: 28rem;
  margin: 7px 0 0;
  color: #bac7d8;
  font-size: .9rem;
  line-height: 1.45;
}

/* Risk/Event/IP/Account/Time/Status/Action share the glass surface; none of
   the cells or sticky action column should render a black tile. */
.admin-shell .security-table-wrap,
.admin-shell .security-table,
.admin-shell .security-table * {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.admin-shell .security-table th:last-child,
.admin-shell .security-table td:last-child {
  position: static !important;
  border-left-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.admin-shell .security-table .security-risk,
.admin-shell .security-table .security-state,
.admin-shell .security-table .security-ip,
.admin-shell .security-table .security-action {
  border-color: transparent !important;
}

/* Keep the security section on the page glass surface.  The source desktop
   console does not wrap the Risk/Event/IP/Account/Time/Status/Action grid in
   a separate opaque tile; retain borders and row states without the dark slab. */
.admin-shell .security-center,
.admin-shell .security-table-wrap {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.admin-shell .security-center::before {
  opacity: .35 !important;
}

@media (min-width: 1101px) {
  #panel-queued .orders-table.orders-table-dense,
  #panel-processing .orders-table.orders-table-dense,
  #panel-completed .orders-table.orders-table-dense {
    table-layout: fixed !important;
    min-width: 0 !important;
  }
  #panel-queued .orders-table.orders-table-dense thead th,
  #panel-queued .orders-table.orders-table-dense tbody td,
  #panel-processing .orders-table.orders-table-dense thead th,
  #panel-processing .orders-table.orders-table-dense tbody td,
  #panel-completed .orders-table.orders-table-dense thead th,
  #panel-completed .orders-table.orders-table-dense tbody td {
    min-width: 0 !important;
    overflow: hidden !important;
    padding-inline: clamp(.18rem, .34vw, .42rem) !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: clamp(.75rem, .52rem + .28vw, .9rem) !important;
  }
  #panel-queued .orders-table.orders-table-dense .order-cell-time,
  #panel-processing .orders-table.orders-table-dense .order-cell-time,
  #panel-completed .orders-table.orders-table-dense .order-cell-time,
  #panel-queued .orders-table.orders-table-dense .note-editor-cell,
  #panel-processing .orders-table.orders-table-dense .note-editor-cell,
  #panel-completed .orders-table.orders-table-dense .note-editor-cell {
    width: 100% !important;
    min-width: 0 !important;
  }
  #panel-queued .orders-table.orders-table-dense .note-edit-form,
  #panel-processing .orders-table.orders-table-dense .note-edit-form,
  #panel-completed .orders-table.orders-table-dense .note-edit-form,
  #panel-queued .orders-table.orders-table-dense .order-row-actions,
  #panel-processing .orders-table.orders-table-dense .order-row-actions,
  #panel-completed .orders-table.orders-table-dense .order-row-actions {
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 1100px) {
  #panel-queued .orders-table.orders-table-dense,
  #panel-processing .orders-table.orders-table-dense,
  #panel-completed .orders-table.orders-table-dense { min-width: 1500px !important; }
}

/* V11.1.91 - desktop source parity for Pending/Processing/Completed command
   bars.  The source keeps search and refresh controls inside a single primary
   row; matching that hierarchy prevents the toolbar from changing geometry
   when switching tabs or when the viewport narrows. */
#panel-queued .orders-command-bar,
#panel-processing .orders-command-bar,
#panel-completed .orders-command-bar {
  display: grid !important;
  position: relative !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: 0 0 16px !important;
  padding: 14px 16px !important;
  border: 1px solid #ffffff14 !important;
  border-radius: 12px !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .4) !important;
  box-shadow: 0 4px 16px #0000002e !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
#panel-queued .orders-command-primary,
#panel-processing .orders-command-primary,
#panel-completed .orders-command-primary {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) auto !important;
  align-items: start !important;
  gap: 10px !important;
  min-width: 0 !important;
}
#panel-queued .search-controls,
#panel-processing .search-controls,
#panel-completed .search-controls,
#panel-queued .search-input-wrapper,
#panel-processing .search-input-wrapper {
  min-width: 0 !important;
}
#panel-completed .search-input-wrapper { min-width: 0 !important; }
#panel-queued .search-input-container,
#panel-processing .search-input-container,
#panel-completed .search-input-container {
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #a8b6c9 !important;
  position: relative !important;
}
#panel-queued .search-input-container > .ui-icon,
#panel-processing .search-input-container > .ui-icon,
#panel-completed .search-input-container > .ui-icon {
  position: absolute !important;
  top: 50% !important;
  left: 14px !important;
  width: 17px !important;
  height: 17px !important;
  color: #94a3b8 !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}
#panel-queued .search-input,
#panel-processing .search-input,
#panel-completed .search-input {
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 10px 16px 10px 40px !important;
  border: 1px solid #ffffff1a !important;
  border-radius: 8px !important;
  outline: 0 !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .33) !important;
  color: #e8eef7 !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  transition: all .2s !important;
}
#panel-queued .search-input::placeholder,
#panel-processing .search-input::placeholder,
#panel-completed .search-input::placeholder { color: #8e9caf !important; }
#panel-queued .search-input:focus,
#panel-processing .search-input:focus,
#panel-completed .search-input:focus {
  border-color: var(--primary-color, #3b82f6) !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .42) !important;
}
#panel-queued .search-input:focus,
#panel-processing .search-input:focus,
#panel-completed .search-input:focus {
  background: rgba(var(--surface-rgb, 18, 28, 48), .66) !important;
  outline: none !important;
}
#panel-queued .refresh-controls,
#panel-processing .refresh-controls,
#panel-completed .refresh-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  min-width: 150px !important;
  white-space: nowrap !important;
}
#panel-queued .refresh-btn,
#panel-processing .refresh-btn,
#panel-completed .refresh-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 44px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
}
#panel-queued .orders-command-bar > .footer-service,
#panel-processing .orders-command-bar > .footer-service,
#panel-completed .orders-command-bar > .footer-service,
#panel-queued .refresh-controls .footer-service,
#panel-processing .refresh-controls .footer-service,
#panel-completed .refresh-controls .footer-service {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: .72rem !important;
  white-space: nowrap !important;
}

/* Admin risk tables: no opaque black cell, badge, or sticky-action blocks. */
.admin-shell .security-table,
.admin-shell .security-table thead,
.admin-shell .security-table tbody,
.admin-shell .security-table tr,
.admin-shell .security-table th,
.admin-shell .security-table td,
.admin-shell .security-table th::before,
.admin-shell .security-table td::before,
.admin-shell .security-table .security-risk,
.admin-shell .security-table .security-state,
.admin-shell .security-table .security-ip,
.admin-shell .security-table .security-action {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
}
.admin-shell .security-table th:last-child,
.admin-shell .security-table td:last-child {
  border-left-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.admin-shell .security-table .security-action {
  border-color: transparent !important;
}
.admin-shell .security-table tr:hover td,
.admin-shell .security-table tr:hover td:last-child,
.admin-shell .security-table .security-action:hover,
.admin-shell .security-table .security-action:focus-visible {
  background-color: rgba(var(--primary-rgb, 62, 131, 255), .07) !important;
  background-image: none !important;
}

@media (max-width: 768px) {
  #panel-queued .orders-command-primary,
  #panel-processing .orders-command-primary,
  #panel-completed .orders-command-primary {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  #panel-queued .refresh-controls,
  #panel-processing .refresh-controls,
  #panel-completed .refresh-controls {
    min-width: 0 !important;
  }
}

/* V11.1.82 - source modal structure and rich custom-color picker.  The
   production site uses shared-modal-* geometry and an HSV field; keep the
   older builder-settings hooks as aliases for pages that already mounted the
   dialog before this stylesheet loaded. */
.builder-settings-modal.shared-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2000 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  background: rgba(0, 0, 0, .6) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}
.builder-settings-modal.shared-modal-overlay[hidden] { display: none !important; }
.builder-settings-modal .builder-settings-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
}
.builder-settings-dialog.shared-modal-card {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: min(420px, 94vw) !important;
  min-width: 280px !important;
  max-width: min(440px, 94vw) !important;
  max-height: min(780px, calc(100dvh - 40px)) !important;
  overflow: auto !important;
  padding: 24px !important;
  border: 1px solid rgba(255, 255, 255, .1) !important;
  border-radius: 12px !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .96) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, .5), inset 0 1px rgba(255, 255, 255, .04) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}
.builder-settings-dialog.shared-modal-card > header.shared-modal-header {
  position: sticky !important;
  top: -24px !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 24px !important;
  margin: -24px -24px 0 !important;
  padding: 18px 20px 15px !important;
  border-bottom: 1px solid rgba(255, 255, 255, .1) !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .92) !important;
  backdrop-filter: blur(14px) !important;
}
.builder-settings-dialog.shared-modal-card > header h2 {
  margin: 0 !important;
  color: #e2e8f0 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

/* V11.1.91 authoritative order-toolbar cascade.  This block is deliberately
   last so the legacy compatibility rules above cannot re-introduce the old
   three-column toolbar after the source-shaped wrappers are mounted. */
#panel-queued .orders-command-bar,
#panel-processing .orders-command-bar,
#panel-completed .orders-command-bar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  align-items: stretch !important;
  gap: 12px !important;
  position: relative !important;
}
#panel-queued .orders-command-primary,
#panel-processing .orders-command-primary,
#panel-completed .orders-command-primary {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) auto !important;
  align-items: start !important;
  gap: 10px !important;
  min-width: 0 !important;
}
#panel-queued .search-controls,
#panel-processing .search-controls,
#panel-completed .search-controls,
#panel-queued .search-input-wrapper,
#panel-processing .search-input-wrapper,
#panel-completed .search-input-wrapper {
  display: block !important;
  min-width: 0 !important;
  width: 100% !important;
}
#panel-queued .search-input-container,
#panel-processing .search-input-container,
#panel-completed .search-input-container {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
#panel-queued .search-input-container .search-icon,
#panel-processing .search-input-container .search-icon,
#panel-completed .search-input-container .search-icon {
  position: absolute !important;
  top: 50% !important;
  left: 14px !important;
  z-index: 1 !important;
  width: 17px !important;
  height: 17px !important;
  color: #999 !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}
#panel-queued .search-input,
#panel-processing .search-input,
#panel-completed .search-input {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 10px 16px 10px 40px !important;
  border: 1px solid #ffffff1a !important;
  border-radius: 8px !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .33) !important;
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  outline: none !important;
  transition: all .2s !important;
}
#panel-queued .search-input:focus,
#panel-processing .search-input:focus,
#panel-completed .search-input:focus {
  border-color: var(--primary-color, #3b82f6) !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .66) !important;
}
#panel-queued .refresh-controls,
#panel-processing .refresh-controls,
#panel-completed .refresh-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}
#panel-queued .orders-command-bar .refresh-btn,
#panel-processing .orders-command-bar .refresh-btn,
#panel-completed .orders-command-bar .refresh-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-height: 44px !important;
  padding: 6px 12px !important;
}
#panel-queued .refresh-controls .footer-service,
#panel-processing .refresh-controls .footer-service,
#panel-completed .refresh-controls .footer-service {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: .72rem !important;
  white-space: nowrap !important;
}

/* Let Chromium skip painting off-screen security rows while keeping the full
   list, filters and copy actions available to the admin. */
.admin-shell .security-table tbody tr,
.admin-shell .admin-login-table tbody tr {
  content-visibility: auto;
  contain: layout style paint;
  contain-intrinsic-size: 0 44px;
}

@media (max-width: 768px) {
  #panel-queued .orders-command-primary,
  #panel-processing .orders-command-primary,
  #panel-completed .orders-command-primary {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  #panel-queued .refresh-controls,
  #panel-processing .refresh-controls,
  #panel-completed .refresh-controls {
    justify-content: flex-start !important;
  }
  #panel-queued .orders-command-bar .refresh-btn,
  #panel-processing .orders-command-bar .refresh-btn,
  #panel-completed .orders-command-bar .refresh-btn {
    width: 44px !important;
    padding: 0 !important;
  }
  #panel-queued .refresh-label,
  #panel-processing .refresh-label,
  #panel-completed .refresh-label { display: none !important; }
}

/* V11.1.92-final - desktop order geometry wins over legacy compatibility. */
@media (min-width: 1101px) {
  html body .app-shell main.workspace:has(#panel-queued.active),
  html body .app-shell main.workspace:has(#panel-processing.active),
  html body .app-shell main.workspace:has(#panel-completed.active) {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  #panel-queued .orders-command-bar,
  #panel-processing .orders-command-bar,
  #panel-completed .orders-command-bar {
    width: 100% !important;
    height: 73px !important;
    min-height: 73px !important;
    margin: 0 0 16px !important;
    padding: 14px 16px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 0 !important;
    box-sizing: border-box !important;
  }
  #panel-queued .orders-command-primary,
  #panel-processing .orders-command-primary,
  #panel-completed .orders-command-primary {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
    height: 44px !important;
  }
  #panel-queued .search-controls,
  #panel-processing .search-controls,
  #panel-completed .search-controls {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    min-width: 0 !important;
  }
  #panel-queued .search-input-wrapper,
  #panel-processing .search-input-wrapper,
  #panel-completed .search-input-wrapper {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 180px !important;
    align-items: stretch !important;
    gap: 16px !important;
    width: 100% !important;
    height: 44px !important;
    min-width: 0 !important;
  }
  #panel-queued .field-filter-trigger,
  #panel-processing .field-filter-trigger,
  #panel-completed .field-filter-trigger {
    width: 180px !important;
    min-width: 180px !important;
    height: 44px !important;
  }
  #panel-queued .refresh-controls,
  #panel-processing .refresh-controls,
  #panel-completed .refresh-controls {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-width: 224px !important;
    height: 44px !important;
  }
  #panel-queued .orders-viewer,
  #panel-processing .orders-viewer,
  #panel-completed .orders-viewer {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
}

/* The source uses a glass empty-state panel instead of a table placeholder. */
.orders-empty-state {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 196px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 14px 36px rgba(2, 6, 23, .14);
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
}
.orders-empty-state[hidden] { display: none !important; }
.orders-empty-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border: 1px solid rgba(191, 219, 254, .18);
  border-radius: 14px;
  background: rgba(191, 219, 254, .10);
  color: #bcd6ff;
}
.orders-empty-icon .ui-icon { width: 21px; height: 21px; }
.orders-empty-state h2 {
  margin: 0;
  color: #f1f5fb;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}
.orders-empty-state p {
  max-width: 28rem;
  margin: 7px 0 0;
  color: #bac7d8;
  font-size: .9rem;
  line-height: 1.45;
}

/* Remove black tiles from every Risk/Event/IP/Account/Time/Status/Action
   cell while retaining text and hover affordances. */
.admin-shell .security-table-wrap,
.admin-shell .security-table,
.admin-shell .security-table * {
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.admin-shell .security-table th:last-child,
.admin-shell .security-table td:last-child {
  position: static !important;
  border-left-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.admin-shell .security-table .security-risk,
.admin-shell .security-table .security-state,
.admin-shell .security-table .security-ip,
.admin-shell .security-table .security-action {
  border-color: transparent !important;
}

@media (min-width: 1101px) {
  #panel-queued .orders-table.orders-table-dense,
  #panel-processing .orders-table.orders-table-dense,
  #panel-completed .orders-table.orders-table-dense {
    table-layout: fixed !important;
    min-width: 0 !important;
  }
  #panel-queued .orders-table.orders-table-dense thead th,
  #panel-queued .orders-table.orders-table-dense tbody td,
  #panel-processing .orders-table.orders-table-dense thead th,
  #panel-processing .orders-table.orders-table-dense tbody td,
  #panel-completed .orders-table.orders-table-dense thead th,
  #panel-completed .orders-table.orders-table-dense tbody td {
    min-width: 0 !important;
    overflow: hidden !important;
    padding-inline: clamp(.18rem, .34vw, .42rem) !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: clamp(.75rem, .52rem + .28vw, .9rem) !important;
  }
  #panel-queued .orders-table.orders-table-dense .order-cell-time,
  #panel-processing .orders-table.orders-table-dense .order-cell-time,
  #panel-completed .orders-table.orders-table-dense .order-cell-time,
  #panel-queued .orders-table.orders-table-dense .note-editor-cell,
  #panel-processing .orders-table.orders-table-dense .note-editor-cell,
  #panel-completed .orders-table.orders-table-dense .note-editor-cell,
  #panel-queued .orders-table.orders-table-dense .order-row-actions,
  #panel-processing .orders-table.orders-table-dense .order-row-actions,
  #panel-completed .orders-table.orders-table-dense .order-row-actions {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}
@media (max-width: 1100px) {
  #panel-queued .orders-table.orders-table-dense,
  #panel-processing .orders-table.orders-table-dense,
  #panel-completed .orders-table.orders-table-dense { min-width: 1500px !important; }
}
.builder-settings-dialog .shared-modal-close {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #64748b !important;
  font-size: 20px !important;
  line-height: 1 !important;
}
.builder-settings-dialog .shared-modal-close:hover,
.builder-settings-dialog .shared-modal-close:focus-visible {
  border: 0 !important;
  background: transparent !important;
  color: #e2e8f0 !important;
  outline: none !important;
}
.builder-settings-dialog.shared-modal-card .settings-view {
  padding: 0 !important;
}
.builder-settings-dialog .theme-color-custom {
  display: grid !important;
  grid-template-columns: minmax(0, 1.2fr) minmax(132px, .8fr) !important;
  gap: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.builder-settings-dialog .theme-color-custom[hidden] { display: none !important; }
.builder-settings-dialog .theme-color-field-panel {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.builder-settings-dialog .theme-color-field {
  position: relative !important;
  min-height: 116px !important;
  overflow: hidden !important;
  cursor: crosshair !important;
  touch-action: none !important;
  border: 1px solid rgba(var(--primary-rgb, 59, 130, 246), .24) !important;
  border-radius: 8px !important;
  background: linear-gradient(to top, #000, transparent), linear-gradient(to right, #fff, var(--theme-picker-hue-color, #3b82f6)) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 10px 24px rgba(0, 0, 0, .22) !important;
}
.builder-settings-dialog .theme-color-field::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  pointer-events: none !important;
  opacity: .78 !important;
  background: radial-gradient(circle at 22% 16%, rgba(255,255,255,.34), transparent 28%), radial-gradient(circle at 82% 78%, rgba(0,0,0,.25), transparent 36%) !important;
}
.builder-settings-dialog .theme-color-field-marker {
  position: absolute !important;
  z-index: 2 !important;
  left: calc(var(--theme-picker-saturation, 77) * 1%) !important;
  top: calc((100 - var(--theme-picker-value, 96)) * 1%) !important;
  width: 14px !important;
  height: 14px !important;
  transform: translate(-50%, -50%) !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 2px 8px rgba(0,0,0,.5) !important;
}
.builder-settings-dialog .theme-hue-row {
  display: grid !important;
  grid-template-columns: 18px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.builder-settings-dialog .theme-hue-icon {
  color: rgba(255,255,255,.66) !important;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)) !important;
  font-size: 13px !important;
}
.builder-settings-dialog .theme-hue-slider {
  width: 100% !important;
  height: 20px !important;
  margin: 0 !important;
  cursor: pointer !important;
  appearance: none !important;
  background: transparent !important;
  accent-color: var(--theme-picker-hue-color, #3b82f6) !important;
}
.builder-settings-dialog .theme-hue-slider::-webkit-slider-runnable-track {
  height: 9px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg,#ef4444,#f59e0b,#22c55e,#06b6d4,#8b5cf6,#ec4899,#ef4444) !important;
}
.builder-settings-dialog .theme-hue-slider::-webkit-slider-thumb {
  width: 16px !important;
  height: 16px !important;
  margin-top: -4px !important;
  appearance: none !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: var(--theme-picker-hue-color, #3b82f6) !important;
  box-shadow: 0 0 0 1px rgba(0,0,0,.45), 0 3px 8px rgba(0,0,0,.42) !important;
}
.builder-settings-dialog .theme-hue-slider::-moz-range-track {
  height: 9px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 999px !important;
  background: linear-gradient(90deg,#ef4444,#f59e0b,#22c55e,#06b6d4,#8b5cf6,#ec4899,#ef4444) !important;
}
.builder-settings-dialog .theme-hue-slider::-moz-range-thumb {
  width: 12px !important;
  height: 12px !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  background: var(--theme-picker-hue-color, #3b82f6) !important;
}
.builder-settings-dialog .theme-color-value-panel {
  display: grid !important;
  grid-template-rows: 34px minmax(46px, auto) !important;
  gap: 6px !important;
  min-width: 0 !important;
}
.builder-settings-dialog .theme-color-hex-input {
  width: 100% !important;
  min-height: 34px !important;
  padding: 0 10px !important;
  border: 1px solid rgba(255,255,255,.1) !important;
  border-radius: 7px !important;
  background: rgba(255,255,255,.04) !important;
  color: #e2e8f0 !important;
  font-family: var(--font-mono, Consolas, monospace) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
}
.builder-settings-dialog .theme-color-hex-input:focus {
  border-color: rgba(var(--primary-rgb, 59,130,246), .55) !important;
  background: rgba(255,255,255,.075) !important;
  box-shadow: 0 0 0 2px rgba(var(--primary-rgb, 59,130,246), .2) !important;
  outline: none !important;
}
.builder-settings-dialog .theme-color-value-panel .theme-palette-swatches {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 4px !important;
  min-height: 46px !important;
}
.builder-settings-dialog .theme-color-value-panel .theme-palette-swatch {
  min-height: 20px !important;
  border-radius: 5px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 -8px 14px rgba(0,0,0,.12) !important;
}
.builder-settings-dialog .theme-native-color-fallback {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.builder-settings-dialog .sound-switch-track { display: block !important; }
.builder-settings-dialog .toggle-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
}
.builder-settings-dialog .toggle-row .toggle-switch { order: 0 !important; flex: 0 0 36px !important; }
.builder-settings-dialog .toggle-row .toggle-label { order: 1 !important; flex: 1 1 auto !important; }
.builder-settings-dialog .sound-volume-section { margin-bottom: 14px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.builder-settings-dialog .sound-volume-slider { step: .01 !important; }
.builder-settings-dialog .theme-palette-select[hidden] { display: none !important; }

@media (max-width: 430px) {
  .builder-settings-dialog .theme-color-custom { grid-template-columns: 1fr !important; }
  .builder-settings-dialog .theme-color-field { min-height: 104px !important; }
}

/* Source typography is Inter.  Keep only data/code fields on the mono face;
   the older parity layer applied JetBrains Mono to every node and made the
   navigation visibly heavier than the production desktop builder. */
html,
body,
body button,
body input,
body textarea,
body select,
body option,
.app-shell,
.app-shell *:not(svg):not(path) {
  font-family: "Inter", "SF Pro Text", "Segoe UI", system-ui, -apple-system, sans-serif !important;
  font-synthesis: none !important;
  letter-spacing: normal !important;
}
code,
pre,
.dna-input-wrap,
.dna-input-wrap input,
.dropdown-token,
  .account-console-status strong,
table code,
.job-id,
.job-dna {
  font-family: var(--font-mono, "JetBrains Mono", Consolas, monospace) !important;
}

/* FontAwesome-style account glyphs are filled source icons, not stroked
   outline controls. */
.account-console svg[class*="dropdown-icon"],
.account-console svg[class*="account-console-"],
.account-console .check-icon {
  stroke: none !important;
  fill: currentColor !important;
}

/* V11.1.80 - source Theme/Sound settings parity.  Keep the existing modal
   mount and behavior, but use the production card, palette selector, custom
   color switch, and build-notification controls. */
.builder-settings-dialog.theme-modal-card {
  width: min(420px, 94vw) !important;
  min-width: 280px !important;
  max-width: min(440px, 94vw) !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 16px !important;
  background: linear-gradient(145deg, rgba(13, 22, 38, .985), rgba(7, 12, 22, .985)) !important;
}
.builder-settings-dialog.theme-modal-card > header {
  padding: 18px 20px 15px !important;
}
.builder-settings-dialog.theme-modal-card .settings-view {
  padding: 18px 20px 22px !important;
}
.builder-settings-dialog.theme-modal-card .theme-option-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}
.builder-settings-dialog.theme-modal-card .theme-option-row {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 34px !important;
  gap: 8px !important;
  padding: 7px 10px !important;
  border: 1px solid rgba(255, 255, 255, .06) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, .04) !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.builder-settings-dialog.theme-modal-card .theme-option-row:hover {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .08) !important;
  color: #e2e8f0 !important;
}
.builder-settings-dialog.theme-modal-card .theme-option-row.selected,
.builder-settings-dialog.theme-modal-card .theme-option-row.active {
  border-color: rgba(var(--primary-rgb, 59, 130, 246), .38) !important;
  background: rgba(var(--primary-rgb, 59, 130, 246), .12) !important;
  color: var(--primary-lighter-color, #bfdbfe) !important;
  box-shadow: none !important;
}
.builder-settings-dialog.theme-modal-card .theme-option-radio {
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px !important;
  border: 2px solid rgba(255, 255, 255, .15) !important;
}
.builder-settings-dialog.theme-modal-card .theme-option-row.selected .theme-option-radio,
.builder-settings-dialog.theme-modal-card .theme-option-row.active .theme-option-radio {
  border-color: var(--primary-color, #3b82f6) !important;
  background: rgba(var(--primary-rgb, 59, 130, 246), .2) !important;
  color: var(--primary-light-color, #93c5fd) !important;
}
.builder-settings-dialog.theme-modal-card .theme-option-check { display: none !important; color: var(--primary-light-color, #93c5fd) !important; font-size: 8px !important; line-height: 1 !important; }
.builder-settings-dialog.theme-modal-card .theme-option-row.selected .theme-option-check,
.builder-settings-dialog.theme-modal-card .theme-option-row.active .theme-option-check { display: block !important; }
.builder-settings-dialog.theme-modal-card .theme-option-label {
  color: inherit !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.theme-color-section { display: flex !important; flex-direction: column !important; gap: 8px !important; padding-top: 4px !important; }
.theme-color-header { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; }
.theme-color-heading { display: flex !important; flex-direction: column !important; gap: 3px !important; min-width: 0 !important; }
.theme-color-title { color: #cbd5e1 !important; font-size: 12px !important; font-weight: 700 !important; letter-spacing: 0 !important; }
.theme-color-state { color: #94a3b8 !important; font-size: 11px !important; font-weight: 700 !important; line-height: 1 !important; }
.theme-color-reset { color: #94a3b8 !important; cursor: pointer !important; padding: 6px 8px !important; border: 1px solid rgba(255, 255, 255, .08) !important; border-radius: 6px !important; background: rgba(255, 255, 255, .04) !important; font-size: 11px !important; font-weight: 700 !important; line-height: 1 !important; }
.theme-color-reset:hover:not(:disabled) { color: #e2e8f0 !important; background: rgba(255, 255, 255, .08) !important; }
.theme-color-reset:disabled { cursor: default !important; opacity: .45 !important; }
.theme-palette-select { position: relative !important; }
.theme-palette-select-trigger { display: grid !important; grid-template-columns: 62px minmax(0, 1fr) 14px !important; align-items: center !important; gap: 8px !important; width: 100% !important; min-height: 42px !important; padding: 6px 8px 6px 6px !important; border: 1px solid rgba(var(--primary-rgb, 59, 130, 246), .24) !important; border-radius: 8px !important; background: linear-gradient(135deg, rgba(var(--primary-rgb, 59, 130, 246), .12), rgba(255, 255, 255, .035)), rgba(11, 15, 28, .78) !important; color: #e2e8f0 !important; text-align: left !important; font-size: 12px !important; font-weight: 700 !important; }
.theme-palette-select-trigger:hover, .theme-palette-select-trigger.open { border-color: rgba(var(--primary-rgb, 59, 130, 246), .5) !important; box-shadow: 0 0 0 2px rgba(var(--primary-rgb, 59, 130, 246), .12) !important; }
.theme-palette-select-current, .theme-palette-select-option-label { min-width: 0 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
.theme-palette-select-chevron { color: #94a3b8 !important; font-size: 11px !important; transition: transform .15s !important; }
.theme-palette-select-trigger.open .theme-palette-select-chevron { transform: rotate(180deg) !important; }
.theme-palette-select-menu { position: absolute !important; z-index: 12 !important; top: calc(100% + 6px) !important; left: 0 !important; right: 0 !important; display: flex !important; flex-direction: column !important; gap: 4px !important; max-height: 252px !important; padding: 6px !important; overflow-y: auto !important; border: 1px solid rgba(var(--primary-rgb, 59, 130, 246), .3) !important; border-radius: 9px !important; background: linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(7, 12, 22, .98)) !important; box-shadow: 0 16px 38px rgba(0, 0, 0, .42) !important; }
.theme-palette-select-menu[hidden] { display: none !important; }
.theme-palette-select-option { display: grid !important; grid-template-columns: 62px minmax(0, 1fr) 14px !important; align-items: center !important; gap: 8px !important; width: 100% !important; min-height: 40px !important; padding: 6px 8px 6px 6px !important; border: 1px solid rgba(255, 255, 255, .07) !important; border-radius: 7px !important; background: rgba(255, 255, 255, .04) !important; color: #cbd5e1 !important; text-align: left !important; font-size: 12px !important; font-weight: 700 !important; }
.theme-palette-select-option:hover, .theme-palette-select-option.active { border-color: rgba(var(--primary-rgb, 59, 130, 246), .42) !important; background: rgba(var(--primary-rgb, 59, 130, 246), .14) !important; color: #fff !important; }
.theme-palette-select-option-check { color: var(--primary-light-color, #93c5fd) !important; opacity: 0 !important; font-size: 10px !important; }
.theme-palette-select-option.active .theme-palette-select-option-check { opacity: 1 !important; }
.theme-palette-swatches { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 4px !important; min-width: 0 !important; min-height: 28px !important; }
.theme-palette-swatches.preset { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 2px !important; width: 62px !important; min-height: 28px !important; }
.theme-palette-swatch { display: block !important; min-width: 0 !important; min-height: 13px !important; border-radius: 3px !important; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18) !important; }
.theme-custom-color-row, .theme-mesh-layer-row, .sound-notification-row { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 10px !important; padding: 8px 10px !important; border: 1px solid rgba(255, 255, 255, .06) !important; border-radius: 6px !important; background: rgba(255, 255, 255, .04) !important; color: #cbd5e1 !important; font-size: 12px !important; }
.theme-custom-color-label, .theme-mesh-layer-label { flex: 1 !important; color: inherit !important; font-weight: 700 !important; }
.theme-custom-color-picker { display: flex !important; align-items: center !important; gap: 8px !important; padding: 8px 10px !important; border: 1px solid rgba(255, 255, 255, .06) !important; border-radius: 6px !important; background: rgba(255, 255, 255, .025) !important; }
.theme-custom-color-picker[hidden] { display: none !important; }
.theme-custom-color-picker input[type="color"] { width: 34px !important; height: 28px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.theme-custom-color-picker input[type="text"] { flex: 1 !important; min-height: 28px !important; padding: 4px 8px !important; border: 1px solid rgba(255, 255, 255, .1) !important; border-radius: 6px !important; background: rgba(255, 255, 255, .04) !important; color: #e2e8f0 !important; font-family: var(--font-mono, Consolas, monospace) !important; font-size: 11px !important; }
.toggle-switch { position: relative !important; display: inline-block !important; flex: 0 0 36px !important; width: 36px !important; height: 20px !important; }
.toggle-switch input { position: absolute !important; width: 0 !important; height: 0 !important; opacity: 0 !important; }
.toggle-switch-track { position: absolute !important; inset: 0 !important; cursor: pointer !important; border-radius: 10px !important; background: rgba(255, 255, 255, .1) !important; transition: background .2s !important; }
.toggle-switch-track::after { content: "" !important; position: absolute !important; left: 2px !important; bottom: 2px !important; width: 16px !important; height: 16px !important; border-radius: 50% !important; background: #94a3b8 !important; transition: all .2s !important; }
.toggle-switch input:checked + .toggle-switch-track { background: rgba(var(--primary-rgb, 59, 130, 246), .35) !important; }
.toggle-switch input:checked + .toggle-switch-track::after { background: var(--primary-light-color, #93c5fd) !important; transform: translateX(16px) !important; }
.toggle-label { color: #cbd5e1 !important; cursor: pointer !important; font-size: 14px !important; }
.sound-notification-row { margin-bottom: 12px !important; }
.sound-volume-section { display: flex !important; flex-direction: column !important; gap: 6px !important; margin-bottom: 14px !important; padding: 0 !important; border: 0 !important; background: transparent !important; }
.sound-volume-section label { display: flex !important; justify-content: space-between !important; margin-bottom: 2px !important; }
.sound-volume-label, .sound-type-label { color: #94a3b8 !important; font-size: 13px !important; }
.sound-volume-section label b { color: var(--primary-light-color, #93c5fd) !important; font-size: 12px !important; }
.sound-volume-slider { appearance: none !important; width: 100% !important; height: 4px !important; border-radius: 2px !important; background: rgba(255, 255, 255, .1) !important; outline: none !important; }
.sound-volume-slider::-webkit-slider-thumb { appearance: none !important; width: 14px !important; height: 14px !important; border: 0 !important; border-radius: 50% !important; background: var(--primary-light-color, #93c5fd) !important; box-shadow: 0 0 6px rgba(var(--primary-light-rgb, 147, 197, 253), .4) !important; cursor: pointer !important; }
.sound-type-section { display: flex !important; flex-direction: column !important; gap: 6px !important; }
.sound-type-options { display: flex !important; flex-direction: column !important; gap: 3px !important; }
.sound-type-option { display: flex !important; align-items: center !important; gap: 8px !important; min-height: 38px !important; padding: 6px 10px !important; border: 1px solid rgba(255, 255, 255, .05) !important; border-radius: 6px !important; background: rgba(255, 255, 255, .03) !important; color: #94a3b8 !important; font-size: 13px !important; }
.sound-type-option:hover { background: rgba(255, 255, 255, .07) !important; color: #e2e8f0 !important; }
.sound-type-option.selected, .sound-type-option.active { border-color: rgba(var(--primary-rgb, 59, 130, 246), .3) !important; background: rgba(var(--primary-rgb, 59, 130, 246), .12) !important; color: var(--primary-lighter-color, #bfdbfe) !important; }
.sound-type-option em { margin-left: auto !important; color: var(--primary-light-color, #93c5fd) !important; }
.sound-type-option.active em { opacity: 1 !important; }
.test-sound-button { margin-top: 14px !important; }

/* V11.1.81 - use the production sound controls and disabled states. */
.sound-volume-slider:disabled {
  cursor: default !important;
  opacity: .4 !important;
}
.sound-volume-slider:disabled::-webkit-slider-thumb {
  background: #475569 !important;
  box-shadow: none !important;
  cursor: default !important;
}
.sound-type-section {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}
.sound-type-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}
.sound-type-option {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100% !important;
  min-height: 38px !important;
  padding: 6px 10px !important;
  border: 1px solid rgba(255, 255, 255, .05) !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, .03) !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  font-size: 13px !important;
  transition: all .12s !important;
}
.sound-type-option:hover {
  background: rgba(255, 255, 255, .07) !important;
  color: #e2e8f0 !important;
}
.sound-type-option.selected,
.sound-type-option.active {
  border-color: rgba(var(--primary-rgb, 59, 130, 246), .25) !important;
  background: rgba(var(--primary-rgb, 59, 130, 246), .12) !important;
  color: var(--primary-lighter-color, #bfdbfe) !important;
}
.sound-type-option.disabled,
.sound-type-option:disabled {
  opacity: .4 !important;
  cursor: default !important;
  pointer-events: none !important;
}
.sound-type-radio {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 12px !important;
  width: 12px !important;
  height: 12px !important;
  border: 2px solid rgba(255, 255, 255, .15) !important;
  border-radius: 50% !important;
  transition: all .12s !important;
}
.sound-type-option.active .sound-type-radio,
.sound-type-option.selected .sound-type-radio {
  border-color: var(--primary-color, #3b82f6) !important;
  background: rgba(var(--primary-rgb, 59, 130, 246), .3) !important;
}
.sound-type-option.active .sound-type-radio::after,
.sound-type-option.selected .sound-type-radio::after {
  content: "" !important;
  width: 4px !important;
  height: 4px !important;
  border-radius: 50% !important;
  background: var(--primary-light-color, #93c5fd) !important;
}
.sound-test-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-top: 4px !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(var(--primary-rgb, 59, 130, 246), .25) !important;
  border-radius: 6px !important;
  background: rgba(var(--primary-rgb, 59, 130, 246), .15) !important;
  color: var(--primary-lighter-color, #bfdbfe) !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all .15s !important;
}
.sound-test-btn:hover {
  border-color: rgba(var(--primary-rgb, 59, 130, 246), .4) !important;
  background: rgba(var(--primary-rgb, 59, 130, 246), .25) !important;
}
.sound-test-btn:disabled {
  border-color: rgba(255, 255, 255, .06) !important;
  background: rgba(255, 255, 255, .04) !important;
  color: #475569 !important;
  cursor: default !important;
}
/* V11.1.74 - account console parity with the live desktop builder. */
.account-popover.account-console {
  z-index: 1000 !important;
  width: min(560px, calc(100vw - 32px)) !important;
  min-width: 0 !important;
  max-height: calc(100dvh - 76px) !important;
  padding: 0 !important;
  overflow: hidden auto !important;
  border: 1px solid rgba(var(--primary-light-rgb, 96, 165, 250), .22) !important;
  border-radius: 16px !important;
  background: rgba(var(--surface-darker-rgb, 11, 15, 28), .98) !important;
  box-shadow: 0 24px 72px #00000094, 0 0 0 1px rgba(var(--primary-rgb, 62, 131, 255), .06), inset 0 1px 0 #ffffff0d !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(140%) !important;
}

.account-console-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 22px !important;
  padding: 20px !important;
  border-bottom: 1px solid rgba(var(--primary-light-rgb, 96, 165, 250), .2) !important;
  background: linear-gradient(135deg, rgba(var(--primary-rgb, 62, 131, 255), .34), rgba(var(--primary-light-rgb, 96, 165, 250), .12) 55%, rgba(40, 209, 124, .12)), rgba(var(--surface-rgb, 18, 28, 48), .74) !important;
}

.account-console-profile { display: flex !important; align-items: center !important; gap: 13px !important; min-width: 0 !important; }
.account-console-avatar-shell { position: relative !important; flex: 0 0 auto !important; }
.account-console-avatar {
  position: relative !important;
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px !important;
  overflow: hidden !important;
  border: 2px solid rgba(var(--primary-light-rgb, 96, 165, 250), .7) !important;
  border-radius: 50% !important;
  background-color: rgba(var(--surface-darker-rgb, 11, 15, 28), .72) !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 62, 131, 255), .13), 0 10px 24px #0000003d !important;
}
.account-console-avatar-cam { display: none !important; position: absolute !important; right: -2px !important; bottom: -2px !important; place-items: center !important; width: 20px !important; height: 20px !important; padding: 0 !important; border: 1.5px solid rgba(var(--surface-darker-rgb, 11, 15, 28), .95) !important; border-radius: 50% !important; background: var(--blue, #3e83ff) !important; color: #fff !important; font-size: .58rem !important; }
.account-console-identity { display: grid !important; gap: 4px !important; min-width: 0 !important; }
.account-console-name-row { display: flex !important; align-items: center !important; gap: 7px !important; min-width: 0 !important; }
.account-console-name-row > strong { overflow: hidden !important; color: #fff !important; text-overflow: ellipsis !important; white-space: nowrap !important; font-size: 1.02rem !important; }
.account-console-role { flex: 0 0 auto !important; padding: 3px 7px !important; border: 1px solid rgba(var(--primary-light-rgb, 96, 165, 250), .36) !important; border-radius: 999px !important; background: rgba(var(--primary-rgb, 62, 131, 255), .2) !important; color: var(--blue2, #67a2ff) !important; font-size: .65rem !important; font-weight: 800 !important; letter-spacing: .05em !important; text-transform: uppercase !important; }
.account-console-name-edit { display: inline-grid !important; place-items: center !important; width: 20px !important; height: 20px !important; padding: 0 !important; border: 0 !important; border-radius: 5px !important; background: transparent !important; color: rgba(255,255,255,.55) !important; }
.account-console-name-edit:hover, .account-console-name-edit:focus-visible { color: #fff !important; background: rgba(255,255,255,.1) !important; outline: none !important; }
.account-console-edit-icon { width: 11px !important; height: 11px !important; fill: currentColor !important; }
.account-console-email { overflow: hidden !important; color: rgba(255,255,255,.68) !important; text-overflow: ellipsis !important; white-space: nowrap !important; font-size: .77rem !important; }
.account-console-header-actions { display: grid !important; flex: 0 0 auto !important; justify-items: end !important; gap: 10px !important; }
.account-console-status-row { display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 7px !important; }
.account-console-status { display: inline-flex !important; align-items: center !important; gap: 6px !important; min-height: 28px !important; padding: 5px 9px !important; border: 1px solid rgba(255,255,255,.12) !important; border-radius: 999px !important; background: rgba(var(--surface-darker-rgb, 11, 15, 28), .54) !important; color: rgba(255,255,255,.8) !important; font-size: .69rem !important; }
.account-console-status strong { color: #fff !important; font-family: var(--font-mono, Consolas, monospace) !important; font-size: .69rem !important; }
.account-console-status-dot { width: 7px !important; height: 7px !important; border-radius: 50% !important; background: var(--green, #28d17c) !important; box-shadow: 0 0 8px var(--green, #28d17c) !important; }
.account-console-session-mobile { display: none !important; }
.account-console-change-avatar { display: inline-flex !important; align-items: center !important; gap: 7px !important; min-height: 34px !important; padding: 7px 11px !important; border: 1px solid rgba(var(--primary-light-rgb, 96, 165, 250), .32) !important; border-radius: 9px !important; background: rgba(var(--surface-darker-rgb, 11, 15, 28), .52) !important; color: #fff !important; font-size: .73rem !important; font-weight: 700 !important; transition: border-color .18s, background .18s, transform .18s !important; }
.account-console-change-avatar:hover, .account-console-change-avatar:focus-visible { border-color: rgba(var(--primary-light-rgb, 96, 165, 250), .68) !important; background: rgba(var(--primary-rgb, 62, 131, 255), .22) !important; transform: translateY(-1px) !important; outline: none !important; }
.account-console-camera-icon { width: 14px !important; height: 14px !important; fill: currentColor !important; }
.account-console-name-editor { display: flex !important; align-items: center !important; gap: 5px !important; margin-top: 2px !important; }
.account-console-name-editor[hidden] { display: none !important; }
.account-console-name-editor input { width: min(160px, 34vw) !important; min-height: 26px !important; padding: 4px 7px !important; border: 1px solid rgba(255,255,255,.18) !important; border-radius: 6px !important; background: rgba(4,9,18,.62) !important; color: #fff !important; font-size: 11px !important; }
.account-console-name-editor button { display: grid !important; place-items: center !important; width: 25px !important; height: 25px !important; padding: 0 !important; border: 1px solid rgba(var(--primary-light-rgb, 96, 165, 250), .38) !important; border-radius: 6px !important; background: transparent !important; color: #a8c9ff !important; }
.account-popover.account-console .account-console-name-editor { display: flex !important; width: 100% !important; min-width: 0 !important; gap: 5px !important; }
.account-popover.account-console .account-console-name-editor input { flex: 1 1 0 !important; width: 0 !important; min-width: 0 !important; }
.account-popover.account-console .account-console-name-editor [data-save-display-name] { position: static !important; flex: 0 0 25px !important; width: 25px !important; min-width: 25px !important; }
.account-console-body { padding: 16px !important; }
.account-console-grid { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
.account-console-column { display: flex !important; flex-direction: column !important; gap: 16px !important; min-width: 0 !important; }
.account-console-panel { min-width: 0 !important; padding: 0 !important; }
.account-console-panel + .account-console-panel { padding-top: 16px !important; border-top: 1px solid rgba(var(--primary-light-rgb, 96, 165, 250), .3) !important; }
.account-console-panel > h3 { margin: 0 0 8px !important; color: rgba(255,255,255,.58) !important; font-size: .65rem !important; font-weight: 800 !important; letter-spacing: .1em !important; text-transform: uppercase !important; }
.account-console .dropdown-actions-list { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 6px !important; margin: 0 !important; }
.account-console .dropdown-actions-list > :last-child:nth-child(2n+1) { grid-column: 1 / -1 !important; }
.account-console .dropdown-btn-domain { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)) !important; gap: 6px !important; }
.account-console .dropdown-action, .account-console .domain-option { display: inline-flex !important; align-items: center !important; justify-content: flex-start !important; gap: 7px !important; min-height: 46px !important; padding: 9px 11px !important; border: 1px solid rgba(255,255,255,.07) !important; border-radius: 9px !important; background: rgba(255,255,255,.024) !important; color: rgba(255,255,255,.8) !important; text-align: left !important; font-size: 12px !important; }
.account-console .domain-option { justify-content: center !important; }
.account-console .dropdown-action:hover, .account-console .dropdown-action:focus-visible, .account-console .domain-option:hover, .account-console .domain-option:focus-visible { border-color: rgba(var(--primary-light-rgb, 96, 165, 250), .35) !important; background: rgba(var(--primary-rgb, 62, 131, 255), .1) !important; outline: none !important; }
.account-console .domain-option.active { border-color: rgba(var(--primary-light-rgb, 96, 165, 250), .35) !important; background: rgba(var(--primary-rgb, 62, 131, 255), .14) !important; color: #fff !important; }
.account-console .dropdown-action-admin { color: var(--blue2, #67a2ff) !important; }
.account-console .dropdown-icon-sm { flex: 0 0 auto !important; width: 14px !important; height: 14px !important; fill: currentColor !important; }
.account-console .dropdown-icon-primary { color: var(--blue2, #67a2ff) !important; }
.account-console .dropdown-icon-danger { color: var(--red, #ff6276) !important; }
.account-console .check-icon { width: 14px !important; height: 14px !important; fill: currentColor !important; }
.account-console .domain-radio { display: inline-grid !important; place-items: center !important; width: 14px !important; height: 14px !important; border: 1px solid rgba(255,255,255,.26) !important; border-radius: 50% !important; color: var(--blue2, #67a2ff) !important; }
.account-console .domain-option:not(.active) .domain-radio .check-icon { display: none !important; }
.account-console .domain-option.active .domain-radio { border-color: var(--blue2, #67a2ff) !important; }
.account-console .domain-option.active .domain-radio .check-icon { display: block !important; width: 9px !important; height: 9px !important; }
.account-console .dropdown-session-details { margin: 0 !important; }
.account-console .dropdown-session-details > summary { min-height: 46px !important; padding: 9px 11px !important; border: 1px solid rgba(255,255,255,.07) !important; border-radius: 9px !important; background: rgba(255,255,255,.024) !important; color: rgba(255,255,255,.8) !important; cursor: pointer !important; font-size: 12px !important; list-style: none !important; }
.account-console .dropdown-session-details > summary::after { float: right !important; content: "+" !important; color: rgba(255,255,255,.65) !important; font-size: 16px !important; line-height: 1 !important; }
.account-console .dropdown-session-details[open] > summary::after { content: "−" !important; }
.account-console .dropdown-session-details > summary::-webkit-details-marker { display: none !important; }
.dropdown-session-content { padding: 10px 11px 2px !important; color: rgba(255,255,255,.68) !important; font-size: 11px !important; }
.dropdown-token { margin-bottom: 8px !important; color: rgba(255,255,255,.64) !important; font-family: var(--font-mono, Consolas, monospace) !important; font-size: 10px !important; }
.dropdown-section { margin-bottom: 8px !important; }
.dropdown-section-label { margin-bottom: 3px !important; color: rgba(255,255,255,.5) !important; font-size: 10px !important; }
.dropdown-method-item { display: flex !important; align-items: center !important; gap: 5px !important; margin: 2px 0 !important; }
.dropdown-info, .dropdown-info-spaced { margin-bottom: 3px !important; color: rgba(255,255,255,.5) !important; font-size: 10px !important; }
.account-console-footer { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 6px !important; margin-top: 12px !important; padding: 12px 0 0 !important; border-top: 1px solid rgba(var(--primary-light-rgb, 96, 165, 250), .3) !important; }
.account-console-footer { position: static !important; z-index: auto !important; width: auto !important; min-height: 0 !important; background: transparent !important; color: inherit !important; }
.account-console-footer form { display: contents !important; }
.account-console-footer .dropdown-action { justify-content: center !important; color: rgba(255,255,255,.72) !important; }
.account-console .account-setting-status { min-height: 16px !important; margin: 8px 0 0 !important; color: rgba(255,255,255,.6) !important; font-size: 11px !important; }
.account-console .account-setting-status.error { color: var(--red, #ff6276) !important; }
.account-console-file-input { display: none !important; }
.account-console :is(button, summary):focus-visible { outline: 2px solid rgba(var(--primary-light-rgb, 96, 165, 250), .84) !important; outline-offset: 2px !important; }

@media (max-width: 768px) {
  .account-popover.account-console { position: fixed !important; top: 68px !important; right: 10px !important; left: 10px !important; width: auto !important; max-height: calc(100dvh - 80px) !important; border-radius: 18px !important; }
  .account-console-header { gap: 12px !important; padding: 12px 14px !important; }
  .account-console-profile { flex: 1 1 auto !important; }
  .account-console-avatar { width: 40px !important; height: 40px !important; flex-basis: 40px !important; box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 62, 131, 255), .13) !important; }
  .account-console-avatar-cam { display: grid !important; }
  .account-console-header-actions { gap: 4px !important; width: auto !important; }
  .account-console-status-row { flex-direction: column !important; align-items: flex-end !important; gap: 4px !important; }
  .account-console-session-desktop { display: none !important; }
  .account-console-session-mobile { display: inline !important; }
  .account-console-change-avatar { display: none !important; }
  .account-console-body { padding: 12px !important; }
  .account-console-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  .account-console-column { gap: 14px !important; }
  .account-console-column + .account-console-column { padding-top: 14px !important; border-top: 1px solid rgba(var(--primary-light-rgb, 96, 165, 250), .3) !important; }
  .account-console-panel + .account-console-panel { padding-top: 14px !important; }
  .account-console-footer { margin-top: 10px !important; padding-top: 10px !important; }
}

@media (max-width: 430px) {
  .account-console-status { padding: 4px 8px !important; font-size: .66rem !important; }
  .account-console-footer { gap: 8px !important; }
}

/* Resolve the legacy account-console overrides that used a three-column grid
   and hid the empty avatar. The live builder keeps the profile visible even
   before an image is uploaded. */
.account-console .account-console-profile {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  gap: 13px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 20px !important;
}
.account-console .account-console-avatar,
.account-console .account-console-avatar:not([data-has-image="true"]) {
  display: block !important;
  visibility: visible !important;
}
.account-console .account-console-profile-details { display: grid !important; }
@media (max-width: 768px) {
  .account-console .account-console-profile {
    display: flex !important;
    grid-template-columns: none !important;
    padding: 12px 14px !important;
  }
}

/* V11.1.78 - source user-button geometry. */
html body .app-shell .topbar > .account-trigger:not(.admin-avatar) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: auto !important;
  max-width: 180px !important;
  min-width: 0 !important;
  min-height: 42px !important;
  height: 42px !important;
  padding: 2px 13px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.043) !important;
  color: rgba(255,255,255,.88) !important;
}
html body .app-shell .topbar > .account-trigger:not(.admin-avatar) .account-avatar-image {
  display: block !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  flex: 0 0 42px !important;
  margin: -2px 0 -2px -13px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
html body .app-shell .topbar > .account-trigger:not(.admin-avatar) .account-name {
  min-width: 0 !important;
  overflow: hidden !important;
  color: rgba(255,255,255,.88) !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

/* V11.1.79 - final account-console parity with the production desktop CSS.
   Older compatibility layers set padding on the profile itself even though
   the source puts that spacing on the header.  The extra padding made the
   local console 40px taller and shifted the avatar inward. */
.account-popover.account-console .account-console-profile {
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.account-popover.account-console .account-console-header-actions {
  display: grid !important;
  flex: 0 0 auto !important;
  justify-items: end !important;
  gap: 10px !important;
  min-width: 0 !important;
}
.account-popover.account-console .account-console-change-avatar {
  justify-content: flex-start !important;
}
.account-popover.account-console .dropdown-action,
.account-popover.account-console .domain-option {
  gap: 8px !important;
  font-size: 14px !important;
}
.account-popover.account-console .dropdown-session-details > summary {
  font-size: .78rem !important;
}
.account-popover.account-console .account-console-footer .dropdown-action {
  font-size: 14px !important;
}

@media (min-width: 1101px) and (max-width: 1399px) {
  html body .app-shell .topbar > .account-trigger:not(.admin-avatar) {
    max-width: 132px !important;
    padding-inline: 10px !important;
    overflow: visible !important;
  }
  html body .app-shell .topbar > .account-trigger:not(.admin-avatar) .account-avatar-image {
    margin-left: -10px !important;
    margin-right: 2px !important;
  }
}

@media (max-width: 768px) {
  .account-popover.account-console .account-console-profile {
    padding: 0 !important;
  }
  .account-popover.account-console .dropdown-action,
  .account-popover.account-console .domain-option {
    gap: 6px !important;
    font-size: 13px !important;
  }
  .account-popover.account-console .account-console-footer .dropdown-action {
    font-size: 13px !important;
  }
}

/* V11.1.81 - final desktop account-console measurements. */
.account-popover.account-console .account-console-name-row { gap: 8px !important; }
.account-popover.account-console .dropdown-btn-domain {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)) !important;
}
.account-popover.account-console .dropdown-action:hover,
.account-popover.account-console .dropdown-action:focus-visible,
.account-popover.account-console .domain-option:hover,
.account-popover.account-console .domain-option:focus-visible {
  border-color: rgba(var(--primary-light-rgb, 96, 165, 250), .22) !important;
}
.account-popover.account-console .domain-option.active {
  border-color: rgba(var(--primary-light-rgb, 96, 165, 250), .30) !important;
}

/* Keep the production spacing between the custom-color and mesh rows. */
.builder-settings-dialog.theme-modal-card .theme-mesh-layer-row {
  margin-top: 10px !important;
}

/* Sound settings use the source site's compact, unboxed notification row and
   content-sized effect options.  Earlier shared-row rules styled these as
   cards, which added visible padding and pushed the label away from the
   switch. */
.builder-settings-dialog.theme-modal-card .sound-notification-row {
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: inherit !important;
}
.builder-settings-dialog.theme-modal-card .sound-notification-row .toggle-label {
  flex: 0 1 auto !important;
}
.builder-settings-dialog.theme-modal-card .sound-volume-section {
  margin-bottom: 0 !important;
}
.builder-settings-dialog.theme-modal-card .sound-type-option {
  min-height: auto !important;
}

/* Small source-only control rules that are otherwise lost behind the legacy
   account and form layers. */
.account-popover.account-console .account-console-timeout {
  overflow: hidden !important;
}
.account-popover.account-console .domain-option .domain-label {
  text-align: left !important;
}
.account-popover.account-console .dropdown-action-danger:hover {
  color: #fecaca !important;
  background: rgba(239, 68, 68, .15) !important;
}
.account-popover.account-console .dropdown-icon-admin {
  color: var(--primary-light-color, #a78bfa) !important;
}
.builder-settings-dialog.theme-modal-card .theme-accent-switch {
  display: inline-block !important;
}
.builder-settings-dialog.theme-modal-card .theme-mesh-layer-input {
  width: 16px !important;
  height: 16px !important;
  cursor: pointer !important;
  accent-color: var(--primary-color, #3b82f6) !important;
}

/* The production desktop footer exposes only the small version mark. */
html body footer .footer-clock-center,
html body footer .footer-service {
  display: none !important;
}

/* Static UI revision 11.1.86. Completed/processing table parity: compact glass icon actions, readable
   status colors, and cells that stay within the desktop grid. */
.table-card table { table-layout: fixed !important; }
.table-card th:nth-child(1), .table-card td:nth-child(1) { width: 9% !important; }
.table-card th:nth-child(2), .table-card td:nth-child(2) { width: 13% !important; }
.table-card th:nth-child(3), .table-card td:nth-child(3) { width: 11% !important; }
.table-card th:nth-child(4), .table-card td:nth-child(4) { width: 12% !important; }
.table-card th:nth-child(5), .table-card td:nth-child(5) { width: 21% !important; white-space: normal !important; }
.table-card th:nth-child(6), .table-card td:nth-child(6) { width: 12% !important; }
.table-card th:nth-child(7), .table-card td:nth-child(7) { width: 6% !important; }
.table-card th:nth-child(8), .table-card td:nth-child(8) { width: 7% !important; }
.table-card th:nth-child(9), .table-card td:nth-child(9) { width: 9% !important; }
#panel-completed .table-card th:nth-child(1), #panel-completed .table-card td:nth-child(1) { width: 9% !important; }
#panel-completed .table-card th:nth-child(2), #panel-completed .table-card td:nth-child(2) { width: 14% !important; }
#panel-completed .table-card th:nth-child(3), #panel-completed .table-card td:nth-child(3) { width: 10% !important; }
#panel-completed .table-card th:nth-child(4), #panel-completed .table-card td:nth-child(4) { width: 12% !important; }
#panel-completed .table-card th:nth-child(5), #panel-completed .table-card td:nth-child(5) { width: 22% !important; }
#panel-completed .table-card th:nth-child(6), #panel-completed .table-card td:nth-child(6) { width: 12% !important; }
#panel-completed .table-card th:nth-child(7), #panel-completed .table-card td:nth-child(7) { width: 10% !important; }
#panel-completed .table-card th:nth-child(8), #panel-completed .table-card td:nth-child(8) { width: 11% !important; }
.cell-ellipsis { display: inline-block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: middle; user-select: text; cursor: copy; }
.cell-ellipsis:focus-visible { outline: 1px solid rgba(125, 177, 255, .7); outline-offset: 2px; border-radius: 3px; }
.muted-cell { color: #8290a7; }
.time-stack { min-width: 0; gap: 2px !important; font-variant-numeric: tabular-nums; }
.time-stack time { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #b2bfd1; font-size: 11px; }
.progress-track { height: 6px !important; background: rgba(148, 163, 184, .18) !important; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); }
.progress-track span { background: linear-gradient(90deg, #6da9ff, #a9d1ff) !important; transition: width .35s ease, background .2s ease; }
.progress-track.progress-completed span { background: linear-gradient(90deg, #39d98a, #8cf0bb) !important; }
.progress-track.progress-failed span { background: linear-gradient(90deg, #f07b8b, #ffc0c7) !important; }
.progress-track.progress-queued span { background: linear-gradient(90deg, #e7b85d, #ffe0a0) !important; }
.job-actions { gap: 5px !important; }
.job-action-icon { display: inline-grid !important; place-items: center !important; width: 31px !important; height: 31px !important; min-width: 31px !important; padding: 0 !important; border: 1px solid rgba(148, 163, 184, .22) !important; border-radius: 8px !important; background: transparent !important; color: #c9d5e6 !important; text-decoration: none !important; box-shadow: none !important; transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .16s ease; }
.job-action-icon.download { border-color: rgba(96, 165, 250, .7) !important; color: #8fc2ff !important; background: rgba(59, 130, 246, .04) !important; }
.job-action-icon.download:hover, .job-action-icon.download:focus-visible { border-color: rgba(125, 177, 255, .95) !important; background: rgba(59, 130, 246, .22) !important; color: #fff !important; }
.job-action-icon:hover, .job-action-icon:focus-visible { border-color: rgba(125, 177, 255, .64) !important; background: rgba(76, 133, 220, .18) !important; color: #fff !important; transform: translateY(-1px); outline: none; }
.job-action-icon.delete-job { color: #d2dce9 !important; }
.job-action-icon.error { color: #f3ce7d !important; cursor: help; }
.note-editor-cell { display: flex; align-items: center; gap: 5px; min-width: 0; }
.note-display { display: block; min-width: 0; max-width: 100%; padding: 0; border: 0; background: transparent; color: #c6d3e4; text-align: left; cursor: text; }
.note-display:hover .cell-ellipsis { color: #fff; text-decoration: underline dotted; text-underline-offset: 3px; }
.copy-cell { display: inline-grid; place-items: center; flex: 0 0 24px; width: 24px; height: 24px; padding: 0; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #91a7c3; cursor: pointer; }
.copy-cell:hover { border-color: rgba(125, 177, 255, .5); background: rgba(76, 133, 220, .16); color: #fff; }
.copy-cell .ui-icon { width: 12px; height: 12px; }
.note-edit-form { display: flex; align-items: center; gap: 4px; min-width: 0; }
.note-edit-form input { min-width: 0; width: 150px; max-width: 100%; padding: 5px 7px; border: 1px solid rgba(148, 163, 184, .36); border-radius: 6px; background: transparent; color: #eef5ff; outline: none; }
.note-edit-form button { display: inline-grid; place-items: center; width: 25px; height: 25px; padding: 0; border: 1px solid rgba(148, 163, 184, .2); border-radius: 6px; background: transparent; color: #cbd8e9; }
.note-edit-form .note-save { border-color: var(--blue, #3e83ff); background: var(--blue, #3e83ff); color: #fff; }
.note-edit-form button:hover { border-color: rgba(125, 177, 255, .6); color: #fff; }
.note-edit-form .ui-icon { width: 12px; height: 12px; }

/* Every avatar surface is a square image clipped to a real circle.  Keep the
   fallback transparent; the uploaded image is painted by appearance.js. */
.account-avatar-image, .account-console-avatar, .admin-user-avatar, .admin-user-avatar img { aspect-ratio: 1 / 1 !important; border-radius: 50% !important; overflow: hidden !important; object-fit: cover !important; clip-path: circle(50% at 50% 50%) !important; }
.account-console-avatar { display: block !important; width: 58px !important; height: 58px !important; background-color: transparent !important; background-repeat: no-repeat !important; background-position: center !important; background-size: cover !important; }
.account-console-avatar[data-has-image="true"] { background-color: transparent !important; }
.admin-user-avatar img { display: block !important; width: 100% !important; height: 100% !important; }

/* Admin security Action cells use the same restrained glass treatment as the
   rest of the console instead of a red-filled destructive palette. */
.admin-shell .security-table td:last-child, .admin-shell .security-table th:last-child { background: transparent !important; }
.admin-shell .security-action { color: #d2deef !important; border-color: rgba(148, 163, 184, .22) !important; background: transparent !important; }
.admin-shell .security-action:hover, .admin-shell .security-action:focus-visible { color: #fff !important; border-color: rgba(125, 177, 255, .62) !important; background: rgba(76, 133, 220, .18) !important; outline: none; }
.admin-shell .security-clear-alerts, .admin-shell .security-unban { color: #d2deef !important; }

button.is-refreshing { color: #fff !important; }
button.is-refreshing .ui-icon { color: #fff !important; animation: admin-refresh-spin .72s linear infinite; }

/* V11.1.87 - keep the avatar's image and its outline inside a stable circle.
   The previous flex-only shell could shrink horizontally when the profile
   header was tight, making the left and right edges look clipped. */
.account-popover.account-console .account-console-avatar-shell {
  display: grid !important;
  place-items: center !important;
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  flex: 0 0 62px !important;
  overflow: visible !important;
  box-sizing: border-box !important;
}
.account-popover.account-console .account-console-avatar {
  display: block !important;
  box-sizing: border-box !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  flex: 0 0 58px !important;
  border-radius: 50% !important;
  clip-path: none !important;
  overflow: hidden !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}
@media (max-width: 768px) {
  .account-popover.account-console .account-console-avatar-shell {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex-basis: 44px !important;
  }
  .account-popover.account-console .account-console-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex-basis: 40px !important;
  }
}

/* V11.1.87 - Completed and Processing share the same table geometry.  The
   completed view merges LIC into Lock, so that column receives the combined
   width while note/action columns stay aligned with Processing. */
#panel-completed .table-card,
#panel-processing .table-card {
  width: 100% !important;
  min-width: 0 !important;
}
#panel-completed .table-scroll,
#panel-processing .table-scroll {
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
#panel-completed table,
#panel-processing table {
  width: 100% !important;
  min-width: 0 !important;
  table-layout: fixed !important;
  border-collapse: collapse !important;
}
#panel-completed th,
#panel-completed td,
#panel-processing th,
#panel-processing td {
  box-sizing: border-box !important;
  padding: 12px 14px !important;
  vertical-align: middle !important;
  line-height: 1.35 !important;
}
#panel-processing th:nth-child(1), #panel-processing td:nth-child(1) { width: 9% !important; }
#panel-processing th:nth-child(2), #panel-processing td:nth-child(2) { width: 13% !important; }
#panel-processing th:nth-child(3), #panel-processing td:nth-child(3) { width: 11% !important; }
#panel-processing th:nth-child(4), #panel-processing td:nth-child(4) { width: 12% !important; }
#panel-processing th:nth-child(5), #panel-processing td:nth-child(5) { width: 21% !important; }
#panel-processing th:nth-child(6), #panel-processing td:nth-child(6) { width: 12% !important; }
#panel-processing th:nth-child(7), #panel-processing td:nth-child(7) { width: 6% !important; }
#panel-processing th:nth-child(8), #panel-processing td:nth-child(8) { width: 7% !important; }
#panel-processing th:nth-child(9), #panel-processing td:nth-child(9) { width: 9% !important; }
#panel-completed th:nth-child(1), #panel-completed td:nth-child(1) { width: 9% !important; }
#panel-completed th:nth-child(2), #panel-completed td:nth-child(2) { width: 13% !important; }
#panel-completed th:nth-child(3), #panel-completed td:nth-child(3) { width: 11% !important; }
#panel-completed th:nth-child(4), #panel-completed td:nth-child(4) { width: 18% !important; }
#panel-completed th:nth-child(5), #panel-completed td:nth-child(5) { width: 21% !important; }
#panel-completed th:nth-child(6), #panel-completed td:nth-child(6) { width: 12% !important; }
#panel-completed th:nth-child(7), #panel-completed td:nth-child(7) { width: 7% !important; }
#panel-completed th:nth-child(8), #panel-completed td:nth-child(8) { width: 9% !important; }
#panel-completed .job-actions,
#panel-processing .job-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  min-height: 31px !important;
  white-space: nowrap !important;
}
#panel-completed .progress-line,
#panel-processing .progress-line {
  display: grid !important;
  grid-template-columns: minmax(70px, 1fr) minmax(0, auto) !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}
#panel-completed .progress-track,
#panel-processing .progress-track {
  width: 100% !important;
  min-width: 70px !important;
}

/* Action cells inherit the security table surface.  Only hover gets a subtle
   focus tint; the default state is never a separate white/blue panel. */
.admin-shell .security-table th:last-child,
.admin-shell .security-table td:last-child,
.admin-shell .security-table tr:hover td:last-child {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.admin-shell .security-table td:last-child {
  border-left-color: rgba(148, 163, 184, .08) !important;
}
.admin-shell .security-table tr:hover td:last-child {
  background: rgba(76, 133, 220, .08) !important;
}

/* Admin metrics gain one capacity card without changing the compact mobile
   breakpoints. */
.admin-shell .admin-metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}
.admin-shell .admin-metrics .admin-storage-available small {
  display: block !important;
  max-width: 100% !important;
  margin-top: 6px !important;
  overflow: hidden !important;
  color: #7586a0 !important;
  font-size: 9px !important;
  line-height: 1.25 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
@media (max-width: 980px) {
  .admin-shell .admin-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
  .admin-shell .admin-metrics { grid-template-columns: 1fr !important; }
}

/* V11.1.88 - desktop parity pass for account images and order tables. */
.account-avatar-image,
.dropdown-avatar-img,
.admin-user-avatar img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  flex: 0 0 auto !important;
  border: 0 !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center center !important;
  clip-path: circle(50% at 50% 50%) !important;
  background: transparent !important;
}
.account-avatar-image:not([data-has-image="true"]),
.dropdown-avatar-img:not([data-has-image="true"]) {
  visibility: hidden !important;
}
.account-console-avatar {
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  flex: 0 0 58px !important;
  overflow: hidden !important;
  border-radius: 50% !important;
  clip-path: circle(50% at 50% 50%) !important;
  background: rgba(var(--surface-darker-rgb, 11, 15, 28), .72) !important;
}
.account-console-avatar .dropdown-avatar-img {
  width: 100% !important;
  height: 100% !important;
  min-width: 58px !important;
  min-height: 58px !important;
}
.account-popover.account-console .account-console-avatar-shell {
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  flex: 0 0 62px !important;
  display: grid !important;
  place-items: center !important;
  overflow: visible !important;
}

/* The production order table is a glass surface, not an opaque card. */
.orders-toolbar {
  box-sizing: border-box !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  padding: 14px 16px !important;
  border: 1px solid #ffffff14 !important;
  border-radius: 12px !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .4) !important;
  box-shadow: 0 4px 16px #0000002e !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
#panel-completed .table-card,
#panel-processing .table-card {
  width: 100% !important;
  min-width: 0 !important;
  margin: 1rem 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .34) !important;
  box-shadow: 0 10px 28px #0000002e, inset 0 0 0 1px #94a3b814 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
#panel-completed .table-scroll,
#panel-processing .table-scroll {
  width: 100% !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}
#panel-completed table,
#panel-processing table {
  width: 100% !important;
  min-width: 760px !important;
  margin: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
  background: transparent !important;
  color: #e8eef7 !important;
  font-family: var(--font-mono, var(--builder-ui-font, Consolas, monospace)) !important;
  font-size: 1rem !important;
}
#panel-completed table thead th,
#panel-processing table thead th {
  box-sizing: border-box !important;
  padding: .5rem !important;
  border-bottom: 1px solid #ffffff14 !important;
  background: rgba(var(--surface-darker-rgb, 11, 15, 28), .72) !important;
  color: #e8eef7 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  white-space: nowrap !important;
}
#panel-completed table tbody td,
#panel-processing table tbody td {
  box-sizing: border-box !important;
  padding: .5rem !important;
  border-bottom: 1px solid #ffffff14 !important;
  color: #d9e3f2 !important;
  line-height: 1.35 !important;
  text-align: center !important;
  vertical-align: middle !important;
}
#panel-completed table tbody tr:nth-child(odd),
#panel-processing table tbody tr:nth-child(odd) {
  background: #ffffff04 !important;
}
#panel-completed table tbody tr:hover,
#panel-processing table tbody tr:hover {
  background: rgba(var(--primary-rgb, 62, 131, 255), .08) !important;
}
#panel-completed table tbody tr:last-child td,
#panel-processing table tbody tr:last-child td {
  border-bottom: 0 !important;
}
#panel-completed .note-cell,
#panel-processing .note-cell {
  text-align: left !important;
}
#panel-completed .job-actions,
#panel-processing .job-actions {
  justify-content: center !important;
  min-height: 31px !important;
  gap: 5px !important;
}

/* Admin Action inherits the table surface; only the control itself receives a
   small focus tint when the pointer is over it. */
.admin-shell .security-table th:last-child,
.admin-shell .security-table td:last-child,
.admin-shell .security-table tr:hover td:last-child {
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.admin-shell .security-table .security-action,
.admin-shell .security-table .security-ip,
.admin-shell .security-table .security-actions {
  background: transparent !important;
}
.admin-shell .security-table .security-action {
  color: #cbd7e8 !important;
  border-color: rgba(148, 163, 184, .2) !important;
}
.admin-shell .security-table .security-action:hover,
.admin-shell .security-table .security-action:focus-visible {
  background: rgba(var(--primary-rgb, 62, 131, 255), .08) !important;
  border-color: rgba(var(--primary-light-rgb, 96, 165, 250), .5) !important;
  outline: none !important;
}

@media (max-width: 768px) {
  .account-console.account-popover .account-console-avatar,
  .account-popover.account-console .account-console-avatar {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex-basis: 40px !important;
  }
  .account-popover.account-console .account-console-avatar-shell {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    flex-basis: 44px !important;
  }
  .account-console-avatar .dropdown-avatar-img {
    min-width: 40px !important;
    min-height: 40px !important;
  }
  #panel-completed table,
  #panel-processing table {
    font-size: .82rem !important;
  }
  #panel-completed table thead th,
  #panel-processing table thead th {
    font-size: .78rem !important;
  }
}

/* V11.1.89 - admin security tables use the surrounding glass surface.
   The source console does not draw a separate dark tile around each Risk,
   Event, IP, Account, Time, Status, or Action value. Keep the text and
   hover/focus affordances, but remove opaque cell, badge, and sticky-action
   backgrounds that made the admin tables read as black blocks. */
.admin-shell .security-table th,
.admin-shell .security-table td,
.admin-shell .security-table th:last-child,
.admin-shell .security-table td:last-child {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}
.admin-shell .security-table td:last-child { border-left-color: transparent !important; }
.admin-shell .security-table tr:hover td,
.admin-shell .security-table tr:hover td:last-child {
  background: rgba(var(--primary-rgb, 62, 131, 255), .055) !important;
}
.admin-shell .security-table .security-risk,
.admin-shell .security-table .security-state,
.admin-shell .security-table .security-ip,
.admin-shell .security-table .security-action {
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.admin-shell .security-table .security-action:hover,
.admin-shell .security-table .security-action:focus-visible,
.admin-shell .security-table .security-ip:hover,
.admin-shell .security-table .security-ip:focus-visible {
  background: rgba(var(--primary-rgb, 62, 131, 255), .1) !important;
  border-color: rgba(var(--primary-light-rgb, 96, 165, 250), .45) !important;
}

/* Login History follows the same transparent table treatment. */
.admin-shell .admin-login-table th,
.admin-shell .admin-login-table td,
.admin-shell .admin-login-table th:first-child,
.admin-shell .admin-login-table td:first-child {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}
.admin-shell .admin-login-table tr:hover td {
  background: rgba(var(--primary-rgb, 62, 131, 255), .055) !important;
}
.admin-shell .admin-login-table .admin-login-ip {
  background: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
.admin-shell .admin-login-table .admin-login-ip:hover,
.admin-shell .admin-login-table .admin-login-ip:focus-visible {
  background: rgba(var(--primary-rgb, 62, 131, 255), .1) !important;
  border-color: rgba(var(--primary-light-rgb, 96, 165, 250), .45) !important;
}

/* V11.1.91 - order-table parity with the desktop source builder.  Keep the
   three user-facing states on one geometry so switching Pending, Processing,
   and Completed never shifts the table or clips the action column. */
#panel-queued .orders-command-bar,
#panel-processing .orders-command-bar,
#panel-completed .orders-command-bar {
  z-index: 40 !important;
  box-sizing: border-box !important;
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) auto auto !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 16px !important;
  padding: 14px 16px !important;
  border: 1px solid #ffffff14 !important;
  border-radius: 12px !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .4) !important;
  box-shadow: 0 4px 16px #0000002e !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
#panel-queued .orders-command-bar > label,
#panel-processing .orders-command-bar > label,
#panel-completed .orders-command-bar > label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 1px solid #ffffff1a !important;
  border-radius: 8px !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .33) !important;
  color: #999 !important;
}
#panel-queued .orders-command-bar > label input,
#panel-processing .orders-command-bar > label input,
#panel-completed .orders-command-bar > label input {
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 10px 16px 10px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #fff !important;
  outline: 0 !important;
  font-size: 1rem !important;
}
#panel-queued .orders-command-bar > label:focus-within,
#panel-processing .orders-command-bar > label:focus-within,
#panel-completed .orders-command-bar > label:focus-within {
  border-color: var(--primary-color, #3b82f6) !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .66) !important;
}
#panel-queued .orders-command-bar > .footer-service,
#panel-processing .orders-command-bar > .footer-service,
#panel-completed .orders-command-bar > .footer-service {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin-left: 0 !important;
  color: #94a3b8 !important;
  font-size: .72rem !important;
  white-space: nowrap !important;
}

#panel-queued .table-card.orders-viewer,
#panel-processing .table-card.orders-viewer,
#panel-completed .table-card.orders-viewer {
  width: 100% !important;
  min-width: 0 !important;
  margin: 1rem 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}
#panel-queued .table-wrapper,
#panel-processing .table-wrapper,
#panel-completed .table-wrapper {
  width: auto !important;
  margin: 0 -20px !important;
  padding: 0 20px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scrollbar-color: rgba(var(--primary-light-rgb, 96, 165, 250), .38) rgba(var(--surface-darker-rgb, 11, 15, 28), .28) !important;
}
#panel-queued .orders-table,
#panel-processing .orders-table,
#panel-completed .orders-table {
  width: 100% !important;
  min-width: 760px !important;
  margin: 1rem 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  table-layout: auto !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .34) !important;
  color: #e8eef7 !important;
  font-family: var(--font-mono, var(--builder-ui-font, Consolas, monospace)) !important;
  font-size: 1rem !important;
  box-shadow: 0 10px 28px #0000002e, inset 0 0 0 1px #94a3b814 !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}
#panel-queued .orders-table thead th,
#panel-processing .orders-table thead th,
#panel-completed .orders-table thead th {
  box-sizing: border-box !important;
  padding: .5rem !important;
  border-bottom: 1px solid #ffffff14 !important;
  background: rgba(var(--surface-darker-rgb, 11, 15, 28), .72) !important;
  color: #e8eef7 !important;
  letter-spacing: .01em !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  white-space: nowrap !important;
  backdrop-filter: blur(4px) !important;
}
#panel-queued .orders-table tbody td,
#panel-processing .orders-table tbody td,
#panel-completed .orders-table tbody td {
  box-sizing: border-box !important;
  padding: .5rem !important;
  border-bottom: 1px solid #ffffff14 !important;
  color: #d9e3f2 !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
  text-align: center !important;
  vertical-align: middle !important;
}
#panel-queued .orders-table tbody tr,
#panel-processing .orders-table tbody tr,
#panel-completed .orders-table tbody tr { transition: background-color .16s, box-shadow .16s !important; }
#panel-queued .orders-table tbody tr:nth-child(odd),
#panel-processing .orders-table tbody tr:nth-child(odd),
#panel-completed .orders-table tbody tr:nth-child(odd) { background: #ffffff04 !important; }
#panel-queued .orders-table tbody tr:hover,
#panel-processing .orders-table tbody tr:hover,
#panel-completed .orders-table tbody tr:hover { background: rgba(var(--primary-rgb, 62, 131, 255), .08) !important; }
#panel-queued .orders-table tbody tr.order-row.is-selected,
#panel-processing .orders-table tbody tr.order-row.is-selected,
#panel-completed .orders-table tbody tr.order-row.is-selected {
  background: linear-gradient(90deg, rgba(var(--primary-rgb, 62, 131, 255), .16), rgba(var(--secondary-rgb, 99, 102, 241), .08)) !important;
  box-shadow: inset 3px 0 0 rgba(var(--primary-light-rgb, 96, 165, 250), .82) !important;
}
#panel-queued .orders-table tbody tr:last-child td,
#panel-processing .orders-table tbody tr:last-child td,
#panel-completed .orders-table tbody tr:last-child td { border-bottom: 0 !important; }
#panel-queued .orders-table .order-cell-primary,
#panel-processing .orders-table .order-cell-primary,
#panel-completed .orders-table .order-cell-primary { color: #f1f5f9 !important; font-weight: 600 !important; }
#panel-queued .orders-table .order-cell-muted,
#panel-processing .orders-table .order-cell-muted,
#panel-completed .orders-table .order-cell-muted { color: #b6c2d1 !important; }
#panel-queued .orders-table .note-cell,
#panel-processing .orders-table .note-cell,
#panel-completed .orders-table .note-cell { text-align: left !important; }
#panel-queued .orders-table .order-cell-time,
#panel-processing .orders-table .order-cell-time,
#panel-completed .orders-table .order-cell-time { min-width: 10.5rem !important; color: #dbe4ef !important; font-variant-numeric: tabular-nums !important; white-space: nowrap !important; position: relative !important; }
#panel-queued .orders-table .order-cell-truncated,
#panel-processing .orders-table .order-cell-truncated,
#panel-completed .orders-table .order-cell-truncated { max-width: 100% !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; }
#panel-queued .orders-table .order-cell-actions,
#panel-processing .orders-table .order-cell-actions,
#panel-completed .orders-table .order-cell-actions { padding-inline: .4rem !important; }
#panel-queued .orders-table .order-row-actions,
#panel-processing .orders-table .order-row-actions,
#panel-completed .orders-table .order-row-actions { display: inline-flex !important; align-items: center !important; justify-content: center !important; gap: 6px !important; width: fit-content !important; min-height: 31px !important; white-space: nowrap !important; }

/* Source truncation tooltip: fixed and selectable, so it can escape the
   horizontally scrolling table and copy the complete value. */
.order-cell-tooltip {
  z-index: 4200 !important;
  display: flex !important;
  align-items: center !important;
  width: max-content !important;
  max-width: calc(100vw - 16px) !important;
  padding: .15rem .5rem !important;
  border: 1px solid #94a3b842 !important;
  border-radius: 6px !important;
  background: rgba(var(--surface-darker-rgb, 11, 15, 28), .98) !important;
  color: #e8eef7 !important;
  font-family: var(--font-mono, Consolas, monospace) !important;
  font-size: .85rem !important;
  line-height: 1.35 !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  cursor: pointer !important;
  user-select: text !important;
  backdrop-filter: blur(12px) !important;
  box-shadow: 0 14px 34px #0000006b !important;
}
.order-cell-tooltip[hidden] { display: none !important; }
.order-cell-tooltip:hover,
.order-cell-tooltip:focus-visible { border-color: rgba(var(--primary-light-rgb, 96, 165, 250), .5) !important; outline: none !important; }
.order-cell-copy { display: inline-flex !important; align-items: center !important; flex: none !important; gap: 5px !important; margin-left: 10px !important; color: #94a3b8 !important; font-size: .72rem !important; white-space: nowrap !important; }
.order-cell-tooltip:hover .order-cell-copy,
.order-cell-tooltip:focus-visible .order-cell-copy { color: #e2e8f0 !important; }

@media (max-width: 768px) {
  #panel-queued .orders-command-bar,
  #panel-processing .orders-command-bar,
  #panel-completed .orders-command-bar { grid-template-columns: minmax(0, 1fr) auto !important; }
  #panel-queued .orders-command-bar > .footer-service,
  #panel-processing .orders-command-bar > .footer-service,
  #panel-completed .orders-command-bar > .footer-service { grid-column: 1 / -1 !important; }
  #panel-queued .orders-table,
  #panel-processing .orders-table,
  #panel-completed .orders-table { font-size: .82rem !important; }
  #panel-queued .orders-table thead th,
  #panel-processing .orders-table thead th,
  #panel-completed .orders-table thead th { font-size: .78rem !important; }
}

/* V11.1.91 - final cascade (must remain last). */
.orders-command-bar .search-input-wrapper {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(180px, auto) !important;
  align-items: stretch !important;
  gap: 16px !important;
  min-width: 0 !important;
}
.orders-command-bar .field-filter-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  width: 100% !important;
  min-width: 180px !important;
  min-height: 44px !important;
  padding: 7px 11px 7px 12px !important;
  border: 1px solid #ffffff1a !important;
  border-radius: 8px !important;
  background: #ffffff08 !important;
  color: #e0e0e0 !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: 1rem !important;
  text-align: left !important;
}
.orders-command-bar .field-filter-trigger:hover,
.orders-command-bar .field-filter-trigger[aria-expanded="true"] {
  border-color: rgba(var(--primary-light-rgb, 96, 165, 250), .5) !important;
  background: rgba(var(--primary-rgb, 62, 131, 255), .12) !important;
  color: #fff !important;
}
.orders-command-bar .field-filter-trigger > .ui-icon {
  flex: none !important;
  width: 16px !important;
  height: 16px !important;
  transform: rotate(90deg) !important;
}
.orders-command-bar .search-input-wrapper { position: relative !important; }
.orders-command-bar .field-filter-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  z-index: 90 !important;
  display: grid !important;
  width: min(220px, 100%) !important;
  padding: 6px !important;
  border: 1px solid #ffffff1a !important;
  border-radius: 8px !important;
  background: rgba(var(--surface-darker-rgb, 11, 15, 28), .98) !important;
  box-shadow: 0 12px 28px #00000052 !important;
  backdrop-filter: blur(12px) !important;
}
.orders-command-bar .field-filter-menu[hidden] { display: none !important; }
.orders-command-bar .field-filter-menu button {
  min-height: 34px !important;
  padding: 6px 9px !important;
  border: 0 !important;
  border-radius: 5px !important;
  background: transparent !important;
  color: #cbd5e1 !important;
  cursor: pointer !important;
  font: inherit !important;
  text-align: left !important;
}
.orders-command-bar .field-filter-menu button:hover,
.orders-command-bar .field-filter-menu button:focus-visible {
  background: rgba(var(--primary-rgb, 62, 131, 255), .16) !important;
  color: #fff !important;
  outline: none !important;
}
.orders-command-bar .auto-refresh-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 44px !important;
  padding: 6px 12px !important;
  border: 1px solid #ffffff1a !important;
  border-radius: 8px !important;
  background: #ffffff08 !important;
  color: #e0e0e0 !important;
  cursor: pointer !important;
  font: inherit !important;
  font-size: 1rem !important;
  white-space: nowrap !important;
}
.orders-command-bar .auto-refresh-btn.active {
  border-color: rgba(var(--primary-rgb, 62, 131, 255), .42) !important;
  background: rgba(var(--primary-rgb, 62, 131, 255), .16) !important;
  color: #fff !important;
}
.orders-command-bar .auto-refresh-btn:not(.active) .status-dot { background: #64748b !important; }
@media (min-width: 1101px) {
  #panel-queued .orders-table.orders-table-dense,
  #panel-processing .orders-table.orders-table-dense,
  #panel-completed .orders-table.orders-table-dense {
    table-layout: fixed !important;
    min-width: 0 !important;
  }
  #panel-queued .orders-table.orders-table-dense thead th,
  #panel-queued .orders-table.orders-table-dense tbody td,
  #panel-processing .orders-table.orders-table-dense thead th,
  #panel-processing .orders-table.orders-table-dense tbody td,
  #panel-completed .orders-table.orders-table-dense thead th,
  #panel-completed .orders-table.orders-table-dense tbody td {
    min-width: 0 !important;
    overflow: hidden !important;
    padding-inline: clamp(.18rem, .34vw, .42rem) !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: clamp(.75rem, .52rem + .28vw, .9rem) !important;
  }
  #panel-queued .orders-table.orders-table-dense .order-cell-time,
  #panel-processing .orders-table.orders-table-dense .order-cell-time,
  #panel-completed .orders-table.orders-table-dense .order-cell-time,
  #panel-queued .orders-table.orders-table-dense .note-editor-cell,
  #panel-processing .orders-table.orders-table-dense .note-editor-cell,
  #panel-completed .orders-table.orders-table-dense .note-editor-cell,
  #panel-queued .orders-table.orders-table-dense .order-row-actions,
  #panel-processing .orders-table.orders-table-dense .order-row-actions,
  #panel-completed .orders-table.orders-table-dense .order-row-actions {
    min-width: 0 !important;
    max-width: 100% !important;
  }
}
@media (max-width: 1100px) {
  #panel-queued .orders-table.orders-table-dense,
  #panel-processing .orders-table.orders-table-dense,
  #panel-completed .orders-table.orders-table-dense { min-width: 1500px !important; }
}
#panel-queued .orders-command-bar,
#panel-processing .orders-command-bar,
#panel-completed .orders-command-bar {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  position: relative !important;
  align-items: stretch !important;
  gap: 12px !important;
}
#panel-queued .orders-command-primary,
#panel-processing .orders-command-primary,
#panel-completed .orders-command-primary {
  display: grid !important;
  grid-template-columns: minmax(220px, 1fr) auto !important;
  align-items: start !important;
  gap: 10px !important;
  min-width: 0 !important;
}
#panel-queued .search-controls,
#panel-processing .search-controls,
#panel-completed .search-controls,
#panel-queued .search-input-wrapper,
#panel-processing .search-input-wrapper,
#panel-completed .search-input-wrapper {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
}
#panel-queued .search-input-container,
#panel-processing .search-input-container,
#panel-completed .search-input-container {
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
#panel-queued .search-input-container .search-icon,
#panel-processing .search-input-container .search-icon,
#panel-completed .search-input-container .search-icon {
  position: absolute !important;
  top: 50% !important;
  left: 14px !important;
  z-index: 1 !important;
  width: 17px !important;
  height: 17px !important;
  color: #999 !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}
#panel-queued .search-input,
#panel-processing .search-input,
#panel-completed .search-input {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 10px 16px 10px 40px !important;
  border: 1px solid #ffffff1a !important;
  border-radius: 8px !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .33) !important;
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1.25 !important;
  outline: none !important;
  transition: all .2s !important;
}
#panel-queued .search-input:focus,
#panel-processing .search-input:focus,
#panel-completed .search-input:focus {
  border-color: var(--primary-color, #3b82f6) !important;
  background: rgba(var(--surface-rgb, 18, 28, 48), .66) !important;
}
#panel-queued .refresh-controls,
#panel-processing .refresh-controls,
#panel-completed .refresh-controls {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  width: auto !important;
  min-width: 0 !important;
  white-space: nowrap !important;
}
#panel-queued .orders-command-bar .refresh-btn,
#panel-processing .orders-command-bar .refresh-btn,
#panel-completed .orders-command-bar .refresh-btn {
  flex: 0 0 auto !important;
  width: auto !important;
  min-height: 44px !important;
  padding: 6px 12px !important;
}
#panel-queued .refresh-controls .footer-service,
#panel-processing .refresh-controls .footer-service,
#panel-completed .refresh-controls .footer-service {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  margin: 0 !important;
  color: #94a3b8 !important;
  font-size: .72rem !important;
  white-space: nowrap !important;
}

/* Keep the security surfaces glassy while preserving the semantic hover cue. */
.admin-shell .security-table-wrap {
  background: transparent !important;
  background-image: none !important;
  border-color: rgba(148, 163, 184, .10) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.admin-shell .security-table,
.admin-shell .security-table thead,
.admin-shell .security-table tbody,
.admin-shell .security-table tr,
.admin-shell .security-table th,
.admin-shell .security-table td,
.admin-shell .security-table th::before,
.admin-shell .security-table td::before,
.admin-shell .security-table .security-risk,
.admin-shell .security-table .security-state,
.admin-shell .security-table .security-ip,
.admin-shell .security-table .security-action,
.admin-shell .security-table .security-actions {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}
.admin-shell .security-table th,
.admin-shell .security-table td {
  border-left-color: transparent !important;
  border-right-color: transparent !important;
}
.admin-shell .security-table td {
  border-top-color: rgba(148, 163, 184, .08) !important;
}
.admin-shell .security-table th:last-child,
.admin-shell .security-table td:last-child {
  background: transparent !important;
  border-left-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.admin-shell .security-table tr:hover td,
.admin-shell .security-table tr:hover td:last-child,
.admin-shell .security-table .security-action:hover,
.admin-shell .security-table .security-action:focus-visible,
.admin-shell .security-table .security-ip:hover,
.admin-shell .security-table .security-ip:focus-visible {
  background: rgba(var(--primary-rgb, 62, 131, 255), .055) !important;
  background-color: rgba(var(--primary-rgb, 62, 131, 255), .055) !important;
  border-color: rgba(var(--primary-light-rgb, 96, 165, 250), .35) !important;
  outline: none !important;
}

@media (max-width: 768px) {
  #panel-queued .orders-command-primary,
  #panel-processing .orders-command-primary,
  #panel-completed .orders-command-primary {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }
  #panel-queued .refresh-controls,
  #panel-processing .refresh-controls,
  #panel-completed .refresh-controls { justify-content: flex-start !important; }
  #panel-queued .orders-command-bar .refresh-btn,
  #panel-processing .orders-command-bar .refresh-btn,
  #panel-completed .orders-command-bar .refresh-btn {
    width: 44px !important;
    padding: 0 !important;
  }
  #panel-queued .refresh-label,
  #panel-processing .refresh-label,
  #panel-completed .refresh-label { display: none !important; }
}

