/* Quant Edge Data System — brand lockup and theme-safe wordmark.
   Icon derived from the supplied Q/e logo: exterior alpha is transparent,
   interior is #000; the white e remains readable on either page theme. */
.qe-brand{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-width:0;
  max-width:100%;
  text-decoration:none;
  color:inherit;
}
.qe-brand-icon{
  width:42px;
  height:42px;
  flex:0 0 auto;
  display:block;
  object-fit:contain;
  background:transparent;
  border:0;
  box-shadow:none;
}
.qe-brand-type{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-width:0;
  gap:2px;
  line-height:1.06;
}
.qe-wordmark{
  margin:0;
  display:block;
  font-size:18px;
  font-weight:850;
  letter-spacing:.025em;
  line-height:1.05;
  white-space:nowrap;
  color:inherit;
}
.qe-wordmark .qe-quant{color:#f8f9fc}
.qe-wordmark .qe-edge{color:#f44637}
.qe-system{
  display:block;
  color:#b5b7bf;
  font-size:10px;
  font-weight:550;
  letter-spacing:.19em;
  line-height:1.2;
  white-space:nowrap;
}
.qe-module{
  color:var(--muted,#8795a6);
  font-size:10px;
  font-weight:600;
  letter-spacing:.035em;
  line-height:1.25;
}
:root[data-theme="light"] .qe-wordmark .qe-quant{color:#162033}
:root[data-theme="light"] .qe-system{color:#4e5b6d}
:root[data-theme="light"] .qe-module{color:#65748a}
:root[data-theme="light"] .qe-wordmark .qe-edge{color:#dc342b}
.qe-brand--dashboard .qe-brand-icon{width:55px;height:55px}
.qe-brand--dashboard .qe-wordmark{font-size:23px;letter-spacing:.018em}
.qe-brand--dashboard .qe-system{font-size:12px;letter-spacing:.18em}
.qe-brand--compact .qe-brand-icon{width:34px;height:34px}
.qe-brand--compact .qe-wordmark{font-size:14px}
.qe-brand--compact .qe-system{font-size:9px}
.qe-brand--login .qe-brand-icon{width:52px;height:52px}
.qe-brand--login .qe-wordmark{font-size:19px}
.qe-brand--login .qe-system{font-size:10px}
.qe-brand--login .qe-module{font-size:9px}
.qe-brand--mini .qe-brand-icon{width:30px;height:30px}
.qe-brand--mini .qe-wordmark{font-size:13px}
.qe-brand--mini .qe-system{font-size:8px}
.qe-brand:focus-visible{outline:2px solid #f44637;outline-offset:5px;border-radius:4px}
.qe-dashboard-brand{display:flex;align-items:center;min-width:0}
.qe-options-identity{display:flex;align-items:center;gap:10px;margin-bottom:8px}
.qe-options-identity .eyebrow{margin:0}
@media(max-width:760px){
  .qe-brand{gap:8px}
  .qe-brand--dashboard .qe-brand-icon{width:42px;height:42px}
  .qe-brand--dashboard .qe-wordmark{font-size:18px}
  .qe-brand--dashboard .qe-system{font-size:10px}
  .qe-brand--compact .qe-brand-icon{width:31px;height:31px}
  .qe-brand--compact .qe-wordmark{font-size:12px}
  .qe-brand--login .qe-brand-icon{width:42px;height:42px}
  .qe-brand--login .qe-wordmark{font-size:17px}
}
@media(max-width:420px){
  .qe-brand--compact .qe-wordmark{font-size:11px}
  .qe-brand--compact .qe-system{font-size:8px}
  .qe-brand--mini .qe-wordmark{font-size:11px}
}
