/* paladinum KI – Oberfläche nach CI 1.0. Erzeugt von server/marke/bau_oberflaeche.py, nicht von Hand ändern. */
@font-face{font-family:"Barlow";font-style:normal;font-weight:400;font-display:swap;src:url("pki-barlow-400.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:500 600;font-display:swap;src:url("pki-barlow-600.woff2") format("woff2")}
@font-face{font-family:"Barlow";font-style:normal;font-weight:700 900;font-display:swap;src:url("pki-barlow-700.woff2") format("woff2")}

/* ---------- Fest eingebaute Grautöne → Navy ---------- */
*,:before,:after{border:0 solid #e3e7ef}
input::-moz-placeholder{color:#8e9ab6}
textarea::-moz-placeholder{color:#8e9ab6}
input::placeholder,textarea::placeholder{color:#8e9ab6}
.border-gray-300{border-color:#c9cdd6;border-color:rgba(201, 205, 214, var(--tw-border-opacity))}
.border-gray-400{border-color:#8e9ab6;border-color:rgba(142, 154, 182, var(--tw-border-opacity))}
.bg-gray-700{background-color:#1e2748;background-color:rgba(30, 39, 72, var(--tw-bg-opacity))}
.bg-gray-900\/80{background-color:#0b0f21cc}
.bg-\[repeating-conic-gradient\(rgb\(var\(--surface-tertiary\)\)_0\%_25\%\,transparent_0\%_50\%\)\]{background-image:repeating-conic-gradient(#eef0f4 0% 25%,#0000 0% 50%);background-image:repeating-conic-gradient(rgb(var(--surface-tertiary)) 0%,rgb(var(--surface-tertiary)) 25%,transparent 0%, transparent 50%);background-image:repeating-conic-gradient(#eef0f4 0% 25%,#0000 0% 50%)}
.stroke-gray-400{stroke:#8e9ab6}
.text-gray-400{color:rgba(142, 154, 182, var(--tw-text-opacity))}
.text-gray-500{color:rgba(87, 94, 115, var(--tw-text-opacity))}
.text-gray-600{color:rgba(46, 57, 99, var(--tw-text-opacity))}
.text-gray-700{color:rgba(30, 39, 72, var(--tw-text-opacity))}
.text-gray-800{color:rgba(20, 26, 51, var(--tw-text-opacity))}
.text-gray-900{color:rgba(11, 15, 33, var(--tw-text-opacity))}
.prose{--tw-prose-body:#2e3963;--tw-prose-hr:#c9cdd6;--tw-prose-invert-hr:#2e3963;--tw-prose-invert-quote-borders:#2e3963;--tw-prose-invert-td-borders:#2e3963}
.btn-secondary:hover{background-color:#eceff5;background-color:rgba(236, 239, 245, var(--tw-bg-opacity))}
.btn-neutral:hover{background-color:#eceff5;background-color:rgba(236, 239, 245, var(--tw-bg-opacity))}
.dark .btn-neutral{border-color:#2e3963;border-color:rgba(46, 57, 99, var(--tw-border-opacity))}
.dark .btn-neutral:hover{background-color:#2e3963;background-color:rgba(46, 57, 99, var(--tw-bg-opacity))}
.markdown th{background-color:#eceff533}
.dark body,.dark html{background-color:#141a33;background-color:rgba(20, 26, 51, var(--tw-bg-opacity))}
.dark .webkit-dark-styles,.dark .webkit-dark-styles:focus{-webkit-box-shadow:inset 0 0 0 50vh #0b0f21}
.popover-ui{border:1px solid #e3e7ef}
.placeholder\:text-gray-400::placeholder{color:rgba(142, 154, 182, var(--tw-text-opacity))}
.hover\:bg-gray-100:hover{background-color:#eef0f4;background-color:rgba(238, 240, 244, var(--tw-bg-opacity))}
.hover\:bg-gray-20\/50:hover{background-color:#eceff580}
.hover\:bg-gray-200:hover{background-color:#e3e7ef;background-color:rgba(227, 231, 239, var(--tw-bg-opacity))}
.hover\:bg-gray-50:hover{background-color:#f6f7fa;background-color:rgba(246, 247, 250, var(--tw-bg-opacity))}
.hover\:text-gray-600:hover{color:rgba(46, 57, 99, var(--tw-text-opacity))}
.focus\:border-gray-400:focus{border-color:#8e9ab6;border-color:rgba(142, 154, 182, var(--tw-border-opacity))}
.focus\:ring-gray-400:focus{--tw-ring-color:rgba(142, 154, 182, var(--tw-ring-opacity))}
.radix-state-open\:text-gray-600[data-state=open]{color:rgba(46, 57, 99, var(--tw-text-opacity))}
.dark .dark\:border-gray-700{border-color:#1e2748;border-color:rgba(30, 39, 72, var(--tw-border-opacity))}
.dark .dark\:border-gray-800{border-color:#141a33;border-color:rgba(20, 26, 51, var(--tw-border-opacity))}
.dark .dark\:border-gray-800\/50{border-color:#141a3380}
.dark .dark\:bg-gray-700{background-color:#1e2748;background-color:rgba(30, 39, 72, var(--tw-bg-opacity))}
.dark .dark\:bg-gray-800{background-color:#141a33;background-color:rgba(20, 26, 51, var(--tw-bg-opacity))}
.dark .dark\:bg-gray-850{background-color:#10152b;background-color:rgba(16, 21, 43, var(--tw-bg-opacity))}
.dark .dark\:bg-gray-900{background-color:#0b0f21;background-color:rgba(11, 15, 33, var(--tw-bg-opacity))}
.dark .dark\:from-gray-850{--tw-gradient-from:#10152b var(--tw-gradient-from-position);--tw-gradient-to:#10152b00 var(--tw-gradient-to-position)}
.dark .dark\:text-gray-100{color:rgba(238, 240, 244, var(--tw-text-opacity))}
.dark .dark\:text-gray-20{color:rgba(236, 239, 245, var(--tw-text-opacity))}
.dark .dark\:text-gray-200{color:rgba(227, 231, 239, var(--tw-text-opacity))}
.dark .dark\:text-gray-300{color:rgba(201, 205, 214, var(--tw-text-opacity))}
.dark .dark\:text-gray-50{color:rgba(246, 247, 250, var(--tw-text-opacity))}
.dark .dark\:hover\:bg-gray-700:hover{background-color:#1e2748;background-color:rgba(30, 39, 72, var(--tw-bg-opacity))}
.dark .dark\:hover\:bg-gray-800:hover{background-color:#141a33;background-color:rgba(20, 26, 51, var(--tw-bg-opacity))}
.dark .dark\:hover\:bg-gray-800\/50:hover{background-color:#141a3380}
.dark .dark\:hover\:text-gray-400:hover{color:rgba(142, 154, 182, var(--tw-text-opacity))}
.dark .dark\:focus\:ring-gray-400:focus{--tw-ring-color:rgba(142, 154, 182, var(--tw-ring-opacity))}
.dark .dark\:focus\:ring-offset-gray-900:focus{--tw-ring-offset-color:#0b0f21}
.dark .dark\:radix-state-open\:text-gray-400[data-state=open]{color:rgba(142, 154, 182, var(--tw-text-opacity))}

/* ---------- Marke: Schrift ---------- */
:root{--theme-font-family:"Barlow", Arial, "Helvetica Neue", sans-serif}
html,body,button,input,textarea,select,.font-sans,.font-theme-ui{font-family:"Barlow", Arial, "Helvetica Neue", sans-serif}
.prose,.markdown{font-size:1.0625rem}

/* ---------- Seitenleiste: MCP-Bedienfeld aus (Recht bleibt für das Werkzeug 'bestand', s. librechat.yaml) ---------- */
[data-testid="nav-panel-mcp-builder"]{display:none!important}

/* ---------- Dateisymbole: einheitlich Handlungsblau statt LibreChat-Pink/-Bunt ---------- */
.rounded-xl > svg[viewBox="0 0 36 36"] > rect:first-child{fill:rgb(16 86 129)}

/* ---------- Anmeldeseite: Netzsiegel über der Überschrift, Kupferstich-Netz als Grund ---------- */
div.min-h-screen:has(> main.flex-grow){background-image:url("pki-netz-tag-2026-10.svg");background-repeat:no-repeat;
  background-position:center 52%;background-size:min(1100px,150vw) auto}
.dark div.min-h-screen:has(> main.flex-grow){background-image:url("pki-netz-nacht-2026-10.svg")}
.w-authPageWidth{background:transparent!important}
.w-authPageWidth::before{content:"";display:block;width:104px;height:104px;margin:0 auto 26px;
  background:url("pki-zeichen-2026-10.svg") center/contain no-repeat}
a[href*="oauth/openid"]{background:rgb(16 86 129)!important;border-color:rgb(16 86 129)!important;color:#fff!important;
  justify-content:center;font-weight:600}
a[href*="oauth/openid"]:hover{background:rgb(11 68 102)!important}

/* ---------- Marke: Grauskala → Navy ---------- */
:root{--gray-20:236 239 245;--gray-50:246 247 250;--gray-100:238 240 244;--gray-200:227 231 239;--gray-300:201 205 214;--gray-400:142 154 182;--gray-500:87 94 115;--gray-600:46 57 99;--gray-650:38 48 90;--gray-700:30 39 72;--gray-800:20 26 51;--gray-850:16 21 43;--gray-875:14 19 39;--gray-900:11 15 33;}

/* ---------- Marke: hell ---------- */
html{
  --text-primary:30 39 72;
  --text-secondary:87 94 115;
  --text-secondary-alt:96 104 128;
  --text-tertiary:104 112 135;
  --accent-primary:16 86 129;
  --accent-primary-hover:11 68 102;
  --brand-purple:16 86 129;
  --link:16 86 129;
  --link-hover:11 68 102;
  --link-visited:16 86 129;
  --ring-primary:16 86 129;
  --surface-submit:16 86 129;
  --surface-submit-hover:11 68 102;
  --surface-primary-alt:246 247 250;
  --border-light:227 231 239;
  --border-medium:214 219 229;
  --border-medium-alt:214 219 229;
  /* Diagramm-/Statuspalette: kein Gold (GA), kein Lila (Generator-Reflex) – privater Chat nutzt series-6 */
  --series-4:87 94 115;
  --series-5:174 183 207;
  --series-6:142 154 182;
}

/* ---------- Marke: dunkel (Nacht-Navy statt Grau) ---------- */
.dark{
  --text-primary:238 240 244;
  --text-secondary:201 205 214;
  --text-secondary-alt:174 183 207;
  --text-tertiary:142 154 182;
  --text-muted:160 168 190;
  --accent-primary:79 147 196;
  --accent-primary-hover:122 176 214;
  --brand-purple:79 147 196;
  --link:122 176 214;
  --link-hover:160 200 228;
  --link-visited:122 176 214;
  --ring-primary:79 147 196;
  --surface-submit:29 106 156;
  --surface-submit-hover:16 86 129;
  --presentation:20 26 51;
  --surface-primary:16 21 43;
  --surface-primary-alt:16 21 43;
  --surface-secondary:20 26 51;
  --surface-chat:30 39 72;
  --surface-dialog:20 26 51;
  --surface-code:11 15 33;
  --header-primary:20 26 51;
  --header-hover:30 39 72;
  --header-button-hover:30 39 72;
  --border-light:36 45 82;
  --chart-widget-surface:30 39 72;
  --chart-widget-stroke:46 57 99;
  --series-4:142 154 182;
  --series-5:201 205 214;
  --series-6:174 183 207;
}
