/* V66 · Organizacion del panel de Administración. Solo diseño / navegación: no nuevos permisos. */
#adminPanel.admin-v66{max-width:1480px;width:calc(100% - 28px);box-sizing:border-box;margin:12px auto;height:calc(100dvh - 65px);max-height:calc(100dvh - 65px);padding:16px 18px 32px;}
#adminPanel.admin-v66>.admin-top{position:sticky;top:-16px;z-index:25;background:#081e30!important;padding:12px 7px 16px!important;border-bottom:1px solid #31546b38;margin-bottom:15px;}
#adminPanel.admin-v66>.admin-top h2{font-size:21px;margin-bottom:4px!important;}
#adminPanel.admin-v66>hr{display:none}
#adminPanel .admin-v66-layout{display:grid;grid-template-columns:235px minmax(0,1fr);align-items:start;gap:20px;min-height:540px;}
#adminPanel .admin-v66-nav{position:sticky;top:78px;align-self:start;border:1px solid #46789a44;border-radius:16px;background:linear-gradient(160deg,#0e3047e8,#071b2de8);padding:10px 8px;box-sizing:border-box;}
#adminPanel .admin-v66-nav-heading{padding:10px 11px 12px;text-transform:uppercase;letter-spacing:.12em;font-size:10px;color:#94b9ce;font-weight:800;}
#adminPanel .admin-v66-nav button{width:100%;display:flex;align-items:center;text-align:left;gap:11px;min-height:46px;padding:10px!important;border:1px solid transparent!important;border-radius:10px!important;background:transparent!important;color:#bfd7e6!important;font-weight:700;font-size:12px;margin:2px 0;line-height:1.2;}
#adminPanel .admin-v66-nav button .v66-nav-icon{width:25px;display:inline-flex;justify-content:center;font-size:18px;flex:none;}
#adminPanel .admin-v66-nav button:hover{background:#ffffff0c!important;color:#fff!important}
#adminPanel .admin-v66-nav button[aria-selected="true"]{background:#17619b52!important;border-color:#4699c86b!important;color:#fff!important;box-shadow:inset 3px 0 #60bcf5;}
#adminPanel .admin-v66-content{min-width:0;}
#adminPanel .admin-v66-pane[hidden],#adminPanel .v66-people-pane[hidden]{display:none!important;}
#adminPanel .admin-v66-pane-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin:0 0 15px;}
#adminPanel .admin-v66-pane-head h3{font-size:21px;margin:0 0 4px;color:#ecf8ff;}
#adminPanel .admin-v66-pane-head p{color:#93afc2;font-size:12px;margin:0;max-width:730px;line-height:1.55;}
#adminPanel .admin-v66-pane>.card,#adminPanel .admin-v66-pane>.v66-people-pane>.card{margin-bottom:16px!important;min-width:0;box-sizing:border-box}
#adminPanel .admin-v66-stack>.card{margin-bottom:16px!important;}
#adminPanel .admin-v66-subnav{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px;border-bottom:1px solid #3b72933d;padding:0 0 12px;}
#adminPanel .admin-v66-subnav button{background:#0d3148!important;color:#b9d6e7!important;border-color:#4e7e9450!important;font-size:12px;padding:9px 12px!important;border-radius:9px!important;font-weight:750;}
#adminPanel .admin-v66-subnav button[aria-selected="true"]{background:#176397!important;color:#fff!important;border-color:#61bafa88!important;}
#adminPanel .v66-metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin-bottom:15px;}
#adminPanel .v66-metric{border:1px solid #3a6e8e55;background:#0b2e46a8;border-radius:13px;padding:17px 16px;min-width:0;}
#adminPanel .v66-metric small{display:block;color:#92b6cc;font-size:11px;font-weight:650}
#adminPanel .v66-metric b{display:block;font-size:30px;line-height:1.4;color:#f0f8ff;font-variant-numeric:tabular-nums}
#adminPanel .v66-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:17px;}
#adminPanel button.v66-quick{border:1px solid #3b739453!important;border-radius:13px!important;background:#0d3046b0!important;padding:17px!important;text-align:left;color:inherit!important;display:flex;gap:13px;align-items:center;min-width:0;}
#adminPanel button.v66-quick:hover{border-color:#62b7ea9e!important;background:#135071b8!important;}
#adminPanel .v66-quick>span:first-child{font-size:24px;}
#adminPanel .v66-quick b{display:block;font-size:13px;line-height:1.5}
#adminPanel .v66-quick small{font-size:11px;color:#abc2d2;line-height:1.5;display:block}
#adminPanel .v66-note{padding:13px 15px;border:1px solid #4676935c;background:#09273b9c;border-radius:12px;color:#bcd4e3;line-height:1.6;font-size:12px;margin:0 0 16px;}
#adminPanel .v66-section-actions{display:flex;flex-wrap:wrap;gap:9px;margin:13px 0;}
#adminPanel .v66-section-actions button{background:#113d5b!important;border-color:#4e9ecb7f!important;color:#eaf9ff!important;font-weight:750}
#adminPanel .v66-team-row{display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid #375b7445;padding:11px 4px;}
#adminPanel .v66-team-name{min-width:0;flex:1}
#adminPanel .v66-team-name b{font-size:13px;display:block}
#adminPanel .v66-team-name small{color:#aac5d5;font-size:11px}
#adminPanel .v66-team-stats{font-size:12px;color:#c0d6e4;white-space:nowrap}
#adminPanel .v66-team-row button{flex:none;font-size:11px}
#adminPanel #adminVersionStamp{margin-top:20px!important;text-align:right!important;opacity:.55;}
#adminPanel .admin-v66-badge{font-size:10px;background:#144763;color:#def4ff;border:1px solid #357faf77;border-radius:999px;padding:4px 9px;white-space:nowrap;}
#adminPanel .v66-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
#adminPanel .v66-two-col>div{border-radius:12px;padding:15px;background:#0b2e46bb;border:1px solid #477e9957}
#adminPanel .v66-two-col b{display:block;margin-bottom:5px;color:#e8f8ff}
#adminPanel .v66-two-col p{font-size:12px;color:#a9c5d5;line-height:1.5;margin:0}
#adminPanel .admin-v66-nav button:focus-visible,#adminPanel .admin-v66-subnav button:focus-visible{outline:2px solid #79cefc;outline-offset:2px}
html[data-theme="light"] #adminPanel.admin-v66>.admin-top{background:#eef6fb!important}
html[data-theme="light"] #adminPanel .admin-v66-nav{background:#eaf3f8;border-color:#a9c9dc}
html[data-theme="light"] #adminPanel .admin-v66-nav-heading,html[data-theme="light"] #adminPanel .admin-v66-pane-head p{color:#58798f}
html[data-theme="light"] #adminPanel .admin-v66-nav button{color:#31566a!important}
html[data-theme="light"] #adminPanel .admin-v66-nav button[aria-selected="true"]{background:#cce7f9!important;color:#12466d!important}
html[data-theme="light"] #adminPanel .admin-v66-pane-head h3{color:#193e58}
html[data-theme="light"] #adminPanel .v66-metric,html[data-theme="light"] #adminPanel .v66-note,html[data-theme="light"] #adminPanel .v66-two-col>div{background:#f1f8fc;border-color:#c3dbe8;color:#36576c}
html[data-theme="light"] #adminPanel .v66-metric small,html[data-theme="light"] #adminPanel .v66-team-name small{color:#55788d}
html[data-theme="light"] #adminPanel .v66-metric b,html[data-theme="light"] #adminPanel .v66-team-name b,html[data-theme="light"] #adminPanel .v66-two-col b{color:#244960}
html[data-theme="light"] #adminPanel .v66-quick{background:#eef7fc!important;color:#26485f!important;border-color:#b4d4e7!important}
html[data-theme="light"] #adminPanel .v66-quick small,html[data-theme="light"] #adminPanel .v66-two-col p{color:#57778c}
html[data-theme="light"] #adminPanel .v66-team-stats{color:#46687e}
@media(max-width:1020px){#adminPanel .admin-v66-layout{grid-template-columns:190px minmax(0,1fr);gap:12px}#adminPanel .v66-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){#adminPanel.admin-v66{width:calc(100% - 12px);padding:10px;margin:4px auto;height:calc(100dvh - 110px);max-height:calc(100dvh - 110px)}#adminPanel .admin-v66-layout{display:block}#adminPanel .admin-v66-nav{position:static;display:flex;overflow-x:auto;gap:4px;margin-bottom:16px;border-radius:11px;scrollbar-width:thin}#adminPanel .admin-v66-nav-heading{display:none}#adminPanel .admin-v66-nav button{flex:0 0 auto;width:auto;white-space:nowrap;min-height:39px;font-size:11px}#adminPanel .admin-v66-pane-head h3{font-size:18px}#adminPanel .v66-quick-grid{grid-template-columns:1fr}#adminPanel .v66-two-col{grid-template-columns:1fr}#adminPanel .v66-team-row{flex-wrap:wrap}#adminPanel .v66-team-stats{white-space:normal}}
