/* Cloud Cost Intelligence — dashboard (Enlight Lab light theme) */

.btn-scan-hero {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.btn-scan-hero:hover {
  filter: brightness(1.06);
  color: #fff;
}

.btn-tf-hero {
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #10b981 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.btn-tf-hero:hover {
  filter: brightness(1.06);
  color: #fff;
}

.btn-billing-hero {
  background: linear-gradient(135deg, #7c3aed 0%, #9333ea 45%, #c026d3 100%);
  color: #fff;
  border: none;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.btn-billing-hero:hover {
  filter: brightness(1.06);
  color: #fff;
}

.product-value-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-journey {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
}

.journey-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0.25rem 0 1rem;
  color: var(--navy);
}

.journey-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .journey-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.journey-step {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
}

.journey-step-num {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(135deg, #2563eb, #3b82f6);
}

.journey-step:nth-child(2) .journey-step-num {
  background: linear-gradient(135deg, #059669, #10b981);
}

.journey-step:nth-child(3) .journey-step-num {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.journey-step-body strong {
  display: block;
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.journey-step-body p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--slate);
  line-height: 1.45;
}

.workflow-section-head {
  margin: 1.5rem 0 0.85rem;
}

.workflow-section-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.2rem 0 0.4rem;
  color: var(--navy);
}

.workflow-section-intro {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate);
  max-width: 46rem;
  line-height: 1.5;
}

.hero-cta-groups {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  width: 100%;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
}

.hero-cta-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.value-pill {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border, #e2e8f0);
  background: #fff;
}

.value-pill-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.35rem;
}

.value-pill h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-family: var(--font-display);
  color: var(--navy, #0f172a);
}

.value-pill p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--slate, #64748b);
  line-height: 1.45;
}

.workspace-delivers {
  margin: 0.5rem 0 1rem;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.55;
}

.workspace-delivers li {
  margin-bottom: 0.2rem;
}

.path-card-tf.active {
  border-color: #059669;
  background: linear-gradient(180deg, #ecfdf5 0%, #fff 55%);
}

.path-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: none;
  background: transparent;
  box-shadow: none;
}

.path-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  text-align: left;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 2px solid var(--border, #e2e8f0);
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.path-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.1);
}

.path-card.active {
  border-color: #2563eb;
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.18);
  background: linear-gradient(180deg, #eff6ff 0%, #fff 55%);
}

.path-card-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.path-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy, #0f172a);
}

.path-card-desc {
  font-size: 0.88rem;
  color: var(--slate, #64748b);
  line-height: 1.45;
}

.path-card-badge {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
}

.path-card-badge-live {
  background: #dcfce7;
  color: #166534;
}

.path-card-badge-soon {
  background: #f1f5f9;
  color: #64748b;
}

.sample-stack-facts {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.55;
}

.git-scan-block {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.git-input-hero {
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-width: 2px;
}

.label-optional {
  font-weight: 400;
  color: var(--slate);
  font-size: 0.85em;
}

.paste-fallback {
  margin-top: 1.25rem;
  padding: 0.75rem 0;
}

.paste-fallback summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--slate);
}

.paste-fallback-body {
  margin-top: 0.75rem;
}

.cloud-provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.cloud-provider-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px dashed var(--border);
  background: #f8fafc;
  opacity: 0.85;
}

.cloud-provider-card-muted {
  opacity: 0.55;
}

.cloud-provider-card-active {
  border-color: #c7d7fe;
  background: #f0f5ff;
}

.cloud-oci-connected {
  margin-bottom: 1rem;
}

