:root {
  --ink: #08182f;
  --muted: #6f7f96;
  --line: #d8e2f0;
  --panel: #ffffff;
  --soft: #f3f7fc;
  --blue: #1768ff;
  --blue-deep: #071f44;
  --blue-soft: #e5f0ff;
  --yellow: #ffd447;
  --yellow-deep: #a87500;
  --navy: #06162d;
  --navy-2: #0b2a57;
  --zr-bg: #06162d;
  --zr-bg-2: #09234a;
  --zr-surface: #ffffff;
  --zr-surface-soft: #f7faff;
  --zr-surface-blue: #edf5ff;
  --zr-border: #d7e3f3;
  --zr-border-strong: #b9cbe3;
  --zr-text: #08182f;
  --zr-muted: #607089;
  --zr-blue: #1768ff;
  --zr-blue-strong: #0d55d9;
  --zr-yellow: #ffd447;
  --zr-yellow-soft: #fff4c7;
  --zr-warning: #f6b800;
  --zr-danger: #dc2626;
  --zr-success: #12915a;
  --zr-radius-sm: 8px;
  --zr-radius: 12px;
  --zr-radius-lg: 16px;
  --zr-shadow-sm: 0 8px 24px rgba(8, 24, 47, 0.08);
  --zr-shadow: 0 18px 44px rgba(8, 24, 47, 0.12);
  --zr-shadow-lg: 0 28px 80px rgba(5, 13, 31, 0.28);
  --zr-focus: 0 0 0 3px rgba(23, 104, 255, 0.22);
  --zr-gradient-shell: radial-gradient(circle at 14% -8%, rgba(23, 104, 255, 0.28), transparent 34rem), linear-gradient(160deg, #06162d 0%, #09234a 46%, #eef5ff 46%, #f7faff 100%);
  --zr-gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  --zr-gradient-navy: linear-gradient(135deg, #06162d 0%, #09234a 58%, #0d3472 100%);
  --zr-space-1: 4px;
  --zr-space-2: 8px;
  --zr-space-3: 12px;
  --zr-space-4: 16px;
  --zr-space-5: 20px;
  --zr-space-6: 24px;
  --zr-space-8: 32px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 15% 0%, rgba(23, 104, 255, 0.26), transparent 34rem),
    linear-gradient(180deg, #06162d 0%, #0b2a57 42%, #eef5ff 42%, #f6f9fd 100%);
}

.demo-banner {
  padding: 10px clamp(18px, 4vw, 54px);
  color: var(--blue-deep);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  border-bottom: 1px solid rgba(148, 100, 0, 0.24);
  background: #fff2c2;
}

.demo-banner[hidden] {
  display: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 212, 71, 0.22);
  background: rgba(6, 22, 45, 0.96);
  backdrop-filter: blur(14px);
  color: #ffffff;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  color: #ffffff;
  text-decoration: none;
}

.brand-logo {
  width: 74px;
  height: 54px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  border: 1px solid rgba(255, 212, 71, 0.4);
}

.brand small,
.sidebar small,
.insight-card small,
.eyebrow {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.topbar .brand small,
.topbar .brand strong {
  color: #ffffff;
}

.brand span:last-child {
  display: grid;
  gap: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  flex: 1;
}

.main-nav a,
.ghost-button,
.secondary-button,
.primary-button {
  border: 0;
  border-radius: 8px;
  text-decoration: none;
}

.main-nav a,
.nav-menu {
  padding: 9px 10px;
  color: #dce9ff;
  background: transparent;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffffff;
  background: rgba(23, 104, 255, 0.28);
  outline: 0;
}

.nav-menu::after {
  content: " v";
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ghost-button {
  padding: 10px 12px;
  background: transparent;
  color: inherit;
}

.text-button {
  width: fit-content;
  padding: 0;
  color: var(--blue);
  border: 0;
  background: transparent;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.login-recovery-link {
  margin-top: -4px;
}

.primary-button,
.secondary-button {
  min-height: 40px;
  padding: 10px 16px;
  font-weight: 700;
}

.primary-button {
  color: var(--blue-deep);
  background: var(--yellow);
  box-shadow: 0 10px 24px rgba(255, 212, 71, 0.22);
}

.secondary-button {
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid rgba(23, 104, 255, 0.18);
}

.large {
  min-height: 48px;
  padding-inline: 20px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 7vw, 76px) clamp(18px, 5vw, 72px) 28px;
  min-height: 520px;
  color: #ffffff;
  text-align: center;
}

.hero-copy {
  max-width: 650px;
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 560px;
  margin-inline: auto;
  color: #d5e4ff;
  font-size: 1.13rem;
  line-height: 1.6;
}

.hero-actions {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.status-strip {
  justify-content: center;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
  margin-top: 22px;
  color: #d5e4ff;
  line-height: 1.45;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
  white-space: nowrap;
}

.status-badge.live {
  color: #ffffff;
  background: #0d7a55;
}

.status-badge.planned {
  color: #3e4b5d;
  background: #eef2f7;
  border: 1px solid rgba(101, 112, 131, 0.24);
}

.status-badge.connected {
  color: #ffffff;
  background: #0d7a55;
  border: 1px solid rgba(13, 122, 85, 0.28);
}

.status-badge.ready {
  color: #ffffff;
  background: var(--blue);
  border: 1px solid rgba(23, 104, 255, 0.28);
}

.status-badge.degraded {
  color: #4d3100;
  background: #ffbf47;
  border: 1px solid rgba(255, 191, 71, 0.5);
}

.status-badge.disabled {
  color: #ffffff;
  background: #b42318;
  border: 1px solid rgba(180, 35, 24, 0.28);
}

.status-badge.in-progress {
  color: #5f4300;
  background: #fff2c2;
  border: 1px solid rgba(246, 196, 69, 0.55);
}

.status-badge.scaffolded {
  color: var(--blue-deep);
  background: var(--blue-soft);
  border: 1px solid rgba(13, 79, 159, 0.16);
}

.status-badge.demo-data {
  color: #5f4300;
  background: #fff2c2;
  border: 1px solid rgba(246, 196, 69, 0.55);
}

.status-badge.later {
  color: #5f4300;
  background: #fff2c2;
  border: 1px solid rgba(246, 196, 69, 0.55);
}

.status-badge.enterprise {
  color: #ffffff;
  background: var(--blue-deep);
}

.status-badge.review {
  color: #ffffff;
  background: #0d7a55;
}

.simple-status,
.connector-card-grid em,
.admin-groups details > span {
  display: inline-flex;
  width: fit-content;
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-style: normal;
  font-weight: 800;
}

.simple-status::before,
.connector-card-grid em::before,
.admin-groups details > span::before {
  content: "";
  width: 8px;
  height: 8px;
  margin: 0.32em 7px 0 0;
  border-radius: 999px;
  background: var(--yellow);
}

.simple-status.connected::before {
  background: #0d7a55;
}

.simple-status.issue::before {
  background: #b42318;
}

.command-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(18, 21, 31, 0.12);
  border-radius: 8px;
  background: #fdfefe;
  box-shadow: 0 24px 70px rgba(32, 42, 68, 0.18);
}

.panel-head,
.metric-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}

.panel-head {
  border-bottom: 1px solid var(--line);
}

.panel-head div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.panel-logo {
  width: 54px;
  height: 40px;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
}

#signalCanvas {
  display: block;
  width: 100%;
  aspect-ratio: 2.17 / 1;
  background: var(--blue-deep);
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.metric-strip div {
  display: grid;
  gap: 3px;
}

.metric-strip strong {
  font-size: 1.6rem;
}

.metric-strip small {
  color: var(--muted);
}

.product-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 16px clamp(18px, 5vw, 72px) 34px;
}

.product-card {
  display: grid;
  gap: 10px;
  min-height: 174px;
  padding: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.product-card.active {
  border-color: var(--yellow);
  box-shadow: inset 0 0 0 2px rgba(246, 196, 69, 0.28);
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-kicker {
  color: var(--blue);
  font-weight: 800;
}

.product-card small {
  color: var(--muted);
  line-height: 1.45;
}

.product-rail.simplified-flow {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: 22px;
}

.simplified-flow .product-card {
  min-height: 150px;
}

.advanced-panel,
.advanced-section {
  border: 1px solid rgba(13, 79, 159, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.advanced-panel summary,
.advanced-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--blue-deep);
  cursor: pointer;
}

.advanced-panel summary span,
.advanced-section > summary span {
  color: var(--muted);
}

.module-quick-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 clamp(18px, 5vw, 72px) 18px;
  padding: 16px 18px;
  border: 1px solid rgba(13, 79, 159, 0.16);
  border-radius: 8px;
  background: #ffffff;
}

.module-quick-link.advanced-panel {
  display: block;
}

.module-quick-link.advanced-panel div {
  padding: 0 18px 16px;
}

.module-quick-link.advanced-panel .secondary-button {
  margin: 0 18px 18px;
}

.module-quick-link div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.module-quick-link span:last-child {
  color: var(--muted);
}

.workspace {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  padding: 0 clamp(18px, 5vw, 72px) 34px;
}

.workspace.dashboard-preview,
.workspace.simple-section {
  grid-template-columns: minmax(0, 1fr);
}

.sidebar,
.console,
.announcement,
.contact-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.sidebar {
  align-self: start;
  display: grid;
  gap: 18px;
  padding: 18px;
}

.sidebar-section {
  display: grid;
  gap: 12px;
}

.sidebar label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #283244;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.segmented button {
  min-height: 38px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
}

.segmented button:last-child {
  border-right: 0;
}

.segmented .active {
  color: #fff;
  background: var(--navy);
}

.coverage-row {
  display: grid;
  grid-template-columns: 74px 1fr;
  align-items: center;
  gap: 8px;
}

meter {
  width: 100%;
  height: 12px;
}

.console {
  min-width: 0;
  padding: 18px;
}

.console-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.console-toolbar h2 {
  margin-bottom: 0;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}

.toolbar-actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.search-box,
.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.search-box input,
.contact-form input,
.contact-form select {
  width: 220px;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.simplified-dashboard .insight-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.simplified-dashboard .insight-card {
  min-height: 132px;
}

.recommended-card {
  background: #fff8dd;
  border-color: rgba(246, 196, 69, 0.55);
}

.hidden-metrics {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.compact-head {
  align-items: center;
  margin-bottom: 16px;
}

.report-action-grid,
.filter-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.filter-panel {
  margin-bottom: 14px;
}

.filter-panel .filter-grid {
  padding: 0 18px 18px;
}

.standalone-empty {
  margin-top: 16px;
}

.connector-card-grid,
.admin-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.connector-card-grid article,
.admin-groups details {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 18px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.connector-card-grid strong {
  color: var(--blue-deep);
  font-size: 1.15rem;
}

.connector-card-grid span,
.admin-groups p {
  color: var(--muted);
  line-height: 1.5;
}

.connector-card-grid button {
  align-self: end;
  justify-self: start;
}

.admin-groups summary {
  color: var(--blue-deep);
  font-weight: 900;
  cursor: pointer;
}

.insight-card {
  display: grid;
  gap: 5px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.insight-card strong {
  font-size: 2rem;
}

.insight-card span {
  color: var(--muted);
}

.asset-graph-panel {
  display: grid;
  gap: 14px;
  margin: 14px 0 18px;
  padding: 16px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.asset-graph-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.asset-graph-head h3 {
  margin: 0;
  color: var(--blue-deep);
}

.asset-tree {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  color: #dbeafe;
  background: var(--blue-deep);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.9rem;
  overflow-x: auto;
}

.asset-tree div {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(320px, 1fr);
  gap: 12px;
  min-width: 520px;
}

.asset-tree strong {
  color: var(--yellow);
}

.asset-tree span {
  color: rgba(255, 255, 255, 0.84);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
  background: #fff;
}

caption {
  padding: 14px 16px;
  text-align: left;
  color: var(--muted);
  font-weight: 800;
}

th,
td {
  padding: 13px 16px;
  text-align: left;
  border-top: 1px solid var(--line);
}

th {
  color: #4d5a6d;
  background: #f8fafb;
  font-size: 0.82rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 9px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.79rem;
}

.critical {
  color: #fff;
  background: var(--blue-deep);
}

.high {
  color: var(--blue-deep);
  background: var(--yellow);
}

.medium {
  color: #fff;
  background: var(--blue);
}

.low {
  color: var(--blue-deep);
  background: var(--blue-soft);
}

.info {
  color: #40516b;
  background: #edf1f6;
}

.finding-actions {
  min-width: 220px;
}

.ai-action-button {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 2px;
  padding: 6px 8px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid rgba(13, 79, 159, 0.18);
  border-radius: 8px;
  background: var(--blue-soft);
}

.finding-ai-panel {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(13, 79, 159, 0.18);
  border-radius: 8px;
  background: #f8fbff;
}

.finding-ai-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
  white-space: pre-line;
}

.table-empty-state {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 22px;
  text-align: center;
}

.table-empty-state strong {
  color: var(--blue-deep);
  font-size: 1rem;
}

.table-empty-state span {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.5;
}

.customer-guidance-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 18px;
  align-items: start;
  margin: 18px 0;
  padding: 18px;
  border: 1px solid rgba(47, 111, 237, 0.18);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(7, 18, 38, 0.08);
}

.customer-guidance-panel h3 {
  margin: 4px 0 8px;
  color: var(--navy);
}

.customer-guidance-panel p {
  margin: 0;
  color: var(--muted);
}

.setup-checklist {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.setup-checklist li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.setup-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(47, 111, 237, 0.35);
  border-radius: 50%;
}

.setup-checklist li.complete {
  color: var(--navy);
  font-weight: 700;
}

.setup-checklist li.complete::before {
  background: var(--blue);
  border-color: var(--blue);
}

.announcement,
.contact-band,
.onboarding,
.difference,
.launch-roadmap,
.readiness,
.signin-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0 clamp(18px, 5vw, 72px) 34px;
  padding: 28px;
}

.announcement h2,
.contact-band h2 {
  margin-bottom: 0;
  max-width: 840px;
  font-size: clamp(1.45rem, 4vw, 2.5rem);
}

.contact-form {
  display: flex;
  align-items: end;
  gap: 12px;
}

.contact-demo-section,
.difference,
.launch-roadmap {
  align-items: stretch;
  flex-direction: column;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head h2 {
  margin-bottom: 0;
  max-width: 760px;
  font-size: clamp(1.55rem, 4vw, 2.7rem);
}

.section-head p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contact-demo-grid,
.difference-grid,
.readiness-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.contact-demo-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
}

.plan-card,
.demo-request-form,
.contact-assurance-card,
.difference-grid article,
.readiness-card,
.signup-panel,
.connector-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.plan-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
}

.demo-request-form,
.contact-assurance-card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 22px;
}

.demo-request-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

.demo-request-form input,
.demo-request-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font: inherit;
}

.demo-request-form textarea {
  resize: vertical;
}

.module-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #f7fbff;
}

.module-checkboxes legend {
  padding: 0 6px;
  color: var(--blue-deep);
  font-weight: 800;
}

.module-checkboxes label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  color: var(--ink);
}

.module-checkboxes input {
  width: 18px;
  min-height: 18px;
}

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

.contact-assurance-card {
  color: #ffffff;
  border-color: rgba(255, 212, 71, 0.28);
  background:
    linear-gradient(145deg, rgba(6, 22, 45, 0.98), rgba(11, 42, 87, 0.94)),
    var(--navy);
}

.contact-assurance-card small {
  color: var(--yellow);
  font-weight: 800;
  text-transform: uppercase;
}

.contact-assurance-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.55rem;
}

.contact-assurance-card p,
.contact-assurance-card li {
  color: #d5e4ff;
  line-height: 1.5;
}

