/* ==========================================================
   BRak Design Language
   Central CSS v1
   Built from Diversity. Engineered for Central Intelligence.
   ========================================================== */

:root {
  --ebony-950: #070a0d;
  --ebony-900: #0d1117;
  --ebony-850: #121821;
  --ebony-800: #18202b;
  --ebony-750: #202a36;

  --ivory-50: #fffdf7;
  --ivory-100: #f8f1e3;
  --ivory-200: #eadfc9;

  --gold: #d5a62e;
  --gold-bright: #f1c94b;
  --amber: #ef8d23;
  --ruby: #d93f46;
  --protea: #df3f81;
  --amethyst: #8b5bd8;
  --jacaranda: #6d66d9;
  --sapphire: #2682d9;
  --ocean: #17a9c5;
  --emerald: #2dad65;
  --lime: #8aba45;
  --turquoise: #21bfa5;

  --surface-page: var(--ebony-900);
  --surface-sidebar: #080d13;
  --surface-panel: var(--ebony-850);
  --surface-card: var(--ebony-800);
  --surface-raised: var(--ebony-750);

  --text-primary: var(--ivory-50);
  --text-secondary: #c7d0da;
  --text-muted: #84909d;
  --text-dark: #17202a;

  --border: rgba(255, 255, 255, 0.09);
  --border-bright: rgba(255, 255, 255, 0.16);
  --border-gold: rgba(213, 166, 46, 0.50);

  --font-display: "Aptos Display", "Segoe UI", Arial, sans-serif;
  --font-body: "Aptos", "Segoe UI", Arial, sans-serif;
  --font-mono: "SFMono-Regular", Consolas, monospace;

  --sidebar-width: 286px;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 34px;

  --shadow-card: 0 14px 34px rgba(0, 0, 0, 0.28);
  --shadow-deep: 0 24px 70px rgba(0, 0, 0, 0.38);

  --transition-fast: 150ms ease;
  --transition: 240ms ease;
}

/* ==========================================================
   RESET
   ========================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--surface-page);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text-primary);
  background:
    radial-gradient(
      circle at 82% 4%,
      rgba(38, 130, 217, 0.14),
      transparent 24rem
    ),
    radial-gradient(
      circle at 58% 100%,
      rgba(139, 91, 216, 0.10),
      transparent 30rem
    ),
    var(--surface-page);
  font-family: var(--font-body);
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 4.5vw, 4.8rem);
  line-height: 0.98;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
}

h3 {
  margin-bottom: 10px;
}

p {
  margin-top: 0;
}

/* ==========================================================
   APPLICATION SHELL
   ========================================================== */

.app-shell {
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-height: 100vh;
  overflow-y: auto;
  padding: 28px 22px;
  background:
    linear-gradient(
      160deg,
      rgba(38, 130, 217, 0.10),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #080d13,
      #0b1118
    );
  border-right: 1px solid var(--border);
}

.sidebar::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: 0;
  left: 0;
  height: 8px;
  background:
    linear-gradient(
      90deg,
      var(--ruby) 0 12.5%,
      var(--amber) 12.5% 25%,
      var(--gold) 25% 37.5%,
      var(--emerald) 37.5% 50%,
      var(--ocean) 50% 62.5%,
      var(--sapphire) 62.5% 75%,
      var(--amethyst) 75% 87.5%,
      var(--protea) 87.5% 100%
    );
}

.main-content,
.content,
.page-content {
  min-width: 0;
  padding: clamp(24px, 4vw, 56px);
}

/* ==========================================================
   BRAND
   ========================================================== */

.brand {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.brand-kicker {
  margin: 0 0 7px;
  color: var(--gold-bright);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-title {
  margin: 0;
  color: var(--ivory-50);
  font-size: 2rem;
  font-weight: 900;
}

.brand-subtitle {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ==========================================================
   NAVIGATION
   ========================================================== */

.nav-section {
  margin-top: 18px;
}

.nav-heading,
.nav-subheading {
  margin: 0 0 8px;
  color: #637180;
  font-size: 0.63rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-subgroup {
  margin: 7px 0 14px 9px;
  padding-left: 10px;
  border-left: 1px solid rgba(213, 166, 46, 0.30);
}

.nav-link {
  position: relative;
  display: block;
  margin-bottom: 5px;
  padding: 11px 13px 11px 20px;
  color: #b7c2ce;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
}

a.nav-link:hover,
a.nav-link:focus-visible {
  color: var(--ivory-50);
  background: rgba(38, 130, 217, 0.11);
  border-color: rgba(38, 130, 217, 0.24);
  transform: translateX(3px);
  outline: none;
}

.nav-link-sub {
  min-height: 34px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 0.80rem;
}

.nav-link-disabled {
  color: #56616d;
  cursor: default;
}

/* ==========================================================
   COMMON TEXT
   ========================================================== */

.eyebrow,
.metric-label,
.domain-note {
  color: var(--gold-bright);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lead {
  max-width: 820px;
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.7;
}

.section-heading,
.panel-heading,
.analytics-job-heading,
.analytics-result-card-heading,
.security-device-card-header,
.event-row-primary,
.security-page-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 0 20px;
  color: var(--text-primary);
  background: var(--surface-card);
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.28);
  outline: none;
}

.button-primary {
  color: #101820;
  background:
    linear-gradient(
      135deg,
      var(--gold-bright),
      var(--amber)
    );
  border-color: transparent;
}

.button-secondary {
  background:
    linear-gradient(
      135deg,
      rgba(38, 130, 217, 0.26),
      rgba(139, 91, 216, 0.24)
    );
  border-color: rgba(38, 130, 217, 0.40);
}

.button-compact {
  min-height: 38px;
  padding: 0 15px;
  font-size: 0.78rem;
}

/* ==========================================================
   HEROES
   ========================================================== */

.hero,
.security-context-header,
.analytics-hero,
.analytics-page-header,
.page-header {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 52px);
  color: var(--text-primary);
  background:
    linear-gradient(
      115deg,
      rgba(7, 10, 13, 0.94),
      rgba(15, 26, 39, 0.84)
    ),
    radial-gradient(
      circle at 88% 10%,
      rgba(239, 141, 35, 0.60),
      transparent 24rem
    ),
    linear-gradient(
      90deg,
      var(--sapphire),
      var(--emerald),
      var(--gold),
      var(--ruby),
      var(--amethyst)
    );
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
}

.hero::after,
.security-context-header::after,
.analytics-hero::after,
.analytics-page-header::after,
.page-header::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -44px;
  width: 330px;
  height: 170px;
  opacity: 0.34;
  background:
    linear-gradient(
      45deg,
      transparent 25%,
      var(--gold) 25% 35%,
      transparent 35% 45%,
      var(--ruby) 45% 55%,
      transparent 55% 65%,
      var(--sapphire) 65% 75%,
      transparent 75%
    );
  transform: rotate(-6deg);
  pointer-events: none;
}

.analytics-hero,
.analytics-page-header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 28px;
  align-items: center;
}

.analytics-hero-links,
.analytics-page-actions,
.analytics-header-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
}

.analytics-readiness-card {
  position: relative;
  z-index: 1;
  padding: 26px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.045)
    );
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}

.analytics-readiness-value {
  margin: 12px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 0.9;
}

.analytics-readiness-detail {
  color: var(--text-secondary);
}

/* ==========================================================
   PANELS AND CARDS
   ========================================================== */

.card,
.panel,
.device-card,
.empty-state,
.analytics-job-row,
.analytics-result-card,
.intelligence-metric,
.analytics-event-metric {
  position: relative;
  overflow: hidden;
  padding: 24px;
  color: var(--text-primary);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    ),
    var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.card:hover,
.analytics-job-row:hover,
.analytics-result-card:hover,
.intelligence-metric:hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.36);
}