.cloud-post-data-status {
  margin: 0.5rem 0 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.billing-dropzone {
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  background: #fafbfc;
  margin-bottom: 0.75rem;
  transition: border-color 0.15s, background 0.15s;
}

.billing-dropzone-active {
  border-color: #3b82f6;
  background: #eff6ff;
}

.billing-upload-intro {
  margin-bottom: 0.75rem;
}

.billing-csv-status {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
}

.billing-csv-status.error {
  color: #b91c1c;
}

.billing-csv-status.ok {
  color: #047857;
}

.billing-csv-preview {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.billing-preview-title {
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.billing-preview-stats {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  font-size: 0.92rem;
}

.billing-preview-table {
  font-size: 0.88rem;
}

.billing-cta {
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.5rem;
  border: 2px solid #e9d5ff;
  background: linear-gradient(135deg, #faf5ff 0%, #fff 55%, #fdf4ff 100%);
  border-radius: 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.billing-cta-active {
  border-color: #a855f7;
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
}

.billing-cta-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
}

.billing-cta-copy {
  flex: 1 1 280px;
  min-width: 0;
}

.billing-cta-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.25rem 0 0.5rem;
  color: var(--navy, #0f172a);
  line-height: 1.3;
}

.billing-cta-intro {
  margin: 0;
  max-width: 42rem;
}

.billing-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.billing-results {
  margin-bottom: 1.5rem;
}

.billing-stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.billing-stat {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border, #e2e8f0);
}

.billing-stat strong {
  display: block;
  font-size: 1.35rem;
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0.15rem 0;
}

.billing-stat-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.billing-stat-sub {
  font-size: 0.82rem;
  color: var(--slate);
}

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

.billing-stat-good strong {
  color: #047857;
}

.billing-stat-save {
  border-color: #c4b5fd;
  background: linear-gradient(180deg, #f5f3ff, #fff);
}

.billing-stat-save strong {
  color: #6d28d9;
}

.billing-bar-chart {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.billing-bar-row {
  display: grid;
  grid-template-columns: minmax(100px, 1.2fr) 2fr auto auto;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.88rem;
}

.billing-bar-label {
  font-weight: 600;
  color: var(--navy);
}

.billing-bar-track {
  height: 10px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.billing-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c3aed, #a855f7);
}

.billing-bar-amt {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.billing-bar-pct {
  color: var(--slate);
  font-size: 0.82rem;
  min-width: 3rem;
  text-align: right;
}

.billing-nudge {
  padding: 1rem 1.15rem;
  background: #f8fafc;
  border-style: dashed;
}

.billing-opt-table {
  margin-top: 0.75rem;
}

.billing-bar-row-other .billing-bar-label {
  font-style: italic;
  color: var(--slate);
}

.billing-bar-fill-tag {
  background: linear-gradient(90deg, #059669, #10b981);
}

.billing-breakdown-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.billing-tab {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  color: var(--slate);
}

.billing-tab.active {
  border-color: #7c3aed;
  background: #f5f3ff;
  color: #6d28d9;
}

.billing-estimate-edit {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.billing-estimate-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.billing-estimate-edit-btn {
  border: none;
  background: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
  color: var(--slate);
}

.billing-estimate-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.billing-estimate-input {
  width: 7rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
}

.billing-date-filter {
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px dashed var(--border);
  border-radius: 12px;
}

.billing-date-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  font-size: 0.88rem;
}

.billing-date-row input[type="date"] {
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.billing-variance-warn {
  color: #b45309;
  font-size: 0.88rem;
  margin: 0.5rem 0 0;
  padding: 0.5rem 0.65rem;
  background: #fffbeb;
  border-radius: 8px;
  border: 1px solid #fde68a;
}

.billing-opt-footer {
  margin-top: 0.75rem;
}

.billing-report-actions {
  margin-top: 0.75rem;
}

.billing-parse-warn {
  color: #b45309;
  margin-top: 0.35rem;
}

.cloud-connect-soon,
.cloud-roadmap {
  padding: 1rem;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.cloud-roadmap-title {
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.cloud-roadmap-list {
  margin: 0 0 0.75rem;
  padding-left: 1.2rem;
  font-size: 0.92rem;
}

.cloud-roadmap-list li {
  margin-bottom: 0.35rem;
}

.cloud-roadmap-note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.report-context-dl {
  display: grid;
  gap: 0.65rem;
  margin: 0.75rem 0 0;
}

.report-context-dl > div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 0.5rem;
  font-size: 0.92rem;
}

.report-context-dl dt {
  font-weight: 700;
  color: var(--slate);
}

.report-context-sample {
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.9rem;
}

.report-term-hint {
  font-size: 0.82rem;
  color: var(--slate);
}

.cost-compare-table .compare-total-row {
  background: #f8fafc;
  font-weight: 700;
}

.report-glossary {
  margin-top: 1rem;
  font-size: 0.88rem;
}

.report-glossary-list {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--slate);
  line-height: 1.55;
}

.btn-sample {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.btn-sample:hover {
  filter: brightness(1.05);
  color: #fff;
}

.sample-repo-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  border: 2px solid #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.sample-repo-banner .workspace-title {
  margin: 0.15rem 0 0.35rem;
  font-size: 1.15rem;
}

.sample-repo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.workspace-panel-primary {
  border: 2px solid var(--blue, #2563eb);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.12);
}

.upload-actions-prominent {
  margin-top: 0.5rem;
}

.upload-actions-prominent .btn-primary {
  min-width: 12rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.pre-subtab-primary {
  border-color: var(--blue);
  background: linear-gradient(180deg, #eff6ff, #fff);
  font-weight: 800;
}

.btn-sm {
  font-size: 0.82rem;
  padding: 8px 14px;
}

.hero-badge-line {
  font-size: 0.92rem;
  color: var(--slate);
  margin: 0 auto 12px;
  max-width: 36rem;
  line-height: 1.5;
}

.meta-subtle {
  font-size: 0.75rem;
  opacity: 0.65;
}

.badge-demo,
.badge-you {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  margin-right: 6px;
  vertical-align: middle;
}

.badge-demo.inline,
.badge-you.inline {
  margin-right: 8px;
}

.badge-demo {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

.badge-you {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.landing-hero {
  margin-bottom: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #0f766e 100%);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.landing-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.35), transparent 50%);
  pointer-events: none;
}

.landing-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .landing-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
  }
}

.landing-eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.landing-headline {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.landing-headline .title-gradient {
  background: linear-gradient(135deg, #93c5fd, #5eead4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-headline-accent {
  display: block;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.08;
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 45%, #f472b6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-question {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 700;
  color: #fde68a;
  min-height: 1.5em;
  transition: opacity 0.3s ease;
}

.landing-question.curiosity-fade {
  opacity: 0;
}

.landing-sub {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
  max-width: 32rem;
}

.landing-aside {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
  backdrop-filter: blur(10px);
}

.landing-orbit {
  position: relative;
  width: 100%;
  height: 100px;
  margin-bottom: 1rem;
}

.orbit-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #0f172a;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(251, 191, 36, 0.45);
  animation: orbit-pulse 2.2s ease-in-out infinite;
  z-index: 2;
}

.orbit-q {
  position: absolute;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: rgba(253, 230, 138, 0.9);
  animation: orbit-float 3s ease-in-out infinite;
}

.orbit-q1 { top: 8px; left: 50%; animation: orbit-float-center 3s ease-in-out infinite; }
.orbit-q2 { bottom: 10px; left: 18%; animation: orbit-float 3s ease-in-out infinite 0.7s; }
.orbit-q3 { bottom: 10px; right: 18%; animation: orbit-float 3s ease-in-out infinite 1.4s; }

@keyframes orbit-float-center {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.75; }
  50% { transform: translateX(-50%) translateY(-5px); opacity: 1; }
}

.orbit-cloud {
  position: absolute;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  animation: orbit-drift 4s ease-in-out infinite;
}

.orbit-aws { top: 50%; left: 4%; color: #ffb84d; animation-delay: 0s; }
.orbit-azure { top: 12%; right: 8%; color: #60a5fa; animation-delay: 1.2s; }
.orbit-gcp { bottom: 8%; right: 12%; color: #6ee7b7; animation-delay: 2.4s; }

@keyframes orbit-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes orbit-float {
  0%, 100% { transform: translateY(0); opacity: 0.75; }
  50% { transform: translateY(-5px); opacity: 1; }
}

@keyframes orbit-drift {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.landing-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.65rem;
  margin-bottom: 1rem;
  opacity: 1;
  transform: none;
}

.landing-stats.revealed {
  opacity: 1;
  transform: none;
}

.landing-stat {
  text-align: center;
  padding: 0.65rem 0.35rem;
  background: rgba(15, 23, 42, 0.35);
  border-radius: 8px;
}

.landing-stat-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.25rem;
}

.landing-stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.landing-stat-value span {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.7;
}

.landing-stat-green {
  color: #6ee7b7;
}

.landing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.showcase-benefit {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.92);
  padding-left: 1.1rem;
  position: relative;
  opacity: 1;
  transform: none;
}

.showcase-benefit::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5eead4;
  font-weight: 700;
}

.showcase-benefit.revealed {
  opacity: 1;
  transform: none;
}

.landing-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1rem;
}

.btn-landing {
  width: 100%;
  background: #fff;
  color: var(--navy);
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 11px 16px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}

.btn-landing:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.btn-landing-outline {
  width: 100%;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-landing-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.landing-foot {
  position: relative;
  z-index: 1;
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.landing-foot .link-btn {
  color: #93c5fd;
  font-weight: 700;
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
}

body.landing-mode .finops-hero {
  padding: 16px 0 12px;
}

body.landing-mode .hero-cta-row {
  margin-top: 0;
}

.demo-live {
  scroll-margin-top: 4.5rem;
}

.demo-workspace {
  margin-bottom: 1.25rem;
  padding: 1.35rem 1.35rem 1.5rem;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.demo-workspace .exec-summary {
  margin: -0.35rem 0 1.15rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.workspace-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 0.75rem;
}

.workspace-head .design-tabs {
  margin: 0;
  flex-shrink: 0;
  justify-content: flex-end;
}

.chart-stage {
  background: linear-gradient(180deg, #f1f5f9 0%, #fff 100%);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1rem 0.5rem;
  margin-bottom: 0.65rem;
}

.chart-hint {
  margin: 0.35rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.chart-foot {
  margin: 0;
  padding: 0.75rem 1rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.5;
}

.chart-foot-icon {
  margin-right: 0.25rem;
}

.demo-workspace .headline-callout {
  margin: 1rem 0 0;
}

.plain-panel {
  margin-bottom: 1.25rem;
}

.design-size-label {
  text-align: center;
  font-size: 0.95rem;
  color: var(--navy);
  margin: 0 0 0.65rem;
  font-weight: 600;
}

.design-explainer-cta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88rem;
}

.brand-logo-wrap {
  display: none;
}

.client-guide {
  margin-bottom: 1.25rem;
  padding: 1.25rem 1.35rem;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 1rem;
}

@media (max-width: 700px) {
  .guide-steps {
    grid-template-columns: 1fr;
  }
}

.guide-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate);
  transition: all 0.2s;
}

.guide-step.active {
  border-color: var(--blue);
  background: #eff6ff;
  color: var(--navy);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

.guide-step.done {
  border-color: #86efac;
  background: #f0fdf4;
  color: var(--green);
}

.guide-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}

.plain-english {
  background: linear-gradient(135deg, #f8fafc, #fff);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--navy);
}

.plain-english p {
  margin: 0 0 0.65rem;
}

.plain-english p:last-child {
  margin-bottom: 0;
}

.plain-lead {
  font-size: 1.02rem !important;
}

.plain-cost {
  color: var(--blue);
  font-size: 1.1em;
}

.plain-action {
  color: var(--slate);
  font-size: 0.9rem !important;
}

.design-explainer {
  text-align: center;
  font-size: 0.92rem;
  color: var(--slate);
  margin: 0 0 0.75rem;
  padding: 0 1rem;
  line-height: 1.5;
}

.exec-title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.matrix-details {
  margin-bottom: 1.25rem;
}

.matrix-summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--blue);
  padding: 0.5rem 0;
  list-style: none;
}

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

.matrix-summary::before {
  content: "▸ ";
}

.matrix-details[open] .matrix-summary::before {
  content: "▾ ";
}

.insight-box-save {
  background: linear-gradient(180deg, #f0fdf4, #fff);
  border-color: #86efac;
}

.panel-intro {
  margin: -0.25rem 0 1rem;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.55;
  max-width: 52rem;
}

.exec-summary {
  margin-bottom: 1rem;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

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

@media (max-width: 900px) {
  .exec-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.exec-strip-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: relative;
  overflow: hidden;
}

.exec-strip-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--border);
}

.exec-strip-best::before { background: var(--blue); }
.exec-strip-save::before { background: var(--green); }

.exec-strip-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
}

.exec-strip-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}

.exec-strip-value small {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
}

.exec-strip-green {
  color: var(--green);
}

.exec-strip-detail {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.4;
}

.exec-strip-clouds {
  font-size: 0.78rem;
}

.exec-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .exec-grid {
    grid-template-columns: 1fr;
  }
}

.exec-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}

.exec-card-primary {
  border-top: 3px solid var(--blue);
  background: linear-gradient(180deg, #f8fbff, #fff);
}

.exec-card-save {
  border-top: 3px solid var(--green);
  background: linear-gradient(180deg, #f0fdf4, #fff);
}

.exec-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
}

.exec-value {
  margin: 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.exec-per {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
}

.exec-value-muted { color: #64748b; }
.exec-value-green { color: var(--green); }

.exec-detail {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.45;
}

.exec-plain {
  margin: 0;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.55;
}

.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--border);
}

.btn-ghost:hover {
  border-color: #93c5fd;
  color: var(--blue);
}

.pre-subtabs {
  display: flex;
  gap: 4px;
  margin-bottom: 1.25rem;
  padding: 5px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  width: fit-content;
  max-width: 100%;
}

.pre-subtab {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.pre-subtab:hover {
  color: var(--navy);
  background: #f1f5f9;
}

.pre-subtab.active {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.pre-subtab-primary.active {
  background: var(--blue);
}

.upload-dropzone {
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  padding: 1.25rem;
  text-align: center;
  background: #f8fafc;
  margin-bottom: 1rem;
  transition: border-color 0.2s, background 0.2s;
}

.upload-dropzone.dragover {
  border-color: var(--blue);
  background: #eff6ff;
}

.upload-prompt {
  margin: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.link-btn {
  background: none;
  border: none;
  color: var(--blue);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  font-size: inherit;
  padding: 0;
}

.upload-files {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--navy);
}

.upload-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 0.35rem;
}

.upload-textarea {
  width: 100%;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.82rem;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  resize: vertical;
  margin-bottom: 1rem;
}

.upload-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0.5rem;
}

.upload-results {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: block;
}

.upload-results:not([hidden]) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 1px;
}

.upload-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin: 1rem 0;
}

.upload-stat {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
}

.upload-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate);
  margin: 0 0 4px;
}

.upload-stat-value {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.upload-stat-text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 600;
}

.analysis-warning {
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.analysis-warning p {
  margin: 0.35rem 0 0;
  color: var(--slate);
  line-height: 1.45;
}

.analysis-warning-high {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.analysis-warning-medium {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.analysis-warning-low {
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--navy);
}

.estimate-note {
  margin: 0 0 0.5rem;
}

.cloud-rec-card {
  background: linear-gradient(135deg, #eff6ff, #f0fdfa);
  border: 1px solid #93c5fd;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1rem 0;
}

.cloud-rec-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: var(--navy);
}

.cloud-rec-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.upload-estimate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 0.75rem 0 1rem;
}

.upload-estimate-table th,
.upload-estimate-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.upload-estimate-table th.num,
.upload-estimate-table td.num {
  text-align: right;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.row-recommended {
  background: #ecfdf5;
  font-weight: 700;
}

.tip-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tip-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.tip-list li:last-child { border-bottom: none; }

.tip-impact {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 8px;
}

.tip-impact-high { background: #fee2e2; color: var(--red); }
.tip-impact-medium { background: #fef3c7; color: var(--amber); }
.tip-impact-low { background: #f1f5f9; color: var(--slate); }

.resource-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0.5rem 0 0;
}

.resource-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  color: var(--navy);
}

.upload-error {
  color: var(--red);
  font-weight: 600;
  margin: 0;
}

.scenario-only:not([hidden]) { display: block; }
.upload-only { display: none; }

/* Pre-only sample section must never appear on After deploy (Post) */
body.post-mode #demo-showcase,
body.post-mode #demo-live,
body.post-mode #pre-subtabs,
body.post-mode .pre-only {
  display: none !important;
}

body.post-mode #post-workspace {
  display: block;
}

body.post-mode .dashboard-rule {
  display: block;
}

.git-form-grid {
  display: grid;
  gap: 0.35rem 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .git-form-grid {
    grid-template-columns: 140px 1fr;
    align-items: center;
  }

  .git-token-label,
  .git-token-row {
    grid-column: 2;
  }
}

.git-token-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.git-token-row .git-input {
  flex: 1 1 220px;
}

.git-token-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
  white-space: nowrap;
}

.git-token-hint {
  margin: -0.35rem 0 1rem;
  font-size: 0.82rem;
  color: var(--muted);
  grid-column: 1 / -1;
}

@media (min-width: 640px) {
  .git-token-hint {
    grid-column: 2;
  }
}

.git-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
}

.git-status {
  font-size: 0.88rem;
  color: var(--slate);
  margin: 0.75rem 0 0;
}

.git-status.error { color: var(--red); font-weight: 600; }

body.pre-mode-upload .scenario-only { display: none !important; }
body.pre-mode-git .scenario-only { display: none !important; }

.meta {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0 0 8px;
}

.mode-bar {
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.mode-bar-label {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
}

.mode-bar-hint {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--slate);
}

.mode-tabs-prominent {
  justify-content: center;
  gap: 10px;
}

.mode-tabs-prominent .mode-tab {
  padding: 12px 22px;
  font-size: 0.95rem;
  font-weight: 700;
}

.workspace-panel {
  margin-bottom: 1.25rem;
  border: 2px solid #93c5fd;
  box-shadow: var(--shadow);
}

.workspace-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--navy);
}

body.workspace-upload #upload-panel,
body.workspace-git #git-panel {
  display: block;
}

body.view-billing #git-panel,
body.view-billing #upload-panel,
body.view-billing #git-results,
body.view-report #git-panel,
body.view-report #upload-panel {
  display: none !important;
}

body.view-git #billing-cta-strip,
body.view-git #billing-results,
body.view-upload #billing-cta-strip,
body.view-upload #billing-results {
  display: none !important;
}

