/* Reglas de presentación del dashboard de Operaciones de NOMAD23. */

* {
box-sizing:border-box;margin:0;padding:0
}

body {
background:radial-gradient(circle at 15% 0%, rgba(147,149,128,.10), transparent 24%),
     radial-gradient(circle at 85% 12%, rgba(126,133,145,.08), transparent 20%),
     linear-gradient(180deg,#2f2e2b 0%, #3d3837 100%);color:#f6f2ee;
    font-family:'Century Gothic','Poppins','Segoe UI',system-ui,-apple-system,sans-serif;padding:12px 24px 18px;font-size:14px;
     position:relative;isolation:isolate;overflow-x:hidden
}

body::before {
content:"";position:fixed;inset:0;z-index:-3;pointer-events:none;opacity:.78;
     background:
       linear-gradient(120deg, rgba(255,255,255,.03), rgba(255,255,255,0) 30%, rgba(255,255,255,.02) 100%),
       linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
       linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
     background-size:auto, 30px 30px, 30px 30px;
     mask-image:radial-gradient(circle at center, black 52%, transparent 100%)
}

body::after {
content:"";position:fixed;inset:-10% -6% 0 -6%;z-index:-2;pointer-events:none;opacity:.9;
     background:
       radial-gradient(ellipse at 18% 12%, rgba(147,149,128,.16), transparent 22%),
       radial-gradient(ellipse at 76% 18%, rgba(105,113,130,.14), transparent 24%),
       radial-gradient(ellipse at 50% 78%, rgba(255,255,255,.06), transparent 28%);
     filter:blur(24px)
}

header {
display:flex;justify-content:center;align-items:flex-end;position:relative;
        flex-wrap:wrap;gap:18px;margin:0 auto 0;max-width:1320px;padding-bottom:16px
}

header::before {
content:"";position:absolute;left:0;right:0;bottom:-10px;height:1px;
               background:linear-gradient(90deg,transparent, rgba(255,255,255,.56), transparent);
}

.brand-strip {
height:5px;max-width:1320px;margin:0 auto 20px;border-radius:999px;box-shadow:0 0 0 1px rgba(255,255,255,.10), 0 10px 24px rgba(147,149,128,.14);
             background:linear-gradient(90deg,#3d3837 0 50%, #2f2e2b 50% 100%)
}

h1 {
font-size:30px;font-weight:700;letter-spacing:-.6px;color:#f6f2ee;text-align:center;
    margin:0 auto;
}

nav {
display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:0 auto 20px;max-width:1320px;
     padding:12px 0
}

.nav-bar {
position:static;max-width:1320px;margin:0 auto
}

.sticky-top {
position:sticky;top:0;z-index:50;background:rgba(47,46,43,.82);backdrop-filter:blur(14px) saturate(1.15);-webkit-backdrop-filter:blur(14px) saturate(1.15);box-shadow:0 22px 34px -18px rgba(0,0,0,.65)
}

.sticky-top::before {
content:"";position:absolute;inset:0 0 auto 0;height:100%;background:linear-gradient(180deg, rgba(255,255,255,.04), transparent 60%);pointer-events:none
}

.sticky-top::after {
content:"";display:block;height:1px;margin-top:0;
  background:linear-gradient(90deg,transparent, rgba(255,255,255,.46) 20%, rgba(255,255,255,.46) 80%, transparent)
}

.tab {
background:rgba(255,255,255,.06);color:#f6f2ee;border:1px solid rgba(255,255,255,.12);
      padding:10px 18px;border-radius:10px;cursor:pointer;font-size:13px;
      font-weight:600;transition:.15s ease-in-out;font-family:inherit;box-shadow:0 2px 8px rgba(255,255,255,.04)
}

.tab:hover {
color:#f6f2ee;border-color:#939580;transform:translateY(-1px)
}

.tab.activo {
background:#939580;color:#fff;border-color:#939580;box-shadow:0 8px 18px rgba(147,149,128,.22)
}

.kpis {
display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));
       gap:14px;margin:0 auto 20px;max-width:1320px
}