.card::before,
.intelligence-metric::before,
.analytics-result-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background:
    linear-gradient(
      90deg,
      var(--sapphire),
      var(--emerald),
      var(--gold),
      var(--ruby),
      var(--amethyst)
    );
}

.card::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 11px;
  height: 11px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
}

.card-sapphire,
.metric-sapphire {
  color: var(--sapphire);
}

.card-emerald,
.metric-emerald {
  color: var(--emerald);
}

.card-ruby,
.metric-ruby {
  color: var(--ruby);
}

.card-citrine,
.metric-citrine {
  color: var(--gold);
}

.card-amethyst,
.metric-amethyst {
  color: var(--amethyst);
}

.card-turquoise,
.metric-turquoise {
  color: var(--turquoise);
}

.card h2,
.card h3,
.panel h2,
.panel h3,
.analytics-job-row h3,
.analytics-result-card h3 {
  color: var(--text-primary);
}

/* ==========================================================
   STATUS BADGES
   ========================================================== */

.status,
.status-indicator,
.status-badge,
.badge,
.maturity-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 7px;
  padding: 6px 11px;
  color: var(--text-primary);
  background: rgba(38, 130, 217, 0.13);
  border: 1px solid rgba(38, 130, 217, 0.35);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: capitalize;
}

.status-healthy,
.badge-healthy {
  background: rgba(45, 173, 101, 0.13);
  border-color: rgba(45, 173, 101, 0.40);
}

.status-warning,
.badge-warning {
  background: rgba(239, 141, 35, 0.13);
  border-color: rgba(239, 141, 35, 0.42);
}

.status-critical,
.badge-critical {
  background: rgba(217, 63, 70, 0.13);
  border-color: rgba(217, 63, 70, 0.42);
}

/* ==========================================================
   ANALYTICS
   ========================================================== */

.analytics-section {
  margin-top: 48px;
}

.analytics-metric-grid,
.intelligence-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.intelligence-metric {
  min-height: 185px;
}

.intelligence-metric-value {
  margin: 20px 0 8px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 0.88;
}

.intelligence-metric-detail {
  margin: 0;
  color: var(--text-muted);
}

.analytics-overview-grid,
.analytics-event-layout,
.security-overview-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.analytics-summary-strip,
.analytics-event-metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 28px;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.analytics-summary-strip > div,
.analytics-event-metric {
  padding: 22px;
  background: var(--surface-card);
}

.analytics-summary-strip span,
.analytics-event-metric span,
.analytics-result-counts span {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-summary-strip strong,
.analytics-event-metric strong {
  display: block;
  margin-top: 7px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 2.15rem;
}

.analytics-job-list {
  display: grid;
  gap: 15px;
}

.analytics-job-details {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
}

.analytics-job-details-wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.analytics-job-details dt,
.analytics-detail-list dt,
.analytics-result-metadata dt {
  color: var(--text-muted);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.analytics-job-details dd,
.analytics-detail-list dd,
.analytics-result-metadata dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--text-secondary);
  font-weight: 700;
}

.analytics-row-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--gold-bright);
  font-size: 0.80rem;
  font-weight: 900;
  text-decoration: none;
}

.analytics-row-link:hover {
  color: var(--ivory-50);
}

.analytics-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.analytics-result-counts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 20px;
  overflow: hidden;
  background: var(--border);
  border-radius: var(--radius-sm);
}

.analytics-result-counts > div {
  padding: 15px 10px;
  text-align: center;
  background: var(--surface-panel);
}

.analytics-result-counts strong {
  display: block;
  margin-top: 5px;
  color: var(--text-primary);
  font-size: 1.7rem;
}

.analytics-result-metadata,
.analytics-detail-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.analytics-result-metadata {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.analytics-detail-list > div,
.analytics-result-metadata > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.analytics-detail-list > div {
  display: grid;
  grid-template-columns: minmax(125px, 0.36fr) minmax(0, 0.64fr);
  gap: 16px;
}

.analytics-maturity-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.analytics-maturity-list li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 13px;
  background: var(--surface-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.analytics-maturity-list li > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--text-primary);
  background: var(--surface-raised);
  border-radius: 50%;
  font-weight: 900;
}

.analytics-maturity-current {
  border-color: rgba(38, 130, 217, 0.50);
  box-shadow: inset 4px 0 0 var(--sapphire);
}

.analytics-maturity-current > span {
  background: var(--sapphire);
}

/* ==========================================================
   SECURITY AND EDGE
   ========================================================== */

.security-device-grid,
.device-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 20px;
}

.security-event-list,
.event-list {
  display: grid;
  gap: 14px;
}

.event-row,
.security-event-row {
  padding: 20px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.security-page-footer {
  margin-top: 40px;
  padding-top: 18px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
}

/* ==========================================================
   UTILITIES
   ========================================================== */

.empty-state {
  min-height: 200px;
  display: grid;
  align-content: center;
}

.domain-note {
  color: var(--text-muted);
}

code,
pre {
  font-family: var(--font-mono);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1120px) {
  .app-shell {
    grid-template-columns: 236px minmax(0, 1fr);
  }

  .analytics-metric-grid,
  .intelligence-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .analytics-summary-strip,
  .analytics-event-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .analytics-hero,
  .analytics-page-header,
  .analytics-overview-grid,
  .analytics-event-layout,
  .security-overview-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: relative;
    min-height: auto;
    max-height: none;
  }

  .main-content,
  .content,
  .page-content {
    padding: 20px;
  }

  .analytics-metric-grid,
  .intelligence-metric-grid,
  .analytics-summary-strip,
  .analytics-event-metric-grid,
  .analytics-job-details,
  .analytics-job-details-wide,
  .analytics-result-grid,
  .analytics-result-counts,
  .analytics-result-metadata {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .panel-heading,
  .analytics-job-heading,
  .analytics-result-card-heading {
    flex-direction: column;
  }

  .analytics-detail-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}


/* ==========================================================
   GLOBAL BRAND LOGO
   ========================================================== */

/* BRAK-PAK-GLOBAL-LOGO-CSS-V1-START */

.brand-block {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.brand-logo-link {
  display: block;
  width: 100%;
  overflow: hidden;
  color: inherit;
  background:
    radial-gradient(
      circle at 50% 35%,
      rgba(213, 166, 46, 0.13),
      transparent 64%
    ),
    rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(213, 166, 46, 0.27);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.04),
    0 12px 30px rgba(0, 0, 0, 0.22);
  text-decoration: none;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.brand-logo-link:hover,
.brand-logo-link:focus-visible {
  border-color: rgba(241, 201, 75, 0.62);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.06),
    0 16px 36px rgba(0, 0, 0, 0.30),
    0 0 24px rgba(213, 166, 46, 0.11);
  transform: translateY(-2px);
  outline: none;
}

.brand-logo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1665 / 945;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
}

.brand-copy .brand-kicker {
  margin-bottom: 6px;
}

.brand-copy .brand-title {
  font-size: 1.7rem;
}

.brand-copy .brand-subtitle {
  max-width: 230px;
  line-height: 1.55;
}

@media (max-width: 780px) {
  .brand-block {
    grid-template-columns:
      minmax(150px, 230px)
      minmax(0, 1fr);
    align-items: center;
  }

  .brand-copy .brand-subtitle {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .brand-block {
    grid-template-columns: 1fr;
  }

  .brand-logo-link {
    max-width: 250px;
  }
}

/* BRAK-PAK-GLOBAL-LOGO-CSS-V1-END */


/* ==========================================================
   ANALYTICS FLAGSHIP
   ========================================================== */

/* BRAK-PAK-ANALYTICS-FLAGSHIP-CSS-V1-START */

.analytics-command-hero {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 1.35fr)
    minmax(290px, 0.65fr);
  gap: 34px;
  align-items: center;
  overflow: hidden;
  padding: clamp(32px, 5vw, 68px);
  background:
    linear-gradient(
      105deg,
      rgba(7, 10, 13, 0.97) 0%,
      rgba(11, 21, 31, 0.91) 50%,
      rgba(28, 17, 37, 0.82) 100%
    ),
    linear-gradient(
      90deg,
      var(--sapphire),
      var(--emerald),
      var(--gold),
      var(--ruby),
      var(--amethyst)
    );
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
}