body.workspace-upload .scenario-only,
body.workspace-git .scenario-only {
  display: none !important;
}

.mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.mode-tab {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}

.mode-tab:hover,
.mode-tab.active {
  color: var(--blue);
  border-color: #93c5fd;
  background: #eff6ff;
}

.mode-tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

main {
  padding-bottom: 16px;
}

.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.panel h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.headline-callout {
  margin-bottom: 1.25rem;
}

.client-guide,
.value-highlights {
  margin-bottom: 1.5rem;
}

.client-guide-grid,
.value-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 900px) {
  .client-guide-grid,
  .value-highlights-grid {
    grid-template-columns: 1fr;
  }
}

.client-guide-card,
.value-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
}

.client-guide-card-1,
.value-card-1 {
  border-top: 3px solid var(--blue);
}

.client-guide-card-2,
.value-card-2 {
  border-top: 3px solid var(--teal);
}

.client-guide-card-3,
.value-card-3 {
  border-top: 3px solid var(--amber);
}

.client-guide-kicker,
.value-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--slate);
}

.client-guide-lead,
.value-lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--navy);
  font-weight: 600;
}

.client-guide-list,
.value-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.55;
}

.client-guide-list li + li,
.value-list li + li {
  margin-top: 0.35rem;
}

.res-code {
  font-size: 0.72rem;
  color: var(--slate);
}

.callout-inner {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06), rgba(20, 184, 166, 0.05));
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}

.callout-label {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue);
  font-weight: 700;
}

.callout-amount {
  margin: 0.35rem 0 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--navy);
}

.callout-per {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate);
}

