/* AIEdge Operations Console — pilot console + use case deck */
.aa-use-case-panel {
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(224, 242, 254, 0.65));
}
.aa-use-case-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}
.aa-use-case-flow span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(3, 105, 161, 0.1);
  color: #0369a1;
}
.aa-deck-wrap {
  position: relative;
  min-height: 280px;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #0f172a;
  color: #e2e8f0;
}
.aa-deck-slide {
  display: none;
  padding: 1.5rem 1.75rem;
  min-height: 280px;
}
.aa-deck-slide.is-active {
  display: block;
}
.aa-deck-slide h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #7dd3fc;
  margin: 0 0 0.5rem;
}
.aa-deck-slide li {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #cbd5e1;
}
.aa-deck-quote {
  font-size: 0.95rem;
  font-style: italic;
  color: #94a3b8;
  border-left: 3px solid #0284c7;
  padding-left: 0.75rem;
  margin: 0 0 1rem;
}
.aa-deck-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
@media (max-width: 640px) {
  .aa-deck-compare {
    grid-template-columns: 1fr;
  }
}
.aa-deck-compare-col {
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
}
.aa-deck-compare-col h4 {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.aa-deck-compare-col ul {
  margin: 0;
  padding-left: 1.1rem;
}
.aa-deck-compare-col li {
  margin-bottom: 0.25rem;
}
.aa-deck-compare-col--diy {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.25);
}
.aa-deck-compare-col--diy h4 {
  color: #fca5a5;
}
.aa-deck-compare-gaps li {
  color: #fecaca;
}
.aa-deck-compare-result {
  margin: 0.65rem 0 0.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}
.aa-deck-compare-col--sdp {
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.35);
}
.aa-deck-compare-col--sdp h4 {
  color: #7dd3fc;
}
.aa-deck-compare-tagline {
  font-weight: 600;
  color: #e0f2fe;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}
.aa-deck-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: rgba(15, 23, 42, 0.95);
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}
.aa-deck-counter {
  font-size: 0.75rem;
  color: #94a3b8;
}

.aa-kpi-warn .text-2xl {
  color: #b45309;
}

.aa-deploy-actions {
  white-space: nowrap;
}
.aa-deploy-actions .vo-btn {
  margin-left: 0.25rem;
  margin-bottom: 0.25rem;
}

.aa-vertical-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.aa-vertical-pill-static,
.aa-vertical-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(3, 105, 161, 0.1);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.25);
}
.aa-vertical-pill-count {
  font-weight: 700;
  color: #0c4a6e;
}

/* Status badges */
.aa-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
}
.aa-badge--ok {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}
.aa-badge--pending {
  background: rgba(234, 179, 8, 0.15);
  color: #a16207;
}
.aa-badge--warn {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}
.aa-badge--danger {
  background: rgba(239, 68, 68, 0.12);
  color: #b91c1c;
}
.aa-badge--muted {
  background: rgba(100, 116, 139, 0.12);
  color: #475569;
}
.aa-badge--neutral {
  background: rgba(148, 163, 184, 0.15);
  color: #334155;
}

.aa-panel-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.85rem;
  color: #475569;
}

/* Governance flow bars */
.aa-gov-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
.aa-gov-step-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.35rem;
}
.aa-gov-step-head strong {
  color: #0f172a;
}
.aa-gov-bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
}
.aa-gov-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0284c7, #0369a1);
}

/* Drift cards */
.aa-drift-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .aa-drift-cards {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}
.aa-drift-card {
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 0.65rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.7);
}
.aa-drift-card-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.aa-drift-rec {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0.35rem 0 0;
}

.aa-drift-bar-row {
  display: grid;
  grid-template-columns: 8rem 1fr 2rem;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.aa-drift-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}
.aa-drift-bar-fill {
  height: 100%;
  background: #f59e0b;
  border-radius: 999px;
}

.aa-alert-banner {
  font-size: 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  background: rgba(254, 243, 199, 0.8);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #92400e;
}

/* Model grid */
.aa-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.aa-model-card {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.65);
}
.aa-tag {
  font-size: 0.65rem;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
  background: rgba(3, 105, 161, 0.08);
  color: #0369a1;
}

/* Review cards */
.aa-review-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.aa-review-card {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.7);
}
.aa-review-card-rich {
  flex-direction: column;
  align-items: stretch;
}
.aa-review-card-rich .aa-review-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}
.aa-review-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
}
.aa-review-meta-label {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  font-weight: 600;
}
.aa-review-meta-value {
  display: block;
  font-size: 0.8125rem;
  color: #0f172a;
  font-weight: 500;
  margin-top: 0.1rem;
}
.aa-review-risk-high { color: #b91c1c; }
.aa-review-risk-medium { color: #b45309; }
.aa-review-risk-low { color: #047857; }
.aa-review-policy-pass { color: #047857; }
.aa-review-policy-fail { color: #b91c1c; }
.aa-review-evidence-ok { color: #047857; }
.aa-review-evidence-missing { color: #b45309; }
.aa-review-reason {
  padding: 0.5rem 0.65rem;
  border-radius: 0.4rem;
  background: rgba(241, 245, 249, 0.9);
  border-left: 3px solid #0ea5e9;
}
.aa-review-violations {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.75rem;
  color: #b91c1c;
}
.aa-review-evidence-list {
  margin: 0.35rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.8125rem;
}
.aa-review-notes-label textarea {
  min-height: 3rem;
  font-size: 0.8125rem;
}

/* Label queue clusters (AIEDGE-3211) */
.aa-label-cluster-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.aa-label-cluster-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.7);
}
.aa-label-cluster-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 0.25rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}
.aa-label-batch-input {
  font-size: 0.8125rem;
}

/* Audit timeline */
.aa-audit-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aa-audit-item {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 1rem;
  position: relative;
}
.aa-audit-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: rgba(148, 163, 184, 0.35);
}
.aa-audit-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #0284c7;
  flex-shrink: 0;
  margin-top: 4px;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}
.aa-audit-body {
  flex: 1;
  min-width: 0;
}

/* Storyline */
.aa-story-progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 0.5rem;
}
.aa-storyline-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.aa-story-step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid transparent;
}
.aa-story-step--done {
  background: rgba(22, 163, 74, 0.06);
  border-color: rgba(22, 163, 74, 0.2);
}
.aa-story-step--current {
  background: rgba(2, 132, 199, 0.06);
  border-color: rgba(2, 132, 199, 0.25);
}
.aa-story-step-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(148, 163, 184, 0.2);
  color: #475569;
  flex-shrink: 0;
}
.aa-story-step--done .aa-story-step-num {
  background: #16a34a;
  color: #fff;
}
.aa-story-step--current .aa-story-step-num {
  background: #0284c7;
  color: #fff;
}

.aa-dlq-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.aa-dlq-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.85rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.aa-waiver-alert {
  border-left: 4px solid #f59e0b;
  background: #fffbeb;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
}