.kpi {
background:linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:18px 16px;box-shadow:0 18px 40px -12px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);text-align:center;backdrop-filter:blur(14px) saturate(1.05);-webkit-backdrop-filter:blur(14px) saturate(1.05);position:relative;overflow:hidden
}

.kpi::before, .card::before {
content:"";position:absolute;inset:-25% auto auto -10%;width:140px;height:140px;background:radial-gradient(circle, rgba(147,149,128,.18), transparent 68%);filter:blur(22px);pointer-events:none
}

.kpi-val {
font-size:40px;font-weight:800;line-height:1;color:#f6f2ee;margin-bottom:8px;letter-spacing:-.6px;position:relative;z-index:1
}

.kpi-lbl {
color:#f6f2ee;font-size:11px;margin-top:8px;position:relative;z-index:1;
          text-transform:uppercase;letter-spacing:1px;opacity:.82;font-weight:700
}

.kpi-sub {
color:rgba(246,242,238,.65);font-size:12px;margin-top:6px;font-weight:600;position:relative;z-index:1
}

.card {
background:linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.04));border:1px solid rgba(255,255,255,.08);
       border-radius:14px;padding:22px;margin:0 auto 18px;max-width:1320px;box-shadow:0 24px 48px -16px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.04);
       backdrop-filter:blur(16px) saturate(1.05);-webkit-backdrop-filter:blur(16px) saturate(1.05);position:relative;overflow:hidden
}

.card h3 {
font-size:17px;font-weight:700;margin-bottom:16px;color:#f6f2ee;text-align:left;letter-spacing:-.2px
}

.card-head {
display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px
}

.dashboard-logos {
display:contents
}

.dashboard-logos img {
height:40px;width:auto;max-width:160px;object-fit:contain;position:absolute;top:0;z-index:2
}

.dashboard-logos img:first-child {
left:0
}

.dashboard-logos img:last-child {
right:0
}

.tbl {
width:100%;border-collapse:collapse;font-size:13px
}

.tbl th {
text-align:left;padding:10px 12px;color:rgba(246,242,238,.65);font-size:10.5px;
         text-transform:uppercase;letter-spacing:.8px;font-weight:800;
         border-bottom:1px solid rgba(255,255,255,.12);white-space:nowrap
}

.tbl td {
padding:10px 12px;border-bottom:1px solid rgba(255,255,255,.10);vertical-align:middle
}

.tbl tbody tr:hover {
background:rgba(255,255,255,.08)
}

footer {
margin:20px auto 0;max-width:1320px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12);
        color:#f6f2ee;font-size:11.5px;text-align:center;opacity:.75
}

::-webkit-scrollbar {
width:9px;height:9px
}

::-webkit-scrollbar-track {
background:rgba(255,255,255,.04)
}

::-webkit-scrollbar-thumb {
background:rgba(255,255,255,.18);border-radius:999px
}

@media (max-width: 900px) {
body {
padding:16px 12px 14px;font-size:13px
}
}

@media (max-width: 900px) {
header {
align-items:flex-start;padding-bottom:12px
}
}

@media (max-width: 900px) {
.dashboard-logos {
display:flex;align-items:center;justify-content:space-between;width:100%;gap:14px
}
}

@media (max-width: 900px) {
.dashboard-logos img {
height:34px;max-width:130px;position:static
}
}

@media (max-width: 900px) {
nav {
margin-bottom:14px;padding:8px 0
}
}

@media (max-width: 900px) {
.tab {
flex:1 1 45%;padding:9px 10px;font-size:11px
}
}

@media (max-width: 900px) {
.kpis {
grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px
}
}

@media (max-width: 900px) {
.kpi {
padding:14px 10px
}
}

@media (max-width: 900px) {
.kpi-val {
font-size:31px
}
}

@media (max-width: 900px) {
.card {
padding:15px;margin-bottom:14px
}
}

@media (max-width: 560px) {
body {
padding:10px 8px
}
}

@media (max-width: 560px) {
.dashboard-logos {
width:100%;justify-content:center
}
}