.amount-save,
.amount-saved { color: var(--green); }
.amount-waste { color: var(--red); }
.amount-driver { color: var(--amber); }

.callout-resource {
  margin: 0.5rem 0 0;
  font-size: 1.05rem;
  color: var(--navy);
}

.callout-detail,
.callout-extra {
  margin: 0.35rem 0 0;
  color: var(--slate);
  font-size: 0.9rem;
}

.design-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.25rem;
  justify-content: center;
}

.tab {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
  transition: all 0.2s;
}

.tab:hover,
.tab.active {
  border-color: #93c5fd;
  color: var(--blue);
  background: #eff6ff;
}

.tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.tab-emoji { margin-right: 0.25rem; }

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}

.comparison-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.comparison-label {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate);
  font-weight: 700;
}

.comparison-value {
  margin: 0.35rem 0 0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 1.5rem;
  font-weight: 700;
}

.comparison-value.predicted { color: var(--blue); }
.comparison-value.actual { color: var(--amber); }
.comparison-value.variance-over { color: var(--red); }
.comparison-value.variance-under { color: var(--green); }

.comparison-per,
.comparison-sub {
  font-size: 0.85rem;
  color: var(--slate);
}

.comparison-vs {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--slate);
  text-align: center;
}

.comparison-message {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--slate);
}

.chart {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  min-height: 200px;
  padding-top: 0.25rem;
}

.chart-large {
  min-height: 300px;
}

.bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  min-width: 0;
  min-height: 240px;
}

.cloud-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.85rem 0.65rem 0.55rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.cloud-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.cloud-card-aws { border-top: 3px solid #ff9900; }
.cloud-card-azure { border-top: 3px solid #0078d4; }
.cloud-card-gcp { border-top: 3px solid #34a853; }

.cloud-card-winner {
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.25), 0 8px 20px rgba(22, 163, 74, 0.12);
  background: linear-gradient(180deg, #f0fdf4, #fff);
}

.bar {
  width: 72%;
  max-width: 72px;
  min-height: 32px;
  border-radius: 10px 10px 6px 6px;
  transition: height 0.55s cubic-bezier(0.34, 1.2, 0.64, 1), transform 0.2s ease, filter 0.2s;
  cursor: pointer;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12);
}

.bar.cheapest {
  animation: bar-glow 2.5s ease-in-out infinite;
}

@keyframes bar-glow {
  0%, 100% { box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12), 0 0 0 0 rgba(22, 163, 74, 0); }
  50% { box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.12), 0 0 0 4px rgba(22, 163, 74, 0.25); }
}

.bar:hover {
  transform: scaleY(1.03);
  filter: brightness(1.08);
}

.bar-region {
  font-size: 0.68rem;
  color: var(--slate);
}

.cloud-emoji {
  font-size: 1.1rem;
}

.tab-sub {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.75;
  margin-top: 2px;
}

.tab.active .tab-sub {
  opacity: 0.9;
}

.driver-card {
  list-style: none;
  padding: 0.75rem 0.85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

.driver-card-high {
  border-left: 3px solid var(--red);
}

.driver-card-medium {
  border-left: 3px solid var(--amber);
}

.driver-card-low {
  border-left: 3px solid var(--green);
}

.driver-card-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.driver-card-top strong {
  flex: 1;
  font-size: 0.9rem;
  color: var(--navy);
}

.driver-amount {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy);
  font-size: 0.95rem;
}

.driver-amount small {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--slate);
}

.driver-meter {
  height: 6px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 0.35rem;
}

.driver-meter span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  border-radius: 999px;
}