.aa-delta-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.aa-delta-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.aa-delta-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
  margin-top: 5px;
}
.aa-delta-dot--ok { background: #16a34a; }
.aa-delta-dot--warn { background: #f59e0b; }
.aa-delta-dot--bad { background: #dc2626; }

.aa-gap-card {
  padding: 0.75rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(14, 165, 233, 0.2);
  background: rgba(248, 250, 252, 0.9);
}

.aa-gap-panel {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.aa-gap-list {
  margin: 0;
  padding-left: 1.1rem;
  list-style: disc;
  color: #334155;
}

.aa-gap-list li + li {
  margin-top: 0.25rem;
}

.aa-gap-status {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aa-gap-status--strong {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.aa-gap-status--pilot {
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.25);
}

.aa-gap-status--warn {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.aa-gap-status--empty {
  background: rgba(148, 163, 184, 0.14);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* Customer Zero — internal control tower proof */
.aa-hero-workforce-explain {
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.72);
  max-width: 42rem;
}

.aa-hero-workforce-lead {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
}

.aa-hero-workforce-list {
  margin: 0.45rem 0 0.5rem;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.55;
}

.aa-hero-workforce-sub {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0369a1;
}

.aa-hero-positioning {
  margin-top: 0.65rem;
  font-size: 0.88rem;
  color: #475569;
  max-width: 42rem;
  line-height: 1.5;
}

.aa-product-module-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.aa-product-module-list li {
  font-size: 0.78rem;
  font-weight: 600;
  color: #334155;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
}

.aa-workforce-tower-card {
  padding: 1.25rem 1.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(99, 102, 241, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 242, 255, 0.82));
  box-shadow: 0 10px 32px rgba(79, 70, 229, 0.1);
}

.aa-workforce-tower-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.aa-workforce-tower-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  letter-spacing: -0.02em;
}

.aa-workforce-tower-lead {
  font-size: 0.88rem;
  color: #475569;
  margin: 0.35rem 0 0;
  max-width: 36rem;
}

.aa-onboard-worker-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #0284c7);
  border: none;
  border-radius: 0.55rem;
  padding: 0.55rem 1rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.aa-onboard-worker-btn:hover {
  filter: brightness(1.05);
}

.aa-workforce-tower-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .aa-workforce-tower-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.aa-workforce-tower-stat {
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
  text-align: center;
}

.aa-workforce-tower-stat strong {
  display: block;
  font-size: 1.35rem;
  color: #4338ca;
  line-height: 1.1;
}

.aa-workforce-tower-stat span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.aa-governance-pipeline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.75rem;
}

.aa-governance-pipeline span:not(.aa-flow-arrow) {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(224, 231, 255, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.aa-onboard-worker-panel {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.28);
}

.aa-onboard-workflow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.aa-onboard-workflow li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #334155;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.aa-onboard-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4338ca;
  background: rgba(224, 231, 255, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.aa-install-methods {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .aa-install-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.aa-install-method {
  padding: 0.75rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.aa-install-method strong {
  display: block;
  font-size: 0.85rem;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.aa-install-cmd {
  display: block;
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #0f172a;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 0.4rem;
  padding: 0.45rem 0.55rem;
  margin: 0.35rem 0;
  word-break: break-all;
}

.aa-maturity-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

.aa-maturity-pill--pilot {
  background: rgba(14, 165, 233, 0.14);
  color: #0369a1;
  border: 1px solid rgba(14, 165, 233, 0.28);
}

.aa-maturity-pill--live {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.aa-maturity-pill--partial {
  background: rgba(251, 191, 36, 0.16);
  color: #b45309;
  border: 1px solid rgba(251, 191, 36, 0.32);
}

.aa-maturity-pill--incomplete {
  background: rgba(244, 63, 94, 0.12);
  color: #be123c;
  border: 1px solid rgba(244, 63, 94, 0.25);
}

.aa-maturity-pill--design {
  background: rgba(139, 92, 246, 0.14);
  color: #6d28d9;
  border: 1px solid rgba(139, 92, 246, 0.28);
}

.aa-cz-pending-worker-card,
.aa-deploy-onboard-card {
  padding: 0.75rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px dashed rgba(251, 191, 36, 0.45);
  background: rgba(255, 251, 235, 0.75);
}

.aa-installer-maturity-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.aa-installer-maturity-table th,
.aa-installer-maturity-table td {
  padding: 0.45rem 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  text-align: left;
}

.aa-installer-maturity-table thead th {
  background: rgba(241, 245, 249, 0.9);
}

.aa-inline-link {
  font: inherit;
  color: #0369a1;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aa-identity-type-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 768px) {
  .aa-identity-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.aa-identity-type-card {
  padding: 0.75rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(248, 250, 252, 0.95);
}

.aa-identity-type-card strong {
  display: block;
  font-size: 0.85rem;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.aa-identity-type-card span {
  font-size: 0.78rem;
  color: #64748b;
}

.aa-wf-mvp-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (min-width: 768px) {
  .aa-wf-mvp-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.aa-wf-mvp-stat {
  padding: 0.75rem 0.8rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(99, 102, 241, 0.25);
  background: rgba(255, 255, 255, 0.95);
  text-align: center;
}

.aa-wf-mvp-stat strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: #312e81;
  line-height: 1.1;
}

.aa-wf-mvp-stat span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.aa-workforce-identity-panel {
  display: grid;
  gap: 0.75rem;
}

.aa-wf-id-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (min-width: 900px) {
  .aa-wf-id-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.aa-wf-id-card {
  padding: 0.85rem 0.9rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.95);
}

.aa-wf-id-card--human { border-color: rgba(14, 165, 233, 0.35); }
.aa-wf-id-card--ai { border-color: rgba(34, 197, 94, 0.35); }
.aa-wf-id-card--mcp { border-color: rgba(139, 92, 246, 0.35); }
.aa-wf-id-card--service { border-color: rgba(249, 115, 22, 0.35); }

.aa-wf-id-card-count {
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.aa-wf-id-card-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #475569;
  margin-top: 0.15rem;
}

.aa-wf-id-card-meta {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.25rem;
}

.aa-wf-id-login-flow {
  padding: 0.75rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: rgba(240, 249, 255, 0.75);
}

.aa-wf-approval-list {
  display: grid;
  gap: 0.55rem;
}

.aa-wf-approval-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(255, 251, 235, 0.8);
}

.aa-wf-register-block {
  padding: 0.85rem 0.95rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(99, 102, 241, 0.25);
  background: rgba(238, 242, 255, 0.55);
}

.aa-wf-input {
  width: 100%;
  font-size: 0.82rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
}

.aa-hero-customer-zero {
  margin-top: 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #0369a1;
  letter-spacing: -0.01em;
}

.aa-customer-zero-proof {
  padding: 1.25rem 1.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(14, 165, 233, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97), rgba(224, 242, 254, 0.75));
  box-shadow: 0 8px 28px rgba(2, 132, 199, 0.1);
}

.aa-customer-zero-proof-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.65rem;
}

.aa-customer-zero-proof-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem;
}

.aa-customer-zero-proof-lead {
  font-size: 0.9rem;
  color: #475569;
  margin: 0 0 0.85rem;
  max-width: 42rem;
}

.aa-customer-zero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
  .aa-customer-zero-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.aa-customer-zero-stat {
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.28);
  text-align: center;
}

.aa-customer-zero-stat strong {
  display: block;
  font-size: 1.35rem;
  color: #0f172a;
  line-height: 1.1;
}

.aa-customer-zero-stat span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.aa-customer-zero-proof-foot {
  font-size: 0.78rem;
  font-weight: 600;
  color: #15803d;
  margin: 0 0 0.75rem;
}

.aa-customer-zero-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0369a1;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.aa-customer-zero-cta:hover {
  color: #0c4a6e;
}

.aa-customer-zero-tower {
  display: grid;
  gap: 1rem;
}

.aa-cz-hero-card {
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 249, 255, 0.9));
}

.aa-cz-confidence {
  font-size: 2rem;
  font-weight: 800;
  color: #0369a1;
  line-height: 1;
}

.aa-cz-supply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (min-width: 768px) {
  .aa-cz-supply-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aa-cz-supply-tile {
  padding: 0.7rem 0.8rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.9);
}

.aa-cz-supply-tile strong {
  display: block;
  font-size: 1.25rem;
  color: #0f172a;
}

.aa-cz-supply-tile span {
  font-size: 0.72rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aa-cz-chain-card {
  padding: 0.75rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(248, 250, 252, 0.95);
}

.aa-cz-chain-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0.45rem 0;
  font-size: 0.78rem;
  color: #334155;
}

.aa-cz-chain-node {
  padding: 0.2rem 0.45rem;
  border-radius: 0.35rem;
  background: rgba(224, 242, 254, 0.8);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.aa-cz-workforce-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.aa-cz-workforce-stat {
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: rgba(240, 249, 255, 0.85);
  text-align: center;
}

.aa-cz-workforce-stat strong {
  display: block;
  font-size: 1.35rem;
  color: #0369a1;
  line-height: 1.1;
}

.aa-cz-workforce-stat span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.aa-cz-worker-card {
  padding: 0.8rem 0.9rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.aa-cz-worker-meta {
  font-size: 0.72rem;
  color: #475569;
  margin: 0.2rem 0 0;
  line-height: 1.45;
}

.aa-cz-worker-status {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.aa-cz-worker-status--active {
  background: rgba(34, 197, 94, 0.14);
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.aa-cz-worker-status--pending {
  background: rgba(251, 191, 36, 0.16);
  color: #b45309;
  border: 1px solid rgba(251, 191, 36, 0.32);
}

.aa-cz-worker-status--decommissioned {
  background: rgba(148, 163, 184, 0.16);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.aa-hr-framework-table,
.aa-buyer-tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.aa-hr-framework-table th,
.aa-hr-framework-table td,
.aa-buyer-tier-table th,
.aa-buyer-tier-table td {
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  text-align: left;
}

.aa-hr-framework-table thead th,
.aa-buyer-tier-table thead th {
  background: rgba(224, 242, 254, 0.65);
  font-weight: 600;
  color: #0f172a;
}

.aa-hr-framework-table tbody tr:nth-child(even),
.aa-buyer-tier-table tbody tr:nth-child(even) {
  background: rgba(248, 250, 252, 0.85);
}

.aa-cz-approval-table {
  width: 100%;
  font-size: 0.82rem;
  border-collapse: collapse;
}

.aa-cz-approval-table th,
.aa-cz-approval-table td {
  padding: 0.45rem 0.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  text-align: left;
}

.aa-cz-status-approved { color: #15803d; font-weight: 600; }
.aa-cz-status-pending { color: #b45309; font-weight: 600; }
.aa-cz-status-in_progress { color: #0369a1; font-weight: 600; }

/* —— Hero & suite navigation —— */
.aa-hero {
  position: relative;
  border-radius: 1rem;
  border: 1px solid rgba(14, 165, 233, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.97) 0%, rgba(240, 249, 255, 0.92) 42%, rgba(224, 242, 254, 0.88) 100%);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(2, 132, 199, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.aa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(139, 92, 246, 0.1), transparent 52%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(14, 165, 233, 0.12), transparent 48%);
  pointer-events: none;
}
.aa-hero-top,
.aa-suite-grid,
.aa-hero-links {
  position: relative;
  z-index: 1;
}
.aa-hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem 1rem;
}
.aa-hero-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0369a1;
}
.aa-hero-title {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0.25rem 0 0;
  line-height: 1.2;
}
.aa-hero-tagline {
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.5;
  color: #0f172a;
  margin: 0.5rem 0 0;
  max-width: 44rem;
}

.aa-hero-unified-flow {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
  color: #0c4a6e;
  margin: 0.65rem 0 0;
  max-width: 46rem;
}

.aa-hero-unified-flow .aa-flow-arrow {
  color: #94a3b8;
  font-weight: 400;
  margin: 0 0.15rem;
}

.aa-hero-subheading {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #475569;
  margin: 0.55rem 0 0;
  max-width: 44rem;
}

.aa-buyer-journeys {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
  max-width: 36rem;
}

.aa-buyer-journey-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.92);
  text-align: left;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.aa-buyer-journey-card:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.aa-buyer-journey-card--enterprise { border-color: rgba(100, 116, 139, 0.35); }
.aa-buyer-journey-card--healthcare { border-color: rgba(190, 18, 60, 0.25); background: rgba(255, 251, 252, 0.95); }
.aa-buyer-journey-card--federal { border-color: rgba(30, 64, 175, 0.28); background: rgba(239, 246, 255, 0.9); }

.aa-buyer-journey-icon { font-size: 1.25rem; line-height: 1; }
.aa-buyer-journey-name { font-size: 0.875rem; font-weight: 700; color: #0f172a; }
.aa-buyer-journey-hook { font-size: 0.68rem; color: #64748b; line-height: 1.35; }

.aa-control-tower-flow {
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: rgba(255, 255, 255, 0.88);
}

.aa-ct-flow-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0369a1;
}

.aa-ct-flow-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.aa-ct-flow-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.aa-ct-flow-step--featured {
  border-color: rgba(14, 165, 233, 0.45);
  background: rgba(224, 242, 254, 0.85);
  color: #0c4a6e;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.12);
}

.aa-ct-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  font-size: 0.62rem;
  font-weight: 800;
}

.aa-ct-flow-arrow {
  color: #94a3b8;
  font-size: 0.85rem;
}

.aa-ct-flow-lead {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.45;
  max-width: 42rem;
}

.aa-tab--discovery.vo-tab-idle {
  border-color: rgba(14, 165, 233, 0.35);
  color: #0c4a6e;
}

.aa-tab--discovery.vo-tab-active {
  background: linear-gradient(180deg, rgba(224, 242, 254, 0.95), rgba(186, 230, 253, 0.55));
  border-color: rgba(14, 165, 233, 0.45);
  color: #0c4a6e;
}

.aa-discovery-demo-banner {
  padding: 0.65rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: rgba(240, 249, 255, 0.75);
}

.aa-discovery-center-panel .vo-surface,
.aa-discovery-center-panel > div {
  margin-bottom: 0.75rem;
}

.aa-hero-one-platform {
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin: 0.5rem 0 0;
}

.aa-hero-entry-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.aa-hero-entry-point {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.aa-hero-entry-point--snow {
  border-color: rgba(5, 150, 105, 0.35);
  background: rgba(236, 253, 245, 0.85);
  color: #047857;
}

.aa-hero-entry-point--health {
  border-color: rgba(190, 18, 60, 0.25);
  background: rgba(255, 241, 242, 0.85);
  color: #9f1239;
}

.aa-hero-entry-point--federal {
  border-color: rgba(30, 64, 175, 0.28);
  background: rgba(239, 246, 255, 0.9);
  color: #1e40af;
}

.aa-hero-entry-point--enterprise {
  border-color: rgba(100, 116, 139, 0.3);
  background: rgba(248, 250, 252, 0.95);
  color: #334155;
}

.aa-hero-entry-point:hover {
  filter: brightness(0.97);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.aa-hero-buyer-pitch {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: rgba(240, 249, 255, 0.65);
  max-width: 44rem;
}

.aa-hero-buyer-pitch p {
  margin: 0.2rem 0;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.45;
}

.aa-hero-buyer-pitch strong {
  color: #0f172a;
}
.aa-hero-audience {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #475569;
  margin: 0.5rem 0 0;
  max-width: 42rem;
}
.aa-hero-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475569;
  margin: 0.65rem 0 0;
  max-width: 42rem;
}
.aa-hero-meta {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.5rem;
}
.aa-pilot-honesty {
  font-size: 0.78rem;
  line-height: 1.45;
  color: #475569;
  margin: 0.65rem 0 0;
  max-width: 40rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.aa-pilot-honesty strong {
  color: #92400e;
}
.aa-hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.aa-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #0369a1;
  text-decoration: none;
  padding: 0.45rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(14, 165, 233, 0.3);
  background: rgba(255, 255, 255, 0.85);
  transition: background 0.15s, border-color 0.15s;
}
.aa-hero-link:hover {
  background: #fff;
  border-color: #0284c7;
  color: #0c4a6e;
}
.aa-suite-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  padding: 0 1.5rem 1.25rem;
}
@media (min-width: 640px) {
  .aa-suite-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.aa-suite-card {
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}
.aa-suite-card:hover {
  border-color: rgba(2, 132, 199, 0.5);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.14);
  transform: translateY(-2px);
}
.aa-suite-card:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}
.aa-suite-card-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
}
.aa-suite-card-desc {
  display: block;
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 0.2rem;
  line-height: 1.35;
}

/* Quick start */
.aa-quickstart {
  border: 1px solid rgba(14, 165, 233, 0.2);
  background: rgba(255, 255, 255, 0.92);
  padding: 1.15rem 1.35rem;
  border-radius: 0.85rem;
}
.aa-quickstart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}
.aa-quickstart-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}
.aa-quickstart-progress {
  font-size: 0.72rem;
  font-weight: 600;
  color: #0369a1;
  background: rgba(224, 242, 254, 0.9);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.aa-quickstart-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .aa-quickstart-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.aa-qs-step {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #f8fafc;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.4;
}
.aa-qs-step--done {
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.06);
  color: #166534;
}
.aa-qs-step--current {
  border-color: rgba(2, 132, 199, 0.4);
  background: rgba(224, 242, 254, 0.65);
  color: #0c4a6e;
}
.aa-qs-num {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
  background: rgba(148, 163, 184, 0.25);
  color: #475569;
}
.aa-qs-step--done .aa-qs-num {
  background: #16a34a;
  color: #fff;
}
.aa-qs-step--current .aa-qs-num {
  background: #0284c7;
  color: #fff;
}
.aa-qs-step strong {
  display: block;
  color: inherit;
  font-weight: 700;
}

/* Command bar — legacy + unified console header */
.aa-command-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.92);
}
.aa-console-header {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
  border: 1px solid rgba(14, 165, 233, 0.28);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 249, 255, 0.94) 100%);
  box-shadow: 0 4px 24px rgba(2, 132, 199, 0.1), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}
