:root {
  --navy: #102a43;
  --blue: #1f6feb;
  --blue-dark: #174ea6;
  --blue-soft: #eaf2ff;
  --ink: #17212b;
  --muted: #6b7785;
  --line: #e3e9ef;
  --surface: #ffffff;
  --background: #f5f8fc;
  --success: #18794e;
  --success-soft: #eaf7f0;
  --shadow: 0 10px 35px rgba(16, 42, 67, .08);
}

* { box-sizing: border-box; }

html, body { margin: 0; min-height: 100%; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--background);
  color: var(--ink);
}

button, input { font: inherit; }

button { cursor: pointer; }

.app-shell {
  min-height: 100vh;
  width: 100%;
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
}

.sidebar {
  width: 265px !important;
  min-width: 265px !important;
  max-width: 265px !important;
  flex: 0 0 265px !important;
  background: var(--navy);
  color: #fff;
  padding: 22px 16px;
  display: flex !important;
  flex-direction: column;
  position: sticky !important;
  top: 0;
  left: auto !important;
  right: auto !important;
  height: 100vh;
  float: none !important;
  transform: none !important;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 28px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff;
  color: var(--navy);
  font-weight: 800;
}

.brand-name { font-weight: 800; font-size: 15px; }
.brand-subtitle { margin-top: 3px; font-size: 11px; opacity: .7; }

.side-nav { display: grid; gap: 6px; }

.nav-item {
  width: 100%;
  border: 0;
  background: transparent;
  color: #d9e4ef;
  text-align: left;
  padding: 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 11px;
}

.nav-item:hover, .nav-item.active {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.nav-icon {
  width: 22px;
  text-align: center;
  opacity: .9;
}

.sidebar-bottom {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding-top: 20px;
}

.side-link {
  color: #c9d8e8;
  text-decoration: none;
  font-size: 12px;
  padding: 8px 10px;
}

.side-link:hover { color: #fff; }

.main {
  min-width: 0 !important;
  width: auto !important;
  flex: 1 1 auto !important;
  float: none !important;
}

.topbar {
  height: 78px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  padding: 0 34px;
  display: flex;
  align-items: center;
  gap: 18px;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.menu-button {
  display: none;
  border: 0;
  background: transparent;
  font-size: 23px;
}

.eyebrow {
  font-size: 10px;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--blue);
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  font-size: 21px;
  margin-bottom: 0;
}

.top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

.secure-pill, .customer-badge {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}

.secure-pill {
  background: var(--success-soft);
  color: var(--success);
}

.secure-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ca36a;
  margin-right: 5px;
}

.customer-badge {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 34px;
}

.section { display: none; }
.section.active { display: block; }

.hero {
  background: linear-gradient(135deg, #102a43, #1f6feb);
  color: #fff;
  border-radius: 20px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  box-shadow: var(--shadow);
}

.hero-kicker {
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 800;
  opacity: .78;
}

.hero h2 {
  max-width: 650px;
  font-size: clamp(28px, 4vw, 43px);
  line-height: 1.08;
  margin: 10px 0 12px;
}

.hero p {
  max-width: 700px;
  line-height: 1.65;
  color: #e6eef7;
  margin-bottom: 22px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.primary-button, .secondary-button {
  border-radius: 9px;
  padding: 11px 16px;
  font-weight: 750;
  text-decoration: none;
}

.primary-button {
  border: 1px solid #fff;
  background: #fff;
  color: var(--navy);
}

.secondary-button {
  border: 1px solid rgba(255,255,255,.45);
  color: #fff;
  background: rgba(255,255,255,.08);
}

.hero-shield {
  width: 105px;
  height: 105px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 52px;
  flex: 0 0 auto;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0 34px;
}

.summary-card, .security-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(16,42,67,.04);
}

.summary-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.summary-value {
  font-size: 23px;
  font-weight: 800;
  margin: 7px 0;
}

.summary-note {
  color: var(--muted);
  font-size: 12px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 16px;
}

.section-heading h2, .section-heading h3 {
  margin: 5px 0 0;
}

.section-heading.large { align-items: start; margin-bottom: 22px; }

.section-heading p {
  color: var(--muted);
  max-width: 780px;
  line-height: 1.6;
  margin: 8px 0 0;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--blue);
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.category-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 15px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  color: var(--ink);
  min-width: 0;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.category-card:hover {
  transform: translateY(-2px);
  border-color: #b9cbe0;
  box-shadow: 0 9px 24px rgba(16,42,67,.08);
}

.category-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-dark);
  font-weight: 800;
}

.category-content { min-width: 0; display: grid; gap: 3px; }
.category-name { font-weight: 800; font-size: 14px; }
.category-group { color: var(--blue); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.category-description { color: var(--muted); font-size: 11px; line-height: 1.45; }
.category-arrow { margin-left: auto; color: #a0acb8; font-size: 22px; }

.toolbar { margin-bottom: 16px; }

.search-box {
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
}

.search-box input {
  border: 0;
  outline: 0;
  width: 100%;
  padding: 12px 0;
  background: transparent;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.security-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--success-soft);
  color: var(--success);
  font-weight: 800;
  margin-bottom: 12px;
}

.security-card h3 { margin-bottom: 7px; }
.security-card p { color: var(--muted); line-height: 1.55; font-size: 13px; }

.status-tag {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 10px;
  font-weight: 800;
}

.notice {
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #cbdcf1;
  background: #eef6ff;
  color: #31516e;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 360px;
  background: var(--navy);
  color: #fff;
  padding: 13px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: .2s ease;
  font-size: 13px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1050px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .app-shell {
    display: block !important;
    width: 100% !important;
  }

  .sidebar {
    position: fixed !important;
    left: 0;
    top: 0;
    z-index: 30;
    width: 265px !important;
    min-width: 265px !important;
    transform: translateX(-100%);
    transition: transform .2s ease;
  }

  .sidebar.open { transform: translateX(0); }
  .main {
    width: 100% !important;
    min-width: 0 !important;
  }

  .menu-button { display: block; }
  .topbar { padding: 0 18px; }
  .content { padding: 20px; }
  .summary-grid, .security-grid { grid-template-columns: 1fr; }
  .hero { padding: 25px; }
  .hero-shield { display: none; }
}

@media (max-width: 600px) {
  .category-grid { grid-template-columns: 1fr; }
  .secure-pill { display: none; }
  .top-actions { gap: 0; }
  .hero h2 { font-size: 30px; }
  .content { padding: 14px; }
}


.serial-number-header,.serial-number-cell{width:82px;min-width:82px;text-align:center!important;color:#6b7785;font-weight:750;}
