:root{--aso-shell-height:76px;--aso-shell-navy:#0e1f3d;--aso-shell-blue:#2c6bb0;--aso-shell-yellow:#f4c20d;--aso-shell-red:#c1121f}
aso-dashboard-header{position:sticky;top:0;z-index:1000;display:block;min-width:0;font-family:Inter,'Segoe UI',Arial,sans-serif}
aso-dashboard-header[hidden]{display:none!important}
.aso-shell{position:relative;display:flex;align-items:center;gap:18px;min-height:var(--aso-shell-height);padding:10px 22px 8px;overflow:hidden;background:linear-gradient(105deg,#0b1d38,#173c70);color:#fff;border-bottom:1px solid rgba(255,255,255,.12);box-shadow:0 5px 20px rgba(5,18,38,.2)}
.aso-shell::before{content:'';position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--aso-shell-yellow) 0 50%,var(--aso-shell-blue) 50% 75%,var(--aso-shell-red) 75%)}
.aso-shell::after{content:'';position:absolute;right:-80px;top:-145px;width:260px;height:260px;border:1px solid rgba(255,255,255,.08);border-radius:50%;box-shadow:0 0 0 45px rgba(255,255,255,.025);pointer-events:none}
.aso-shell__brand{position:relative;z-index:1;display:flex;align-items:center;gap:11px;flex:none;color:#fff;text-decoration:none}
.aso-shell__logo{display:flex;align-items:center;justify-content:center;width:64px;height:44px;padding:5px 7px;border-radius:9px;background:#fff;box-shadow:0 3px 12px rgba(0,0,0,.2)}
.aso-shell__logo img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.aso-shell__brand-copy{display:grid;gap:1px;line-height:1.1}
.aso-shell__brand-copy b{font:700 12px Archivo,Inter,sans-serif;white-space:nowrap}
.aso-shell__brand-copy small{color:#aebdd1;font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}
.aso-shell__divider{align-self:stretch;width:1px;min-height:36px;background:rgba(255,255,255,.15)}
.aso-shell__context{position:relative;z-index:1;min-width:0;display:grid;gap:1px;flex:1}
.aso-shell__area{color:var(--aso-accent,var(--aso-shell-yellow));font-size:8px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.aso-shell__title{overflow:hidden;margin:0;color:#fff;font:800 clamp(15px,1.35vw,19px)/1.1 Archivo,Inter,sans-serif;letter-spacing:-.025em;text-overflow:ellipsis;white-space:nowrap}
.aso-shell__subtitle{overflow:hidden;color:#afbed1;font-size:9px;line-height:1.2;text-overflow:ellipsis;white-space:nowrap}
.aso-shell__meta{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:none}
.aso-shell__period{padding:6px 9px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:rgba(255,255,255,.04);color:#c7d3e2;font:700 8px 'Roboto Mono',monospace;text-transform:uppercase;white-space:nowrap}
.aso-shell__back{padding:7px 10px;border:1px solid color-mix(in srgb,var(--aso-accent,var(--aso-shell-yellow)) 45%,transparent);border-radius:8px;color:#fff;background:color-mix(in srgb,var(--aso-accent,var(--aso-shell-yellow)) 12%,transparent);font-size:9px;font-weight:800;text-decoration:none;white-space:nowrap}
.aso-shell__back:hover{background:color-mix(in srgb,var(--aso-accent,var(--aso-shell-yellow)) 24%,transparent)}
.aso-shell__actions{display:flex;align-items:center;gap:7px}
.aso-shell__actions .cutoff{color:#c7d3e2;font:700 8px 'Roboto Mono',monospace;white-space:nowrap}
.aso-shell__actions .btn{min-height:30px;padding:6px 9px;border:1px solid rgba(255,255,255,.22);border-radius:8px;background:rgba(255,255,255,.08);color:#fff;font-size:8px;font-weight:800;white-space:nowrap}
.aso-shell__actions .btn.primary{border-color:var(--aso-accent,var(--aso-shell-yellow));background:var(--aso-accent,var(--aso-shell-yellow));color:#142033}
.aso-shell__brand:focus-visible,.aso-shell__back:focus-visible{outline:3px solid var(--aso-shell-yellow);outline-offset:2px}
html.aso-embed aso-dashboard-header{display:none!important}
.aso-comunicaciones .main>.topbar,.aso-fiscal>.site-header,.aso-fiscal>.site-tricolor,.aso-proyectos>.topbar,.aso-buenas-practicas>.tricolor,.aso-buenas-practicas>header,.aso-delitos>.directory-bar,.aso-seguridad-coyuntural>.directory-bar{display:none!important}
.aso-comunicaciones .rail>.brand,.aso-territorio .rail>.brand{display:none!important}
.aso-comunicaciones .app,.aso-territorio .app{min-height:calc(100vh - var(--aso-shell-height))}
.aso-comunicaciones .rail,.aso-territorio .rail{top:var(--aso-shell-height);height:calc(100vh - var(--aso-shell-height))}
.aso-observatorio .app{min-height:calc(100vh - var(--aso-shell-height))}
.aso-observatorio .sidebar{top:var(--aso-shell-height);height:calc(100vh - var(--aso-shell-height))}
@media(max-width:1300px){:root{--aso-shell-height:68px}.aso-shell{gap:12px;padding:8px 14px 6px}.aso-shell__logo{width:56px;height:38px}.aso-shell__brand-copy b{font-size:11px}.aso-shell__subtitle{display:none}.aso-shell__title{font-size:14px}.aso-shell__back{padding:6px 8px}.aso-shell__divider{min-height:32px}.aso-shell__actions .btn{padding:6px 7px}.aso-shell__actions .cutoff{display:none}}
@media(max-width:900px){.aso-shell__actions .btn:not(.primary){display:none}}
@media(max-width:760px){:root{--aso-shell-height:auto}aso-dashboard-header{position:relative}.aso-shell{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 11px;padding:10px 12px 9px}.aso-shell__brand-copy{display:none}.aso-shell__divider{display:none}.aso-shell__context{align-self:center}.aso-shell__title{font-size:13px}.aso-shell__meta{grid-column:1/-1;justify-content:space-between}.aso-shell__period{font-size:7.5px}.aso-shell__back{font-size:8px}.aso-shell__logo{width:52px;height:35px}.aso-comunicaciones .app,.aso-territorio .app,.aso-observatorio .app{min-height:0}.aso-comunicaciones .rail,.aso-territorio .rail,.aso-observatorio .sidebar{top:0;height:auto}}