.plan-card.featured {
  border-color: var(--yellow);
  box-shadow: inset 0 0 0 2px rgba(246, 196, 69, 0.26);
}

.plan-card.selected {
  outline: 3px solid rgba(13, 79, 159, 0.2);
}

.plan-card h3 {
  margin: 0;
  color: var(--blue-deep);
  font-size: 2.3rem;
}

.plan-card h3 span {
  color: var(--muted);
  font-size: 0.95rem;
}

.plan-card p,
.plan-card li,
.difference-grid span,
.roadmap-list span,
.form-note {
  color: var(--muted);
  line-height: 1.5;
}

.plan-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.onboarding {
  align-items: stretch;
  flex-direction: column;
}

.wizard-shell {
  display: grid;
  gap: 18px;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wizard-steps li {
  min-height: 42px;
  padding: 10px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.wizard-steps li.active,
.wizard-steps li.complete {
  color: var(--blue-deep);
  border-color: rgba(13, 79, 159, 0.28);
  background: #eef5ff;
}

.wizard-progress {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 800;
}

.wizard-progress meter {
  flex: 1;
  min-width: 160px;
}

.wizard-panel {
  display: none;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(13, 79, 159, 0.12);
  border-radius: 8px;
  background: #f8fbff;
}

.wizard-panel.active {
  display: grid;
}

.wizard-panel h3 {
  margin: 0;
  color: var(--blue-deep);
}

.field-label,
.wizard-grid label,
.selectable-list label,
.authorization-check {
  display: grid;
  gap: 7px;
  color: var(--blue-deep);
  font-weight: 800;
}

.wizard-panel input,
.wizard-panel textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.wizard-panel textarea {
  resize: vertical;
}

.wizard-grid.two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

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

.selectable-list label,
.authorization-check {
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.selectable-list input,
.authorization-check input {
  width: 18px;
  min-height: 18px;
}

.launch-summary {
  display: grid;
  gap: 8px;
}

.launch-summary span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.launch-summary strong {
  color: var(--blue-deep);
}

.onboarding-security-checklist {
  display: grid;
  gap: 10px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.onboarding-security-checklist strong {
  color: var(--blue-deep);
}

.onboarding-security-checklist ul {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.onboarding-security-checklist li {
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  color: var(--muted);
  background: #f7fbff;
  font-size: 0.84rem;
  font-weight: 800;
}

.onboarding-security-checklist li.complete {
  color: #0d5f45;
  background: #eaf8f1;
  border-color: rgba(13, 122, 85, 0.22);
}

.wizard-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.form-note {
  margin: 0;
  min-height: 44px;
}

.code-security {
  padding: 46px clamp(18px, 5vw, 72px);
  background: #f7fbff;
  border-top: 1px solid rgba(16, 45, 87, 0.08);
  border-bottom: 1px solid rgba(16, 45, 87, 0.08);
}

.cloud-platform,
.enterprise-roadmap {
  padding: 46px clamp(18px, 5vw, 72px);
}

.cloud-platform {
  background: var(--blue-deep);
  color: #ffffff;
}

.cloud-platform .section-head p,
.cloud-platform .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.enterprise-roadmap {
  background: #f7fbff;
  border-top: 1px solid rgba(16, 45, 87, 0.08);
  border-bottom: 1px solid rgba(16, 45, 87, 0.08);
}

.module-grid,
.roadmap-module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.module-grid article,
.roadmap-module-grid article {
  display: grid;
  gap: 10px;
  min-height: 146px;
  padding: 18px;
  border-radius: 8px;
}

.module-grid article {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.roadmap-module-grid article {
  border: 1px solid rgba(16, 45, 87, 0.14);
  background: #ffffff;
}

.module-grid article::before,
.roadmap-module-grid article::before {
  content: "";
  width: 38px;
  height: 6px;
  border-radius: 8px;
  background: var(--yellow);
}

.module-grid strong {
  color: #ffffff;
}

.module-grid span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.roadmap-module-grid strong {
  color: var(--blue-deep);
}

.roadmap-module-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.code-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 16px;
}

.github-panel,
.repo-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 45, 87, 0.13);
  border-radius: 8px;
  background: #ffffff;
}

.panel-head.compact {
  background: var(--blue-deep);
  color: #ffffff;
  border-bottom: 0;
}

.panel-head.compact strong {
  color: var(--yellow);
}

.integration-list {
  display: grid;
  margin: 0;
}

.integration-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
}

.integration-list dt {
  color: var(--muted);
  font-weight: 700;
}

.integration-list dd {
  margin: 0;
  color: var(--ink);
}

.repo-table-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  color: #ffffff;
  background: var(--navy);
}

.repo-table-head span {
  color: rgba(255, 255, 255, 0.72);
}

.mini-table {
  width: 100%;
  border-collapse: collapse;
}

.mini-table th,
.mini-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.mini-table th {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0;
}

.code-module-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.code-module-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(16, 45, 87, 0.14);
  border-radius: 8px;
  color: var(--blue-deep);
  background: #ffffff;
  font-weight: 700;
}

.ai-remediation {
  padding: 46px clamp(18px, 5vw, 72px);
  background: #ffffff;
}

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

.ai-output-card {
  display: grid;
  gap: 10px;
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(16, 45, 87, 0.14);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.ai-output-card strong {
  color: var(--blue-deep);
}

.ai-output-card p {
  color: var(--muted);
  line-height: 1.5;
}

.ai-output-card::before {
  content: "";
  width: 34px;
  height: 6px;
  border-radius: 8px;
  background: var(--yellow);
}

.pentest-workflow {
  padding: 46px clamp(18px, 5vw, 72px);
  background: #f7fbff;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.workflow-steps article {
  display: grid;
  gap: 10px;
  min-height: 136px;
  padding: 18px;
  border: 1px solid rgba(16, 45, 87, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.workflow-steps strong {
  color: var(--blue-deep);
}

.workflow-steps span {
  color: var(--muted);
  line-height: 1.5;
}

.workflow-steps article::before {
  content: "";
  width: 100%;
  height: 5px;
  border-radius: 8px;
  background: var(--yellow);
}

.compliance-handoff,
.zestcomply-integration {
  padding: 46px clamp(18px, 5vw, 72px);
  background: #ffffff;
  border-top: 4px solid var(--yellow);
}

.zestcomply-card {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(220px, 0.45fr);
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 22px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  box-shadow: 0 18px 50px rgba(4, 24, 52, 0.08);
}

.zestcomply-card h3 {
  margin: 4px 0 8px;
  color: var(--navy);
}

.zestcomply-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.integration-status-panel {
  display: grid;
  justify-items: start;
  gap: 8px;
  padding: 14px;
  border-left: 4px solid var(--yellow);
  background: #ffffff;
}

.integration-status-panel small {
  color: var(--muted);
  line-height: 1.45;
}

.integration-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zestcomply-card .form-note {
  grid-column: 1 / -1;
}

.feature-status {
  padding: 46px clamp(18px, 5vw, 72px);
  background: #f7fbff;
  border-top: 1px solid rgba(16, 45, 87, 0.08);
}

.security-center {
  padding: 46px clamp(18px, 5vw, 72px);
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(6, 22, 45, 0.98), rgba(11, 42, 87, 0.95)),
    var(--navy);
}

.security-center .section-head p,
.security-center .eyebrow {
  color: #d5e4ff;
}

.security-center-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(280px, 0.44fr) minmax(320px, 0.58fr);
  gap: 16px;
  margin-top: 22px;
}

.security-score-card,
.security-status-grid,
.security-recommendations {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px;
  color: var(--ink);
  border: 1px solid rgba(255, 212, 71, 0.32);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.security-score-card {
  justify-items: start;
  background: linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}

.security-score-card small {
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
}

.security-score-card strong {
  color: var(--blue-deep);
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 0.9;
}

.security-score-card span {
  color: var(--muted);
  font-weight: 800;
}

.security-status-grid {
  grid-template-columns: 1fr;
}

.security-status-grid article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(16, 45, 87, 0.1);
  border-radius: 8px;
  background: #f7fbff;
}

.security-status-grid span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.security-status-grid strong {
  color: var(--blue-deep);
}

.security-recommendations h3,
.security-recommendations p {
  margin: 0;
}

.security-recommendations ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.45;
}

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

.roadmap-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: end;
  padding: clamp(28px, 5vw, 52px) clamp(18px, 5vw, 72px) 24px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.roadmap-hero h1 {
  max-width: 900px;
}

.roadmap-summary {
  display: grid;
  gap: 12px;
}

.roadmap-summary span {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.roadmap-summary strong {
  color: var(--blue-deep);
  font-size: 2rem;
}

.roadmap-summary small {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0;
}

.roadmap-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) 46px;
}

.roadmap-card {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 22px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(32, 42, 68, 0.08);
}

.roadmap-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.roadmap-card h2,
.roadmap-card p {
  margin-bottom: 0;
}

.roadmap-items {
  display: grid;
  gap: 10px;
}

.roadmap-items > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 44px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 45, 87, 0.08);
}

.roadmap-items > span:last-child {
  border-bottom: 0;
}

.roadmap-review-card {
  color: #ffffff;
  background: var(--blue-deep);
}

.roadmap-review-card .eyebrow,
.roadmap-review-card p {
  color: rgba(255, 255, 255, 0.78);
}

.roadmap-review-card h2 {
  color: #ffffff;
}

.ai-float-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  min-height: 48px;
  padding: 12px 16px;
  color: var(--blue-deep);
  font-weight: 800;
  border: 0;
  border-radius: 8px;
  background: var(--yellow);
  box-shadow: 0 14px 34px rgba(16, 45, 87, 0.24);
}

.ai-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  gap: 14px;
  width: min(480px, 100vw);
  height: 100vh;
  padding: 18px;
  border-left: 1px solid rgba(16, 45, 87, 0.12);
  background: #ffffff;
  box-shadow: -24px 0 60px rgba(16, 45, 87, 0.18);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.ai-drawer.open {
  transform: translateX(0);
}

.ai-drawer-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.ai-drawer-head h2 {
  margin-bottom: 0;
}

.ai-message-list {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.ai-message {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.5;
  white-space: pre-line;
}

.ai-message.assistant {
  color: var(--ink);
  background: #ffffff;
  border: 1px solid rgba(16, 45, 87, 0.1);
}

.ai-message.user {
  justify-self: end;
  color: var(--blue-deep);
  background: #fff2c2;
}

.ai-prompt-row,
.ai-chat-form {
  display: flex;
  gap: 8px;
}

.ai-command-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ai-command-actions button {
  min-height: 44px;
  padding: 10px;
  color: var(--blue-deep);
  font-weight: 800;
  text-align: left;
  border: 1px solid rgba(16, 45, 87, 0.14);
  border-radius: 8px;
  background: #f8fbff;
}

.ai-command-actions button:hover,
.ai-command-actions button:focus-visible {
  border-color: rgba(30, 99, 255, 0.38);
  background: #eef5ff;
}

.ai-chat-form input {
  min-width: 0;
  flex: 1;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ai-safety-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.ai-command-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: end;
  padding: clamp(42px, 8vw, 86px) clamp(18px, 5vw, 72px) 34px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

.tenant-context-card,
.suggested-prompts,
.command-chat-panel {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.tenant-context-card p,
.tenant-context-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.ai-command-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.36fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px clamp(18px, 5vw, 72px) 56px;
}

.suggested-prompts button {
  min-height: 42px;
  padding: 10px 12px;
  text-align: left;
  color: var(--blue-deep);
  font-weight: 700;
  border: 1px solid rgba(13, 79, 159, 0.18);
  border-radius: 8px;
  background: var(--blue-soft);
}

.command-chat-panel {
  min-height: 560px;
}

.command-history {
  min-height: 360px;
}

.status-board {
  display: grid;
  grid-template-columns: 1.15fr minmax(240px, 0.85fr) minmax(240px, 0.85fr);
  gap: 14px;
}

.status-board > div {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.status-board h3 {
  margin: 0;
  color: var(--blue-deep);
}

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

.status-list > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(16, 45, 87, 0.08);
}

.status-list > span:last-child {
  border-bottom: 0;
}

.comply-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.comply-grid article {
  display: grid;
  gap: 10px;
  min-height: 128px;
  padding: 18px;
  border: 1px solid rgba(16, 45, 87, 0.14);
  border-radius: 8px;
  background: #f7fbff;
}

.comply-grid strong {
  color: var(--blue-deep);
}

.comply-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.comply-grid article::before {
  content: "";
  width: 36px;
  height: 6px;
  border-radius: 8px;
  background: var(--yellow);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover {
  color: var(--blue-deep);
  text-decoration: underline;
}

.customer-admin {
  padding: 46px clamp(18px, 5vw, 72px);
  background: var(--navy);
  color: #ffffff;
}

.customer-admin .section-head p,
.customer-admin .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-grid article {
  display: grid;
  gap: 10px;
  min-height: 146px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.admin-grid article::before {
  content: "";
  width: 38px;
  height: 6px;
  border-radius: 8px;
  background: var(--yellow);
}

.admin-grid strong {
  color: #ffffff;
}

.admin-grid span {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.container-security {
  padding: 46px clamp(18px, 5vw, 72px);
  background: var(--blue-deep);
  color: #ffffff;
}

.container-security .section-head p,
.container-security .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.container-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr) minmax(260px, 0.8fr);
  gap: 14px;
}

.image-inventory,
.cluster-posture,
.runtime-panel {
  display: grid;
  gap: 14px;
  align-content: start;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.image-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.image-row span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.cluster-list,
.runtime-metrics {
  display: grid;
  gap: 10px;
}

.cluster-list span,
.runtime-metrics span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  color: var(--blue-deep);
  background: #ffffff;
  font-weight: 800;
}

.cluster-list small {
  color: var(--muted);
  font-weight: 400;
}

.runtime-panel p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

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

.difference-grid article {
  display: grid;
  gap: 8px;
  min-height: 134px;
  padding: 18px;
}

.roadmap-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: roadmap;
}

.roadmap-list li {
  display: grid;
  gap: 8px;
  min-height: 140px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  counter-increment: roadmap;
}

.roadmap-list li::before {
  content: counter(roadmap);
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--blue-deep);
  border-radius: 8px;
  background: var(--yellow);
  font-weight: 800;
}

.readiness {
  align-items: stretch;
  flex-direction: column;
}

.readiness-grid {
  margin-top: 22px;
}

.readiness-card {
  display: grid;
  gap: 11px;
  align-content: start;
  min-height: 224px;
  padding: 18px;
}

.readiness-card.active {
  border-color: var(--yellow);
  box-shadow: inset 0 0 0 2px rgba(246, 196, 69, 0.22);
}

.readiness-card.passed {
  border-color: var(--blue);
  background: #f8fbff;
}

.step-label {
  display: grid;
  place-items: center;
  width: 36px;
  height: 30px;
  color: var(--blue-deep);
  border-radius: 8px;
  background: var(--yellow);
  font-weight: 800;
}

.readiness-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.launch-status {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(13, 79, 159, 0.24);
  border-radius: 8px;
  background: var(--blue-soft);
}

.launch-status span {
  color: #40516b;
}

.signin-strip {
  justify-content: flex-start;
  color: #fff;
  background: var(--blue-deep);
}

.signin-strip span {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 1080px) {
  .topbar {
    flex-wrap: wrap;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
  }

  .main-nav a {
    text-align: center;
    background: rgba(219, 234, 254, 0.58);
  }

  .hero,
  .roadmap-hero,
  .ai-command-hero,
  .ai-command-layout,
  .workspace,
  .code-grid,
  .ai-grid,
  .module-grid,
  .roadmap-module-grid,
  .status-board,
  .workflow-steps,
  .comply-grid,
  .zestcomply-card,
  .security-center-shell,
  .admin-grid,
  .admin-groups,
  .connector-card-grid,
  .customer-guidance-panel,
  .container-grid {
    grid-template-columns: 1fr;
  }

  .product-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-demo-grid,
  .ai-grid,
  .difference-grid,
  .readiness-grid,
  .roadmap-list,
  .wizard-steps,
  .selectable-list,
  .onboarding-security-checklist ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .onboarding,
  .section-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 68px;
  }

  .top-actions,
  .toolbar-actions,
  .asset-graph-head,
  .ai-prompt-row,
  .ai-chat-form,
  .module-quick-link,
  .contact-form,
  .announcement,
  .contact-band,
  .console-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .product-rail,
  .roadmap-page-grid,
  .ai-command-layout,
  .insight-grid,
  .sidebar,
  .integration-list div,
  .code-grid,
  .ai-grid,
  .module-grid,
  .roadmap-module-grid,
  .status-board,
  .workflow-steps,
  .comply-grid,
  .security-center-shell,
  .admin-grid,
  .admin-groups,
  .connector-card-grid,
  .customer-guidance-panel,
  .container-grid,
  .difference-grid,
  .readiness-grid,
  .roadmap-list,
  .wizard-steps,
  .wizard-grid.two,
  .selectable-list,
  .contact-demo-grid,
  .module-checkboxes,
  .onboarding-security-checklist ul,
  .signup-form {
    grid-template-columns: 1fr;
  }

  .wizard-progress,
  .wizard-actions,
  .launch-summary span {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box input,
  .contact-form input,
  .contact-form select {
    width: 100%;
  }
}

/* Pilot-ready enterprise SaaS shell */
:root {
  --gold: var(--yellow);
}

body.enterprise-shell {
  min-height: 100vh;
  background: #06162d;
}

.enterprise-shell .demo-banner {
  position: sticky;
  top: 0;
  z-index: 60;
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
  background: #eef4fb;
}

.side-nav {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 22px;
  height: 100vh;
  padding: 18px 16px;
  color: #ffffff;
  background: #06162d;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
}

.sidebar-brand {
  min-width: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-brand .brand-logo {
  width: 52px;
  height: 42px;
}

.sidebar-menu {
  display: grid;
  gap: 8px;
  align-content: start;
}

.sidebar-menu a,
.sidebar-menu summary {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 11px;
  color: #d8e7ff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.sidebar-menu a:hover,
.sidebar-menu a:focus-visible,
.sidebar-menu a.active,
.sidebar-brand.active,
.sidebar-menu summary:hover,
.sidebar-menu summary:focus-visible {
  color: #ffffff;
  background: rgba(23, 104, 255, 0.18);
  outline: 0;
}

.sidebar-menu a.active,
.sidebar-brand.active {
  box-shadow: inset 3px 0 0 var(--yellow);
}

.sidebar-menu details {
  display: grid;
  gap: 4px;
}

.sidebar-menu details a {
  min-height: 34px;
  margin-left: 12px;
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  font-weight: 700;
}

.sidebar-menu summary {
  cursor: pointer;
  list-style: none;
}

.sidebar-menu summary::-webkit-details-marker {
  display: none;
}

.sidebar-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.sidebar-menu details[open] summary::after {
  transform: rotate(225deg);
}

.sidebar-footer {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer .simple-status {
  color: #ffffff;
}

.app-main {
  display: grid;
  gap: 18px;
  align-content: start;
  min-width: 0;
  padding: 24px clamp(18px, 3vw, 38px) 44px;
  scroll-behavior: smooth;
}

.workspace-command-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0 0 2px;
}

.command-search-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(760px, 100%);
  min-height: 46px;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(16, 45, 87, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--muted);
  box-shadow: 0 12px 28px rgba(16, 45, 87, 0.08);
  text-align: left;
}

.command-search-trigger span {
  font-weight: 800;
}

.command-search-trigger kbd {
  padding: 4px 8px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 7px;
  background: #f8fbff;
  color: var(--blue-deep);
  font-size: 0.72rem;
  font-weight: 900;
}

.command-search-modal[hidden] {
  display: none;
}

.command-search-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  padding: 7vh 18px 24px;
}

.command-search-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 31, 0.68);
  backdrop-filter: blur(5px);
}

