.app-shell {
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 258px;
  background: linear-gradient(180deg, #0e2b59, #102f63 60%, #0a244c);
  color: #fff;
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  box-shadow: 12px 0 30px rgba(11, 35, 74, 0.1);
}
.brand {
  height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  padding: 7px 10px;
}
.brand-main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
}
.brand-logo {
  width: 68px;
  height: 58px;
  object-fit: contain;
}
.system-name {
  color: var(--navy);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
}
.company-name {
  align-self: stretch;
  width: 100%;
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}
.nav {
  padding-top: 16px;
  flex: 1;
  overflow: auto;
}
.nav-label {
  font-size: 12px;
  letter-spacing: 1px;
  color: #8da3c1;
  margin: 20px 13px 8px;
}
.nav-item {
  width: 100%;
  min-height: 45px;
  border: 0;
  background: transparent;
  color: #cbd5e3;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px;
  font-weight: 600;
  text-align: left;
}
.nav-item:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}
.nav-item.active {
  background: linear-gradient(
    90deg,
    rgba(210, 176, 105, 0.24),
    rgba(210, 176, 105, 0.08)
  );
  color: #fff;
  box-shadow: inset 3px 0 #d3ae67;
}
.nav-item b {
  margin-left: auto;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 7px;
  border-radius: 10px;
}
.nav-icon {
  font-size: 19px;
  width: 18px;
  text-align: center;
}
.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin: 0 5px;
}
.blue {
  background: #5c96ff;
}
.amber {
  background: #f4b64f;
}
.green {
  background: #4fc28f;
}
.sidebar-footer {
  height: 82px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 10px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #d3ae67;
  color: #102f63;
  font-weight: 800;
  font-size: 12px;
  flex: 0 0 auto;
}
.avatar.small {
  width: 30px;
  height: 30px;
  font-size: 10px;
}
.sidebar-footer div {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.sidebar-footer small {
  color: #93a7c4;
  margin-top: 3px;
  font-size: 12px;
}
.sidebar-footer button {
  border: 0;
  background: none;
  color: #a9bad1;
  font-size: 20px;
}
.main {
  margin-left: 258px;
  min-height: 100vh;
}
.topbar {
  height: 72px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 0 34px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 14px;
}
.breadcrumb span {
  font-size: 12px;
  color: #8090a7;
  font-weight: 700;
  letter-spacing: 1.2px;
}
.breadcrumb b {
  font-size: 15px;
}
.top-actions {
  margin-left: auto;
  display: flex;
  gap: 12px;
  align-items: center;
}
.language {
  width: auto;
  height: 38px;
  padding: 0 12px;
}
.connection {
  font-size: 12px;
  color: #27765c;
  background: #e7f5ef;
  border-radius: 14px;
  padding: 6px 10px;
}
.connection.demo {
  color: #8a5b08;
  background: #fff1d7;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 21px;
  margin-right: 12px;
}
.view {
  display: none;
  padding: 32px;
  max-width: 1600px;
  margin: 0 auto;
}
.view.active {
  display: block;
}
.page-head,
.detail-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  gap: 20px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 1.6px;
  color: #8995a6;
  font-weight: 800;
  margin: 0 0 7px;
}
.page-head h1,
.detail-head h1 {
  font-size: 28px;
  line-height: 1.25;
  margin: 0;
  color: #132d55;
  letter-spacing: -0.6px;
}
.page-head p,
.detail-head p {
  margin: 7px 0 0;
  color: var(--muted);
}
.primary {
  border: 0;
  background: var(--navy);
  color: #fff;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(16, 47, 99, 0.14);
}
.primary:hover {
  background: #19427a;
}
.primary.ghost {
  background: #fff;
  color: var(--navy);
  border: 1px solid #bdc9d9;
  box-shadow: none;
}
.primary.small {
  min-height: 36px;
}
.primary.full {
  width: 100%;
}
.secondary {
  min-height: 38px;
  border: 1px solid #d6dce6;
  background: #fff;
  color: #344054;
  border-radius: 7px;
  padding: 0 13px;
  font-weight: 600;
}
.link-button {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
