/* LEON premium panel shell - stage 1 */
.sb-menu-legacy { display: none !important; }
.sb-logo-mark {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(240,179,27,.5);
  border-radius: 50% 50% 45% 45%;
  background: radial-gradient(circle at 40% 35%, #302004, #0c0903 65%);
  color: #f0b31b;
  box-shadow: 0 0 22px rgba(240,179,27,.18), inset 0 0 12px rgba(240,179,27,.12);
}
.sb-logo-mark i { position: absolute; top: -8px; color: #f0b31b; font: normal 18px/1 serif; }
.sb-logo-mark b { font: 900 16px/1 Segoe UI, sans-serif; letter-spacing: -1px; }
.sb-group { margin: 2px 0; }
.sb-group summary { list-style: none; cursor: pointer; }
.sb-group summary::-webkit-details-marker { display: none; }
.sb-group summary em { margin-left: auto; color: #6e777d; font-style: normal; transition: transform .2s; }
.sb-group[open] summary em { transform: rotate(180deg); }
.sb-submenu { display: grid; margin: 2px 0 5px 26px; border-left: 1px solid rgba(215,178,75,.18); }
.sb-submenu a { padding: 7px 10px; color: #7f8a91; font-size: .69rem; }
.sb-submenu a:hover, .sb-submenu a.active { color: #f0b31b; background: rgba(215,178,75,.045); }

.dashboard-pro {
  --sidebar: 234px;
  background: #02070c;
}
.dashboard-pro .layout {
  min-height: 100vh;
  background: radial-gradient(circle at 55% -20%, rgba(0,120,160,.08), transparent 34%), linear-gradient(180deg, #030b12, #02070c 68%);
}
.dashboard-pro .sidebar {
  width: var(--sidebar);
  background: linear-gradient(180deg, #020a11, #020810 72%, #01060a);
  border-right: 1px solid rgba(240,179,27,.7);
  box-shadow: 8px 0 30px rgba(0,0,0,.28);
}
.dashboard-pro .sb-logo { min-height: 86px; padding: 12px 16px; border-bottom-color: rgba(240,179,27,.22); }
.dashboard-pro .sb-logo-mark { width: 54px; height: 54px; flex-basis: 54px; }
.dashboard-pro .sb-logo-text b { color: #f4efe5; font-size: 1.48rem; letter-spacing: .02em; }
.dashboard-pro .sb-logo-text span { color: #f0b31b; font-size: .68rem; font-weight: 800; letter-spacing: .13em; }
.dashboard-pro .sb-user {
  margin: 8px 12px 6px;
  padding: 10px;
  border: 1px solid rgba(215,178,75,.36);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(9,20,29,.92), rgba(4,12,18,.9));
}
.dashboard-pro .sb-avatar { border: 1px solid rgba(255,255,255,.22); background: #121b22; color: #fff; }
.dashboard-pro .sb-user-info b { color: #f4f1e9; text-transform: uppercase; }
.dashboard-pro .sb-menu { padding: 4px 12px 10px; }
.dashboard-pro .sb-menu-title { padding-inline: 2px; color: #8a9298; }
.dashboard-pro .sb-link {
  min-height: 34px;
  margin: 2px 0;
  padding: 8px 9px;
  border: 1px solid transparent;
  border-left: 0;
  border-radius: 6px;
  color: #d5d9dc;
  font-size: .76rem;
}
.dashboard-pro .sb-link i { color: #c7ced3; font-size: .94rem; }
.dashboard-pro .sb-link:hover { border-color: rgba(215,178,75,.18); background: rgba(215,178,75,.05); }
.dashboard-pro .sb-link.active {
  border-color: rgba(240,179,27,.25);
  background: linear-gradient(90deg, rgba(240,179,27,.2), rgba(240,179,27,.08));
  color: #f0b31b;
  box-shadow: inset 3px 0 #f0b31b;
}
.dashboard-pro .sb-account { margin: 0 12px 8px; padding: 10px; border: 1px solid rgba(215,178,75,.34); border-radius: 8px; background: #04101a; }
.dashboard-pro .sb-footer { border-top-color: rgba(215,178,75,.12); }
.dashboard-pro .main { margin-left: var(--sidebar); min-width: 0; }
.dashboard-pro .content { min-height: 100vh; padding: 16px 16px 46px; }
.dashboard-stage-one { min-width: 0; }

.pro-topbar {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
  padding: 0 4px;
  border-bottom: 1px solid rgba(215,178,75,.16);
}
.pro-topbar h1 { margin: 0 0 3px; color: #f4f4f2; font-size: 1.15rem; font-weight: 750; }
.pro-topbar h1 span { color: #f0b31b; }
.pro-topbar p { margin: 0; color: #a2a9ae; font-size: .76rem; }
.pro-top-actions { display: flex; align-items: center; gap: 10px; }
.pro-license, .pro-plan { display: flex; min-height: 42px; align-items: center; gap: 9px; padding: 6px 11px; border-left: 1px solid rgba(215,178,75,.16); }
.pro-license i { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(64,232,160,.25); border-radius: 7px; color: #40e8a0; font-style: normal; }
.pro-license span, .pro-plan { color: #879198; font-size: .62rem; }
.pro-license strong, .pro-plan strong { display: block; margin-top: 2px; color: #f3f4f2; font-size: .72rem; }
.pro-license strong { color: #71e39f; }
.pro-icon-btn { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(255,255,255,.16); border-radius: 7px; color: #dce2e5; font-size: 1rem; }
.pro-icon-btn:hover { border-color: rgba(240,179,27,.55); background: rgba(240,179,27,.08); color: #f0b31b; }

.pro-system-row { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.pro-system-card {
  position: relative;
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  padding: 12px 14px;
  border: 1px solid rgba(215,178,75,.28);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(6,19,28,.96), rgba(3,11,17,.96));
}
.pro-system-card::after { content: ""; position: absolute; right: -20px; bottom: -35px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(0,212,240,.06), transparent 66%); }
.pro-system-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 8px; font: 900 .72rem/1 Segoe UI,sans-serif; }
.pro-system-icon.green { border: 1px solid rgba(34,197,94,.22); background: rgba(34,197,94,.07); color: #45df7c; }
.pro-system-icon.gold { border: 1px solid rgba(240,179,27,.22); background: rgba(240,179,27,.07); color: #f0b31b; }
.pro-system-card div { display: grid; min-width: 0; gap: 3px; }
.pro-system-card b { color: #e9edef; font-size: .69rem; letter-spacing: .02em; }
.pro-system-card strong { color: #39db76; font-size: .68rem; }
.pro-system-card small { overflow: hidden; color: #89939a; font-size: .6rem; text-overflow: ellipsis; white-space: nowrap; }
.signal-waves { margin-left: auto; color: #35db73; font-size: 1.45rem; font-style: normal; }
.mini-progress { position: absolute; right: 14px; bottom: 12px; left: 65px; height: 3px; overflow: hidden; border-radius: 3px; background: rgba(255,255,255,.08); }
.mini-progress span { display: block; width: 68%; height: 100%; background: #2bc866; box-shadow: 0 0 7px #2bc866; }
.ai-pulse { position: absolute; right: 15px; width: 5px; height: 5px; border-radius: 50%; background: #40e8a0; box-shadow: 0 0 9px #40e8a0; animation: panel-ai-pulse 1.4s ease-in-out infinite; }
@keyframes panel-ai-pulse { 50% { opacity: .35; transform: scale(.7); } }

.dashboard-pro .page-head { display: none; }
.dashboard-pro .status-row { grid-template-columns: repeat(5,minmax(0,1fr)); }
.dashboard-pro .status-box, .dashboard-pro .card { border-color: rgba(215,178,75,.24); border-radius: 8px; background: linear-gradient(145deg, #06121b, #040c13); }
.pro-bottom-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: var(--sidebar);
  z-index: 80;
  display: flex;
  height: 34px;
  align-items: center;
  gap: 24px;
  padding: 0 15px;
  border-top: 1px solid rgba(215,178,75,.16);
  background: rgba(2,9,15,.96);
  color: #657078;
  font-size: .62rem;
  backdrop-filter: blur(8px);
}
.pro-bottom-bar span { display: flex; align-items: center; gap: 4px; }
.pro-bottom-bar span i { width: 7px; height: 7px; border-radius: 50%; background: #39db76; box-shadow: 0 0 6px rgba(57,219,118,.55); }
.pro-bottom-bar b { color: #4fdc82; }
.pro-bottom-bar em { margin-left: auto; color: #9ca5aa; font-style: normal; }

@media (max-width: 1100px) {
  .pro-system-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pro-top-actions .pro-license, .pro-top-actions .pro-plan { display: none; }
}
@media (max-width: 900px) {
  .dashboard-pro { --sidebar: 62px; }
  .dashboard-pro .sidebar { width: var(--sidebar); }
  .dashboard-pro .sb-logo-mark { width: 42px; height: 42px; flex-basis: 42px; }
  .dashboard-pro .sb-group summary em, .dashboard-pro .sb-submenu { display: none; }
  .dashboard-pro .main { margin-left: var(--sidebar); }
  .pro-bottom-bar { left: var(--sidebar); }
}
@media (max-width: 620px) {
  .dashboard-pro { --sidebar: 0px; }
  .dashboard-pro .content { padding: 10px 10px 46px; }
  .pro-system-row { grid-template-columns: 1fr; }
  .pro-topbar h1 { font-size: .95rem; }
  .pro-bottom-bar { gap: 10px; }
  .pro-bottom-bar span:nth-child(2), .pro-bottom-bar em { display: none; }
}