.aa-console-header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding: 1rem 1.15rem 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.aa-console-header-brand {
  min-width: 0;
  flex: 1 1 16rem;
}
.aa-console-header-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0369a1;
}
.aa-console-header-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0f172a;
  line-height: 1.2;
}
.aa-console-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}
.aa-console-kpi {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  padding: 0.35rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.85);
  min-width: 4.5rem;
}
.aa-console-kpi-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}
.aa-console-kpi-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.aa-console-kpi--warn {
  border-color: rgba(245, 158, 11, 0.45);
  background: rgba(255, 251, 235, 0.95);
}
.aa-console-kpi--warn .aa-console-kpi-value {
  color: #b45309;
}
.aa-console-kpi--muted {
  font-size: 0.75rem;
  color: #64748b;
  padding: 0.45rem 0.65rem;
  background: rgba(248, 250, 252, 0.9);
}
.aa-console-kpi--link {
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.aa-console-kpi--link:hover {
  border-color: #7dd3fc;
  box-shadow: 0 3px 12px rgba(2, 132, 199, 0.12);
  transform: translateY(-1px);
}
.aa-console-kpi--link:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}
.aa-console-overview-btn {
  flex-shrink: 0;
  align-self: flex-start;
}
.aa-console-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.85rem;
  padding: 0.65rem 1.15rem 0.85rem;
}
.aa-console-header-meta .aa-command-bar-actions {
  margin-left: auto;
}
.aa-health-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(248, 250, 252, 0.95);
}
.aa-health-pill-text {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}
.aa-org-badge-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}
.aa-tab-group-label {
  flex-shrink: 0;
  align-self: center;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0.15rem 0.35rem 0.15rem 0.15rem;
  white-space: nowrap;
}
.aa-panel-context {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  padding: 0.45rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
}
.aa-panel-context-group {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0369a1;
}
.aa-panel-context--tower .aa-panel-context-group {
  color: #6d28d9;
}
.aa-panel-context--govern .aa-panel-context-group {
  color: #0e7490;
}
.aa-panel-context-sep {
  color: #94a3b8;
  font-weight: 600;
}
.aa-panel-context-view {
  font-weight: 600;
  color: #334155;
}
.aa-command-bar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}
.aa-org-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.aa-org-badge code {
  font-size: 0.68rem;
  color: #0f172a;
  background: transparent;
  padding: 0;
}
.aa-health-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #94a3b8;
  flex-shrink: 0;
}
.aa-health-dot--ok {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
}
.aa-health-dot--bad {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* Sticky tab bar */
.aa-tab-bar-wrap {
  position: sticky;
  top: 4rem;
  z-index: 30;
  margin-top: 0.85rem;
  padding: 0.35rem 0 0;
  background: linear-gradient(180deg, rgba(228, 236, 244, 0.98) 0%, rgba(228, 236, 244, 0.92) 85%, transparent 100%);
  backdrop-filter: blur(8px);
}
.aa-tab-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.2rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.45);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.aa-tab {
  flex-shrink: 0;
  position: relative;
  white-space: nowrap;
}
.aa-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.3rem;
  margin-left: 0.35rem;
  font-size: 0.6rem;
  font-weight: 800;
  border-radius: 999px;
  background: #0284c7;
  color: #fff;
  vertical-align: middle;
}
.aa-tab-badge--warn {
  background: #d97706;
}
.aa-tab-badge--danger {
  background: #dc2626;
}

/* Deck collapse */
.aa-deck-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem;
  border: none;
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}
.aa-deck-toggle:hover {
  background: rgba(255, 255, 255, 0.9);
}
.aa-deck-toggle-icon {
  font-size: 0.75rem;
  color: #64748b;
  transition: transform 0.2s;
}
.aa-deck-panel.is-collapsed .aa-deck-toggle-icon {
  transform: rotate(-90deg);
}
.aa-deck-panel.is-collapsed .aa-deck-body {
  display: none;
}

/* Dashboard hero strip */
.aa-dash-hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(14, 165, 233, 0.2);
  background: linear-gradient(90deg, rgba(240, 249, 255, 0.9), rgba(255, 255, 255, 0.85));
  margin-bottom: 1rem;
}
.aa-dash-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: #334155;
}
.aa-dash-chip--alert {
  border-color: rgba(245, 158, 11, 0.45);
  background: #fffbeb;
  color: #92400e;
}