.analytics-command-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.24;
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 28px,
      rgba(241, 201, 75, 0.18) 28px 30px,
      transparent 30px 58px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0 44px,
      rgba(38, 130, 217, 0.14) 44px 46px,
      transparent 46px 90px
    );
  pointer-events: none;
}

.analytics-command-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -135px;
  width: 410px;
  height: 410px;
  border: 42px solid rgba(241, 201, 75, 0.11);
  transform: rotate(45deg);
  pointer-events: none;
}

.analytics-command-hero-content,
.analytics-command-identity {
  position: relative;
  z-index: 1;
}

.analytics-command-kicker,
.analytics-section-kicker {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.analytics-command-hero h1 {
  max-width: 760px;
  margin-bottom: 20px;
}

.analytics-command-hero h1 span {
  display: block;
  color: var(--gold-bright);
}

.analytics-command-introduction {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 1.08rem;
  line-height: 1.75;
}

.analytics-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.analytics-command-identity {
  display: grid;
  justify-items: center;
  gap: 22px;
}

.analytics-command-orbit {
  display: grid;
  place-items: center;
  width: 245px;
  height: 245px;
  padding: 30px;
  text-align: center;
  background:
    radial-gradient(
      circle,
      rgba(38, 130, 217, 0.22),
      rgba(7, 10, 13, 0.80) 64%
    );
  border: 1px solid rgba(241, 201, 75, 0.46);
  border-radius: 50%;
  box-shadow:
    inset 0 0 45px rgba(38, 130, 217, 0.18),
    0 0 0 16px rgba(38, 130, 217, 0.05),
    0 0 0 32px rgba(139, 91, 216, 0.035);
}

.analytics-command-orbit-core {
  align-self: end;
  color: var(--ivory-50);
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.85;
}

.analytics-command-orbit-label {
  align-self: start;
  max-width: 150px;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-command-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 800;
}

.analytics-live-indicator {
  width: 10px;
  height: 10px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--emerald);
  animation: analytics-live-pulse 2.4s ease-in-out infinite;
}

@keyframes analytics-live-pulse {
  0%,
  100% {
    opacity: 0.52;
    transform: scale(0.82);
  }

  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.analytics-kpi-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.analytics-kpi {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 17px;
  min-height: 176px;
  overflow: hidden;
  padding: 24px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.analytics-kpi::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: currentColor;
}

.analytics-kpi::after {
  content: "";
  position: absolute;
  top: -58px;
  right: -58px;
  width: 145px;
  height: 145px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.07;
}

.analytics-kpi-sapphire {
  color: var(--sapphire);
}

.analytics-kpi-amber {
  color: var(--amber);
}

.analytics-kpi-emerald {
  color: var(--emerald);
}

.analytics-kpi-ruby {
  color: var(--ruby);
}

.analytics-kpi-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--ivory-50);
  background: currentColor;
  border-radius: 16px;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.analytics-kpi-label {
  margin: 1px 0 4px;
  color: currentColor;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.analytics-kpi-value {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1;
}

.analytics-kpi-detail {
  margin: 8px 0 0;
  color: var(--text-muted);
  font-size: 0.80rem;
}

.analytics-intelligence-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.4fr)
    minmax(290px, 0.6fr);
  gap: 22px;
  margin-top: 30px;
}

.analytics-operations-panel,
.analytics-intelligence-readiness,
.analytics-activity-section {
  padding: 28px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    ),
    var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.analytics-panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.analytics-panel-heading h2 {
  margin-bottom: 0;
}

.analytics-pipeline {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    34px
    minmax(0, 1fr)
    34px
    minmax(0, 1fr)
    34px
    minmax(0, 1fr);
  align-items: center;
  margin-top: 34px;
}

.analytics-pipeline-stage {
  min-height: 155px;
  padding: 19px;
  background: var(--surface-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.analytics-pipeline-stage:nth-of-type(1) {
  border-top: 4px solid var(--sapphire);
}

.analytics-pipeline-stage:nth-of-type(2) {
  border-top: 4px solid var(--emerald);
}

.analytics-pipeline-stage:nth-of-type(3) {
  border-top: 4px solid var(--amethyst);
}

.analytics-pipeline-stage:nth-of-type(4) {
  border-top: 4px solid var(--gold);
}

.analytics-pipeline-number {
  display: block;
  margin-bottom: 22px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.70rem;
}

.analytics-pipeline-stage strong,
.analytics-pipeline-stage span {
  display: block;
}

.analytics-pipeline-stage strong {
  color: var(--text-primary);
}

.analytics-pipeline-stage div span {
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.analytics-pipeline-connector {
  height: 2px;
  background:
    linear-gradient(
      90deg,
      var(--sapphire),
      var(--gold)
    );
  opacity: 0.65;
}

.analytics-intelligence-readiness {
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 10%,
      rgba(139, 91, 216, 0.17),
      transparent 16rem
    ),
    var(--surface-card);
}

.analytics-readiness-ring {
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  margin: 27px auto 24px;
  background:
    conic-gradient(
      var(--amethyst),
      var(--sapphire),
      var(--emerald),
      var(--gold),
      var(--ruby),
      var(--amethyst)
    );
  border-radius: 50%;
}

.analytics-readiness-ring::before {
  content: "";
  position: absolute;
}

.analytics-readiness-ring span {
  display: grid;
  place-items: center;
  width: 138px;
  height: 138px;
  color: var(--text-primary);
  background: var(--surface-card);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 900;
}

.analytics-intelligence-readiness p {
  color: var(--text-muted);
}

.analytics-inline-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold-bright);
  font-size: 0.79rem;
  font-weight: 900;
  text-decoration: none;
}

.analytics-inline-link:hover,
.analytics-inline-link:focus-visible {
  color: var(--ivory-50);
  outline: none;
}

.analytics-activity-section {
  margin-top: 30px;
}

.analytics-activity-timeline {
  position: relative;
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.analytics-activity-timeline::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 7px;
  width: 2px;
  background:
    linear-gradient(
      var(--sapphire),
      var(--emerald),
      var(--gold),
      var(--ruby),
      var(--amethyst)
    );
  opacity: 0.54;
}

.analytics-activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 18px;
}

.analytics-activity-marker {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin-top: 24px;
  background: var(--sapphire);
  border: 4px solid var(--surface-card);
  border-radius: 50%;
  box-shadow: 0 0 0 2px currentColor;
}

.analytics-activity-marker-queued {
  color: var(--amber);
  background: var(--amber);
}

.analytics-activity-marker-completed {
  color: var(--emerald);
  background: var(--emerald);
}

.analytics-activity-marker-failed {
  color: var(--ruby);
  background: var(--ruby);
}

.analytics-activity-marker-processing,
.analytics-activity-marker-running {
  color: var(--sapphire);
  background: var(--sapphire);
}

