/* FalconEye Customer Dashboard Theme R1.3
   Default is Light. Dark mode is opt-in and stored in this browser only. */
:root{color-scheme:light}
:root[data-fe-theme="dark"]{color-scheme:dark}

.fe-theme-toggle{user-select:none}
:root[data-fe-theme="dark"] body.fe-auth-shell{
  background:#10171d!important;color:#d9e4ea!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-main-shell,
:root[data-fe-theme="dark"] body.fe-auth-shell main.workspace{
  background:#10171d!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar{
  background:linear-gradient(180deg,#18242d 0%,#131e25 100%)!important;
  border-color:#2a3a44!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar-nav a{
  color:#d8e4ea!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar-nav a:hover{
  background:#243641!important;color:#fff!important;border-color:#334b58!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar-nav a.active{
  background:#2f7faf!important;color:#fff!important;border-color:#2f7faf!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar-divider,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar-bottom{
  border-color:rgba(255,255,255,.09)!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar-email{color:#aebdc6!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar-action{
  background:#1d2a33!important;border-color:#354a57!important;color:#eef5f8!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar-action:hover{background:#273945!important}

:root[data-fe-theme="dark"] .pagehead h1,
:root[data-fe-theme="dark"] body.fe-auth-shell .pagehead h1,
:root[data-fe-theme="dark"] body.fe-auth-shell h1,
:root[data-fe-theme="dark"] body.fe-auth-shell h2,
:root[data-fe-theme="dark"] body.fe-auth-shell h3,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-window-name-copy label{
  color:#edf4f7!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .pagehead p,
:root[data-fe-theme="dark"] body.fe-auth-shell .muted,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-subtle,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-head p,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-version-box span,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-delivery-meta,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-hash-meta,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-slot-note{
  color:#95a7b2!important
}

:root[data-fe-theme="dark"] body.fe-auth-shell .fe-page-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .tool-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .card,
:root[data-fe-theme="dark"] body.fe-auth-shell .activation-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .modal-card{
  background:#182229!important;color:#dbe6eb!important;border-color:#31414a!important;
  box-shadow:0 1px 2px rgba(0,0,0,.2),0 10px 26px rgba(0,0,0,.18)!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-window-name-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-config-form .field,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-version-box,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-mini-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-grf-stat,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-hash-item,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-file-row,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-slot-row,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-enforcement-summary-box,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-tip,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-tips span,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-info-strip,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-customer-friendly,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tab-page-note{
  background:#202b33!important;color:#d9e4e9!important;border-color:#354750!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell label,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-config-form label,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-version-box strong{
  color:#cbd7dd!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell input,
:root[data-fe-theme="dark"] body.fe-auth-shell select,
:root[data-fe-theme="dark"] body.fe-auth-shell textarea,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-page-card input,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-page-card select,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-page-card textarea,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-config-form input,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-config-form select{
  background:#111a20!important;color:#e2ebef!important;border-color:#3b4c56!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell input[readonly]{background:#162027!important;color:#9badb7!important}
:root[data-fe-theme="dark"] body.fe-auth-shell input::placeholder,
:root[data-fe-theme="dark"] body.fe-auth-shell textarea::placeholder{color:#71838e!important}
:root[data-fe-theme="dark"] body.fe-auth-shell input:focus,
:root[data-fe-theme="dark"] body.fe-auth-shell select:focus,
:root[data-fe-theme="dark"] body.fe-auth-shell textarea:focus{
  border-color:#5f9fc5!important;box-shadow:0 0 0 3px rgba(47,127,175,.2)!important
}

:root[data-fe-theme="dark"] body.fe-auth-shell .btn,
:root[data-fe-theme="dark"] body.fe-auth-shell .button{
  background:#202c34!important;color:#e6eef2!important;border-color:#3c4d57!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .btn:hover,
:root[data-fe-theme="dark"] body.fe-auth-shell .button:hover{background:#2a3942!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .primary,
:root[data-fe-theme="dark"] body.fe-auth-shell .btn.primary,
:root[data-fe-theme="dark"] body.fe-auth-shell button.primary{
  background:#2f7faf!important;border-color:#2f7faf!important;color:#fff!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .btn.danger,
:root[data-fe-theme="dark"] body.fe-auth-shell .button.danger{
  background:#3a2226!important;border-color:#75434a!important;color:#ffb8bf!important
}

:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-tabs,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-build-tool-tabs,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-security-tabs{
  background:#172128!important;border-color:#30414b!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-tabs a{
  color:#aebec7!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-tabs a.active{
  background:#202c34!important;color:#e9f3f7!important;border-color:#49606d!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-drop{
  background:#141f26!important;border-color:#486170!important;color:#dce8ed!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-drop:hover,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-drop.drag{background:#182833!important;border-color:#5d93b3!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-slot-shell,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-log-shell,
:root[data-fe-theme="dark"] body.fe-auth-shell .tablewrap{
  border-color:#35464f!important;background:#182229!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-slot-grid,
:root[data-fe-theme="dark"] body.fe-auth-shell .table th,
:root[data-fe-theme="dark"] body.fe-auth-shell table th{
  background:#202b33!important;color:#a9bbc5!important;border-color:#35464f!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .table,
:root[data-fe-theme="dark"] body.fe-auth-shell table{
  background:#182229!important;color:#dce7ec!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .table td,
:root[data-fe-theme="dark"] body.fe-auth-shell table td{
  background:#182229!important;color:#dce7ec!important;border-color:#2f3e47!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-warning-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-enforcement-build-warning{
  background:#3a2426!important;border-color:#78434a!important;color:#f3b3ba!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-enforcement-now.is-off{
  background:#203029!important;border-color:#426a53!important;color:#bde4ca!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .badge.ok,
:root[data-fe-theme="dark"] body.fe-auth-shell .badge.good{
  background:#193128!important;border-color:#3b6c54!important;color:#a9e1bd!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .badge.warn{
  background:#342e1b!important;border-color:#6f6135!important;color:#efd894!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .badge.off,
:root[data-fe-theme="dark"] body.fe-auth-shell .badge.bad{
  background:#3a2327!important;border-color:#754149!important;color:#f1abb3!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-help-btn{
  background:#223847!important;border-color:#40657a!important;color:#b6def5!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-help-btn::after{
  background:#202a31!important;border-color:#42535d!important;color:#dce6eb!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell footer,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-footer{color:#7f929d!important}

/* FE Logs has inline light styles; dark mode deliberately overrides them. */
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs{color:#dce7ec!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-page-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-mini-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-stat,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-select-card{
  background:#182229!important;color:#dce7ec!important;border-color:#354750!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-select-card:hover{
  border-color:#5f8aa2!important;box-shadow:0 5px 16px rgba(0,0,0,.2)!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-select-card span,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-server-meta,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-stat span,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-pager-meta{
  color:#91a5b0!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-stat strong{color:#edf4f7!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-table,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-table th,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-table td{
  background:#182229!important;color:#dce7ec!important;border-color:#2f3f48!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-table th{background:#202b33!important;color:#a8bbc5!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-field label{color:#b8c7ce!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-field input,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-field select{
  background:#111a20!important;color:#e3ecef!important;border-color:#3b4d57!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-empty,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-panel-fe-logs .fe-log-select-empty{
  background:#151f25!important;color:#94a7b1!important;border-color:#465861!important
}

/* UIUX R1.0: theme control is part of the customer shell, not a floating overlay. */
.fe-global-theme-toggle{cursor:pointer}
.fe-global-theme-toggle:focus-visible{outline:2px solid #5f9fc5;outline-offset:2px}
body.fe-auth-shell main.workspace.fe-workspace>.flash,
body.fe-auth-shell .fe-main-shell main.workspace>.flash{max-width:920px!important;margin:0 auto 16px!important}
body.fe-auth-shell .fe-demo-hard-banner,
body.fe-auth-shell .fe-demo-banner{max-width:920px!important;margin:0 auto 14px!important}

:root[data-fe-theme="dark"] body.fe-auth-shell,
:root[data-fe-theme="dark"] body.fe-guest-shell,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-main-shell,
:root[data-fe-theme="dark"] body.fe-auth-shell main.workspace.fe-workspace,
:root[data-fe-theme="dark"] body.fe-guest-shell main.workspace{background:#08141b!important;color:#dbe8ee!important}

/* Remove light islands from all customer/dashboard cards and quick guides. */
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-page-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .tool-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .card,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-quickguide,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-window-name-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-config-form .field,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-version-box,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-mini-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-grf-stat,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-hash-item,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-file-row,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-info-strip,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-customer-friendly,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-tip,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-tips span,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tab-page-note,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-slot-shell,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-log-shell,
:root[data-fe-theme="dark"] body.fe-auth-shell .tablewrap,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-enforcement-summary-box,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-release-notice,
:root[data-fe-theme="dark"] body.fe-auth-shell .modal-card,
:root[data-fe-theme="dark"] body.fe-guest-shell .card,
:root[data-fe-theme="dark"] body.fe-guest-shell .activation-card,
:root[data-fe-theme="dark"] body.fe-guest-shell .login-card,
:root[data-fe-theme="dark"] body.fe-guest-shell .login-intro{
  background:#10202a!important;color:#dbe8ee!important;border-color:#294351!important;box-shadow:none!important
}

:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-quickguide h1,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-quickguide h2,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-quickguide h3,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-page-card h1,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-page-card h2,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-page-card h3,
:root[data-fe-theme="dark"] body.fe-auth-shell .pagehead h1,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-head h2,
:root[data-fe-theme="dark"] body.fe-guest-shell h1,
:root[data-fe-theme="dark"] body.fe-guest-shell h2,
:root[data-fe-theme="dark"] body.fe-guest-shell h3{color:#f3f8fb!important}

:root[data-fe-theme="dark"] body.fe-auth-shell p,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-subtle,
:root[data-fe-theme="dark"] body.fe-auth-shell .muted,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-head p,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-version-box span,
:root[data-fe-theme="dark"] body.fe-auth-shell small,
:root[data-fe-theme="dark"] body.fe-guest-shell p,
:root[data-fe-theme="dark"] body.fe-guest-shell small{color:#a4bac5!important}
:root[data-fe-theme="dark"] body.fe-auth-shell label,
:root[data-fe-theme="dark"] body.fe-auth-shell strong,
:root[data-fe-theme="dark"] body.fe-guest-shell label{color:#eaf3f7!important}

:root[data-fe-theme="dark"] body.fe-auth-shell input,
:root[data-fe-theme="dark"] body.fe-auth-shell select,
:root[data-fe-theme="dark"] body.fe-auth-shell textarea,
:root[data-fe-theme="dark"] body.fe-guest-shell input,
:root[data-fe-theme="dark"] body.fe-guest-shell select,
:root[data-fe-theme="dark"] body.fe-guest-shell textarea{background:#09151c!important;color:#eef6f9!important;border-color:#365567!important}
:root[data-fe-theme="dark"] body.fe-auth-shell input[readonly],
:root[data-fe-theme="dark"] body.fe-auth-shell input:disabled,
:root[data-fe-theme="dark"] body.fe-auth-shell select:disabled,
:root[data-fe-theme="dark"] body.fe-auth-shell textarea:disabled{background:#111f28!important;color:#96adb9!important;border-color:#2c4756!important}
:root[data-fe-theme="dark"] body.fe-auth-shell input::placeholder,
:root[data-fe-theme="dark"] body.fe-auth-shell textarea::placeholder,
:root[data-fe-theme="dark"] body.fe-guest-shell input::placeholder{color:#7f99a7!important}

/* Read More and normal action buttons must not remain white in dark mode. */
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-read-more,
:root[data-fe-theme="dark"] body.fe-auth-shell a.fe-read-more,
:root[data-fe-theme="dark"] body.fe-auth-shell button.fe-read-more,
:root[data-fe-theme="dark"] body.fe-auth-shell .btn,
:root[data-fe-theme="dark"] body.fe-auth-shell .button,
:root[data-fe-theme="dark"] body.fe-guest-shell .btn,
:root[data-fe-theme="dark"] body.fe-guest-shell .button,
:root[data-fe-theme="dark"] body.fe-guest-shell .utility-button{background:#173241!important;color:#eef7fb!important;border-color:#3c6073!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-read-more:hover,
:root[data-fe-theme="dark"] body.fe-auth-shell .btn:hover,
:root[data-fe-theme="dark"] body.fe-auth-shell .button:hover,
:root[data-fe-theme="dark"] body.fe-guest-shell .btn:hover{background:#20506a!important;color:#fff!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .primary,
:root[data-fe-theme="dark"] body.fe-auth-shell .btn.primary,
:root[data-fe-theme="dark"] body.fe-auth-shell button.primary,
:root[data-fe-theme="dark"] body.fe-guest-shell .primary,
:root[data-fe-theme="dark"] body.fe-guest-shell .btn.primary{background:#2f7faf!important;border-color:#2f7faf!important;color:#fff!important}

:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-tabs,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-build-tool-tabs,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-security-tabs{background:#0e1d26!important;border-color:#294351!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-tabs a{color:#b8c9d2!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-tabs a.active{background:#173241!important;color:#fff!important;border-color:#45687a!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-drop{background:#0c1921!important;border-color:#4b6e81!important;color:#dbe8ee!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-drop:hover,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-drop.drag{background:#11232d!important;border-color:#69a8c9!important}

:root[data-fe-theme="dark"] body.fe-auth-shell table,
:root[data-fe-theme="dark"] body.fe-auth-shell .table{background:#10202a!important;color:#dbe8ee!important}
:root[data-fe-theme="dark"] body.fe-auth-shell table th,
:root[data-fe-theme="dark"] body.fe-auth-shell .table th{background:#152a36!important;color:#bfd0d8!important;border-color:#294351!important}
:root[data-fe-theme="dark"] body.fe-auth-shell table td,
:root[data-fe-theme="dark"] body.fe-auth-shell .table td{background:#10202a!important;color:#dbe8ee!important;border-color:#243c49!important}

:root[data-fe-theme="dark"] body.fe-auth-shell .flash.success{background:#173729!important;border-color:#326b4d!important;color:#c4ead3!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .flash.error{background:#3a1b1e!important;border-color:#7b3d43!important;color:#f1c1c6!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-warning-card,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-enforcement-build-warning{background:#3b2427!important;border-color:#7f464e!important;color:#f5c0c5!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-enforcement-now.is-off{background:#1b3528!important;border-color:#3d7052!important;color:#c8ebd4!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .badge.ok,
:root[data-fe-theme="dark"] body.fe-auth-shell .badge.good{background:#173729!important;border-color:#356f50!important;color:#c9edd7!important}

:root[data-fe-theme="dark"] body.fe-auth-shell a,
:root[data-fe-theme="dark"] body.fe-guest-shell a{color:#7fc9f2}
:root[data-fe-theme="dark"] body.fe-auth-shell a:hover,
:root[data-fe-theme="dark"] body.fe-guest-shell a:hover{color:#b1e0fb}



/* R1.4.3 visual completion: guest header, activation summary, demo badges, readability. */
:root[data-fe-theme="dark"] body.fe-guest-shell .bar{
  background:#0d1b24!important;
  border-color:#223b49!important;
  box-shadow:0 8px 24px rgba(0,0,0,.28)!important;
}
:root[data-fe-theme="dark"] body.fe-guest-shell .bar .brand,
:root[data-fe-theme="dark"] body.fe-guest-shell .bar .brand-copy strong,
:root[data-fe-theme="dark"] body.fe-guest-shell .bar .brand-copy small,
:root[data-fe-theme="dark"] body.fe-guest-shell .utility,
:root[data-fe-theme="dark"] body.fe-guest-shell .utility a,
:root[data-fe-theme="dark"] body.fe-guest-shell .utility-email{color:#eef6fa!important}
:root[data-fe-theme="dark"] body.fe-guest-shell .utility-button{
  background:#173241!important;border-color:#365669!important;color:#eef6fa!important
}
:root[data-fe-theme="dark"] body.fe-guest-shell .utility-button:hover{background:#20506a!important}
:root[data-fe-theme="dark"] body.fe-guest-shell .login-shell{
  background:#0f1d26!important;border-color:#34505f!important;box-shadow:0 24px 70px rgba(0,0,0,.36)!important
}
:root[data-fe-theme="dark"] body.fe-guest-shell .login-intro{
  background:radial-gradient(circle at 15% 15%,rgba(67,209,125,.10),transparent 38%),linear-gradient(145deg,#10222d,#0b171f)!important;
  border-color:#294250!important
}
:root[data-fe-theme="dark"] body.fe-guest-shell .login-card{
  background:#10202a!important;color:#dbe8ee!important
}
:root[data-fe-theme="dark"] body.fe-guest-shell .login-card>p,
:root[data-fe-theme="dark"] body.fe-guest-shell .login-footnote{color:#a6bbc6!important}
:root[data-fe-theme="dark"] body.fe-guest-shell .activation-card{
  background:#10202a!important;color:#dbe8ee!important;border-color:#294351!important
}
:root[data-fe-theme="dark"] body.fe-guest-shell .license-summary>div{
  background:#132632!important;border-color:#2f4a59!important;color:#dbe8ee!important
}
:root[data-fe-theme="dark"] body.fe-guest-shell .license-summary span{color:#9fb3be!important}
:root[data-fe-theme="dark"] body.fe-guest-shell .license-summary strong{color:#f0f7fa!important}
:root[data-fe-theme="dark"] body.fe-guest-shell .activation-heading h1{color:#f3f8fb!important}
:root[data-fe-theme="dark"] body.fe-guest-shell .activation-heading p{color:#a6bbc6!important}
:root[data-fe-theme="dark"] body.fe-guest-shell footer{color:#8fa4af!important}

/* Demo/customer badges and small labels should not become white islands in dark mode. */
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-local-badge{
  background:#17374a!important;
  border-color:#35647d!important;
  color:#bfe7fb!important;
  box-shadow:none!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-local-badge:hover{
  background:#20506a!important;
  border-color:#4b7f99!important;
  color:#fff!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-top-actions{
  padding-top:6px!important;
  padding-right:8px!important;
  margin-bottom:10px!important
}

/* Make secondary/disabled text readable without looking active. */
:root[data-fe-theme="dark"] body.fe-auth-shell .btn:disabled,
:root[data-fe-theme="dark"] body.fe-auth-shell button:disabled,
:root[data-fe-theme="dark"] body.fe-guest-shell .btn:disabled,
:root[data-fe-theme="dark"] body.fe-guest-shell button:disabled{
  background:#163042!important;
  border-color:#294d61!important;
  color:#8ea9b7!important;
  opacity:.78!important
}

/* FALCONEYE_RESPONSIVE_MOBILE_UI_R1_0 - Dark mobile tabs / stacked Server IP */
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-tabs{background:#0f1d26!important;border-color:#274354!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-tabs a{background:#10202a!important;border-color:transparent!important;color:#b9ccd5!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-tabs a small{color:#8fa6b2!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-tabs a:hover{background:#16303d!important;border-color:#355667!important;color:#fff!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-section-tabs a.active{background:#1a3b4d!important;border-color:#4a7892!important;color:#fff!important;box-shadow:none!important}
@media(max-width:760px){
  :root[data-fe-theme="dark"] body.fe-auth-shell .fe-slot-row{background:#0f1d26!important;border-color:#274354!important}
  :root[data-fe-theme="dark"] body.fe-auth-shell .fe-slot-row>div::before{color:#8fa6b2!important}
  :root[data-fe-theme="dark"] body.fe-auth-shell .fe-slot-row input,:root[data-fe-theme="dark"] body.fe-auth-shell .fe-slot-row input[readonly]{background:#09141c!important;color:#edf4f8!important;border-color:#355667!important}
}


/* FalconEye UIUX Phase 3A - light mode readability */
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-sidebar{
  background:linear-gradient(180deg,#263945 0%,#1d2d36 100%)!important;
  border-color:#304754!important
}
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-sidebar-brand-copy,
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-sidebar-label,
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-sidebar-nav a{
  color:#f1f7fa!important
}
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-sidebar-nav a:hover{
  background:#304957!important;color:#fff!important;border-color:#426273!important
}
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-sidebar-nav a.active{
  background:#2f86b8!important;color:#fff!important;border-color:#2f86b8!important
}
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-sidebar-email{color:#d2e0e7!important}
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-sidebar-action{
  background:#2a404d!important;border-color:#496675!important;color:#fff!important
}
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-sidebar-action:hover{background:#365462!important}
:root:not([data-fe-theme="dark"]) body.fe-auth-shell select,
:root:not([data-fe-theme="dark"]) body.fe-auth-shell select option{
  background:#fff!important;color:#1a2a34!important
}
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-page-card .muted,
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-page-card small{color:#526977!important}


/* FALCONEYE_CUSTOMER_VISUAL_QA_POLISH_R1_0_1 */
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar-bottom{background:linear-gradient(180deg,rgba(255,255,255,0),rgba(0,0,0,.16))!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar-action{background:#162630!important;border-color:#34505f!important;color:#eef6fa!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025)!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-sidebar-action:hover{background:#1d3541!important;border-color:#4a6c7d!important;color:#fff!important}
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-sidebar-action{background:#2a404d!important;border-color:#496675!important;color:#fff!important}
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-sidebar-action:hover{background:#365462!important;border-color:#5a7b8b!important;color:#fff!important}
/* Guest activation/login pages remain fully dark instead of showing light summary islands. */
:root[data-fe-theme="dark"] body.fe-guest-shell .activation-card{background:#0f1d26!important;border-color:#2b4655!important;color:#e7f1f5!important;box-shadow:0 20px 55px rgba(0,0,0,.28)!important}
:root[data-fe-theme="dark"] body.fe-guest-shell .license-summary>div{background:#132631!important;border-color:#31505f!important;color:#e7f1f5!important;box-shadow:none!important}
:root[data-fe-theme="dark"] body.fe-guest-shell .activation-heading h1{color:#f1f8fb!important}
:root[data-fe-theme="dark"] body.fe-guest-shell .activation-heading p{color:#a9bdc7!important}
:root[data-fe-theme="dark"] body.fe-guest-shell .utility-button{background:#173241!important;border-color:#3b6074!important;color:#eef7fb!important}
:root[data-fe-theme="dark"] body.fe-guest-shell .utility-button:hover{background:#20506a!important;border-color:#4b7690!important}


/* FALCONEYE_ADMIN_CUSTOMER_DARK_COMPLETION_R1_0_2 */
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-help-dialog,
:root[data-fe-theme="dark"] body.fe-guest-shell .fe-help-dialog{
  background:linear-gradient(180deg,#11212b 0%,#0d1921 100%)!important;
  border-color:#355668!important;color:#eaf3f7!important;box-shadow:0 28px 90px rgba(0,0,0,.55)!important
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-help-dialog h3,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-help-dialog h4,
:root[data-fe-theme="dark"] body.fe-guest-shell .fe-help-dialog h3,
:root[data-fe-theme="dark"] body.fe-guest-shell .fe-help-dialog h4{color:#f2f8fb!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-help-dialog p,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-help-dialog li,
:root[data-fe-theme="dark"] body.fe-guest-shell .fe-help-dialog p,
:root[data-fe-theme="dark"] body.fe-guest-shell .fe-help-dialog li{color:#b8ccd6!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-help-note,
:root[data-fe-theme="dark"] body.fe-guest-shell .fe-help-note{background:#102735!important;border-color:#31566c!important;color:#c8e2ed!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-help-close,
:root[data-fe-theme="dark"] body.fe-guest-shell .fe-help-close{color:#c8dae3!important;background:transparent!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-help-btn::after,
:root[data-fe-theme="dark"] body.fe-guest-shell .fe-help-btn::after{background:#0d1922!important;border-color:#36586c!important;color:#dcebf2!important;box-shadow:0 18px 42px rgba(0,0,0,.45)!important}

:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-quickguide,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-tip,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-tips span{background:#10212b!important;border-color:#2d4a59!important;color:#b5cad4!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-quickguide h2,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-tips strong,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-tool-tip strong{color:#eef6f9!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-drop{background:#0b1821!important;border-color:#456b7f!important;color:#dcebf2!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-drop:hover,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-drop.drag{background:#122a36!important;border-color:#68a9ca!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-drop strong{color:#f1f8fb!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-drop .muted{color:#9db5c1!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-grf-stat{background:#10202a!important;border-color:#2c4757!important;color:#dbe9ef!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-grf-stat strong{color:#f0f7fa!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-empty-state{background:#0c1b24!important;border-color:#36586b!important;color:#a9bdc7!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-splash-layout .fe-instruction-list strong{color:#eef6f9!important}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-splash-layout .fe-subtle{color:#a1b8c3!important}


/* FALCONEYE_GUEST_THEME_TOGGLE_MATCH_DASHBOARD_R1 */
:root:not([data-fe-theme="dark"]) body.fe-guest-shell .utility-button.fe-global-theme-toggle{
  background:#2a404d!important;border-color:#496675!important;color:#fff!important;box-shadow:none!important
}
:root:not([data-fe-theme="dark"]) body.fe-guest-shell .utility-button.fe-global-theme-toggle:hover{
  background:#365462!important;border-color:#5a7b8b!important;color:#fff!important
}
:root[data-fe-theme="dark"] body.fe-guest-shell .utility-button.fe-global-theme-toggle{
  background:#162630!important;border-color:#34505f!important;color:#eef6fa!important;box-shadow:none!important
}
:root[data-fe-theme="dark"] body.fe-guest-shell .utility-button.fe-global-theme-toggle:hover{
  background:#1d3541!important;border-color:#4a6c7d!important;color:#fff!important
}


/* FALCONEYE_ENFORCEMENT_ON_READABILITY_R1_0_1
   Shared by the real Customer Dashboard and the public Demo. */
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-enforcement-now.is-on{
  background:#3b2427!important;
  border-color:#7f464e!important;
  color:#f5c0c5!important;
}
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-enforcement-now.is-on strong,
:root[data-fe-theme="dark"] body.fe-auth-shell .fe-enforcement-now.is-on span,
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-enforcement-now.is-on strong,
:root:not([data-fe-theme="dark"]) body.fe-auth-shell .fe-enforcement-now.is-on span{
  color:inherit!important;
}

/* FALCONEYE_GUEST_THEME_TOGGLE_MATCH_ADMIN_LOGIN_R1_0_1
   Compact control copied from the admin-login visual treatment. */
body.fe-guest-shell .utility-button.fe-global-theme-toggle{
  position:fixed!important;
  top:18px!important;
  right:20px!important;
  z-index:300!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  width:auto!important;
  min-width:104px!important;
  min-height:34px!important;
  padding:7px 10px!important;
  border-radius:9px!important;
  font-weight:750!important;
  font-size:11px!important;
  line-height:1.2!important;
  white-space:nowrap!important;
}
:root:not([data-fe-theme="dark"]) body.fe-guest-shell .utility-button.fe-global-theme-toggle{
  background:#f7f9fb!important;
  border-color:#d7e1e7!important;
  color:#26343d!important;
  box-shadow:0 1px 2px rgba(26,42,54,.05),0 10px 28px rgba(26,42,54,.055)!important;
}
:root:not([data-fe-theme="dark"]) body.fe-guest-shell .utility-button.fe-global-theme-toggle:hover{
  background:#f7f9fb!important;
  border-color:#70a8c8!important;
  color:#26343d!important;
}
:root[data-fe-theme="dark"] body.fe-guest-shell .utility-button.fe-global-theme-toggle{
  background:#13222e!important;
  border-color:#29404f!important;
  color:#eaf3f8!important;
  box-shadow:0 1px 2px rgba(0,0,0,.18),0 14px 34px rgba(0,0,0,.16)!important;
}
:root[data-fe-theme="dark"] body.fe-guest-shell .utility-button.fe-global-theme-toggle:hover{
  background:#1a2d39!important;
  border-color:#70a8c8!important;
  color:#f4f9fb!important;
}
.fe-global-theme-toggle .fe-theme-icon{
  display:inline-block;
  font-size:14px;
  line-height:1;
}

@media(max-width:700px){
  body.fe-guest-shell .utility-button.fe-global-theme-toggle{top:12px!important;right:12px!important;min-width:42px!important}
}