/* Loading skeleton */
.aa-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.aa-skeleton-card {
  height: 72px;
  border-radius: 0.65rem;
  background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
  background-size: 200% 100%;
  animation: aa-shimmer 1.2s ease-in-out infinite;
}
@keyframes aa-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Toast */
.aa-toast-wrap {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(22rem, calc(100vw - 2rem));
  pointer-events: none;
}
.aa-toast {
  pointer-events: auto;
  padding: 0.75rem 1rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  animation: aa-toast-in 0.25s ease-out;
}
.aa-toast--ok { background: #15803d; }
.aa-toast--err { background: #b91c1c; }
.aa-toast--info { background: #0369a1; }
@keyframes aa-toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Auth banner upgrade */
.aa-auth-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1rem 1.5rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  padding: 1.15rem 1.35rem;
}
.aa-auth-banner-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}
.aa-auth-banner-body {
  flex: 1;
  min-width: 12rem;
}

body:not(.sdp-auth-ok) .aa-requires-auth {
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
body.sdp-auth-ok .aa-auth-banner {
  display: none !important;
}

/* Credits dashboard */
.aa-credits-balance-card {
  padding: 1.15rem 1.35rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: linear-gradient(135deg, #f0f9ff, #fff);
}
.aa-credits-balance-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.aa-credits-plan {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
}
.aa-credits-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.25);
  overflow: hidden;
}
.aa-credits-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #0369a1);
  border-radius: 999px;
}
.aa-credits-bar-fill--warn {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}
.aa-credits-bar-fill--critical {
  background: linear-gradient(90deg, #f97316, #ea580c);
}
.aa-credits-bar-fill--exceeded {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}
.aa-credits-governance-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 1024px) {
  .aa-credits-governance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}
.aa-credits-events-table th,
.aa-credits-events-table td {
  vertical-align: top;
}
.aa-credits-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: #64748b;
}
.aa-credits-stats strong {
  color: #0f172a;
  font-weight: 700;
}
.aa-credits-consumer-list,
.aa-credits-agent-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.aa-credits-consumer-list li,
.aa-credits-agent-list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}
.aa-credits-consumer-amt,
.aa-credits-agent-cost {
  font-weight: 700;
  color: #0369a1;
  white-space: nowrap;
}
.aa-credits-outcome-table th,
.aa-credits-outcome-table td {
  vertical-align: top;
}
.aa-credits-roi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7rem, 1fr));
  gap: 0.75rem;
}
.aa-credits-roi-item {
  padding: 0.65rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(240, 253, 244, 0.9);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.aa-credits-roi-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #047857;
}
.aa-credits-roi-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
  margin-top: 0.15rem;
}
.aa-credits-roi-impact {
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  background: rgba(255, 251, 235, 0.9);
  border-left: 3px solid #f59e0b;
}
.aa-credits-budget-alerts {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.aa-credits-budget-alert {
  padding: 0.55rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
  border: 1px solid transparent;
}
.aa-credits-budget-alert--warn {
  background: rgba(255, 251, 235, 0.95);
  border-color: rgba(245, 158, 11, 0.35);
  color: #92400e;
}
.aa-credits-budget-alert--critical {
  background: rgba(254, 242, 242, 0.95);
  border-color: rgba(239, 68, 68, 0.35);
  color: #991b1b;
}
.aa-credits-budget-alert--exceeded {
  background: rgba(254, 226, 226, 0.98);
  border-color: rgba(220, 38, 38, 0.45);
  color: #7f1d1d;
  font-weight: 600;
}
.aa-credits-budget-table th,
.aa-credits-budget-table td,
.aa-credits-chargeback-table th,
.aa-credits-chargeback-table td {
  vertical-align: top;
}
.aa-credits-budget-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}
.aa-credits-budget-pill--ok {
  background: #ecfdf5;
  color: #047857;
}
.aa-credits-budget-pill--warn {
  background: #fffbeb;
  color: #b45309;
}
.aa-credits-budget-pill--critical {
  background: #fef2f2;
  color: #b91c1c;
}
.aa-credits-budget-pill--exceeded {
  background: #fee2e2;
  color: #7f1d1d;
}
.aa-credits-chargeback-actions {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0;
  padding: 0;
  list-style: none;
}
.aa-credits-chargeback-actions li {
  padding: 0.1rem 0;
}

/* Executive value + platform flow */
.aa-exec-value {
  border: 1px solid rgba(14, 165, 233, 0.2);
  background: rgba(255, 255, 255, 0.92);
}
.aa-exec-value-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .aa-exec-value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.aa-exec-value-grid li {
  padding: 0.75rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: #f8fafc;
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.45;
}
.aa-exec-value-grid strong {
  display: block;
  color: #0f172a;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
.aa-platform-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0369a1;
}
.aa-platform-flow span:not(.aa-flow-arrow) {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(224, 242, 254, 0.9);
  border: 1px solid rgba(14, 165, 233, 0.25);
}
.aa-flow-arrow {
  color: #64748b;
  font-weight: 400;
}
.aa-dogfood-checklist {
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .aa-dogfood-checklist {
    grid-template-columns: repeat(2, 1fr);
  }
}
.aa-dogfood-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.82rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.aa-dogfood-check--pass {
  background: rgba(22, 163, 74, 0.08);
  border-color: rgba(22, 163, 74, 0.3);
  color: #166534;
}
.aa-dogfood-check--fail {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.35);
  color: #92400e;
}