.command-search-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(1040px, 100%);
  max-height: 86vh;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.34);
}

.command-search-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  padding: 18px 18px 0;
}

.command-search-input-wrap {
  display: grid;
  gap: 8px;
}

.command-search-input-wrap span,
.command-result-group h3 {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.command-search-input-wrap input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(16, 45, 87, 0.16);
  border-radius: 12px;
  background: #f8fbff;
  color: var(--blue-deep);
  font-size: 1rem;
  font-weight: 800;
}

.command-search-body {
  display: grid;
  grid-template-columns: minmax(220px, 0.28fr) minmax(0, 1fr);
  gap: 16px;
  min-height: 420px;
  overflow: hidden;
  padding: 0 18px;
}

.command-search-sidebar,
.command-search-results {
  overflow: auto;
  padding-right: 4px;
}

.command-search-sidebar {
  display: grid;
  align-content: start;
  gap: 16px;
}

.command-chip-list {
  display: grid;
  gap: 8px;
}

.command-chip-list button,
.command-chip-list span {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 9px;
  background: #f8fbff;
  color: var(--blue-deep);
  font-weight: 800;
  text-align: left;
}

.command-search-results {
  display: grid;
  align-content: start;
  gap: 16px;
}

.command-result-group {
  display: grid;
  gap: 10px;
}

.command-result-group h3 {
  margin: 0;
}

.command-result-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(16, 45, 87, 0.05);
}

.command-result-row div:first-child {
  display: grid;
  gap: 4px;
}

.command-result-row strong {
  color: var(--blue-deep);
}

.command-result-row span {
  color: var(--muted);
  line-height: 1.45;
}

.command-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: 430px;
}

.command-search-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 18px 18px;
  border-top: 1px solid rgba(16, 45, 87, 0.08);
}

.page-section {
  display: none;
}

.page-section.active {
  display: grid;
  gap: 18px;
}

.page-section[hidden] {
  display: none !important;
}

.page-hero,
.content-panel {
  border: 1px solid rgba(16, 45, 87, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(16, 45, 87, 0.08);
}

.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
}

.page-hero h1 {
  max-width: 720px;
  margin-bottom: 10px;
  color: var(--blue-deep);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.05;
}

.page-hero p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.page-hero .hero-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.content-panel {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.content-panel.security-center {
  color: var(--ink);
  background: #ffffff;
}

.content-panel.security-center .section-head p,
.content-panel.security-center .eyebrow {
  color: var(--muted);
}

.content-panel .section-head h2,
.content-panel .console-toolbar h2 {
  color: var(--blue-deep);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

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

.overview-grid .insight-card {
  min-height: 126px;
  background: #f7fbff;
}

.overview-grid .insight-card strong {
  color: var(--blue-deep);
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.overview-grid .action-card {
  align-content: space-between;
}

.overview-grid .action-card strong {
  font-size: 1.1rem;
}

.overview-grid .action-card button {
  justify-self: start;
}

.customer-guidance-panel {
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  box-shadow: none;
}

.customer-guidance-panel > div {
  display: grid;
  gap: 6px;
}

.customer-guidance-panel > div strong {
  color: var(--blue-deep);
  font-size: 1.05rem;
}

.customer-guidance-panel > div p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.connector-card-grid,
.admin-groups {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.connector-card-grid article,
.admin-groups details {
  min-height: 160px;
  background: #fbfdff;
}

.connector-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.connector-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.provider-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.connector-future-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(16, 45, 87, 0.08);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.86);
}

.connector-future-stats div {
  display: grid;
  gap: 3px;
}

.connector-future-stats dt {
  color: var(--muted);
  font-size: 0.72rem;
}

.connector-future-stats dd {
  margin: 0;
  color: var(--blue-deep);
  font-size: 0.86rem;
  font-weight: 800;
}

.products-workloads-panel {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 45, 87, 0.1);
}

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

.product-workload-grid article {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 45, 87, 0.06);
}

.product-workload-grid strong {
  color: var(--blue-deep);
  font-size: 1.05rem;
}

.product-workload-grid span {
  color: var(--muted);
  line-height: 1.55;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.asset-summary-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.asset-intelligence-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) repeat(3, minmax(150px, 0.22fr));
  gap: 12px;
  margin: 18px 0;
}

.asset-intelligence-controls select {
  min-height: 44px;
  border: 1px solid rgba(16, 45, 87, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue-deep);
  font-weight: 700;
  padding: 0 12px;
}

.asset-intelligence-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 18px;
}

.asset-profile-list {
  display: grid;
  align-content: start;
  gap: 12px;
}

.asset-profile-card {
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 16px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue-deep);
  text-align: left;
  box-shadow: 0 10px 22px rgba(16, 45, 87, 0.05);
  cursor: pointer;
}

.asset-profile-card:hover,
.asset-profile-card:focus-visible {
  border-color: rgba(37, 99, 235, 0.42);
  outline: none;
}

.asset-profile-card span,
.asset-profile-card small,
.asset-profile-card em {
  color: var(--muted);
  font-style: normal;
}

.asset-profile-card strong {
  font-size: 1rem;
}

.asset-detail-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 520px;
  padding: 20px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 45, 87, 0.06);
}

.asset-detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.asset-detail-head h3,
.asset-detail-head p {
  margin: 0;
}

.asset-detail-head > strong {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.1);
  color: var(--blue);
  font-size: 1.35rem;
}

.asset-tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.asset-tab-list button {
  border: 1px solid rgba(16, 45, 87, 0.14);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--blue-deep);
  font-weight: 800;
  padding: 9px 12px;
}

.asset-tab-list button.active {
  border-color: var(--gold);
  background: var(--gold);
  color: #111827;
}

.asset-profile-facts,
.relationship-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.asset-profile-facts article,
.relationship-card-grid article {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(16, 45, 87, 0.1);
  border-radius: 8px;
  background: #f8fbff;
}

.asset-profile-facts small,
.relationship-card-grid span {
  color: var(--muted);
}

.asset-json {
  max-height: 320px;
  overflow: auto;
  padding: 14px;
  border-radius: 8px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.82rem;
}

.posture-page {
  display: grid;
  gap: 22px;
}

.posture-hero {
  background: linear-gradient(135deg, rgba(10, 24, 49, 0.96), rgba(16, 45, 87, 0.94));
  color: #ffffff;
}

.posture-hero p,
.posture-hero .eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.posture-shell {
  display: grid;
  gap: 18px;
}

.posture-score-card,
.posture-panel,
.domain-score-grid article,
.posture-card-grid article {
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 45, 87, 0.07);
}

.posture-score-card {
  display: grid;
  grid-template-columns: auto minmax(0, 0.45fr) minmax(280px, 1fr);
  align-items: center;
  gap: 20px;
  padding: 24px;
}

.posture-score-card strong {
  display: block;
  color: var(--blue-deep);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 0.9;
}

.posture-score-card span {
  display: inline-flex;
  margin-top: 8px;
  color: var(--blue);
  font-weight: 900;
}

.posture-score-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.digital-pulse {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #facc15;
  box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.42);
  animation: posturePulse 2.8s ease-out infinite;
}

.digital-pulse.healthy {
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.35);
}

.digital-pulse.critical {
  background: #dc2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.32);
}

.digital-pulse.attention {
  background: #facc15;
}

@keyframes posturePulse {
  0% { transform: scale(0.96); box-shadow: 0 0 0 0 currentColor; }
  70% { transform: scale(1); box-shadow: 0 0 0 14px rgba(250, 204, 21, 0); }
  100% { transform: scale(0.96); box-shadow: 0 0 0 0 rgba(250, 204, 21, 0); }
}

.domain-score-grid,
.posture-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.executive-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.executive-dashboard-card {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow: 0 16px 34px rgba(16, 45, 87, 0.08);
}

.executive-dashboard-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), rgba(37, 99, 235, 0.08));
}

.executive-dashboard-card.emphasis {
  background:
    linear-gradient(135deg, rgba(10, 24, 49, 0.98), rgba(18, 55, 105, 0.96));
  color: #ffffff;
}

.executive-dashboard-card.warning::after {
  background: linear-gradient(90deg, var(--gold), rgba(250, 204, 21, 0.12));
}

.executive-dashboard-card small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.executive-dashboard-card.emphasis small,
.executive-dashboard-card.emphasis span {
  color: rgba(255, 255, 255, 0.72);
}

.executive-dashboard-card strong {
  color: var(--blue-deep);
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.05;
}

.executive-dashboard-card.emphasis strong {
  color: #ffffff;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

.executive-dashboard-card span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.35;
}

.domain-score-grid article,
.posture-card-grid article {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.domain-score-grid span,
.posture-card-grid small {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.domain-score-grid strong,
.posture-card-grid strong {
  color: var(--blue-deep);
  font-size: 1.55rem;
}

.domain-score-grid meter,
.risk-breakdown-bars meter {
  width: 100%;
  height: 10px;
}

.posture-detail-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(300px, 1fr);
  gap: 18px;
}

.posture-panel {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: 20px;
}

.executive-ai-summary {
  grid-column: 1 / -1;
}

.risk-breakdown-bars {
  display: grid;
  gap: 12px;
}

.risk-breakdown-bars > div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 10px;
}

.risk-breakdown-bars span,
.risk-breakdown-bars strong {
  color: var(--blue-deep);
  font-weight: 900;
}

.posture-activity-stream {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.posture-activity-stream li {
  display: grid;
  gap: 4px;
  padding-left: 14px;
  border-left: 3px solid var(--blue);
}

.posture-activity-stream strong {
  color: var(--blue-deep);
}

.posture-activity-stream span,
.executive-ai-summary p {
  color: var(--muted);
  line-height: 1.55;
}

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

.executive-list-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid rgba(16, 45, 87, 0.1);
  border-left: 4px solid var(--blue);
  border-radius: 10px;
  background: #f8fbff;
}

.executive-list-item.critical {
  border-left-color: #dc2626;
  background: #fff7f7;
}

.executive-list-item.high {
  border-left-color: #ea580c;
  background: #fff8f2;
}

.executive-list-item.medium {
  border-left-color: var(--gold);
  background: #fffbea;
}

.executive-list-item.low,
.executive-list-item.info {
  border-left-color: var(--blue);
}

.executive-list-item strong {
  color: var(--blue-deep);
  font-size: 0.95rem;
}

.executive-list-item span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.recommendation-list .executive-list-item {
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}

@media (prefers-reduced-motion: reduce) {
  .digital-pulse {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .executive-dashboard-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .executive-dashboard-card {
    min-height: 0;
  }
}

.connector-detail-card {
  display: grid;
  gap: 12px;
  align-content: start;
  max-width: 760px;
  padding: 22px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #fbfdff;
}

.connector-detail-card strong {
  color: var(--blue-deep);
  font-size: 1.15rem;
}

.connector-detail-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.connector-detail-card button {
  justify-self: start;
}

.connector-inventory-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 12px 26px rgba(16, 45, 87, 0.06);
}

.connector-inventory-header h2,
.connector-inventory-header p {
  margin: 0;
}

.connector-inventory-header p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.55;
}

.connector-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 260px;
}

.health-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  background: #ffffff;
  color: var(--blue-deep);
  font-size: 0.82rem;
  font-weight: 800;
}

.health-indicator::before,
.health-dot {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
}

.health-indicator.pending::before,
.health-dot.neutral {
  background: #94a3b8;
}

.health-indicator.connected::before,
.health-dot.connected {
  background: #16a34a;
}

.asset-inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.asset-inventory-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-content: start;
  min-height: 150px;
  padding: 18px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 45, 87, 0.05);
}

.asset-inventory-grid strong,
.asset-inventory-grid small,
.asset-inventory-grid p {
  grid-column: 2;
}

