/* Workbench glass theme. The desktop palette and existing mobile layout share neutral surfaces. */
@media screen {
  html:root {
    --pc-frame: #f5f5f5;
    --pc-surface: #fff;
    --pc-soft: #f3f3f3;
    --pc-selected: #e7e7e7;
    --pc-hover: #eaeaea;
    --pc-line: #d9d9d9;
    --pc-control-line: #7c7c7c;
    --pc-ink: #202020;
    --pc-muted: #585858;
    --pc-alert: #c53036;
    --pc-table-alt: #fafafa;
    --pc-table-head: #f0f0f0;
    --pc-table-hover: #ededed;
    --pc-urgent: #8e450b;
    --pc-critical: #a0262d;
    --pc-action: #202020;
    --pc-action-hover: #393939;
    --pc-on-action: #fff;
    --pc-glass: rgb(255 255 255 / 79%);
    --pc-rim: rgb(255 255 255 / 94%);
    --pc-luster: rgb(255 255 255 / 64%);
    --pc-glow: rgb(128 128 128 / 19%);
    --pc-shadow: rgb(0 0 0 / 12%);
    --pc-panel-rim: inset 0 1px var(--pc-rim), 0 4px 12px -10px var(--pc-shadow);
    --pc-float-shadow: inset 0 1px var(--pc-rim), 0 16px 44px -18px var(--pc-shadow);
    --pc-glass-highlight: linear-gradient(152deg, var(--pc-luster), transparent 58%);
    --pc-panel-highlight: radial-gradient(ellipse 72% 52% at 54% 112%, var(--pc-glow), transparent 80%);
  }

  html:root[data-workspace-theme="dark"] {
    --pc-frame: #1b1b1b;
    --pc-surface: #272727;
    --pc-soft: #303030;
    --pc-selected: #444;
    --pc-hover: #3b3b3b;
    --pc-line: #515151;
    --pc-control-line: #868686;
    --pc-ink: #f2f2f2;
    --pc-muted: #bcbcbc;
    --pc-table-alt: #2b2b2b;
    --pc-table-head: #333;
    --pc-table-hover: #383838;
    --pc-urgent: #ffd096;
    --pc-critical: #ffb5b9;
    --pc-action: #efefef;
    --pc-action-hover: #fff;
    --pc-on-action: #1c1c1c;
    --pc-glass: rgb(43 43 43 / 87%);
    --pc-rim: rgb(255 255 255 / 13%);
    --pc-luster: rgb(255 255 255 / 8%);
    --pc-glow: rgb(192 192 192 / 18%);
    --pc-shadow: rgb(0 0 0 / 45%);
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) {
    color: var(--pc-ink);
    --ws-frame: var(--pc-frame);
    --ws-surface: var(--pc-surface);
    --ws-soft: var(--pc-soft);
    --ws-selected: var(--pc-selected);
    --ws-line: var(--pc-line);
    --ws-ink: var(--pc-ink);
    --ws-muted: var(--pc-muted);
    --ws-accent: var(--pc-action);
    --frame: var(--pc-frame);
    --surface: var(--pc-surface);
    --surface-soft: var(--pc-soft);
    --surface-active: var(--pc-selected);
    --ink: var(--pc-ink);
    --text: var(--pc-ink);
    --muted: var(--pc-muted);
    --line: var(--pc-line);
    --accent: var(--pc-action);
    --accent-ink: var(--pc-ink);
  }

  html:root[data-workspace-theme] body.workspace-unified:not(.mw-enabled):not(.touch-fullscreen) {
    background: var(--pc-frame);
  }

  html:root[data-workspace-theme] body.workspace-unified:not(.mw-enabled):not(.touch-fullscreen) .main-wrap {
    background: var(--pc-panel-highlight), var(--pc-frame) !important;
  }

  html:root[data-workspace-theme] body.workspace-unified:not(.mw-enabled):not(.touch-fullscreen) :is(.sidebar, .topbar, .nav-flyout, .nav-flyout-panel, .gs-results, .gs-panel) {
    background: var(--pc-glass-highlight), var(--pc-glass) !important;
    border-color: var(--pc-line) !important;
    color: var(--pc-ink) !important;
    backdrop-filter: blur(17px);
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.topbar, .sidebar) {
    box-shadow: inset 0 1px var(--pc-rim);
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.nav-flyout, .nav-flyout-panel, .gs-results, .gs-panel) {
    box-shadow: var(--pc-float-shadow);
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .sidebar :is(.nav-button.active, .nav-group-trigger.active, .is-current > .nav-group-row > .nav-button),
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.tab.active, [role="tab"][aria-selected="true"], .segmented button[aria-pressed="true"]) {
    background: var(--pc-glass-highlight), var(--pc-selected) !important;
    color: var(--pc-ink) !important;
    box-shadow: inset 0 1px var(--pc-rim);
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.nav-count, .profile-pending, .im-unread, .unified-notification-count, .pw-count-badge,
        .workflow-message-count, [data-im-unread], .im-bottom-badge) {
    background: var(--pc-alert) !important;
    color: #fff !important;
    font-variant-numeric: tabular-nums;
  }

  html:root[data-workspace-theme] body.workspace-unified:not(.mw-enabled):not(.touch-fullscreen) .content {
    color: var(--pc-ink);
    background: transparent !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen))
    :is(.card, .pw-section, .so-details, .empty-state, .pr-panel, .workflow-message-card) {
    color: var(--pc-ink);
    background-color: var(--pc-surface) !important;
    border-color: var(--pc-line) !important;
    box-shadow: var(--pc-panel-rim);
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen))
    :is(.pw-profile-card, .customer-inbox-entry, .workflow-strip, .so-finance-metric, .erp-intro, .pw-count) {
    background: var(--pc-glass-highlight), var(--pc-panel-highlight), var(--pc-glass) !important;
    border-color: var(--pc-line) !important;
    box-shadow: var(--pc-panel-rim), 0 9px 22px -21px var(--pc-ink) !important;
    color: var(--pc-ink) !important;
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.customer-inbox-symbol, .pw-avatar, .erp-intro .erp-intro-icon) {
    background: var(--pc-selected) !important;
    color: var(--pc-ink) !important;
    border-color: var(--pc-line) !important;
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .customer-inbox-entry :is(h2, p, strong, small),
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .erp-intro :is(h2, p, strong, small) {
    color: var(--pc-ink);
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .workflow-message-card.is-actionable {
    background-image: var(--pc-glass-highlight);
    border-left-color: var(--pc-muted) !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .workflow-message-card :is(p, small),
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .workflow-message-bottom > span {
    color: var(--pc-muted);
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.gs-field, .sidebar-menu-search input) {
    background: var(--pc-surface) !important;
    color: var(--pc-ink) !important;
    border-color: var(--pc-control-line) !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.gs-field, .sidebar-menu-search input):focus-within {
    border-color: var(--pc-ink) !important;
    box-shadow: none !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.gs-field > svg, .gs-panel-heading strong, .gs-add, .gs-close) {
    color: var(--pc-ink);
    stroke: currentColor;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.gs-result, .gs-group, .gs-help) {
    background: var(--pc-surface);
    color: var(--pc-ink);
    border-color: var(--pc-line);
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .gs-result:is(:hover, .is-selected, :focus-visible) {
    background: var(--pc-selected);
    border-color: var(--pc-line);
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.gs-empty, .gs-empty strong, .gs-results-meta, .gs-help) {
    color: var(--pc-muted);
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.gs-input, .sidebar-menu-search input, .im-search-field input)::placeholder {
    color: var(--pc-muted) !important;
    opacity: 1;
  }

  /* The production dashboard has its own table and heading styles. */
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-card :is(.daily-production-header, .daily-production-note) {
    background: var(--pc-surface) !important;
    border-color: var(--pc-line) !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-card :is(.daily-production-symbol, .daily-production-actions .button.secondary) {
    background: var(--pc-soft) !important;
    color: var(--pc-ink) !important;
    border-color: var(--pc-line) !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-card :is(
    #daily-production-title, .daily-production-product strong, .daily-production-quantity, .daily-production-plan,
    .id-link, .daily-production-table tbody td
  ) { color: var(--pc-ink); }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-card :is(
    .daily-production-title p, .daily-production-secondary, .daily-production-packaging, .daily-production-serial,
    .daily-production-quantity small, .daily-production-plan > small, .daily-production-note, .daily-production-empty
  ) { color: var(--pc-muted); }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-card :is(.daily-production-priority.urgent, .daily-production-carryover) {
    color: var(--pc-urgent);
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-card .daily-production-priority.critical { color: var(--pc-critical); }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-table :is(th, td) {
    border-color: var(--pc-line) !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-table th {
    color: var(--pc-ink);
    background: var(--pc-table-head) !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-table tbody td {
    background: var(--pc-surface) !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-table tbody tr:nth-child(even) td {
    background: var(--pc-table-alt) !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-table tbody tr:is(:hover, :focus-within) td {
    background: var(--pc-table-hover) !important;
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-table .order-status {
    color: var(--pc-ink);
    background: var(--pc-soft);
    border-color: var(--pc-line);
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .daily-production-table .order-status .dot { background: currentColor; }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.table-wrap, .table-scroll, .data-table-wrapper) {
    background: var(--pc-surface) !important;
    border-color: var(--pc-line) !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.table-wrap, .table-scroll, .data-table-wrapper) :is(thead th, th[scope="col"]) {
    background: var(--pc-table-head) !important;
    color: var(--pc-ink) !important;
    border-color: var(--pc-line) !important;
  }
  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.table-wrap, .table-scroll, .data-table-wrapper) tbody td {
    background: var(--pc-surface);
    color: var(--pc-ink);
    border-color: var(--pc-line);
  }
  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.table-wrap, .table-scroll, .data-table-wrapper) tbody td
    :is(.muted, small, .text-muted, .field-help, .product-code) { color: var(--pc-muted); }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.table-wrap, .table-scroll, .data-table-wrapper) tbody tr:is(:hover, :focus-within) td {
    background-color: var(--pc-table-hover);
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.modal, .im-dialog, .global-search-popover, .pw-detail-sheet, .notification-panel) {
    color: var(--pc-ink) !important;
    background: var(--pc-glass-highlight), var(--pc-glass) !important;
    border-color: var(--pc-line) !important;
    box-shadow: var(--pc-float-shadow) !important;
    backdrop-filter: blur(21px);
  }
  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(
    .card, .erp-intro, .erp-empty, .empty-state, .toolbar, .modal
  ) :is(.muted, .hint, .field-help, .empty-copy) { color: var(--pc-muted); }
  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.toolbar, .erp-toolbar, .list-toolbar, .modal)
    :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    background: var(--pc-soft) !important;
    color: var(--pc-ink) !important;
    border-color: var(--pc-control-line) !important;
  }
  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.toolbar, .erp-toolbar, .list-toolbar, .modal)
    :is(input, textarea)::placeholder {
    color: var(--pc-muted) !important;
    opacity: 1;
  }

  html:root[data-workspace-theme="dark"] body.workspace-unified .workflow-strip .workflow-keyword {
    background: var(--pc-selected);
    color: var(--pc-ink) !important;
    border-color: var(--pc-line);
  }

  html:root[data-workspace-theme="dark"] body.workspace-unified .workflow-strip :is(.workflow-motion-button, .workflow-notice-ref, .workflow-notice-position) {
    color: var(--pc-muted);
  }

  html:root[data-workspace-theme="dark"] body.workspace-unified .workflow-strip .workflow-motion-button {
    background-color: var(--pc-selected);
  }

  html:root[data-workspace-theme="dark"] body.workspace-unified .demo-banner {
    background: var(--pc-soft);
    color: var(--pc-muted);
    border-color: var(--pc-line);
  }

  /* The sales metrics, planning cards and Bot settings ship their own light palette. */
  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(
    .erp-metric, .plan-task, .production-progress-line, .bot-steps > div, .bot-channel, .bot-enable-option
  ) {
    background: var(--pc-surface) !important;
    color: var(--pc-ink);
    border-color: var(--pc-line);
  }
  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .plan-task.urgent { border-left-color: var(--pc-urgent); }
  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .plan-task.critical { border-left-color: var(--pc-critical); }

  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(
    .erp-metric strong, .plan-task h3, .plan-task .id-link, .production-progress-product, .card-head h2,
    .card-head h3, .card:has(.bot-intro) h2, .card:has(.bot-channel) h2,
    .bot-intro strong, .bot-steps strong, .bot-channel h3, .pw-count strong
  ) { color: var(--pc-ink); }

  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(
    .erp-eyebrow, .erp-metric > span, .erp-metric small, .erp-metric p, .plan-task p,
    .production-progress-product > :is(span, small), .bot-intro, .bot-steps :is(p, b), .bot-channel p,
    .bot-enable-option small, .bot-kind-options legend, .pw-count > span, .pw-count p,
    .so-settlement-detail :is(summary, p, dt)
  ) { color: var(--pc-muted); }
  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .so-settlement-detail dd { color: var(--pc-ink); }
  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .bot-channel-number {
    background: var(--pc-soft);
    color: var(--pc-ink);
  }
  html:root[data-workspace-theme="dark"] body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.tabs-bar, .plan-task, .bot-kind-options) :is(input[type="date"], input[type="text"], input[type="search"]) {
    border-color: var(--pc-control-line) !important;
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.modal-header, .modal-footer, .im-dialog-head) {
    background-color: transparent !important;
    border-color: var(--pc-line) !important;
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .staff-im {
    --im-frame: var(--pc-frame);
    --im-surface: var(--pc-surface);
    --im-soft: var(--pc-soft);
    --im-active: var(--pc-selected);
    --im-thread: var(--pc-frame);
    --im-line: var(--pc-line);
    --im-control: var(--pc-selected);
    --im-ink: var(--pc-ink);
    --im-muted: var(--pc-muted);
    --im-subtle: var(--pc-muted);
    --im-accent: var(--pc-action);
    --im-accent-ink: var(--pc-ink);
    --im-accent-soft: var(--pc-selected);
    --im-self: var(--pc-selected);
    --im-shadow: var(--pc-float-shadow);
    box-shadow: var(--pc-panel-rim);
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .staff-im :is(.im-thread-header, .im-context, .im-composer) {
    color: var(--pc-ink) !important;
    background: var(--pc-glass-highlight), var(--pc-glass) !important;
    border-color: var(--pc-line) !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) .staff-im :is(.im-avatar, .im-ding-badge) {
    color: var(--pc-ink);
    background: var(--pc-selected);
  }

  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(
    .button:not(.secondary):not(.ghost):not(.danger), .im-new-chat, .im-primary, .im-send
  ) {
    background: var(--pc-action);
    border-color: var(--pc-action);
    color: var(--pc-on-action);
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(
    .button:not(.secondary):not(.ghost):not(.danger), .im-new-chat, .im-primary, .im-send
  ):hover:not(:disabled) {
    background: var(--pc-action-hover);
    border-color: var(--pc-action-hover);
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.button.secondary, .button.ghost, .modal-close) {
    color: var(--pc-ink) !important;
    border-color: var(--pc-line) !important;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(button, a, input, select, textarea):focus-visible {
    outline-color: var(--pc-ink) !important;
  }

  /* Red alert badges and business status colors retain their existing semantics. */
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.pill.red, .notice.red, .pr-status-rejected, .button.danger) {
    border-style: solid;
    border-color: currentColor;
    font-weight: 700;
  }

  @supports (corner-shape: squircle) {
    html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(
      .card, .nav-flyout, .nav-flyout-panel, .modal, .im-dialog, .staff-im, .pw-profile-card, .so-hero,
      .customer-inbox-entry, .erp-intro, .gs-results, .demo-banner
    ) { corner-shape: squircle; }
  }
}

@media screen and (prefers-reduced-transparency: reduce), screen and (prefers-contrast: more) {
  html:root {
    --pc-glass: var(--pc-surface);
    --pc-luster: transparent;
    --pc-glow: transparent;
    --pc-rim: transparent;
    --pc-line: #767676;
  }
  html:root[data-workspace-theme="dark"] {
    --pc-glass: var(--pc-surface);
    --pc-luster: transparent;
    --pc-glow: transparent;
    --pc-rim: transparent;
    --pc-line: #a0a0a0;
  }
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(.sidebar, .topbar, .nav-flyout, .nav-flyout-panel, .modal, .im-dialog, .gs-panel) {
    backdrop-filter: none;
  }
}

@media screen and (forced-colors: active) {
  html:root body.workspace-unified:not(:where(.mw-enabled, .touch-fullscreen)) :is(button, a, input, select, textarea):focus-visible {
    outline-color: Highlight !important;
  }
}

/* Mobile keeps its existing navigation and card layout. */
@media screen and (max-width: 760px),
  screen and (max-width: 1000px) and (max-height: 540px) and (orientation: landscape) {
  html:root body.workspace-unified.mw-enabled {
    --pwa-bg: var(--pc-frame);
    --pwa-surface: var(--pc-surface);
    --pwa-well: var(--pc-soft);
    --pwa-selected: var(--pc-selected);
    --pwa-ink: var(--pc-ink);
    --pwa-muted: var(--pc-muted);
    --pwa-line: var(--pc-line);
    --pwa-accent: var(--pc-ink);
    --pwa-action: var(--pc-action);
    --pwa-action-ink: var(--pc-on-action);
    --pwa-focus: var(--pc-ink);
    --pwa-control-line: var(--pc-control-line);
    --pwa-field: var(--pc-surface);
    --pwa-glass: var(--pc-glass);
    --pwa-glass-light: var(--pc-glass-highlight), var(--pc-panel-highlight);
    --pwa-glass-edge: var(--pc-rim);
    --pwa-glass-rim: var(--pc-line);
    --pwa-depth: var(--pc-float-shadow);
    --pwa-lens-fill: var(--pc-glass);
    --pwa-lens-reflection: var(--pc-glass-highlight), var(--pc-panel-highlight);
    --pwa-lens-edge: var(--pc-line);
    --pwa-lens-depth: var(--pc-panel-rim);
    --pwa-lens-glow: 0 18px 32px -25px var(--pc-shadow);
    --pwa-lens-canvas: var(--pc-panel-highlight);
  }

  @media (prefers-reduced-transparency: reduce), (prefers-contrast: more), (forced-colors: active) {
    html:root body.workspace-unified.mw-enabled {
      --pwa-lens-fill: var(--pwa-surface);
      --pwa-lens-reflection: none;
      --pwa-lens-edge: var(--pwa-control-line);
      --pwa-lens-depth: none;
      --pwa-lens-glow: none;
      --pwa-lens-canvas: none;
    }
  }
}

/* Preserve the photo and brand mark while aligning the browser sign-in controls. */
@media screen {
  html .auth-shell {
    --web-auth-action: #202020;
  }
  html .auth-shell .auth-form-wrap .button:not(.secondary, .ghost, .danger) {
    background: var(--web-auth-action) !important;
    border-color: var(--web-auth-action) !important;
    color: #fff !important;
  }
  html .auth-shell .auth-form-wrap .button:not(.secondary, .ghost, .danger):hover:not(:disabled) {
    --web-auth-action: #393939;
  }
  html .auth-shell .auth-form-wrap :is(button, input):focus-visible {
    outline-color: currentColor;
  }
}