/* Operator mode — focus console when signed in */
body.aa-operator-mode .aa-marketing-lane {
  display: none;
}
body.aa-operator-mode.aa-show-marketing .aa-marketing-lane {
  display: block;
}
body.aa-operator-mode #aa-quickstart.aa-quickstart--done {
  display: none;
}
body.aa-operator-mode .aa-console-header {
  margin-top: 0.75rem;
}
.aa-console-header--live .aa-console-header-kicker {
  color: #047857;
}
.aa-last-refresh {
  font-size: 0.68rem;
  color: #64748b;
  white-space: nowrap;
}
.aa-command-bar {
  position: relative;
  overflow: hidden;
}
.aa-command-loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #0284c7, transparent);
  background-size: 200% 100%;
  animation: aa-cmd-load 1s linear infinite;
}
.aa-command-loading.hidden {
  display: none;
}
@keyframes aa-cmd-load {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.aa-tab-divider {
  width: 1px;
  height: 1.25rem;
  background: rgba(148, 163, 184, 0.45);
  align-self: center;
  flex-shrink: 0;
  margin: 0 0.15rem;
}
.aa-tab--secondary {
  opacity: 0.88;
}
.aa-tab-bar-wrap::before,
.aa-tab-bar-wrap::after {
  content: '';
  position: absolute;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 1.5rem;
  pointer-events: none;
  z-index: 31;
  opacity: 0;
  transition: opacity 0.2s;
}
.aa-tab-bar-wrap.aa-tabs-scroll-left::before {
  opacity: 1;
  left: 0;
  background: linear-gradient(90deg, rgba(228, 236, 244, 0.98), transparent);
}
.aa-tab-bar-wrap.aa-tabs-scroll-right::after {
  opacity: 1;
  right: 0;
  background: linear-gradient(270deg, rgba(228, 236, 244, 0.98), transparent);
}
.aa-kpi-card--link {
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.aa-kpi-card--link:hover {
  border-color: #7dd3fc;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.12);
  transform: translateY(-1px);
}
.aa-kpi-card--link:focus-visible {
  outline: 2px solid #0284c7;
  outline-offset: 2px;
}
.aa-kpi-card-hint {
  font-size: 0.62rem;
  color: #64748b;
  margin-top: 0.35rem;
  opacity: 0;
  transition: opacity 0.15s;
}
.aa-kpi-card--link:hover .aa-kpi-card-hint,
.aa-kpi-card--link:focus-visible .aa-kpi-card-hint {
  opacity: 1;
}
.aa-empty-state {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: 0.65rem;
  border: 1px dashed rgba(148, 163, 184, 0.5);
  background: rgba(248, 250, 252, 0.85);
}
.aa-empty-state-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.aa-empty-state-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.35rem;
}
.aa-empty-state-desc {
  font-size: 0.82rem;
  color: #64748b;
  margin: 0 auto 0.85rem;
  max-width: 22rem;
  line-height: 1.45;
}
.aa-dash-empty-cta {
  text-align: left;
}

/* Shadow AI panels — explicit contrast (do not rely on missing tailwind opacity utilities) */
.aa-shadow-drilldown {
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #0f172a;
}
.aa-shadow-drilldown-title {
  color: #78350f;
  font-weight: 700;
}
.aa-shadow-drilldown-sub {
  color: #92400e;
}
.aa-shadow-drilldown-item {
  background: #ffffff;
  border: 1px solid #fde68a;
  color: #0f172a;
}
.aa-shadow-drilldown-badge {
  background: #fef3c7;
  color: #92400e;
  font-size: 10px;
  text-transform: uppercase;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
}
.aa-shadow-drilldown-reason {
  color: #334155;
  font-size: 0.75rem;
}
.aa-shadow-dashboard {
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #0f172a;
}
.aa-shadow-dashboard h3 {
  color: #78350f;
}
.aa-shadow-dashboard strong {
  color: #78350f;
}
.aa-shadow-dashboard .aa-shadow-label {
  color: #92400e;
  font-size: 0.75rem;
}
.aa-shadow-dashboard .aa-shadow-trend {
  color: #78350f;
  font-size: 0.75rem;
}
.aa-clinical-shadow-spend {
  background: linear-gradient(135deg, #1e3a8a 0%, #4338ca 100%);
  color: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.aa-clinical-shadow-spend .aa-spend-kicker {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.aa-clinical-shadow-spend .aa-spend-total {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
}
.aa-clinical-shadow-spend .aa-spend-meta {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
}
.aa-clinical-shadow-spend .aa-spend-muted {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.75rem;
}
.aa-clinical-shadow-spend table {
  color: #ffffff;
  width: 100%;
  font-size: 0.75rem;
}
.aa-clinical-shadow-spend th,
.aa-clinical-shadow-spend td {
  color: #ffffff;
  padding: 0.35rem 0.25rem;
}
.aa-clinical-shadow-spend thead th {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
}
.aa-clinical-shadow-spend tbody tr {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Company positioning — five questions + capabilities (procurement-facing) */
.aa-five-questions {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: aa-q;
  display: grid;
  gap: 0.5rem;
}
.aa-five-questions li {
  counter-increment: aa-q;
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
  padding: 0.65rem 0.85rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 0.875rem;
  color: #334155;
}
.aa-five-questions li::before {
  content: counter(aa-q);
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #0ea5e9;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.aa-capabilities-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}
.aa-capabilities-list li {
  font-size: 0.875rem;
  color: #334155;
  padding-left: 1.1rem;
  position: relative;
}
.aa-capabilities-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0284c7;
  font-weight: 700;
}
.aa-capabilities-list--hero {
  margin-top: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}
.aa-framework-alignment {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
  font-size: 0.8125rem;
  color: #0c4a6e;
  line-height: 1.5;
}
.aa-positioning-disclaimer {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #fde68a;
  background: #fffbeb;
  font-size: 0.8125rem;
  color: #78350f;
  line-height: 1.45;
}
.aa-budget-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.aa-budget-pill {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0c4a6e;
  background: #e0f2fe;
  border: 1px solid #7dd3fc;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
}

/* Buyer keyword grids — procurement / SEO-facing terms by vertical */
.aa-keyword-groups {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .aa-keyword-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1200px) {
  .aa-keyword-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .aa-keyword-group--edge {
    grid-column: span 2;
  }
}
.aa-keyword-group {
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid #e2e8f0;
  background: #ffffff;
}
.aa-keyword-group--exec {
  border-color: #bae6fd;
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}
.aa-keyword-group--clinical {
  border-color: #fecdd3;
  background: linear-gradient(180deg, #fff1f2 0%, #ffffff 100%);
}
.aa-keyword-group--gov {
  border-color: #c7d2fe;
  background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%);
}
.aa-keyword-group--agent {
  border-color: #ddd6fe;
  background: linear-gradient(180deg, #f5f3ff 0%, #ffffff 100%);
}
.aa-keyword-group--edge {
  border-color: #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #ffffff 100%);
}
.aa-keyword-group-title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}
.aa-keyword-group-desc {
  margin: 0.25rem 0 0.65rem;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
}
.aa-keyword-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.aa-keyword-list li {
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  line-height: 1.3;
}
.aa-keyword-footnote {
  margin: 0.65rem 0 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #6d28d9;
}

/* Product suite hierarchy + AI Control Tower */
.aa-hierarchy-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0f172a;
}
.aa-hierarchy-flow span:not(.aa-flow-arrow) {
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #bae6fd;
  background: #f0f9ff;
}
.aa-hierarchy-flow .aa-flow-arrow {
  color: #64748b;
  font-weight: 700;
}
.aa-control-tower-tree {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: 0.65rem;
  border: 1px solid #cbd5e1;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.aa-control-tower-tree-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f172a;
}
.aa-control-tower-sections {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.aa-control-tower-tagline {
  margin: 0.75rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0369a1;
}
.aa-tower-link,
.aa-tower-nav-btn {
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.aa-tower-link:hover,
.aa-tower-nav-btn:hover {
  border-color: #0284c7;
  color: #0369a1;
  background: #f0f9ff;
}
.aa-tower-nav-btn--active {
  border-color: #0284c7;
  background: #0ea5e9;
  color: #ffffff;
}
.aa-tower-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0369a1;
}
.aa-control-tower-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

/* Executive AI Board — do NOT use .vo-surface (white overlay hides dark text) */
.aa-executive-board {
  padding: 1.25rem 1.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(15, 23, 42, 0.25);
  background: linear-gradient(145deg, #0f172a 0%, #1e293b 55%, #0f172a 100%);
  color: #f8fafc;
  box-shadow: 0 10px 36px rgba(15, 23, 42, 0.22);
}
.aa-executive-board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.aa-executive-board-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f8fafc;
  line-height: 1.2;
}
.aa-executive-board-subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.45;
}
.aa-executive-board-readiness {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  max-width: 100%;
  line-height: 1.35;
}
.aa-executive-board-readiness--approved {
  color: #047857;
  background: #ecfdf5;
  border-color: #6ee7b7;
}
.aa-executive-board-readiness--conditional {
  color: #b45309;
  background: #fffbeb;
  border-color: #fcd34d;
}
.aa-executive-board-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .aa-executive-board-metrics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
.aa-executive-board-metric {
  padding: 0.75rem 0.5rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
}
.aa-executive-board-metric-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1.1;
}
.aa-executive-board-metric-label {
  margin-top: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
}
.aa-executive-board-posture {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}
@media (min-width: 640px) {
  .aa-executive-board-posture {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.aa-executive-board-posture-item {
  padding: 0.75rem 0.85rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}
.aa-executive-board-posture-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 0.2rem;
}
.aa-executive-board-posture-value {
  font-size: 1.125rem;
  font-weight: 800;
  color: #f8fafc;
}
.aa-executive-board-narrative {
  margin: 1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #cbd5e1;
}

/* ---- Control Tower nav (hero) ---- */
.aa-control-tower-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

@media (min-width: 768px) {
  .aa-control-tower-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .aa-control-tower-nav {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.aa-ct-nav-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aa-ct-nav-item:hover {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: 0 4px 14px -6px rgba(14, 165, 233, 0.35);
}

.aa-ct-nav-item--featured {
  border-color: rgba(14, 165, 233, 0.45);
  background: linear-gradient(145deg, rgba(240, 249, 255, 0.95), rgba(255, 255, 255, 0.92));
}

.aa-ct-nav-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}

.aa-ct-nav-hint {
  font-size: 0.6875rem;
  color: #64748b;
  line-height: 1.3;
}

.aa-suite-card--featured {
  border-color: rgba(14, 165, 233, 0.45);
  background: linear-gradient(145deg, rgba(240, 249, 255, 0.95), rgba(255, 255, 255, 0.98));
}

.aa-tab--featured.vo-tab-idle {
  color: #0369a1;
  font-weight: 600;
}

/* ---- Connectors dashboard ---- */
.aa-connectors-panel {
  display: grid;
  gap: 1.25rem;
}

.aa-conn-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (max-width: 640px) {
  .aa-conn-summary {
    grid-template-columns: 1fr;
  }
}

.aa-conn-stat {
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
}

.aa-conn-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0369a1;
  line-height: 1.1;
}

.aa-conn-stat span {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aa-conn-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.aa-conn-category h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.aa-conn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr));
  gap: 0.65rem;
}

.aa-conn-card {
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #fff;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.aa-conn-card--configured {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(160deg, rgba(236, 253, 245, 0.5), #fff);
}

.aa-conn-card-head {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.aa-conn-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
  flex-shrink: 0;
}

.aa-conn-meta {
  flex: 1;
  min-width: 0;
}

.aa-conn-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.aa-conn-purpose {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.35;
  margin-top: 0.15rem;
}

.aa-conn-status {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  white-space: nowrap;
}

.aa-conn-status--available {
  color: #047857;
  background: rgba(16, 185, 129, 0.12);
}

.aa-conn-status--pilot {
  color: #b45309;
  background: rgba(245, 158, 11, 0.14);
}

.aa-conn-status--planned {
  color: #475569;
  background: rgba(148, 163, 184, 0.18);
}

.aa-conn-status--future {
  color: #6d28d9;
  background: rgba(139, 92, 246, 0.12);
}

.aa-conn-details {
  font-size: 0.72rem;
  color: #475569;
  display: grid;
  gap: 0.25rem;
}

.aa-conn-details .warning {
  color: #b45309;
  font-weight: 600;
}

.aa-conn-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
}

.aa-conn-value {
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(14, 165, 233, 0.25);
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.95), rgba(255, 255, 255, 0.92));
  font-size: 0.8125rem;
  color: #334155;
  line-height: 1.55;
}

.aa-conn-value strong {
  color: #0c4a6e;
}

.aa-conn-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
}

.aa-conn-modal-card {
  width: min(100%, 28rem);
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 24px 48px -20px rgba(15, 23, 42, 0.45);
  padding: 1rem 1.15rem;
}

.aa-conn-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.aa-conn-modal-head h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.aa-conn-modal-close {
  border: none;
  background: transparent;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}

.aa-conn-modal-list {
  margin: 0.5rem 0 0.75rem 1rem;
  font-size: 0.8125rem;
  color: #475569;
}

.aa-conn-perm-note {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-size: 0.75rem;
  color: #64748b;
  padding: 0.55rem 0.65rem;
  border-radius: 0.45rem;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.aa-conn-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

/* ---- Connectors-first Control Tower architecture ---- */
.aa-hero-link--primary {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff !important;
  border-color: transparent;
  font-weight: 600;
}

.aa-hero-link--primary:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  color: #fff !important;
}

.aa-control-tower-arch {
  padding: 1.25rem 1.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(14, 165, 233, 0.28);
  background: linear-gradient(160deg, rgba(240, 249, 255, 0.92), rgba(255, 255, 255, 0.98));
}

.aa-ct-arch-header {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.aa-ct-arch-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  flex-shrink: 0;
}

.aa-ct-arch-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0c4a6e;
  line-height: 1.25;
}

.aa-ct-arch-lead {
  font-size: 0.8125rem;
  color: #475569;
  margin-top: 0.25rem;
  line-height: 1.45;
}