.analytics-activity-card {
  padding: 22px;
  background: var(--surface-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.analytics-activity-primary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.analytics-activity-service {
  margin: 0 0 5px;
  color: var(--sapphire);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-activity-primary h3 {
  margin-bottom: 0;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.analytics-activity-details {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 18px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--border);
}

.analytics-activity-details dt {
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.analytics-activity-details dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.status-queued {
  color: var(--ivory-50);
  background: rgba(239, 141, 35, 0.15);
  border-color: rgba(239, 141, 35, 0.46);
}

.status-completed {
  color: var(--ivory-50);
  background: rgba(45, 173, 101, 0.15);
  border-color: rgba(45, 173, 101, 0.46);
}

.status-failed {
  color: var(--ivory-50);
  background: rgba(217, 63, 70, 0.15);
  border-color: rgba(217, 63, 70, 0.46);
}

.status-processing,
.status-running {
  color: var(--ivory-50);
  background: rgba(38, 130, 217, 0.15);
  border-color: rgba(38, 130, 217, 0.46);
}

.analytics-flagship-empty-state {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  min-height: 210px;
  margin-top: 26px;
  padding: 28px;
  background: var(--surface-panel);
  border: 1px dashed var(--border-bright);
  border-radius: var(--radius);
}

.analytics-empty-symbol {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  color: var(--gold-bright);
  background: rgba(213, 166, 46, 0.10);
  border: 1px solid rgba(213, 166, 46, 0.35);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
}

.analytics-flagship-empty-state p {
  margin-bottom: 0;
  color: var(--text-muted);
}

.analytics-command-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
  padding: 19px 4px 0;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  font-size: 0.73rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.analytics-command-footer strong {
  color: var(--gold-bright);
}

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

  .analytics-pipeline {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .analytics-pipeline-connector {
    display: none;
  }
}

@media (max-width: 960px) {
  .analytics-command-hero,
  .analytics-intelligence-layout {
    grid-template-columns: 1fr;
  }

  .analytics-command-identity {
    justify-items: start;
  }

  .analytics-command-orbit {
    width: 210px;
    height: 210px;
  }
}

@media (max-width: 720px) {
  .analytics-kpi-grid,
  .analytics-pipeline,
  .analytics-activity-details {
    grid-template-columns: 1fr;
  }

  .analytics-activity-primary,
  .analytics-command-footer {
    flex-direction: column;
  }

  .analytics-panel-heading {
    flex-direction: column;
  }
}

/* BRAK-PAK-ANALYTICS-FLAGSHIP-CSS-V1-END */

/* BRAK-PAK-CENTRAL-CSS-V2-END */


/* BRAK-PAK-FLAGSHIP-LANDING-CSS-V1-START */

.landing-command-hero {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 1.38fr)
    minmax(310px, 0.62fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  min-height: 620px;
  overflow: hidden;
  padding: clamp(38px, 6vw, 84px);
  background:
    linear-gradient(
      105deg,
      rgba(5, 11, 18, 0.98) 0%,
      rgba(7, 23, 38, 0.94) 43%,
      rgba(22, 24, 44, 0.88) 72%,
      rgba(62, 24, 31, 0.82) 100%
    ),
    radial-gradient(
      circle at 85% 18%,
      rgba(239, 141, 35, 0.58),
      transparent 31rem
    ),
    linear-gradient(
      120deg,
      var(--sapphire),
      var(--emerald),
      var(--gold),
      var(--ruby),
      var(--amethyst)
    );
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
}

.landing-command-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background:
    linear-gradient(
      90deg,
      rgba(7, 10, 13, 0.88),
      transparent 64%
    ),
    repeating-linear-gradient(
      135deg,
      transparent 0 42px,
      rgba(241, 201, 75, 0.15) 42px 44px,
      transparent 44px 86px
    ),
    repeating-linear-gradient(
      45deg,
      transparent 0 66px,
      rgba(38, 130, 217, 0.12) 66px 68px,
      transparent 68px 132px
    );
  pointer-events: none;
}

.landing-command-hero::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -165px;
  width: 520px;
  height: 520px;
  border: 54px solid rgba(241, 201, 75, 0.10);
  transform: rotate(45deg);
  pointer-events: none;
}

.landing-command-copy,
.landing-command-identity {
  position: relative;
  z-index: 1;
}

.landing-command-copy {
  max-width: 850px;
}

.landing-command-kicker,
.landing-section-kicker {
  margin: 0 0 12px;
  color: var(--gold-bright);
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.landing-command-hero h1 {
  max-width: 790px;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 7vw, 7.2rem);
  line-height: 0.90;
}

.landing-command-hero h1 span {
  display: block;
  color: var(--gold-bright);
}

.landing-command-introduction {
  max-width: 760px;
  margin: 0;
  color: var(--text-secondary);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.78;
}

.landing-command-statement {
  margin: 22px 0 0;
  color: var(--ivory-50);
  font-weight: 850;
  letter-spacing: 0.02em;
}

.landing-command-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.landing-command-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 36px;
}

.landing-command-principles span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-secondary);
  font-size: 0.73rem;
  font-weight: 850;
}

.landing-command-principles span::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(241, 201, 75, 0.62);
}

.landing-command-principles span:nth-child(1)::before {
  background: var(--sapphire);
}

.landing-command-principles span:nth-child(2)::before {
  background: var(--amber);
}

.landing-command-principles span:nth-child(3)::before {
  background: var(--emerald);
}

.landing-command-principles span:nth-child(4)::before {
  background: var(--ruby);
}

.landing-command-principles span:nth-child(5)::before {
  background: var(--amethyst);
}

.landing-command-principles span:nth-child(6)::before {
  background: var(--turquoise);
}

.landing-command-identity {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.landing-pack-emblem {
  display: grid;
  place-items: center;
  width: min(100%, 320px);
  min-height: 260px;
  padding: 36px;
  background:
    radial-gradient(
      circle,
      rgba(38, 130, 217, 0.18),
      rgba(7, 10, 13, 0.76) 66%
    );
  border: 1px solid rgba(241, 201, 75, 0.40);
  border-radius: 50%;
  box-shadow:
    inset 0 0 54px rgba(38, 130, 217, 0.18),
    0 0 0 18px rgba(38, 130, 217, 0.04),
    0 0 0 36px rgba(139, 91, 216, 0.025);
}

.landing-pack-emblem img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 190px;
  object-fit: contain;
}

.landing-readiness-card {
  width: min(100%, 390px);
  padding: 25px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.10),
      rgba(255, 255, 255, 0.025)
    ),
    rgba(5, 12, 19, 0.78);
  border: 1px solid rgba(241, 201, 75, 0.28);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
}

.landing-readiness-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.65rem;
}

.landing-readiness-card p:not(.landing-section-kicker) {
  margin: 0;
  color: var(--text-secondary);
}

.landing-inline-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--gold-bright);
  font-size: 0.79rem;
  font-weight: 900;
  text-decoration: none;
}

.landing-inline-link:hover {
  color: var(--ivory-50);
}

.landing-operational-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-top: 26px;
}

.landing-operational-card {
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 15px;
  min-height: 210px;
  overflow: hidden;
  padding: 24px;
  color: var(--sapphire);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.045),
      rgba(255, 255, 255, 0.012)
    ),
    var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.landing-operational-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: currentColor;
}

.landing-operational-card::after {
  content: "";
  position: absolute;
  top: -64px;
  right: -64px;
  width: 150px;
  height: 150px;
  background: currentColor;
  border-radius: 50%;
  opacity: 0.06;
}

.landing-card-emerald {
  color: var(--emerald);
}

.landing-card-citrine {
  color: var(--gold);
}

.landing-card-ruby {
  color: var(--ruby);
}

.landing-card-number {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--ivory-50);
  background: currentColor;
  border-radius: 15px;
  font-weight: 900;
}

.landing-card-label {
  margin: 1px 0 6px;
  color: currentColor;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-operational-card h2 {
  margin-bottom: 9px;
  color: var(--text-primary);
  font-size: 1.35rem;
}

.landing-operational-card p:last-child {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.landing-intelligence-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.42fr)
    minmax(300px, 0.58fr);
  gap: 22px;
  margin-top: 30px;
}

.landing-journey-panel,
.landing-system-panel,
.landing-capability-section,
.landing-closing-statement {
  padding: clamp(26px, 4vw, 42px);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.012)
    ),
    var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.landing-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: flex-start;
}

.landing-section-heading > div {
  max-width: 680px;
}

.landing-section-heading h2 {
  margin-bottom: 0;
}

.landing-section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--text-muted);
}