@media (max-width: 560px) {
.tab {
flex-basis:100%
}
}

@media (max-width: 560px) {
.kpis {
grid-template-columns:1fr
}
}

@media (max-width: 560px) {
.card-head {
align-items:flex-start;flex-direction:column
}
}

@media (max-width: 560px) {
.tbl th, .tbl td {
padding:8px 9px
}
}

.sticky-top .nav-bar {
display:flex;align-items:center;gap:10px
}

.sticky-top {
position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:14px;padding:6px 24px;background:rgba(47,46,43,.96);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)
}

.sticky-top header {
min-height:46px;flex:1;justify-content:flex-start;padding:0;gap:14px
}

.sticky-top header::before, .sticky-top .brand-strip, .sticky-top .meta {
display:none
}

.sticky-top .dashboard-logos {
display:flex;align-items:center;flex:0 0 190px
}

.sticky-top .dashboard-logos img, .sticky-top .dashboard-logos img:first-child {
position:static;transform:none;height:42px;max-width:180px
}

.sticky-top .dashboard-logos img:last-child {
display:none
}

.header-open-box {
display:flex;align-items:center;gap:10px;padding:7px 14px;border-left:1px solid rgba(255,255,255,.18);font-size:12px;text-transform:uppercase;letter-spacing:.7px;color:rgba(246,242,238,.82)
}

.header-open-box b {
font-size:26px;color:#f6f2ee;letter-spacing:0
}

.header-update {
display:flex;flex-direction:column;gap:2px;padding-left:12px;border-left:1px solid rgba(255,255,255,.18);font-size:10px;color:rgba(246,242,238,.7);text-transform:uppercase;letter-spacing:.6px
}

.header-update b {
font-size:12px;color:#f6f2ee;letter-spacing:0
}

.sticky-top .nav-bar {
margin-left:auto
}

.sticky-top nav {
margin:0;padding:0;justify-content:flex-end
}

.sticky-top .tab {
padding:8px 12px;font-size:12px
}

@media(max-width:700px) {
.sticky-top {
padding-left:10px;padding-right:10px;gap:6px
}
}

@media(max-width:700px) {
.sticky-top .dashboard-logos {
flex-basis:112px
}
}

@media(max-width:700px) {
.sticky-top .dashboard-logos img, .sticky-top .dashboard-logos img:first-child {
height:32px;max-width:112px
}
}

@media(max-width:700px) {
.sticky-top .header-open-box span, .sticky-top .header-update {
display:none
}
}

@media(max-width:700px) {
.sticky-top .header-open-box {
padding:5px 7px
}
}

@media(max-width:700px) {
.sticky-top .header-open-box b {
font-size:20px
}
}

@media(max-width:700px) {
.sticky-top .tab {
padding:7px 8px;font-size:10px
}
}

.header-update {
align-items:center;justify-content:center;text-align:center
}

html {
scroll-padding-top:84px
}

.sticky-top {
min-height:72px;margin:-12px -24px 20px;padding:10px 24px;width:calc(100% + 48px)
}

.sticky-top header {
min-height:52px
}

.sticky-top .tab {
padding:10px 14px
}

.sticky-top header {
align-items:center
}

.sticky-top .dashboard-logos, .header-open-box, .header-update {
height:42px;align-items:center
}

.header-open-box, .header-update {
min-height:42px
}

.header-update {
justify-content:center
}

@media(max-width:700px) {
.sticky-top {
margin:-12px -24px 16px;padding:8px 10px;width:calc(100% + 48px)
}
}

@media(max-width:700px) {
.sticky-top .tab {
padding:8px 8px
}
}

@media(max-width:900px) {
.panel .kpi {
min-width:0;padding:12px 8px
}
}

@media(max-width:900px) {
.panel .kpi-lbl, .panel .kpi-sub {
overflow-wrap:anywhere;word-break:normal
}
}

@media(max-width:560px) {
.panel .kpi {
padding:10px 7px
}
}

@media(max-width:560px) {
.panel .kpi-lbl {
font-size:10px;letter-spacing:0
}
}