.aa-ct-connectors-banner {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(14, 165, 233, 0.4);
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.95), rgba(255, 255, 255, 0.98));
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.aa-ct-connectors-banner:hover {
  border-color: rgba(2, 132, 199, 0.55);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.12);
}

.aa-ct-connectors-banner-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.aa-ct-connectors-banner-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0c4a6e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.aa-ct-connectors-banner-badge {
  margin-left: auto;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
}

.aa-ct-connectors-banner-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.aa-ct-arch-arrow {
  text-align: center;
  color: #94a3b8;
  font-size: 0.75rem;
  margin: 0.35rem 0;
}

.aa-ct-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (max-width: 768px) {
  .aa-ct-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .aa-ct-module-grid {
    grid-template-columns: 1fr;
  }
}

.aa-ct-module-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
}

.aa-ct-module-card:hover {
  border-color: rgba(14, 165, 233, 0.35);
  background: rgba(240, 249, 255, 0.6);
}

.aa-ct-module-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.aa-ct-module-stat {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #0369a1;
}

.aa-ct-module-stat--warn {
  color: #b45309;
}

.aa-ct-module-hint {
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.35;
}

.aa-ct-discovery-footer {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.75rem;
  text-align: center;
}

.aa-home-connectors-card {
  padding: 1.15rem 1.25rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
}

.aa-home-connectors-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.12);
  margin-bottom: 0.5rem;
}

.aa-home-connectors-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
}

.aa-home-connectors-desc {
  font-size: 0.8125rem;
  color: #475569;
  margin-top: 0.65rem;
  line-height: 1.5;
  max-width: 42rem;
}

.aa-home-entry-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
  margin-top: 0.75rem;
}

@media (max-width: 768px) {
  .aa-home-entry-points {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.aa-home-entry-point {
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.aa-home-entry-point--snow {
  border-color: rgba(5, 150, 105, 0.3);
  background: rgba(236, 253, 245, 0.7);
}

.aa-home-entry-point--health {
  border-color: rgba(190, 18, 60, 0.22);
  background: rgba(255, 241, 242, 0.65);
}

.aa-home-entry-point--federal {
  border-color: rgba(30, 64, 175, 0.25);
  background: rgba(239, 246, 255, 0.75);
}

.aa-home-entry-point--enterprise {
  border-color: rgba(100, 116, 139, 0.28);
}

.aa-home-entry-icon {
  font-size: 1rem;
  line-height: 1;
}

.aa-home-entry-name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}

.aa-home-entry-tag {
  font-size: 0.62rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.aa-home-conn-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.aa-home-conn-cat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.9);
  color: #334155;
}

.aa-home-conn-cat em {
  font-style: normal;
  font-weight: 700;
  color: #0369a1;
}

.aa-home-conn-logos {
  margin-top: 0.65rem;
  font-size: 1.1rem;
  letter-spacing: 0.35rem;
  color: #64748b;
}

.aa-home-connectors-cta {
  margin-top: 0.85rem;
  padding: 0.55rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(14, 165, 233, 0.35);
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}

.aa-home-connectors-cta:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
}

.aa-ct-console-rail {
  margin-bottom: 1rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: rgba(240, 249, 255, 0.55);
}

.aa-ct-rail-kicker {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #0369a1;
  margin-bottom: 0.4rem;
}

.aa-ct-rail-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.aa-ct-rail-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}

.aa-ct-rail-item--featured {
  border-color: rgba(14, 165, 233, 0.4);
  background: rgba(224, 242, 254, 0.7);
  color: #0c4a6e;
}

.aa-ct-rail-item--active {
  border-color: rgba(2, 132, 199, 0.55);
  background: #0284c7;
  color: #fff;
}

.aa-ct-rail-badge {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.aa-ct-rail-item--active .aa-ct-rail-badge {
  background: rgba(255, 255, 255, 0.22);
}

/* Connectors panel — category tabs & discovery flow */
.aa-conn-page-head {
  margin-bottom: 0.25rem;
}

.aa-conn-page-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
}

.aa-conn-page-lead {
  font-size: 0.8125rem;
  color: #475569;
  margin-top: 0.35rem;
  line-height: 1.5;
  max-width: 44rem;
}

.aa-conn-stat small {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  text-transform: none;
  letter-spacing: normal;
  margin-top: 0.15rem;
  line-height: 1.35;
}

.aa-conn-stat--warn strong {
  color: #b45309;
}

.aa-conn-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.aa-conn-category-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
}

.aa-conn-category-tab--active {
  border-color: rgba(14, 165, 233, 0.45);
  background: rgba(224, 242, 254, 0.85);
  color: #0c4a6e;
}

.aa-conn-cat-count {
  font-size: 0.65rem;
  font-weight: 700;
  color: #0369a1;
  background: rgba(14, 165, 233, 0.1);
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
}

.aa-conn-status--connected {
  color: #047857;
  background: rgba(16, 185, 129, 0.14);
}

.aa-conn-how-it-works {
  padding: 1rem 1.1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(248, 250, 252, 0.85);
}

.aa-conn-how-it-works h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.aa-conn-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.aa-conn-flow-step {
  flex: 1;
  min-width: 8rem;
  text-align: center;
  padding: 0.65rem;
}

.aa-conn-flow-icon {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.aa-conn-flow-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #0f172a;
}

.aa-conn-flow-desc {
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.aa-conn-flow-arrow {
  color: #94a3b8;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.aa-home-conn-logos-named {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.aa-home-conn-logo-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.28rem 0.55rem;
  border-radius: 0.4rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(255, 255, 255, 0.95);
  color: #334155;
}

.aa-identity-type-count {
  display: block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 700;
  color: #0369a1;
  margin-top: 0.35rem;
}

.aa-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.65rem;
}

.aa-trust-card {
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.95);
}

.aa-trust-card h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.aa-trust-card p {
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.45;
  margin-bottom: 0.65rem;
}

.aa-trust-frameworks {
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: rgba(240, 249, 255, 0.55);
}

.aa-onboarding-embed {
  margin-bottom: 0.5rem;
}

/* ---- Strategic opportunities (Tier 1) ---- */
.aa-strategic-opportunities {
  padding: 1.25rem 1.35rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
}

.aa-strategic-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #0f172a;
}

.aa-strategic-lead {
  font-size: 0.8125rem;
  color: #475569;
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}

.aa-opportunity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.aa-opportunity-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .aa-opportunity-grid,
  .aa-opportunity-grid--four {
    grid-template-columns: 1fr;
  }
}

.aa-opportunity-card--featured {
  border-width: 2px;
  border-color: rgba(5, 150, 105, 0.45);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.08);
}