.landing-journey {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    24px
    minmax(0, 1fr)
    24px
    minmax(0, 1fr)
    24px
    minmax(0, 1fr)
    24px
    minmax(0, 1fr)
    24px
    minmax(0, 1fr);
  align-items: center;
  margin-top: 34px;
}

.landing-journey-stage {
  display: grid;
  min-height: 170px;
  align-content: start;
  gap: 8px;
  padding: 20px 14px;
  color: var(--sapphire);
  text-align: center;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid currentColor;
  border-radius: var(--radius);
}

.landing-stage-citrine {
  color: var(--gold);
}

.landing-stage-emerald {
  color: var(--emerald);
}

.landing-stage-ruby {
  color: var(--ruby);
}

.landing-stage-amethyst {
  color: var(--amethyst);
}

.landing-stage-turquoise {
  color: var(--turquoise);
}

.landing-journey-stage > span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 5px;
  color: var(--ivory-50);
  background: currentColor;
  border-radius: 14px;
  font-weight: 900;
}

.landing-journey-stage strong {
  color: var(--text-primary);
}

.landing-journey-stage p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.landing-journey-connector {
  height: 2px;
  background:
    linear-gradient(
      90deg,
      var(--sapphire),
      var(--gold)
    );
  opacity: 0.55;
}

.landing-system-panel {
  background:
    radial-gradient(
      circle at 100% 100%,
      rgba(45, 173, 101, 0.14),
      transparent 17rem
    ),
    var(--surface-card);
}

.landing-system-panel h2 {
  margin-bottom: 24px;
}

.landing-system-list {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.landing-system-list li {
  display: grid;
  grid-template-columns: 11px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  color: var(--text-secondary);
  font-weight: 750;
}

.landing-system-list span {
  width: 10px;
  height: 10px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--emerald);
}

.landing-capability-section {
  margin-top: 30px;
}

.landing-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.landing-capability-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  padding: 26px;
  color: inherit;
  background:
    linear-gradient(
      145deg,
      rgba(38, 130, 217, 0.10),
      rgba(139, 91, 216, 0.05)
    ),
    var(--surface-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.landing-capability-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background:
    linear-gradient(
      90deg,
      var(--sapphire),
      var(--emerald),
      var(--gold),
      var(--ruby),
      var(--amethyst)
    );
}

.landing-capability-card:hover {
  border-color: var(--border-bright);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.34);
  transform: translateY(-4px);
}

.landing-capability-card > span {
  color: var(--gold-bright);
  font-size: 0.70rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-capability-card h3 {
  margin: 22px 0 11px;
  color: var(--text-primary);
  font-size: 1.55rem;
}

.landing-capability-card p {
  margin: 0;
  color: var(--text-muted);
}

.landing-closing-statement {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 100%,
      rgba(241, 201, 75, 0.16),
      transparent 24rem
    ),
    var(--surface-card);
}

.landing-closing-statement h2 {
  max-width: 960px;
  margin: 0 auto 20px;
}

.landing-closing-statement > p:last-child {
  max-width: 820px;
  margin: 0 auto;
  color: var(--text-secondary);
}

@media (max-width: 1220px) {
  .landing-operational-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-journey {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
  }

  .landing-journey-connector {
    display: none;
  }
}

@media (max-width: 960px) {
  .landing-command-hero,
  .landing-intelligence-layout {
    grid-template-columns: 1fr;
  }

  .landing-command-identity {
    grid-template-columns:
      minmax(220px, 0.8fr)
      minmax(0, 1.2fr);
  }

  .landing-pack-emblem {
    min-height: 230px;
  }

  .landing-section-heading {
    display: grid;
  }
}

@media (max-width: 720px) {
  .landing-command-hero {
    min-height: auto;
  }

  .landing-command-identity,
  .landing-operational-strip,
  .landing-capability-grid,
  .landing-journey {
    grid-template-columns: 1fr;
  }

  .landing-pack-emblem,
  .landing-readiness-card {
    width: 100%;
    max-width: none;
  }

  .landing-operational-card {
    min-height: auto;
  }
}

/* BRAK-PAK-FLAGSHIP-LANDING-CSS-V1-END */


/* BRAK-PAK-COMMAND-CENTRE-CSS-V1-START */

.exec-command-shell {
  display: grid;
  gap: 22px;
}

.exec-command-header {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  align-items: flex-end;
  padding: 31px 34px;
  background:
    radial-gradient(
      circle at 86% 18%,
      rgba(38, 130, 217, 0.18),
      transparent 30%
    ),
    linear-gradient(
      115deg,
      rgba(4, 11, 19, 0.99),
      rgba(8, 25, 40, 0.98) 58%,
      rgba(28, 18, 28, 0.97)
    );
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-deep);
}

.exec-eyebrow,
.exec-section-label {
  margin: 0 0 7px;
  color: var(--gold-bright);
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.exec-command-title h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 0.96;
}

.exec-command-title > p:last-child {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--text-secondary);
}

.exec-command-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 10px;
  min-width: 410px;
}

.exec-live-status,
.exec-report-period {
  min-height: 78px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.exec-live-status {
  display: flex;
  gap: 12px;
  align-items: center;
}

.exec-live-status > span {
  width: 12px;
  height: 12px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px rgba(45, 173, 101, 0.10),
    0 0 18px rgba(45, 173, 101, 0.68);
  animation: exec-live-pulse 2s ease-in-out infinite;
}

@keyframes exec-live-pulse {
  0%,
  100% {
    opacity: 0.58;
  }

  50% {
    opacity: 1;
  }
}

.exec-live-status small,
.exec-live-status strong,
.exec-report-period small,
.exec-report-period strong,
.exec-report-period span {
  display: block;
}

.exec-live-status small,
.exec-report-period small,
.exec-report-period span {
  color: var(--text-muted);
  font-size: 0.67rem;
}

.exec-live-status strong,
.exec-report-period strong {
  color: var(--text-primary);
  font-size: 0.79rem;
}

.exec-report-period span {
  margin-top: 4px;
}

.exec-posture-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.exec-posture-card {
  display: grid;
  grid-template-columns: 11px minmax(0, 1fr);
  gap: 13px;
  padding: 17px 18px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.008)
    ),
    var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.exec-rag {
  width: 10px;
  height: 100%;
  min-height: 55px;
  border-radius: 7px;
}

.posture-green .exec-rag {
  background: var(--emerald);
  box-shadow: 0 0 15px rgba(45, 173, 101, 0.42);
}

.posture-amber .exec-rag {
  background: var(--amber);
  box-shadow: 0 0 15px rgba(239, 141, 35, 0.42);
}

.posture-red .exec-rag {
  background: var(--ruby);
  box-shadow: 0 0 15px rgba(214, 64, 69, 0.42);
}

.exec-posture-card small,
.exec-posture-card strong {
  display: block;
}

.exec-posture-card small {
  color: var(--text-muted);
  font-size: 0.66rem;
}

.exec-posture-card strong {
  margin-top: 2px;
  color: var(--text-primary);
  font-size: 1.12rem;
}

.exec-posture-card p {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 0.66rem;
}

.exec-kpi-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.exec-kpi-card {
  position: relative;
  display: grid;
  min-height: 228px;
  padding: 18px;
  overflow: hidden;
  color: inherit;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.035),
      rgba(255, 255, 255, 0.008)
    ),
    var(--surface-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--emerald);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.exec-kpi-card:hover,
.exec-kpi-card:focus-visible {
  transform: translateY(-3px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-deep);
  outline: none;
}

.exec-kpi-card::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -45px;
  width: 125px;
  height: 125px;
  background: rgba(45, 173, 101, 0.055);
  border-radius: 50%;
}

.kpi-amber {
  border-top-color: var(--amber);
}

.kpi-amber::after {
  background: rgba(239, 141, 35, 0.055);
}

.kpi-red {
  border-top-color: var(--ruby);
}