.driver-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.chart-clouds .bar.cloud-aws { background: linear-gradient(180deg, #ff9900, #e88b00); }
.chart-clouds .bar.cloud-azure { background: linear-gradient(180deg, #0078d4, #005a9e); }
.chart-clouds .bar.cloud-gcp { background: linear-gradient(180deg, #34a853, #2d8f47); }
.chart-clouds .bar.svc-ec2 { background: linear-gradient(180deg, #ff9900, #cc7a00); }
.chart-clouds .bar.svc-rds { background: linear-gradient(180deg, #527fff, #3d5fcc); }
.chart-clouds .bar.svc-vpc { background: linear-gradient(180deg, #9b7bff, #6b4fcc); }
.chart-clouds .bar.svc-other { background: linear-gradient(180deg, #94a3b8, #64748b); }
.chart-clouds .bar.svc-wasteful { background: linear-gradient(180deg, var(--red), #b91c1c); }
.chart-clouds .bar.svc-efficient { background: linear-gradient(180deg, var(--green), #15803d); }
.chart-clouds .bar.svc-monitoring { background: linear-gradient(180deg, var(--blue), var(--blue-dark)); }
.chart-clouds .bar.svc-idle { background: linear-gradient(180deg, #94a3b8, #64748b); }

.bar.theme-green { background: linear-gradient(180deg, var(--green), #15803d); }
.bar.theme-amber { background: linear-gradient(180deg, var(--amber), #b45309); }
.bar.theme-red { background: linear-gradient(180deg, var(--red), #b91c1c); }

.bar-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--navy);
}

.bar-value {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.85rem;
  color: var(--navy);
}

.bar-wrap small { color: var(--slate); }

.cheapest-pill {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green);
  letter-spacing: 0.04em;
}

.chart-foot {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--slate);
}

.matrix-wrap { overflow-x: auto; }

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.matrix-table th,
.matrix-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.matrix-table th {
  color: var(--slate);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.matrix-table th.num,
.matrix-table td.num {
  text-align: right;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.cell-cheapest {
  color: var(--green);
  font-weight: 700;
}

.insights-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.insights-header h2 { margin: 0; }

.cloud-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cloud-pill {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--slate);
  cursor: pointer;
}

.cloud-pill:hover,
.cloud-pill.active {
  border-color: var(--blue);
  background: #eff6ff;
  color: var(--blue);
}

.viewing-cloud {
  font-size: 0.8rem;
  color: var(--blue);
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.insights-panel {
  margin-top: 1.25rem;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.insights-panel .insight-box {
  background: #fff;
  border-radius: 12px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.insight-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
}

.insight-box h3 {
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
  color: var(--navy);
  font-weight: 700;
}

.driver-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.driver-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
}

.driver-list li:last-child { border-bottom: none; }

.driver-rank {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.75rem;
  color: var(--blue);
  min-width: 1.5rem;
  font-weight: 700;
}

.driver-body { flex: 1; }

.driver-meta {
  display: block;
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 0.15rem;
}

.driver-meta.saved { color: var(--green); }
.driver-meta.waste { color: var(--red); }

.driver-tip {
  display: block;
  font-size: 0.75rem;
  color: var(--slate);
  margin-top: 0.35rem;
  font-style: italic;
}

.total-save,
.total-waste {
  border-radius: 8px;
  padding: 0.5rem !important;
  margin-bottom: 0.5rem;
}

.total-save { background: #ecfdf5; }
.total-waste { background: #fef2f2; }

.detail-hint {
  font-size: 0.85rem;
  color: var(--slate);
  margin: -0.25rem 0 1rem;
}

.resource-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.resource-table th,
.resource-table td {
  text-align: left;
  padding: 0.55rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.resource-table th {
  color: var(--slate);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.resource-table th.num,
.resource-table td.num {
  text-align: right;
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.resource-table code {
  font-size: 0.75rem;
  color: var(--slate);
}

.share-cell { min-width: 120px; }

.share-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.share-bar span {
  display: block;
  height: 100%;
  background: var(--blue);
  border-radius: 3px;
}

.row-high .share-bar span { background: var(--red); }
.row-medium .share-bar span { background: var(--amber); }

.share-pct {
  font-size: 0.75rem;
  color: var(--slate);
  font-family: "JetBrains Mono", ui-monospace, monospace;
}

.level {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.level-high { background: #fee2e2; color: var(--red); }
.level-medium { background: #fef3c7; color: var(--amber); }
.level-low { background: #f1f5f9; color: var(--slate); }

.delta-save { color: var(--green); font-family: "JetBrains Mono", ui-monospace, monospace; }
.delta-waste { color: var(--red); font-family: "JetBrains Mono", ui-monospace, monospace; }

.res-name { font-weight: 700; color: var(--navy); }

.tool-links h2 { margin-bottom: 0.5rem; }

.tool-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.tool-link {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--blue);
  background: #eff6ff;
  color: var(--blue-dark);
  text-decoration: none;
}

.tool-link:hover {
  background: var(--blue);
  color: #fff;
}

.finding {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
}

.finding-over { background: #fee2e2; color: var(--red); }
.finding-ok { background: #dcfce7; color: var(--green); }
.finding-other { background: #f1f5f9; color: var(--slate); }

.badge {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge.save { background: #dcfce7; color: var(--green); }
.badge.waste { background: #fee2e2; color: var(--red); }

.error-banner {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1rem auto;
  max-width: 1140px;
}

.print-summary { display: none; }

body.printing .print-summary { display: block; }

.print-doc {
  font-family: var(--font-body);
  color: #111;
  padding: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.print-doc h1 { font-size: 1.5rem; margin: 0 0 0.5rem; }
.print-meta { color: #555; font-size: 0.85rem; }

.print-highlight {
  background: #f0f7ff;
  border: 1px solid #5b9cff;
  border-radius: 8px;
  padding: 1rem;
  margin: 1.25rem 0;
}

.print-doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.75rem 0 1.5rem;
}

.print-doc th,
.print-doc td {
  border: 1px solid #ccc;
  padding: 0.4rem 0.6rem;
  text-align: left;
}

.print-doc th { background: #eee; }

.print-footer {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #666;
}

.upload-stat-sub {
  margin: 4px 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--slate);
}

.upload-stat-highlight {
  background: linear-gradient(135deg, #eff6ff, #f0fdfa);
  border-color: #93c5fd;
}

.results-heading {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
  color: var(--navy);
}

.results-source {
  margin-top: 0;
}

.rec-bullets {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  color: var(--slate);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* SpendForge analysis loader */
body.forge-loading {
  overflow: hidden;
}

.analysis-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
}

.analysis-loader[hidden] {
  display: none !important;
}

.forge-loader-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 20px;
  padding: 1.75rem 1.5rem 1.25rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
  text-align: center;
}

.forge-loader-visual {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.25rem;
}

.forge-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
}

.forge-ring-outer {
  border-top-color: #2563eb;
  border-right-color: #14b8a6;
  animation: forge-spin 2.4s linear infinite;
}

.forge-ring-mid {
  inset: 14px;
  border-bottom-color: #f59e0b;
  border-left-color: #8b5cf6;
  animation: forge-spin 1.8s linear infinite reverse;
}

.forge-core {
  position: absolute;
  inset: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, #eff6ff, #f0fdfa);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px #bfdbfe;
}

.forge-core-icon {
  font-size: 1.5rem;
  animation: forge-pulse 1.2s ease-in-out infinite;
}

.forge-core-brand {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-top: 2px;
}

.forge-orbit {
  position: absolute;
  font-size: 1.1rem;
  top: 50%;
  left: 50%;
  margin: -0.55rem;
  animation: forge-orbit 3s linear infinite;
}

.forge-orbit-aws {
  animation-delay: 0s;
  filter: drop-shadow(0 0 4px rgba(249, 115, 22, 0.5));
}

.forge-orbit-azure {
  animation-delay: -1s;
  animation-duration: 3.5s;
}

.forge-orbit-gcp {
  animation-delay: -2s;
  animation-duration: 4s;
}

.forge-orbit-oci {
  animation-delay: -2.5s;
  animation-duration: 4.2s;
}

@keyframes forge-spin {
  to { transform: rotate(360deg); }
}

@keyframes forge-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

@keyframes forge-orbit {
  from { transform: rotate(0deg) translateX(62px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(62px) rotate(-360deg); }
}

.forge-loader-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.forge-loader-sub {
  margin: 0.35rem 0 1rem;
  font-size: 0.88rem;
  color: var(--slate);
}

.forge-progress {
  height: 4px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.forge-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
  border-radius: 4px;
  transition: width 0.45s ease;
}

.forge-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.forge-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  font-size: 0.82rem;
  color: #94a3b8;
  transition: color 0.25s;
}

.forge-step.active {
  color: var(--navy);
  font-weight: 600;
}

.forge-step.done {
  color: var(--green);
}

.forge-step-icon {
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}

.forge-step-label {
  flex: 1;
}

.forge-step-check::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
}

.forge-step.done .forge-step-check::after {
  content: "✓";
  color: var(--green);
  font-weight: 700;
}

.forge-step.active .forge-step-check::after {
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--blue);
  border-top-color: transparent;
  border-radius: 50%;
  animation: forge-spin 0.7s linear infinite;
}

.forge-terminal {
  margin-top: 0.85rem;
  padding: 0.65rem 0.75rem;
  background: #0f172a;
  border-radius: 8px;
  text-align: left;
  min-height: 3.2rem;
  max-height: 4.5rem;
  overflow: hidden;
}

.forge-terminal-line {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  color: #86efac;
  line-height: 1.45;
  animation: forge-line-in 0.3s ease;
}

@keyframes forge-line-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media print {
  body.printing > *:not(.print-summary) {
    display: none !important;
  }

  body.printing .print-summary {
    display: block !important;
    position: static;
  }

  .print-summary[hidden] {
    display: block !important;
  }
}

@media (max-width: 720px) {
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .comparison-vs { display: none; }
}

/* Cloud cost optimization report */
.assessment-report {
  opacity: 1;
  transform: none;
}

.assessment-report.report-reveal {
  animation: report-fade-in 0.35s ease forwards;
}

@keyframes report-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.assessment-report.report-reveal-active {
  opacity: 1;
  transform: none;
}

.report-hero {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .report-hero {
    grid-template-columns: 1fr auto;
  }
}

.report-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  color: var(--navy);
}

.report-exec {
  margin: 0 0 0.75rem;
  color: var(--slate);
  line-height: 1.6;
}

.btn-report-pdf {
  margin-top: 0.75rem;
}

.score-ring-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.score-ring {
  width: 120px;
  height: 120px;
  transform: rotate(-90deg);
}

.score-ring-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 10;
}

.score-ring-fill {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease;
}

.score-ring-excellent { stroke: #16a34a; }
.score-ring-good { stroke: #2563eb; }
.score-ring-fair { stroke: #d97706; }
.score-ring-critical { stroke: #dc2626; }

.score-ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-ring-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.score-ring-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.report-stat-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .report-stat-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.report-stat-card {
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.report-stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 4px;
}

.report-stat-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}

.report-panel {
  margin-bottom: 1rem;
}

.category-scores {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.category-score-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.category-score-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.category-score-body {
  flex: 1;
}

.category-score-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 4px;
}

.category-score-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.category-score-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--blue);
}

.category-score-fill.score-ring-excellent { background: #16a34a; }
.category-score-fill.score-ring-good { background: #2563eb; }
.category-score-fill.score-ring-fair { background: #d97706; }
.category-score-fill.score-ring-critical { background: #dc2626; }

.report-cloud-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1.25rem;
  min-height: 200px;
  padding: 1rem 0;
}

.report-cloud-bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 72px;
  height: 180px;
}

.report-cloud-bar-col.best .report-cloud-bar {
  box-shadow: 0 0 0 2px #16a34a;
}

.report-cloud-bar {
  width: 56px;
  margin-top: auto;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #93c5fd, #2563eb);
  animation: bar-grow 0.7s ease forwards;
}

.report-cloud-bar-col:nth-child(2) .report-cloud-bar {
  background: linear-gradient(180deg, #7dd3fc, #0284c7);
}

.report-cloud-bar-col:nth-child(3) .report-cloud-bar {
  background: linear-gradient(180deg, #86efac, #16a34a);
}

.report-cloud-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate);
}

.finding-grid {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .finding-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .finding-grid-full {
    grid-template-columns: 1fr;
  }
}

.finding-grid-exec {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .finding-grid-exec {
    grid-template-columns: repeat(3, 1fr);
  }
}

.report-exec-opt-lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.5;
}

.exec-opt-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.exec-opt-stat {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #c7d2fe;
  background: linear-gradient(180deg, #eef2ff 0%, #fff 100%);
}

.exec-opt-stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.exec-opt-stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0.2rem 0;
}

.exec-opt-stat-value small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
}

.exec-opt-stat-sub {
  font-size: 0.82rem;
  color: var(--slate);
  line-height: 1.4;
}

.exec-opt-bullets {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.exec-opt-bullets li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.exec-opt-bullet-text {
  font-size: 0.9rem;
  color: var(--navy);
  line-height: 1.35;
}

.exec-opt-bullet-save {
  font-weight: 800;
  font-size: 0.88rem;
  color: #047857;
  white-space: nowrap;
}

.exec-opt-handoff {
  margin: 0;
  font-style: italic;
}

.report-panel-technical {
  background: #fafbfc;
  border: 1px solid var(--border);
}

.report-panel-technical .cost-opt-table td.opt-remediation {
  font-size: 0.84rem;
  line-height: 1.45;
  max-width: 22rem;
}

.cost-opt-table .opt-resource {
  font-size: 0.72rem;
  word-break: break-all;
}

.cost-opt-table td {
  vertical-align: top;
  font-size: 0.84rem;
}

.impact-pill {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.impact-high {
  background: #fee2e2;
  color: #b91c1c;
}

.impact-medium {
  background: #fef3c7;
  color: #92400e;
}

.impact-low {
  background: #e0e7ff;
  color: #3730a3;
}

.cost-opt-row-high td:first-child {
  border-left: 3px solid #ef4444;
}

.cost-opt-row-medium td:first-child {
  border-left: 3px solid #f59e0b;
}

.cost-opt-row-low td:first-child {
  border-left: 3px solid #6366f1;
}

.finding-card {
  padding: 1rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  border-left: 4px solid #94a3b8;
}

.finding-severity-critical { border-left-color: #dc2626; }
.finding-severity-high { border-left-color: #ea580c; }
.finding-severity-medium { border-left-color: #d97706; }
.finding-severity-low { border-left-color: #64748b; }
.finding-severity-info { border-left-color: #2563eb; }

.finding-card-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.finding-cat { color: var(--slate); }
.finding-sev { color: var(--navy); }

.finding-title {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--navy);
}

.finding-detail {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.5;
}

.finding-fix {
  margin: 0;
  font-size: 0.85rem;
  color: var(--navy);
  line-height: 1.45;
}

#btn-export[hidden] {
  display: none !important;
}

/* Cloud cost optimization report */
.cost-report .report-stat-strip-6 {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .cost-report .report-stat-strip-6 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .cost-report .report-stat-strip-6 {
    grid-template-columns: repeat(6, 1fr);
  }
}

.report-stat-highlight .report-stat-value {
  color: var(--blue);
}

.report-stat-savings .report-stat-value {
  color: #16a34a;
}

.report-catalog-warning {
  border: 1px solid #fcd34d;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
}

.report-catalog-warning-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: #92400e;
  margin: 0 0 0.35rem;
}

.report-catalog-warning-body {
  margin: 0;
  color: #78350f;
  font-size: 0.92rem;
  line-height: 1.5;
}

.report-scoped-note {
  border: 1px solid #86efac;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
}

.report-scoped-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: #166534;
  margin: 0 0 0.35rem;
}

.report-scoped-body {
  margin: 0;
  color: #14532d;
  font-size: 0.92rem;
  line-height: 1.5;
}

.report-scoped-body code {
  font-size: 0.85em;
}

.report-well-optimized {
  border: 1px solid #86efac;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
}

.report-well-optimized-title {
  font-family: var(--font-display);
  font-weight: 800;
  color: #166534;
  margin: 0 0 0.35rem;
}

.report-well-optimized-body {
  margin: 0;
  color: #14532d;
  font-size: 0.92rem;
  line-height: 1.55;
}

.report-panel-featured {
  border: 2px solid #3b82f6;
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.12);
}

.report-cloud-bars-featured {
  min-height: 200px;
  padding: 0.5rem 0;
}

.report-cloud-bars-featured .report-cloud-bar-col {
  min-height: 180px;
}

.report-cloud-bar-col.current {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.report-cloud-badge {
  display: block;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.2rem;
}

.report-cloud-badge-best {
  color: #16a34a;
}

.report-cloud-badge-current {
  color: #4f46e5;
}

.report-stat-strip-4 {
  grid-template-columns: repeat(4, 1fr);
}

.report-stat-sub {
  display: block;
  font-size: 0.68rem;
  color: var(--slate);
  margin-top: 0.15rem;
}

.finding-ok {
  color: #16a34a;
  background: #dcfce7;
}

@media (max-width: 900px) {
  .report-stat-strip-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.report-catalog-hint {
  border-left: 3px solid #f59e0b;
  padding-left: 0.75rem;
  margin-top: 0.5rem;
}

.cost-driver-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1rem;
}

.cost-driver-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  align-items: center;
}

.cost-driver-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  grid-column: 1 / -1;
  font-size: 0.88rem;
}

.cost-driver-name {
  font-weight: 600;
  color: var(--navy);
}

.cost-driver-pct {
  font-size: 0.78rem;
  color: var(--slate);
}

.cost-driver-bar-wrap {
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.cost-driver-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa, #2563eb);
  animation: bar-grow-h 0.6s ease forwards;
}

@keyframes bar-grow-h {
  from { width: 0 !important; }
}

.cost-driver-amt {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  white-space: nowrap;
}

.report-cloud-bars-4 .report-cloud-bar-col {
  min-width: 64px;
}

.report-cloud-bars-4 .report-cloud-bar-col.cloud-aws .report-cloud-bar {
  background: linear-gradient(180deg, #fdba74, #ea580c);
}

.report-cloud-bars-4 .report-cloud-bar-col.cloud-azure .report-cloud-bar {
  background: linear-gradient(180deg, #7dd3fc, #0284c7);
}

.report-cloud-bars-4 .report-cloud-bar-col.cloud-gcp .report-cloud-bar {
  background: linear-gradient(180deg, #86efac, #16a34a);
}

.report-cloud-bars-4 .report-cloud-bar-col.cloud-oci .report-cloud-bar {
  background: linear-gradient(180deg, #fca5a5, #dc2626);
}

.report-cloud-year {
  font-size: 0.68rem;
  color: var(--slate);
}

.projection-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2rem;
  min-height: 180px;
  padding: 1rem 0;
}

.projection-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 90px;
  height: 160px;
}

.projection-bar-wrap {
  display: flex;
  align-items: flex-end;
  height: 120px;
  width: 100%;
  justify-content: center;
}

.projection-bar {
  width: 48px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, #93c5fd, #2563eb);
}

.projection-bar-1 {
  background: linear-gradient(180deg, #86efac, #16a34a);
}

.projection-bar-2 {
  background: linear-gradient(180deg, #fca5a5, #dc2626);
}

.projection-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate);
  text-align: center;
  max-width: 100px;
}

.env-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.env-row {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 10px;
  align-items: center;
  font-size: 0.88rem;
}

.env-label {
  font-weight: 600;
  color: var(--navy);
}

.env-bar-wrap {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.env-bar {
  height: 100%;
  background: #2563eb;
  border-radius: 999px;
}

.env-amt {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.env-count {
  font-size: 0.75rem;
  color: var(--slate);
}

.cost-table-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.cost-table th,
.cost-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.cost-table th {
  font-weight: 700;
  color: var(--slate);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.usage-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #fef3c7;
  color: #92400e;
  vertical-align: middle;
}

.cost-opt-card .finding-savings {
  color: #16a34a;
}

.cost-opt-annual {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--slate);
}

.forge-orbit-oci {
  animation-delay: 0.9s;
}

/* Post-deploy workspace */
.post-workspace {
  display: none;
  margin-top: 0.5rem;
}

.post-workspace-active {
  animation: postFadeIn 0.5s ease;
}

@keyframes postFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.post-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  transition-delay: calc(var(--post-i, 0) * 0.07s);
}

.post-reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

.post-stack-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #0f172a 100%);
  color: #e2e8f0;
  border-radius: 16px;
  padding: 1.35rem 1.5rem 1.1rem;
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}

.post-stack-head-compact {
  margin-bottom: 0.15rem;
}

.post-stack-head-compact .post-stack-title {
  font-size: 1.1rem;
}

.post-stack-access {
  margin: 0.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

#post-cost-chart .bar-wrap {
  cursor: pointer;
  border-radius: 10px;
  transition: box-shadow 0.2s ease;
}

#post-cost-chart .bar-wrap.active {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

.post-stack-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.post-stack-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.2rem 0;
  color: #fff;
}

.post-stack-sub {
  margin: 0;
  font-size: 0.9rem;
  color: #94a3b8;
  max-width: 36rem;
}

.post-stack-foot {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

.post-pulse {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}

.post-pulse-demo { background: #fef3c7; color: #92400e; }

.post-pulse-live {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.post-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: postPulse 1.4s ease infinite;
}

@keyframes postPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.post-pipeline {
  display: flex;
  align-items: stretch;
  margin-top: 1.1rem;
  overflow-x: auto;
  padding-bottom: 0.35rem;
}

.post-pipeline-node {
  flex: 1 1 0;
  min-width: 88px;
  text-align: center;
  padding: 0.65rem 0.4rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.post-node-icon { font-size: 1.35rem; display: block; }

.post-node-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  color: #f8fafc;
  margin-top: 0.2rem;
}

.post-node-sub { display: block; font-size: 0.62rem; color: #94a3b8; }

.node-oc { border-color: rgba(251, 191, 36, 0.4); }
.node-gold { border-color: rgba(167, 139, 250, 0.4); }
.node-kyv { border-color: rgba(52, 211, 153, 0.4); }
.node-oke { border-color: rgba(248, 113, 113, 0.55); background: rgba(220, 38, 38, 0.12); }
.node-prom { border-color: rgba(96, 165, 250, 0.45); }
.node-graf { border-color: rgba(244, 114, 182, 0.4); }
.node-kind { border-color: rgba(148, 163, 184, 0.45); }

.post-platform-banner {
  margin-bottom: 1rem;
}

.post-platform-inner {
  border-radius: 14px;
  padding: 1rem 1.15rem;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 55%, #f0f9ff 100%);
  position: relative;
}

.post-platform-oke {
  border-color: rgba(220, 38, 38, 0.22);
  background: linear-gradient(135deg, #fff5f5 0%, #ffffff 50%, #f8fafc 100%);
}

.post-platform-kind {
  background: linear-gradient(135deg, #f1f5f9 0%, #ffffff 100%);
}

.post-platform-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.post-platform-stat {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.55rem 0.65rem;
}

.post-platform-stat strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ink);
  margin-top: 0.15rem;
}

.post-platform-k {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
}

.post-platform-v {
  display: block;
  font-size: 0.68rem;
  color: var(--slate);
  margin-top: 0.1rem;
}

.post-platform-body {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--slate);
  max-width: 52rem;
}

.post-platform-link {
  font-weight: 700;
  color: #c2410c;
  text-decoration: none;
}

.post-platform-link:hover {
  text-decoration: underline;
}

.post-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
}

.post-badge-demo {
  background: #fef3c7;
  color: #92400e;
}

.post-badge-live {
  background: #dcfce7;
  color: #166534;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.post-stack-table-wrap {
  overflow-x: auto;
  margin-top: 0.65rem;
}

.post-stack-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.post-stack-table th,
.post-stack-table td {
  padding: 0.55rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.post-stack-table th {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--slate);
}

.post-layer-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: #eff6ff;
  color: #1d4ed8;
}

.post-client-value {
  color: #0f766e;
  font-weight: 600;
}

.post-tool-client {
  margin: 0.35rem 0 0.5rem;
  font-size: 0.78rem;
  color: var(--slate);
  line-height: 1.45;
}

@media (max-width: 900px) {
  .post-platform-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .post-badge {
    position: static;
    display: inline-block;
    margin-top: 0.5rem;
  }
}

.post-pipeline-connector {
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.post-pipeline-connector::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: rgba(59, 130, 246, 0.5);
}

.post-flow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #60a5fa;
  animation: postFlow 1.6s ease-in-out infinite;
  animation-delay: calc(var(--post-i, 0) * 0.25s);
  position: relative;
  z-index: 1;
}

@keyframes postFlow {
  0%, 100% { transform: translateX(-6px); opacity: 0.4; }
  50% { transform: translateX(6px); opacity: 1; }
}

.post-live-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (max-width: 800px) {
  .post-live-strip { grid-template-columns: repeat(2, 1fr); }
}

.post-strip-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.post-strip-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--slate);
}

.post-strip-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 0.15rem;
}

.post-strip-value.variance-over { color: var(--red); }
.post-strip-value.variance-under { color: var(--green); }

.post-strip-text { font-size: 1.1rem; }

.post-strip-sub { font-size: 0.78rem; color: var(--slate); }

.post-chart-panel { margin-bottom: 1rem; }

.post-bar { height: 0 !important; }

.post-bar.post-bar-animate {
  animation: postBarGrow 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--post-i, 0) * 0.1s);
}

@keyframes postBarGrow {
  to { height: var(--bar-h, 50%) !important; }
}

.post-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.post-tool-card {
  border-radius: 14px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.post-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.post-tool-icon { font-size: 1.5rem; }

.post-tool-card h3 { margin: 0.35rem 0 0.25rem; font-size: 1rem; }

.post-tool-card p {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  color: var(--slate);
}

.post-tool-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.post-tool-link-muted { color: var(--slate); }

.tool-oc { border-top: 3px solid #f59e0b; }
.tool-gold { border-top: 3px solid #8b5cf6; }
.tool-graf { border-top: 3px solid #f97316; }
.tool-kyv { border-top: 3px solid #10b981; }

.post-kyverno-live {
  font-size: 0.7rem;
  font-weight: 800;
  color: #16a34a;
  background: #dcfce7;
  padding: 3px 8px;
  border-radius: 999px;
  margin-left: 0.35rem;
}

.post-kyverno-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.post-kyverno-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.post-kyverno-icon { color: #16a34a; font-weight: 800; }

.post-kyverno-status {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #16a34a;
}

.post-comparison,
.post-tools,
.post-kyverno,
.post-optimizer {
  margin-bottom: 1rem;
}

/* —— Flow UX: landing → choose → workspace —— */
.hero-cta-landing {
  justify-content: flex-start;
  margin-top: 0.5rem;
}

.flow-chooser {
  padding: 2rem 0 2.5rem;
}

.flow-chooser-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0.35rem 0 0.5rem;
}

.flow-chooser-hint {
  color: var(--slate);
  margin: 0 0 1.5rem;
  max-width: 42rem;
}

.flow-path-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .flow-path-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.flow-path-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.5rem;
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.flow-path-card:hover {
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.12);
}

.flow-path-card-billing:hover {
  border-color: #c4b5fd;
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.12);
}

.flow-path-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
}

.flow-path-tag-pre {
  background: #dbeafe;
  color: #1d4ed8;
}

.flow-path-tag-post {
  background: #ede9fe;
  color: #6d28d9;
}

.flow-path-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--navy);
}

.flow-path-card p {
  margin: 0;
  color: var(--slate);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}

.flow-path-cta {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.9rem;
}

.flow-path-card-billing .flow-path-cta {
  color: #7c3aed;
}

.flow-back-btn {
  margin-top: 0.5rem;
}

.flow-breadcrumb {
  margin-bottom: 0.75rem;
}

.flow-breadcrumb-sep {
  color: #94a3b8;
  margin: 0 0.35rem;
}

body.view-home #app-workspace,
body.view-home #flow-chooser {
  display: none;
}

body.view-home #landing-marketing {
  display: block;
}

body.view-choose #dashboard,
body.view-choose #landing-marketing,
body.view-choose #app-workspace {
  display: none;
}

body.view-choose #flow-chooser {
  display: block;
}

body.view-git #git-panel,
body.view-upload #upload-panel,
body.view-billing #billing-cta-strip {
  display: block;
}

body.view-billing #git-panel,
body.view-billing #upload-panel {
  display: none !important;
}

.report-share-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 12px;
}

.report-share-actions {
  display: flex;
  flex: 1;
  min-width: 220px;
  gap: 0.5rem;
}

.report-share-input {
  flex: 1;
  min-width: 0;
  font-size: 0.82rem;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.shared-report-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.shared-tab {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}

.shared-tab.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

.shared-bar-row {
  display: grid;
  grid-template-columns: minmax(100px, 1.2fr) 1fr auto auto;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
}

.shared-bar-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.shared-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #14b8a6);
  border-radius: 999px;
}

.shared-opt-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shared-opt-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.shared-opt-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: none;
  background: #f8fafc;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.shared-opt-body {
  padding: 0.75rem 1rem 1rem;
  font-size: 0.9rem;
  color: var(--slate);
}

.shared-opt-save {
  font-weight: 700;
  color: #059669;
  white-space: nowrap;
}

/* —— MVP-scope style cost report (ai-mvp.enlightlab.com) —— */
body.view-report .flow-panel,
body.view-report #billing-cta-strip,
body.view-report #git-panel,
body.view-report #upload-panel,
body.view-report #billing-results,
body.view-report .upload-results {
  display: none !important;
}

.scope-report-wrap {
  padding: 0 0 3rem;
}

.scope-report {
  max-width: 1080px;
  margin: 0 auto;
}

.scope-report-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.scope-report-top-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.scope-report-brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
}

.scope-report-top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 240px;
}

.scope-share-input {
  flex: 1;
  min-width: 180px;
  max-width: 420px;
  font-size: 0.78rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--slate);
}

.scope-report-hero {
  padding: clamp(1.5rem, 4vw, 2.5rem) 1rem 1.25rem;
  max-width: 1080px;
  margin: 0 auto;
}

.scope-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6366f1;
  margin: 0 0 0.5rem;
}

.scope-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  line-height: 1.15;
  margin: 0 0 0.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #4338ca 55%, #0ea5e9 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.scope-source {
  margin: 0;
  font-size: 0.9rem;
  color: var(--slate);
}

.scope-section,
.scope-exec.panel {
  max-width: 1080px;
  margin: 0 auto 1.25rem;
  padding: 0 1rem;
}

.scope-exec.panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}

@media (max-width: 720px) {
  .scope-exec.panel {
    grid-template-columns: 1fr;
  }
}

.scope-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6366f1;
  margin: 0 0 0.35rem;
}

.scope-section-title {
  font-size: 1.25rem;
  margin: 0 0 1rem;
}

.scope-section-hint {
  margin: 0 0 1rem;
  color: var(--slate);
  font-size: 0.92rem;
}

.scope-exec-text {
  margin: 0;
  color: #334155;
  line-height: 1.55;
}

.scope-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

@media (max-width: 900px) {
  .scope-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.scope-kpi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}

.scope-kpi-value {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
}

.scope-kpi-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-top: 0.25rem;
}

.scope-kpi-desc {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--slate);
}

.scope-lens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

@media (max-width: 800px) {
  .scope-lens-grid {
    grid-template-columns: 1fr;
  }
}

.scope-lens-card {
  border-radius: 12px;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  background: #fff;
}

.scope-lens-blue {
  border-top: 3px solid #3b82f6;
}

.scope-lens-teal {
  border-top: 3px solid #14b8a6;
}

.scope-lens-amber {
  border-top: 3px solid #f59e0b;
}

.scope-lens-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  margin: 0 0 0.35rem;
}

.scope-lens-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.scope-lens-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.5;
}

.scope-tabs {
  max-width: 1080px;
  margin: 1.5rem auto 0;
  padding: 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  position: sticky;
  top: 52px;
  z-index: 30;
  background: linear-gradient(180deg, #f8fafc 85%, transparent);
  padding-bottom: 0.5rem;
}

.scope-tab {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: #475569;
}

.scope-tab.active {
  background: #4f46e5;
  border-color: #4f46e5;
  color: #fff;
}

.scope-panel {
  max-width: 1080px;
  margin: 1rem auto;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.scope-bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 1.4fr) 2fr auto auto;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 0.55rem;
  font-size: 0.88rem;
}

.scope-bar-track {
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.scope-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #0ea5e9);
  border-radius: 999px;
}

.scope-bar-amt {
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.scope-bar-pct {
  color: var(--slate);
  font-size: 0.8rem;
  min-width: 2.5rem;
  text-align: right;
}

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

.scope-opt-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: #f8fafc;
}

.scope-opt-head {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
}

.scope-opt-priority {
  text-transform: uppercase;
  font-weight: 700;
  color: #6366f1;
}

.scope-opt-save {
  font-weight: 700;
  color: #059669;
}

.scope-opt-card h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.scope-opt-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #475569;
}

.scope-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.scope-table th,
.scope-table td {
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

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

.scope-risk-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  background: #fff;
}

.scope-risk-level {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.scope-risk-high .scope-risk-level {
  color: #dc2626;
}

.scope-risk-medium .scope-risk-level {
  color: #d97706;
}

.scope-risk-card h4 {
  margin: 0.35rem 0;
  font-size: 0.95rem;
}

.scope-risk-card p {
  margin: 0;
  font-size: 0.85rem;
  color: #475569;
}

.scope-muted {
  color: var(--slate);
  font-size: 0.9rem;
}

.scope-report-footer {
  max-width: 1080px;
  margin: 2rem auto 0;
  text-align: center;
  padding: 1.5rem;
}

.scope-report-footer h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.scope-appendix {
  max-width: 1080px;
  margin: 1.5rem auto 0;
}

.scope-details summary {
  cursor: pointer;
  font-weight: 700;
  padding: 0.75rem 0;
}

.scope-appendix-body {
  padding-top: 0.5rem;
}

.scope-appendix-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.scope-billing-stats {
  margin: 1rem 0;
}

/* —— AI Readiness–style landing (ai-readiness.enlightlab.com) —— */
.landing-home {
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.landing-home .hero-cta-landing {
  justify-content: center;
  margin-top: 1.25rem;
}

.landing-marketing {
  padding-bottom: 2.5rem;
}

.landing-stat-strip {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .landing-stat-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.landing-stat-strip li {
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.landing-stat-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.landing-stat-strip span {
  display: block;
  font-size: 0.8rem;
  color: var(--slate);
  margin-top: 0.2rem;
}

.landing-section-label {
  text-align: center;
  margin-bottom: 0.5rem;
}

.landing-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  margin: 0 0 0.75rem;
}

.landing-section-hint {
  text-align: center;
  color: var(--slate);
  max-width: 36rem;
  margin: 0 auto 1.5rem;
  font-size: 0.95rem;
}

.landing-dimension-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .landing-dimension-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .landing-dimension-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.landing-dimension-card {
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
}

.landing-dimension-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.landing-dimension-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.55;
}

.landing-path-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .landing-path-preview {
    grid-template-columns: 1fr 1fr;
  }
}

.landing-path-preview-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.landing-path-preview-pre {
  border-color: #bfdbfe;
}

.landing-path-preview-post {
  border-color: #ddd6fe;
}

.landing-path-preview-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0.5rem 0 0.35rem;
  color: var(--navy);
}

.landing-path-preview-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate);
}

.landing-how {
  margin-bottom: 2rem;
  padding: 1.5rem 1.35rem;
  text-align: center;
}

.landing-how-steps {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  text-align: left;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.landing-how-steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.landing-how-num {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #14b8a6);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
}

.landing-how-steps strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.landing-how-steps p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--slate);
}

.landing-bottom-cta {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdfa 55%, #faf5ff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.landing-bottom-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.landing-bottom-sub {
  color: var(--slate);
  margin: 0 0 1.25rem;
}