.asset-inventory-grid strong {
  color: var(--blue-deep);
  font-size: 1rem;
}

.asset-inventory-grid small {
  color: var(--blue);
  font-weight: 800;
}

.asset-inventory-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.enterprise-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 18px;
}

.workspace-card,
.connector-metrics-grid article,
.summary-card-row article,
.scanner-card-grid article,
.report-card-grid article,
.severity-groups article {
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 45, 87, 0.06);
}

.workspace-card {
  display: grid;
  gap: 16px;
  padding: 20px;
}

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

.section-card-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 45, 87, 0.06);
}

.section-card-grid strong {
  color: var(--blue-deep);
  font-size: 1.05rem;
}

.section-card-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.section-card-grid button {
  align-self: end;
  justify-self: start;
}

.card-title-row,
.page-titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.card-title-row h3,
.page-titlebar h2 {
  margin-bottom: 0;
}

.page-titlebar p {
  max-width: 680px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.activity-list li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #f7fbff;
}

.activity-list span,
.recommendation-copy {
  color: var(--muted);
  line-height: 1.55;
}

.summary-card-row,
.connector-metrics-grid,
.scanner-card-grid,
.report-card-grid,
.severity-groups,
.ai-starter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

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

.scanner-card-grid,
.report-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.summary-card-row article,
.connector-metrics-grid article,
.severity-groups article {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.summary-card-row small,
.connector-metrics-grid small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.summary-card-row strong,
.connector-metrics-grid strong {
  color: var(--blue-deep);
  font-size: 1.45rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.professional-table th,
.professional-table td {
  white-space: nowrap;
}

.scanner-card-grid article,
.report-card-grid article {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 210px;
  padding: 18px;
}

.scanner-card-grid strong,
.report-card-grid strong,
.severity-groups strong {
  color: var(--blue-deep);
  font-size: 1.08rem;
}

.scanner-card-grid span,
.report-card-grid span,
.scanner-card-grid small {
  color: var(--muted);
  line-height: 1.45;
}

.scanner-card-grid button,
.report-card-grid button {
  align-self: end;
  justify-self: start;
}

.executive-report-cover {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, 0.6fr);
  gap: 20px;
  align-items: start;
  padding: 22px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 34px rgba(16, 45, 87, 0.08);
}

.executive-report-cover img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
}

.executive-report-cover h3,
.executive-report-cover p {
  margin: 0;
}

.executive-report-cover p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.55;
}

.executive-report-cover dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.executive-report-cover dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(16, 45, 87, 0.08);
}

.executive-report-cover dt,
.report-section-grid span,
.report-score-grid small,
.executive-kpi-grid small,
.report-trend-grid small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.executive-report-cover dd {
  margin: 0;
  color: var(--blue-deep);
  font-weight: 900;
  text-align: right;
}

.executive-kpi-grid,
.report-score-grid,
.report-template-grid,
.report-export-grid,
.report-trend-grid {
  display: grid;
  gap: 12px;
}

.executive-kpi-grid,
.report-score-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.report-template-grid,
.report-export-grid,
.report-trend-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.executive-kpi-grid article,
.report-score-grid article,
.report-template-grid article,
.report-export-grid article,
.report-trend-grid article,
.report-panel {
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 45, 87, 0.06);
}

.executive-kpi-grid article,
.report-score-grid article,
.report-template-grid article,
.report-export-grid article,
.report-trend-grid article {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 16px;
}

.executive-kpi-grid strong,
.report-score-grid strong,
.report-trend-grid strong {
  color: var(--blue-deep);
  font-size: 1.45rem;
}

.report-template-grid strong,
.report-export-grid strong {
  color: var(--blue-deep);
}

.report-template-grid span,
.report-export-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.executive-report-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.48fr);
  gap: 18px;
}

.report-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.report-severity-bars {
  display: grid;
  gap: 12px;
}

.report-severity-bars > div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 42px;
  gap: 10px;
  align-items: center;
}

.report-severity-bars span,
.report-severity-bars strong {
  color: var(--blue-deep);
  font-weight: 900;
}

.report-severity-bars meter {
  width: 100%;
  height: 10px;
}

.report-section-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.report-section-grid span {
  display: inline-flex;
  padding: 9px 11px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 999px;
  background: #f8fbff;
  color: var(--blue-deep);
}

.compact-button {
  min-height: 34px;
  padding: 0 10px;
}

.severity-groups article {
  min-height: 96px;
}

.severity-groups .critical {
  border-top: 4px solid var(--blue-deep);
}

.severity-groups .high {
  border-top: 4px solid var(--yellow);
}

.severity-groups .medium {
  border-top: 4px solid var(--blue);
}

.severity-groups .low {
  border-top: 4px solid #9fb0c6;
}

.ai-starter-grid button {
  min-height: 54px;
  padding: 12px;
  color: var(--blue-deep);
  font-weight: 800;
  text-align: left;
  border: 1px solid rgba(16, 45, 87, 0.14);
  border-radius: 8px;
  background: #f7fbff;
}

.table-wrap {
  border-color: rgba(16, 45, 87, 0.12);
}

.ai-assistant-section .ai-drawer.embedded-ai {
  position: static;
  z-index: auto;
  width: 100%;
  height: auto;
  min-height: 560px;
  padding: 0;
  border: 0;
  box-shadow: none;
  transform: none;
  transition: none;
  grid-template-rows: auto auto minmax(240px, 1fr) auto auto;
}

.ai-assistant-section .close-ai-button {
  display: none;
}

.ai-assistant-section .ai-message-list {
  min-height: 260px;
}

.investigation-workspace {
  display: grid;
  grid-template-columns: minmax(220px, 0.24fr) minmax(0, 1fr) minmax(260px, 0.28fr);
  gap: 18px;
  align-items: start;
}

.investigation-sidebar,
.investigation-context-panel,
.incident-timeline-panel,
.ai-response-card-grid article {
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 12px 26px rgba(16, 45, 87, 0.06);
}

.investigation-sidebar,
.investigation-context-panel {
  display: grid;
  gap: 16px;
  padding: 16px;
}

.investigation-sidebar section,
.investigation-context-panel section {
  display: grid;
  gap: 10px;
}

.investigation-list,
.suggested-prompt-list,
.investigation-action-grid,
.context-chip-list {
  display: grid;
  gap: 8px;
}

.investigation-list button,
.suggested-prompt-list button {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--blue-deep);
  font-weight: 800;
  text-align: left;
}

.suggested-prompt-list button:hover,
.investigation-list button:hover {
  border-color: rgba(37, 99, 235, 0.42);
  background: #eef5ff;
}

.investigation-center {
  display: grid;
  gap: 18px;
}

.ai-response-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 2px;
}

.ai-response-card-grid article {
  display: grid;
  gap: 6px;
  padding: 14px;
  box-shadow: none;
}

.ai-response-card-grid small,
.context-stat span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ai-response-card-grid span,
.context-chip-list span {
  color: var(--blue-deep);
  line-height: 1.45;
}

.context-stat {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(16, 45, 87, 0.1);
  border-radius: 8px;
  background: #f8fbff;
}

.context-stat strong {
  color: var(--blue-deep);
}

.context-chip-list span {
  display: inline-flex;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eef5ff;
  font-size: 0.82rem;
  font-weight: 800;
}

.investigation-action-grid {
  grid-template-columns: 1fr;
}

.incident-timeline-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.incident-timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: timeline;
}

.incident-timeline li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 0 0 18px 30px;
  border-left: 2px solid rgba(37, 99, 235, 0.2);
}

.incident-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
}

.incident-timeline strong {
  color: var(--blue-deep);
}

.incident-timeline span {
  color: var(--muted);
  line-height: 1.45;
}

.attack-path-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.34fr);
  gap: 18px;
  align-items: start;
}

.attack-graph-panel,
.attack-ai-panel,
.attack-path-card {
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 45, 87, 0.07);
}

.attack-graph-panel,
.attack-ai-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.attack-path-graph {
  display: flex;
  align-items: stretch;
  gap: 10px;
  min-height: 210px;
  overflow-x: auto;
  padding: 18px;
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.attack-node {
  display: grid;
  gap: 7px;
  min-width: 160px;
  align-content: start;
  padding: 14px;
  border: 1px solid rgba(16, 45, 87, 0.14);
  border-top: 4px solid var(--blue);
  border-radius: 10px;
  background: #ffffff;
}

.attack-node small,
.attack-path-card dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.attack-node strong,
.attack-path-card h3 {
  color: var(--blue-deep);
}

.attack-node span,
.attack-path-card dd,
.attack-ai-panel p {
  color: var(--muted);
  line-height: 1.45;
}

.attack-edge {
  display: grid;
  place-items: center;
  min-width: 34px;
  color: var(--blue);
  font-weight: 900;
}

.attack-empty-state {
  display: grid;
  place-content: center;
  gap: 8px;
  width: 100%;
  min-height: 170px;
  text-align: center;
}

.attack-empty-state strong {
  color: var(--blue-deep);
  font-size: 1.05rem;
}

.attack-empty-state span {
  color: var(--muted);
}

.attack-path-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.attack-path-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-left: 5px solid var(--blue);
}

.attack-path-card.critical {
  border-left-color: #dc2626;
}

.attack-path-card.high {
  border-left-color: #f97316;
}

.attack-path-card.medium {
  border-left-color: #facc15;
}

.attack-path-card.empty {
  grid-column: 1 / -1;
  text-align: center;
}

.attack-path-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.attack-path-card dd {
  margin: 0 0 4px;
}

.attack-action-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.monitoring-page {
  display: grid;
  gap: 18px;
}

.monitoring-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.monitoring-summary-grid article,
.monitoring-panel,
.monitoring-connector-card,
.monitoring-trend-grid article,
.monitoring-alert {
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 45, 87, 0.06);
}

.monitoring-summary-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 10px;
  align-content: start;
  min-height: 118px;
  padding: 16px;
}

.monitoring-summary-grid small,
.monitoring-trend-grid small,
.monitoring-connector-card dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.monitoring-summary-grid strong {
  grid-column: 2;
  color: var(--blue-deep);
  font-size: 1.25rem;
}

.health-dot.warning {
  background: #facc15;
}

.health-dot.critical {
  background: #dc2626;
}

.monitoring-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.48fr);
  gap: 18px;
  align-items: start;
}

.monitoring-workspace.secondary {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.monitoring-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

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

.monitoring-connector-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  box-shadow: none;
}

.monitoring-connector-card h4 {
  margin: 0;
  color: var(--blue-deep);
}

.monitoring-connector-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.monitoring-connector-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(16, 45, 87, 0.08);
}

.monitoring-connector-card dd {
  margin: 0;
  color: var(--blue-deep);
  font-weight: 800;
  text-align: right;
}

.schedule-grid {
  display: grid;
  gap: 10px;
}

.schedule-grid label {
  display: grid;
  gap: 6px;
}

.schedule-grid span {
  color: var(--blue-deep);
  font-weight: 900;
}

.schedule-grid select {
  min-height: 42px;
  border: 1px solid rgba(16, 45, 87, 0.16);
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue-deep);
  font-weight: 700;
  padding: 0 10px;
}

.monitoring-range {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.monitoring-trend-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.monitoring-trend-grid article {
  display: grid;
  gap: 8px;
  padding: 14px;
  box-shadow: none;
}

.monitoring-trend-grid strong {
  color: var(--blue-deep);
  font-size: 1.35rem;
}

.monitoring-trend-grid em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.trend-bar {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #e5edf8;
}

.trend-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transition: width 320ms ease;
}

.monitoring-alert-list {
  display: grid;
  gap: 10px;
}

.monitoring-alert {
  display: grid;
  gap: 5px;
  padding: 14px;
  border-left: 5px solid var(--blue);
  box-shadow: none;
}

.monitoring-alert.critical {
  border-left-color: #dc2626;
}

.monitoring-alert.warning {
  border-left-color: #facc15;
}

.monitoring-alert strong {
  color: var(--blue-deep);
}

.monitoring-alert span {
  color: var(--muted);
  line-height: 1.45;
}

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

.ai-float-button {
  display: none;
}

.zestcomply-card {
  margin-top: 0;
  background: #fbfdff;
  box-shadow: none;
}

.zestcomply-center {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.62fr);
  gap: 18px;
  align-items: start;
}

.zestcomply-panel,
.handoff-preview-grid article,
.handoff-package-grid article,
.handoff-destination-grid article,
.import-stat-grid article,
.ai-validation-list article {
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(16, 45, 87, 0.06);
}

.zestcomply-panel {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.zestcomply-status-grid,
.handoff-preview-grid,
.handoff-package-grid,
.handoff-destination-grid,
.import-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.zestcomply-status-grid article,
.handoff-preview-grid article,
.import-stat-grid article {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.handoff-package-grid article,
.handoff-destination-grid article {
  display: grid;
  gap: 8px;
  align-content: start;
  padding: 14px;
  box-shadow: none;
}

.zestcomply-status-grid small,
.handoff-preview-grid small,
.import-stat-grid small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.zestcomply-status-grid strong,
.handoff-preview-grid strong,
.handoff-package-grid strong,
.handoff-destination-grid strong,
.import-stat-grid strong,
.handoff-progress-list strong,
.ai-validation-list strong {
  color: var(--blue-deep);
}

.handoff-package-grid span,
.handoff-destination-grid span,
.ai-validation-list span {
  color: var(--muted);
  line-height: 1.45;
}

.handoff-progress-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.handoff-progress-list li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 0 0 18px 30px;
  border-left: 2px solid rgba(37, 99, 235, 0.2);
}

.handoff-progress-list li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #94a3b8;
}

.handoff-progress-list li.complete::before {
  background: #16a34a;
}

.handoff-progress-list span {
  color: var(--muted);
}

.ai-validation-list {
  display: grid;
  gap: 10px;
}

.ai-validation-list article {
  display: grid;
  gap: 5px;
  padding: 13px;
  border-left: 5px solid #16a34a;
  box-shadow: none;
}

.ai-validation-list article.validation-warning {
  border-left-color: #facc15;
}

.import-export-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.import-export-status span {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(16, 45, 87, 0.12);
  border-radius: 10px;
  background: #f8fbff;
}

.import-export-status strong {
  color: var(--blue-deep);
}

.import-export-status em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.security-center-shell {
  grid-template-columns: minmax(190px, 0.28fr) minmax(260px, 0.34fr) minmax(320px, 0.48fr);
}

.security-score-card,
.security-status-grid,
.security-recommendations {
  box-shadow: none;
  border-color: rgba(16, 45, 87, 0.12);
}

.primary-button {
  background: var(--yellow);
}

.secondary-button {
  background: #eef5ff;
}

.ghost-button {
  color: var(--blue-deep);
}