@media(max-width:560px) {
.sticky-top {
margin-left:-8px!important;margin-right:-8px!important;padding-left:8px!important;padding-right:8px!important;width:calc(100% + 16px)!important
}
}

@media(min-width:561px) and (max-width:900px) {
.sticky-top {
margin-left:-12px!important;margin-right:-12px!important;width:calc(100% + 24px)!important
}
}

.sticky-top .dashboard-logos .population-logo, .sticky-top .dashboard-logos .population-logo:hover, .sticky-top .dashboard-logos .population-logo[aria-pressed="true"] {
display:flex;align-items:center;justify-content:center;flex:0 0 calc(50% - 5px);
      min-width:0;max-width:none;box-sizing:border-box;margin:0;padding:0;
      background:none;border:0;border-radius:0;box-shadow:none;transform:none;
      transition:none;cursor:pointer;font:inherit;color:inherit;appearance:none
}

.sticky-top .dashboard-logos .population-logo img {
display:block!important;width:100%!important;max-width:100%!important
}

.sticky-top .dashboard-logos .population-logo:disabled {
opacity:1;cursor:default
}

.sticky-top .dashboard-logos .population-logo:focus-visible {
outline:2px solid #d6b77c;outline-offset:3px
}

html {
background-color:#2f2e2b;color-scheme:dark;scrollbar-color:#777568 #2f2e2b
}

::-webkit-scrollbar {
width:10px;height:10px
}

::-webkit-scrollbar-track {
background:#2f2e2b
}

::-webkit-scrollbar-thumb {
background:#777568;border:2px solid #2f2e2b;border-radius:8px
}

header .dashboard-logos {
gap:10px;justify-content:center;flex-wrap:nowrap
}

header .dashboard-logos img {
display:block!important;max-width:calc(50% - 5px)!important;
      width:calc(50% - 5px)!important;height:42px;object-fit:contain
}

.population-logo {
background:var(--panel,#242321);border:1px solid #645d53;border-radius:12px;
      padding:12px 24px;cursor:pointer;transition:box-shadow .18s,border-color .18s,transform .18s
}

.population-logo {
min-width:0;max-width:45%;box-sizing:border-box
}

.population-logo img {
width:120px;max-width:100%;height:40px;object-fit:contain
}

.population-logo:hover, .population-logo:focus-visible {
border-color:#d6b77c;
      box-shadow:0 0 18px #d6b77c66;transform:translateY(-2px)
}

.population-logo[aria-pressed="true"] {
border-color:#d6b77c;box-shadow:0 0 0 2px #d6b77c55
}

.sticky-top .dashboard-logos .population-logo, .sticky-top .dashboard-logos .population-logo:hover, .sticky-top .dashboard-logos .population-logo[aria-pressed="true"] {
display:flex;align-items:center;justify-content:center;flex:0 0 calc(50% - 5px);
      min-width:0;max-width:none;box-sizing:border-box;margin:0;padding:0;
      background:none;border:0;border-radius:0;box-shadow:none;transform:none;
      transition:none;cursor:pointer;font:inherit;color:inherit;appearance:none
}

.sticky-top .dashboard-logos .population-logo img {
display:block!important;width:100%!important;max-width:100%!important
}

.sticky-top .dashboard-logos .population-logo:disabled {
opacity:1;cursor:default
}

.sticky-top .dashboard-logos .population-logo:focus-visible {
outline:2px solid #d6b77c;outline-offset:3px
}

html {
background:#000!important
}

body {
background:transparent!important
}

body::before {
opacity:1;mask-image:none;
 background:
 radial-gradient(60vmax 50vmax at 8% 4%,rgba(96,95,75,.65),transparent 60%),
 radial-gradient(55vmax 45vmax at 95% 35%,rgba(114,103,101,.48),transparent 60%),
 radial-gradient(50vmax 40vmax at 30% 100%,rgba(61,56,55,.8),transparent 65%),#000;
 background-size:auto
}

.card, .kpi {
background:linear-gradient(140deg,rgba(246,242,238,.16),rgba(246,242,238,.08) 40%,rgba(246,242,238,.05)),rgba(26,25,24,.12);
 box-shadow:0 18px 38px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.16);
 backdrop-filter:blur(22px) saturate(1.5);
 -webkit-backdrop-filter:blur(22px) saturate(1.5)
}

