@layer bdr-base {
[data-view-panel="overview"].admin-overview-premium {
  --co-gold: #e5bf79;
  --co-cyan: var(--theme-highlight);
  color: var(--theme-text);
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 14px;
}
[data-view-panel="overview"] .command-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 360px;
  border: 1px solid rgba(107,193,222,.29);
  border-radius: 20px;
  background: linear-gradient(var(--theme-hero-tint), var(--theme-hero-tint)), var(--theme-admin-hero, linear-gradient(110deg, var(--theme-login-start), var(--theme-login-end))) center 46%/cover no-repeat #07192d;
  box-shadow: 0 16px 46px rgba(0,11,34,.31);
}
[data-view-panel="overview"] .command-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg,rgba(3,15,32,.98) 0%,rgba(4,21,42,.93) 28%,rgba(4,20,38,.64) 54%,rgba(4,20,36,.09) 100%),linear-gradient(0deg,rgba(3,15,29,.77),transparent 31%);
}
[data-view-panel="overview"] .command-hero:after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  border: 1px solid rgba(214,181,109,.14);
  border-radius: 20px;
}
[data-view-panel="overview"] .command-hero-inner {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 40px clamp(22px,5vw,70px);
  position: relative;
}
[data-view-panel="overview"] .command-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .19em;
  color: var(--co-gold);
  margin: 0 0 16px;
}
[data-view-panel="overview"] .command-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #69f5bd;
  box-shadow: 0 0 13px #69f5bd;
}
[data-view-panel="overview"] .command-hero h1 {
  font-size: clamp(32px,4vw,57px);
  line-height: 1.09;
  letter-spacing: -.035em;
  margin: 0;
  color: #fff;
  font-weight: 850;
  text-shadow: 0 4px 28px #06172c;
}
[data-view-panel="overview"] .command-hero h1 em {
  font-style: normal;
  color: var(--co-gold);
}
[data-view-panel="overview"] .command-description {
  max-width: 490px;
  margin: 20px 0 30px;
  color: #d1e3f3;
  font-size: 15px;
  line-height: 1.72;
}
[data-view-panel="overview"] .command-hero-bottom {
  display: flex;
  gap: 23px;
  flex-wrap: wrap;
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 750;
  color: #8dc0d9;
}
[data-view-panel="overview"] .command-hero-bottom span:first-child {
  color: #80ebc1;
}
[data-view-panel="overview"] .command-section-label {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 34px 2px 19px;
}
[data-view-panel="overview"] .command-eyebrow {
  color: #9c7b42;
  font-weight: 850;
  letter-spacing: .2em;
  font-size: 10px;
  margin: 0 0 7px;
}
[data-view-panel="overview"] .command-section-label h2 {
  color: #123651;
  font-size: clamp(24px,2.5vw,31px);
  line-height: 1.2;
  margin: 0 0 5px;
  font-weight: 830;
}
[data-view-panel="overview"] .command-section-label p:last-child {
  color: #647d91;
  font-size: 13px;
  margin: 0;
}
[data-view-panel="overview"] .command-section-aside {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  color: #7794a5;
  white-space: nowrap;
}
[data-view-panel="overview"] .stats-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}
[data-view-panel="overview"] .stats-grid .stat-card {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(9,30,51,.14);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
[data-view-panel="overview"] .stats-grid .stat-card:after {
  position: absolute;
  right: 14px;
  top: 6px;
  font-size: 67px;
  line-height: 1;
  opacity: .13;
  color: #a4e9ff;
  pointer-events: none;
}
[data-view-panel="overview"] .stats-grid .stat-card:nth-child(1):after {
  content: "🏆";
}
[data-view-panel="overview"] .stats-grid .stat-card:nth-child(2):after {
  content: "◈";
}
[data-view-panel="overview"] .stats-grid .stat-card:nth-child(3):after {
  content: "✦";
}
[data-view-panel="overview"] .stats-grid .stat-card:nth-child(4):after {
  content: "▣";
}
[data-view-panel="overview"] .stats-grid .stat-card span {
  letter-spacing: .02em;
  position: relative;
  z-index: 1;
}
[data-view-panel="overview"] .stats-grid .stat-card strong {
  display: block;
  font-weight: 850;
  position: relative;
  z-index: 1;
}
[data-view-panel="overview"] .stats-grid .stat-card small {
  background: rgba(46,167,129,.12);
  border: 1px solid rgba(109,225,174,.25);
  padding: 5px 11px;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}
[data-view-panel="overview"] .command-actions-heading {
  margin-top: 38px;
}
[data-view-panel="overview"] .quick-actions {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
}
[data-view-panel="overview"] .quick-actions .quick-action {
  position: relative;
  min-height: 166px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: flex-end;
  gap: 7px;
  box-shadow: 0 8px 22px rgba(15,53,77,.08);
  transition: transform .2s,border-color .2s,box-shadow .2s;
  cursor: pointer;
}
[data-view-panel="overview"] .quick-actions .quick-action:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(11,48,81,.15);
}
[data-view-panel="overview"] .quick-actions .quick-action:focus-visible {
  outline: 3px solid #43a9f2;
  outline-offset: 3px;
}
[data-view-panel="overview"] .quick-actions .command-action-icon {
  position: absolute;
  top: 19px;
  left: 21px;
  font-size: 28px;
  line-height: 1;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #d8eefb;
}
[data-view-panel="overview"] .quick-actions .quick-action strong {
  position: relative;
  z-index: 1;
}
[data-view-panel="overview"] .quick-actions .quick-action>span:not(.command-action-icon):not(.command-action-arrow) {
  font-size: 12px;
  position: relative;
  z-index: 1;
}
[data-view-panel="overview"] .quick-actions .command-action-arrow {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 23px;
}
[data-view-panel="overview"] .command-footer {
  text-align: center;
  margin: 32px 0 6px;
  color: #8198aa;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .09em;
}
[data-view-panel="overview"] .command-footer span {
  color: #c49e5e;
  margin: 0 8px;
}
@media(max-width:990px){
[data-view-panel="overview"] .stats-grid,[data-view-panel="overview"] .quick-actions {
  grid-template-columns: repeat(2,minmax(0,1fr));
}
}
@media(max-width:580px){
[data-view-panel="overview"] .command-hero,[data-view-panel="overview"] .command-hero-inner {
  min-height: 330px;
}
[data-view-panel="overview"] .command-hero-inner {
  padding: 28px 22px;
}
[data-view-panel="overview"] .command-description {
  font-size: 13px;
  max-width: 320px;
}
[data-view-panel="overview"] .command-hero:before {
  background: linear-gradient(90deg,rgba(3,15,32,.96),rgba(4,21,42,.83) 70%,rgba(4,20,36,.43));
}
[data-view-panel="overview"] .command-section-aside {
  display: none;
}
[data-view-panel="overview"] .stats-grid,[data-view-panel="overview"] .quick-actions {
  gap: 10px;
}
[data-view-panel="overview"] .stats-grid .stat-card {
  min-height: 148px;
}
[data-view-panel="overview"] .quick-actions .quick-action {
  min-height: 153px;
}
[data-view-panel="overview"] .quick-actions .command-action-icon {
  top: 14px;
  left: 14px;
}
[data-view-panel="overview"] .quick-actions .command-action-arrow {
  right: 12px;
  bottom: 12px;
}
}
@media (min-width:851px) {
.admin-header .admin-nav {
  padding: 12px 14px;
  gap: 8px;
  background: linear-gradient(135deg,rgba(19,43,72,.97),rgba(11,32,57,.98));
  border: 1px solid rgba(94,170,217,.28);
  border-radius: 19px;
  box-shadow: 0 14px 32px rgba(0,8,24,.22), inset 0 1px rgba(197,232,255,.075);
  overflow: visible;
}
.admin-header .admin-nav-link {
  flex: 1 1 0;
  min-width: 0;
  min-height: 59px;
  padding: 10px 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #e5f3ff;
  background: linear-gradient(180deg,#2b4d6d,#213c5b);
  border: 1px solid rgba(154,198,226,.12);
  border-radius: 11px;
  font-size: clamp(11px,.92vw,14px);
  font-weight: 780;
  line-height: 1.28;
  text-wrap: balance;
  white-space: normal;
  transition: background .16s,border-color .16s,box-shadow .16s,transform .16s;
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}
.admin-header .admin-nav-link:nth-child(6),
  .admin-header .admin-nav-link:nth-child(7),
  .admin-header .admin-nav-link:nth-child(8) {
  flex-grow: 1.32;
}
.admin-header .admin-nav-link:hover {
  background: linear-gradient(135deg,#2d6588,#1a4a6c);
  border-color: rgba(74,206,239,.55);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 7px 17px rgba(0,13,28,.22);
}
.admin-header .admin-nav-link.active {
  background: linear-gradient(135deg,#137fb5,#06a7c6);
  border-color: #47d5fc;
  color: white;
  box-shadow: inset 0 1px rgba(255,255,255,.24),0 0 0 1px rgba(15,173,220,.12),0 8px 18px rgba(0,147,193,.18);
}
.admin-header .admin-nav-link:focus-visible {
  outline: 2px solid #8debff;
  outline-offset: 3px;
}
}
@media (max-width:850px) {
.admin-header .admin-nav {
  background: linear-gradient(155deg,#132c49,#0e233e);
  border: 1px solid rgba(92,177,221,.3);
  border-radius: 14px;
  padding: 10px;
  gap: 7px;
}
.admin-header .admin-nav:not(.open) {
  display: none;
}
.admin-header .admin-nav.open {
  display: flex;
}
.admin-header .admin-nav-link {
  color: var(--theme-text);
  background: #244464;
  border: 1px solid rgba(137,194,224,.18);
  padding: 13px 15px;
  border-radius: 9px;
  min-height: 45px;
  text-align: left;
  font-size: 14px;
  font-weight: 750;
  white-space: normal;
}
.admin-header .admin-nav-link.active {
  background: linear-gradient(100deg,#147fb6,#05a4bd);
  border-color: #43c8ec;
  color: #fff;
}
.admin-header .admin-nav-link:hover {
  background: #25618b;
  color: #fff;
}
}
[data-view-panel="overview"] .stats-grid {
  margin-top: 24px;
}
[data-view-panel="overview"] .quick-actions {
  margin-top: 19px;
}
[data-view-panel="overview"] .command-footer {
  margin-top: 24px;
}
.admin-header {
  border-top: 2px solid rgba(204,166,92,.48);
  border-bottom: 2px solid #38c9e6;
}
.admin-header .brand {
  gap: 14px;
  min-height: 91px;
}
.admin-header .brand .admin-brand-logo {
  object-fit: contain;
}
.admin-header .brand b {
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: .015em;
  color: #fff;
  font-weight: 900;
}
.admin-header .brand small {
  display: block;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #85dbf1;
  line-height: 1.5;
}
.admin-header .header-actions {
  display: flex;
  align-items: center;
  gap: 11px;
}
.admin-header .header-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 17px;
  border-radius: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.admin-header .admin-identity {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  margin-right: 4px;
}
.admin-header .admin-identity-avatar {
  width: 42px;
  height: 42px;
  border: 1px solid #67d9f0;
  border-radius: 50%;
  overflow: hidden;
  background: #083458;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.admin-header .admin-identity-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.admin-header .admin-identity-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.2;
}
.admin-header .admin-identity-copy strong {
  color: #b7f1ff;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}
.admin-header .admin-identity-copy small {
  color: #fff;
  font-size: 11px;
  white-space: nowrap;
}
@media (min-width:851px){
.admin-header .admin-nav {
  width: calc(100% - 2 * clamp(20px,4vw,55px));
  max-width: 1400px;
}
}
@media(max-width:850px){
.admin-header .brand {
  min-height: 0;
}
.admin-header .brand b {
  font-size: 21px;
}
.admin-header .brand small {
  font-size: 9px;
}
.admin-header .header-actions {
  order: 3;
  gap: 8px;
}
.admin-header .header-actions .button {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 12px;
}
.admin-header .admin-identity-avatar {
  width: 35px;
  height: 35px;
}
.admin-header .admin-identity-copy strong {
  font-size: 11px;
}
.admin-header .admin-identity-copy small {
  font-size: 10px;
}
}
@media(max-width:560px){
.admin-header .header-actions {
  width: 100%;
  justify-content: flex-end;
  margin: 0;
}
.admin-header .admin-identity {
  margin-right: auto;
}
.admin-header .brand small {
  display: block;
}
.admin-header .header-actions .button {
  font-size: 11px;
}
.admin-header .admin-nav {
  order: 5;
}
}
@media (min-width:851px) {
.admin-header .admin-nav {
  display: grid;
  grid-template-columns: repeat(9,minmax(0,1fr));
  align-items: stretch;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 16px;
}
.admin-header .admin-nav-link,
  .admin-header .admin-nav-link:nth-child(6),
  .admin-header .admin-nav-link:nth-child(7),
  .admin-header .admin-nav-link:nth-child(8) {
  flex: none;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 49px;
  padding: 8px 5px;
  border-radius: 8px;
  background: #294865;
  border: 1px solid #3b5c79;
  font-size: clamp(11px,1vw,15px);
  font-weight: 800;
  line-height: 1.22;
  color: #fff;
  box-shadow: inset 0 1px rgba(255,255,255,.07);
}
.admin-header .admin-nav-link:hover {
  background: #335879;
  border-color: #61c8e8;
  transform: none;
}
.admin-header .admin-nav-link.active {
  background: linear-gradient(115deg,#087db2,#139fc8);
  border-color: #39ccf5;
  box-shadow: inset 0 1px rgba(255,255,255,.17),0 2px 12px rgba(0,153,204,.2);
}
}
.admin-header .header-actions #logout {
  line-height: 1.1;
}
@media (min-width:851px) and (max-width:1090px) {
.admin-header .admin-nav {
  gap: 5px;
  padding: 8px;
}
.admin-header .admin-nav-link {
  font-size: 11px;
  padding: 6px 3px;
}
}
}
@layer bdr-legacy-priority {
[data-view-panel="overview"] .stats-grid .stat-card {
  padding: 25px 23px;
  background: linear-gradient(142deg,#0b3156,#091d37 78%);
  border: 1px solid rgba(101,185,218,.33);
  border-radius: 16px;
  color: #fff;
}
[data-view-panel="overview"] .stats-grid .stat-card:nth-child(2) {
  background: linear-gradient(142deg,#104765,#08253e 80%);
}
[data-view-panel="overview"] .stats-grid .stat-card:nth-child(3) {
  background: linear-gradient(142deg,#203d60,#0b2440 80%);
}
[data-view-panel="overview"] .stats-grid .stat-card:nth-child(4) {
  background: linear-gradient(142deg,#154c62,#0a263a 80%);
}
[data-view-panel="overview"] .stats-grid .stat-card span {
  color: #bddceb;
  font-size: 14px;
  font-weight: 750;
}
[data-view-panel="overview"] .stats-grid .stat-card strong {
  color: white;
  font-size: 52px;
  line-height: 1.1;
  margin: 9px 0;
}
[data-view-panel="overview"] .stats-grid .stat-card small {
  font-size: 12px;
  color: #8febc5;
}
[data-view-panel="overview"] .quick-actions .quick-action {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #c9dce8;
  text-align: left;
  background: linear-gradient(145deg,#f6fbff,#e6f2fb);
  color: #123451;
}
[data-view-panel="overview"] .quick-actions .quick-action:hover {
  border-color: #5baed3;
}
[data-view-panel="overview"] .quick-actions .command-action-icon {
  color: #117baa;
}
[data-view-panel="overview"] .quick-actions .quick-action strong {
  font-size: 16px;
  color: #113951;
  margin: 0;
}
[data-view-panel="overview"] .quick-actions .quick-action>span:not(.command-action-icon):not(.command-action-arrow) {
  color: #668196;
}
[data-view-panel="overview"] .quick-actions .command-action-arrow {
  color: #1378a9;
}
@media(max-width:580px){
[data-view-panel="overview"] .stats-grid .stat-card {
  padding: 17px;
}
[data-view-panel="overview"] .stats-grid .stat-card strong {
  font-size: 39px;
}
[data-view-panel="overview"] .quick-actions .quick-action {
  padding: 16px;
}
[data-view-panel="overview"] .quick-actions .quick-action strong {
  font-size: 14px;
}
}
.admin-header {
  background: var(--theme-header);
  box-shadow: 0 7px 28px rgba(0,10,27,.25);
}
.admin-header .brand .admin-brand-logo {
  width: 66px;
  height: 66px;
  max-width: 66px;
  max-height: 66px;
}
.admin-header .header-actions #logout {
  background: #fff;
  color: #133352;
  border: 1px solid #c6dce9;
}
.admin-header .header-actions #logout:hover {
  background: #e2f4ff;
}
.admin-header .header-actions .button.secondary {
  background: var(--theme-nav);
  color: #fff;
  border: 1px solid var(--theme-control-border);
}
@media (min-width:851px){
.admin-header {
  padding-left: clamp(20px,4vw,55px);
  padding-right: clamp(20px,4vw,55px);
  margin-bottom: 102px;
}
}
@media(max-width:850px){
.admin-header {
  padding: 10px 15px;
}
.admin-header .brand .admin-brand-logo {
  width: 52px;
  height: 52px;
  max-width: 52px;
  max-height: 52px;
}
}
.admin-header .header-actions #logout {
  min-height: 35px;
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 8px;
  background: #fff;
  color: #123451;
}
@media(max-width:850px) {
.admin-header .header-actions #logout {
  min-height: 34px;
  padding: 7px 10px;
}
}
}
