/* MotorMacro V20 · Cabecera institucional compacta.
   Imagen decorativa resuelta en CSS: sin cartografía ni datos de mercado ficticios. */
.topbar{
  background-color:#0b202b;
  background-image:
    radial-gradient(ellipse 360px 140px at 15% 10%,rgba(41,112,130,.27),transparent 78%),
    radial-gradient(ellipse 260px 160px at 74% 125%,rgba(171,136,77,.12),transparent 78%),
    repeating-linear-gradient(112deg,transparent 0 54px,rgba(150,184,190,.025) 54px 55px,transparent 55px 110px),
    linear-gradient(110deg,#112e3b 0%,#0e2633 43%,#0b1e29 100%);
  border-bottom:1px solid rgba(197,162,102,.35);
  box-shadow:inset 0 1px 0 rgba(231,213,170,.08),0 5px 21px rgba(0,9,15,.24);
  isolation:isolate;
  gap:18px;
  min-height:82px;
  padding-top:13px;
  padding-bottom:13px;
}
.topbar .top-label{position:relative;min-width:150px}
.topbar .top-label b{
  color:#f1d59b;
  font-size:11px;
  line-height:1.5;
  letter-spacing:1.15px;
}
.topbar #page-name{display:block;margin-top:2px;color:#deeaed;font-size:13px;line-height:1.35}
.topbar .mm-edicion-fecha{color:#b2c6ca}
.topbar #mm-guide-slot{position:relative}
#mm-guide-slot .mm-guide-dock{gap:10px}
#mm-guide-slot .mm-guide-access,
#mm-guide-slot .mm-library-access{
  min-height:45px;
  padding:9px 15px;
  gap:8px;
  border:1px solid #a89162;
  border-radius:6px;
  background:linear-gradient(130deg,#224758,#1a3444);
  color:#f4e1ba;
  font:750 12px/1.25 system-ui,-apple-system,Segoe UI,sans-serif;
  letter-spacing:.12px;
  box-shadow:0 2px 8px rgba(0,0,0,.15),inset 0 1px 0 rgba(235,223,181,.08);
  transition:background-color .16s ease,border-color .16s ease,transform .16s ease;
}
#mm-guide-slot .mm-library-access{
  background:linear-gradient(130deg,#345452,#253d41);
  border-color:#beac7c;
}
#mm-guide-slot .mm-guide-access:hover,
#mm-guide-slot .mm-library-access:hover{border-color:#f0d09b;background:#365866;transform:translateY(-1px)}
#mm-guide-slot .mm-guide-access:focus-visible,
#mm-guide-slot .mm-library-access:focus-visible{outline:2px solid #f5d99f;outline-offset:3px}
.topbar .global-search{
  height:44px;
  background:rgba(10,29,41,.66);
  border-color:#46616d;
  border-radius:5px;
  overflow:hidden;
}
.topbar .global-search input{color:#e6eff1}
.topbar .global-search button{font-weight:700}
@media(min-width:721px){.main-space{padding-top:34px}}
@media(max-width:1180px) and (min-width:721px){
  .topbar{gap:12px}
  .topbar .global-search{width:235px}
  #mm-guide-slot .mm-guide-access,
  #mm-guide-slot .mm-library-access{padding:8px 12px;font-size:12px}
  #mm-guide-slot .mm-access-long{display:inline}
  #mm-guide-slot .mm-access-short{display:none}
}
@media(max-width:1020px) and (min-width:721px){
  #mm-guide-slot .mm-access-long{display:none}
  #mm-guide-slot .mm-access-short{display:inline}
  .topbar .global-search{width:210px}
  .topbar .top-label{min-width:100px}
}
@media(max-width:880px) and (min-width:721px){
  .topbar .top-label{display:none}
  .topbar .global-search{width:230px}
}
@media(max-width:720px){
  .topbar{padding:11px 17px;gap:9px;min-height:0}
  #mm-guide-slot .mm-guide-access,
  #mm-guide-slot .mm-library-access{min-height:44px;padding:8px 14px;font-size:12px}
  #mm-guide-slot .mm-access-long{display:none}
  #mm-guide-slot .mm-access-short{display:inline}
  .topbar .global-search{width:100%}
}
@media(max-width:360px){
  #mm-guide-slot .mm-guide-access,
  #mm-guide-slot .mm-library-access{padding:8px 10px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  #mm-guide-slot .mm-guide-access,
  #mm-guide-slot .mm-library-access{transition:none;transform:none}
}