.aa-opportunity-card--enterprise-vol {
  border-color: rgba(100, 116, 139, 0.28);
  background: linear-gradient(160deg, rgba(248, 250, 252, 0.9), #fff);
}

.aa-opportunity-priority {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #0369a1;
  margin-bottom: 0.15rem;
}

.aa-opportunity-card--featured .aa-opportunity-priority {
  color: #047857;
}

.aa-opportunity-connectors {
  font-size: 0.68rem;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.aa-opportunity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
}

.aa-opportunity-meta span {
  padding: 0.15rem 0.4rem;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.aa-opportunity-cta--primary {
  background: linear-gradient(135deg, #059669, #047857);
  color: #fff !important;
  border-color: transparent;
}

.aa-opportunity-cta--primary:hover {
  background: linear-gradient(135deg, #047857, #065f46);
}

.aa-roadmap-phases--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1100px) {
  .aa-roadmap-phases--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .aa-roadmap-phases--five {
    grid-template-columns: 1fr;
  }
}

.aa-opportunity-card {
  padding: 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.aa-opportunity-card--federal {
  border-color: rgba(30, 64, 175, 0.28);
  background: linear-gradient(160deg, rgba(239, 246, 255, 0.7), #fff);
}

.aa-opportunity-card--healthcare {
  border-color: rgba(190, 18, 60, 0.22);
  background: linear-gradient(160deg, rgba(255, 241, 242, 0.6), #fff);
}

.aa-opportunity-card--servicenow {
  border-color: rgba(5, 150, 105, 0.25);
  background: linear-gradient(160deg, rgba(236, 253, 245, 0.55), #fff);
}

.aa-opportunity-tier {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.aa-opportunity-card h3 {
  font-size: 0.9375rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.aa-opportunity-problem {
  font-size: 0.75rem;
  color: #475569;
  font-style: italic;
  line-height: 1.45;
  margin: 0;
}

.aa-opportunity-features {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.72rem;
  color: #334155;
  line-height: 1.5;
}

.aa-opportunity-cta {
  margin-top: auto;
  padding: 0.45rem 0.75rem;
  border-radius: 0.45rem;
  border: 1px solid rgba(14, 165, 233, 0.35);
  background: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  color: #0369a1;
  cursor: pointer;
  text-align: left;
}

.aa-opportunity-cta:hover {
  background: rgba(224, 242, 254, 0.8);
}

.aa-federal-compliance-banner {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #1e3a8a;
  padding: 0.4rem 0.55rem;
  border-radius: 0.4rem;
  background: rgba(219, 234, 254, 0.85);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.aa-federal-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.aa-federal-stat {
  padding: 0.45rem;
  border-radius: 0.4rem;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.aa-federal-stat .label {
  display: block;
  font-size: 0.62rem;
  color: #64748b;
  line-height: 1.3;
}

.aa-federal-stat .value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0369a1;
}

.aa-federal-stat--warn .value {
  color: #b45309;
}

.aa-federal-approval-chain h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  margin: 0.5rem 0 0.35rem;
}

.aa-federal-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.62rem;
}

.aa-federal-chain-step {
  padding: 0.2rem 0.4rem;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.95);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.aa-federal-chain-step--done {
  background: rgba(236, 253, 245, 0.9);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.25);
}

.aa-federal-chain-step--active {
  background: rgba(254, 243, 199, 0.9);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.35);
  font-weight: 700;
}

.aa-opportunity-preview-banner {
  font-size: 0.72rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.aa-opportunity-preview-banner--phi {
  background: rgba(254, 226, 226, 0.6);
  border: 1px solid rgba(244, 63, 94, 0.25);
  color: #9f1239;
  font-weight: 600;
}

.aa-opportunity-preview-detail {
  font-size: 0.68rem;
  color: #64748b;
  margin: 0;
}

.aa-servicenow-sync-list {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.72rem;
  color: #334155;
  line-height: 1.45;
}

.aa-servicenow-sync-list em {
  font-style: normal;
  font-weight: 700;
  color: #047857;
}

.aa-phase-roadmap {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
}

.aa-roadmap-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.65rem;
}

.aa-roadmap-phases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (max-width: 768px) {
  .aa-roadmap-phases {
    grid-template-columns: 1fr;
  }
}

.aa-roadmap-phase {
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.92);
}

.aa-roadmap-phase-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.aa-roadmap-phase--now .aa-roadmap-phase-label {
  color: #047857;
}

.aa-roadmap-phase--next .aa-roadmap-phase-label {
  color: #0369a1;
}

.aa-roadmap-phase--future .aa-roadmap-phase-label {
  color: #6d28d9;
}

.aa-roadmap-phase ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.45;
}

.aa-clinical-phi-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.55rem;
  background: rgba(254, 226, 226, 0.45);
  border: 1px solid rgba(244, 63, 94, 0.28);
  font-size: 0.8125rem;
  color: #881337;
}

.aa-clinical-phi-warn {
  color: #b45309;
  font-weight: 600;
}

.aa-clinical-row-critical {
  background: rgba(254, 243, 199, 0.25);
}

.aa-conn-priority {
  margin-left: 0.35rem;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0.08rem 0.35rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  color: #0369a1;
  vertical-align: middle;
}

.aa-conn-capabilities {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.68rem;
  color: #64748b;
  line-height: 1.4;
}

/* Value-first connector experience */
.aa-conn-page-value {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: #475569;
  max-width: 44rem;
  line-height: 1.45;
}

.aa-conn-tagline {
  font-size: 0.75rem;
  color: #0369a1;
  line-height: 1.35;
  margin-top: 0.15rem;
  font-weight: 500;
}

.aa-conn-discovery-banner {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(14, 165, 233, 0.28);
  background: linear-gradient(135deg, rgba(240, 249, 255, 0.95), rgba(255, 255, 255, 0.92));
}

.aa-conn-discovery-banner-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.aa-conn-discovery-banner-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.aa-conn-discovery-banner-badge {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  color: #0369a1;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
}

.aa-conn-discovery-banner-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: 0.65rem;
}

.aa-conn-discovery-stat {
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.aa-conn-discovery-stat--critical {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(255, 251, 235, 0.85);
}

.aa-conn-discovery-stat-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.aa-conn-discovery-stat--critical .aa-conn-discovery-stat-value {
  color: #b45309;
}

.aa-conn-discovery-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  margin-top: 0.2rem;
}

.aa-conn-discovery-stat-detail {
  font-size: 0.62rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.aa-conn-category-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.aa-conn-category-count {
  font-size: 0.68rem;
  color: #64748b;
  font-weight: 600;
}

.aa-conn-discovery-preview {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 0.55rem;
  background: rgba(248, 250, 252, 0.9);
  border: 1px dashed rgba(148, 163, 184, 0.35);
}

.aa-conn-preview-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.45rem;
}

.aa-conn-preview-items {
  display: grid;
  gap: 0.3rem;
}

.aa-conn-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: #334155;
  line-height: 1.35;
}

.aa-conn-preview-item span:first-child {
  color: #059669;
  flex-shrink: 0;
}

.aa-conn-discovery-results {
  margin: 0.75rem 0 0;
  padding: 0.75rem;
  border-radius: 0.55rem;
  background: rgba(236, 253, 245, 0.45);
  border: 1px solid rgba(16, 185, 129, 0.22);
}

.aa-conn-results-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.aa-conn-results-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #065f46;
}

.aa-conn-report-toggle {
  border: none;
  background: none;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: #0369a1;
  cursor: pointer;
  text-decoration: underline;
}

.aa-conn-results-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr));
  gap: 0.45rem;
}