.kpi-red::after {
  background: rgba(214, 64, 69, 0.06);
}

.exec-kpi-card header,
.exec-specialist-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.exec-kpi-number {
  color: var(--text-muted);
  font-size: 0.67rem;
  font-weight: 900;
}

.exec-kpi-rag {
  padding: 4px 7px;
  color: var(--emerald);
  background: rgba(45, 173, 101, 0.08);
  border: 1px solid rgba(45, 173, 101, 0.22);
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 900;
  text-transform: uppercase;
}

.kpi-amber .exec-kpi-rag {
  color: var(--amber);
  background: rgba(239, 141, 35, 0.08);
  border-color: rgba(239, 141, 35, 0.25);
}

.kpi-red .exec-kpi-rag {
  color: var(--ruby);
  background: rgba(214, 64, 69, 0.08);
  border-color: rgba(214, 64, 69, 0.25);
}

.exec-kpi-card h2 {
  margin: 17px 0 5px;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.exec-kpi-card > strong {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.exec-kpi-card > p {
  margin: 8px 0 18px;
  color: var(--text-muted);
  font-size: 0.68rem;
}

.exec-kpi-card footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.62rem;
}

.exec-kpi-card footer b {
  color: var(--text-secondary);
  text-align: right;
}

.exec-board-grid,
.exec-analysis-grid,
.exec-table-grid {
  display: grid;
  gap: 22px;
}

.exec-board-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.55fr);
}

.exec-analysis-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, 0.75fr);
}

.exec-table-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
}

.exec-panel {
  min-width: 0;
  padding: 24px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.028),
      rgba(255, 255, 255, 0.006)
    ),
    var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.exec-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.exec-panel-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.exec-panel-description {
  max-width: 480px;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.71rem;
  text-align: right;
}

.exec-map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.64rem;
}

.exec-map-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.exec-map-legend i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.map-green {
  background: var(--emerald);
}

.map-amber {
  background: var(--amber);
}

.map-red {
  background: var(--ruby);
}

.exec-map-stage {
  position: relative;
  min-height: 490px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 48% 45%,
      rgba(38, 130, 217, 0.14),
      transparent 37%
    ),
    linear-gradient(
      145deg,
      rgba(3, 12, 21, 0.99),
      rgba(7, 24, 37, 0.98)
    );
  border: 1px solid rgba(38, 130, 217, 0.22);
  border-radius: var(--radius);
}

.exec-map-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(
      rgba(38, 130, 217, 0.25) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(38, 130, 217, 0.25) 1px,
      transparent 1px
    );
  background-size: 43px 43px;
}

.exec-sa-map {
  position: absolute;
  inset: 6% 4% 4%;
  width: 92%;
  height: 90%;
  filter: drop-shadow(0 0 22px rgba(38, 130, 217, 0.22));
}

.exec-sa-outline {
  fill: rgba(26, 85, 126, 0.43);
  stroke: rgba(84, 183, 245, 0.55);
  stroke-width: 3;
}

.exec-province-line {
  fill: none;
  stroke: rgba(84, 183, 245, 0.25);
  stroke-width: 2;
}

.map-point {
  stroke: rgba(255, 255, 255, 0.6);
  stroke-width: 2;
}

.map-point-red {
  fill: var(--ruby);
}

.map-point-blue {
  fill: var(--sapphire);
}

.map-point-amber {
  fill: var(--amber);
}

.map-point-green {
  fill: var(--emerald);
}

.map-pulse {
  fill: transparent;
  stroke: var(--ruby);
  stroke-width: 2;
  opacity: 0.75;
  animation: map-point-pulse 2s ease-out infinite;
}

@keyframes map-point-pulse {
  0% {
    opacity: 0.8;
    transform: scale(0.7);
    transform-origin: 450px 188px;
  }

  100% {
    opacity: 0;
    transform: scale(1.55);
    transform-origin: 450px 188px;
  }
}

.exec-map-callout {
  position: absolute;
  display: grid;
  min-width: 150px;
  padding: 10px 12px;
  background: rgba(3, 10, 17, 0.92);
  border: 1px solid var(--border);
  border-left: 4px solid var(--emerald);
  border-radius: 9px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
}

.exec-map-callout strong,
.exec-map-callout span,
.exec-map-callout small {
  display: block;
}

.exec-map-callout strong {
  color: var(--text-primary);
  font-size: 0.72rem;
}

.exec-map-callout span {
  margin-top: 2px;
  color: var(--text-secondary);
  font-size: 0.63rem;
}

.exec-map-callout small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.58rem;
}

.callout-red {
  border-left-color: var(--ruby);
}

.callout-blue {
  border-left-color: var(--sapphire);
}

.callout-amber {
  border-left-color: var(--amber);
}

.callout-gauteng {
  top: 19%;
  right: 8%;
}

.callout-cape {
  bottom: 7%;
  left: 5%;
}

.callout-kzn {
  right: 2%;
  bottom: 23%;
}

.exec-map-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
}