.topbar,
.main-nav {
  display: none;
}

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

  .overview-grid,
  .connector-card-grid,
  .section-card-grid,
  .product-workload-grid,
  .asset-summary-row,
  .domain-score-grid,
  .posture-card-grid,
  .posture-detail-grid,
  .investigation-workspace,
  .attack-path-shell,
  .monitoring-summary-grid,
  .monitoring-workspace,
  .monitoring-workspace.secondary,
  .monitoring-connector-grid,
  .monitoring-trend-grid,
  .executive-report-cover,
  .executive-report-layout,
  .executive-kpi-grid,
  .report-score-grid,
  .report-template-grid,
  .report-export-grid,
  .report-trend-grid,
  .zestcomply-center,
  .zestcomply-status-grid,
  .handoff-preview-grid,
  .handoff-package-grid,
  .handoff-destination-grid,
  .import-stat-grid,
  .import-export-status,
  .ai-response-card-grid,
  .asset-intelligence-controls,
  .asset-intelligence-layout,
  .admin-groups,
  .enterprise-two-column,
  .summary-card-row,
  .connector-metrics-grid,
  .asset-inventory-grid,
  .scanner-card-grid,
  .attack-path-card-grid,
  .report-card-grid,
  .severity-groups,
  .ai-starter-grid,
  .security-center-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .page-hero .hero-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 820px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: static;
    height: auto;
    max-height: none;
  }

  .sidebar-menu {
    grid-template-columns: 1fr;
  }

  .app-main {
    padding: 16px;
  }

  .command-search-panel {
    max-height: 92vh;
  }

  .command-search-head,
  .command-search-body,
  .command-result-row {
    grid-template-columns: 1fr;
  }

  .command-result-actions {
    justify-content: flex-start;
    max-width: none;
  }

  .page-hero,
  .content-panel {
    padding: 18px;
  }

  .overview-grid,
  .connector-card-grid,
  .section-card-grid,
  .product-workload-grid,
  .asset-summary-row,
  .domain-score-grid,
  .posture-card-grid,
  .posture-detail-grid,
  .posture-score-card,
  .investigation-workspace,
  .monitoring-summary-grid,
  .monitoring-workspace,
  .monitoring-workspace.secondary,
  .monitoring-connector-grid,
  .monitoring-trend-grid,
  .executive-report-cover,
  .executive-report-layout,
  .executive-kpi-grid,
  .report-score-grid,
  .report-template-grid,
  .report-export-grid,
  .report-trend-grid,
  .zestcomply-center,
  .zestcomply-status-grid,
  .handoff-preview-grid,
  .handoff-package-grid,
  .handoff-destination-grid,
  .import-stat-grid,
  .import-export-status,
  .ai-response-card-grid,
  .asset-intelligence-controls,
  .asset-intelligence-layout,
  .asset-profile-facts,
  .relationship-card-grid,
  .admin-groups,
  .enterprise-two-column,
  .summary-card-row,
  .connector-metrics-grid,
  .asset-inventory-grid,
  .scanner-card-grid,
  .report-card-grid,
  .severity-groups,
  .ai-starter-grid,
  .security-center-shell,
  .wizard-grid.two {
    grid-template-columns: 1fr;
  }

  .console-toolbar,
  .toolbar-actions,
  .section-head,
  .zestcomply-card {
    align-items: stretch;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .ai-command-actions {
    grid-template-columns: 1fr;
  }
}

/* ZestRecon global design system */
html {
  background: var(--zr-bg);
}

body {
  color: var(--zr-text);
  background: var(--zr-gradient-shell);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: var(--zr-bg);
  background: var(--zr-yellow);
}

:focus-visible {
  outline: 0;
  box-shadow: var(--zr-focus);
}

.enterprise-shell .app-shell {
  background:
    radial-gradient(circle at 84% 0%, rgba(23, 104, 255, 0.14), transparent 28rem),
    linear-gradient(180deg, #eef5ff 0%, #f8fbff 100%);
}

.side-nav {
  background: var(--zr-gradient-navy);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 12px 0 34px rgba(4, 13, 31, 0.18);
}

.sidebar-brand,
.sidebar-footer {
  border-color: rgba(255, 255, 255, 0.14);
}

.sidebar-menu a,
.sidebar-menu summary {
  border: 1px solid transparent;
  border-radius: var(--zr-radius-sm);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.sidebar-menu a:hover,
.sidebar-menu a:focus-visible,
.sidebar-menu summary:hover,
.sidebar-menu summary:focus-visible {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(23, 104, 255, 0.2);
  transform: translateX(2px);
}

.sidebar-menu a.active,
.sidebar-brand.active {
  background: rgba(23, 104, 255, 0.24);
  box-shadow: inset 3px 0 0 var(--zr-yellow);
}

.app-main {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0)),
    #eef5ff;
}

.page-hero,
.content-panel,
.workspace-card,
.insight-card,
.product-card,
.connector-card-grid article,
.section-card,
.module-quick-link,
.status-board > div,
.zestcomply-card,
.integration-status-panel,
.security-score-card,
.security-status-grid,
.security-recommendations,
.roadmap-card,
.roadmap-review-card,
.tenant-context-card,
.readiness-card,
.plan-card,
.contact-assurance-card,
.admin-group-card,
.summary-card,
.connector-card,
.asset-profile-card,
.asset-detail-card,
.relationship-card,
.attack-path-card,
.monitoring-card,
.report-template-card,
.report-export-card,
.command-search-panel,
.ai-output-card,
.ai-response-card,
.console-panel,
.wizard-panel,
.modal-panel,
.side-panel {
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius-lg);
  background: var(--zr-gradient-card);
  box-shadow: var(--zr-shadow-sm);
}

.page-hero,
.content-panel,
.workspace-card,
.wizard-panel,
.console-panel {
  padding: clamp(18px, 2.4vw, 28px);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 247, 255, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(23, 104, 255, 0.12), transparent 18rem);
}

.page-hero h1,
.page-hero h2,
.content-panel h2,
.workspace-card h3,
.section-head h2,
.zestcomply-card h3,
.admin-group-card h3 {
  color: var(--zr-text);
  letter-spacing: 0;
}

.eyebrow,
.brand small,
.sidebar small,
.insight-card small,
.workspace-card small,
.summary-card small,
.connector-card small,
.status-board small,
.command-search-input-wrap span,
.command-result-group h3 {
  color: var(--zr-muted);
  letter-spacing: 0.02em;
}

.primary-button,
.secondary-button,
.ghost-button,
.text-button,
.ai-action-button,
.command-result-actions button,
.suggested-prompts button,
.ai-command-actions button,
.connector-card-grid button,
.toolbar-actions button,
.zestcomply-card button,
.wizard-actions button,
button[type="submit"] {
  border-radius: var(--zr-radius-sm);
  transition: transform 140ms ease, box-shadow 140ms ease, background 140ms ease, border-color 140ms ease;
}

.primary-button,
button[type="submit"] {
  color: var(--zr-bg);
  border: 1px solid rgba(168, 117, 0, 0.22);
  background: linear-gradient(180deg, #ffe17a 0%, var(--zr-yellow) 100%);
  box-shadow: 0 12px 26px rgba(255, 212, 71, 0.28);
}

.primary-button:hover,
.primary-button:focus-visible,
button[type="submit"]:hover,
button[type="submit"]:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(255, 212, 71, 0.36);
}

.secondary-button,
.ai-action-button,
.command-result-actions button,
.suggested-prompts button,
.ai-command-actions button {
  color: var(--zr-blue-deep, var(--blue-deep));
  border: 1px solid rgba(23, 104, 255, 0.18);
  background: linear-gradient(180deg, #f8fbff 0%, var(--zr-surface-blue) 100%);
}

.secondary-button:hover,
.secondary-button:focus-visible,
.ai-action-button:hover,
.ai-action-button:focus-visible,
.command-result-actions button:hover,
.command-result-actions button:focus-visible,
.suggested-prompts button:hover,
.suggested-prompts button:focus-visible,
.ai-command-actions button:hover,
.ai-command-actions button:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(23, 104, 255, 0.34);
  box-shadow: 0 10px 22px rgba(23, 104, 255, 0.12);
}

.ghost-button,
.text-button {
  color: var(--zr-blue-strong);
}

input,
select,
textarea,
.command-search-trigger,
.search-box input,
.contact-form input,
.demo-request-form input,
.wizard-panel input,
.command-search-input-wrap input {
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius-sm);
  background: #ffffff;
  color: var(--zr-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

input:focus,
select:focus,
textarea:focus,
.command-search-trigger:focus-visible,
.search-box input:focus,
.contact-form input:focus,
.demo-request-form input:focus,
.wizard-panel input:focus,
.command-search-input-wrap input:focus {
  border-color: rgba(23, 104, 255, 0.48);
  box-shadow: var(--zr-focus);
  outline: 0;
}

label,
.form-note {
  color: var(--zr-muted);
}

.table-wrap,
.mini-table,
.repo-table,
.data-table {
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius);
  background: #ffffff;
  box-shadow: var(--zr-shadow-sm);
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
}

th {
  color: var(--zr-muted);
  background: #f3f7fc;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

td,
th {
  border-bottom: 1px solid rgba(215, 227, 243, 0.82);
}

tbody tr:hover {
  background: #f8fbff;
}

.status-badge,
.feature-status,
.simple-status,
.health-indicator,
.launch-status span,
.status-list > span,
.connector-card-grid em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 28px;
  padding: 5px 10px;
  border: 1px solid var(--zr-border);
  border-radius: 999px;
  color: var(--zr-text);
  background: #ffffff;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.status-badge.connected,
.status-badge.live,
.simple-status.connected,
.health-indicator.healthy,
.launch-status .passed,
.readiness-card.passed {
  color: #075a38;
  border-color: rgba(18, 145, 90, 0.24);
  background: #e8f8f0;
}

.status-badge.ready,
.status-badge.in-progress,
.health-indicator.pending,
.feature-status {
  color: #084b9d;
  border-color: rgba(23, 104, 255, 0.22);
  background: var(--zr-surface-blue);
}

.status-badge.planned,
.status-badge.disabled,
.simple-status,
.connector-card-grid em {
  color: var(--zr-muted);
  background: #f4f7fb;
}

.status-badge.degraded,
.status-badge.review,
.simple-status.issue,
.health-indicator.warning {
  color: #7a4d00;
  border-color: rgba(246, 184, 0, 0.32);
  background: var(--zr-yellow-soft);
}

.status-badge.disabled,
.health-indicator.error {
  color: #991b1b;
  border-color: rgba(220, 38, 38, 0.24);
  background: #fff1f2;
}

.table-empty-state,
.standalone-empty,
.attack-empty-state {
  border: 1px dashed var(--zr-border-strong);
  border-radius: var(--zr-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96)),
    radial-gradient(circle at 100% 0%, rgba(23, 104, 255, 0.08), transparent 14rem);
  color: var(--zr-muted);
}

.table-empty-state strong,
.standalone-empty strong,
.attack-empty-state strong {
  color: var(--zr-text);
}

.command-search-modal,
.ai-chat-drawer,
.modal,
.side-panel {
  color: var(--zr-text);
}

.command-search-backdrop,
.modal-backdrop {
  background: rgba(5, 13, 31, 0.72);
  backdrop-filter: blur(8px);
}

.command-search-panel {
  box-shadow: var(--zr-shadow-lg);
}

.command-result-row,
.command-chip,
.activity-list li,
.timeline-list li,
.status-list > span,
.import-export-status span,
.security-status-grid article {
  border-color: var(--zr-border);
  background: #ffffff;
}

.command-result-row:hover,
.command-chip:hover {
  border-color: rgba(23, 104, 255, 0.24);
  background: #f8fbff;
}

meter,
progress,
.wizard-progress meter,
.progress-bar,
.score-bar,
.trend-bar {
  accent-color: var(--zr-blue);
}

.wizard-progress,
.progress-indicator,
.scan-progress,
.handoff-progress {
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius);
  background: #ffffff;
  box-shadow: var(--zr-shadow-sm);
}

.chart-card,
.trend-chart,
.severity-chart,
.risk-chart,
.report-trend-card {
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius);
  background:
    linear-gradient(90deg, rgba(23, 104, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(23, 104, 255, 0.05) 1px, transparent 1px),
    #ffffff;
  background-size: 22px 22px;
  box-shadow: var(--zr-shadow-sm);
}

.severity-critical,
.risk-critical,
.status-critical {
  color: #991b1b;
}

.severity-high,
.risk-high,
.status-high {
  color: #b45309;
}

.severity-medium,
.risk-medium,
.status-medium {
  color: #7a4d00;
}

.severity-low,
.risk-low,
.status-low {
  color: #075a38;
}

.posture-score-card,
.security-score-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 71, 0.18), transparent 14rem),
    linear-gradient(135deg, #06162d 0%, #09234a 100%);
  color: #ffffff;
}

.posture-score-card small,
.posture-score-card span,
.security-score-card small,
.security-score-card span {
  color: #d8e7ff;
}

.posture-score-card strong,
.security-score-card strong {
  color: #ffffff;
}

.posture-card,
.executive-kpi-card,
.report-score-card,
.monitoring-summary-card,
.asset-summary-card {
  border-top: 3px solid var(--zr-blue);
}

.primary-highlight,
.warning-highlight {
  color: var(--zr-bg);
  background: var(--zr-yellow);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Design system coverage for all current product pages */
.enterprise-shell .app-main {
  background:
    radial-gradient(circle at 92% 0%, rgba(23, 104, 255, 0.2), transparent 26rem),
    linear-gradient(180deg, #071b38 0, #0a2449 220px, #eef5ff 220px, #f8fbff 100%);
}

.page-section {
  color: var(--zr-text);
}

.page-section > .content-panel,
.page-section > .page-hero,
.page-section > .workspace-card,
.page-section > .posture-page,
.page-section > .investigation-center,
.page-section > .attack-path-page,
.page-section > .monitoring-page,
.page-section > .executive-reporting-page,
.page-section > .zestcomply-page,
.page-section > .asset-intelligence-page {
  width: 100%;
}

.hero-actions,
.toolbar-actions,
.console-toolbar,
.section-head,
.card-actions,
.product-actions,
.wizard-actions,
.report-actions,
.handoff-actions,
.asset-actions,
.ai-actions,
.quick-actions {
  gap: var(--zr-space-3);
}

.section-head,
.console-toolbar,
.card-heading,
.repo-table-head,
.connector-card-head,
.asset-detail-head,
.zestcomply-card,
.workspace-card header,
.content-panel header {
  border-color: rgba(215, 227, 243, 0.9);
}

.section-card,
.section-card-grid article,
.admin-groups details,
.summary-card-row article,
.enterprise-two-column article,
.scanner-card-grid article,
.report-card-grid article,
.severity-groups article,
.ai-starter-grid article,
.asset-inventory-grid article,
.connector-metrics-grid article,
.domain-score-grid article,
.posture-panel,
.posture-card-grid article,
.posture-detail-grid article,
.domain-card,
.risk-path-card,
.monitoring-summary-grid article,
.monitoring-workspace article,
.monitoring-workspace.secondary article,
.monitoring-connector-grid article,
.monitoring-trend-grid article,
.executive-kpi-grid article,
.report-score-grid article,
.report-template-grid article,
.report-export-grid article,
.report-trend-grid article,
.handoff-preview-grid article,
.handoff-package-grid article,
.handoff-destination-grid article,
.import-stat-grid article,
.ai-response-card-grid article,
.security-center-shell article,
.wizard-grid article,
.selectable-list label,
.authorization-check,
.launch-status,
.customer-guidance-panel,
.products-workloads-panel,
.product-workload-grid article,
.asset-detail-panel,
.asset-profile-facts article,
.relationship-card-grid article,
.command-chip-list button,
.command-chip-list span,
.activity-list li,
.timeline-list li {
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius);
  background: var(--zr-gradient-card);
  box-shadow: var(--zr-shadow-sm);
}

.section-card-grid article,
.summary-card-row article,
.enterprise-two-column article,
.scanner-card-grid article,
.report-card-grid article,
.severity-groups article,
.ai-starter-grid article,
.asset-inventory-grid article,
.connector-metrics-grid article,
.monitoring-summary-grid article,
.executive-kpi-grid article,
.report-template-grid article,
.report-export-grid article,
.handoff-preview-grid article,
.handoff-package-grid article,
.handoff-destination-grid article,
.import-stat-grid article,
.ai-response-card-grid article,
.security-center-shell article {
  padding: var(--zr-space-5);
}

.section-card-grid article:hover,
.connector-card-grid article:hover,
.product-workload-grid article:hover,
.asset-profile-card:hover,
.report-template-grid article:hover,
.report-export-grid article:hover,
.scanner-card-grid article:hover {
  border-color: rgba(23, 104, 255, 0.32);
  box-shadow: var(--zr-shadow);
}

.onboarding-shell,
.wizard-grid,
.wizard-panel,
.selectable-list,
.setup-checklist,
.security-center-shell,
.admin-groups,
.connector-card-grid,
.asset-intelligence-layout,
.investigation-workspace,
.zestcomply-center,
.executive-report-layout,
.monitoring-workspace,
.attack-path-shell {
  gap: var(--zr-space-5);
}

.wizard-progress,
.setup-checklist,
.security-center-shell,
.login-card,
.auth-card,
.entry-card {
  padding: var(--zr-space-5);
}

.wizard-progress meter,
progress,
meter {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
}

.wizard-progress meter::-webkit-meter-bar {
  border: 0;
  border-radius: 999px;
  background: #e7eef8;
}

.wizard-progress meter::-webkit-meter-optimum-value {
  border-radius: 999px;
  background: linear-gradient(90deg, var(--zr-blue), #4f8cff);
}

.login-card,
.auth-card,
.entry-card,
.contact-form,
.demo-request-form,
.settings-form,
.security-form {
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius-lg);
  background: var(--zr-gradient-card);
  box-shadow: var(--zr-shadow);
}

.contact-form,
.demo-request-form,
.settings-form,
.security-form {
  padding: var(--zr-space-5);
}

textarea,
.contact-form textarea,
.demo-request-form textarea,
.settings-form textarea {
  min-height: 118px;
  padding: 12px 14px;
  resize: vertical;
}

input::placeholder,
textarea::placeholder,
.command-search-trigger {
  color: #7b8aa1;
}

.module-checkboxes label,
.selectable-list label,
.authorization-check,
.checkbox-row {
  color: var(--zr-text);
}

.module-checkboxes input,
.selectable-list input,
.authorization-check input,
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--zr-blue);
}

