/* ELIZNA ADMIN R13 R8.2 — GLOBAL QUICK ACTIONS INLINE TWO-ROW BAR
   Persistent page-top navigation. No modal, popover, backdrop or page lock. */

html[data-elz-global-quickbar="true"] #elizna-r13-global-account .r13-global-quick-wrap,
html[data-elz-global-quickbar="true"] #elizna-r13-global-account #elizna-r13-global-quick-button,
html[data-elz-global-quickbar="true"] #elizna-r13-topbar [data-r13-quick]{display:none!important}
body.elz-global-quick-open{overflow:auto!important}

.elz-global-quickbar{
  box-sizing:border-box;
  z-index:64;
  display:grid;
  grid-template-columns:118px minmax(0,1fr);
  gap:9px;
  align-items:stretch;
  padding:8px;
  border:1px solid rgba(111,88,46,.12);
  border-radius:14px;
  background:rgba(255,253,248,.98);
  box-shadow:0 5px 16px rgba(55,44,30,.055);
  color:#332b24;
  font-family:inherit;
}
.elz-global-quickbar *{box-sizing:border-box}
.elz-global-quickbar-label{
  grid-row:1 / span 2;
  min-width:0;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:flex-start;
  gap:5px;
  padding:8px 10px;
  border-right:1px solid rgba(111,88,46,.10);
}
.elz-global-quickbar-label>span{
  width:24px;height:24px;border-radius:8px;display:grid;place-items:center;
  background:#f7efd9;color:#8a672b;font-size:12px;font-weight:800
}
.elz-global-quickbar-label>strong{
  font-size:10px;line-height:1.2;letter-spacing:.02em;color:#594a3a
}
.elz-global-quickbar-grid{
  min-width:0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:repeat(2,minmax(32px,auto));
  gap:6px;
}
.elz-global-quickbar-grid a{
  min-width:0;
  min-height:34px;
  padding:6px 8px;
  display:flex;
  align-items:center;
  gap:7px;
  border:1px solid rgba(111,88,46,.10);
  border-radius:9px;
  background:#fffdfa;
  color:#44392f;
  text-decoration:none;
  white-space:nowrap;
  overflow:hidden;
  transition:background .14s ease,border-color .14s ease,transform .14s ease,box-shadow .14s ease;
}
.elz-global-quickbar-grid a:hover{
  background:#fff8e9;
  border-color:rgba(161,123,57,.28);
  transform:translateY(-1px);
  box-shadow:0 4px 12px rgba(60,46,27,.05)
}
.elz-global-quickbar-grid a[aria-current="page"]{
  background:linear-gradient(90deg,#fffaf0,#f8edcf);
  border-color:rgba(179,146,88,.30);
  box-shadow:inset 2px 0 0 #b39258
}
.elz-global-quickbar-grid a:focus-visible{outline:2px solid rgba(168,118,47,.48);outline-offset:2px}
.elz-global-quickbar-grid a>i{
  flex:0 0 23px;width:23px;height:23px;border-radius:7px;display:grid;place-items:center;
  background:#f7f0df;color:#8a682c;font:700 10px/1 inherit;font-style:normal
}
.elz-global-quickbar-grid a>span{
  min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:9px;font-weight:700;line-height:1.2
}

/* Native React pages: reserve real layout space so the bar never overlays page content. */
main.elz-global-quickbar-host,
[role="main"].elz-global-quickbar-host{
  padding-top:calc(var(--elz-quickbar-base-padding-top,0px) + var(--elz-quickbar-space,92px))!important;
}
.elz-global-quickbar.is-native{pointer-events:auto}

/* R13 custom pages: the bar lives in the isolated portal, directly below the top command row. */
#elizna-r13-portal>.elz-global-quickbar.is-r13{
  position:relative!important;
  z-index:99;
  width:100%!important;
  margin:0 0 10px;
}

@media(max-width:1180px){
  .elz-global-quickbar{grid-template-columns:98px minmax(0,1fr)}
  .elz-global-quickbar-grid{grid-template-columns:repeat(4,minmax(105px,1fr))}
  .elz-global-quickbar-grid a>span{font-size:8.5px}
}
@media(max-width:900px){
  .elz-global-quickbar{grid-template-columns:1fr;padding:7px}
  .elz-global-quickbar-label{grid-row:auto;flex-direction:row;align-items:center;border-right:0;border-bottom:1px solid rgba(111,88,46,.10);padding:4px 5px 7px}
  .elz-global-quickbar-label>span{width:22px;height:22px}
  .elz-global-quickbar-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
}
@media(max-width:560px){
  .elz-global-quickbar-grid{grid-template-columns:1fr}
}
@media(prefers-reduced-motion:reduce){
  .elz-global-quickbar-grid a{transition:none!important}
}