.exec-map-summary article {
  padding: 11px;
  text-align: center;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.exec-map-summary small,
.exec-map-summary strong {
  display: block;
}

.exec-map-summary small {
  color: var(--text-muted);
  font-size: 0.59rem;
}

.exec-map-summary strong {
  margin-top: 4px;
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.exec-count-badge {
  padding: 6px 9px;
  color: var(--amber);
  background: rgba(239, 141, 35, 0.08);
  border: 1px solid rgba(239, 141, 35, 0.25);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.count-red {
  color: var(--ruby);
  background: rgba(214, 64, 69, 0.08);
  border-color: rgba(214, 64, 69, 0.25);
}

.exec-decision-list {
  display: grid;
  gap: 10px;
}

.exec-decision-list article {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 13px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
}

.exec-decision-list .decision-red {
  border-left-color: var(--ruby);
}

.decision-priority {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 7px;
  font-size: 0.62rem;
  font-weight: 900;
}

.exec-decision-list strong {
  color: var(--text-primary);
  font-size: 0.75rem;
}

.exec-decision-list p {
  margin: 4px 0;
  color: var(--text-secondary);
  font-size: 0.66rem;
}

.exec-decision-list small {
  color: var(--text-muted);
  font-size: 0.59rem;
}

.exec-decision-list button,
.exec-capacity-list button {
  padding: 7px 9px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--border);
  border-radius: 7px;
  cursor: pointer;
  font: inherit;
  font-size: 0.61rem;
  font-weight: 800;
}

.exec-view-all {
  display: block;
  margin-top: 13px;
  padding: 11px;
  color: var(--gold-bright);
  background: rgba(241, 201, 75, 0.035);
  border: 1px solid rgba(241, 201, 75, 0.18);
  border-radius: 8px;
  font-size: 0.67rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.exec-chart-summary {
  text-align: right;
}

.exec-chart-summary strong,
.exec-chart-summary span {
  display: block;
}

.exec-chart-summary strong {
  color: var(--gold-bright);
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.exec-chart-summary span {
  color: var(--text-muted);
  font-size: 0.62rem;
}

.exec-line-chart {
  position: relative;
  padding: 0 4px 6px 42px;
}

.exec-line-chart svg {
  width: 100%;
  height: 285px;
}

.chart-y-labels {
  position: absolute;
  top: 7px;
  bottom: 37px;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.58rem;
}

.chart-x-labels {
  display: flex;
  justify-content: space-between;
  padding-left: 6px;
  color: var(--text-muted);
  font-size: 0.58rem;
}

.chart-grid-line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.chart-target-line {
  stroke: rgba(241, 201, 75, 0.45);
  stroke-width: 1.5;
  stroke-dasharray: 7 7;
}

.chart-area {
  fill: rgba(38, 130, 217, 0.10);
  stroke: none;
}

.chart-trend-line {
  fill: none;
  stroke: var(--sapphire);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-point {
  fill: var(--surface-card);
  stroke: var(--sapphire);
  stroke-width: 4;
}

.chart-point-current {
  fill: var(--gold-bright);
  stroke: rgba(241, 201, 75, 0.35);
  stroke-width: 8;
}

.exec-trend-drivers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 9px;
}

.exec-trend-drivers article {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  padding: 11px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.exec-trend-drivers article > span {
  color: var(--emerald);
  font-weight: 900;
}

.exec-trend-drivers .trend-negative > span {
  color: var(--ruby);
}

.exec-trend-drivers strong,
.exec-trend-drivers small {
  display: block;
}

.exec-trend-drivers strong {
  color: var(--text-primary);
  font-size: 0.67rem;
}

.exec-trend-drivers small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 0.58rem;
}

.exec-radar-wrap {
  display: grid;
  min-height: 400px;
  place-items: center;
}

.exec-radar-wrap svg {
  width: 100%;
  max-width: 520px;
}

.radar-grid {
  fill: rgba(38, 130, 217, 0.025);
  stroke: rgba(84, 183, 245, 0.20);
  stroke-width: 1.5;
}

.radar-axis {
  stroke: rgba(84, 183, 245, 0.17);
  stroke-width: 1.3;
}

.radar-value {
  fill: rgba(38, 130, 217, 0.16);
  stroke: var(--sapphire);
  stroke-width: 3;
}

.radar-point {
  fill: var(--gold-bright);
  stroke: rgba(241, 201, 75, 0.25);
  stroke-width: 5;
}

.radar-point-risk {
  fill: var(--amber);
}

.radar-label {
  fill: var(--text-secondary);
  font-size: 14px;
  font-weight: 700;
}

.radar-label-risk {
  fill: var(--amber);
}

.exec-radar-exception {
  display: grid;
  grid-template-columns: 11px minmax(0, 1fr);
  gap: 11px;
  padding: 13px;
  background: rgba(239, 141, 35, 0.055);
  border: 1px solid rgba(239, 141, 35, 0.20);
  border-radius: var(--radius);
}

.exception-amber {
  width: 10px;
  height: 100%;
  background: var(--amber);
  border-radius: 6px;
}

.exec-radar-exception strong {
  color: var(--text-primary);
  font-size: 0.72rem;
}

.exec-radar-exception p {
  margin: 4px 0 0;
  color: var(--text-muted);
  font-size: 0.63rem;
}

.exec-specialist-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.exec-specialist-card {
  display: grid;
  min-height: 190px;
  padding: 15px;
  color: inherit;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--border);
  border-left: 4px solid var(--emerald);
  border-radius: var(--radius);
  text-decoration: none;
  transition:
    transform var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
}

.exec-specialist-card:hover,
.exec-specialist-card:focus-visible {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.038);
  border-color: var(--border-bright);
  outline: none;
}

.specialist-amber {
  border-left-color: var(--amber);
}

.specialist-red {
  border-left-color: var(--ruby);
}

.specialist-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 31px;
  color: var(--gold-bright);
  background: rgba(241, 201, 75, 0.07);
  border: 1px solid rgba(241, 201, 75, 0.20);
  border-radius: 7px;
  font-size: 0.59rem;
  font-weight: 900;
}

.specialist-rag {
  width: 9px;
  height: 9px;
  background: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(45, 173, 101, 0.65);
}

.specialist-amber .specialist-rag {
  background: var(--amber);
  box-shadow: 0 0 12px rgba(239, 141, 35, 0.65);
}

.specialist-red .specialist-rag {
  background: var(--ruby);
  box-shadow: 0 0 12px rgba(214, 64, 69, 0.65);
}

.exec-specialist-card h3 {
  margin: 14px 0 6px;
  color: var(--text-primary);
  font-size: 0.79rem;
}

.exec-specialist-card > strong {
  color: var(--text-secondary);
  font-size: 0.68rem;
}

.specialist-bar {
  height: 6px;
  margin: 14px 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
}

.specialist-bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--emerald), var(--gold));
  border-radius: 99px;
}

.specialist-amber .specialist-bar i {
  background: linear-gradient(90deg, var(--amber), var(--gold));
}

.specialist-red .specialist-bar i {
  background: linear-gradient(90deg, var(--ruby), var(--amber));
}

.bar-72 {
  width: 72%;
}

.bar-77 {
  width: 77%;
}

.bar-80 {
  width: 80%;
}

.bar-90 {
  width: 90%;
}

.bar-91 {
  width: 91.4%;
}

.bar-93 {
  width: 93%;
}

.bar-95 {
  width: 94.7%;
}

.bar-96 {
  width: 96.2%;
}

.bar-99 {
  width: 98.6%;
}

.exec-specialist-card footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: end;
  margin-top: auto;
  color: var(--text-muted);
  font-size: 0.58rem;
}

.exec-specialist-card footer b {
  color: var(--gold-bright);
  text-align: right;
}

.exec-table {
  display: grid;
  overflow-x: auto;
}

.exec-table-row {
  display: grid;
  grid-template-columns:
    minmax(90px, 0.55fr)
    minmax(190px, 1.35fr)
    minmax(145px, 1fr)
    minmax(60px, 0.5fr)
    minmax(100px, 0.8fr)
    minmax(90px, 0.65fr);
  gap: 12px;
  align-items: center;
  min-width: 780px;
  padding: 12px 8px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  font-size: 0.66rem;
}

.exec-table-head {
  color: var(--text-muted);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exec-table-row strong {
  color: var(--text-primary);
}

.exec-table-row > span:first-child {
  display: flex;
  gap: 7px;
  align-items: center;
}

.table-rag {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.table-red {
  background: var(--ruby);
  box-shadow: 0 0 9px rgba(214, 64, 69, 0.65);
}

.table-amber {
  background: var(--amber);
  box-shadow: 0 0 9px rgba(239, 141, 35, 0.65);
}

.exec-table-row b {
  display: inline-block;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 0.56rem;
  text-transform: uppercase;
}

.status-live {
  color: var(--ruby);
  background: rgba(214, 64, 69, 0.08);
}

.status-response {
  color: var(--sapphire);
  background: rgba(38, 130, 217, 0.08);
}

.status-investigate {
  color: var(--amber);
  background: rgba(239, 141, 35, 0.08);
}

.status-escalated {
  color: var(--gold-bright);
  background: rgba(241, 201, 75, 0.08);
}

.exec-capacity-list {
  display: grid;
  gap: 9px;
}

.exec-capacity-list article {
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) 42px auto;
  gap: 11px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.capacity-rag {
  width: 9px;
  height: 38px;
  background: var(--amber);
  border-radius: 6px;
}

.capacity-critical .capacity-rag {
  background: var(--ruby);
}

.capacity-surplus .capacity-rag {
  background: var(--emerald);
}

.exec-capacity-list strong {
  color: var(--text-primary);
  font-size: 0.70rem;
}

.exec-capacity-list p {
  margin: 3px 0 0;
  color: var(--text-muted);
  font-size: 0.60rem;
}

.exec-capacity-list > article > b {
  color: var(--ruby);
  font-size: 0.83rem;
}

.exec-capacity-list .capacity-warning > b {
  color: var(--amber);
}

.exec-capacity-list .capacity-surplus > b {
  color: var(--emerald);
}

.exec-obligation-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
}

.exec-obligation-grid article {
  padding: 15px;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--border);
  border-top: 3px solid var(--emerald);
  border-radius: var(--radius);
}

.exec-obligation-grid .obligation-amber {
  border-top-color: var(--amber);
}

.exec-obligation-grid .obligation-red {
  border-top-color: var(--ruby);
}

.exec-obligation-grid span,
.exec-obligation-grid strong {
  display: block;
}

.exec-obligation-grid span {
  color: var(--emerald);
  font-size: 0.62rem;
  font-weight: 900;
  text-transform: uppercase;
}

.exec-obligation-grid .obligation-amber span {
  color: var(--amber);
}