.connector-card-grid article,
.connector-card,
.connector-future-stats,
.integration-status-panel,
.zestcomply-status-grid article,
.import-export-status span {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.provider-icon {
  color: #ffffff;
  background: linear-gradient(135deg, var(--zr-blue), #4f8cff);
  box-shadow: 0 10px 20px rgba(23, 104, 255, 0.2);
}

.asset-profile-card.active,
.asset-tab-list button.active,
.readiness-card.active {
  border-color: rgba(255, 212, 71, 0.75);
  background: linear-gradient(180deg, #fff8dd, #ffffff);
  box-shadow: 0 14px 30px rgba(255, 212, 71, 0.18);
}

.asset-json,
pre,
code {
  border-radius: var(--zr-radius-sm);
}

pre {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #071426;
  color: #e6f0ff;
}

.ai-conversation,
.ai-context-panel,
.ai-history-panel,
.investigation-left,
.investigation-center-panel,
.investigation-right,
.ai-chat-panel,
.chat-thread,
.evidence-panel,
.finding-panel,
.context-panel {
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius-lg);
  background: var(--zr-gradient-card);
  box-shadow: var(--zr-shadow-sm);
}

.ai-output-card::before,
.zestcomply-card::before,
.workspace-card::before,
.content-panel::before {
  background: linear-gradient(90deg, var(--zr-blue), var(--zr-yellow));
}

.command-search-trigger {
  border-color: rgba(23, 104, 255, 0.18);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--zr-shadow-sm);
}

.command-search-trigger:hover,
.command-search-trigger:focus-visible {
  border-color: rgba(23, 104, 255, 0.42);
  box-shadow: var(--zr-shadow);
}

.command-search-panel,
.modal-panel,
.drawer-panel,
.side-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(23, 104, 255, 0.08), transparent 18rem),
    #ffffff;
}

.command-search-actions,
.command-search-head,
.drawer-header,
.modal-header,
.side-panel-header {
  border-color: var(--zr-border);
}

.table-wrap table,
.mini-table,
.repo-table,
.data-table {
  color: var(--zr-text);
}

.table-wrap th,
.mini-table th,
.repo-table th,
.data-table th {
  position: sticky;
  top: 0;
  z-index: 1;
}

.table-wrap td strong,
.mini-table td strong,
.repo-table td strong,
.data-table td strong {
  color: var(--zr-text);
}

.table-wrap td span,
.mini-table td span,
.repo-table td span,
.data-table td span {
  color: var(--zr-muted);
}

.empty-state-icon,
.table-empty-state::before,
.standalone-empty::before,
.attack-empty-state::before {
  color: var(--zr-blue);
}

.posture-hero {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 71, 0.18), transparent 16rem),
    var(--zr-gradient-navy);
  box-shadow: var(--zr-shadow-lg);
}

.posture-hero h1,
.posture-hero h2,
.posture-hero strong {
  color: #ffffff;
}

.digital-pulse,
.pulse-indicator,
.health-dot {
  box-shadow: 0 0 0 6px rgba(18, 145, 90, 0.1);
}

.digital-pulse.warning,
.pulse-indicator.warning,
.health-dot.warning {
  box-shadow: 0 0 0 6px rgba(255, 212, 71, 0.16);
}

.digital-pulse.critical,
.pulse-indicator.critical,
.health-dot.critical {
  box-shadow: 0 0 0 6px rgba(220, 38, 38, 0.12);
}

.zestcomply-card,
.handoff-preview-grid article,
.handoff-package-grid article,
.handoff-destination-grid article {
  border-top: 3px solid var(--zr-blue);
}

.ai-validation-list article.validation-warning,
.warning-card,
.alert-warning {
  border-color: rgba(255, 212, 71, 0.5);
  background: linear-gradient(180deg, #fff8dd, #ffffff);
}

.danger-card,
.alert-critical,
.validation-error {
  border-color: rgba(220, 38, 38, 0.24);
  background: linear-gradient(180deg, #fff1f2, #ffffff);
}

.success-card,
.alert-success,
.validation-success {
  border-color: rgba(18, 145, 90, 0.24);
  background: linear-gradient(180deg, #e8f8f0, #ffffff);
}

.public-route .app-shell {
  grid-template-columns: 1fr;
}

.app-shell:has(#landing.active),
.app-shell:has(#partner.active),
.app-shell:has(#partner-confirmation.active),
.app-shell:has(#login.active) {
  grid-template-columns: 1fr;
}

.public-route .side-nav,
.public-route .workspace-command-header {
  display: none;
}

.app-shell:has(#landing.active) .side-nav,
.app-shell:has(#landing.active) .workspace-command-header,
.app-shell:has(#partner.active) .side-nav,
.app-shell:has(#partner.active) .workspace-command-header,
.app-shell:has(#partner-confirmation.active) .side-nav,
.app-shell:has(#partner-confirmation.active) .workspace-command-header,
.app-shell:has(#login.active) .side-nav,
.app-shell:has(#login.active) .workspace-command-header {
  display: none;
}

.public-route .app-main {
  min-height: 100vh;
  padding: 0;
  background: var(--zr-gradient-shell);
}

.app-shell:has(#landing.active) .app-main,
.app-shell:has(#partner.active) .app-main,
.app-shell:has(#partner-confirmation.active) .app-main,
.app-shell:has(#login.active) .app-main {
  min-height: 100vh;
  padding: 0;
}

.public-landing,
.login-page {
  min-height: 100vh;
  color: #ffffff;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--zr-space-5);
  padding: 18px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(6, 22, 45, 0.9);
  backdrop-filter: blur(16px);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
}

.landing-brand strong {
  color: #ffffff;
  font-size: 1.05rem;
}

.landing-nav nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-marketing-nav {
  justify-content: flex-end;
}

.landing-menu-button {
  display: none;
  align-items: center;
  gap: 5px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--zr-radius-sm);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font: inherit;
  font-weight: 850;
}

.landing-menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #ffffff;
}

.landing-menu-button strong {
  margin-left: 4px;
  font-size: 0.86rem;
}

.landing-nav nav a:not(.secondary-button) {
  color: #d8e7ff;
  font-weight: 800;
  text-decoration: none;
}

.landing-nav nav a:not(.secondary-button):hover,
.landing-nav nav a:not(.secondary-button):focus-visible {
  color: #ffffff;
}

.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: clamp(58px, 9vw, 104px) clamp(18px, 5vw, 72px);
}

.landing-hero-copy {
  max-width: 860px;
}

.landing-hero h1 {
  max-width: 900px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 0.95;
}

.landing-hero p {
  max-width: 760px;
  color: #d8e7ff;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.landing-hero .eyebrow,
.landing-section .eyebrow {
  color: var(--zr-yellow);
}

.landing-hero-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--zr-radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 71, 0.16), transparent 12rem),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--zr-shadow-lg);
  backdrop-filter: blur(10px);
}

.landing-hero-panel div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--zr-radius);
  background: rgba(255, 255, 255, 0.08);
}

.landing-hero-panel span {
  color: #d8e7ff;
  font-weight: 800;
}

.landing-hero-panel strong {
  color: #ffffff;
}

.landing-section {
  display: grid;
  gap: var(--zr-space-5);
  margin: 0 clamp(18px, 5vw, 72px) clamp(24px, 4vw, 44px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius-lg);
  background: rgba(255, 255, 255, 0.98);
  color: var(--zr-text);
  box-shadow: var(--zr-shadow);
}

.landing-section h2 {
  color: var(--zr-text);
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.landing-section p {
  color: var(--zr-muted);
  line-height: 1.6;
}

.landing-card-grid,
.feature-grid,
.landing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--zr-space-4);
}

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

.landing-card-grid article,
.landing-steps article {
  display: grid;
  gap: 10px;
  padding: var(--zr-space-5);
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius);
  background: var(--zr-gradient-card);
  box-shadow: var(--zr-shadow-sm);
}

.landing-card-grid strong,
.landing-steps strong {
  color: var(--zr-text);
  font-size: 1.05rem;
}

.landing-card-grid span,
.landing-steps p {
  color: var(--zr-muted);
}

.landing-steps article > span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: var(--zr-bg);
  background: var(--zr-yellow);
  font-weight: 900;
}

.coverage-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coverage-strip span {
  padding: 9px 12px;
  border: 1px solid rgba(23, 104, 255, 0.18);
  border-radius: 999px;
  color: var(--zr-blue-strong);
  background: var(--zr-surface-blue);
  font-weight: 900;
}

.zestcomply-landing {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border-top: 4px solid var(--zr-blue);
}

.landing-contact {
  grid-template-columns: minmax(260px, 0.42fr) minmax(320px, 1fr);
  align-items: start;
}

.landing-contact .demo-request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--zr-space-4);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.full-field {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--zr-space-3);
}

.landing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--zr-space-4);
  padding: 28px clamp(18px, 5vw, 72px) 42px;
  color: #d8e7ff;
}

.landing-footer strong,
.landing-footer a {
  color: #ffffff;
}

.login-page {
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vw, 64px);
  background:
    radial-gradient(circle at 80% 0%, rgba(23, 104, 255, 0.3), transparent 30rem),
    var(--zr-gradient-navy);
}

.login-shell {
  display: grid;
  gap: var(--zr-space-5);
  width: min(520px, 100%);
}

.login-card {
  display: grid;
  gap: var(--zr-space-4);
  padding: clamp(24px, 5vw, 36px);
}

.login-card h1 {
  margin-bottom: 10px;
  color: var(--zr-text);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
}

.login-card p {
  color: var(--zr-muted);
  line-height: 1.55;
}

.remember-row,
.login-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--zr-space-3);
}

.login-links a {
  color: var(--zr-blue-strong);
  font-weight: 900;
}

.security-note {
  padding: 12px;
  border: 1px solid rgba(255, 212, 71, 0.42);
  border-radius: var(--zr-radius-sm);
  background: var(--zr-yellow-soft);
}

.partner-page,
.partner-confirmation-page {
  min-height: 100vh;
  color: #ffffff;
  background: var(--zr-gradient-shell);
}

.partner-hero {
  padding: clamp(52px, 8vw, 92px) clamp(18px, 5vw, 72px) clamp(24px, 5vw, 42px);
}

.partner-hero > div {
  max-width: 900px;
}

.partner-hero h1,
.partner-confirmation-card h1 {
  max-width: 920px;
  color: #ffffff;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 0.98;
}

.partner-hero p {
  max-width: 760px;
  color: #d8e7ff;
  font-size: 1.12rem;
  line-height: 1.65;
}

.partner-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--zr-space-5);
}

.partner-form fieldset {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--zr-space-4);
  min-width: 0;
  margin: 0;
  padding: var(--zr-space-5);
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius);
  background: var(--zr-gradient-card);
  box-shadow: var(--zr-shadow-sm);
}

.partner-form legend {
  padding: 0 8px;
  color: var(--zr-text);
  font-weight: 900;
}

.partner-form > label.full-field {
  display: grid;
  gap: 8px;
}

.partner-interest-grid {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.partner-confirmation-page {
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vw, 72px);
}

.partner-confirmation-card {
  display: grid;
  gap: var(--zr-space-5);
  width: min(860px, 100%);
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--zr-radius-lg);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 212, 71, 0.14), transparent 16rem),
    rgba(255, 255, 255, 0.08);
  box-shadow: var(--zr-shadow-lg);
  backdrop-filter: blur(10px);
}

.partner-confirmation-card p:not(.eyebrow) {
  color: #d8e7ff;
  font-size: 1.08rem;
  line-height: 1.65;
}

.notification-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--zr-space-5);
}

.notification-panel,
.report-workflow-panel {
  display: grid;
  gap: var(--zr-space-5);
}

.notification-channel-grid,
.notification-recipient-grid,
.notification-alert-grid {
  display: grid;
  gap: var(--zr-space-3);
}

.notification-channel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.notification-channel-grid label,
.notification-recipient-grid label,
.notification-alert-grid label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--zr-space-3);
  padding: 12px;
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius-sm);
  background: #ffffff;
  color: var(--zr-text);
  font-weight: 800;
}

.notification-channel-grid label span {
  color: var(--zr-muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.notification-frequency {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.report-lifecycle {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-lifecycle li {
  display: grid;
  gap: 6px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius);
  background: #ffffff;
  color: var(--zr-muted);
}

.report-lifecycle li.active {
  border-color: rgba(23, 104, 255, 0.32);
  background: var(--zr-surface-blue);
  color: var(--zr-text);
  box-shadow: var(--zr-shadow-sm);
}

.report-lifecycle strong {
  color: var(--zr-text);
}

.report-workflow-actions,
.comment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--zr-space-3);
}

.report-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--zr-space-4);
}

.report-notes-grid label,
.comment-composer {
  display: grid;
  gap: 8px;
}