.card, .kpi {
border-color:rgba(246,242,238,.19);
 border-top-color:rgba(246,242,238,.34)
}

.card .card, .card .kpi {
backdrop-filter:none;-webkit-backdrop-filter:none
}

.card .tbl thead th {
background:rgba(47,46,43,.42)
}

.sticky-top {
position:relative;top:auto;
 width:100%;max-width:none;margin:0 auto 20px;
 border:1px solid rgba(246,242,238,.22);border-top-color:rgba(246,242,238,.34);
 border-radius:18px;
 background:linear-gradient(140deg,rgba(246,242,238,.16),rgba(246,242,238,.08) 40%,rgba(246,242,238,.05))!important;
 backdrop-filter:blur(22px) saturate(1.5);
 -webkit-backdrop-filter:blur(22px) saturate(1.5);
 box-shadow:0 12px 30px rgba(0,0,0,.3),inset 0 -1px 0 rgba(246,242,238,.16)
}

@supports not (backdrop-filter:blur(1px)) {
.card, .kpi {
background:rgba(47,46,43,.96)
}
}

@supports not (backdrop-filter:blur(1px)) {
.sticky-top {
background:rgba(47,46,43,.96)!important
}
}

@supports not (backdrop-filter:blur(1px)) {
.card .tbl thead th {
background:rgb(47,46,43)
}
}

@media(prefers-reduced-motion:reduce) {
.card, .kpi {
backdrop-filter:none;-webkit-backdrop-filter:none
}
}

@media print {
body::before, body::after {
display:none
}
}

.sticky-top .nav-bar {
min-width:0
}

.sticky-top nav {
gap:10px
}

.sticky-top .main-operation {
font:inherit;font-weight:800;font-size:12px;padding:8px 18px;color:#f6f2ee;
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
  border-radius:9px;cursor:pointer
}

.sticky-top .main-operation.activo {
background:#939580;color:#fff;border-color:#939580;
  box-shadow:0 8px 18px rgba(147,149,128,.18)
}

.main-operation:focus-visible {
outline:2px solid #d6b77c;outline-offset:3px
}

@media(max-width:900px) {
.sticky-top {
flex-wrap:wrap
}
}

@media(max-width:900px) {
.sticky-top header {
flex-basis:100%
}
}

@media(max-width:900px) {
.sticky-top .nav-bar {
width:100%;margin:4px 0 0
}
}

@media(max-width:900px) {
.sticky-top nav {
justify-content:center
}
}

@media(max-width:700px) {
.sticky-top nav>.tab, .sticky-top .main-operation {
flex:1;font-size:11px;padding:9px 6px
}
}

body::after{display:none!important}
#dashboard-isotype-background{
  position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none
}
#dashboard-isotype-background img{
  position:absolute;top:50%;max-width:none;user-select:none;transition:transform .25s linear;
  will-change:transform;opacity:.30
}
#dashboard-isotype-v{width:min(58vw,58rem);left:6vw;transform:translateY(-55%)}
#dashboard-isotype-gv{width:clamp(10rem,34vw,34rem);left:50%;top:54%;opacity:.24;transform:translate(-50%,-50%)}
#dashboard-isotype-n{width:min(26vw,26rem);right:9vw;transform:translateY(-40%)}
html.dashboard-loading #dashboard-isotype-background{visibility:hidden!important}
@media(prefers-reduced-motion:reduce){
  #dashboard-isotype-background img{transition:none;will-change:auto}
}
@media print{#dashboard-isotype-background{display:none}}

@media(max-width:900px) {
.panel .kpi-val {
font-size:clamp(22px,5vw,32px);overflow-wrap:anywhere
}
}

@media(max-width:560px) {
.panel .kpi-val {
font-size:24px
}
}