.exec-obligation-grid .obligation-red span {
  color: var(--ruby);
}

.exec-obligation-grid strong {
  margin-top: 10px;
  color: var(--text-primary);
  font-size: 0.75rem;
}

.exec-obligation-grid p {
  margin: 6px 0 0;
  color: var(--text-muted);
  font-size: 0.62rem;
}

@media (max-width: 1450px) {
  .exec-kpi-grid,
  .exec-specialist-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .exec-obligation-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .exec-command-header {
    display: grid;
    align-items: start;
  }

  .exec-command-meta {
    min-width: 0;
  }

  .exec-posture-strip,
  .exec-kpi-grid,
  .exec-specialist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .exec-board-grid,
  .exec-analysis-grid,
  .exec-table-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .exec-command-meta,
  .exec-posture-strip,
  .exec-kpi-grid,
  .exec-specialist-grid,
  .exec-obligation-grid,
  .exec-map-summary,
  .exec-trend-drivers {
    grid-template-columns: 1fr;
  }

  .exec-panel-header {
    display: grid;
  }

  .exec-panel-description {
    text-align: left;
  }

  .exec-map-stage {
    min-height: 540px;
  }

  .callout-gauteng {
    top: 14%;
    right: 3%;
  }

  .callout-cape {
    bottom: 5%;
    left: 3%;
  }

  .callout-kzn {
    right: 2%;
    bottom: 25%;
  }
}

/* BRAK-PAK-COMMAND-CENTRE-CSS-V1-END */

/* BRAK-PAK-SIGNIN-PAGE-V1-START */
.signin-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(1.5rem, 4vw, 4rem);
  background:
    radial-gradient(
      circle at top left,
      rgba(34, 197, 94, 0.18),
      transparent 34%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(14, 165, 233, 0.2),
      transparent 38%
    ),
    linear-gradient(
      145deg,
      #07130f,
      #10261d 48%,
      #07130f
    );
}

.signin-panel {
  width: min(880px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  background: rgba(6, 18, 14, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.signin-identity {
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(
      155deg,
      rgba(31, 138, 88, 0.34),
      rgba(4, 20, 15, 0.2)
    );
}

.signin-identity img {
  width: min(210px, 72%);
  height: auto;
  margin-bottom: 2.5rem;
}

.signin-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f1b94a;
}

.signin-identity h1 {
  margin: 0 0 1rem;
  color: #fff7e8;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.signin-identity p:not(.signin-kicker) {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 247, 232, 0.75);
  line-height: 1.7;
}

.signin-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
  padding: clamp(2rem, 5vw, 4rem);
  background: #fffaf0;
}

.signin-form label {
  margin-top: 0.45rem;
  color: #18372b;
  font-weight: 800;
}

.signin-form input {
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(24, 55, 43, 0.28);
  border-radius: 12px;
  background: #ffffff;
  color: #10261d;
  font: inherit;
}

.signin-form input:focus {
  outline: 3px solid rgba(31, 138, 88, 0.2);
  border-color: #1f8a58;
}

.signin-form .button {
  margin-top: 1rem;
  cursor: pointer;
}

.signin-error {
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(176, 39, 39, 0.24);
  border-radius: 12px;
  background: rgba(176, 39, 39, 0.09);
  color: #8f2020;
  font-weight: 700;
}

.signin-return-link {
  margin-top: 0.75rem;
  text-align: center;
  color: #315f4d;
  font-weight: 700;
}

@media (max-width: 760px) {
  .signin-panel {
    grid-template-columns: 1fr;
  }

  .signin-identity img {
    margin-bottom: 1.5rem;
  }
}
/* BRAK-PAK-SIGNIN-PAGE-V1-END */


/* BRAK-PAK-EVENT-EVIDENCE-CSS-V1-START */
.analytics-evidence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.analytics-evidence-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 1rem;
  border-radius: 0.8rem;
  background: #05070b;
  object-fit: contain;
}

.analytics-class-summary,
.analytics-detection-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.analytics-class-chip,
.analytics-detection-row {
  padding: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.75rem;
}

.analytics-class-chip,
.analytics-detection-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.analytics-class-chip span {
  text-align: right;
  opacity: 0.78;
}

.analytics-detection-row progress {
  width: 100%;
  height: 0.65rem;
  margin-top: 0.55rem;
  accent-color: #22c55e;
}

.analytics-detection-row dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.8rem 0 0;
}

.analytics-detection-row dt {
  font-size: 0.76rem;
  opacity: 0.68;
}

.analytics-detection-row dd {
  margin: 0.2rem 0 0;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .analytics-evidence-grid,
  .analytics-detection-row dl {
    grid-template-columns: 1fr;
  }

  .analytics-class-chip {
    align-items: flex-start;
    flex-direction: column;
  }

  .analytics-class-chip span {
    text-align: left;
  }
}
/* BRAK-PAK-EVENT-EVIDENCE-CSS-V1-END */

/* BRAK-PAK-LANDING-ANALYTICS-NAVIGATION-CSS-V1-START */
.landing-analytics-navigation {
  margin-top: 1.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(132, 86, 161, 0.16), transparent 38%),
    linear-gradient(145deg, rgba(17, 35, 48, 0.98), rgba(9, 22, 31, 0.98));
}

.landing-analytics-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-analytics-card {
  --analytics-nav-accent: #75b9ea;
  display: flex;
  min-height: 18rem;
  flex-direction: column;
  border-top: 0.25rem solid var(--analytics-nav-accent);
}

.landing-analytics-card:hover,
.landing-analytics-card:focus-visible {
  border-color: var(--analytics-nav-accent);
  transform: translateY(-0.3rem);
}

.landing-analytics-card:focus-visible {
  outline: 0.2rem solid #f3c969;
  outline-offset: 0.2rem;
}

.analytics-nav-amethyst {
  --analytics-nav-accent: #bd8fda;
}

.analytics-nav-sapphire {
  --analytics-nav-accent: #75b9ea;
}

.analytics-nav-citrine {
  --analytics-nav-accent: #f1c45d;
}

.analytics-nav-emerald {
  --analytics-nav-accent: #67c9a1;
}

.landing-analytics-kicker {
  color: var(--analytics-nav-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-analytics-card h3 {
  margin-top: 0.55rem;
}

.landing-analytics-card p {
  margin-bottom: 1.4rem;
}

.landing-analytics-action {
  margin-top: auto;
  color: var(--analytics-nav-accent);
  font-size: 0.86rem;
  font-weight: 800;
}

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

@media (max-width: 680px) {
  .landing-analytics-grid {
    grid-template-columns: 1fr;
  }

  .landing-analytics-card {
    min-height: auto;
  }
}
/* BRAK-PAK-LANDING-ANALYTICS-NAVIGATION-CSS-V1-END */

/* BRAK-PAK-VISIBLE-ANALYTICS-ENTRY-CSS-V1-START */
.landing-command-actions-expanded {
  display: grid;
  grid-template-columns:
    minmax(15rem, 1.35fr)
    repeat(4, minmax(max-content, 1fr));
  gap: 0.7rem;
  align-items: stretch;
}

.landing-command-actions-expanded .button {
  min-height: 3.5rem;
  padding-inline: 1rem;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}

.landing-command-actions-expanded .landing-security-entry {
  padding-inline: 1.4rem;
}

@media (max-width: 1420px) {
  .landing-command-actions-expanded {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-command-actions-expanded .landing-security-entry {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .landing-command-actions-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-command-actions-expanded .landing-security-entry {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .landing-command-actions-expanded {
    grid-template-columns: 1fr;
  }

  .landing-command-actions-expanded .landing-security-entry {
    grid-column: auto;
  }

  .landing-command-actions-expanded .button {
    width: 100%;
    white-space: normal;
  }
}
/* BRAK-PAK-VISIBLE-ANALYTICS-ENTRY-CSS-V1-END */