.comment-composer {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.report-comment-list {
  display: grid;
  gap: var(--zr-space-3);
}

.report-comment-list article {
  display: grid;
  gap: 8px;
  padding: var(--zr-space-4);
  border: 1px solid var(--zr-border);
  border-radius: var(--zr-radius);
  background: var(--zr-gradient-card);
}

.report-comment-list small {
  color: var(--zr-success);
  font-weight: 800;
}

@media (max-width: 820px) {
  .enterprise-shell .app-main {
    background:
      linear-gradient(180deg, #071b38 0, #0a2449 150px, #eef5ff 150px, #f8fbff 100%);
  }

  .side-nav {
    box-shadow: 0 14px 34px rgba(4, 13, 31, 0.2);
  }

  .page-hero,
  .content-panel,
  .workspace-card,
  .wizard-panel,
  .console-panel,
  .section-card-grid article,
  .connector-card-grid article,
  .admin-groups details {
    border-radius: var(--zr-radius);
  }

  .landing-nav,
  .landing-footer,
  .remember-row,
  .login-links {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-hero,
  .landing-contact,
  .zestcomply-landing,
  .landing-card-grid,
  .feature-grid,
  .landing-steps,
  .landing-contact .demo-request-form,
  .partner-form,
  .partner-form fieldset,
  .partner-interest-grid,
  .notification-admin-grid,
  .notification-channel-grid,
  .notification-alert-grid,
  .notification-frequency,
  .report-lifecycle,
  .report-notes-grid,
  .comment-composer {
    grid-template-columns: 1fr;
  }

  .landing-hero h1 {
    font-size: clamp(2.5rem, 14vw, 4rem);
  }
}

/* Production UI/UX audit improvements */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: var(--zr-radius-sm);
  color: var(--zr-bg);
  background: var(--zr-yellow);
  font-weight: 900;
  text-decoration: none;
  box-shadow: var(--zr-shadow);
}

.skip-link:focus {
  transform: translateY(0);
}

.enterprise-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% -10%, rgba(23, 104, 255, 0.24), transparent 30rem),
    linear-gradient(180deg, #06162d 0, #082144 260px, #eef5ff 260px, #f7faff 100%);
}

.app-shell {
  min-height: 100vh;
}

.workspace-command-header {
  position: sticky;
  top: 0;
  z-index: 18;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding-block: 14px;
  background: linear-gradient(180deg, rgba(238, 245, 255, 0.96), rgba(238, 245, 255, 0.78));
  backdrop-filter: blur(16px);
}

.command-search-trigger {
  max-width: 820px;
  min-height: 46px;
  border-radius: 999px;
}

.command-search-trigger kbd {
  border: 1px solid var(--zr-border);
  border-radius: 7px;
  background: #f4f7fb;
  color: var(--zr-muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.side-nav {
  gap: var(--zr-space-4);
}

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

.sidebar-brand .brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

.sidebar-menu {
  gap: 6px;
}

.sidebar-menu a {
  min-height: 42px;
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.94rem;
  font-weight: 750;
}

.sidebar-menu a.active,
.sidebar-menu a[aria-current="page"] {
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 212, 71, 0.14), rgba(23, 104, 255, 0.28));
}

.sidebar-footer {
  display: grid;
  gap: 10px;
}

.page-section.active {
  animation: pageFadeIn 180ms ease both;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-hero,
.content-panel {
  max-width: 1480px;
  margin-inline: auto;
}

.content-panel {
  display: grid;
  gap: clamp(18px, 2vw, 26px);
}

.section-head,
.page-titlebar,
.console-toolbar,
.card-title-row {
  align-items: flex-start;
}

.section-head h2,
.page-titlebar h2,
.console-toolbar h2,
.page-hero h1,
.page-hero h2 {
  margin-bottom: 8px;
  font-weight: 850;
  line-height: 1.06;
}

.section-head p,
.page-titlebar p,
.page-hero p,
.workspace-card p,
.content-panel p {
  max-width: 74ch;
  line-height: 1.58;
}

.hero-actions,
.toolbar-actions,
.card-actions,
.report-actions,
.handoff-actions,
.ai-actions,
.quick-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.primary-button,
.secondary-button,
.ghost-button,
.text-button,
button[type="submit"] {
  min-height: 42px;
  line-height: 1.1;
}

.primary-button,
.secondary-button,
.ghost-button,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.content-panel,
.workspace-card,
.page-hero,
.posture-panel,
.section-card-grid article,
.connector-card-grid article,
.scanner-card-grid article,
.report-card-grid article,
.admin-group-card,
.zestcomply-card,
.ai-response-card,
.asset-detail-card,
.asset-profile-card {
  position: relative;
}

.content-panel::before,
.workspace-card::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--zr-blue), rgba(23, 104, 255, 0.18), var(--zr-yellow));
  pointer-events: none;
}

.section-card-grid,
.summary-card-row,
.connector-card-grid,
.scanner-card-grid,
.report-card-grid,
.admin-grid,
.admin-groups,
.enterprise-two-column,
.asset-inventory-grid,
.monitoring-summary-grid,
.executive-dashboard-grid,
.domain-score-grid,
.posture-card-grid {
  align-items: stretch;
}

.section-card-grid article,
.summary-card-row article,
.connector-card-grid article,
.scanner-card-grid article,
.report-card-grid article,
.admin-group-card,
.workspace-card,
.posture-panel {
  min-width: 0;
}

.section-card-grid article strong,
.connector-card-grid article strong,
.scanner-card-grid article strong,
.report-card-grid article strong,
.workspace-card h3,
.posture-panel h3 {
  line-height: 1.18;
}

.section-card-grid article span,
.connector-card-grid article span,
.scanner-card-grid article span,
.report-card-grid article span,
.workspace-card p,
.posture-panel p {
  color: var(--zr-muted);
}

.table-wrap {
  max-width: 100%;
}

.table-wrap table,
.mini-table,
.repo-table,
.data-table {
  min-width: 720px;
}

td,
th {
  padding: 13px 14px;
  vertical-align: top;
}

tbody tr:last-child td {
  border-bottom: 0;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
}

textarea {
  line-height: 1.45;
}

.table-empty-state,
.standalone-empty,
.attack-empty-state {
  display: grid;
  gap: 7px;
  min-height: 118px;
  align-content: center;
  justify-items: start;
  padding: 22px;
}

.table-empty-state strong,
.standalone-empty strong,
.attack-empty-state strong {
  font-size: 1rem;
}

.status-badge,
.feature-status,
.simple-status,
.health-indicator {
  white-space: nowrap;
}

.public-landing,
.partner-page,
.partner-confirmation-page,
.login-page {
  min-height: 100vh;
}

.landing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.public-landing > .landing-nav:first-child {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  padding-block: 16px;
}

.public-landing > .landing-nav:first-child .landing-brand {
  min-width: max-content;
}

.public-landing > .landing-nav:first-child .brand-logo {
  width: 58px;
  height: 46px;
}

.public-landing > .landing-nav:first-child .landing-marketing-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(12px, 1.4vw, 22px);
}

.public-landing > .landing-nav:first-child .landing-marketing-nav a {
  padding: 9px 2px;
  line-height: 1.1;
  white-space: nowrap;
}

.public-landing > .landing-nav:first-child .landing-marketing-nav a[href="#partner"] {
  padding: 9px 13px;
  border: 1px solid rgba(255, 212, 71, 0.28);
  border-radius: 999px;
  background: rgba(255, 212, 71, 0.1);
}

.public-landing > .landing-nav:first-child .landing-marketing-nav a[href="#login"] {
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.landing-section,
.landing-hero,
.partner-shell,
.login-shell {
  max-width: 1180px;
  margin-inline: auto;
}

.landing-card-grid article,
.landing-steps article,
.coverage-strip span {
  border: 1px solid rgba(215, 227, 243, 0.24);
  box-shadow: 0 16px 40px rgba(4, 13, 31, 0.16);
}

.login-card {
  max-width: 460px;
}

.command-search-panel {
  overflow: hidden;
}

.command-search-results {
  min-height: 320px;
}

.ai-message,
.chat-thread article,
.conversation-message {
  border-radius: var(--zr-radius);
}

.loading-state,
[aria-busy="true"] {
  cursor: progress;
}

.loading-state::after,
[aria-busy="true"]::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e7eef8, #cfe0f7, #e7eef8);
  background-size: 200% 100%;
  animation: loadingSweep 1.4s ease-in-out infinite;
}

@keyframes loadingSweep {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

@media (max-width: 1180px) {
  .workspace-command-header {
    min-height: 68px;
  }

  .domain-score-grid,
  .posture-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .posture-score-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .posture-score-card > p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .enterprise-shell .app-main {
    background: linear-gradient(180deg, #071b38 0, #0a2449 128px, #eef5ff 128px, #f8fbff 100%);
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .side-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 76px;
    max-height: 148px;
    padding: 10px 14px;
    overflow: hidden;
  }

  .sidebar-brand {
    border-bottom: 0;
    margin: 0;
    padding: 0 10px 0 0;
  }

  .sidebar-brand span {
    display: none;
  }

  .sidebar-menu {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
  }

  .workspace-command-header {
    top: 76px;
    min-height: 64px;
    padding-inline: 14px;
  }

  .command-search-trigger {
    width: 100%;
  }

  .sidebar-menu a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 9px 11px;
    font-size: 0.86rem;
  }

  .sidebar-footer {
    display: none;
  }

  .page-hero,
  .content-panel,
  .workspace-card,
  .wizard-panel,
  .console-panel {
    padding: 18px;
  }

  .hero-actions,
  .toolbar-actions,
  .card-actions,
  .report-actions,
  .handoff-actions,
  .ai-actions,
  .quick-actions {
    align-items: stretch;
  }

  .hero-actions > *,
  .toolbar-actions > *,
  .card-actions > *,
  .report-actions > *,
  .handoff-actions > *,
  .ai-actions > *,
  .quick-actions > * {
    width: 100%;
  }

  .posture-score-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .digital-pulse {
    width: 52px;
    height: 52px;
  }

  .domain-score-grid,
  .posture-card-grid,
  .executive-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .command-search-body {
    grid-template-columns: 1fr;
  }

  .command-search-sidebar {
    order: 2;
  }

  .landing-nav {
    position: static;
  }
}

@media (max-width: 1120px) {
  .public-landing > .landing-nav:first-child {
    grid-template-columns: auto auto;
    justify-content: space-between;
    position: sticky;
  }

  .public-landing > .landing-nav:first-child .landing-menu-button {
    display: inline-flex;
  }

  .public-landing > .landing-nav:first-child .landing-menu-button span {
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .public-landing > .landing-nav:first-child .landing-menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .public-landing > .landing-nav:first-child .landing-menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .public-landing > .landing-nav:first-child .landing-menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .public-landing > .landing-nav:first-child .landing-marketing-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: clamp(14px, 5vw, 72px);
    left: clamp(14px, 5vw, 72px);
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--zr-radius-lg);
    background: rgba(6, 22, 45, 0.98);
    box-shadow: var(--zr-shadow-lg);
  }

  .public-landing > .landing-nav:first-child .landing-marketing-nav.open {
    display: grid;
  }

  .public-landing > .landing-nav:first-child .landing-marketing-nav a {
    padding: 12px 13px;
    border-radius: var(--zr-radius-sm);
    background: rgba(255, 255, 255, 0.06);
  }
}