.aa-conn-result-stat {
  text-align: center;
  padding: 0.45rem 0.35rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.aa-conn-result-stat--warn {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(255, 251, 235, 0.9);
}

.aa-conn-result-value {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.aa-conn-result-stat--warn .aa-conn-result-value {
  color: #b45309;
}

.aa-conn-result-label {
  font-size: 0.58rem;
  color: #64748b;
  margin-top: 0.15rem;
  line-height: 1.2;
}

.aa-conn-report-panel {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.aa-conn-report-section {
  margin-bottom: 0.55rem;
}

.aa-conn-report-section--warn {
  padding: 0.55rem 0.65rem;
  border-radius: 0.45rem;
  background: rgba(254, 243, 199, 0.45);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.aa-conn-report-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.25rem;
}

.aa-conn-report-section ul {
  margin: 0;
  padding-left: 1rem;
  font-size: 0.68rem;
  color: #475569;
  line-height: 1.45;
}

.aa-conn-report-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.55rem;
}

.aa-conn-security-note {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-top: 0.65rem;
  font-size: 0.62rem;
  color: #64748b;
  line-height: 1.35;
}

.aa-conn-value-summary {
  margin-top: 1.25rem;
}

.aa-conn-value-card {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(14, 165, 233, 0.22);
  background: rgba(240, 249, 255, 0.65);
}

.aa-conn-value-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.aa-conn-value-text h4 {
  margin: 0 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #0f172a;
}

.aa-conn-value-text p {
  margin: 0;
  font-size: 0.8125rem;
  color: #475569;
  line-height: 1.45;
  max-width: 40rem;
}

/* AI Worker enterprise onboarding */
body.aa-onboard-modal-open {
  overflow: hidden;
}

.aa-onboard-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.aa-onboard-modal.hidden {
  display: none;
}

.aa-onboard-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.aa-onboard-modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: min(92vh, 900px);
  overflow: auto;
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.aa-onboard-modal-inner {
  padding: 1.1rem 1.25rem 1rem;
}

.aa-onboard-modal-header {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.aa-onboard-modal-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(224, 231, 255, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.25);
  font-size: 1.1rem;
}

.aa-onboard-modal-header h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}

.aa-onboard-modal-subtitle {
  margin: 0.25rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
  max-width: 34rem;
}

.aa-onboard-modal-close {
  margin-left: auto;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.aa-onboard-step-progress {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.aa-onboard-step {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.aa-onboard-step-num {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
}

.aa-onboard-step--active .aa-onboard-step-num {
  color: #fff;
  background: linear-gradient(135deg, #4f46e5, #0284c7);
  border-color: transparent;
}

.aa-onboard-step--done .aa-onboard-step-num {
  color: #047857;
  background: rgba(209, 250, 229, 0.95);
  border-color: rgba(16, 185, 129, 0.35);
}

.aa-onboard-step-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #475569;
}

.aa-onboard-step--active .aa-onboard-step-title {
  color: #312e81;
}

.aa-onboard-step-line {
  width: 1.25rem;
  height: 2px;
  background: #cbd5e1;
  margin: 0 0.15rem;
}

.aa-onboard-form-group {
  margin-bottom: 0.85rem;
}

.aa-onboard-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.aa-onboard-input,
.aa-onboard-select,
.aa-onboard-textarea {
  width: 100%;
  font-size: 0.85rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.45);
  background: #fff;
}

.aa-onboard-textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.aa-onboard-hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  color: #64748b;
}

.aa-onboard-risk-grid,
.aa-onboard-provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

@media (min-width: 640px) {
  .aa-onboard-risk-grid,
  .aa-onboard-provider-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.aa-onboard-risk-option,
.aa-onboard-provider-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  padding: 0.55rem 0.6rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: #f8fafc;
  cursor: pointer;
  text-align: left;
  font-size: 0.75rem;
  color: #64748b;
}

.aa-onboard-risk-option strong,
.aa-onboard-provider-option span:first-child {
  font-size: 0.8rem;
  color: #0f172a;
}

.aa-onboard-risk-option--selected,
.aa-onboard-provider-option--selected {
  border-color: rgba(79, 70, 229, 0.45);
  background: rgba(238, 242, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.15);
}

.aa-onboard-risk-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  display: inline-block;
}

.aa-onboard-risk-dot--low { background: #22c55e; }
.aa-onboard-risk-dot--medium { background: #eab308; }
.aa-onboard-risk-dot--high { background: #f97316; }
.aa-onboard-risk-dot--critical { background: #ef4444; }

.aa-onboard-provider-badge {
  font-size: 0.68rem;
  color: #64748b;
}

.aa-onboard-approval-chain {
  margin-top: 0.5rem;
  padding: 0.75rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: rgba(238, 242, 255, 0.45);
}

.aa-onboard-approval-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #312e81;
  margin-bottom: 0.55rem;
}

.aa-onboard-approvers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.aa-onboard-approver {
  padding: 0.4rem 0.55rem;
  border-radius: 0.45rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.aa-onboard-approver-role {
  font-size: 0.72rem;
  font-weight: 600;
  color: #334155;
}

.aa-onboard-approver-status {
  font-size: 0.68rem;
  color: #b45309;
  font-weight: 600;
}

.aa-onboard-approver-arrow {
  color: #94a3b8;
  font-size: 0.75rem;
}

.aa-onboard-access-grid {
  display: grid;
  gap: 0.45rem;
}

.aa-onboard-access-option {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  padding: 0.6rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #f8fafc;
  cursor: pointer;
}

.aa-onboard-access-option--sensitive {
  border-color: rgba(251, 191, 36, 0.35);
  background: rgba(255, 251, 235, 0.65);
}

.aa-onboard-access-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
}

.aa-onboard-access-desc {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.aa-onboard-sensitive {
  margin-top: 0.75rem;
}

.aa-onboard-sensitive-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #92400e;
  margin-bottom: 0.45rem;
}

.aa-onboard-review-card {
  padding: 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(16, 185, 129, 0.28);
  background: rgba(236, 253, 245, 0.55);
}

.aa-onboard-review-head {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #065f46;
  margin-bottom: 0.65rem;
}

.aa-onboard-review-section {
  margin-bottom: 0.55rem;
}

.aa-onboard-review-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 600;
}

.aa-onboard-review-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
}

.aa-onboard-review-desc {
  font-size: 0.78rem;
  color: #64748b;
}

.aa-onboard-review-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}

.aa-onboard-review-tag {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(224, 231, 255, 0.9);
  border: 1px solid rgba(99, 102, 241, 0.22);
  color: #3730a3;
}

.aa-onboard-review-warning {
  display: flex;
  gap: 0.35rem;
  align-items: flex-start;
  margin-top: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.45rem;
  background: rgba(254, 243, 199, 0.75);
  border: 1px solid rgba(251, 191, 36, 0.35);
  font-size: 0.75rem;
  color: #92400e;
}

.aa-onboard-modal-footer {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.aa-wf-enterprise-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.aa-wf-enterprise-tagline {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 0.2rem;
}

.aa-wf-onboard-btn {
  flex-shrink: 0;
}

.aa-wf-table-wrap {
  overflow-x: auto;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.aa-wf-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.aa-wf-table th,
.aa-wf-table td {
  padding: 0.55rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.aa-wf-table th {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  background: #f8fafc;
}

.aa-wf-worker-name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: #0f172a;
}

.aa-wf-purpose {
  color: #475569;
  max-width: 14rem;
}

.aa-wf-access-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.aa-wf-access-tag {
  font-size: 0.68rem;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(224, 231, 255, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #3730a3;
}

.aa-wf-access-tag--sensitive {
  background: rgba(254, 226, 226, 0.85);
  border-color: rgba(239, 68, 68, 0.25);
  color: #991b1b;
}

.aa-wf-risk {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.aa-wf-risk--low { background: rgba(220, 252, 231, 0.9); color: #166534; }
.aa-wf-risk--medium { background: rgba(254, 249, 195, 0.95); color: #854d0e; }
.aa-wf-risk--high { background: rgba(255, 237, 213, 0.95); color: #9a3412; }
.aa-wf-risk--critical { background: rgba(254, 226, 226, 0.95); color: #991b1b; }

.aa-wf-status {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.aa-wf-status--active { background: rgba(220, 252, 231, 0.9); color: #166534; }
.aa-wf-status--pending { background: rgba(254, 249, 195, 0.95); color: #854d0e; }
.aa-wf-status--awaiting { background: rgba(224, 231, 255, 0.9); color: #3730a3; }

.aa-wf-manage-btn {
  border: none;
  background: transparent;
  color: #0284c7;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.aa-onboard-enterprise-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 242, 255, 0.65));
}

.aa-onboard-enterprise-bullets {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: #475569;
}

.aa-onboard-enterprise-bullets li {
  margin-bottom: 0.2rem;
}

.aa-onboard-flow-diagram {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
}

.aa-onboard-flow-step {
  padding: 0.45rem 0.65rem;
  border-radius: 0.45rem;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.28);
  font-size: 0.75rem;
  color: #475569;
}

.aa-onboard-flow-step strong {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}

.aa-onboarding-install-details {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.55rem;
  border: 1px dashed rgba(148, 163, 184, 0.45);
  background: rgba(248, 250, 252, 0.65);
}

.aa-onboarding-install-details summary {
  list-style: none;
}

.aa-onboarding-install-details summary::-webkit-details-marker {
  display: none;
}

/* AI Workforce Management hero + fleet */
.aa-wf-hero {
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(238, 242, 255, 0.72));
}

.aa-wf-hero-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4338ca;
}

.aa-wf-hero-title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.aa-wf-hero-lead {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: #475569;
  max-width: 42rem;
}

.aa-wf-hero-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.aa-wf-hero-checklist--static {
  max-width: 28rem;
}

.aa-wf-hero-checklist li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: #334155;
}

.aa-wf-hero-check {
  color: #059669;
  font-weight: 700;
}

.aa-wf-overview {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(248, 250, 252, 0.95);
}

.aa-wf-overview-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.aa-wf-overview-head strong {
  font-size: 0.95rem;
  color: #0f172a;
}

.aa-wf-overview-sub {
  font-size: 0.75rem;
  color: #64748b;
}

.aa-wf-overview-tree {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .aa-wf-overview-tree {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .aa-wf-overview-tree {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.aa-wf-overview-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #334155;
  padding: 0.45rem 0.55rem;
  border-radius: 0.45rem;
  background: #fff;
  border: 1px solid rgba(148, 163, 184, 0.22);
}

.aa-wf-overview-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.aa-wf-overview-item--active .aa-wf-overview-count {
  background: rgba(220, 252, 231, 0.95);
  color: #166534;
}

.aa-wf-overview-item--pending .aa-wf-overview-count {
  background: rgba(254, 249, 195, 0.95);
  color: #854d0e;
}

.aa-wf-overview-item--suspended .aa-wf-overview-count {
  background: rgba(241, 245, 249, 0.95);
  color: #475569;
}

.aa-wf-overview-item--risk .aa-wf-overview-count {
  background: rgba(254, 226, 226, 0.95);
  color: #991b1b;
}

.aa-wf-list-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.aa-wf-list-hint {
  font-size: 0.72rem;
  color: #64748b;
}

.aa-wf-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .aa-wf-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .aa-wf-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.aa-wf-worker-card {
  padding: 0.85rem 0.95rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: #fff;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.aa-wf-worker-card--suspended {
  opacity: 0.82;
  background: rgba(248, 250, 252, 0.95);
}

.aa-wf-worker-card--high_risk_review {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(254, 242, 242, 0.35);
}

.aa-wf-worker-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.aa-wf-worker-card-name {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
}

.aa-wf-worker-card-purpose {
  margin: 0 0 0.55rem;
  font-size: 0.8rem;
  color: #475569;
}

.aa-wf-worker-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 0.65rem;
  margin: 0 0 0.55rem;
}

.aa-wf-worker-card-meta dt {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 600;
}

.aa-wf-worker-card-meta dd {
  margin: 0;
  font-size: 0.78rem;
  color: #334155;
}

.aa-wf-worker-card-access {
  margin-bottom: 0.55rem;
}

.aa-wf-worker-card-access-label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.aa-wf-gov-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.55rem;
}

.aa-wf-gov-badge {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.aa-wf-gov-badge--on {
  background: rgba(220, 252, 231, 0.9);
  border-color: rgba(16, 185, 129, 0.25);
  color: #166534;
}

.aa-wf-gov-badge--off {
  background: rgba(241, 245, 249, 0.95);
  border-color: rgba(148, 163, 184, 0.25);
  color: #94a3b8;
}

.aa-wf-worker-card-manage {
  margin-top: 0.15rem;
}

.aa-wf-status--suspended {
  background: rgba(241, 245, 249, 0.95);
  color: #475569;
}

.aa-wf-status--high-risk {
  background: rgba(254, 226, 226, 0.95);
  color: #991b1b;
}

.aa-onboard-hint--inline {
  margin: 0 0 0.45rem;
}

.aa-onboard-example-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}

.aa-onboard-example-chips--muted .aa-onboard-example-chip {
  background: #f8fafc;
  color: #64748b;
  border-color: #e2e8f0;
}

.aa-onboard-example-chip {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1e40af;
  font-size: 0.7rem;
  line-height: 1.3;
}

.aa-onboard-risk-dot--tier1 { background: #22c55e; }
.aa-onboard-risk-dot--tier2 { background: #3b82f6; }
.aa-onboard-risk-dot--tier3 { background: #f97316; }
.aa-onboard-risk-dot--tier4 { background: #ef4444; }

.aa-onboard-tier-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  font-weight: 600;
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.aa-onboard-tier-badge--tier3,
.aa-onboard-tier-badge--tier4 {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fed7aa;
}

.aa-onboard-review-chain {
  font-weight: 600;
  color: #334155;
}

.aa-onboard-activation-path {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.aa-onboard-activation-head {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 0.55rem;
}

.aa-onboard-activation-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.aa-onboard-activation-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #334155;
}

.aa-onboard-activation-step--queued {
  color: #0f766e;
}

.aa-onboard-activation-step--future {
  color: #94a3b8;
}

.aa-onboard-activation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  font-weight: 700;
}

.aa-clinical-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.aa-clinical-section-pill {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

.aa-clinical-section-pill:hover {
  border-color: #fda4af;
  color: #be123c;
  background: #fff1f2;
}

.aa-clinical-worker-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.aa-clinical-worker-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fafafa;
}

.aa-clinical-worker-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.aa-clinical-worker-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.aa-clinical-worker-status {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.aa-clinical-worker-status--approved {
  background: #dcfce7;
  color: #166534;
}

.aa-clinical-worker-status--pending {
  background: #fef3c7;
  color: #92400e;
}

.aa-clinical-worker-meta {
  margin: 0;
  font-size: 0.75rem;
}

.aa-clinical-worker-meta dt {
  color: #64748b;
  font-weight: 600;
  margin-top: 0.35rem;
}

.aa-clinical-worker-meta dd {
  margin: 0.1rem 0 0;
  color: #334155;
}

.aa-clinical-worker-access-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.15rem;
}

.aa-clinical-worker-access {
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.aa-clinical-connector-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.aa-clinical-connector-card {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  background: #fff;
}

.aa-clinical-connector-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