@media (max-width: 620px) {
  .public-landing > .landing-nav:first-child {
    padding: 12px 14px;
  }

  .public-landing > .landing-nav:first-child .brand-logo {
    width: 44px;
    height: 40px;
  }

  .public-landing > .landing-nav:first-child .landing-brand strong {
    font-size: 0.98rem;
  }

  .public-landing > .landing-nav:first-child .landing-menu-button strong {
    display: none;
  }

  .public-landing > .landing-nav:first-child .landing-marketing-nav {
    left: 12px;
    right: 12px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .brand-logo,
  .sidebar-brand .brand-logo {
    width: 40px;
    height: 40px;
  }

  .landing-hero,
  .landing-section,
  .partner-shell,
  .login-shell {
    padding-inline: 14px;
  }

  .content-panel,
  .workspace-card,
  .page-hero {
    border-radius: 14px;
  }

  td,
  th {
    padding: 11px 12px;
  }
}

@media (max-width: 820px) {
  body.enterprise-shell .app-shell > .side-nav {
    position: sticky;
    top: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    height: auto;
    min-height: 76px;
    max-height: 88px;
    padding: 10px 14px;
    overflow: hidden;
  }

  body.enterprise-shell .side-nav .sidebar-brand {
    margin: 0;
    padding: 0 10px 0 0;
    border: 0;
  }

  body.enterprise-shell .side-nav .sidebar-brand span {
    display: none;
  }

  body.enterprise-shell .side-nav .sidebar-menu {
    display: flex;
    grid-template-columns: none;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    scrollbar-width: thin;
  }

  body.enterprise-shell .side-nav .sidebar-menu a {
    flex: 0 0 auto;
    width: auto;
    min-height: 38px;
    padding: 9px 11px;
    white-space: nowrap;
  }
}

/* Enterprise visual polish: denser security-operations console */
:root {
  --zr-radius-sm: 6px;
  --zr-radius: 10px;
  --zr-radius-lg: 14px;
  --zr-shadow-sm: 0 8px 22px rgba(8, 24, 47, 0.07);
  --zr-shadow: 0 18px 42px rgba(8, 24, 47, 0.1);
  --zr-shadow-lg: 0 26px 70px rgba(5, 13, 31, 0.24);
}

.demo-banner {
  padding-block: 7px;
  font-size: 0.86rem;
  letter-spacing: 0.01em;
}

body.enterprise-shell {
  background:
    radial-gradient(circle at 86% -12%, rgba(23, 104, 255, 0.2), transparent 30rem),
    linear-gradient(180deg, #06162d 0, #071d3d 240px, #eef5ff 240px, #f8fbff 100%);
}

.enterprise-shell .app-main {
  background:
    radial-gradient(circle at 96% 0%, rgba(23, 104, 255, 0.16), transparent 25rem),
    linear-gradient(180deg, #071b38 0, #0a2449 210px, #eef5ff 210px, #f8fbff 100%);
}

.side-nav {
  background:
    linear-gradient(180deg, rgba(7, 31, 68, 0.98), rgba(6, 22, 45, 0.99)),
    var(--zr-gradient-navy);
}

.sidebar-menu a {
  min-height: 40px;
  border-radius: 8px;
}

.sidebar-menu a.active,
.sidebar-menu a[aria-current="page"] {
  box-shadow:
    inset 3px 0 0 var(--zr-yellow),
    0 10px 24px rgba(23, 104, 255, 0.12);
}

.workspace-command-header {
  min-height: 66px;
  padding-block: 10px;
}

.command-search-trigger {
  min-height: 42px;
  max-width: 760px;
}

.page-hero,
.content-panel,
.workspace-card,
.posture-panel,
.connector-card-grid article,
.section-card-grid article,
.scanner-card-grid article,
.report-card-grid article,
.admin-group-card,
.zestcomply-card,
.asset-profile-card,
.asset-detail-card,
.ai-response-card,
.command-search-panel {
  border-color: rgba(185, 203, 227, 0.72);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(8, 24, 47, 0.075);
}

.page-hero,
.content-panel,
.workspace-card,
.wizard-panel,
.console-panel {
  padding: clamp(18px, 2vw, 24px);
}

.page-hero::before,
.content-panel::before,
.workspace-card::before {
  height: 2px;
}

.page-hero h1,
.page-hero h2,
.content-panel h2,
.workspace-card h3,
.posture-panel h3,
.section-head h2 {
  letter-spacing: -0.01em;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 4rem);
}

.page-hero h2,
.content-panel h2,
.section-head h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
}

.workspace-card h3,
.posture-panel h3,
.section-card-grid article strong,
.connector-card-grid article strong,
.scanner-card-grid article strong,
.report-card-grid article strong {
  font-size: clamp(1rem, 1.4vw, 1.18rem);
}

.eyebrow,
.workspace-card small,
.summary-card small,
.connector-card small,
.status-board small,
.executive-dashboard-card small,
.domain-score-grid span,
.posture-card-grid small {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.section-card-grid,
.summary-card-row,
.connector-card-grid,
.scanner-card-grid,
.report-card-grid,
.monitoring-summary-grid,
.executive-dashboard-grid,
.domain-score-grid,
.posture-card-grid {
  gap: 12px;
}

.section-card-grid article,
.summary-card-row article,
.connector-card-grid article,
.scanner-card-grid article,
.report-card-grid article,
.monitoring-summary-grid article,
.executive-dashboard-card,
.domain-score-grid article,
.posture-card-grid article {
  padding: 16px;
}

.executive-dashboard-card {
  min-height: 124px;
}

.executive-dashboard-card strong {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.executive-dashboard-card.emphasis strong {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
}

.posture-score-card {
  gap: 18px;
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: 14px;
}

.posture-score-card strong {
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
}

.digital-pulse {
  width: 62px;
  height: 62px;
}

.primary-button,
.secondary-button,
.ghost-button,
button[type="submit"] {
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 7px;
  font-size: 0.92rem;
}

.primary-button {
  box-shadow: 0 10px 22px rgba(255, 212, 71, 0.22);
}

.secondary-button,
.ai-action-button,
.command-result-actions button,
.suggested-prompts button,
.ai-command-actions button {
  background: linear-gradient(180deg, #ffffff 0%, #eef5ff 100%);
}

.status-badge,
.feature-status,
.simple-status,
.health-indicator,
.launch-status span,
.status-list > span,
.connector-card-grid em {
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
}

.status-badge::before,
.simple-status::before,
.health-indicator::before,
.connector-card-grid em::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.78;
}

.table-wrap,
.mini-table,
.repo-table,
.data-table {
  border-radius: 10px;
}

th {
  background: #f6f9fd;
  font-size: 0.7rem;
}

td,
th {
  padding: 11px 13px;
}

tbody tr {
  transition: background 120ms ease;
}

.table-empty-state,
.standalone-empty,
.attack-empty-state {
  min-height: 104px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(23, 104, 255, 0.06), transparent 13rem);
}

input,
select,
textarea {
  min-height: 40px;
  border-radius: 8px;
}

.landing-nav {
  min-height: 78px;
}

.public-landing > .landing-nav:first-child {
  padding-block: 12px;
}

.public-landing > .landing-nav:first-child .brand-logo {
  width: 52px;
  height: 42px;
}

.landing-hero h1 {
  font-size: clamp(3rem, 7.2vw, 6.1rem);
  letter-spacing: -0.025em;
}

.landing-hero-panel {
  box-shadow: 0 24px 70px rgba(4, 13, 31, 0.28);
}

.command-search-panel,
.modal-panel,
.drawer-panel,
.side-panel {
  border-radius: 16px;
}

.command-result-row,
.command-chip,
.activity-list li,
.timeline-list li,
.executive-list-item {
  border-radius: 9px;
}

@media (min-width: 1181px) {
  .app-main {
    padding: 24px 32px 32px;
  }

  .posture-detail-grid,
  .executive-report-layout,
  .monitoring-workspace,
  .investigation-workspace,
  .asset-intelligence-layout,
  .zestcomply-center {
    gap: 16px;
  }
}

@media (max-width: 820px) {
  .demo-banner {
    padding-block: 6px;
    font-size: 0.78rem;
  }

  body.enterprise-shell .app-shell > .side-nav {
    min-height: 68px;
    max-height: 80px;
  }

  .workspace-command-header {
    top: 68px;
    min-height: 58px;
  }

  .page-hero,
  .content-panel,
  .workspace-card,
  .wizard-panel,
  .console-panel {
    padding: 16px;
  }

  .hero-actions > *,
  .toolbar-actions > *,
  .card-actions > *,
  .report-actions > *,
  .handoff-actions > *,
  .ai-actions > *,
  .quick-actions > * {
    width: auto;
    min-width: min(100%, 220px);
  }

  .posture-score-card strong {
    font-size: clamp(2.5rem, 18vw, 4rem);
  }
}

@media (max-width: 560px) {
  .hero-actions > *,
  .toolbar-actions > *,
  .card-actions > *,
  .report-actions > *,
  .handoff-actions > *,
  .ai-actions > *,
  .quick-actions > * {
    width: 100%;
  }
}

/* Restored premium cybersecurity landing treatment */
.public-route .app-main {
  background:
    radial-gradient(circle at 12% 10%, rgba(24, 105, 255, 0.26), transparent 24rem),
    radial-gradient(circle at 88% 2%, rgba(255, 212, 71, 0.12), transparent 22rem),
    linear-gradient(180deg, #031125 0%, #071b38 42%, #0a1e3a 100%);
}

.public-landing {
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 17, 37, 0.98) 0%, rgba(7, 27, 56, 0.98) 34%, rgba(238, 245, 255, 0.08) 34%, rgba(238, 245, 255, 0.08) 100%);
}

.public-landing.active {
  opacity: 1;
  transform: none;
  animation: none;
}

.public-landing > .landing-nav:first-child {
  max-width: none;
  border-bottom: 1px solid rgba(156, 190, 255, 0.18);
  background: rgba(3, 17, 37, 0.82);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.public-landing > .landing-nav:first-child .landing-marketing-nav a {
  color: rgba(232, 241, 255, 0.86);
}

.public-landing > .landing-nav:first-child .landing-marketing-nav a:hover,
.public-landing > .landing-nav:first-child .landing-marketing-nav a:focus-visible {
  color: #ffffff;
}

.public-landing > .landing-nav:first-child .landing-marketing-nav a[href="#partner"] {
  border-color: rgba(255, 212, 71, 0.36);
  color: #fff4c5;
  background: rgba(255, 212, 71, 0.11);
}

.public-landing > .landing-nav:first-child .landing-marketing-nav a[href="#login"] {
  border-color: rgba(159, 193, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.landing-hero {
  position: relative;
  max-width: min(1520px, calc(100vw - 48px));
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.68fr);
  min-height: min(680px, calc(100vh - 78px));
  padding: clamp(72px, 8vw, 128px) clamp(22px, 5vw, 76px) clamp(56px, 6vw, 88px);
  isolation: isolate;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 28px 0 auto auto;
  z-index: -1;
  width: min(700px, 54vw);
  height: min(700px, 54vw);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(23, 104, 255, 0.32), transparent 66%);
  filter: blur(16px);
  opacity: 0.8;
}

.landing-hero-copy {
  max-width: 780px;
  opacity: 1;
  transform: none;
  animation: landingFadeUp 520ms 80ms ease both;
}

.landing-hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  color: #ffffff;
  font-size: clamp(3.2rem, 6.1vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.landing-hero p {
  max-width: 690px;
  color: rgba(223, 235, 255, 0.9);
  font-size: clamp(1.06rem, 1.4vw, 1.24rem);
  line-height: 1.58;
}

.landing-hero .eyebrow,
.landing-section .eyebrow {
  color: #ffd447;
  letter-spacing: 0.1em;
}

.public-landing .hero-actions {
  margin-top: 30px;
}

.public-landing .primary-button {
  border: 1px solid rgba(255, 212, 71, 0.9);
  color: #07152b;
  background: linear-gradient(180deg, #ffe27a, #ffd447);
  box-shadow: 0 18px 34px rgba(255, 212, 71, 0.24);
}

.public-landing .primary-button:hover,
.public-landing .primary-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 24px 42px rgba(255, 212, 71, 0.28);
}

.public-landing .secondary-button {
  border: 1px solid rgba(185, 211, 255, 0.28);
  color: #f5f9ff;
  background: rgba(7, 27, 56, 0.72);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.soc-dashboard-preview {
  gap: 14px;
  max-width: 100%;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 26px);
  border: 1px solid rgba(151, 190, 255, 0.24);
  border-radius: 24px;
  background:
    radial-gradient(circle at 86% 0%, rgba(255, 212, 71, 0.18), transparent 13rem),
    linear-gradient(160deg, rgba(10, 35, 73, 0.94), rgba(4, 16, 36, 0.96));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  opacity: 1;
  transform: none;
  animation: landingFadeUp 680ms 140ms ease both;
}

.soc-dashboard-preview > div,
.soc-dashboard-preview article {
  border: 1px solid rgba(159, 193, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.soc-preview-header,
.soc-chart-card,
.soc-alert-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
}

.soc-preview-header div,
.soc-chart-card div,
.soc-alert-heading {
  display: grid;
  gap: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.soc-dashboard-preview span,
.soc-dashboard-preview small {
  color: rgba(220, 234, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
}

.soc-dashboard-preview strong {
  color: #ffffff;
}

.soc-status-pill {
  display: inline-flex;
  align-items: center;
  width: auto;
  padding: 8px 10px;
  border: 1px solid rgba(77, 226, 149, 0.34);
  border-radius: 999px;
  color: #bdf8d7 !important;
  background: rgba(77, 226, 149, 0.12);
}

.soc-preview-main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 14px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.soc-score-card,
.soc-risk-stack article,
.soc-widget-grid article {
  display: grid;
  gap: 6px;
  align-content: center;
  min-height: 92px;
  padding: 16px;
  border-radius: 16px;
}

.soc-score-card {
  min-height: 200px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 212, 71, 0.18), transparent 10rem),
    rgba(255, 255, 255, 0.08) !important;
}

.soc-score-card strong {
  font-size: clamp(3.6rem, 6vw, 5.4rem);
  line-height: 0.9;
}

.soc-score-card small {
  color: #ffd447;
}

.soc-risk-stack {
  display: grid;
  gap: 10px;
}

.soc-risk-stack article,
.soc-widget-grid article {
  min-height: auto;
}

.soc-risk-stack strong,
.soc-widget-grid strong {
  font-size: 1.5rem;
}

.soc-widget-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.soc-chart-card {
  align-items: end;
}

.soc-bar-chart {
  display: flex !important;
  align-items: end;
  gap: 7px;
  min-width: 142px;
  height: 70px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.soc-bar-chart span {
  width: 14px;
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, #ffd447, #1768ff);
  opacity: 0.92;
}

.soc-alert-card {
  align-items: start;
}

.soc-alert-card ul {
  display: grid;
  gap: 8px;
  min-width: min(100%, 280px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.soc-alert-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(240, 247, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 750;
}

.risk-dot {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.risk-dot.critical { background: #ff5a67; }
.risk-dot.high { background: #ffd447; }
.risk-dot.medium { background: #49a3ff; }

.landing-section {
  max-width: min(1280px, calc(100vw - 48px));
  border-color: rgba(151, 190, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.94));
  box-shadow: 0 24px 70px rgba(3, 17, 37, 0.18);
}

.landing-section:nth-of-type(odd) {
  color: #ffffff;
  border-color: rgba(151, 190, 255, 0.18);
  background:
    radial-gradient(circle at 100% 0%, rgba(23, 104, 255, 0.16), transparent 20rem),
    linear-gradient(180deg, rgba(7, 27, 56, 0.96), rgba(4, 16, 36, 0.94));
}

.landing-section:nth-of-type(odd) h2,
.landing-section:nth-of-type(odd) .landing-card-grid strong,
.landing-section:nth-of-type(odd) .landing-steps strong {
  color: #ffffff;
}

.landing-section:nth-of-type(odd) p,
.landing-section:nth-of-type(odd) .landing-card-grid span,
.landing-section:nth-of-type(odd) .landing-steps p {
  color: rgba(223, 235, 255, 0.78);
}

.landing-section:nth-of-type(odd) .landing-card-grid article,
.landing-section:nth-of-type(odd) .landing-steps article {
  border-color: rgba(151, 190, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.landing-card-grid article,
.landing-steps article {
  border-radius: 18px;
}

.zestcomply-landing,
.landing-contact {
  border-top: 1px solid rgba(151, 190, 255, 0.18);
}

@keyframes landingFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 1600px) {
  .landing-hero {
    max-width: min(1680px, calc(100vw - 80px));
  }
}

@media (max-width: 1180px) {
  .landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .soc-dashboard-preview {
    width: min(820px, 100%);
  }
}

@media (max-width: 1120px) {
  .public-landing > .landing-nav:first-child .landing-menu-button {
    display: grid;
    grid-template-columns: 18px auto;
    grid-template-rows: repeat(3, 2px);
    align-content: center;
    align-items: center;
    column-gap: 9px;
    row-gap: 5px;
  }

  .public-landing > .landing-nav:first-child .landing-menu-button span {
    grid-column: 1;
    width: 18px;
  }

  .public-landing > .landing-nav:first-child .landing-menu-button strong {
    grid-column: 2;
    grid-row: 1 / 4;
  }
}

@media (max-width: 760px) {
  html,
  body,
  .app-shell,
  .app-main,
  .public-landing {
    max-width: 100%;
    overflow-x: hidden;
  }

  .public-landing,
  .public-landing * {
    box-sizing: border-box;
  }

  .public-landing > *,
  .landing-hero,
  .landing-hero-copy,
  .landing-section,
  .landing-footer,
  .soc-dashboard-preview,
  .soc-dashboard-preview > *,
  .soc-preview-main,
  .soc-risk-stack,
  .soc-widget-grid,
  .soc-chart-card,
  .soc-alert-card {
    max-width: 100%;
  }

  .demo-banner {
    padding: 7px 12px;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 0.75rem;
    line-height: 1.25;
  }

  .public-landing > .landing-nav:first-child {
    grid-template-columns: minmax(0, 1fr) 48px !important;
    justify-content: stretch;
    width: 100%;
    max-width: 100vw;
    padding: 12px 14px;
    overflow: visible;
  }

  .public-landing > .landing-nav:first-child .landing-brand {
    min-width: 0;
  }

  .public-landing > .landing-nav:first-child .landing-brand strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .public-landing > .landing-nav:first-child .landing-menu-button {
    display: grid;
    grid-template-columns: 20px;
    grid-template-rows: repeat(3, 2px);
    place-content: center;
    width: 48px;
    min-width: 48px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  }

  .public-landing > .landing-nav:first-child .landing-menu-button span {
    width: 20px;
    background: #ffffff;
  }

  .public-landing > .landing-nav:first-child .landing-menu-button strong {
    display: none;
  }

  .landing-hero {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding: 44px 16px 34px;
    gap: 26px;
    overflow: hidden;
  }

  .landing-hero-copy {
    width: 100%;
    min-width: 0;
  }

  .landing-hero h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 10.4vw, 3.28rem);
    line-height: 1.03;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .landing-hero p {
    max-width: 100%;
    font-size: 1rem;
  }

  .public-landing .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin-top: 24px;
  }

  .public-landing .hero-actions > * {
    width: 100%;
  }

  .soc-dashboard-preview,
  .soc-dashboard-preview *,
  .soc-preview-main,
  .soc-widget-grid,
  .soc-risk-stack,
  .soc-alert-card ul {
    min-width: 0;
  }

  .landing-hero-panel .soc-preview-main,
  .landing-hero-panel .soc-risk-stack,
  .landing-hero-panel .soc-widget-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .landing-hero-panel .soc-risk-stack article,
  .landing-hero-panel .soc-widget-grid article {
    display: grid;
    align-items: start;
    justify-content: start;
  }

  .soc-dashboard-preview {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding: 16px;
    border-radius: 20px;
  }

  .soc-preview-header {
    flex-wrap: wrap;
  }

  .soc-risk-stack,
  .soc-widget-grid {
    width: 100%;
  }

  .soc-score-card,
  .soc-risk-stack article,
  .soc-widget-grid article {
    width: 100%;
  }

  .soc-score-card {
    min-height: 156px;
  }

  .soc-chart-card,
  .soc-alert-card {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-section {
    max-width: calc(100vw - 24px);
    padding: 20px;
  }
}

@media (max-width: 620px) {
  .public-landing > .landing-nav:first-child .landing-menu-button {
    grid-template-columns: 18px;
    width: 48px;
    min-width: 48px;
    padding-inline: 14px;
  }

  .public-landing > .landing-nav:first-child .landing-menu-button strong {
    display: none;
  }
}

/* Cloudflare Pages marketing-only static route support */
.app-shell {
  grid-template-columns: 1fr;
}

.side-nav,
.workspace-command-header {
  display: none;
}

.app-main {
  min-height: 100vh;
  padding: 0;
}

.app-main:has(.page-section:target) .page-section.active {
  display: none;
}

.app-main:has(#landing:target) #landing,
.app-main:has(#partner:target) #partner,
.app-main:has(#partner-confirmation:target) #partner-confirmation,
.app-main:has(#login:target) #login {
  display: grid;
  gap: 18px;
}

#landing:not(:target),
#partner:not(:target),
#partner-confirmation:not(:target),
#login:not(:target) {
  scroll-margin-top: 90px;
}
